Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example

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

+ Collaboration diagram for Buck Converter:
#define BUCK_VIN_MINIMUM   (float) 6.500
 Declaration of input voltage feedback properties. More...
 
#define BUCK_VIN_NOMINAL   (float) 9.000
 Nominal input voltage in [V]. More...
 
#define BUCK_VIN_MAXIMUM   (float)13.800
 Maximum input voltage in [V]. More...
 
#define BUCK_VIN_UNDER_VOLTAGE   (float) 6.000
 Under Voltage Lock Out Cut Off in [V]. More...
 
#define BUCK_VIN_OVER_VOLTAGE   (float)14.300
 Over Voltage Lock Out Cut Off in [V]. More...
 
#define BUCK_VIN_HYSTERESIS   (float) 1.000
 UVLO/OVLO Hysteresis in [V]. More...
 
#define BUCK_VIN_R1   (float) 6.980
 Upper voltage divider resistor in [kOhm]. More...
 
#define BUCK_VIN_R2   (float) 1.000
 Lower voltage divider resistor in [kOhm]. More...
 
#define BUCK_VIN_FEEDBACK_OFFSET   (float) 0.0000
 Physical, static signal offset in [V]. More...
 
#define BUCK_VIN_ADC_TRG_DELAY   (float) 20.0e-9
 ADC trigger delay in [sec]. More...
 

Detailed Description

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

Macro Definition Documentation

◆ BUCK_VIN_ADC_TRG_DELAY

#define BUCK_VIN_ADC_TRG_DELAY   (float) 20.0e-9

ADC trigger delay in [sec].

Definition at line 406 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_FEEDBACK_OFFSET

#define BUCK_VIN_FEEDBACK_OFFSET   (float) 0.0000

Physical, static signal offset in [V].

Definition at line 405 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_HYSTERESIS

#define BUCK_VIN_HYSTERESIS   (float) 1.000

UVLO/OVLO Hysteresis in [V].

Definition at line 400 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_MAXIMUM

#define BUCK_VIN_MAXIMUM   (float)13.800

Maximum input voltage in [V].

Definition at line 396 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_MINIMUM

#define BUCK_VIN_MINIMUM   (float) 6.500

Declaration of input 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. Minimum input voltage in [V]

Definition at line 394 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_NOMINAL

#define BUCK_VIN_NOMINAL   (float) 9.000

Nominal input voltage in [V].

Definition at line 395 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_OVER_VOLTAGE

#define BUCK_VIN_OVER_VOLTAGE   (float)14.300

Over Voltage Lock Out Cut Off in [V].

Definition at line 399 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_R1

#define BUCK_VIN_R1   (float) 6.980

Upper voltage divider resistor in [kOhm].

Definition at line 402 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_R2

#define BUCK_VIN_R2   (float) 1.000

Lower voltage divider resistor in [kOhm].

Definition at line 403 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_UNDER_VOLTAGE

#define BUCK_VIN_UNDER_VOLTAGE   (float) 6.000

Under Voltage Lock Out Cut Off in [V].

Definition at line 398 of file dpsk3_hwdescr.h.