Conversion macros converting physical quantities of PWM parameters of the boost converter. More...
#define | BOOST_SWITCHING_PERIOD (float)(1.0/BOOST_SWITCHING_FREQUENCY) |
Conversion macros for user-declarations of PWM parameters. More... | |
#define | BOOST_PWM_PERIOD (uint16_t)(float)(BOOST_SWITCHING_PERIOD / PWM_CLOCK_PERIOD) |
This sets the switching period of the converter. More... | |
#define | BOOST_PWM_PHASE_SHIFT (uint16_t)((float)BOOST_PWM_PERIOD / (float)BOOST_NO_OF_PHASES) |
This sets the phase shift between phase #1 and #2. More... | |
#define | BOOST_PWM_DC_MIN (uint16_t)(BOOST_PWM_DUTY_CYCLE_MIN * (float)BOOST_PWM_PERIOD) |
This sets the minimum duty cycle. More... | |
#define | BOOST_PWM_DC_MAX (uint16_t)(BOOST_PWM_DUTY_CYCLE_MAX * (float)BOOST_PWM_PERIOD) |
This sets the maximum duty cycle. More... | |
#define | BOOST_LEB_PERIOD (uint16_t)(BOOST_LEADING_EDGE_BLANKING / (float)PWM_CLOCK_PERIOD) |
Leading Edge Blanking = n x PWM resolution (here: 50 x 2ns = 100ns) More... | |
#define | BOOST_PWM_DEAD_TIME_LE (uint16_t)(BOOST_DEAD_TIME_LEADING_EDGE / (float)PWM_CLOCK_PERIOD) |
Rising edge dead time [tick = 250ps]. More... | |
#define | BOOST_PWM_DEAD_TIME_FE (uint16_t)(BOOST_DEAD_TIME_FALLING_EDGE / (float)PWM_CLOCK_PERIOD) |
Falling edge dead time [tick = 250ps]. More... | |
Conversion macros converting physical quantities of PWM parameters of the boost converter.
into binary (integer) numbers for registers and variables
#define BOOST_LEB_PERIOD (uint16_t)(BOOST_LEADING_EDGE_BLANKING / (float)PWM_CLOCK_PERIOD) |
Leading Edge Blanking = n x PWM resolution (here: 50 x 2ns = 100ns)
Definition at line 988 of file dpsk3_hwdescr.h.
#define BOOST_PWM_DC_MAX (uint16_t)(BOOST_PWM_DUTY_CYCLE_MAX * (float)BOOST_PWM_PERIOD) |
This sets the maximum duty cycle.
Definition at line 987 of file dpsk3_hwdescr.h.
#define BOOST_PWM_DC_MIN (uint16_t)(BOOST_PWM_DUTY_CYCLE_MIN * (float)BOOST_PWM_PERIOD) |
This sets the minimum duty cycle.
Definition at line 986 of file dpsk3_hwdescr.h.
#define BOOST_PWM_DEAD_TIME_FE (uint16_t)(BOOST_DEAD_TIME_FALLING_EDGE / (float)PWM_CLOCK_PERIOD) |
Falling edge dead time [tick = 250ps].
Definition at line 990 of file dpsk3_hwdescr.h.
#define BOOST_PWM_DEAD_TIME_LE (uint16_t)(BOOST_DEAD_TIME_LEADING_EDGE / (float)PWM_CLOCK_PERIOD) |
Rising edge dead time [tick = 250ps].
Definition at line 989 of file dpsk3_hwdescr.h.
#define BOOST_PWM_PERIOD (uint16_t)(float)(BOOST_SWITCHING_PERIOD / PWM_CLOCK_PERIOD) |
This sets the switching period of the converter.
Definition at line 984 of file dpsk3_hwdescr.h.
#define BOOST_PWM_PHASE_SHIFT (uint16_t)((float)BOOST_PWM_PERIOD / (float)BOOST_NO_OF_PHASES) |
This sets the phase shift between phase #1 and #2.
Definition at line 985 of file dpsk3_hwdescr.h.
#define BOOST_SWITCHING_PERIOD (float)(1.0/BOOST_SWITCHING_FREQUENCY) |
Conversion macros for user-declarations of PWM parameters.
These conversion macros are used to convert user settings defined as physical quantities into binary (integer) numbers, which will be written to registers and variables and used in calculations throughout the firmware.Switching period in [sec]
Definition at line 983 of file dpsk3_hwdescr.h.