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

User-declaration of fault object trip and recovery delays of the buck converter using physical quantities. More...

+ Collaboration diagram for Buck Converter:
#define BUCK_UVLO_TRIP_DELAY   (float) 5e-3
 Global defines for fault-monitor related parameters. More...
 
#define BUCK_UVLO_RECOVERY_DELAY   (float) 500e-3
 under voltage lock out recovery delay in [sec] More...
 
#define BUCK_OVLO_TRIP_DELAY   (float) 5e-3
 over voltage lock out trip delay in [sec] More...
 
#define BUCK_OVLO_RECOVERY_DELAY   (float) 500e-3
 over voltage lock out recovery delay in [sec] More...
 
#define BUCK_REGERR_TRIP_DELAY   (float) 25e-3
 regulation error trip delay in [sec] More...
 
#define BUCK_REGERR_RECOVERY_DELAY   (float) 2000e-3
 regulation error recovery delay in [sec] More...
 
#define BUCK_OCP_TRIP_DELAY   (float) 2e-3
 over current proection trip delay in [sec] More...
 
#define BUCK_OCP_RECOVERY_DELAY   (float) 2000e-3
 over current proection recovery delay in [sec] More...
 
#define BUCK_FAULT_RESTART_CYCLES   10
 Maximum number of restart cycles: Fault state will be latched until CPU reset or power cycle. More...
 

Detailed Description

User-declaration of fault object trip and recovery delays of the buck converter using physical quantities.

Macro Definition Documentation

◆ BUCK_FAULT_RESTART_CYCLES

#define BUCK_FAULT_RESTART_CYCLES   10

Maximum number of restart cycles: Fault state will be latched until CPU reset or power cycle.

Definition at line 863 of file dpsk3_hwdescr.h.

◆ BUCK_OCP_RECOVERY_DELAY

#define BUCK_OCP_RECOVERY_DELAY   (float) 2000e-3

over current proection recovery delay in [sec]

Definition at line 861 of file dpsk3_hwdescr.h.

◆ BUCK_OCP_TRIP_DELAY

#define BUCK_OCP_TRIP_DELAY   (float) 2e-3

over current proection trip delay in [sec]

Definition at line 860 of file dpsk3_hwdescr.h.

◆ BUCK_OVLO_RECOVERY_DELAY

#define BUCK_OVLO_RECOVERY_DELAY   (float) 500e-3

over voltage lock out recovery delay in [sec]

Definition at line 857 of file dpsk3_hwdescr.h.

◆ BUCK_OVLO_TRIP_DELAY

#define BUCK_OVLO_TRIP_DELAY   (float) 5e-3

over voltage lock out trip delay in [sec]

Definition at line 856 of file dpsk3_hwdescr.h.

◆ BUCK_REGERR_RECOVERY_DELAY

#define BUCK_REGERR_RECOVERY_DELAY   (float) 2000e-3

regulation error recovery delay in [sec]

Definition at line 859 of file dpsk3_hwdescr.h.

◆ BUCK_REGERR_TRIP_DELAY

#define BUCK_REGERR_TRIP_DELAY   (float) 25e-3

regulation error trip delay in [sec]

Definition at line 858 of file dpsk3_hwdescr.h.

◆ BUCK_UVLO_RECOVERY_DELAY

#define BUCK_UVLO_RECOVERY_DELAY   (float) 500e-3

under voltage lock out recovery delay in [sec]

Definition at line 855 of file dpsk3_hwdescr.h.

◆ BUCK_UVLO_TRIP_DELAY

#define BUCK_UVLO_TRIP_DELAY   (float) 5e-3

Global defines for fault-monitor related parameters.

This section is used to define power supply fault object timing settings. The fault monitor is continuously monitoring declared data objects at the high-priority task frequency defined by MAIN_EXECUTION_PERIOD. Based on this known interval, filtering delays for fault trip and fault recovery events to allow users to adjust the fault detection sensitivity.

  • Fault Trip Event Delay
    This setting defines for how long a fault condition has to be continuously active before the effective fault trip status/event will be triggered.
  • Fault Recovery Event Delay
    This setting defines for how long a fault condition has to be continuously cleared before the effective fault recovery status/event will be triggered.
  • Restart Cycle Limit In case of a persistent fault condition (e.g continuous short circuit or unstable feedback loop) the fault monitor will limit the number of restart attempts specified by FAULT_RESTART_CYCLES. When this threshold is exceeded, the power supply will latch in save state (off) and a CPU or power cycle is required to start-up the power supply again. under voltage lock out trip delay in [sec]

Definition at line 854 of file dpsk3_hwdescr.h.