Electronic Design

  
Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


[Ideas For Design]
PLD Adds PWM Soft-Start Function To Switching Power Supplies

Clive Bolton  |   ED Online ID #2481  |   July 8, 2002


Switching converters sometimes use soft-start circuitry to reduce the large in-rush current that occurs when they first turn on. By employing a PLD, soft start can be added to power-supply controllers that don't natively support this function, but have an enable or on/off input. This technique creates a pulse-width modulated (PWM) waveform that slowly ramps up from 0% to 100% duty cycle.

The switching supply shown in the figure uses a Linear Technology LT1930ES5 boost converter in a miniature five-pin SOT-23 style package to convert a 3.3-V input to 34 V. The converter operates at 1.2 MHz. When the smallest possible parts are employed, it takes up less than 0.25 in.2 of board space. Although they're not essential for proper circuit operation, L1 and L3 reduce input and output current ripple.

Further design details for the LT1930ES5 may be found in its datasheet. Without the soft-start circuit, the in-rush current spikes to 1.4 A for the first 1 ms before settling to its final value of 0.22 after 2 ms. The soft-start circuit eliminates the spike, and the current slowly ramps up over 8 ms.

The PLD module implements a counter that starts at zero and goes up to its maximum value after the enable input transitions from 0 to 1. A magnitude comparator generates the PWM waveform by comparing the upper- and lower-order N bits. When the upper-order bits are greater than or equal to the lower-order bits, the comparator output is 1, like supply ON.

Four compile-time parameters produce the required hardware. CLOCK_FREQ sets the clock frequency in kilohertz, RAMP_TIME sets the ramp time in milliseconds, and PWM_WIDTH sets the number of steps in the PWM comparison, such as 6 bits yields 26 or 64 steps. PWM_LSB controls the PWM frequency by selecting the low-order bits to be compared. (PWM_LSB = 0 sets the highest possible PWM frequency.)

When the PLD compiler generates hardware, it rounds the counter size up to the next power of two. Thus, the ramp produced by the compiled design may take up to twice as long as that specified by the designer. An ASSERT statement in the source code reports the actual implemented ramp time.

The PLD code is written in Altera's high-level design language (AHDL) and can be directly compiled into any of Altera's PLDs. (The code is available at www.elecdesign.com.) A design with the parameters specified at the default values takes 31 logic cells in an Altera EP1K50BC256-3—less than 1.5% of the device—and runs at up to 91 MHz. Although the code is written specifically for Altera's devices, the design structure and flow are readily translatable into VHDL or Verilog. Note that some implementations may require a pull-down or pull-up resistor to force the supply OFF while the PLD is being initialized.

The design concept should work in numerous implementations, with different power-supply control ICs or various PLDs. Other sources can generate the PWM waveform too. Among them are a microcomputer using firmware to modulate an output pin, and a microcomputer with an integral timer operating in PWM mode.

To download a listing, click Download the Code at the top of the page.


Reprints   Printer-Friendly  Email this Article  RSS    Font Size   What's This?


  • Automating Analog IP Process Migration
  • C Tools Accelerate HDV Development On Xilinx FPGAs
  • A New Design Inflection Point
  • Forecasting Industry Growth For 2009 And Beyond
  • EDA Retools To Exploit Multicore Architectures
  • Design And Verification Move Up In Abstraction
  • EDA Retools To Exploit Multicore Architectures
  • A New Design Inflection Point
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (234 views today)
    2) Transportation Guidelines For Lithium Batteries Get Updated
    (233 views today)
    3) The Field Of Energy Harvesting Begins To Ripen
    (124 views today)
    4) 2008 BEST Electronic Design Winners
    (114 views today)
    5) Easily Convert Decimal Numbers To Their Binary And BCD Formats
    (101 views today)
    ALL TOP 20



    Reader Comments

    i want learn it

    lal -June 04, 2007

    Hello,

    Does Clive Bolton have the PLD Adds PWM Soft-Start Function To Switching Power Supplies AHDL codes converted to VHDL code? Please send me the VHDL code if you have one.

    Thanks a lot, Hien Pham.

    Hien Pham -April 23, 2006   (Article Rating: )

    hello, could u help me by providing the pwm code in c language.

    venu -February 28, 2006

    hello how are you ? i hope frome your web. i,m ehsan behroozy from country iran. i,m member inventor society iran. i design electronic circuits with new technology in my country for more company. but important them are : 1..(confidential) 2.confidential) 3.system recognition p-wave earthquake. 4.digital multimeter with speech system for blind people. 5.i design e-ecu and v-ecu and i-ecu for light car and heavy car with new technology in my country and more another invention. i want member inventor society another country. can you help me about patent they? i,d like to sit foran exhibition. please help me abuot this problems. Thanks&Best Regards, wish you have fun > ehsanbehroozy@yahoo.com

    ehsan behroozy -November 21, 2005   (Article Rating: )

    hello how are you ? i hope from your website. i,m ehsan behroozy from country iran. i,m member inventor society iran. i design electronic circuits with new technology in my country for more company. but important them are : 1.(confidential) 2..(confidential) 3.system recognition p-wave earthquake. 4.digital multimeter with speech system for blind people. 5.i design e-ecu and v-ecu and i-ecu for light car and heavy car with new technology in my country and more another invention. i want member inventor society another country. can you help me about patent they? i,d like to sit foran exhibition. please help me abuot this problems. Thanks&Best Regards, wish you have fun > ehsanbehroozy@yahoo.com

    ehsan -November 21, 2005

    hello how are you ? i hope from your website. i,m ehsan behroozy from country iran. i,m member inventor society iran. i design electronic circuits with new technology in my country for more company. but important them are : 1.(confidential) 2..(confidential) 3.system recognition p-wave earthquake. 4.digital multimeter with speech system for blind people. 5.i design e-ecu and v-ecu and i-ecu for light car and heavy car with new technology in my country and more another invention. i want member inventor society another country. can you help me about patent they? i,d like to sit foran exhibition. please help me abuot this problems. Thanks&Best Regards, wish you have fun > ehsanbehroozy@yahoo.com

    ehsan -November 21, 2005   (Article Rating: )

    very good

    ali -August 09, 2005   (Article Rating: )

    good

    sudarsana -June 17, 2005

    hello i hope u all be success in your life is that possible to do me a favour and email me electrical soft start circuit diagram for 20hp motors unfortunately we are limited in IRAN to get in touch with abroad "god belless y all

    hesam -May 12, 2005

    POST YOUR COMMENTS HERE
    Name:

    Email:
    Your Comments:

    Enter the text from the image below


    Please refresh the page if you have trouble reading this text.

    Search Electronic Design
         
      
     
    Email Newsletter
    Sponsored By:
    The Find Power Products monthly newsletter brings you the most important new developments within the world of power design. The newsletter includes exerpts from industry leader Sam Davis's exclusive blog, as well as overviews of the latest new products.

    Enter Email to Subscribe
      
    Web Seminar
    Sponsored By:
    Title: Exploring How Good GUIs Drive Adoption in the Digital Power Management Space
    Speakers: Don Tuite Deepak Savadaatt
    Date: 10/24/07
    Register: 

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources