Soft Start - dsPIC® Digital Signal Controller (DSC)

Soft start is always used when the unit is switched on and off in order 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 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.



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 stand-by state.
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.