Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage 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 491 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 488 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 489 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 490 of file dpsk3_hwdescr.h.

◆ BUCK_VOUT_HYSTERESIS

#define BUCK_VOUT_HYSTERESIS   (float) 0.500

Over Voltage Protection Hysteresis.

Definition at line 483 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 482 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 480 of file dpsk3_hwdescr.h.

◆ BUCK_VOUT_NOMINAL

#define BUCK_VOUT_NOMINAL   (float) 3.300

Nominal output voltage.

Definition at line 481 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 485 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 486 of file dpsk3_hwdescr.h.