Device and method for providing an electrical current to an electrical load via a plurality of ideal voltage waveforms
11545890 · 2023-01-03
Assignee
Inventors
Cpc classification
H05B45/14
ELECTRICITY
H02M1/0025
ELECTRICITY
International classification
H02M1/42
ELECTRICITY
Abstract
A device and a method for providing an electrical current to an electrical load is disclosed. In particular, the device comprises a memory storage device for storing a plurality of ideal voltage waveforms; an electronic controller arranged in data communication with the memory storage device, the electronic controller operable to select one of the plurality of ideal voltage waveforms to compute a reference voltage and a switching period based on a predetermined rule; and an electronic switch arranged to receive the switching period to switch the electronic switch between an on state and an off state, wherein the electrical current is calculated based on a function of the reference voltage and the switching period of the electronic switch.
Claims
1. A device for providing an electrical current from a power source to an electrical load comprising a memory storage device for storing a plurality of ideal voltage waveforms; an electronic controller arranged in data communication with the memory storage device, the electronic controller operable to select one of the plurality of ideal voltage waveforms based on an input voltage of the power source to compute a reference voltage and a switching period based on a predetermined rule; and an electronic switch arranged to receive the switching period to switch the electronic switch between an on state and an off state, wherein the electrical current is calculated based on a function of the reference voltage and the switching period of the electronic switch; a sense circuit arranged in electrical connection with the electronic controller, the sense circuit operable to sense the input voltage of the power source; wherein the sensed input voltage is divided by a predetermined number to obtain a threshold voltage that is used to determine a frequency of the input voltage used to select one of the plurality of ideal voltage waveforms, such that in a transient state before the one of the plurality of ideal voltage waveforms is selected, the electronic controller is operable to use the sensed source voltage divided by the predetermined number as the threshold voltage; wherein upon switching the electronic switch, a time T.sub.X is measured from the time where the input voltage is sensed at a predetermined voltage to the time where the input voltage is next sensed at the predetermined voltage, wherein the one of the plurality of ideal voltage waveforms is selected to compute the reference voltage when the following conditions are satisfied: i. after a multiple of the time T.sub.X; and ii. where the input voltage drops to zero; and wherein the period of the selected ideal voltage waveform corresponds to the time T.sub.X or approximate the time period T.sub.X, such that if the input voltage does not drop to zero after the multiple of the time period T.sub.X, an ideal DC waveform is selected.
2. The device according to claim 1, wherein the sense circuit comprises at least one of the following: a potentiometer, a potential divider, a feedback resistor.
3. The device according to claim 1, wherein the predetermined number is 4.
4. The device according to claim 1, further comprises an analog to digital converter to convert the source voltage to a digital waveform.
5. The device according to claim 1, wherein the device is implemented at a primary side of a flyback switch mode power converter.
6. The device according to claim 1, further comprises a dimming circuit arranged in data communication with the electronic controller.
7. The device according to claim 1, wherein the electronic controller comprises an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA).
8. The device according to claim 1, wherein the memory storage device is a ROM, RAM, database, LUT.
9. A device for providing an electrical current from a power source to an electrical load comprising a memory storage device for storing a plurality of ideal voltage waveforms; a n electronic controller arranged in data communication with the memory storage device, the electronic controller operable to select one of the plurality of ideal voltage waveforms based on an input voltage of the power source to compute a reference voltage and a switching period based on a predetermined rule; and an electronic switch arranged to receive the switching period to switch the electronic switch between an on state and an off state, wherein the current is calculated based on the following mathematical expression
10. The device according to claim 9, wherein the current is calculated based on the following mathematical expression:
11. A method for providing electrical current from a power source to an electrical load comprising storing a plurality of ideal voltage waveforms in a memory storage device; selecting one of the plurality of ideal voltage waveforms based on an input voltage of the power source to compute a reference voltage and a switching period based on a predetermined rule, the selecting step performed by an electronic controller; receiving at an electronic switch, the switching period as input to switch the electronic switch between an on state and an off state, wherein the electrical current is calculated based on a function of the reference voltage and a switching period or frequency of the electronic switch; sensing by a sense circuit the input voltage; dividing the sensed input voltage by a predetermined number to obtain a threshold voltage that is used to determine a frequency of the input voltage, wherein the frequency of the input voltage is used to select one of the plurality of ideal voltage waveforms; activating the electronic switch using the divided sensed input voltage as reference voltage; measuring a time T.sub.X corresponding the time where the input voltage is sensed at a predetermined voltage to the time where the input voltage is next sensed at the predetermined voltage; wherein the predetermined rule includes where the following conditions are satisfied: i. after a multiple of a time T.sub.X; and ii. where the input voltage drops to zero; and wherein the period of the selected ideal voltage waveform corresponds to the time T.sub.X or approximate the time T.sub.X, such that if the input voltage does not drop to zero after the multiple of the time period T.sub.X, an ideal DC waveform is selected.
12. The method according to claim 11, wherein at least one of the plurality of ideal voltage waveforms is one of the following: an ideal alternating current (AC) waveform, an ideal direct current (DC) voltage waveform.
13. The method according to claim 11, wherein the predetermined number is 4.
14. The method according to claim 11, further comprises the step of converting the source voltage to a digital waveform.
15. The method according to claim 11, wherein the device is implemented at a primary side of a flyback switch mode power converter.
16. The method according to claim 11, wherein the current is calculated based on the following mathematical expression
17. A method for providing electrical current from a power source to an electrical load comprising storing a plurality of ideal voltage waveforms in a memory storage device; selecting one of the plurality of ideal voltage waveforms based on an input voltage of the power source to compute a reference voltage and a switching period based on a predetermined rule, the selecting step performed by an electronic controller; receiving at an electronic switch, the switching period as input to switch the electronic switch between an on state and an off state, wherein the electrical current is calculated based on a function of the reference voltage and a switching period or frequency of the electronic switch; wherein the electrical current is calculated based on the following mathematical expression
18. The device according to claim 9, wherein the current is calculated based on the following mathematical expression:
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The present invention will now be described, by way of example only, with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9) Other arrangements of the invention are possible and, consequently, the accompanying drawing is not to be understood as superseding the generality of the preceding description of the invention.
PREFERRED EMBODIMENTS OF THE INVENTION
(10) Particular embodiments of the present invention will now be described with reference to the accompanying drawings. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of the present invention. Additionally, unless defined otherwise, all technical and scientific terms used herein have the same meanings as commonly understood by one of ordinary skill in the art to which this invention belongs.
(11) Throughout the description, the term ‘waveform’ is not limited to actual waveform but include data and/or dataset associated with an electrical signal, such as a voltage or current supply signal. In particular, one waveform may include one or more sets of data associated with the waveform.
(12) The device is suited, but not limited to provide at least a relatively ‘ripple free’ current defined to be less than 5% from the specified rated current. The specified rated current is typically (but not limited to) around 350 mA to 700 mA. Throughout the description, references to ‘current’, ‘connection(s)’ refer to electrical current and connections unless otherwise stated.
(13) Throughout the description, the input voltage V.sub.i refers to a source input voltage obtained from an electrical power mains or source; the reference voltage V.sub.h refers to a voltage computed from an ideal voltage waveform.
(14) In accordance with an aspect of the invention there comprises a device for providing an electrical current to an electrical load comprising a memory storage device for storing a plurality of ideal voltage waveforms; an electronic controller arranged in data communication with the memory storage device, the electronic controller operable to select one of the plurality of ideal voltage waveforms to compute a reference voltage based on a predetermined criterion; and an electronic switch arranged to receive the reference voltage as input to switch the electronic switch between an on state and an off state, wherein the electrical current is calculated based on a function of the reference voltage and a switching period or frequency of the electronic switch.
(15) Referring to the embodiment illustrated in
(16) In some embodiments there comprise a dimmer circuit 114. Where the electrical load comprises LED lamp units, the dimmer circuit 114 may be arranged at the secondary side of the device 100 to adjust the brightness of the LED lamp units. The dimmer circuit 114 may be arranged to control the current provided to the electrical load 180 and may receive inputs from motion sensors, potentiometer et cetera as known to a skilled person. It is to be appreciated that logic associated with the dimmer circuit 114 can be implemented as an output voltage of the electronic controller 104 digitalized by an analog to digital converter (ADC).
(17) In some embodiments, the rectifier module 102 comprises a rectifier bridge element, current or voltage sensing circuits, and supply side capacitors or resistors. In some embodiments, the feedback module 112 comprise one or more comparators for comparing a reference voltage V.sub.h with the voltage V.sub.fb across a feedback element, such as a feedback resistor having resistance R.sub.fb. In some embodiments, the electronic controller 104 may be an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other type of programmable or non-programmable integrated circuit (IC), where in the case the electronic controller 104 is non-programmable the logic may be hard-wired onto one or more circuit board(s). The electronic controller 104 may be arranged to receive a plurality of inputs including, but not limited to:
(18) i. A switching period T and corresponding T.sub.ON (switch on) and T.sub.OFF (switch off) measurements;
(19) ii. An input voltage or source input voltage V.sub.i digitized from the main voltage or power source;
(20) iii. Inductance (L) of the inductive element 110, which may be predetermined.
(21) Based on the inputs, the electrical current to be provided to the load is calculated based on the following mathematical expression in equation (1):
(22)
(23) wherein I.sub.OUT is the electrical current to be provided to the electrical load; T corresponds to the switching period (or switching cycle); T.sub.ON is the switch on time of the electronic switch; T.sub.OFF is the switch off time of the electronic switch corresponding to a time taken for the inductive element 110 having an inductance L to discharge; and V.sub.i corresponds to the input voltage.
(24) In some embodiments, the switching period T is a summation of the following parameters: T.sub.ON+T.sub.OFF+T.sub.CALC, wherein T.sub.CALC is the time after the discharge time of the inductive element to compute equation (1).
(25) In some embodiments, the input voltage V.sub.i is related to a reference voltage V.sub.h in accordance with the following mathematical expression in equation (2):
(26)
(27) Wherein V.sub.h is the reference voltage applied to the comparator within the feedback module 112 for comparison with the voltage across feedback element having resistance R.sub.fb.
(28) In some embodiments, the output electrical current is calculated based on the following mathematical expression utilizing the switch off time T.sub.OFF, the reference voltage V.sub.h and the switching period T mathematically expressed as equation (3) as follows:
(29)
(30) In some embodiments, the output electrical current is calculated based on the following mathematical expression:
(31)
(32) By utilizing equation (4) instead of equation (3), any delay associated with the use of a comparator may be avoided, because in equation (4) the contribution of uncertainty coming from the comparator are canceled by introduction of the parameters V.sub.i, T.sub.1 and V.sub.1.
(33) Where T.sub.1 corresponds to a time that the input voltage V.sub.i based on the sensing circuit 102 reaches a predetermined voltage V.sub.1 from 0.
(34) The memory device 106 may comprise a random access memory (RAM), a read-only memory (ROM), and/or other memory device capable of storing data associated with the plurality of ideal voltage waveforms. In some embodiments, the memory device 106 may be integrated as part of the electronic controller 104. In some embodiments, the electronic controller 104 and/or the memory device 106 forms part of an integrated circuit (IC) chip. In other embodiments, the memory device 106 may be a separate IC chip from the electronic controller 104. In some embodiments, the memory device 106 may be implemented as look-up table, which define specific ideal voltage waveforms to be selected based on a set of operation conditions as inputs. Such inputs may be associated with the initial operating parameters of the device 100 before an ideal voltage waveform is selected to compute the reference voltage V.sub.h.
(35) It is to be appreciated that the SMPS may be arranged in an isolated fly back configuration or a non-isolated configuration (DC power supply).
(36) The ideal waveforms stored in memory device 106 may be digitized ideal waveforms, each waveform defined by at least three parameters including period or frequency; amplitude; and type.
(37)
(38) The plurality of inputs include, but is not limited to:
(39) i. A switching period T (generated by an internal clock) and corresponding T.sub.ON and T.sub.OFF measurements;
(40) ii. An input voltage V.sub.i digitized from the main voltage or power source;
(41) iii. Inductance (L) of an inductive element 206, which may be predetermined.
(42) Based on the inputs, the electrical current I.sub.OUT to be provided to the load is calculated based on equation (1).
(43) In the embodiment shown in
(44) The ADC 212 arranged to receive electrical energy having a voltage V.sub.i from a main AC or from a DC source. The V.sub.i together with any current preset signal DIM is digitalized by the ADC. If a high voltage is detected (e.g. above 280 V) the value will be divided by a resistor divider. The digitalization is used to: 1) synchronize the ideal voltage waveform to the input voltage V.sub.i; 2) compute V.sub.OUT value using the mathematical expression
V.sub.OUT=V.sub.i*T.sub.ON/T.sub.OFF (5)
(45) The memory unit 214 comprises storage of ideal voltage waveforms that could be sine, triangular, polynomial or others. These could be embedded during fabrication process, or could be loaded from any external device (not shown).
(46) The memory unit 214 may comprise a configuration register for allowing a user/programmer to preset different modes of operation. For example, the DIM value may be adjusted digitally, the waveform shape may be selected, and operation parameters such as internal error condition and measured value may be checked and/or obtained.
(47) The digital interface 216 provides one or more user interface allowing the loading of ideal voltage waveform(s) from an external device and to configure and check modes and measured values.
(48) This waveform selector 218 facilitates the selection of suitable ideal waveform based on the input voltage V.sub.i. This selection could be done using digital interface 216 or could be done automatically by the synchronization unit 226. The digital measurement unit 220 is arranged to measure the time parameters T, T.sub.ON and T.sub.OFF. It is electrically connected to a first comparator 203 to receive a output resultant of V.sub.h and V.sub.fb as inputs, where Vf.sub.b is the voltage across a feedback resistor 207 at one end of the feedback resistor 207 connected to the source of the electronic switch 204, the other end of the feedback resistor 207 is connected to ground. The feedback resistor 207 has a resistance value of R.sub.fb.
(49) The digital measurement unit 220 is also connected to a second comparator 205. The second comparator 205 is connected to check the discharge time of the inductive element 206. One of the input terminal of the second comparator 205 is arranged to tap the source input voltage V.sub.i, another input terminal of the second comparator 205 is arranged to tap the voltage at the drain of the switch 204. This is used for measuring T.sub.OFF.
(50) The reference voltage generator 222 comprises a digital to analog convertor operable to convert the ideal voltage waveform to an analog waveform.
(51) The internal algorithm unit 224 receives parameters from other units and produces calculations based on equations (1) to (5).
(52) The synchronization unit 226 is operable to synchronize the ideal voltage waveform stored in the memory unit 214 to the input AC waveform V.sub.i. It uses a threshold level, for example V.sub.i/4 to trigger the waveform as illustrated in
(53) With reference to
(54) The method 300 of selecting and synchronizing an applicable ideal waveform from the LUT in operation is detailed as follows. It is to be appreciated that before an ideal waveform is selected from the LUT or memory device 106, the device 100 operates in a transient state.
(55) The process commence once the electricity mains (e.g. AC supply) is switched on (step s302) and electricity flows to device 100, 200. Electricity may pass through the rectifier module 102 and input voltage V.sub.i is sensed by a sense circuit which may be in the form of a sense resistor circuit. The sense circuit may comprise a potentiometer, a potential divider, a feedback resistor or a combination of any of the aforementioned elements having resistance R.sub.fb.
(56) The sensed input voltage V.sub.i is divided by a predetermined number according to the input voltage range of the ADC. In some embodiments, the predetermined number is 4 (step s304). It is to be appreciated that the predetermined number may be any integer and may preferably be an even integer.
(57) Once determined, the V.sub.i/4 is used as a trigger to synchronize the ideal voltage waveform with V.sub.i.
(58) The electronic switch is activated (step s306) and the time taken from the input voltage V.sub.i to rise from 0 to V.sub.1 (see
(59) After the time T.sub.1 between the zero crossing (V.sub.i=0) to V.sub.1 (rising) is obtained and time T.sub.2 from V.sub.1 (falling) to zero crossing (V.sub.i=0) is obtained, a predetermined number of cycles (for example 4 cycles of T.sub.1 and T.sub.2) are counted (step s310). At the zero crossing after the four (4) cycles, the ideal waveform from the LUT is activated and the device now switches (step s312) to a steady-state using the selected ideal waveform as V.sub.h. The steady-state control algorithm for providing the regulated current based on equations (1) to (4) is activated to control the electronic switch (step s314).
(60) In the event where the voltage V.sub.i does not drop to zero after the multiple of cycles, a DC waveform is selected.
(61) The selected ideal voltage waveform can be multiplied digitally by some constant to adjust the output current I.sub.OUT. Then it is converted to analog by the reference voltage generator 222.
(62) The selected ideal AC waveform may comprise one or more of the following: a sine waveform, a square of a sine waveform, a polynomial function waveform. The polynomial function waveform may be a quadratic function waveform.
(63) In some embodiments, if the device 100 is deployed as a boost converter configuration, a sine waveform is selected. If the device 100 is deployed as a flyback converter configuration, a square of a sine waveform is selected.
(64) In some embodiments, the electronic controller may comprise an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA).
(65) In some embodiments, where the electronic switch is a MOSFET, the gate of the MOSFET may be connected to the output of the electronic controller 104 to provide the necessary switch on time T.sub.ON to switch the electronic switch 108. The drain of the electronic switch 108 may be connected to the inductive element 110, and the source of the electronic switch 108 may be connected to electrical ground via feedback resistor.
(66)
(67)
(68)
(69) It is appreciable that the device 100, or part thereof, may be implemented in a form of one or more integrated circuit chips (IC chips). In some embodiments, the whole device 100 may be an IC chip.
(70) It is to be appreciated by the person skilled in the art that variations and combinations of features described above, not being alternatives or substitutes, may be combined to form yet further embodiments falling within the intended scope of the invention.