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

Contains functions related to PWM properties. More...

+ Collaboration diagram for PWM Configuration:

Files

file  pwrctrl_pwm.c
 Contains PSFB control phase calculation between primary and secondary, and the PWM distribution.
 
file  pwrctrl_pwm.h
 Contains public functions for PWM.

 

Functions

void PwrCtrl_PWM_Update ()
 PWM distribution for PSFB converter.
 
void PwrCtrl_PWM_Enable (void)
 Enable the PWM output.
 
void PwrCtrl_PWM_Disable (void)
 Disable the PWM output.
 
void PwrCtrl_PWM_Initialize (void)
 Initialize the PWM peripheral.
 
void PwrCtrl_PWM_Stop_Switching (void)
 Disable the PWM output.
 
void PwrCtrl_PWM_SetDutyCyclePrimary (uint16_t dutycycle)
 set the PWM output to particular duty cycle.
 
void PwrCtrl_PWM_UpdateSecondaryRectifiers (void)
 set the PWM output to particular duty cycle.
 

Detailed Description

This document includes the power control PWM distribution and other PWM functionalities relevant to the application.

Function Documentation

◆ PwrCtrl_PWM_Disable()

void PwrCtrl_PWM_Disable ( void )
Returns
void

This function disable the physical PWM output by setting the override bits of the PWM module.

Definition at line 112 of file pwrctrl_pwm.c.

◆ PwrCtrl_PWM_Enable()

void PwrCtrl_PWM_Enable ( void )
Parameters
pcInstancePointer to a power control data object of type POWER_CONTROL_t
Returns
void

This function turn on the physical PWM outputs by clearing the output override of the PWM module.

Definition at line 53 of file pwrctrl_pwm.c.

+ Here is the caller graph for this function:

◆ PwrCtrl_PWM_Initialize()

void PwrCtrl_PWM_Initialize ( void )
Returns
void

This function configures additional parameters that are not configurable using MCC graphical interface

Definition at line 149 of file pwrctrl_pwm.c.

+ Here is the caller graph for this function:

◆ PwrCtrl_PWM_SetDutyCyclePrimary()

void PwrCtrl_PWM_SetDutyCyclePrimary ( uint16_t dutycycle)
Parameters
dutycycle in percent
Returns
void

This function disables the physical PWM output at the primary side by setting the override bits of the PWM modules PG1 and PG3.

Definition at line 258 of file pwrctrl_pwm.c.

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

◆ PwrCtrl_PWM_Stop_Switching()

void PwrCtrl_PWM_Stop_Switching ( void )
Returns
void

This function disables the physical PWM output at the primary side by setting the override bits of the PWM modules PG1 and PG3.

Definition at line 240 of file pwrctrl_pwm.c.

+ Here is the caller graph for this function:

◆ PwrCtrl_PWM_Update()

void PwrCtrl_PWM_Update ( void )
Returns
void

This function distributes the calculated control phase for the half bridges of the PSFB converter. PWM1 and PWM3 drives the primary half bridges and PWM2 and PWM4 drives the secondary rectifiers

Definition at line 26 of file pwrctrl_pwm.c.

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

◆ PwrCtrl_PWM_UpdateSecondaryRectifiers()

void PwrCtrl_PWM_UpdateSecondaryRectifiers ( void )
Parameters
void
Returns
void

This function independently controls the Secondary rectifiers by checking agains the CCM DCM conditions

Definition at line 278 of file pwrctrl_pwm.c.

+ Here is the caller graph for this function: