Digital Power Starter Kit User's Guide
FIGURE 3-1:
Soft Start Routine
Soft Start
Routine
DS52078A-page 28
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
SMPS DEMONSTRATION PROGRAM FLOW CHART
Start
Initialization Routines:
• Peripherals – ADC, PWM, Timers, GPIO,
LCD, etc.
• Variables – PID Gain Terms, Data Buffers
• Interrupts – ADC, Timers
• Set Soft Start Flag
Does Fault
Condition Exist?
No
Yes
Is Soft
Start Active?
No
Idle Loop Functions:
• Check V
IN
• Check Soft Start Flag
• Check/Reset Fault Timers and Flag
• Measure Temperature and Potentiometer's Position
• Update LCD Display Information
• Perform Non-Critical Functions (i.e., user application
tasks)
Fault Check Routine
Yes
Disable
Outputs
ADC Interrupt Routines:
• Measure V
• Calculate PID Gain Parameters
• Update PWM Duty Cycle
ADC Interrupt
OUT
End
2012 Microchip Technology Inc.
Need help?
Do you have a question about the Digital Power Starter Kit and is the answer not in the manual?
Questions and answers