The present invention relates to an integrated device and method for driving lighting loads, for example LEDs, with a brightness compensation.
As is known, LEDs are more and more used in lightening devices (lamps) in increasing fields, due to their advantageous characteristics as to costs, dimensions, duration, directionality and electrical efficiency, so that the LED lamp market is projected to grow by more than ten-fold over the next decade.
LED based lamps are used both stand-alone and included in more complex systems. In the latter case, often a controller is configured to manage the operation of a number of different loads. For example, in the automotive field, control of the switching of the LEDs and their functionality is generally included in a system. The system includes a microcontroller and at least one drive device that are formed in different chips for controlling a number of functions, including, e.g., mirror adjustment, lock control, direction indicator, various lightening functions.
An example of such a system is shown in
The drive device 3 generally includes an interface, logic and diagnostic unit 10 coupled to the first plurality of I/O pins 3A for communication/data exchange with the microcontroller 1. The interface, logic and diagnostic unit 10 is also coupled, through respective driver elements 8, to the second plurality of drive I/O pins 3B and, through respective power devices 11, e.g. high-side MOS transistors, to the third plurality of I/O pins 3C. A supply voltage VB is fed to the blocks of the drive device 3, including the interface, logic and diagnostic unit 10, the driver elements 7 and the power devices 11.
With the architecture of
To this end, generally, the power devices 11 are supplied according to a standard duty-cycle, in case adapted to the specific type and number of LED elements 7, as stored in the interface, logic and diagnostic unit 10.
In many applications, it is desired to maintain a constant light brightness when the LED elements are on. Brightness of current LEDs depends on a number of parameters, including actual supply voltage level. However, in particular in automotive applications, supply voltage is not generally constant. In fact, in the automotive field, numerous voltage transients may occur on the supply voltage VB, both negative and positive caused, for example, by start of a vehicle engine, which may cause a drop of the supply voltage VB to a half of its nominal value (e.g., from 12 V to 6 V), and switching on/off of heavy inductive loads, such as window opening motors. Therefore, in case of varying supply voltage, brightness is not constant, and flickering may occur, which is undesired.
To avoid this nuisance, the microcontroller 1 may modify the standard duty-cycle of each of the LED groups 5 so as to maintain a constant brightness in case of varying supply voltage. In particular, in presence of supply voltage variations, the microcontroller 1 may calculate correction factors of the LED duty-cycle and send suitable control signals to the drive device 3.
With the above approach, a direct drive input from the microcontroller 1 to each LED group 5 would be necessary; therefore, both on the microcontroller 1 and on the drive device 3 a plurality of dedicated pins would be needed. This would entail an increase of the number of pins which is often not possible and, in any case, undesired.
Even when the existing lines 2 are capable to manage the brightness correction signals, e.g. by being implemented as an SPI bus, the frequent variations of the supply voltage would cause a high signal traffic on the lines 2, which is disadvantageous.
In addition, a high job load for the microcontroller 1 is generated, which may be problematic on account of the further control functions carried out by the microcontroller 1.
Moreover, since in standard systems the communication speed on the Serial Peripheral Interface bus implementing the lines 2 and relevant interfaces in the microcontroller 1 and in the drive device 3 is limited, frequent duty-cycle adjustment may be not always possible in real time, preventing maintaining the desired constant brightness.
Furthermore, since control signal are associated with electro-magnetic emissions, a high traffic due to frequent duty-cycle adjustment may generate a high EMC noise, which is undesired.
Another solution may reside in measuring and controlling the current flowing in the LED groups. However, this solution would involve a high power dissipation inside the power drive device.
Embodiments of the invention provide a brightness compensation overcoming prior art disadvantages.
According to the present invention, there are provided an integrated device and method for driving LEDs with a brightness compensation.
For the understanding of the present invention, preferred embodiments are now described, purely as a non-limitative example, with reference to the enclosed drawings, wherein:
Hereinbelow, implementations will be described of a brightness control device integrating driving functions of LEDs. The same solution may be however applied to other lighting loads, that may require a brightness adaptation based on the actual supply voltage.
An exemplary brightness control device here described adjusts the duty-cycle based on the actual supply voltage and the characteristics of the LEDs, including the number of LEDs in each LED group and therefore the forward voltage of the LED groups, according to the following law:
wherein DCC is the compensated duty-cycle, DCn is the standard, nominal duty-cycle, set at a nominal supply voltage VTH, VB is the actual supply voltage, subject to instant variation, and VLED is the forward voltage of a respective LED group (sum of the voltage drops on all the series-connected LED elements forming a LED group, as below described). Of course, when the supply voltage VB is at the nominal value VTH (no voltage affecting event, such as ignition, actuation of an electrical load and so on, occurs), the correction factor k is equal to 1 and the compensated duty-cycle DCC is equal to the standard duty-cycle DCn.
Brightness control device 20 is coupled to a driver unit 29 including a plurality of LED drivers 30, each LED driver 30 in turn coupled to an own LED group 31. E.g., ten LED groups 31 may be provided, each group comprising a plurality of series-connected LED elements 32, e.g., ten, and a resistor 33.
Brightness control device 20 comprises a processing unit 21 for performing a brightness control algorithm, e.g. a state machine implemented as hardwired logic; a first register unit 22, for storing the nominal duty-cycle DCn; a second register unit 23, for storing LED characteristics, including forward voltage VLED; a third register unit 24, for storing compensated duty-cycle DCC; and an ADC converter 25, the first, second and third register units 22-24 and the ADC converter 25 being coupled to the processing unit 21.
In the embodiment of
To this end, first register unit 22 comprises a plurality of nominal duty-cycle registers 36, each one associated to an own LED group 31, coupled to input lines 35. Input lines 35 may be, e.g., implemented by an SPI bus. Each nominal duty-cycle register 36 of the first register unit 22 may store the respective standard duty-cycle DCn with a ten bit accuracy; the standard duty-cycle DCn being set at a nominal supply voltage, e.g., at 10 V, and loaded from the outside through the input lines 35. At each adjustment cycle, as described in more detail below with reference to
Second register unit 23 comprises a plurality of LED characteristics registers 37, each one associated to an own LED group 31, and a plurality of adjustment activation memory elements 38, each one associated to an own LED group 31. The register 37 and memory elements 38 of the second register unit 23 are also coupled to the input lines 35 and to the processing unit 21. Each characteristics register 37 may store the respective LED forward voltage VLED with a ten bit accuracy, as received from the outside, e.g. set in an initial setting step of the apparatus including the brightness control device 20. Each adjustment activation memory element 38 may store a single activation bit for each LED group 31, each bit being indicative of whether brightness of the respective LED group 31 is to be compensated for supply voltage.
Third register unit 24 comprises a plurality of compensated duty-cycle registers 40, each one associated to an own LED group 31 and coupled to an own LED driver 30. Each compensated duty-cycle register 40 of the third register unit 24 may store the respective compensated duty-cycle DCC with a ten bit accuracy as computed by the processing unit 21 at each adjustment cycle, as described in more detail below with reference to
The ADC converter 25 is a voltage measuring element coupled to a supply voltage VB and generates a digital value VS fed to the processing unit 21 to allow calculation of the compensated duty-cycle DCC at each cycle, based on the actual supply voltage, as described in more detail below with reference to
The electrical load control system 100 comprises a power drive device 101, a microcontroller 102, LED groups 31 and other loads 104, such as mirror adjustment motors, lock control motors, direction indicator, other lightening elements.
The microcontroller 102 has a plurality of controller I/O pins 102A coupled, through a number of respective connection lines 105, e.g. implemented by a Serial Peripheral Interface bus, to power drive device 101.
Power drive device 101 may include the brightness control device 20 of
The power drive device 101 thus has a first plurality of drive I/O pins 101A coupled with the connection lines 105, the logic and diagnostic unit 106 and the brightness control device 20; a second plurality of drive I/O pins 101B coupled with the other loads 104, and a third plurality of drive I/O pins 101C coupled with the driver unit 29 and the plurality of LED groups 31.
Similar to
The logic and diagnostic unit 106 is coupled with the other drivers 108 to control operation of the other loads 104.
The brightness control device 20 is may operate as below described with reference to
In a setting phase (not shown), the first register units 22 are loaded with the nominal duty-cycle DCn_i for each of the LED groups 31 and the second register units 23 are loaded with the LED forward voltage VLED_i for each of the LED groups 31. In addition, if provided, the second register units 23 may be loaded with the single activation bit, for each of the LED groups 31. The nominal supply voltage VTH is also stored in the brightness control device 20.
In operation, at each compensation cycle, initially the processing unit 21 reads the digital value VS of actual supply voltage at the output of ADC converter 25, step 200. Then, step 202, a LED group counter i is initialized to 1 and, step 204, the processing unit 21 checks whether adjusting is set for the specific i-th LED group 31, by reading the content of the relevant adjustment activation memory element 38.
If so (output Y from step 204), the nominal duty-cycle DCn_i and LED forward voltage VLED-i in the first and second registers 22, 23 for the respective LED group 31_i are read, step 206, and the present, compensated duty-cycle DCC_i for the i-th LED group is calculated, using the above equation (1), and then stored in the respective third register unit 24, step 208.
If no adjusting is set for the specific LED group 31 (output N from step 204), the present duty-cycle DCC_i is set to be the nominal duty-cycle DCn_i, step 214.
Then, in both cases, step 210, the LED group counter i is incremented and, step 212, it is verified whether the present duty-cycle DCC-i has been determined for each LED group 31. If no, output N from step 212, the processing unit 21 returns to step 204 to check whether adjusting is set for the subsequent LED group 31; if yes, output Y from step 212, the processing unit 21 returns to step 200.
The values of the present (compensated) duty-cycle DCC_i loaded in the third register unit 24 are then used for driving the LED groups 31.
The advantages of the present device and method are clear from the above. In particular, it is underlined that the present brightness control device and method achieves a real-time adjustment of the brightness, without receiving control signals from an external microprocessor and without involving relevant signal traffic on the first plurality of drive I/O pins 101A. Thus, the job load for an external microprocessor is minimized; the traffic, in particular timing, on the connection lines (e.g. SPI bus) 31, 105 is minimized; no current sensing elements are needed.
The solution is very flexible as the algorithm is located in the brightness control device 20 and the parameter (nominal duty-cycle, forward voltage of the LEDs) are programmable. Therefore, any type of LEDs may be used, independently from their characteristics, number of series-connected elements, and so on. The above applies also to any future generations thereof, whose characteristic are not yet known. In addition, the brightness control device 20 may operate at supply voltages that are different from the nominal one VTH.
The nominal duty-cycle, e.g., its time-variation including any increasing or decreasing ramps, may be programmed through the connections lines (e.g. SPI bus) 31, 105, thus allowing very high flexibility in brightness.
A high number of LED groups may be compensated in real time without direct drive inputs.
The present brightness control device has a low power dissipation, much lower than the solution based on the measure of the current in the loads.
Finally, it is clear that numerous variations and modifications may be made to device and method described and illustrated herein, all falling within the scope of the invention as defined in the attached claims.
For example, in case the nominal duty-cycle is same for all LED groups, a single register may be provided in the first register unit 22. Analogously, activation/deactivation of the LED groups may be set for all LED groups, thus using a single adjustment activation memory element 38 for all LED groups.
Number | Date | Country | Kind |
---|---|---|---|
102015000087426 | Dec 2015 | IT | national |
This application is a divisional of U.S. patent application Ser. No. 15/216,561, filed on Jul. 21, 2016, which claims priority to Italian Patent Application No. 102015000087426, filed on Dec. 23, 2015, which applications are hereby incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 15216561 | Jul 2016 | US |
Child | 16446114 | US |