Soft Start Using dsPIC® Digital Signal Controllers (DSCs)
Soft start is always used when the unit is switched on and off to reduce stress for the components and improve the output response. When the system is switched on, the output voltage should rise from zero to the final value following a smooth ramp. When the system is switched off, the output voltage should fall from the initial value to zero following a smooth ramp.
Soft start can be implemented digitally. In a closed-loop system, the output voltage will follow the voltage value (VREF). The dsPIC® Digital Signal Controller (DSC) will then increase the VREF value from zero to the final value in steps to create the desired ramp.
Soft Start Ramp
To generate a soft start ramp, there is a background timer that generates equally-spaced in-time ticks (for instance, these ticks repeat every 200 us). In correspondence with each tick, the dsPIC DSC firmware increments the reference voltage by a preset value. This value is a function of the output steady state voltage and desired ramp duration. The resulting ladder voltage appears at the output of the converter as a smooth voltage because of the low-pass filter effect produced by the Proportional-Integral-Derivative (PID) and the short duration of each tick.
Implementation
A soft start is implemented by the state machine as a number of states. The transition from one state to the following also defines the output voltage waveform.
The states are:
- Stand-by: The initial state where the system is waiting for the signal to switch on the unit. This same state is reached at the end of the switch-off procedure.
- Ramp-up delay: You can select a programmable delay before the output starts ramping.
- Ramp-up: The voltage ramps from zero to the final steady-state value.
- Run: Normal state when the system is working.
- Ramp-down delay: When the unit is switched off, you can add a programmable delay.
- Ramp-down: The voltage ramps down from the steady state to zero. At the end of the ramp, the system goes back to the standby state.