Chapter 11 - MPLAB® Mindi™ Analog Simulator - High Voltage Peak Current Mode Buck LED Drivers

The goal of this chapter is to understand how to use buck LED drivers using open-loop, peak-current mode control. In order to showcase the functionality of the parts, the MPLAB® Mindi™ simulation tool will be used to explore the HV9910B/C models.

11.1 Prerequisites

11.2 Case Study: HV9910C Led Driver (120 VAC/DC and 230V AC/DC)

The goal of this section is to understand and analyze using MPLAB® Mindi™ analog simulator how to set the input voltage Vin for a specific AC Offline input.

a

Vin=120 VAC (Sine, F=60 Hz, Initial= -120*1.414, Pulse= 120*1.414).

HV9910C-Led-Driver-sim.png

b

Vin=230 VAC (Sine, F=50 Hz, Initial= -230*1.414, Pulse= 230*1.414).

HV9910C-Led-Driver-sim-2.png

11.2.1 Open Loop Peak Current Controller

The goal of this section is to understand and analyze what an open loop peak current controller does. Throughout these exercises, the benefits of this control method will be presented.

A peak-current-controlled buck converter can give reasonable LED current variation over a wide range of input and LED voltages. It needs little effort in feedback control design. An open loop, peak current mode average current can be calculated by:

Open-Loop-Peak-Current-Controller.png

11.2.2 Start-up Simulation Examples

a

Open the HV9910C application schematic from Power Management > High-Voltage LED Drivers > HV9910C.

b

Add two differential voltage probes for VIN and VLED.

c

Add one inline current probe with the LED.

d

Modify the names for ILED and VLED to use the same graph name.

e

Run the simulation and observe the results.

HV9910C-sim.png

f

Modify the number of series and parallel LEDs in the LED string (DLED1), as seen in the figure below.

modify-number-LEDs.png

g

Run the simulation and observed the changes to the waveforms.

11.3 Case Study: Constant Frequency or Constant Off-Time Modes

This section illustrates the differences between constant frequency and constant off-time operation.

Constant-Frequency-Constant-Off-Time-Modes.png

a

Open the HV9910C application schematic from Power Management > High-Voltage LED Drivers > HV9910C.

b

Connect the resistor (R1) to GND to enable constant frequency mode.

connect-R1-GND.png

c

Change the value of R1 to 1 Meg.

d

Run the simulation.

e

Select 'VGATE' and stack the select curve. Do the same for the VRT curve.

VGATE-sim.png

f

Use the cursors to measure the desired parameter.

VGATE-sim-2.png

In-constant frequency is easier to design the EMI filter for the application.

g

To enable constant off-time mode, connect the resistor R1 to the GATE.

connect-R1-GATE.png

h

Run the simulation and analyze the waveforms as before.

Constant-Frequency-sim.png
Constant-Frequency-sim-2.png

In constant TOFF mode, TS variation depends on duty cycle:

  • Large Duty cycle => Large variation in TS with VIN
  • Small Duty cycle => Small variation in TS with VIN

11.4 Case Study: Linear and PWM Dimming

The linear dimming pin (LD) is used to control the LED current. It is useful when we cannot find the exact R1 value required for obtaining the LED current and when adjusting the current level is desired. In these cases, an external voltage divider from the VDD pin can be connected to the LD pin to obtain a voltage (less than 250 mV) corresponding to the desired voltage across R1.

PWM Dimming can be achieved by driving the PWMD pin with a low-frequency square wave signal. When the PWM signal is zero, the GATE driver is turned off; when the PWMD signal is high, the GATE driver is enabled.

11.4.1 Linear Dimming Start-Up Example

a

Open the HV9910C application schematic from Power Management > High-Voltage LED Drivers > HV9910C.

b

HV9910B has two current sense threshold voltages, an internally set 250 mV and an external voltage at the LD pin. The actual threshold voltage will be the lower of these two.

c

The default configuration is linear dimming, as the PWMD pin is tied high at 5 V.

Linear-Dimming-Start-Up.png

d

Change the value of wiper position to 90%.

change-wiper-position.png

e

Run the simulation and display the VLED and ILED curves.

VLED-ILED-sim.png

f

Change the value of wiper position to 10%.

g

Run the simulation again and display the new VLED and ILED curves to see the difference between the two duty cycles.

new-VLED-ILED.png

When using the LD pin, it is not possible to obtain zero LED current, even if the LD pin is pulled to GND. This is because of the minimum on time for the FET (450 ns). To get zero LED current, the PWMD pin needs to be used.

11.4.2 PWM Dimming Start-Up Example

h

HV9910C includes a TTL-compatible, PWM-dimming input that can accept an external control signal with a duty ratio of 0 – 100% and a frequency of up to a few kilohertz.

i

Remove the connection of LD with the wiper potentiometer and connect it at VDD.

PWM-Dimming-Start-Up.png

j

Replace the power supply with a Waveform Generator V1 (Place > Voltage Sources > Waveform Generator) and configure it a Pulse generator (F=5 kHz, Duty=10%, Pulse voltage=5 V, Rise and fall times=200 ns).

k

Run the simulation and display VPWMD, VLED, and ILED.

VPWMD-VLED-ILED.png
VPWMD-VLED-ILED-2.png

l

Change the value of the duty cycle to 90%.

m

Run the schematic and display the new VPWMD, VLED, and ILED curves to see the difference in comparison with 10% Duty Cycle.

new-VPWMD-VLED-IL.png
new-VPWMD-VLED-IL-2.png

These plots show you that the PWM-dimming response is limited only by the rate of rise of the inductor current, enabling a very fast rise and fall times of the LED current.

This happens because the PWMD signal does not turn off the other parts of the IC, therefore, the response of HV9910C to the PWMD signal is almost instantaneous.

11.5 References

a

Datasheets

© 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.