|  | Dual Active Bridge Development Board (Part-No. ) |
Content |  |  |  |  |  |

Loading...
Searching...
No Matches
Modules
PWM Settings
Configuration Layer

User-declaration of global defines for PWM signal generator settings. More...

Collaboration diagram for PWM Settings:

## Modules
| Conversion Macros
| Conversion macros for user declarations of PWM peripheral.
#define | MAXIMUM_SWITCHING_FREQUENCY (float)170.0e+3
#define | MINIMUM_SWITCHING_FREQUENCY (float) 65.0e+3
| Minimum Switching frequency in [Hz].
#define | MINIMUM_DEADTIME (float)150e-9
| Minimum Deadtime in seconds [sec].
#define | MAXIMUM_DEADTIME (float)500e-9
| Maximum Deadtime in seconds [sec].
#define | MINIMUM_PHASESHIFTED_PULSE (float) 80e-9
| Minimum phase shifted pulse in seconds [sec].
#define | PRI_TO_SEC_PHASE_DEGREES_LIMIT 90u
| Maximum Limit for primary to secondary phase in degrees [deg].
#define | PRI_TO_SEC_PHASE_TARGET 830u
| Primary to Secondary phase target before switching to period modulation.
#define | PERIODSTEP (2<<3)
| period increment with 3LSBs needs to be 0 based from PWM FRM with cascaded PWM
#define | PHASETIMESTEP (1<<3)
| Phase increment with 3LSBs needs to be 0 based from PWM FRM with cascaded PWM.

## Detailed Description

This section defines fundamental PWM settings required for the Dual Active Bridge development board. These settings are determined by hardware and defined using physical quantities. Pre-compiler macros are used to convert physical values into binary (integer) numbers to be written to Special Function Registers (SFR).

## Macro Definition Documentation

## ◆ MAXIMUM_DEADTIME

#define MAXIMUM_DEADTIME (float)500e-9

Definition at line 28 of file config.h.

## ◆ MAXIMUM_SWITCHING_FREQUENCY

#define MAXIMUM_SWITCHING_FREQUENCY (float)170.0e+3

Definition at line 24 of file config.h.

## ◆ MINIMUM_DEADTIME

#define MINIMUM_DEADTIME (float)150e-9

Definition at line 27 of file config.h.

## ◆ MINIMUM_PHASESHIFTED_PULSE

#define MINIMUM_PHASESHIFTED_PULSE (float) 80e-9

Definition at line 29 of file config.h.

## ◆ MINIMUM_SWITCHING_FREQUENCY

#define MINIMUM_SWITCHING_FREQUENCY (float) 65.0e+3

Definition at line 25 of file config.h.

## ◆ PERIODSTEP

#define PERIODSTEP (2<<3)

Definition at line 35 of file config.h.

## ◆ PHASETIMESTEP

#define PHASETIMESTEP (1<<3)

Definition at line 36 of file config.h.

## ◆ PRI_TO_SEC_PHASE_DEGREES_LIMIT

#define PRI_TO_SEC_PHASE_DEGREES_LIMIT 90u

Definition at line 31 of file config.h.

## ◆ PRI_TO_SEC_PHASE_TARGET

#define PRI_TO_SEC_PHASE_TARGET 830u

Definition at line 34 of file config.h.