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

Conversion macros for user declarations of fault object trip and recovery delays of the boost converter. More...

+ Collaboration diagram for Boost Converter:
#define BOOST_UVLO_TDLY   (uint16_t)(((float) BOOST_UVLO_TRIP_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)
 Conversion Macros of Fault Response Timing Settings. More...
 
#define BOOST_UVLO_RDLY   (uint16_t)(((float) BOOST_UVLO_RECOVERY_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)
 under voltage lock out recovery delay conversion nacro More...
 
#define BOOST_OVLO_TDLY   (uint16_t)(((float) BOOST_OVLO_TRIP_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)
 over voltage lock out trip delay conversion nacro More...
 
#define BOOST_OVLO_RDLY   (uint16_t)(((float) BOOST_OVLO_RECOVERY_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)
 over voltage lock out recovery delay conversion nacro More...
 
#define BOOST_REGERR_TDLY   (uint16_t)(((float) BOOST_REGERR_TRIP_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)
 regulation error trip delay conversion macro More...
 
#define BOOST_REGERR_RDLY   (uint16_t)(((float)BOOST_REGERR_RECOVERY_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)
 regulation error recovery delay conversion macro More...
 
#define BOOST_OCP_TDLY   (uint16_t)(((float) BOOST_OCP_TRIP_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)
 over current protection trip Delay conversion macro More...
 
#define BOOST_OCP_RDLY   (uint16_t)(((float) BOOST_OCP_RECOVERY_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)
 over current protection recovery delay conversion nacro More...
 

Detailed Description

Conversion macros for user declarations of fault object trip and recovery delays of the boost converter.

Macro Definition Documentation

◆ BOOST_OCP_RDLY

#define BOOST_OCP_RDLY   (uint16_t)(((float) BOOST_OCP_RECOVERY_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)

over current protection recovery delay conversion nacro

Definition at line 1515 of file dpsk3_hwdescr.h.

◆ BOOST_OCP_TDLY

#define BOOST_OCP_TDLY   (uint16_t)(((float) BOOST_OCP_TRIP_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)

over current protection trip Delay conversion macro

Definition at line 1514 of file dpsk3_hwdescr.h.

◆ BOOST_OVLO_RDLY

#define BOOST_OVLO_RDLY   (uint16_t)(((float) BOOST_OVLO_RECOVERY_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)

over voltage lock out recovery delay conversion nacro

Definition at line 1511 of file dpsk3_hwdescr.h.

◆ BOOST_OVLO_TDLY

#define BOOST_OVLO_TDLY   (uint16_t)(((float) BOOST_OVLO_TRIP_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)

over voltage lock out trip delay conversion nacro

Definition at line 1510 of file dpsk3_hwdescr.h.

◆ BOOST_REGERR_RDLY

#define BOOST_REGERR_RDLY   (uint16_t)(((float)BOOST_REGERR_RECOVERY_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)

regulation error recovery delay conversion macro

Definition at line 1513 of file dpsk3_hwdescr.h.

◆ BOOST_REGERR_TDLY

#define BOOST_REGERR_TDLY   (uint16_t)(((float) BOOST_REGERR_TRIP_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)

regulation error trip delay conversion macro

Definition at line 1512 of file dpsk3_hwdescr.h.

◆ BOOST_UVLO_RDLY

#define BOOST_UVLO_RDLY   (uint16_t)(((float) BOOST_UVLO_RECOVERY_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)

under voltage lock out recovery delay conversion nacro

Definition at line 1509 of file dpsk3_hwdescr.h.

◆ BOOST_UVLO_TDLY

#define BOOST_UVLO_TDLY   (uint16_t)(((float) BOOST_UVLO_TRIP_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0)

Conversion Macros of Fault Response Timing Settings.

These conversion macros are used to convert user settings defined as physical quantities into binary (integer) numbers, which will be written to registers and variables and used in calculations throughout the firmware.under voltage lock out trip delay conversion nacro

Definition at line 1508 of file dpsk3_hwdescr.h.