Digital Power Starter Kit 3 Firmware  DM330017-3, Rev.3.0
dsPIC33C Buck Converter Peak Current Mode Control Example

PWM parameter definitions of the buck converter using physical quantities. More...

+ Collaboration diagram for Buck Converter:
#define BUCK_DAC_SLOPE_START_DELAY   (float) 0.100
 User-declaration of global defines for Digital-to-Analog converter. More...
 
#define BUCK_DAC_SLOPE_STOP_DELAY   (float) 0.900
 Delay in [%] until the slope compensation ramp stops. More...
 
#define BUCK_DAC_VOLTAGE_INITIAL   (float) 0.000
 Initial voltage reference, also applied after every power supply reset event. More...
 
#define BUCK_SLOPE_COMP_SLEW_RATE   (float) 0.240
 Slope compensation slew rate in [V/usec]. More...
 

Detailed Description

PWM parameter definitions of the buck converter using physical quantities.

Macro Definition Documentation

◆ BUCK_DAC_SLOPE_START_DELAY

#define BUCK_DAC_SLOPE_START_DELAY   (float) 0.100

User-declaration of global defines for Digital-to-Analog converter.

This section defines fundamental settings of DAC and analog comparator required for driving the on-board buck converter of DPSK3 in peak current mode control (PCMC). These settings are determined by hardware and defined using physical quantities. Pre-compiler macros are used to convert physical quantities into binary (integer) numbers to be written to Special Function Registers (SFR). Delay in {%] until the slope compensation ramp starts

Definition at line 415 of file dpsk3_hwdescr.h.

◆ BUCK_DAC_SLOPE_STOP_DELAY

#define BUCK_DAC_SLOPE_STOP_DELAY   (float) 0.900

Delay in [%] until the slope compensation ramp stops.

Definition at line 416 of file dpsk3_hwdescr.h.

◆ BUCK_DAC_VOLTAGE_INITIAL

#define BUCK_DAC_VOLTAGE_INITIAL   (float) 0.000

Initial voltage reference, also applied after every power supply reset event.

Definition at line 417 of file dpsk3_hwdescr.h.

◆ BUCK_SLOPE_COMP_SLEW_RATE

#define BUCK_SLOPE_COMP_SLEW_RATE   (float) 0.240

Slope compensation slew rate in [V/usec].

Definition at line 418 of file dpsk3_hwdescr.h.