Electronic Design

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


[Ideas For Design]
Adapt DC Voltage To Perform PWM DImming Of High-Brightness LEDs

Jim Christensen  |   ED Online ID #19151  |   June 26, 2008


High-brightness LEDs (HBLEDs) are making inroads into more traditional lighting applications that include a dc distribution system (for example, 24-V MR-16 track lights). HBLEDs are more efficient, and they have a potentially longer lifespan than do halogen or xenon lamps.

Because hysteretic controllers are inexpensive, simplify lighting designs, and require no compensation networks, they’re well-suited for driving HBLEDs. Hysteretic controllers usually have a pulsewidth- modulator (PWM) input that enables a pulse train of varying duty cycle to provide the dimming function. One problem, however, in converting a traditional lighting system is that many dimmers provide a 1- to 10-V dc signal rather than a PWM signal. Also, to increase the HBLEDs’ operating lifetimes, a controller should provide temperaturebased current foldback.

Converting a dc voltage to a PWM signal is easy. The PWM signal appears at the output of a comparator when you apply the dc voltage at one input and a triangle wave at the other. Headaches can arise, however, when trying to align the triangle wave with the control voltage. You need a linear relationship between duty cycle and control voltage, with a 0% duty cycle at the minimum control voltage and a 100% duty cycle at the maximum.

The circuit in Figure 1 includes the hysteretic controller, U1 (MAX16820); related power components; and a control circuit based on a quad op amp, U2 (LMX324). U1 drives five HBLEDs from a 24-V source, using only inductor L1, MOSFET Q1, and catch diode D1. A sense resistor (R1) sets the current to 0.5 A. U1 turns Q1 on whenever the current-sense voltage drops below 190 mV and turns Q1 off when that voltage exceeds 210 mV.

Hysteretic controllers have no clock and require no external compensation. U1 also provides a regulated 5 V to power the PWM conversion circuitry. Figure 2 illustrates the currentsense waveform corresponding to a small “ON” time in the PWM signal.

The difficulty in converting a control voltage to a PWM signal involves setting the triangle wave’s peak and valley voltages to closely match the corresponding maximum and minimum values of the control voltage (VCNTL). Two of U2’s op amps generate the triangle wave, which oscillates between an upper voltage level set by the R7-R8 divider and a lower voltage level set by the divider formed by R7 and R8 in parallel with R9. U2’s output is a 50% duty cycle, rail-to-rail square wave. Setting U2b+ equal to VCC/2 causes U2b’s output to integrate the square wave, producing a symmetrical and linear triangle wave. R10 and C4 set the operating frequency.

Achieving 0 V at the valley of the triangle wave is difficult, because U2b’s output has a worst-case minimum of 60 mV. We therefore chose a valley of 250 mV and a peak of 2 V. Because VCNTL ranges from 0 to 10 V, R12-R13 divides VCNTL by 5. This limits the reduced control voltage, VRED, to 2.0 V and thereby matches the triangle wave’s peak voltage.

U2d creates the PWM pulse train by comparing the triangle wave to VRED. The triangle-wave valley is 250 mV, so the PWM signal remains at 0% until VCNTL reaches 1.25 V. This action causes a small offset error that’s most pronounced at low values of VCNTL, but it also confers an advantage by guaranteeing an OFF position. Figure 3 shows how the triangle wave converts the divided control voltage into a pulse-width-modulated waveform.

Op-amp U2c provides the temperature-based current foldback. The R4-R5-R6 divider delivers 1.5 V to U2c’s noninverting input, which is almost a diode drop below the triangle wave’s peak (2 V). Thermistor R2 (a resistor with negative temperature coefficient) is nominally 100 k? at 25°C, but its value declines to 33 k? at 50°C. At that temperature the R2-R3 divider produces 1.5 V—a balance point at which U2c’s positive, negative, and output terminals are all at 1.5 V, and just about to pull VRED lower, via D2.

At 70°C, R2 drops to 15.5 k? and the op-amp output drops to 1.0 V, pulling VRED to about 1.6 V. This action achieves the desired current foldback by limiting the maximum duty cycle at 70°C to 80%. A simple change of resistor values allows the circuit to accept different VCNTL ranges and to have different temperature- foldback characteristics.


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


  • Engineers Rely On Internet For Product Info
  • Rochester Electronics Establishes New Design and Technology Group
  • Custom Sources Light Way To 22-nm IC Lithography
  • In EDA, A Year Of Mergers, Failed And Otherwise
  • Software Turns Scopes Into Vector RF Signal Analyzers
  • Couple’s $15 Million Gift Advances Rice Engineering Education
  • November 7, 2008
  • Startup Sets Sail For Speedier Spice Simulation
    1) Ten Top Design Skills For Tough Times
    (223 views today)
    2) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (217 views today)
    3) Easily Convert Decimal Numbers To Their Binary And BCD Formats
    (118 views today)
    4) DC-AC inverter targets electroluminescent applications
    (81 views today)
    5) Precision DC motor speed controller
    (77 views today)
    ALL TOP 20



    Reader Comments

    I wanted to ask you for some direction regarding a project I need help with.

    I am using a motion-activated video camera system to record wildlife in the Maine wilderness. The animals are fearful of sudden bright light. One solution I heard about is for the light to gradually brighten over a 1-2 minute time period. I am using a PIC chip-based circuit I purchased to control my camera in response to a heat/motion sensor. The board is 12vDC and can handle a light up to 3 amps. Currently, I am using a relay so I can control 5amps of light. I want to move to LED lighting which should be below the 3amp limit of the motion circuit.

    I am looking for someone to build me a circuit that will respond to a low voltage trigger and ramp up the current to either my current 4amp automobile running lamps, or the LED lamps I don’t have yet. I believe I need to use a Pulse wave modulator for the brightening effect that will take between 1-2 minutes to reach full brightness (adjustable perhaps).

    Can you suggest someone who would build this for me or can you guide me to where I could learn more to build one myself? I am not experienced with building circuits, but I can do basic electronics.

    Bryan -July 05, 2008

    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