POWER SOURCE TYPE DETERMINER

Abstract

A device for determining a type of a power source for powering a LED lighting unit, wherein one possible type comprises a ballast originally designed for a high intensity discharge lamp and repurposed for use with an LED lighting unit. The power source type determiner monitors at least one electrical parameter of either a load or the power source itself after a power drawn by the load whose characteristic is set to a critical value. A value of the electrical parameter is used to identify a type of the power source. A value of the electrical parameter is the pulse generated by the traditional ballast for gas discharge lamp, which pulse is detected to determine the type of the power source

Claims

1. A power source type determiner for identifying a type of a power source for powering a LED lighting unit, wherein one possible type of a power source comprises a ballast originally designed for a discharge lamp, the power source type determiner comprising: a control arrangement adapted to set a forward voltage level across the LED lighting unit to at least a first forward voltage and a second forward voltage, lower than the first forward voltage; a monitoring system adapted to monitor an electrical parameter of the load or of the power source; and a type determination unit adapted to: receive, from the monitoring system, a first value of the electrical parameter, wherein the first value is obtained during a response of the power source to the control arrangement setting the forward voltage of the LED lighting unit to the first forward voltage; and process the first value to generate a type indicating signal indicating the type of the power source; wherein the electrical parameter comprises the occurrence of a pulse in a voltage level provided by the power source.

2. The power source type determiner of claim 1, wherein: the control arrangement comprises a switch for switching a forward voltage of the LED lighting unit between the first forward voltage and the second forward voltage.

3. The power source type determiner of claim 2, wherein the pulse has a length less than a predetermined length and a magnitude of more than a predetermined magnitude.

4. The power source type determiner of claim 3, wherein: a first type of power source comprises a ballast with an igniter, and a second type of power source is without an igniter; the electrical parameter comprises the occurrence of a pulse from the igniter of the power source; and the type determination unit is adapted to distinguish between the first type of power source and the second type of power source based on whether or not the first value indicates the occurrence of the pulse.

5. The power source type determiner of claim 3, wherein the first forward voltage is no less than a first threshold voltage value that would trigger an igniter of a power source to output said pulse, and wherein the ballast comprises a high intensity discharge (HID) lamp ballast, the second type of power source comprises AC mains.

6. The power source type determiner of claim 3, wherein: a first type of power source comprises a SON-type ballast with a first igniter and a second type of power source comprises an MV-type ballast with a second, different igniter or without an igniter; the electrical parameter comprises the occurrence of a pulse from the first igniter of a SON type ballast; and the type determination unit is adapted to generate the type indicating signal indicating the type of the power source based on whether or not the occurrence of the pulse is detected.

7. The power source type determiner of claim 6, wherein the first forward voltage is no less than a second threshold voltage value that would trigger the first igniter of the SON-type ballast to output said pulse, and optionally lower than a third threshold voltage value that would trigger the second, different igniter of the MV ballast, and the SON-type ballast and the MV-type ballast are high intensity discharge lamp ballast.

8. The power source type determiner of claim 3, wherein the monitoring system comprises a positive pulse detector comprising: a positive voltage detector adapted to generate an output indicating whether a positive voltage is detected in a voltage level provided by the power source; a negative voltage holder adapted to: generate an output indicating whether a negative voltage is detected in a voltage level provided by the power source; hold the output for at least a holding time period after the negative voltage is removed, and a positive pulse output unit that generates an output indicating whether the output of the positive pulse detector indicates that a positive voltage is detected and the held output of the negative voltage holder indicates that a negative voltage has been detected during the holding time period preceding detection of the positive voltage by the negative voltage detector.

9. The power source type determiner of claim 3, wherein the monitoring system comprises a negative pulse detector comprising: a negative voltage detector adapted to generate an output indicating whether a negative voltage is detected in a voltage level provided by the power source; a positive voltage holder adapted to: generate an output indicating whether a positive voltage is detected in a voltage level provided by the power source; hold the output for at least a holding time period after the positive voltage is removed, and a negative pulse output unit that generates an output indicating whether the output of the negative pulse detector indicates that a negative voltage is detected and the held output of the positive voltage holder indicates that a positive voltage has been detected during the holding time period preceding detection of the negative voltage by the negative voltage detector.

10. The power source type determiner of claim 1, wherein: the level of the characteristic of the load is the power level drawn by the load; and the type determination unit is adapted to: receive, from the monitoring system, a second value of the electrical parameter, when the control arrangement sets the power drawn by the load to the second level; receive, from the monitoring system, the first value of the electrical parameter, when the control arrangement sets the power level drawn by the load to the first level; process the first value of the electrical value by: determining a change in the electrical parameter using the first value and the second value; and processing the change to generate a type indicating signal indicating the type of the power source for powering the LED lighting unit.

11. The power source type determiner of claim 10, wherein the type determination unit is adapted to generate a type indicating signal indicating the type of the power source is: a mains supply when the change is less than a first threshold, and a type of power source comprising a ballast when the change is no less than the first threshold; and/or the type determination unit is adapted to generate a type indicating signal indicating the type of the power source is: a type of power source comprising a first type of ballast when the change is less than a second threshold, and a type of power source comprising a second type of ballast when the change is no less than the second threshold.

12. The power source type determiner of claim 10, wherein the electrical parameter comprises a magnitude characteristic or a time characteristic of a voltage level provided by the power source; optionally wherein said magnitude characteristic comprises any one of root mean square value, peak to peak value, or average value of the voltage level, or optionally wherein said time characteristic comprises a frequency or a phase of the voltage level.

13. The power source type determiner of claim 10, wherein the second level is zero so that the load does not attempt to draw power, and the first level is larger than zero so that the load attempts to draw at least some power.

14. A LED lighting unit comprising: an LED arrangement formed of one or more LEDs; and the power source type determiner of claim 1, wherein the load of the power source type determiner comprises the LED arrangement.

15. A LED lighting unit according to claim 14, further comprising: a first converter adapted to connect to the power source and convert the power from the power source to a first power; a second converter to convert the first power to a second power to the LED arrangement; the first converter is adapted to be in a full pass-through operation and the second converter is adapted to set the forward voltage as the first forward voltage to facilitate the determination of the power source determiner; wherein, the first converter is adapted to be in a partially pass-through operation when the power source has been determined as the ballast originally designed for a discharge lamp in the determination; characterized in that, the first converter is adapted to decrease the first power and the forward voltage across the LED lighting unit to the second forward voltage to stop the ballast from generating the pulse, wherein the first converter is adapted to decrease the first power at a speed to which the second converter is responsive.

16. A LED lighting unit according to claim 15, wherein the first converter is a shunt switch circuit to short circuit the LED lighting unit, and the second converter is a switch mode converter with PFC function and a PFC response speed, the first converter is adapted to be in a full pass-through operation by not short circuit the LED lighting unit at all, and the second converters is adapted to implement PFC function, when the power source has been determined as AC mains.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0063] For a better understanding of the invention, and to show more clearly how it may be carried into effect, reference will now be made, by way of example only, to the accompanying drawings, in which:

[0064] FIG. 1 illustrates two types of power source originally designed for a high intensity discharge lamp;

[0065] FIG. 2 illustrates a power source type determiner according to an embodiment of the invention;

[0066] FIG. 3 illustrates an output of a power source of a first type, after a load begins drawing power from the power source;

[0067] FIG. 4 illustrates an output of a power source of a second type, after a load begins drawing power from the power source;

[0068] FIG. 5 is a block diagram illustrating a monitoring system and a type determination unit according to an embodiment;

[0069] FIG. 6 is a circuit diagram illustrating part of a monitoring system according to an embodiment;

[0070] FIG. 7 is a circuit diagram illustrating part of a monitoring system and a type determination unit according to an embodiment;

[0071] FIG. 8 illustrates a power source and an LED lighting unit according to an embodiment; and

[0072] FIGS. 9 to 12 each illustrate a circuit diagram depicting an LED arrangement and switching arrangement for an LED lighting unit according to different embodiments.

[0073] FIG. 13 is a flowchart illustrating a method according to an embodiment of the invention;

[0074] FIG. 14 is a topology that can work in both type A and type B fixture;

[0075] FIG. 15 shows slowly decreasing the bus voltage to reset the igniter according to a further embodiment of the invention;

[0076] FIG. 16 shows another innovation to determine the type of the power source according to another embodiment of the invention; and

[0077] FIG. 17 shows a flowchart of determining the type of the power source by comparing the power source's output voltage waveform before and after a parallel output capacitor is switched in.

DETAILED DESCRIPTION OF THE EMBODIMENTS

[0078] The invention will be described with reference to the Figures.

[0079] It should be understood that the detailed description and specific examples, while indicating exemplary embodiments of the apparatus, systems and methods, are intended for purposes of illustration only and are not intended to limit the scope of the invention. These and other features, aspects, and advantages of the apparatus, systems and methods of the present invention will become better understood from the following description, appended claims, and accompanying drawings. It should be understood that the Figures are merely schematic and are not drawn to scale. It should also be understood that the same reference numerals are used throughout the Figures to indicate the same or similar parts.

[0080] The invention provides a device for determining a type of a power source, of which one possible type includes a ballast originally designed for a high intensity discharge lamp and repurposed for use with an LED lighting unit. The power source type determiner monitors at least one electrical parameter of either a load or the power source itself after a characteristic of the load is set to a first level or value. A value of the electrical parameter is then used to identify a type of the power source.

[0081] One aspect of the invention is based on the realization that a response of a power source to a certain characteristic of a load, such as when power begins to be drawn by a load or a particular voltage level is demanded by a load, is indicative of the type of the power source. In particular, a start-up process or response of a power source to a particular characteristic of a load, such as drawn power level, causes different electrical parameters depending upon the type of the power source.

[0082] After the type of the power source has been determined, embodiments may be employed in a lighting system to modify the operating point, mode or configuration of an LED lighting unit to be connected to the power source. This can therefore enable more efficient LED lighting units to be provided.

[0083] FIG. 1 illustrates two types of power source for powering an LED lighting unit 100. The LED lighting unit 100 connects to an input interface i formed of one or more input nodes i.sub.1, i.sub.2 to draw power from the power source.

[0084] A first type of power source 10A is an unmodified power source for a high-intensity discharge (HID) lamp. The power source 10A is powered by a mains supply 11, and comprises a (optional) compensator capacitor C.sub.comp, an electromagnetic (EM) ballast L.sub.em, and an (optional) igniter 12. When operating, the igniter 12 creates high frequency and high voltage oscillations designed to ignite an HID lamp (mostly for ionizing the gas in the (gas) discharge lamp, after which the ballast's normal output current lights the lamp and the igniter stops operating. The EM ballast L.sub.em is designed to regulate a current through the HID lamp whilst the HID lamp outputs light. A compensator capacitor C.sub.comp is an AC capacitor designed for individual correction of the power factor of the EM ballast L.sub.em.

[0085] Thus a first type of power source may be called a “ballast input”.

[0086] A second type of power source 10B is a modified power source, optionally for the HID lamp with built in ballast circuit, in which the compensator capacitor C.sub.comp, electromagnetic ballast L.sub.em and igniter 12 have been removed (or were never initially present). The second type of power source 10B therefore effectively comprises only a mains supply 11. Thus, the second type of power source may be called a “mains input”. The second type is also popular for new installations: there is no need to add a ballast for discharge lamp where LED lighting units will be equipped.

[0087] Given the different installation scenarios, it is beneficial for the manufacturer as well as the customer to have one universal LED lighting unit that can be used in any scenario. The customer does not need to check his installation and by the right model of lamp; and the manufacturer does not need to stock different models of lamps. For this purpose, the first step is for a lamp to know what the type of the power source is. Thus it is an aim of the invention to distinguish between different types of power source such as power sources comprising ballasts originally designed for an HID lamp and power sources formed of only a mains supply, such as the first and second types described above. Proposed embodiments monitor electrical parameter of the power source and/or a connected load (e.g. LED lighting unit) to identify a type of the power source. This enables an operating mode/point/configuration of a LED lighting unit, to be connected to the power source, to be appropriately modified afterwards.

[0088] The present invention will generally be explained in the context of the first and second above-described types for a power source (e.g. where a ballast and igniter either do, for a first type, or do not, for the second type, contribute to the power drawn by a connected load). However, the invention may be extended to other types of power source (e.g. comprising ballast(s) and/or igniter(s) of different types, configurations or component values).

[0089] FIG. 2 illustrates a power source type determiner 20 according to a general embodiment of the invention.

[0090] The power source type determiner 20 comprises a load 21 for drawing power from the power source. The load may comprise any suitable component for drawing power, such as a resistor or other impedance arrangement. In preferable embodiments, as later described, the load may comprise an LED arrangement of an LED lighting unit.

[0091] The power source type determiner 20 also comprises a control arrangement 22 adapted to control, change or otherwise set a level of a characteristic of the load. In particular, the control arrangement 22 controls, changes or sets a level of a characteristic of the load between at least a first and second, lower level.

[0092] In one example, the control arrangement may control a level of the power drawn by the load. By way of example, the control arrangement may comprise a switch for connecting or disconnecting the load from the power source (to switch from a second power level, i.e. no power, to a first power level, i.e. at least some power). In another example, the control arrangement may control a forward voltage across the load 21 and/or an effective resistance (e.g. between a first resistance and a second, lower resistance) of the load.

[0093] The control arrangement may be responsive to a manual toggle or user input (e.g. a light switch) or to a signal from a control unit (not shown), which is designed to automatically test the type of the power source in power up.

[0094] The power source type determiner also comprises a monitoring system 23 adapted to monitor an electrical parameter of the load or of the power source. For example, as illustrated, the monitoring system may monitor a voltage level provided or drawn by the load 21. Other examples will be set out below.

[0095] The power source type determiner further comprises a type determination unit 24 adapted to receive, from the monitoring system 23, a first value of the electrical parameter, wherein the first value is obtained when the control arrangement has set a level of the characteristic of the load to a first level; and process the first value to generate a type indicating signal S.sub.t indicating the type of the power source for powering the LED lighting unit.

[0096] In particular embodiments, the first value of the electrical parameter is obtained during a start-up process of the power source (i.e. during a period immediately after a level of power provided to the load has been first set or changed by the control arrangement).

[0097] The type indicating signal may, for example, be a binary signal indicating whether the power source is the first type or the second type. This binary signal can be used to control or define an operation (e.g. operating mode, point or configuration) of an LED lighting unit connected to draw power from the power source.

[0098] Thus, the power source type determiner 20 effectively determines a type of the power source. In particular, the power source type determiner may be able to distinguish between a power source of a first type 10A (comprising at least an igniter and a ballast that contribute to the power to be provided to a connected LED lighting unit) and a power source of a second type 10B (in which the igniter and ballast are absent or otherwise do not contribute to the power to be provided to a connected LED lighting unit).

[0099] In particular embodiments, the monitoring system 23 may be adapted to monitor an electrical characteristic that differs depending on whether a power source comprises an igniter/ballast or not. Examples of such electrical characteristics include a change in magnitude of a voltage level provided by the power source (e.g. as an input power supply) in response to a change in the power drawn by a load, a change in phase of the input power supply (in response to a change in the amount of power drawn by a load), or pulses/spikes in the power supply provided by a power source (indicative of the presence of an igniter in the power source).

[0100] In a first example, the control arrangement 22 is adapted to controllably switch a power drawn from the load between a second power level (e.g. no power, where the load does not draw power) and a first, different power level (e.g. full power where the load draws power). In particular examples, the control arrangement 22 may controllably connect and disconnect the load from the input arrangement, e.g. using one or more switches.

[0101] The monitoring system 23 may measure a root mean square (RMS) voltage between the nodes i.sub.1, i.sub.2 of the input arrangement whilst the load draws a first power level and whilst the load draws a second power level, to obtain a first value and second value respectively. Thus, two measurements of the RMS voltage may be generated. A first value of the RMS voltage represents an RMS voltage whilst the load draws a first power level and a second value of the RMS voltage represents an RMS voltage whilst the load draws a second power level. The second value effectively represents a reference measurement.

[0102] The difference between the first and second values is indicative of the type of the power source. In particular, where the power source is of the second type (e.g. not comprising a ballast or igniter) the first value of the RMS voltage will be substantially identical (e.g. ±5%) to the second value of the RMS voltage. Where the power source is of the first above-type (e.g. comprising a ballast and igniter), the first value of the RMS voltage will be less than (e.g. by more than a predetermined amount, such as 5% or 10%) the second value of the RMS voltage. This is because there will be a voltage drop across at least the EM ballast.

[0103] Thus, by monitoring a change in the RMS voltage provided at an input interface i for the LED lighting unit, when there is a change in the amount of power drawn by a load 21 connected thereto, a distinction can be made between different types of power source. In particular, a distinction can be made as to whether a power source comprises a ballast that contributes to the power that is drawn by a connected device.

[0104] Where the second power level is no power (i.e. zero), the second value obtained at the second power level will be substantially similar or identical between different types of power source as the first value at the first power level, with respect to the mains supply voltage, as no/negligible current flows in the EM ballast (caused by the drawing of power by a connected load). Where the second power level is no power, and the first power level is an amount of power (e.g. full power), the first value, obtained at the first power level, will change based on the type of the power source from the second value at the second power level, as an EM ballast will cause a voltage drop as the load draws more power.

[0105] The type indicating signal S.sub.t can thereby be controlled based on the change in the RMS voltage provided at an input interface for the LED lighting unit.

[0106] A further distinction can be made if the first value is less than (by more than predetermined amount) the second value. In particular, the magnitude of the change in RMS voltage can inform whether the change is in the range fitting a first group of one or more EM ballasts, a second group of one or more EM ballasts or neither of the two. In this way, a sub-type of a power source can also be determined, where each sub-type represents a different power source (of the first type) with different ballasts.

[0107] In a second example, a shift in phase of a monitored voltage level (e.g. within the load 21 or at the input interface i) is monitored by the monitoring system 23 and used to identify the type of power source. In such an embodiment, a time reference is established whilst the load draws a second power level (e.g. no power), e.g. via a phase locked loop. The load is then configured to draw a first, different power level (e.g. draws full power), and a shift in phase is determined.

[0108] Where the power source is of the second type (e.g. a mains supply not comprising a ballast or igniter) the shift in phase will be negligible (e.g. ±1%). Where the power source is of the first type (e.g. comprising a ballast and igniter), the shift in phase will be noticeable (e.g. more than a predetermined amount, such as more than 5% or 10%). This is because the voltage drop across the EM ballast will cause a noticeable shift in the phase in the sensed signal as the power level changes.

[0109] Again, in case the power source is of a first type, the magnitude of the shift in phase can even tell us if the change is in the range fitting a first group of one or more EM ballasts, a second group of one or more EM ballasts or neither of the two.

[0110] Thus, the first and second examples provide a simple method of detecting whether a power source comprises a ballast that contributes to power drawn by a connected load (i.e. is a “first type”) or does not comprise such a ballast (i.e. is a “second type”). The type indicating signal S.sub.t may carry information (e.g. a binary signal) indicating the type of the power source.

[0111] A further distinction of the type of ballast, and thereby type of power source, can also be made, which distinction may also be carried by the type indicating signal. This may be performed by assessing a magnitude of a difference between the second and first values (different ballast being associated with different ranges of magnitudes).

[0112] The first and second examples thereby share a same idea of making a step in or changing a resistance of the load (and thereby power drawn) that the power source type determiner forms at its input interface i, and establishing the delta/change in a particular electrical parameter (e.g. voltage, current, frequency and/or phase) of the load or power source. Based on said delta/change in the sensed signal(s), a type of the power source can be determined.

[0113] In a third example of the invention, the monitoring system may be adapted to detect the occurrence of a pulse or spike in a certain voltage level provided by the power source, wherein the pulse has a length less than a predetermined length and a magnitude of more than a predetermined magnitude. Thus, the monitored parameter may be the occurrence of a pulse. The pulse, if any, would come from an igniter of a ballast. A direct mains connection would not generate pulse or spike. By monitoring whether the occurrence of the pulse or spike, the type of the power source can be determined.

[0114] More specifically, an igniter of a ballast causes pulses or spikes if the power source outputs/faces a certain output voltage level provided, for example, during a start-up process, but would not cause pulse/spikes if the output voltage is below that level. This is the inherent function of the igniter to start a discharge lamp, as the resistance of a discharge lamp is high before it turns on and the igniter therefore uses the pulses to turn it on/ionize the gas within the lamp. The presence or absence of a pulse during this start-up process is therefore indicative of whether or not an igniter contributes to the power provided by a power source, and thereby whether a power source is of a first type or second type (described above).

[0115] Thus, by setting a forward voltage or resistance of a load at a first level high enough to trigger the igniter, a start-up process of the power source can be initiated by the control arrangement, and the presence or absence of a pulse or pulses can be detected to determine whether or not the power source comprises an igniter (e.g. is of a first type or a second type).

[0116] Different forward voltages or resistances may be used to test for different igniters, and therefore different types of power source. Different igniters may begin pulsing when a power source attempts to provide different voltage levels to a load. For example, the MV ballast contains no igniter or an igniter with high trigger voltage of around 250V. The SON ballast contains an igniter with low trigger voltage of around 160V. Thus, by changing the forward voltage or resistance of a load between different levels/values, and monitoring for pulses from the power source, it is possible to test whether different igniters are present, and thereby test for a type of the power source.

[0117] FIG. 3 illustrates a voltage level 30 provided by a power source during a start-up process, where the power source is originally designed for an HID lamp and comprises an igniter that generates to the spike. As illustrated, the start-up process causes spikes or pulses to appear the voltage level. The spike is shown by reference signs 32.

[0118] FIG. 4 illustrates a voltage level 40 provided by a power source during a start-up process, where the power source is originally designed for an HID lamp and the igniter has been removed, bypassed or deactivated so that it does not generate the spike/pulse. Thus, as illustrated, the start-up process does not comprise spikes or pulses.

[0119] Thus, it is possible to distinguish between at least a first and second type of a power source using the presence or absence of spikes during an initiated start-up process, i.e. when a forward voltage or resistance of a load is (first) set to a first level.

[0120] It is also notable, for the purposes of later explanation, that the voltage level provided by each power source alternates between a positive polarity and a negative polarity, where there is a period of time between each polarity (during which time the voltage level is substantially 0). This is the conventional waveform for a power supply provided by a power source designed for a high-intensity discharge lamp.

[0121] FIG. 5 illustrates a block diagram of a monitoring system 23 and a type determination unit 24 according to an embodiment of the invention. The monitoring system 23 is adapted to detect pulses in the voltage level provided by the power source and the type determination unit 24 is adapted to generate a type indicating signal indicating the type of the power source. For example, the type determination unit may provide a signal providing a positive or negative determination of whether the power source is a first or second type.

[0122] The monitoring system 23 comprises a positive pulse detector 51 and a negative pulse detector 52.

[0123] The positive pulse detector 51 is adapted to generate an indicator when a positive pulse is detected whilst the polarity of the voltage level provided by power supply (i.e. immediately preceding and/or following the pulse) is negative. The negative pulse detector 52 is adapted to generate an indicator when a negative pulse is detected whilst the polarity of the voltage level provided by power supply (i.e. immediately preceding and/or following the pulse) is positive.

[0124] In the illustrated example, the positive pulse detector 51 comprises a positive voltage detector 51A that generates an output indicating whether a positive voltage is detected. The positive pulse detector also comprises a negative voltage holder 51B, which generates an output indicating whether a negative voltage is detected and holds the output for a holding time period after the negative voltage is removed (e.g. using a capacitor). The positive pulse detector also comprises a positive pulse output unit 51C that generates an output indicating whether the positive pulse detector indicates that a positive voltage is detected and the negative voltage holder is holding an output that indicates that a negative voltage has been previously detected (i.e. in the certain time period before the positive voltage was detected). In this way, the positive pulse detector generates an output indicating whether a positive pulse is detected during a negative cycle of the power supply.

[0125] The holding period may be less than the period of time between a positive polarity of the voltage level and a negative polarity of the voltage level (previously explained with reference to FIGS. 3 and 4). In this way, the positive pulse detector is specifically designed for use with power sources designed for HID lamps, as other power sources may flip polarity without having a period of time between the positive and negative polarities of the output supply.

[0126] Similarly, the illustrated negative pulse detector 52 comprises a negative voltage detector 52A that generates an output indicating whether a negative voltage is detected. The positive pulse detector 52 also comprises a positive voltage holder 52B, which generates an output indicating whether a positive voltage is detected and holds the output for a certain period of time after the positive voltage is removed (e.g. using a capacitor). The negative pulse detector also comprises a negative pulse output unit 52C that generates an output indicating whether the output of the negative pulse detector indicates that a negative voltage is detected and the held output of the positive voltage holder indicates that a positive voltage has been previously detected (i.e. in the certain time period before the negative voltage was detected). Thus, the negative pulse detector generates an output indicating whether a negative pulse is detected.

[0127] In this way, a negative pulse can also be detected.

[0128] Presence of both a positive and negative pulse detector is particularly beneficial, as some igniters trigger at only a single polarity.

[0129] The monitoring system further comprises an OR element 53 adapted to generate an output indicating whether either the output of the positive pulse detector indicates that a positive pulse is detected or the output of the negative pulse detector indicates that a negative pulse is detected. Thus, the OR element 53 generates an output indicating whether or not a pulse (positive or negative) has been detected.

[0130] The monitoring system may further comprise a low pass filter 54 for filtering the output of the OR element 53. The low pass filter 54 filters false dips. The low pass filter 54 may also act to transform detection of pulses into an average detection rate, by smoothing the output from the OR element.

[0131] The type determination unit 24 is adapted to receive the output of the OR element 53 (or the low pass filter 54). The output of the OR element indicates whether a pulse has been detected. Based on the output of the OR element (i.e. occurrence or non-occurrence of a pulse), the type determination unit 24 determines a type of the power source and generates a type indicating signal indicating the type of the power source. This may be done by, for example, identifying whether at least a predetermined number of pulses has been detected or by identifying whether an average detection rate is above a predetermined level.

[0132] By way of example, the type determination unit 24 may comprise a comparator 55 adapted to compare the output of the OR element 53 (or low pass filter 54) to a predetermined value. The comparator may determine whether an average detection rate is above a predetermined level (e.g. by compare a determined average detection rate to a predetermined value) or whether the number of pulses detected is above a predetermined threshold (by counting a number of pulses and comparing the counted number to a predetermined value). This comparison may be performed in the analog or digital domain.

[0133] In embodiments, the default output of the type determination unit (i.e. the type indicating signal) may indicate that the power source is of the second type. The output may be switched (e.g. to indicate that the power source is of the first type) in response to a predetermined number of pulses being detected or an average detection rate being above a predetermined level. Thus, presence of pulses may switch the type indicating signal to indicate that an igniter contributes to the power provided by the power source, i.e. the power source is of the first type. Otherwise, the type indicating signal may indicate that an igniter does not contribute to the power provided by the power source, i.e. the power source is of the second type.

[0134] The type determination unit may further comprise a latch 56 that latches the output S.sub.t of the type determination unit if it switches (e.g. to indicate that the power source is of the first type). The latch may be reset in response to the power supply being reset or in response to the load no longer drawing the second power level.

[0135] FIG. 6 is a circuit diagram illustrating part of a monitoring system 23 according to an embodiment. The monitoring system comprises a positive pulse determiner 51, a negative pulse determiner 52 and an OR element 53. The OR element effectively performs an OR operation on the output at node n.sub.o of the negative determiner and the output at node p.sub.o of the positive determiner to provide a result of the OR operation at an output node o.

[0136] The input nodes i.sub.1 and i.sub.2 are connected to a positive and negative of the power source respectively. Thus, there is a positive node i.sub.1 and a negative node i.sub.2.

[0137] A process of detecting a positive pulse (when the input voltage is negative) is hereafter described. For the sake of clarity, a voltage level is described as “high” or “low”, which represents whether a voltage at a particular node is greater than a ground voltage (“high”) or at or below a ground voltage (“low”).

[0138] When the input is at a negative steady state, a positive node i.sub.1 is low and a negative node i.sub.2 is high. The positive pulse output p.sub.o is also held high (via the resistor R.sub.6, as the switch Q.sub.2 will be off). Thus, the output node o is held high (via diode D.sub.2) Moreover, the capacitor C.sub.1 is charged via resistor R.sub.1, which closes the switch Q.sub.1 (here a BJT). Thus, the negative pulse output n.sub.o is held low (but current cannot flow from the positive pulse output node p.sub.o to ground through switch Q.sub.1 due to the diode D.sub.1).

[0139] When a sudden positive pulse occurs (in the negative steady state), the positive node i.sub.1 switches high and the negative node i.sub.2 switches low. The positive pulse output p.sub.o therefore switches low. The negative pulse output n.sub.o is also held low, as the stored charge of the capacitor C.sub.1 keeps the switch Q.sub.1 open. Thus, the output node o is pulled low (as there is no high voltage provided thereto).

[0140] Thus, a low output at the output node o indicates whether a pulse has occurred. A similar operation takes place to detect a negative pulse (during a positive steady state).

[0141] When the input is at a positive steady state, a positive node i.sub.1 is high and a negative node i.sub.2 is low. The negative pulse output n.sub.o is also held high (via the resistor R.sub.5, as the switch Q.sub.1 will be off). Thus, the output node o is held high (via diode D.sub.1). Moreover, the capacitor C.sub.2 is charged via resistor R.sub.3, which closes the switch Q.sub.2 (also a BJT). Thus, the positive pulse output p.sub.o is held low (but current cannot flow from the negative pulse output node n.sub.o to ground through switch Q.sub.2 due to the diode D.sub.2).

[0142] When a sudden negative pulse occurs (in the positive steady state), the positive node i.sub.1 switches low and the negative node i.sub.2 switches high. The negative pulse output n.sub.o therefore switches low. The positive pulse output p.sub.o is also held low, as the stored charge of the capacitor C2 keeps the switch Q2 open. Thus, the output node o is pulled low (as there is no high voltage provided thereto).

[0143] Thus, the output node o indicates whether a pulse is detected (low) or not (high).

[0144] FIG. 7 illustrates some further components for a monitoring system 23 and a type determination system 24 according to an embodiment.

[0145] An inverter 71 inverts the voltage at the output node o. A low pass filter D3, C4, R12 is used to filter out false pulses. The voltage across the capacitor C4 is representative of the average detection rate of pulses, effectively acting as a smoothing capacitor to average the rate of the pulses. A comparator Q5, here a transistor, activates (i.e. conducts current) if a voltage across the capacitor C4 reaches a threshold level, thereby effectively comparing the average detection rate to a reference detection rate. This brings an output C.sub.o of the comparator, and the type indicating signal S.sub.t, to a ground voltage level if the comparator is activated to conduct current. Thus, a ground voltage at the output C.sub.o of the comparator indicates that a pulse or pulses have been detected in the monitored voltage level, and therefore that the power source is of a type comprising a certain igniter. Failure of the output C.sub.o to be pulled to ground indicates that no pulses have been detected, and that the power source can therefore be assumed to be of a second type (e.g. not comprising an igniter or the certain igniter associated with the reference detection rate).

[0146] A latch 56 latches the output C.sub.o of the comparator, and thereby the type indicating signal S.sub.t if the output C.sub.o switches to a ground voltage (e.g. to indicate that the power source is of the first type and thereby comprises an igniter).

[0147] The latch 56 is formed from a conventional flip-flop circuit, formed of a pair of transistors Q6, Q7 and appropriate connections (via resistors R13, R14, R15, R_relay1) between each other and a high voltage level. A collector (or drain) of each transistor Q6, Q7 is connected to a high voltage level Vcc via a respective resistor R_relay1, R15. An emitter (or source) of each transistor Q6, Q7 is connected to a ground voltage. The base (or gate) of a first transistor Q6 is connected to the collector or drain of a second transistor Q7 via resistor R13. The base (or gate) of the second transistor Q7 is connected to the collector or drain of the first transistor Q6 via resistor R14. The output Co of the comparator is connected to the base (or gate) of the second transistor. A voltage level at the collector or drain of the first transistor Q6 acts as the type indicating signal S.sub.t, and is latched when the output of the comparator C.sub.o is pulled to ground.

[0148] In embodiments, the latch is initially activated at a power-up of the power source type determination unit by a reset signal UVLO that resets the type indicating signal S.sub.t. Thus detection occurs only once at each turn-on or during operation. Once an igniter or a pulse(s) has been detected the type indicating signal remains low until the next power cycle.

[0149] Of course, it will be appreciated that the herein provided circuit diagram(s) illustrate only one possible implementation, and other implementations may include digital circuits, microprocessors, operational amplifiers and so on.

[0150] FIG. 8 illustrates a further embodiment of the invention, wherein the power source type determiner has been integrated into a LED lighting unit 80. The LED lighting unit 80 is connected to, and adapted to draw power from, a power source 10 (the type of which is not initially known).

[0151] The illustrated power source 10 comprises an igniter 12 and ballast circuitry 15 (e.g. comprising an EM ballast, not shown). However, the power source need not comprise such an igniter and/or ballast (depending upon the type of the power source).

[0152] The illustrated LED lighting unit 80 comprises a power source type determiner 20, such as those previously described, and a driver 81. The LED lighting unit 80 further comprises an LED arrangement 85, 86 formed of at least one LED.

[0153] In embodiments, (a portion of) the LED arrangement 85, 86 may act as the load for the power source type determiner. Thus, a control arrangement (e.g. integrated into the driver 81) of the power source type determiner may control a power/voltage drawn by the LED arrangement. The control arrangement may thereby also be integrated into the driver 81.

[0154] In a preferred embodiment, the LED arrangement comprises a first LED array 85 and a second LED array 86, each LED array being formed of at least one LED. The LED lighting unit 80 may further comprise a switching arrangement, configured to control which of the first and second LED arrays are able to draw power. In particular, the switching arrangement may be able to control or define a forward voltage of the LED arrangement. For example, the first LED array 85 is 180V to 220V, and the second LED array 86 is 100V to 150V.

[0155] The power source type determiner 20 may be further configured to control an operation of the switching arrangement based on the determined type of the power source 10. In particular, the power source type determiner 20 may be able to define which of the first and second LED arrays are able to draw power from the power source and thereby to define a forward voltage of the at least one LEDs. Alternatively, the two LED arrays 85 and 86 can be set in series connection to provide a high forward voltage in order to attempt to trigger the igniter.

[0156] It should be noted that the switching arrangement need not be just a selector of two different LED arrays (i.e. switching between the two) but is considered to be a switching arrangement that changes a configuration of the LEDs. This can be achieved be selectively bypassing one of more of the first and second LED arrays.

[0157] In particular, in response to determining that the power source is of a first type (i.e. a ballast input), the power source type determiner may cause the switching arrangement to configure the LEDs to have a first forward voltage, and in response to determining that the power source is of a second type (i.e. a mains input), the power source type determiner may cause the switching arrangement to configure the LEDs to have a second, higher forward voltage.

[0158] Such an embodiment helps improve the power factor of the LED lighting unit by adapted the LED lighting unit to a specific type of power source. Automatically controlling a configuration of the LED arrangement enables a plug-and-play replacement LED lighting unit (for replacing an existing HID lamp) to be provided.

[0159] FIG. 9 illustrates a configuration of the first LED array 85, the second LED array and the switching arrangement according to a first scenario.

[0160] The first LED array 85 and the second LED array 86 are connected in series via a diode D.sub.4. Two electrolytic capacitors C.sub.5, C.sub.6 are connected in parallel with the first 85 and second 86 LED arrays respectively for filtering a ripple current for the LEDs. A first switch M.sub.1 is connected between an input of the first LED array and an input of the second LED array. A second switch M.sub.2 is connected between an input of the second LED array and an output of the second LED array. Controlling both switches effectively enables control over whether the first and second LED arrays are in parallel or in series, thereby controlling a forward voltage of the overall LED arrangement. Each switch M.sub.1, M.sub.2 may comprise a MOSFET, a BJT, a silicon-controlled rectifier (SCR), a relay contact, a mechanical switch contact and so on.

[0161] The switches M.sub.1 and M.sub.2 are controlled by the power source type determiner using the type indicating signal S.sub.t, so that the power source type determiner is able to place the LED arrays 85, 86 in parallel or in series (i.e. and thereby control a forward voltage of the overall LED arrangement). This can be used to trigger a ballast igniter in which any single array's forward voltage is not yet sufficient.

[0162] In particular, when it is determined that the power source is of a first type (i.e. a ballast and igniter contributes to the power drawn by the LED lighting unit), the LED arrays should be placed in parallel to reduce a forward voltage of the LED arrangement, for stopping the igniter as well as providing a desired lamp power. When it is determined that the power source is of a second type (i.e. and neither a ballast nor igniter contribute to the power drawn by the LED lighting unit), then the LED arrays could be placed in series, to increase a forward voltage of the overall LED arrangement for providing the same desired lamp power, with the aid of an extra converting circuit which is not described in the application but will be filed in a separate application.

[0163] Placing C.sub.5, C.sub.6 in parallel with a respective LED array (rather than a single capacitor in parallel to the overall LED arrangement) avoids creating an inrush for the LEDs when switching from a series to parallel configuration.

[0164] FIG. 10 illustrates a configuration of the first LED array 85, the second LED array 86 and the switching arrangement according to a second scenario.

[0165] The configuration according to the second scenario differs from the configuration for the first scenario in that the capacitor C.sub.5, C.sub.6 of the first scenario have been replaced by a single capacitor C.sub.buf (in parallel with the overall LED arrangement). To mitigate a potential inrush current when switching from a series to parallel configuration, resistors R.sub.15,R.sub.16 are introduced (one in series with each switch M.sub.1, M.sub.2). This limits the inrush current. Alternatively, a limiting current source can be built around the resistors.

[0166] FIG. 11 illustrates a configuration of the first LED array 85, the second LED array 86 and the switching arrangement in parallel with the first array 85 according to a third scenario. In this scenario, the first LED array 85 has a first forward voltage (e.g. 40V) and the second LED array 86 has a second, higher forward voltage (e.g. 140V). Thus, the first LED array 85 can be bypassed in order to control a forward voltage of the overall LED arrangement.

[0167] Control of the bypassing is performed by a single switch M.sub.1 controlled by the type indicating signal S.sub.t generated by the power source type determiner (not shown).

[0168] FIG. 12 illustrates a configuration of the first LED array 85, the second LED array and the switching arrangement according to a fourth scenario.

[0169] The configuration according to the fourth scenario differs from the configuration for the third scenario (of FIG. 11) by further comprising a current limiting circuit 120 in series with the first LED array (having a lower voltage). The current limiting circuit comprises a pair of resistors R17, R18 and a switch M.sub.3 in series. The switch is also controlled by the type indicating signal S.sub.t so that when the first switch M.sub.1 is active (to bypass the first LED array) the switch M.sub.3 is also active to limit a current passing through the first LED array, by effectively increasing a voltage drop between an input of the first LED array and ground.

[0170] The current limiting circuit avoids a situation in which LEDs are bypassed (i.e. and not emitting light, as would happen in the third scenario), whilst still enabling control over the forward voltage of the LED arrangement (as the current limiting circuit will increase an effective forward voltage for the first LED array).

[0171] In particular, the current limiting circuit may be designed so that the voltage across the LED array and current limiting circuit is similar or identical to a forward voltage of the second LED array 86. This allows for improved control over the forward voltage of the overall LED arrangement.

[0172] FIG. 13 is a flowchart illustrating a method 130, of determining a type of a power source, for an LED lighting unit and originally designed for a high intensity discharge lamp, according to an embodiment of the invention.

[0173] The method 130 comprise a step 131 of setting a characteristic of a load to a first level able to draw power from the power source. The method 130 further comprises a step 132 of, after setting the characteristic to the first level, obtaining a first value of an electrical parameter of the load or the power source. The method 130 further comprises a step 133 of processing the first value to generate a type indicating signal indicating the type of the power source.

[0174] In one embodiment, the step 131 of setting comprises setting a forward voltage of the load as the first level to no less than a first threshold value for attempting to trigger a igniter of the power source to output a pulse; the step 132 of obtaining a first value of an electrical parameter comprises obtaining a value indicating whether a pulse has occurred; and the step 133 of processing the first value comprises generating the type indicating signal indicating whether or not a pulse has occurred and thereby whether or not the power source is of a type comprising the igniter,

[0175] In another embodiment, the step 131 of setting comprises switching a power level of a power drawn by a load between a second level and the first, higher level; the step 132 of obtaining a first value comprises obtaining a second value before the switch and obtaining the first value after the switch; and the step 133 of processing the first value comprises processing the difference between first and second values to thereby generate a type indicating signal indicating the type of the power source.

[0176] The skilled person would be readily capable of developing a processing system for carrying out a previously described method. Thus, each step of the flow chart may represent a different action performed by a processing system, and may be performed by a respective module of the processing system.

[0177] The above description shows detecting the type of the power source according to pulse of the power source. The pulse from the igniter, if too many/frequently happen, is not good for the ballast. Thus it is needed to stop the pulse, after triggering it by the large forward voltage as mentioned above. The basic idea of stopping the pulse is lowering the forward voltage/output voltage such that the igniter would reset and stop generating the pulse. The below embodiment shows an innovation according to this basic idea.

[0178] FIG. 14 showed a driver architecture to be compatible with both type A and type B system. The AB detection circuit will detect and judge whether it is type A system or type B system. If type A system, it will switch to type A operation mode in which the shunt switch operates in partially pass through mode and the boost PFC also operates. If type B system, it will switch to type B system in which the shunt switch is fully pass through (full rectifier) and the boost PFC operates. As shown in FIG. 14, at type A operation mode, M3 & M4 operates as synchronous shunt switch, M_flycap keeps on. M_boost 2 operates as boost circuit. At type B operation, M1 & M2 operate as synchronous rectified bridge or turn off and operates as rectifier; M_boost2 operates as boost PFC circuit. The boost PFC circuit can be replaced by any PFC circuit, like buck or buck-boost.

[0179] The PFC circuit inherently has low response control loop/response speed, for example the duty cycle is relatively slowly-controlled, such that the current can follow the input voltage and PFC can be achieved.

[0180] For determining the type of the power source, the lighting unit works in type B first and the boost circuit will increase the bus voltage to 300V to trigger the igniter. After that, the above-mentioned method to detect the pulse from the igniter so as to determine the type of the power source will be implemented. If it is determined as type A, however, it is needed to decrease the bus voltage to around 130V to reset the igniter. Since the second stage is PFC stage which has slow response to voltage drop on bus, if the bus voltage drops too quickly, the PFC stage would not response in time and dip light occurs.

[0181] To avoid dip light, the invention needs stable bus voltage. And for igniter compatibility, we need low enough bus voltage to reset ignitor. Thus the idea is to control the bus voltage very slowly changed, the voltage change speed should be slower/comparable with respect to the response time of second stage boost PFC control. And the lowest voltage should be low enough to make ignitor reset like 130V below. E.g. the voltage firstly slowly decreasing from 300V around to 180V in 10 s when shunt switch operation switched in, and further decrease from 180V to 130V in 5 s and keep 130V for 5 s for ignitor reset. And return back to 180V in 5 s to avoid dip light. This is shown in FIG. 15.

[0182] In this embodiment, the voltage 130V is fixed according to in-lab test and is expected to reset all/most of the igniter. In another embodiment, the voltage to which the bus voltage is decreased can be dynamically determined: as the voltage decreases, a circuit is detecting the occurrence of the pulse, and if there is no pulse occurred anymore, the voltage decreasing can stop.

[0183] The above embodiment uses the detection of pulse to determine the type of the power source. Below will describe another innovation. A second innovation of the basic idea is to change an amount of power that the load attempts to draw and to then monitor how the power source reacts. Some types of power source, such as power sources not comprising a ballast, may not react significantly to the change in power drawn, but a type of power source comprising a ballast may do. Even more, some group of ballasts may react less significantly to the change than the other group of ballasts. Thus, changing the power attempted to be drawn by a load can be used to identify a type of the power source. More specifically, it is the slew rate of rising in the output voltage of the power source, given different load condition, is measured to determine the type of the power source.

[0184] The topology of the converter is still a SMPS, like a boost converter, between the LED and the power source. Between the converter and the power source there may be a rectifier, which could be normal four-diodes rectifier or the above-mentioned synchronous rectifier formed by two diodes and two active switches.

[0185] When power up, the converter operates at low PF boost to converter the input power to the LED current. The converter changes the LED current, and variation of the output voltage of the power source is detected to determine its type. More specifically, if the variation rate is significantly different given the different LED current, the power source can be determined as a ballast for gas discharge lamp. Otherwise the power source can be determined as AC mains.

[0186] In a specific example, detecting the slew rate of a rising output voltage of the power source at the same phase (like the rising phase), at 10% to 100% load current, if the slew rate changes with load current (e.g. >4 or 5 times difference) as shown in FIG. 16, it is type A system. It can be seen that at 10% load current, the slew rate of the output voltage is smooth, for example 50V/ms; while at 100% load current, the slow rate is very high, for example >200V/ms (even with some high frequency oscillation). Otherwise it is type B system since the AC mains voltage is not influenced as much by the load condition.

[0187] Another embodiment of the second innovation will be described below. The basic idea is analyzing the difference of the waveform input voltage before and after a certain electrical component is switched in the power loop. more specifically, the certain electrical component is a capacitor Cb in parallel across the output of the rectifier, as shown in FIG. 14. Here we propose an updated A/B detection method to accurately detecting type A/B system. The input driver voltage waveform will be sensed and stored before Cb switched in in order to get the voltage information of power source. And after switching in Cb, the power source's output voltage will be sensed and stored again. Compare the voltage waveforms before Cb switched in and after Cb switched in, if it is same waveform it is type B system (AC mains) and if it has large difference it is type A system (ballast). The following parameter (not limited) before and after Cb switched in can be used/compared to identify the difference.

[0188] A ratio of average value of power source's output voltage divided by peak value thereof. This ratio is named as WF in FIG. 17, wherein WF1 is that before the capacitor switched in and WF2 is that after. FIG. 17 shows a flowchart of this implementation. If WF1 substantially equals to WF2, the power source is AC mains; if WF2 is substantially different from WF2, for example WF2−WF1>0.1, the power source is determined as ballast.

[0189] Frequency component obtained by using FFT analysis for example. If the components are substantially same, the power source is AC mains; otherwise the power source is determined as ballast. For example, if 1.sup.st, 3.sup.rd or 5.sup.th order harmonic is different by at least 10%, the power source is determined as ballast.

[0190] As discussed above, embodiments make use of a processing system. The processing system can be implemented in numerous ways, with software and/or hardware, to perform the various functions required. A processor is one example of a processing system which employs one or more microprocessors that may be programmed using software (e.g., microcode) to perform the required functions. A processing system may however be implemented with or without employing a processor, and also may be implemented as a combination of dedicated hardware to perform some functions and a processor (e.g., one or more programmed microprocessors and associated circuitry) to perform other functions.

[0191] Examples of processing system components that may be employed in various embodiments of the present disclosure include, but are not limited to, conventional microprocessors, application specific integrated circuits (ASICs), and field-programmable gate arrays (FPGAs). In various implementations, a processor or processing system may be associated with one or more storage media such as volatile and non-volatile computer memory such as RAM, PROM, EPROM, and EEPROM. The storage media may be encoded with one or more programs that, when executed on one or more processors and/or processing systems, perform the required functions. Various storage media may be fixed within a processor or processing system or may be transportable, such that the one or more programs stored thereon can be loaded into a processor or processing system.

[0192] It will be understood that disclosed methods are preferably computer-implemented methods. As such, there is also proposed the concept of computer program comprising code means for implementing any described method when said program is run on a computer. Thus, different portions, lines or blocks of code of a computer program according to an embodiment may be executed by a processor/computer to perform any herein described method.

[0193] Variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure and the appended claims. In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. If a computer program is discussed above, it may be stored/distributed on a suitable medium, such as an optical storage medium or a solid-state medium supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems. If the term “adapted to” is used in the claims or description, it is noted the term “adapted to” is intended to be equivalent to the term “configured to”. Any reference signs in the claims should not be construed as limiting the scope.