Digital Power Starter Kit 3 Firmware  DM330017-3, Rev.3.0
dsPIC33C Buck Converter Peak Current 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 483 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 482 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_HYSTERESIS

#define BUCK_VIN_HYSTERESIS   (float) 1.000

UVLO/OVLO Hysteresis in [V].

Definition at line 477 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_MAXIMUM

#define BUCK_VIN_MAXIMUM   (float)13.800

Maximum input voltage in [V].

Definition at line 473 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 471 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_NOMINAL

#define BUCK_VIN_NOMINAL   (float) 9.000

Nominal input voltage in [V].

Definition at line 472 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 476 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_R1

#define BUCK_VIN_R1   (float) 6.980

Upper voltage divider resistor in [kOhm].

Definition at line 479 of file dpsk3_hwdescr.h.

◆ BUCK_VIN_R2

#define BUCK_VIN_R2   (float) 1.000

Lower voltage divider resistor in [kOhm].

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