Bar Logo 4kW dsPIC33C PSFB DC-DC DA (Part-No. )
 
Content
     
Loading...
Searching...
No Matches
Fault Configuration

Contains functions that initialize, execute and handles the power supply fault. More...

+ Collaboration diagram for Fault Configuration:

Files

file  fault.c
 Contains fault functions including the fault handler, fault object initialization and fault execution.
 
file  fault.h
 Contains public fault functions.
 
file  fault_comm_interface.c
 Contains API functions for fault protection.
 
file  fault_comm_interface.h
 Contains API functions for fault protection.
 

Functions

void Fault_Initialize (void)
 Initialize the fault objects.
 
void Fault_Execute (void)
 Executes the fault handlers.
 
void Fault_Reset (void)
 Clears the fault object flag bits.
 
static void Fault_PrimaryOverCurrent_EventHandler ()
 callback for primary OC
 
void Fault_Handler (void)
 Handles the fault trip by turning off the power control switching.
 

Detailed Description

This document covers the fault initialization, the fault execute function, and the fault handler.

Function Documentation

◆ Fault_Execute()

void Fault_Execute ( void )
Returns
void

This function evaluates if any of the fault objects has been tripped. When fault detection occurs, the power converter will shutdown thus turn-off the power converter.

Definition at line 134 of file fault.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Fault_Handler()

void Fault_Handler ( void )
Returns
void

This function handles the occurence of fault when one of the fault condition trips. It shuts down the operation of the power control, set the FaultActive bit and clear the Running bit indicating that power converter has been turned-off. A fault pin is also set to low to blocked the PWM signal as a hardware protection.

Definition at line 324 of file fault.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Fault_Initialize()

void Fault_Initialize ( void )
Returns
void

This function initializes the fault objects following each respective fault thresholds.

Definition at line 81 of file fault.c.

+ Here is the call graph for this function:

◆ Fault_PrimaryOverCurrent_EventHandler()

void Fault_PrimaryOverCurrent_EventHandler ( void )
static
Returns
void

This function evaluates if any of the fault objects has been tripped. When fault detection occurs, the power converter will shutdown thus turn-off the power converter.

Definition at line 294 of file fault.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Fault_Reset()

void Fault_Reset ( void )
Returns
void

This function clears the fault status bits for Fault Active and Fault Latched. A fault pin is also drive to high to allow PWM signal drive.

Definition at line 247 of file fault.c.

+ Here is the caller graph for this function: