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

User defined settings for control loops;. More...

#include <power_control/devices/dev_buck_typedef.h>

+ Inheritance diagram for BUCK_LOOP_SETTINGS_s:
+ Collaboration diagram for BUCK_LOOP_SETTINGS_s:

Data Fields

volatile uint16_t reference
 Control loop reference variable. More...
 
volatile uint16_t feedback_offset
 Feedback offset value for calibration or bi-direction feedback signals. More...
 
volatile uint16_t trigger_offset
 ADC trigger offset value for trigger fine-tuning. More...
 
volatile uint16_t minimum
 output clamping value (minimum) More...
 
volatile uint16_t maximum
 output clamping value (maximum) More...
 
volatile struct NPNZ16b_scontroller
 pointer to control loop object data structure More...
 
volatile uint16_t(* ctrl_Initialize )(volatile struct NPNZ16b_s *)
 Function pointer to INIT routine. More...
 
void(* ctrl_Reset )(volatile struct NPNZ16b_s *)
 Function pointer to RESET routine. More...
 
void(* ctrl_Update )(volatile struct NPNZ16b_s *)
 Function pointer to UPDATE routine. More...
 
void(* ctrl_Precharge )(volatile struct NPNZ16b_s *, volatile fractional, volatile fractional)
 Function pointer to PRECHARGE routine. More...
 
- Data Fields inherited from BUCK_CONVERTER_s
volatile struct BUCK_CONVERTER_STATUS_s status
 BUCK operation status bits. More...
 
volatile struct BUCK_STATE_ID_s state_id
 BUCK state machine operating state ID. More...
 
volatile struct BUCK_CONVERTER_STARTUP_s startup
 BUCK startup timing settings. More...
 
volatile struct BUCK_CONVERTER_SETTINGS_s set_values
 Control field for global access to references. More...
 
volatile struct BUCK_CONVERTER_DATA_s data
 BUCK runtime data. More...
 
volatile struct BUCK_FEEDBACK_SETTINGS_s feedback
 BUCK converter feedback settings. More...
 
volatile struct BUCK_SWITCH_NODE_SETTINGS_s sw_node [BUCK_MPHASE_COUNT]
 BUCK converter switch node settings. More...
 
volatile struct BUCK_GPIO_SETTINGS_s gpio
 BUCK converter additional GPIO specification. More...
 
volatile struct BUCK_LOOP_SETTINGS_s v_loop
 BUCK voltage control loop object. More...
 
volatile struct BUCK_LOOP_SETTINGS_s i_loop [BUCK_MPHASE_COUNT]
 BUCK Current control loop objects. More...
 

Detailed Description

User defined settings for control loops;.

Buck converter main settings

Generic power control loop settings

This data structure is used to set the control loop settings such as pointers to controller objects and its function calls as well as basic user settings such as reference, feedback signal offsets, trigger delays and minimum/maximum output clamping values.


Definition at line 344 of file dev_buck_typedef.h.

Field Documentation

◆ controller

volatile struct NPNZ16b_s* controller

pointer to control loop object data structure

Definition at line 353 of file dev_buck_typedef.h.

◆ ctrl_Initialize

volatile uint16_t(* ctrl_Initialize) (volatile struct NPNZ16b_s *)

Function pointer to INIT routine.

Definition at line 355 of file dev_buck_typedef.h.

◆ ctrl_Precharge

void(* ctrl_Precharge) (volatile struct NPNZ16b_s *, volatile fractional, volatile fractional)

Function pointer to PRECHARGE routine.

Definition at line 358 of file dev_buck_typedef.h.

◆ ctrl_Reset

void(* ctrl_Reset) (volatile struct NPNZ16b_s *)

Function pointer to RESET routine.

Definition at line 356 of file dev_buck_typedef.h.

◆ ctrl_Update

void(* ctrl_Update) (volatile struct NPNZ16b_s *)

Function pointer to UPDATE routine.

Definition at line 357 of file dev_buck_typedef.h.

◆ feedback_offset

volatile uint16_t feedback_offset

Feedback offset value for calibration or bi-direction feedback signals.

Definition at line 348 of file dev_buck_typedef.h.

◆ maximum

volatile uint16_t maximum

output clamping value (maximum)

Definition at line 351 of file dev_buck_typedef.h.

◆ minimum

volatile uint16_t minimum

output clamping value (minimum)

Definition at line 350 of file dev_buck_typedef.h.

◆ reference

volatile uint16_t reference

Control loop reference variable.

Definition at line 347 of file dev_buck_typedef.h.

◆ trigger_offset

volatile uint16_t trigger_offset

ADC trigger offset value for trigger fine-tuning.

Definition at line 349 of file dev_buck_typedef.h.


The documentation for this struct was generated from the following file: