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

User-declaration of output voltage feedback parameters of the buck converter using physical quantities. More...

+ Collaboration diagram for Buck Converter:
#define BUCK_VOUT_MINIMUM   (float) 0.000
 Declaration of output voltage feedback properties. More...
 
#define BUCK_VOUT_NOMINAL   (float) 3.300
 Nominal output voltage. More...
 
#define BUCK_VOUT_MAXIMUM   (float) 4.000
 Absolute maximum output voltage (Over Voltage Protection) More...
 
#define BUCK_VOUT_HYSTERESIS   (float) 0.500
 Over Voltage Protection Hysteresis. More...
 
#define BUCK_VOUT_TOLERANCE_MAX   (float) 0.200
 Output voltage tolerance at nominal operating point [+/-]. More...
 
#define BUCK_VOUT_TOLERANCE_MIN   (float) 0.100
 Output voltage tolerance at nominal operating point [+/-]. More...
 
#define BUCK_VOUT_DIV_R1   (float) 1.000
 Upper voltage divider resistor in kOhm. More...
 
#define BUCK_VOUT_DIV_R2   (float) 1.000
 Lower voltage divider resistor in kOhm. More...
 
#define BUCK_VOUT_FEEDBACK_OFFSET   (float) 0.000
 Physical, static signal offset in [V]. More...
 
#define BUCK_VOUT_ADC_TRG_DELAY   (float)20.0e-9
 Trigger delay in [sec]. More...
 

Detailed Description

User-declaration of output voltage feedback parameters of the buck converter using physical quantities.

Macro Definition Documentation

◆ BUCK_VOUT_ADC_TRG_DELAY

#define BUCK_VOUT_ADC_TRG_DELAY   (float)20.0e-9

Trigger delay in [sec].

Definition at line 568 of file dpsk3_hwdescr.h.

◆ BUCK_VOUT_DIV_R1

#define BUCK_VOUT_DIV_R1   (float) 1.000

Upper voltage divider resistor in kOhm.

Definition at line 565 of file dpsk3_hwdescr.h.

◆ BUCK_VOUT_DIV_R2

#define BUCK_VOUT_DIV_R2   (float) 1.000

Lower voltage divider resistor in kOhm.

Definition at line 566 of file dpsk3_hwdescr.h.

◆ BUCK_VOUT_FEEDBACK_OFFSET

#define BUCK_VOUT_FEEDBACK_OFFSET   (float) 0.000

Physical, static signal offset in [V].

Definition at line 567 of file dpsk3_hwdescr.h.

◆ BUCK_VOUT_HYSTERESIS

#define BUCK_VOUT_HYSTERESIS   (float) 0.500

Over Voltage Protection Hysteresis.

Definition at line 560 of file dpsk3_hwdescr.h.

◆ BUCK_VOUT_MAXIMUM

#define BUCK_VOUT_MAXIMUM   (float) 4.000

Absolute maximum output voltage (Over Voltage Protection)

Definition at line 559 of file dpsk3_hwdescr.h.

◆ BUCK_VOUT_MINIMUM

#define BUCK_VOUT_MINIMUM   (float) 0.000

Declaration of output voltage feedback properties.

In this section the output voltage feedback signal scaling, gain, valid signal limits and nominal operating point is specified. Physical quantities are used to define values. Macros are used to convert given physical values into binary (integer) number to be written into SFRs and variables. Absolute minimum output voltage

Definition at line 557 of file dpsk3_hwdescr.h.

◆ BUCK_VOUT_NOMINAL

#define BUCK_VOUT_NOMINAL   (float) 3.300

Nominal output voltage.

Definition at line 558 of file dpsk3_hwdescr.h.

◆ BUCK_VOUT_TOLERANCE_MAX

#define BUCK_VOUT_TOLERANCE_MAX   (float) 0.200

Output voltage tolerance at nominal operating point [+/-].

Definition at line 562 of file dpsk3_hwdescr.h.

◆ BUCK_VOUT_TOLERANCE_MIN

#define BUCK_VOUT_TOLERANCE_MIN   (float) 0.100

Output voltage tolerance at nominal operating point [+/-].

Definition at line 563 of file dpsk3_hwdescr.h.