POWER REGULATION FOR LIGHTING USING NFC
20200313727 · 2020-10-01
Inventors
- Doris KEITEL-SCHULZ (Hoehenkirchen, DE)
- Renate Angelika MUEHLBAUER (München, DE)
- Matthias Schneider (Kirchheim, DE)
- Qi ZHU (Munchen, DE)
- Dieter Zipprick (Huellhorst, DE)
Cpc classification
H05B45/24
ELECTRICITY
H02J50/80
ELECTRICITY
International classification
H04B5/00
ELECTRICITY
H02J50/80
ELECTRICITY
H05B45/24
ELECTRICITY
Abstract
According to one embodiment a circuit comprises a supply pin configured to receive a supply voltage, a non-volatile memory for storing one or more parameters, and a Near Field Communication (NFC) transceiver that is configured to receive data representing the one or more parameters. The circuit is configured to deactivate the NFC transceiver in response to receiving the supply voltage at the supply pin.
Claims
1. A circuit comprising: a supply pin configured to receive a supply voltage (V.sub.CC); a non-volatile memory (54) for storing one or more parameters; a Near Field Communication, NFC, transceiver (53) which is configured to receive data representing the one or more parameters; wherein the circuit is configured to deactivate the NFC transceiver (53) in response to receiving the supply voltage (V.sub.CC) at the supply pin.
2. The circuit of claim 1, further comprising: a modulator (55) configured to generate a modulated output signal (V.sub.PWM), which depends on at least one of the one or more parameters stored in the non-volatile memory (54).
3. The circuit of claim 1, further comprising: an analog-to-digital converter (52) configured to receive and digitize a first signal (V.sub.IN) and a second signal (V.sub.S);
4. The circuit of claim 3, further comprising: a modulator (55) configured to generate a modulated output signal (V.sub.PWM), which depends on at least one of the one or more parameters stored in the non-volatile memory (54) as well as on the first signal (V.sub.IN) and the second signal (V.sub.S).
5. The circuit of any of claims 1 to 4, further comprising: a control logic (51) configured to operate: in a first mode, when the supply voltage (V.sub.CC) is received at the supply pin, and in a second mode, when no supply voltage (V.sub.CC) is received at the supply pin and a further supply voltage (V.sub.NFC) is generated by the NFC transceiver (53).
6. The circuit of claim 5, wherein the NFC transceiver (53) is operably coupled to an NFC antenna (4) and configured to generate the further supply voltage (V.sub.NFC) from an active NFC field received by the NFC antenna (4).
7. The circuit of claim 5, if dependent on claim 4, wherein the first signal (V.sub.IN) is indicative of a voltage provided to a load and the second signal (V.sub.S) is indicative of a load current (i.sub.OUT) passing through the load; wherein the control logic (51) is configured to determine a value indicative of the electric power from the digitized first signal (V.sub.IN) and the digitized second signal (V.sub.S); and wherein, in the first mode, the modulated output signal (V.sub.PWM) has a duty cycle depending on at least one of the one or more parameters stored in the non-volatile memory (54) and the determined value indicative of the electric power.
8. The circuit of any of claims 1 to 7, further comprising: a power management unit, PMU, (50) coupled to the supply pin and configured to detect, whether, or not, the supply voltage (V.sub.CC) is received at the supply pin.
9. The circuit of claim 8, wherein the PMU (50) is further configured to generate a signal (MODE) that causes the NFC transceiver (53) to be deactivated when the PMU (50) detects that the supply voltage (V.sub.CC) is not received at the supply pin.
10. The circuit claim 5 further comprising: a fuse bit circuit, wherein the circuit is configured to deactivate the NFC transceiver (53) in response to the state of the fuse bit circuit; the state of the fuse bit circuit being indicative of whether, or not, the one or more parameters have been previously stored in the non-volatile memory (54) while operating in the second mode.
11. A system including: a lighting device (20) including at least one light emitting diode; a driver circuit (10) connected to the lighting device (20) and configured to provide a load current (i.sub.OUT) to the lighting device (20) that is regulated in accordance with a set-point value, which is determined by a set signal (V.sub.SET) received at an input pin (SET) of the driver circuit (10); a circuit (5) according to any of claims 1 to 4 if dependent on claim 2, wherein the modulated output signal (V.sub.PWM) is indicative of the set-point value and wherein the set signal (V.sub.SET) is determined by the modulated output signal (V.sub.PWM).
12. The system of claim 11, further comprising: a low-pass filter (R.sub.1, C.sub.1) coupled between the circuit (5) and the driver circuit (10) and configured to receive the modulated output signal (V.sub.PWM) and to generate therefrom the set signal (V.sub.SET).
13. A method for operating a circuit, which comprises a supply pin, a non-volatile memory (54), and a Near Field Communication (NFC) transceiver (53), the method comprising: in a second mode of operation, in which no supply voltage (V.sub.CC) is received at the supply pin: receiving, by the NFC transceiver (53), data representing one or more parameters and storing the one or more parameters in the non-volatile memory; in a first mode of operation, in which the supply voltage (V.sub.CC) is received at the supply pin: deactivating the NFC transceiver (53).
14. The method of claim 13, further comprising: in the first mode of operation, generating a modulated output signal (V.sub.PWM) dependent on at least one of the one or more parameters stored in the non-volatile memory.
15. The method of claim 14, wherein the modulated output signal (V.sub.PWM) represents a current set-point used by a current regulator of a LED driver (10), which provides a regulated output current to a LED device (20).
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The invention can be better understood with reference to the following drawings and descriptions. The components in the figures are not necessarily to scale; instead emphasis is placed upon illustrating the principles of the invention. Moreover, in the figures, like reference numerals designate corresponding parts. In the drawings:
[0008]
[0009]
[0010]
[0011]
DETAILED DESCRIPTION
[0012]
[0013] In the example of
[0014] Particularly when using an integrated driver circuit, the customer/user needs to have the possibility to set the mentioned set-point that is used for load current regulation. In the example of
[0015] Using a discrete resistor R.sub.SET connected to an integrated LED driver circuit allows configuration of the mentioned set-point used for current regulation. However, such a solution increases the bill of material and, even more important, provides little flexibility as different LED devices 20 will usually require different resistors for selecting different set-points. If further parameters (in addition to the set-point) such as the above-mentioned maximum power are to be selected using external components, the complexity and related costs will increase even further.
[0016] Another known approach consists in the use of a programmable microcontroller for generating the voltage V.sub.SET, which determines the set-point for load current regulation. A microcontroller may use analog-to-digital converters (included in common standard microcontrollers) to obtain measured values representing the input voltage V.sub.IN and the load current i.sub.OUT, wherein a digital-to-analog converter may be used to generate the desired voltage V.sub.SET, which may be adjusted, for example, dependent on an electrical power value calculated by the microcontroller based on the above-mentioned measured values. Although using microcontrollers may somewhat improve flexibility, there is still the need to set the load current set-point, e.g. by programming it into a non-volatile memory (NVM) of the microcontroller, e.g. using a wired in-system programming (ISP) interface at the end of production of each individual product. Furthermore, the approach of using a microcontroller entails significant costs for a microcontroller which will, in most cases, have a performance capability that is far too high for an application as simple as the present one.
[0017]
[0018] The control circuit 5 is configured to provide, at output terminal D.sub.OUT (digital output), an output voltage V.sub.PWM that is indicative of the set-point, which is used by the LED driver circuit for the purpose of output current regulation. In the present example, the output voltage V.sub.PWM is a pulse-width modulated (PWM) signal that is converted to an analog voltage V.sub.SET using, for example, a low pass. Dependent on the application, a simple R-C low-pass composed of one resistor R.sub.1 and one capacitor C.sub.1 may be sufficient to generate the voltage V.sub.SET from the PWM signal. The resistor R.sub.1 and the capacitor C.sub.1 may be integrated into the control circuit 5 or connected externally to an integrated circuit (IC). It is understood that pulse-width modulation is merely one example and other types of modulation, such as sigma-delta modulation, may be employed instead. In essence, the low-pass may be regarded as an digital-to-analog converter that is configured to convert the (binary) PWM signal into the analog voltage V.sub.SET. It is understood that other approaches for digital-to-analog conversion may be used instead.
[0019] In the present example, the control circuit 5 has two analog inputs AIN1 and AIN2, which receive the input voltage V.sub.IN and the voltage V.sub.S at the common circuit node of shunt resistor R.sub.S and LED device 20. In this example, the voltage V.sub.S equals V.sub.INR.sub.S.Math.i.sub.OUT, and the control circuit can determine the load current according to the equation i.sub.OUT=(V.sub.INV.sub.S)/R.sub.S. The control circuit 5 may include an analog-to-digital converter to digitize the voltages V.sub.IN and V.sub.S; in this case the control circuit 5 can regularly digitally calculate the load current value and adjust the set-point in accordance with a given control characteristic. As mentioned, in the present example the set-point information is output as the PWM signal V.sub.PWM.
[0020] In order to make the programming of parameters such as the nominal set-point used for load current regulation easier and more flexible, the control circuit may include a Near Field Communication (NFC) transceiver circuit as well as an NFC antenna 4 connected thereto. At the end of production (or at any time during the production process of the control circuit or the lighting module), the nominal set-point and other parameters can be easily programmed using an NFC coupling device (e.g. an NFC writer) that is configured to transmit the information about the parameters to the NFC transceiver circuit included in the control circuit 5, which then stores the received information, e.g., in a non-volatile memory (NVM) that may be integrated in the control circuit 5. It is understood that the mentioned nominal set-point and other parameters are customer or application specific and chosen for a specific application, e.g. a specific lighting module with a specific LED device.
[0021]
[0022] The power management unit 50 receives, at respective supply pins, a first supply voltage V.sub.CC (e.g. 5 volts) and a reference potential V.sub.GND, e.g. ground potential. Alternatively to the supply voltage V.sub.CC, the PMU may receive a supply voltage V.sub.NFC from the NFC transceiver 53 when the NFC transceiver 53 receives energy from an external NFC coupling device (not shown) via NFC antenna 4. However, the NFC transceiver 53 and its functions will be discussed in more detail later. Although not all supply lines are explicitly shown in
[0023] The analog-to-digital converter (ADC) 52 receives, at respective analog input pins (see
[0024] The control logic 51 is configured to control the operation of the control circuit 5 and particularly the signal flow within the control circuit 5. The NVM 54 and the ALU 56 are connected to the control logic 51, which is configured to determine (with the help of the ALU 56) the set-point to be used for current regulation based on the parameters (e.g. the nominal set-point value) stored in the NVM 54 and the sampled values received from the ADC 52. The control logic 51 is further configured to provide the set-point information (e.g. in the form of a digital word) to the modulator 55. The modulator 55 is configured to output, e.g. at a digital output pin D.sub.OUT, a PWM signal V.sub.OUT which has a duty cycle that represents the set-point information. If, for example, the input voltage V.sub.IN increases to such an extent that the total electrical power (input voltage V.sub.IN times load current i.sub.OUT, see
[0025] As mentioned, parameters such as a nominal current set-point can be received by the NFC transceiver 53 from an external NFC coupling device (not shown in the figures) and stored in the NVM 54. In one embodiment the control circuit 5, and particularly the control logic 51 included therein, is configured to operate in two different modes. The first mode, which may be referred to as programming mode, is characterized in that the control circuit 5 is not supplied with the supply voltage V.sub.CC at the respective supply pin but rather receives electrical power from an active NFC field generated by an external NFC device. In this first mode, the NFC transceiver will generate a supply voltage V.sub.NFC which can be distributed to the control logic 51 and the NVM 54 (e.g. via the PMU 50) in order to allow storing the parameters received from the NFC coupling device via the NFC communication channel in the NVM 54. The second mode, which may be referred to as normal mode of operation, is characterized in that the control circuit 5 is supplied with the supply voltage V.sub.CC at the respective supply pin. In the second mode, the NFC transceiver is disabled, e.g. by receiving a respective mode signal (disable signal) from the PMU 50 in response to the PMU 50 detecting the presence of the supply voltage VCC at the supply pin. Alternatively, the disable signal may be generated by the control logic 51 or other circuitry included in the control circuit 5. The NFC transceiver 53 being disabled means that the NFC transceiver 53 can neither generate an NFC field nor transmit any RF signals via the antenna 4.
[0026] Disabling the NFC transceiver 53 may be achieved in various ways. For example, an electronic switch may be used to prevent the NFC transceiver 53 from generating the supply voltage V.sub.NFC from an externally generated (e.g. by an NFC coupling device) NFC field. The electronic switch (e.g. a depletion MOS transistor), may for example disconnect or short circuit a capacitor, which is used to buffer the voltage V.sub.NFC when the supply voltage V.sub.CC is present at the respective supply pin. Alternatively, an electronic switch may be used, for example, to disconnect the NFC antenna 4 or otherwise disable the NFC antenna 4 (e.g. by short-circuiting the two antenna terminals using an electronic switch).
[0027] In one specific embodiment, the NFC transceiver 53 may be permanently deactivated once a parameter set has been successfully received via the NFC communication channel and stored in the NVM 54. This permanent deactivation may be achieved in various ways. For example, the NFC transceiver may include an electrically programmable fuse bit which is set once a parameter set has been successfully received and stored. Based on the state of the fuse bit, the NFC transceiver 53 may be deactivated in a similar manner as described above.
[0028] Ensuring that the NFC transceiver is inactive during the normal mode of operation, i.e. when the control circuit 5 is supplied with the supply voltage V.sub.CC, has the advantage that the chip including the control circuit 5 will not be regarded as an RF device in various legislations. As a consequence, certification of the RF device will not be required in these legislations. Furthermore, it can be ensured that the RF circuits included in the NFC transceivers will not cause any electromagnetic interferences (EMI) and related disturbances in other electronic components or devices.
[0029] It should be noted that the control logic 51 as well as the ALU 56 (which may also be regarded as part of the control logic 51) are composed of hard-wired circuit components and do not require software. In other words, the control logic 51 does not include a processor configured to execute software instructions. Furthermore, the control circuit 51, the PMU 50, the ADC 52 as well as the NFC transceiver 53 are integrated in a single chip or a single chip package. Integration in a common chip allows for a comparably simple deactivation of the NFC transceiver 53 when the supply voltage V.sub.CC is received at the respective supply pin normal mode of operation).
[0030]
[0031] Although the invention has been illustrated and described with respect to one or more implementations, alterations and/or modifications may be made to the illustrated examples without departing from the spirit and scope of the appended claims. In particular regard to the various functions performed by the above described components or structures (units, assemblies, devices, circuits, systems, etc.), the terms (including a reference to a means) used to describe such components are intended to correspondunless otherwise indicatedto any component or structure, which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure, which performs the function in the herein illustrated exemplary implementations of the invention.