AU2012244104B2 - Dimmable light emitting diode load driver with bypass current - Google Patents

Dimmable light emitting diode load driver with bypass current Download PDF

Info

Publication number
AU2012244104B2
AU2012244104B2 AU2012244104A AU2012244104A AU2012244104B2 AU 2012244104 B2 AU2012244104 B2 AU 2012244104B2 AU 2012244104 A AU2012244104 A AU 2012244104A AU 2012244104 A AU2012244104 A AU 2012244104A AU 2012244104 B2 AU2012244104 B2 AU 2012244104B2
Authority
AU
Australia
Prior art keywords
bypass current
conduction period
dimmer
bypass
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
AU2012244104A
Other versions
AU2012244104A1 (en
Inventor
Donald Murray Terrace
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Schneider Electric South East Asia HQ Pte Ltd
Original Assignee
Schneider Electric South East Asia HQ Pte Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from AU2011904151A external-priority patent/AU2011904151A0/en
Application filed by Schneider Electric South East Asia HQ Pte Ltd filed Critical Schneider Electric South East Asia HQ Pte Ltd
Priority to AU2012244104A priority Critical patent/AU2012244104B2/en
Publication of AU2012244104A1 publication Critical patent/AU2012244104A1/en
Application granted granted Critical
Publication of AU2012244104B2 publication Critical patent/AU2012244104B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

Disclosed is a bypass current control circuit and method for controlling a bypass current in a lighting control arrangement in which a non-incandescent load is controlled by a dimmer circuit. In one form, 5 the controller controls the bypass current in accordance with a measured parameter of the operation of the dimmer circuit, relating to stability or instability of the dimmer circuit. The parameter is measured over at least one full cycle of an input signal applied to the dimmer circuit, which in one embodiment is mains power. Also disclosed are a dimmer circuit and a load driver incorporating the bypass current control circuit. 32 31 33k Figure 4B

Description

Regulation 3.2 AUSTRALIA PATENTS ACT 1990 COMPLETE SPECIFICATION FOR A STANDARD PATENT ORIGINAL Name of Applicant: Schneider Electric South East Asia (HQ) Pte Ltd Actual Inventor: Donald Murray Terrace Address for Service: C/- MADDERNS, GPO Box 2752, Adelaide, South Australia, Australia Invention title: DIMMABLE LIGHT EMITTING DIODE LOAD DRIVER WITH BYPASS CURRENT The following statement is a full description of this invention, including the best method of performing it known to us.
DIMMABLE LIGHT EMITTING DIODE LOAD DRIVER WITH BYPASS CURRENT TECHNICAL FIELD The present application relates to the control of a non-incandescent load such as a Light Emitting 5 Diode (LED) load driven by a load driver such as an LED Driver. PRIORITY The present application claims priority from Australian Provisional Patent Application No. 2011904151 entitled "Dimmable Light Emitting Diode Load Driver With Bypass Current", filed on 7 0 October 2011. The entire content of this provisional application is hereby incorporated by reference. INCORPORATION BY REFERENCE 5 The following documents are referred to in the present application: PCT/AU03/00365 entitled "Improved Dimmer Circuit Arrangement"; PCT/AU03/00366 entitled "Dimmer Circuit with Improved Inductive Load"; PCT/AU03/00364 entitled "Dimmer Circuit with Improved Ripple Control"; PCT/AU2006/001883 entitled "Current Zero Crossing Detector in A Dimmer Circuit"; 0 PCT/AU2006/001882 entitled "Load Detector For A Dimmer"; PCT/AU2006/001881 entitled "A Universal Dimmer"; PCT/AU2008/001398 entitled "Improved Start-Up Detection in a Dimmer Circuit"; PCT/AU2008/001399 entitled "Dimmer Circuit With Overcurrent Detection"; and PCT/AU2008/001400 entitled "Overcurrent Protection in a Dimmer Circuit". 25 The entire content of each of these documents is hereby incorporated by reference. BACKGROUND Non-incandescent loads are becoming very popular devices for use as light sources due to their 30 efficiency in being able to generate more light with less power. One example of a non-incandescent load used as a light source is a Light Emitting Diode or LED. Special circuits known as LED Drivers are used to drive a load made up of one or more LEDs. A consequence of the higher efficiency of non-incandescent loads such as LED loads is that they draw 35 less current than incandescent loads and have a generally different current waveform. Phase control dimmer circuits (also referred to as dimming circuits or simply dimmers) are used to control the power provided to a load such as a light or electric motor from a power source such as supply or mains power. Such circuits often use a technique referred to as phase control dimming. This allows power provided to the load to be controlled by varying the amount of time that a switch connecting the load to the power source is conducting during a given cycle. 5 For example, if voltage provided by the power source can be represented by a sine wave, then maximum power is provided to the load if the switch connecting the load to the power source is on at all times. In this way the, the total energy of the power source is transferred to the load. If the switch is turned off for a portion of each cycle (both positive and negative), then a proportional amount of the sine wave is effectively isolated from the load, thus reducing the average energy provided to the load. 0 For example, if the switch is turned on and off half way through each cycle, then only half of the power will be transferred to the load. The overall effect will be, for example in the case of a light, a smooth dimming action resulting in the control of the luminosity of the light. Figure 1 shows a conventional arrangement for dimming a load 50 such as a light, using a phase control dimmer 10. Figure 1 shows the input alternating (a.c.) voltage waveform applied to the dimmer 5 10 and the output dimmer current waveform passing through load 50. When dimming non-incandescent loads such as LED loads, conventional dimming circuits are often used. Lower current levels can cause several problems with dimmer circuits that are used to control or dim non-incandescent loads such as LED loads. 0 For triac-based dimmers, the active switching device (triac) will have a minimum required current to remain conducting in the absence of a signal at its gate. This holding current requirement is typically in the order of 25mA, which allows conduction with an incandescent load of as low as 20W for most of the mains waveform when mains is 240Vrms. When operated with a more efficient load such as an 25 LED, load currents may be reduced by a factor (for example: 5), resulting in the triac either failing to latch or the triac falling out of conduction earlier in the mains half-cycle. For transistor based dimmers, including MOSFET, IGBT and other similar technologies, the control circuitry requires some minimum power to allow the dimmer to operate, and the only time the dimmer 30 circuit can harvest this power is during periods when the dimmer switching device is not in a low impedance state. If the LED driver load impedance is too high, it will exhibit a significant voltage drop even when the dimmer is not conducting. This may result in insufficient power available for correct dimmer operation. 35 A number of LED driver control circuits make provision for additional 'bleed' or bypass currents to flow into a resistive load which bypasses the lamp load, especially when the mains voltage waveform drops to low values near the zero-crossings. Some of these drivers use resistors to define the current,
I
and others use simple current regulation circuits in order to achieve better performance with dimmers. Some use a series connected resistor and capacitor to ensure that the triac latching current is at least met, but these networks fail to maintain the current during the part of each mains half-cycle when current is approaching zero. 5 Figure 2 shows a conventional arrangement for dimming a load 50 with a dimmer 10. In this arrangement, an additional, or bypass current is provided through resistive load 20. Some LED driver circuits in particular, provide both a fixed resistive bypass switched on only when 10 the instantaneous voltage across the driver is below a threshold, and also a different fixed level of additional resistive bypass which is switched in when the voltage across the driver is higher. There may also be some ability to turn off the additional resistive bypass load if the total current drawn by the LED driver exceeds a defined threshold. 15 There are some solutions to this problem which measure the instantaneous current flowing into the LED driver and switch in additional bypass current in order to maintain a defined total current. This approach makes it possible to optimise operation for dimmers with known holding current requirements, but fails to match the requirements of a wide range of dimmers, and also fails to deal with the possibility of multiple LED drivers connected to a single dimmer. 20 SUMMARY In one form, there is provided, in a lighting control arrangement comprising a dimmer circuit, in use, controlling a load of at least one non-incandescent light, a method of continuously controlling a bypass current during each full cycle of an input signal applied to the dimmer circuit, the method comprising; 25 measuring a conduction period over a full cycle of an input signal applied to the dimmer circuit; comparing the measured conduction period with a reference conduction period; reducing the bypass current if the measured conduction period is substantially equal to the reference conduction period; and 30 increasing the bypass current if the measured conduction period is not substantially equal to the reference conduction period. In one form, upon the measured parameter indicating dimmer instability, the step of controlling the bypass current comprises increasing the bypass current. 35 In another embodiment, upon the measured parameter indicating dimmer stability, the step of controlling the bypass current comprises reducing the bypass current. 4 In one embodiment, the step of measuring the parameter comprises measuring a conduction period in a previous half cycle of the input signal applied to the dimmer circuit, and the method further comprising comparing the measured conduction period with a reference conduction period and controlling the bypass current in accordance with the result of the comparison. 5 In one form, if the measured conduction period is not substantially equal to the reference conduction period, then determining that the measured parameter indicates dimmer instability, and then increasing the bypass current. 10 In one form, if the measured conduction period is substantially equal to the reference conduction period, then determining that the measured parameter indicates dimmer stability, and then reducing the bypass current. In one embodiment, the step of increasing the bypass current comprises ramping up the bypass current 15 at a first rate. In a further embodiment, the step of increasing the bypass current comprises ramping up the bypass current at the first rate until the bypass current reaches a maximum bypass current level. 20 In one embodiment, the step of reducing the bypass current comprises ramping down the bypass current at a second rate. In one form, if the bypass current is substantially equal to the maximum bypass current level and the measured conduction period is substantially equal to a previous conduction period of at least the 25 previous half cycle, then updating the reference conduction period to equal the measured conduction period and then reducing the bypass current. In one embodiment, the input signal is mains power. 30 In another aspect, there is provided a bypass current control circuit for continuously controlling a bypass current for a dimmer circuit controlling a load of at least one non-incandescent light, the bypass current control circuit comprising; a sensor for measuring a conduction period over a full cycle of an input signal applied to the dimmer circuit; 35 a comparator for comparing the measured conduction period with a reference conduction period; and 5 a controller for reducing the bypass current if the measured conduction period is substantially equal to the reference conduction period and for increasing the bypass current if the measured conduction period is not substantially equal to the reference conduction period. 5 In one form, upon the measured parameter indicating dimmer instability, the controller increases the bypass current. 5a In another form, upon the measured parameter indicating dimmer stability, the controller reduces the bypass current. 5 In one form, the sensor measures a conduction period in the most recent full cycle of the input signal applied to the dimmer circuit, and the bypass current control circuit further comprises a comparator for comparing the measured conduction period with a reference conduction period and the controller controls the bypass current in accordance with the result of the comparison. O In one embodiment, if the measured conduction period is not substantially equal to the reference conduction period, then the controller determines that the measured parameter indicates dimmer instability, and then the controller increases the bypass current. In one form, if the measured conduction period is substantially equal to the reference conduction 5 period, then the controller determines that the measured parameter indicates dimmer stability, and then the controller reduces the bypass current. In one form, the controller increases the bypass current by ramping up the bypass current at a first rate. 0 In one embodiment, the controller increases the bypass current by ramping up the bypass current at the first rate until the bypass current reaches a maximum bypass current level. In one embodiment, the controller reduces the bypass current by ramping down the bypass current at a second rate. 25 In one embodiment, if the bypass current is substantially equal to the maximum bypass current level and the measured conduction period is substantially equal to a previous conduction period of the previous full cycle, then the controller updates the reference conduction period to equal the measured conduction period and then the controller reduces the bypass current. 30 In one embodiment, the input signal is mains power. In another aspect, there is provided a dimmer circuit comprising a bypass current control circuit according to one or more aspects described herein. 35 In another aspect there is provided a load driver comprising a bypass current control circuit according to one or more aspects described herein.
In one embodiment, the load driver is an LED driver. BRIEF DESCRIPTION OF DRAWINGS 5 The various aspects described herein are described in more detail with reference to the following figures in which: Figure 1 - shows a conventional arrangement for dimming a load; Figure 2 - shows a conventional arrangement with a bypass current for dimming a load; Figure 3 - shows a block diagram of one embodiment of a bypass current control circuit in a 0 light dimming arrangement; Figure 4A - shows a circuit diagram of one embodiment of the bypass current control circuit of Figure 3; Figure 4B - shows a circuit diagram of an alternative embodiment to the arrangement of Figure 4A; 5 Figure 5 - shows a flow chart of one embodiment of a general method of controlling a bypass current; Figure 6 - shows a flow chart of another embodiment of a method of controlling a bypass current; Figure 7 - shows a flow chart of another embodiment of a method of controlling a bypass 0 current; Figure 8 - shows an example of one embodiment of the change in bypass current upon determination of dimmer stability/instability over time. DETAILED DESCRIPTION 25 While the various aspects described herein are described with reference to a Light Emitting Diode (LED) as the non-incandescent load, it will be appreciated that the various aspects are applicable to many other types of non-incandescent loads including but not limited to, Compact Flourescent Lamps (CFLs), plasma lamps and Organic Light Emitting Diodes (OLEDs). 30 Figure 3 shows one example of a bypass current control circuit 30 comprising a controller 32 and a sensor 31. In this example, the control circuit 30 is shown in a lighting control arrangement such as a light dimming arrangement (depicted in dotted lines) comprising a dimmer circuit 10 for controlling a non-incandescent load 50 (for example an LED), and a bypass current path 21 through which a bypass current may flow. Dimmer circuit 10 may be any conventional dimmer circuit including one as 35 described in any of the previously-referred to patent applications whose entire contents are incorporated by reference 7 In use, the sensor 31 of control circuit 30 measures a parameter of the operation of the dimmer circuit 10. The parameter of the operation of the dimmer circuit can be any suitable parameter that can provide information relating to the stability or the instability of the dimmer circuit 10. In one embodiment, the parameter is a conduction period. In another embodiment, the parameter is a direct 5 current averaged over at least one full cycle of mains, which in this example, is applied to the input of the dimmer circuit 10. It will be appreciated that the term "full cycle of mains" does not require that the average be taken over a single full cycle, but may be taken over two half cycles in different full cycles. 0 Sensor 31 may be any suitable element and may be different according to the nature of the parameter being measured. As shown in the example of Figure 3, the measurement from sensor 31 is then applied to controller 32 which controls the bypass current in accordance with the measured parameter as will be described in 5 more detail below. Figure 4A shows a circuit diagram of one embodiment of the control circuit of Figure 3. In this embodiment, control circuit 30 comprises a single microcontroller 33 which itself comprises sensor 31 in the form of a voltage sensor measuring the voltage at point A as well as the controller 32 which 0 controls the bypass current flowing through bypass current path 21 via Field Effect Transistor (FET) 22. An example of one suitable FET is an SPPO2N6OS5 with a Vgs(th) value of about 4.5V. In operation, a path for bypass current is provided via high voltage FET 22 operating within the bridge rectifier 23 of an LED driver (not shown) or a standalone circuit. The FET gate voltage is pulled up 25 via a high value resistor 24 to the drain, and clamped with a Zener diode 25 or by other means to a fixed voltage higher than the gate turn-on voltage (Vgs (threshold)) for the FET 22. In one example, Zener diode 25 is a 15V diode. The source of the FET 22 is then connected to the negative rail of the bridge rectifier 23 via a resistor 26. In one example, the value of resistor 26 is about 420 ohm, corresponding to a maximum bleed current of about 32mA. The resistor in series with the source, in 30 conjunction with the gate voltage and gate-source threshold voltage defines the current that will flow in the FET conduction channel. In its simplest and non-automatic form, the bypass current can be adjusted by simply adjusting the voltage the gate is limited to. In this particular embodiment shown in Figure 4A however, an 35 automatic means to adjust current is provided by microcontroller 33 with analogue output, which can pull the FET gate voltage down to reduce the bypass current. At the same time, the microcontroller 33 can analyse the voltage at the gate of the FET 22 to determine conduction time of the phase control dimmer (not shown) powering the circuit. In one embodiment, one algorithm that works with such an arrangement starts with the bypass current 5 set to maximum. At this point, the microcontroller 33 measures the conduction time for a full cycle of mains and stores that result. The conduction time for each new mains cycle is compared with the stored value, and if it is found to be substantially equal (that is, equal to or within a predefined margin such as 10%, 9%, 8%, 7%, 6%, 5%, 4%, 3%, 2% or 1%) to the stored value, the bypass current will slowly ramp down. If at any time a new cycle time is found to be not substantially equal to (that is, 0 outside the margin) the bypass current will slowly ramp up. If the phase control dimmer is provided with sufficient current, the conduction angles will be stable from cycle-to-cycle, but if the dimmer does not have sufficient current, it will cause flicker, which implies changing power delivered to the load and consequently, changing conduction times. 5 Note that no means of measuring instantaneous dimmer current is required, and that the operation of this method makes use of a record of dimmer behaviour over more than one half cycle of mains to determine an optimum point of operation. 0 A significant advantage of this and other similar algorithms is that if two or more LED drivers equipped with such a circuit are connected in parallel with the same dimmer, that the overall bypass current will naturally drop to the lowest possible value, thus it is possible to achieve a higher overall efficiency than with LED drivers equipped with fixed bypass current. .5 Figure 4B shows an alternative arrangement of the circuit of Figure 4A in which the bypass current is provided through a second FET 28 (e.g. FDV305N), controlled by an A/D output from the microcontroller 33. In this example, resistor 27 is provided by a 33K resistor, corresponding to a minimum bypass current of 0.5mA. 30 Figure 5 shows a flowchart of one embodiment of a general method performed by the control circuit as described above. In step 200, the sensor measures a parameter of the dimmer operation over at least one full cycle of mains voltage. In step 201, the processor controls the bypass current in accordance with the measured parameter. 35 Figure 6 shows a flowchart of another embodiment of a method performed by the control circuit. In step 300, the sensor measures a parameter of dimmer circuit operation over at least one full cycle. In step 300, a determination is made as to whether the measured parameter indicates that the dimmer is stable. If it is determined that the dimmer is stable, then in step 302, the controller reduces the bypass 0 current. If however, the determination is that it is not stable, i.e. indicates instability, then in step 303, the controller increases the bypass current. Figure 7 shows a flowchart of yet another possible embodiment of a method of controlling a bypass 5 current to maintain dimmer stability. In one example of this embodiment, the parameter of dimmer operation is conduction time or period. In step 400, the process starts. In step 401, the full cycle conduction time is measured. In step 402, the measured conduction time is compared to a reference conduction time or period. 0 If the measured conduction time is substantially equal to the reference conduction time or period (that is, equal to or within a specified margin), indicating dimmer stability, then in step 403, the bypass current is ramped down and the process returns to step 401 to take another measurement to determine the dimmer stability at this later time. 5 If the measured conduction time is not substantially equal to the reference conduction time or period (that is, outside of a specified margin), then in step 404, a determination is made as to whether the bypass current is equal to a maximum bypass current level. If the bypass current is not at the maximum bypass current level, then the bypass current is ramped up in step 405 and the process returns to step 401 to take another measurement to determine the dimmer stability at this later time. 0 If the bypass current is at the maximum bypass current level, then at step 406, a comparison of the measured conduction time is made with the measured conduction time in the previous cycle. If, at step 407, the result of this determination is positive, then the reference conduction time is set as the current conduction time in step 408 and the process returns to step 401 to take another measurement to 25 determine the dimmer stability at this later time. If, at step 407, the result of this determination is negative, then the process returns to step 401 to take another measurement to determine the dimmer stability at this later time. 30 Figure 8 shows an example of how the bypass current is controlled over time as different conditions arise. Figure 8 is a graph of bypass current I versus time, with the time scale divided into different time points 1 to 8. These time points correspond to the times at which the parameter is measured and a determination is made as to dimmer stability, which then determines the action on the bypass current. At point 1, it is determined that there is dimmer instability (as indicated by an "I"), and in accordance 35 with one or more of the methods described above, the bypass current is ramped up at a first rate. By point 2, the bypass current has reached a level that is high enough to provide the dimmer circuit with sufficient operating current to make it stable and at point 2, it is determined that the dimmer is stable. 10 Bypass current is then ramped down at a second rate. At point 3, it is determined that the dimmer is still stable and the bypass current continues to ramp down at the second rate. At point 4 however, it is determined that there is again dimmer instability as the bypass current has dropped to too low a level and so is then ramped up at the first rate. At point 5, there is dimmer stability and so the bypass current 5 is ramped down at the second rate and continues to do so until point 8 since the dimmer remains stable over this time. In Figure 8, the first rate of ramping up is shown as greater than the second rate of ramping down, however, it will be appreciated that the first rate and the second rate can be equal to each other, or in 0 fact, the first rate can be less than the second rate. In one example, the resolution of ramp rate is 16 steps for bypass current in the range up to about 32mA - for example about 2mA per step. In another example, the resolution in this range is higher, for example about I mA per step. In another example, the resolution is lower, for example about 3mA per 5 step. In one example, the first rate is about 1 step every 200ms. In another example, the first rate is about 1 step every 150ms. In another example, the first rate is about 1 step every 250ms. In another example, the first rate is about I step every 500ms. 0 In one example, the second rate is about 1 step every second. In another example, the second rate is about 1 step every 1.5 seconds. In another example, the second rate is about 1 step every 0.75 seconds. As described above, in some embodiments, the first rate and the second rate are equal, for example, 25 both about I step every 600ms. As described above, in one embodiment, the first rate is less than the second rate. In one example, the first rate is I step every 700ms and the second rate is 1 step every 500ms. 30 One example of an algorithm that could be used by microcontroller 33 appears below: Bypass current adjustment algorithm. 35 The algorithm as developed below requires one timer capture and one timer output compare peripheral with 16 bit resolution. Power is delivered to the LED driver via a phase control dimmer. The dimmer can be either leading or trailing edge type. The ac supply voltage is rectified in the driver, and the unfiltered rectified voltage is clipped to a level suitable to feed directly into the microcontroller input capture pin 40 (refer to the earlier documentation for a suitable circuit). 11 The timer capture hardware is configured to latch the count of a 16 bit counter which is clocked at I MHz. Latching occurs at both the rising and falling edges of the input capture waveform. The rising edge marks the start of dimmer conduction, and the trailing edge marks the end of conduction each half-cycle. Note that even with no dimmer, there will always be a rising and falling 5 edge each half-cycle, but that the time that the input is held low is minimum with no dimmer. The timer capture interrupt service routine derives a count equal to the total conduction time each half cycle, and this value can be used to establish a target LED current (LED current regulation not included in this code). The times for each half cycle are maintained in a simple first-in, first out buffer for comparison with subsequent half-cycle results. 0 The algorithm below compares the total conduction time between successive full cycles of mains. If a difference greater than a defined threshold is detected, the bypass current is ramped up at a defined rate, and if the difference is below a lower threshold, the bypass current is ramped down at a different defined rate. Bypass current in this embodiment is represented with sixteen possible levels from zero to a 5 maximum determined by hardware to be approximately 30mA. The bypass current value i bypass is used to define the duty cycle of a low frequency PWM output. The low frequency PWM is implemented with a second interrupt service routine. 0 #pragma vector = TIMERAl _VECTOR _interrupt static void TimerAl _captureISR(void) { intl6s imOns_difference; /* difference between now and next 1Oims interval */ intl6u idelta_count; /* count difference between now and last capture */ 5 static int16u ihalf cycle-levelcount; /* last half-cycle count */ static int16u iprior_whole_cyclelevel_count; /* full cycle count, 1/2 cycle ago */ static intl6u ilevelcount; /* counts while phase signal input was high */ static int8u i fallingedge count; /* count of falling edge interrupts this cycle */ static boolean bsecondcycle; /* keep track of first or second half cycles */ 0 if (TAIV == 0x02) /* 0x02 = Timer cap/comp 1 , OxOA = timer overflow */ ideltacount = TACCRI - icapture; i_capture += ideltacount; 5 if ((TACCTLI & CCI) == 0) /* level NOW is low = falling edge */ { i levelcount += ideltacount; /* only accumulate while high */ i-fallingedgecount++; } W0 /* difference between (count since start of this cycle) and known count for 10000 */ ilOms_difference = (icapture - ilast_lims_count) - 10000; /* if the difference is negative, the recent edge is less than 1Is */ if (i_10ms difference > (-TENMS_MARGIN)) /* delta count is high enough to process */ 45{ i-last_1 Oms count = icapture; if (i_10ms difference < TENMSMARGIN) /* time is within window of lOms cycle */ { 50 /* Enable interrupts globally */ i-lastlOins_difference = i1 Oins_difference; _enable interrupt; /* here we do whatever we need every 1 Oms */ /* the following three statements are only used for bypass adjust */ 55 b_secondcycle = !bsecondcycle; i-lastfallingedge-count = i fallingedgecount; 1? i_fallingedge count = 0; if (i lastlevelcount >= iprior_wholecyclelevelcount) { i-deltalevelcount = (ilastlevelcount 5 i_prior_whole_cyclelevelcount); } else { ideltalevelcount = (iprior_whole_cycle-level count 0 ilastlevelcount); } /* i_lastlevelcount is used only to set target level */ if (ibypass == PWM2MAX) /* only compare new settings to the setting with bypass = MAX. 5 Note that bypass always becomes MAX when settings are changed*/ { i-prior_wholecyclelevel count = i lastlevel_count; } if (bsecondcycle) o { ilastlevelcount = (ihalf cycle-levelcount + i_level_count); } i half cyclelevelcount = i levelcount; /* 1/2 cycle count */ level count = 0; /* reset count for next lOims period */ 5 /* stuff to do every lIs */ /* any changes in set level will result in maximum bypass current. */ /* bypass current will then slowly be ramped back until instability is detected */ 0 if ((ilastfallingedgecount > 2)11 (i deltalevelcount > DELTACOUNTUPPERLIM)) { b_increase bypass_current = true; } 5 else if (i_delta_levelcount > DELTACOUNTLOWER_LIM) { /* hold off reduction of bypass current as long as phase angle not changing */ /* bypass current is only reduced when i bypassadjusttimer hits appropriate value */ if ((i bypass adjust_timer != 0) && !b increase bypass current) 40 { i-bypassadjusttimer--; } } 45 ilast_fallingedge_count = 0; /* end of stuff to do */ } else /* edge detected after end of lOms cycle - result must be tossed */ 50 { i-levelcount = 0; /* reset count for next 1 Oms period */ } } } 55 } 1 3 * this interrupt handler adjusts the bypass current level at intervals. 5 ****************************************************************************/ #pragma vector= TIMERA0_VECTOR __interrupt static void Timer_AO_compareISR(void) { D shared int8u iPWM2count; TACCRO += PWM_MAX; /* reset timer for next interval */ if (iPWM2count++ < ibypass) { 5 Pl OUT |= BIT3; /* Toggle P1.3 ON */ } else { PlOUT &=-BIT3; /* Toggle P1.3 OFF */ D} if (i_PWM2count >= PWM2MAX) { i_PWM2count = 0; if (!b_increase bypass current && 5 (ibypassadjusttimer >= BYPASSDECREASE_INTERVAL)) { i_bypassadjusttimer = 0; if (ibypass > 0) { i-bypass--; } } else if (b increase bypass_current && (i bypassadjust timer >= BYPASS_INCREASE_INTERVAL)) 5 { i_bypassadjust timer = 0; b_increasebypass current = false; if (ibypass!= PWM2MAX) [0 i-bypass++; } } else { t5 ibypassadjusttimer++; } } 0 * initialisation and main loop 5 void main(void) { 14 /* Initialise system services */ WDTCTL = WDTPW + WDTHOLD; /* Stop watchdog timer*/ 5 PlOUT = OxOO; Pi DIR = 0x08; P1 SEL = 0x60; /* timer capture on bit 6, output compare on bit 5 */ 0 /* TimerA use SMCLK, divide by 8, continuous mode, Clear on initialise */ TACTL = TASSEL_2 + ID_3 + MC_2+ TACLR; /* timer compare setup */ 5 TACCRO = TAR; /* set next compare far away */ TACCTLO = OUTMOD_5 | CCIE; /* timer capture setup */ /* capture both edges, CCIOB input, synchronise, capture mode, interrupt enable*/ 0 TACCTL1 = CMO I CCISl I CMl I SCS I CAP I CCIE; /* maximum bypass current on power-up */ i_bypass = PWM2MAX; 5 i last_1Oms difference =0; DCOCTL = CALDCO_8MHZ; /* fine tuning */ BCSCTLI = CALBCl_8MHZ; /* range select DCO frequency */ 0 /* Enable interrupts globally */ enable interrupt; while (true) 5 lowpower mode_0(); } } $0 * ********* END ********* 15 ****************************************************************************/ The above has described various embodiments of control circuits and methods for controlling a bypass current to maintain stable dimmer operation. 0 With such a circuit incorporated in LED drivers, it is possible to simplify installation requirements. Thus, there is no need to specify a minimum number of parallel loads of this type for a given dimmer, which is a common practical solution to the problem for normal LED lamps with drivers. 15 An algorithm can use the conduction time measurements and known additional current level to build up a database of samples, which can be updated every mains half-cycle. 5 When a dimmer is performing well with a load, the power delivered to the load as averaged (as a moving average) over one or more half-cycles of mains will be substantially constant with each successive half-cycle. A dimmer that is not operating acceptably will exhibit variations in conduction time between successive half-cycles, due to the triac dropping out of conduction early in the half cycle, or through other faults related to low load current. As a result of the inconsistent conduction 0 time, the light output of the load will also vary, which is seen as flickering of the light. Based on the conduction time data, another algorithm can be used to evaluate if the dimmer is operating acceptably, and if it is not, the level of additional "bleed" or bypass current can be increased in order that the dimmer performance will improve. If the dimmer is operating acceptably, the level of 5 additional current can be reduced. If the resolution of additional current increments and the resolution of measurement of conduction time is fine enough, these adjustments can occur automatically to always keep the dimmer and load operating with the minimum of additional current and without any visible flickering. Note that the additional current controlled by the algorithm is in addition to any additional current provided by the LED driver, especially current provided when the voltage across D the driver is 50V or less. It is possible for such a system to operate and adjust bypass current in such a way that there is no flicker apparent to the human eye, and yet at the same time, variations in conduction time in the database of samples are sufficient to make fine adjustments of additional current to optimise the 25 system operation. It can be seen that the same algorithm implemented in a number of LED drivers all connected to the same dimmer in parallel, can result in a more optimised solution with only the minimum additional current to allow the dimmer to operate without any noticeable flicker. 30 In addition to maintaining optimised conditions for the correct operation of the dimmer when the load is intended to be on, the automatically adjusting bypass current circuit can also improve performance of circuits when a two-wire electronic switch is attempting to maintain an efficient lighting load in an OFF state. Typically, efficient lighting loads are capable of producing some light even when the 35 delivered current is limited to well below their typical level if the voltage across the load is sufficiently high. Neon, Fluorescent and other gas-discharge lamps are in particular, noted for their tendency to flash or flicker when wired in series with a two-wire electronic switch in the OFF state. Under these 16 conditions, the circuit and control algorithm described in this invention can automatically provide a means of clamping the voltage across the load if any flickering is detected. Once clamped with sufficient impedance, the conduction time sensing will detect no further pulses of voltage across the load and the additional current can therefore be left at the set level to prevent flickering. 5 The improvement described is a self-adjusting bypass current circuit, which adjusts the amount of bypass current to be the minimum required to maintain stability with any dimmer. It maintains a high priority on flicker-free dimmer operation, but at the same time maximises efficiency of the overall 0 system in the long term. Dimmer stability can be determined through a number of means, including monitoring of d.c. current averaged over a full cycle of mains, or simply by comparing the conduction time of the dimmer between cycles to detect significant differences. It will also be appreciated that the various control circuits and methods can be applied to load drivers 5 such as LED drivers such that an LED driver will incorporate a control circuit as shown in any one or more or of the embodiments described herein. Furthermore, it will also be appreciated that the various control circuits and methods can be applied to dimmer circuits such that a dimmer circuit will incorporate a control circuit as shown in any one or more or of the embodiments described herein. o It will also be appreciated that the above has been described with reference to particular illustrative embodiments only, and that many variations and modifications may be made to the circuits, devices and methods described. It will be understood that the term "comprise" and any of its derivatives (e.g. comprises, comprising) 25 as used in this specification is to be taken to be inclusive of features to which it refers, and is not meant to exclude the presence of any additional features unless otherwise stated or implied. The reference to any prior art in this specification is not, and should not be taken as, an acknowledgment or any form of suggestion that such prior art forms part of the common general 30 knowledge of the technical field. 35 17

Claims (20)

1. In a lighting control arrangement comprising a dimmer circuit, in use, controlling a load of at least one non-incandescent light, a method of continuously controlling a bypass current during each full cycle of an input signal applied to the dimmer circuit, the method comprising; measuring a conduction period over a full cycle of an input signal applied to the dimmer circuit; comparing the measured conduction period with a reference conduction period; reducing the bypass current if the measured conduction period is substantially equal to the reference conduction period; and increasing the bypass current if the measured conduction period is not substantially equal to the reference conduction period.
2. A method as claimed in claim I wherein the step of increasing the bypass current comprises ramping up the bypass current at a first rate.
3. A method as claimed in claim 2 wherein the step of increasing the bypass current comprises ramping up the bypass current at the first rate until the bypass current reaches a maximum bypass current level.
4. A method as claimed in claim I wherein the step of reducing the bypass current comprises ramping down the bypass current at a second rate.
5. A method as claimed in claim 3 further comprising: storing the previously measured conduction period; and updating the reference conduction period to equal the measured conduction period if the bypass current is substantially equal to the maximum bypass current level and the measured conduction period is substantially equal to the previous conduction period.
6. A method as claimed in any one of claims I to 5 wherein the input signal is mains power.
7. A bypass current control circuit for continuously controlling a bypass current for a dimmer circuit controlling a load of at least one non-incandescent light, the bypass current control circuit comprising; a sensor for measuring a conduction period over a full cycle of an input signal applied to the dimmer circuit; a comparator for comparing the measured conduction period with a reference conduction period; and 18 a controller for reducing the bypass current if the measured conduction period is substantially equal to the reference conduction period and for increasing the bypass current if the measured conduction period is not substantially equal to the reference conduction period.
8. A bypass current control circuit as claimed in claim 7 wherein the controller increases the bypass current by ramping up the bypass current at a first rate.
9. A bypass current control circuit as claimed in claim 8 wherein the controller increases the bypass current by ramping up the bypass current at the first rate until the bypass current reaches a maximum bypass current level.
10. A bypass current control circuit as claimed in claim 7 wherein the controller reduces the bypass current by ramping down the bypass current at a second rate.
11. A bypass current control circuit as claimed in claim 9 wherein the controller stores the previously measured conduction period, and the controller updates the reference conduction period to equal the measured conduction period if the bypass current is substantially equal to the maximum bypass current level and the measured conduction period is substantially equal to the previous conduction period.
12. A bypass current controller as claimed in any one of claims 7 to 11 wherein the input signal is mains power.
13. A dimmer circuit comprising a bypass current control circuit as claimed in any one of claims 7 to 12.
14. A load driver comprising a bypass current control circuit as claimed in any one of claims 7 to 12.
15. A load driver as claimed in claim 14 wherein the load driver is an LED driver.
16. A method as claimed in claim 1, substantially as herein described with reference to the accompanying drawings.
17. A bypass current control circuit as claimed in claim 7, substantially as herein described with reference to the accompanying drawings. 19
18. A method substantially as herein described with reference to any one of the embodiments of the invention illustrated in the accompanying drawings.
19. A bypass current control circuit as herein described with reference to any one of the embodiments of the invention illustrated in the accompanying drawings.
20. A LED load driver substantially as herein described with reference to any one of the embodiments of the invention illustrated in the accompanying drawings. 20
AU2012244104A 2011-10-07 2012-10-08 Dimmable light emitting diode load driver with bypass current Active AU2012244104B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2012244104A AU2012244104B2 (en) 2011-10-07 2012-10-08 Dimmable light emitting diode load driver with bypass current

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
AU2011904151A AU2011904151A0 (en) 2011-10-07 Dimmable light emitting diode load driver with bypass current
AU2011904151 2011-10-07
AU2012244104A AU2012244104B2 (en) 2011-10-07 2012-10-08 Dimmable light emitting diode load driver with bypass current

Publications (2)

Publication Number Publication Date
AU2012244104A1 AU2012244104A1 (en) 2013-05-02
AU2012244104B2 true AU2012244104B2 (en) 2014-05-29

Family

ID=48221743

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2012244104A Active AU2012244104B2 (en) 2011-10-07 2012-10-08 Dimmable light emitting diode load driver with bypass current

Country Status (1)

Country Link
AU (1) AU2012244104B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011020007A1 (en) * 2009-08-14 2011-02-17 Once Innovations, Inc. Reduction of harmonic distortion for led loads
WO2011045057A1 (en) * 2009-10-14 2011-04-21 Tridonic Uk Limited Method for controlling the brightness of an led
US20110121744A1 (en) * 2009-11-20 2011-05-26 Lutron Electronics Co., Inc. Controllable-load circuit for use with a load control device
WO2011114261A1 (en) * 2010-03-17 2011-09-22 Koninklijke Philips Electronics N.V. Led unit for cooperation with a mains dimmer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011020007A1 (en) * 2009-08-14 2011-02-17 Once Innovations, Inc. Reduction of harmonic distortion for led loads
WO2011045057A1 (en) * 2009-10-14 2011-04-21 Tridonic Uk Limited Method for controlling the brightness of an led
US20110121744A1 (en) * 2009-11-20 2011-05-26 Lutron Electronics Co., Inc. Controllable-load circuit for use with a load control device
WO2011114261A1 (en) * 2010-03-17 2011-09-22 Koninklijke Philips Electronics N.V. Led unit for cooperation with a mains dimmer

Also Published As

Publication number Publication date
AU2012244104A1 (en) 2013-05-02
NZ602888A (en) 2013-11-29

Similar Documents

Publication Publication Date Title
US10433384B2 (en) LED driver with silicon controlled dimmer, apparatus and control method thereof
US11870333B2 (en) Illumination device and method for decoupling power delivered to an LED load from a phase-cut dimming angle
US8692479B2 (en) Method of controlling a ballast, a ballast, a lighting controller, and a digital signal processor
US9936547B2 (en) Multi-mode control for solid state lighting
CN108337764B (en) Constant voltage output AC phase dimmable LED driver
TWI573492B (en) Lighting system and its control method
CN110113841B (en) LED driving circuit with silicon controlled rectifier dimmer, circuit module and control method
RU2638958C2 (en) Circuit device and led lamp, containing this circuit device
US9572215B2 (en) Method and apparatus for detecting and correcting improper dimmer operation
US8698407B1 (en) Highly integrated non-inductive LED driver
US9655188B1 (en) Illumination device and method for independently controlling power delivered to a load from dimmers having dissimilar phase-cut dimming angles
US10015851B2 (en) Ballast circuit
US8729729B2 (en) Method and apparatus for driving low-power loads from AC sources
US20140176016A1 (en) Systems and methods for dimming of a light source
US20130049631A1 (en) Led lamp with variable dummy load
CN105265026B (en) Method and circuit for detecting leading edge phase-cut dimmer
US20170208660A1 (en) Led driver circuit, led circuit and drive method
US20130147387A1 (en) Systems and Methods of LED Dimmer Compatibility
US10362659B2 (en) Illumination control system, lighting system, illumination system, non-transitory recording medium, and illumination control method
US8466631B1 (en) Lamp driver with triac dimmer compensation
AU2012244104B2 (en) Dimmable light emitting diode load driver with bypass current
CN107155235B (en) Method and circuit for maintaining minimum conduction angle of silicon controlled rectifier dimming
US11445586B2 (en) Adaptive power balancing in LED lamps
US8947015B1 (en) Indirect line voltage conduction angle sensing for a chopper dimmed ballast
US9655178B1 (en) Device and method for removing transient and drift from an AC main supplied to a DC-controlled LED load

Legal Events

Date Code Title Description
FGA Letters patent sealed or granted (standard patent)