CONTROL CIRCUIT AND TECHNIQUES FOR CONTROLLING AN LED ARRAY
Patent Information
- Application Number
- DE102019112006
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-05-16
- Filing Date
- 2019-05-08
- Publication Date
- 2024-10-17
- Estimated Expiration
- 2039-05-08
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
This disclosure relates to LED control circuits. Light-emitting diode (LED) arrays can be used for lighting in a wide variety of applications, including automotive, indoor living and working spaces, outdoor lighting, and similar applications. An LED array may also be referred to as an LED matrix. Some examples of LED lighting systems include features such as individual control of multiple LEDs, which can include dimming and changing colors to achieve a desired lighting output. This disclosure is generally directed to devices and techniques for individually controlling multiple light-emitting diodes (LEDs) in an LED array. An LED array may include multiple strings of LEDs, where each string may include a single LED or multiple LEDs. The techniques of this disclosure include a parallel approach to controlling an LED array with a current sensing circuit for each LED string. The current sensing circuits for each LED string may be selectable by a controller via a multiplexer (MUX). The arrangement of switching elements in the techniques of this disclosure provides an initialization phase and an operation phase for the LED array, which may have advantages over other examples of LED array control circuits.For example, the techniques of this disclosure can achieve a precise and substantially equal current across all LEDs to ensure homogeneous light output, and can adjust the current to compensate for device process and manufacturing variability, as well as changes in operating conditions. An LED control circuit of this disclosure can incorporate system safety features, including temperature sensing and overvoltage and overcurrent detection and protection. US 2007 / 0 195 025 A1 describes a control circuit for controlling several LED strings, each LED string being connected in series to a transistor which is controlled by a current limiter in order to set the current through the respective LED string to a predetermined value. One embodiment of the invention relates to an LED array control circuit according to claim 1. Further embodiments relate to a method according to claim 9 and a system according to claim 12. The details of one or more examples of the disclosure are set forth in the accompanying drawings and description below. Other features, objects, and advantages of the disclosure will be apparent from the description and drawings, and from the claims. Fig. 1 is a block diagram illustrating an overview of an example system for controlling a light-emitting diode (LED) array according to one or more techniques of this disclosure. Fig. 2 is a block diagram illustrating an example system for controlling an LED array that includes an integrated multi-channel high-side switch with digital communication circuitry. Fig. 3 is a block diagram illustrating an example system for controlling an LED array that includes an integrated multi-channel high-side switch driven via individual input pins for each LED string. Fig.Figure 4 is a block diagram illustrating an example integrated multi-channel high-side switch circuit with digital communication circuitry. Figure 5 is a block diagram illustrating an integrated multi-channel high-side switch circuit driven via individual input pins for each LED string. Figure 6 is a flowchart illustrating an example technique for an initialization phase of a system for controlling an LED array according to one or more techniques of this disclosure. Figure 7 is a flowchart illustrating an example technique for an operation phase of a system for controlling an LED array according to one or more techniques of this disclosure. This disclosure is directed to devices and methods for individually controlling multiple light-emitting diodes (LEDs) in an LED array. An LED array may include multiple strings of LEDs, where each string includes a single LED or multiple LEDs. The techniques of this disclosure include a parallel approach to controlling an LED array with current sensing circuitry for each LED string. An LED string may also be referred to as an LED branch. The current sensing circuits for each LED string may be selectable with a controller via a multiplexer (MUX). A controller may include processing circuitry such as a microprocessor or a microcontroller (µC). The arrangement of circuit elements in the techniques of this disclosure provides an initialization phase and an operating phase for the LED array, which may have advantages over other examples of LED array control circuits. For example, the techniques of this disclosure can achieve a precise and substantially equal current across all LEDs to ensure a homogeneous light output. The LED array control circuit of this disclosure can address various challenges in LED array control. For example, because LED arrays can be subject to process and manufacturing variability, paralleling the LEDs of the LED array and simply connecting them to a common voltage source can result in unequal current in the parallel branches and inhomogeneous light output. Furthermore, LED arrays can operate under fluctuating conditions, such as temperature changes. In contrast, the techniques of this disclosure may provide advantages over other LED control circuit examples, such as improved current readback for each LED string and system protection in the event of component failure or other problems. A current sensing circuit is included for each channel of the LED array control circuit that controls an LED string. The current sensing circuit output may be sent to a controller via a MUX, which may reduce the complexity and duration of the initialization phase compared to other examples. Additionally, the current sensing circuit allows for continuous monitoring of activated LEDs, enabling much better diagnostic coverage and system protection (e.g., against short circuits), as well as compensation for temperature effects on the LEDs. In some examples, the LED control circuit of this disclosure may detect temperature effects by repeatedly reading the current per branch.The LED control circuit can adjust the supply voltage and / or the duty cycle of the switches that control the current to each LED string. In some examples, the LED control circuit can also include a temperature sensor for the switches that control the LED array. An LED control circuit can also be referred to as an LED array control circuit. Figure 1 is a block diagram illustrating an overview of an example system for controlling an LED array according to one or more techniques of this disclosure. System 100 may include processing circuitry 120 in communication with LED array control circuitry 110 and a power supply 130. The LED array control circuit 110 can be adapted to a wide variety of LED control applications. For example, the LED array control circuit 110 can include both an input for digital communication with the processing circuit 120 and inputs for direct control of the LED array by the processing circuit 120 via a communication path 122. The LED array control circuit 110 can include N outputs (OUT0 - OUT-N) for controlling up to N LED arrays 160. Each LED string in the LED array 160 can include one or more LEDs. In some examples, a single output, such as OUT3, can drive a single LED string. In other examples, multiple LED outputs can be used to drive a single LED string. For example, OUT6 can be shorted to OUT5, which can provide additional current to a specific LED string.In other examples, an output of LED array control circuit 110 may not be connected to any LEDs. In this disclosure, an LED string may also be referred to as an LED row or LED branch of LED array 160. Each respective output terminal OUT0 - OUT-N and switch M0 - MN of LED control circuit 110 may be referred to as a channel. For example, channel 0 may include switch M0 and output terminal OUT0 and drive one LED string of LED array 160. The circuitry for each output terminal OUTO - OUT-N of LED array control circuit 110 may include a switch configured to control the current for each respective output terminal and may operate independently of any other respective switches (not shown in Figure 1). In some examples, the respective switches may control the current using pulse width modulation (PWM), so the current to an LED string of LED array 160 may be described as an average current. Each output terminal may also include a current sensing element to individually measure the current for each respective output channel. The current sensing element in each LED branch may be selectable by processing circuitry 120 via a multiplexer (not shown in Fig. 1). Processing circuitry 120 may determine the respective current for each LED string of LED array 160 by selecting the current sensing element for that branch via communication path 122. The current sensing element may also be referred to as a current sensor. LED array control circuitry 110 may also include a current limiting circuit for each of the output terminals OUTO - OUT-N (not shown in Fig. 1). The LED control circuit 110 may also include one or more temperature sensing elements (not shown in Figure 1). In some examples, the LED array control circuit 110 may include a separate temperature sensor associated with each respective output terminal. In other examples, the LED array control circuit 110 may include a single temperature sensor for all output terminals or temperature sensors for a group of outputs. For example, OUT0 - OUT2 may be associated with a first temperature sensor, while OUT3 - OUT5 may be associated with a second temperature sensor. The processing circuit 120 can communicate with both the LED array control circuit 110 and the power supply 130 to send and receive signals that can contain both data and commands. In some examples, the processing circuit 120 can also receive signals from external sources, such as a temperature sensor that can provide an outside air temperature, or other types of sensors. Examples of the processing circuit 120 can include any type of processor circuit including one or more of a microprocessor, a controller, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a system on a chip (SoC), or an equivalent discrete or integrated logic circuit. A processor can be an integrated circuit, i.e.an integrated processing circuit, and this integrated processing circuit can be implemented as a fixed hardware processing circuit, a programmable processing circuit, or a combination of both a fixed and a programmable processing circuit. In the example of a vehicle, the processing circuit 120 can be an engine control unit (ECU), or it can be in signal communication with an ECU or other processors in the vehicle, e.g., a computer or a single integrated circuit containing a processor core, memory, and programmable input / output peripherals. The power supply 130 can provide electrical power to drive the LED strings of the LED array 160 in response to commands from the processing circuit 120. Commands from the processing circuit 120 can cause the power supply 130 to adjust the voltage level and / or current from the power supply 130 to the VS terminal to power the LED strings. The operating voltage at the VS terminal can also be referred to as the supply voltage. In some examples, the power supply 130 can also provide power to support the operation of the LED array control circuit 110 and the processing circuit 120. For example, the power supply 130 can provide power to the digital circuitry included in the processing circuit 120 and the LED array control circuit 110 (e.g., VDD).In other examples, support power for the processing circuitry 120 and the LED array control circuitry 110 may come from a separate power supply in the system 100 (not shown in FIG. 1). In some examples, power supply 130 may be considered a voltage regulator. In other examples, power supply 130 may include a voltage-mode DC-DC converter configured to output voltages based on commands from processing circuitry 120. In other examples, power supply 130 may include a linear regulator, a switched-mode power supply (SMPS), or other types of power supplies capable of providing a regulated output to LED array control circuitry 110. The system 100 with the LED array control circuit 110 can be used in applications such as controlling an LED array to turn on, off, or dim when a given event occurs. In the example of a vehicle, the processing circuit 120 can receive a signal that a turn signal indicator is flashing. The processing circuit 120 can cause the LED array control circuit 110 to dim or turn off an LED array near the turn signal to make the turn signal more visible. The processing circuit 120 can cause the LED array control circuit 110 to adjust the brightness of a headlight or interior light of a vehicle in response to a light sensor indicating sunrise, sunset, or entering a tunnel.In some examples, LED array control circuitry 110 may be used as an adaptive front beam for vehicles such as automobiles or motorcycles. In an alternative example of using the circuitry inside a building, processing circuitry 120 may receive an indication from a motion sensor or other type of sensor, and processing circuitry 120 may cause LED array control circuitry 110 to activate or deactivate one or more strands of LED array 160 in response to the indication. In other examples, processing circuitry 120 may dim one or more strings of an LED array by reducing the average current to the LED string, e.g., by causing LED array control circuitry 110 to change the PWM scheme. LED array control circuitry 110 may also control the overall brightness of LED array 160 either by changing the PWM scheme of some of the LED strings while leaving the PWM scheme of other LED strings unchanged. Similarly, to control overall brightness, LED array control circuitry 110 may turn off one or more LED strings while leaving other LED strings on. In other examples, LED array control circuitry 110 may change the output color of LED array 160 by individually controlling the brightness of one or more LED strings of LED array 160. For example, the LED string connected to OUT0 may be a first color, e.g., red, while the LED string connected to OUT3 may be a second color, e.g., blue. In operation, LED array control circuit 110 may have advantages over other types of LED control circuits. According to one example, the current sensing element in each LED branch, which may be selectable by processing circuit 120 via a multiplexer, may provide advantages during an initialization phase as well as during an operation phase. For example, the initialization phase may be less complex compared to other types of LED control circuits. Furthermore, the duration of the initialization phase may be tuned depending on the application and requirements, e.g., fast start-up, minimal power consumption, or other parameters. In one example, power supply 130 may be configured to start with a voltage low enough to ensure a current safely below the maximum ratings of the LEDs in LED array 160, then ramp the voltage up at a predetermined voltage slew rate. In the example of several white LEDs, the initial voltage may be approximately 2.5 V. During the ramp-up, LED array control circuitry 110 may measure the current in each LED string and output the current measurement to processing circuitry 120. Several or all LED strings may be activated simultaneously. In some examples, the voltage ramp-up portion of the initialization phase may stop when all branches have reached at least a predetermined target current.The voltage can therefore be defined by the output voltage of the output terminal that has the LED string with the highest forward voltage. The specified target current can be selected based on the application, e.g., interior lighting, headlights, or a similar application, which may include the types and number of LEDs in the LED array 160. The LED array control circuit 110 may be configured to individually control a duty cycle of the PWM scheme for each of the respective switches for each output terminal OUTO - OUT-N, such that an average current across all LED branches is approximately the same. In some examples, the LED array control circuit 110 may receive instructions to individually adjust the duty cycle for each output terminal, e.g., via digital messages on the communication path 122. In other examples, the processing circuit 120 may directly control a control circuit associated with each respective switch and output terminal to control the PWM scheme. During an operating phase, the LED array control circuit 110 can continuously test the active LED strings of the LED array 160, which can enable improved diagnostic detection and system protection (e.g., against short circuits). Similarly, individual control of the LED string allows compensation for temperature effects of the LEDs, which is desirable in some applications. As the temperature changes, the behavior of an LED may change, and therefore it may be necessary to adjust the voltage output by the power supply 130 and / or the duty cycle of the PWM scheme to compensate for the change in behavior. The temperature effects can be determined by repeatedly reading the current (average current) in each respective LED branch, allowing the processing circuit 120 to adjust the supply voltage and / or the duty cycle of the switches.In some examples, functions within the LED array control circuit 110 may also be configured to adjust the duty cycle of the switches to adjust the current level. In some examples, LED array control circuit 110 may include a variable or fixed resistor in each branch / output terminal to further control the current balance between the LED branches. A variable resistor may represent an example technique for reducing current spikes in the LED string with the lowest forward bias. Because the LED array control circuit of this disclosure includes current measurement in each LED branch and a multiplexer for outputting information, the LED array control circuit of this disclosure may have improved functionality and advantages compared to other types of LED control circuits. For example, one possible way to control individual LEDs, including dimming, is to place the LEDs in a chain and short each LED with a switch to make each individually controllable. Individual switches on a single chain may have the disadvantage of less control over the voltage and current for the individual chain. Another way to control individual LEDs is to connect LEDs in parallel and control each path with switches or linear current sources.Some examples that use the parallel approach with current sources for each LED string in combination with a voltage source may have low efficiency due to power losses in the current sources. Other examples of the parallel approach may include examples that include a voltage source and switches with a single current sensing element for the entire LED array. A single current sensing element may require complex initialization of the LED array system, such as initializing a first string, then shutting down the first string before initializing a second string, and so on. Additionally, a single current sensing element provides limited diagnostics during operation, such as system diagnostics, and the system may have a slow response time in the event of a short circuit in one of the LED strings. The limited diagnostics may also result in a forward voltage shift, which affects the current at a given voltage due to a temperature change of LEDs caused by activation or the environment.Some examples of LED control systems with limited diagnostics may not be able to monitor current or temperature during operation, but only during initialization. In contrast, the LED array control circuit 110 according to one or more techniques of this disclosure may provide a less complex and customizable initialization phase. Additionally, during the operation phase, the LED array control circuit 110 may provide continuous testing of active LEDs, better diagnostic sensing, and system protection against short circuits and overvoltage, as well as compensation for temperature effects of the LEDs. In the event of a short circuit or a high average current on an LED string, the current limiter may become active, protecting the system, for example, either by shutting down or by reducing the average current. In the case of an open load (e.g., an LED that is damaged or destroyed), the current is almost zero, which is why the individual current measurement for the LED string can detect the failure, enabling the system to report the short circuit and react accordingly.Some example reactions might include issuing an alarm or an alert, adjusting the current or voltage to compensate for the short circuit, or similar reactions. Therefore, a current limiter of this disclosure is different from limiting current, for example, with a resistor. In some examples, the heating of an individual LED or LED string may be detected by comparing the current and voltage at the regulator with the most recent current and voltage. As an LED heats at a constant current, the LED forward voltage may decrease. Similarly, as the temperature increases at a constant forward voltage, the LED current may also increase. By measuring an increased current (compared to the initial value), a temperature change may be detected, e.g., by processing circuitry 120. Fig. 2 is a block diagram illustrating an example system for controlling an LED array that includes an integrated multi-channel high-side switch with digital communication circuitry. System 200 includes more detailed examples of LED array control circuitry, power supply, and processor circuitry similar to the LED array control circuitry 110, power supply 130, and processing circuitry 120 described with reference to Fig. 1, and unless otherwise noted, they have the same features and advantages. The system 200 may include a microcontroller (µC) 220 in communication with an LED array control circuit 210 and a voltage regulator 230. As with the system 100, the system 200 may provide individual control of multiple LED strings in the LED array 260, including dimming. The system 200 may achieve a precise and equal current across all LEDs, which may ensure a homogeneous light output. Individually controlling the current in each LED string compensates for a variation in the forward voltage of the LEDs, which may be subject to manufacturing variation as well as temperature dependence. The techniques included in the system 200 may also avoid current and / or voltage overshoots during load changes and improve current accuracy compared to other types of LED control circuits.The System 200 follows the parallel approach described above for the System 100 and provides current readback for each LED as well as system protection. The microcontroller 220 may include an analog-to-digital converter (ADC) input 222, a digital input / output (I / O) 224, a power and communication connection 226 to the voltage regulator 230, as well as other connections such as VIN, ground (VSS), or other connections not shown in Fig. 2. Some other connections may include data communication with other parts of a larger system such as an ECU, a user interface, outputs to alarms or notifications, and similar connections. As with the processor circuit 120 described above with respect to Fig. 1, the microcontroller 220 is merely an example of a type of processor circuit that may be used to communicate with and control the LED array control circuit 210.In some examples, the microcontroller 220 may communicate with the LED array control circuit 210 via the digital I / O 224 and omit the ADC 222 or leave the ADC 222 unconnected. As with the power supply 130 described with reference to Fig. 1, the voltage regulator 230 may adjust one or more output voltages or currents in response to commands from the microcontroller 220. For example, during an initialization phase, the voltage regulator 230 may output an operating voltage to the VS input terminal of the LED array control circuit 210 as commanded by the microcontroller 220 in response to the microcontroller 220 determining the LED string with the highest voltage magnitude. The operating voltage at the VS terminal may also be referred to as a supply voltage. In some examples, the voltage regulator 230 may supply the VIN to the microcontroller 220. In other examples, VIN may be provided to the microcontroller 220 by another power supply not shown in Fig. 2. The voltage regulator 230 may also be referred to as a voltage supply circuit. The LED array control circuit 210 may be configured to drive the LED strings of the LED array 260 to maintain approximately equal current in each string and to provide protection against overtemperature, overvoltage, and overcurrent. The LED array control circuit 210 may include multiple outputs OUTO - OUT-N and circuitry associated with each output OUTO - OUT-N, such as current sensing circuits 216-0 - 216-N, multiple switches M0 - MN, driver circuits 212-0 - 212-N, and current limiting circuits 214-0 - 214-N. The LED array control circuit 210 may also include a digital communication circuit 215 and a MUX output 240. In some examples, the components of the LED array control circuit 210 may be integrated into a single integrated circuit. In the example of Fig. 2, the output terminal OUTO is connected to a three-LED string of the LED array 260.The output terminal OUT-N is connected to an LED string with a single LED. The driver circuits 212-0 - 212-N (collectively, driver circuits 212) may be configured to operate a respective one of the switches M0 - MN that control the current to each LED string in the LED array 260. For example, in examples where the switches M0 - MN are metal-oxide-field-effect transistors (MOSFETs) or a similar type of switch with a gate terminal, a respective driver circuit may drive the gate of the respective switch. Although the current sensing circuits 216-0 - 216-N (collectively, current sensing circuits 216) and the current limiting circuits 214-0 - 214-N (collectively, current limiting circuits 214) are shown as separate blocks in Fig. 2, the driver circuits 212 may include current sensing circuits 216 and current limiting circuits 214 in some examples. The current measuring circuits 216 may also be referred to as current detection circuits 216.The current limiting circuits 214 may offer advantages over current limiting in a respective channel through other techniques, such as simply adding a resistor to each channel. For example, a resistor would dissipate energy throughout the circuit operation and may therefore be less efficient than the current limiting circuits 214 of this disclosure. Other advantages may include the ability to limit the current to a predefined value. The current limiting circuits 214 would maintain the current limit as the voltage changes. A resistor would only limit to a fixed current when the voltage is not changed. Depending on the application, in some examples, a variable resistor may be added to one or more branches of the LED array control circuit 210, in addition to the current limiting circuits 214, as described above with respect to FIG. 1. In some examples, the driver circuits 212 may output a PWM scheme as programmed by the digital communication circuit 215. For example, after the initialization phase, the microcontroller 220 may determine the operating point (output voltage and current) for the output terminal OUT0 and calculate a first PWM scheme with a first duty cycle. The digital communication circuit 215 may receive a signal from the microcontroller 220 to set the driver circuit 212-0 to cause the switch M0 to operate at the first duty cycle. Thereafter, unless reprogrammed, the driver circuit 212-0 may output the first PWM scheme with the first duty cycle. In other examples, the driver circuit 212-0 may only output a PWM scheme with a given duty cycle under direct, continuous control of the digital communication circuit 215. Each switch M0-MN can be configured to control the current to each respective output terminal. In the example of Fig. 2, switch M0 connects the VS terminal of LED array control circuit 210 to the output terminal OUTO. Driver circuit 212-0 can send a PWM signal to the gate of switch M0, which controls the average current delivered to the output terminal OUTO. The remaining switches connect the VS terminal of LED array control circuit 210 to the respective output terminal and control the current to each output terminal in a similar manner. Each switch M0-MN can be configured to operate independently of each other respective switch of the plurality of switches. The VS terminal of LED array control circuit 210 receives power (voltage and current) from the power supply, voltage regulator 230. Each of the driver circuits 212 may include an associated current limiting circuit for each output terminal OUTO - OUTN and switches M0 - MN. Each respective current limiting circuit of the current limiting circuits 214 may be configured to limit the current for each respective output terminal OUTO - OUTN to a respective predetermined current limit. Each respective predetermined current limit set for a current limiting circuit is independent of any other respective predetermined current limit set for another current limiting circuit. For example, the predetermined current limit for the current limiting circuit 214-0 may be different from the predetermined current limit for the current limiting circuit 214-5 (not shown in Figure 2). In some examples, the current limiting circuits 214 do not change the duty cycle. The duty cycle may be adjusted to achieve a predetermined average current.The current limiting circuits 214 can protect the LEDs from damage, ie, to ensure that the LED-specific maximum current is not reached. An IC with the LED array control circuit of this disclosure can be configured by a user to operate differently depending on a particular application. For example, in an application with digital communication capability, the digital communication circuit 215 can be configured to program or set the respective current limit for a respective current limiting circuit. During operation, the current limiting circuit can operate independently to limit the current associated with a respective output terminal and switch, i.e., without further input from the digital communication circuit 215 or the microcontroller 220. For example, the digital communication circuit 215 can program the current limiting circuit 214-0 to a predetermined limit of 120 mA. The current limiting circuit 214-0 can then limit the current through the switch M0, e.g.via current sensing circuit 216-0, and adjust the PWM scheme of driver 212-0 to reduce the average current to output terminal OUTO as needed. In some examples, a current limiting circuit 214 may limit the current by triggering one or more driver circuits 212 to turn off the respective switch associated with the driver circuit. In other examples, the digital communication circuit 215 may monitor the current through switch M0, e.g., via the current sensing circuit 216-0, and directly control the current limiting circuit 214 to reduce the average current to the output terminal OUTO as needed. In other examples, the digital communication circuit 215 may communicate via the digital I / O path 228 and receive commands from the microcontroller 220 to cause the current limiting circuit 214-0 and the driver 212-0 to reduce the current to the output terminal OUTO when the current through switch N0 approaches or exceeds the predetermined current threshold. Similarly, the microcontroller 220 may control the current to each output terminal, e.g.,via the current sensing circuits 216 and the load current sensing MUX output port 240, and can directly control the PWM scheme of the associated driver circuit with a current approaching or exceeding the predetermined threshold, or, to control this, send commands to the digital communication circuit 215. In other examples, the microcontroller 220 may supply the LED array control circuit 210 with a target value for an average output current and a maximum output current. To achieve this average current, the LED control circuit 210 may internally determine a PWM scheme and monitor the current with the current measuring circuits 216. The LED array control circuit 210 may also internally set the current limiting circuits 214 to the maximum output current value provided by the microcontroller 220. In other examples, the LED array control circuit 210 may determine that the set average current in the LED(s) cannot be achieved and report directly back to the microcontroller 220 that the output voltage from the voltage regulator 230 should be increased. In other examples, the LED array control circuit 210 may determine that the voltage from the voltage regulator 230 is too high (e.g.,due to a low duty cycle on all LED strings or due to the set current limit). The LED array control circuit 210 can directly report back to the microcontroller 220 that the output voltage from the voltage regulator 230 should be reduced. In some examples, digital communication circuitry 215 may operate over digital I / O path 228 using a serial peripheral interface (SPI) bus. SPI is a specification for a synchronous serial communication interface used primarily in embedded systems for short-distance communication. The SPI bus specifies four logic signals: SCLK: serial clock (outside a master); MOSI: master output, slave input, or master out, slave in (data output from the master); MISO: master input, slave output, or master in, slave out (data output from the slave); and SS: slave select (which may be active-low, output from the master). In other examples, alternative pin naming conventions may be used. In some examples, SPI may be a so-called four-wire serial bus, as opposed to three-, two-, and one-wire serial buses.The SPI can be described as a synchronous serial interface, but it differs from the Synchronous Serial Interface (SSI) protocol, which is also a four-wire synchronous serial communication protocol. The SSI protocol uses differential signaling and provides only a single simplex communication channel. In other examples, the digital communication circuit 215 may use other standard interface protocols or a custom protocol. The default threshold for each output terminal OUT-O - OUT-N can be set by a user based on the application. For example, the LED array control circuit 210 can drive an LED array, e.g., the LED array 260, with a variety of LEDs having different maximum current limits. In an automotive application, the LED array 260, along with other LED strings, can include one or more strings of LEDs for running lights, one or more strings for low beam headlights, and additional strings for high beam headlights. The running light LEDs can have a different maximum current limit than the LEDs used for the headlights. Therefore, the default current limit associated with the running light output terminals can be different from the default current limit associated with the headlight output terminals. The voltage regulator 230 and the microcontroller 220 can power up the LED array 260 with an initialization phase, as described above with reference to Fig. 1. That is, the microcontroller 220 can configure the voltage regulator 230 to start with a voltage low enough to ensure that the current is below the maximum ratings of the LEDs in the LED array 260, then ramp the voltage up at a predetermined voltage slew rate. The voltage ramp portion of the initialization phase can stop when all branches have reached at least a predetermined target current. Similar to the predetermined current limit described for the current limiting circuits 214, a user can set the predetermined target current for each output terminal OUTO - OUTN connected to each string of the LED array 260.In some examples, the microcontroller 220 may be programmed with the specified target current. In other examples, the communication circuitry 215 or the driver circuitry 212 may be configured with the specified target current. The system 200 may transition from the initialization phase to the operating phase, such as when all LED strings of the LED array 260 have reached the target current. The LED array control circuit 210 may then adjust the operating current as needed to compensate for temperature changes, heating effects of current through the switches and LED strings, and changes in commands from other systems external to the system 200, such as a command to turn on the headlights upon entering a darkened tunnel. Fig. 3 is a block diagram illustrating an example system for controlling an LED array that includes an integrated multi-channel high-side switch controlled via individual input pins for each LED string. In some examples, an IC with an LED array control circuit, such as LED array control circuit 210 or LED array control circuit 310, may include both a digital communication interface and individual input pins for each LED string. Depending on the application, one of the interfaces may be used. For example, in a system without digital communication capability, as shown in system 300, an LED array control circuit may communicate with the processing circuitry via the individual input pins for each LED string, and each digital interface may remain unconnected. As with system 200 described above with reference to Fig. 2, system 300 includes more detailed examples of LED array control circuitry, power supply, and processor circuitry similar to system 100 described with reference to Fig. 1. Unless otherwise noted, LED array control circuitry 310 has the same features and advantages as LED array control circuitry 210 and LED array control circuitry 110. For example, driver circuits 212, current limiting circuits 214, current sensing circuits 216, switches M0-MN, and output terminals OUT0-OUT-N function as described above with reference to Fig. 2. Similarly, LED array 260, voltage regulator 230, and load current sensing MUX output terminal 240 function as described above with reference to Fig. 2. The System 300 contains similar connections to power and ground as the System 200, such as VIN, VS, and VSS. The LED array control circuit 310 can receive a PWM scheme from I / O 324 for each respective output terminal OUT0 - OUT-N. Each input terminal In0 - In-N can receive a separate PWM scheme that controls the current in each channel via the driver circuits 212 and the switches M0 - MN. Each PWM scheme for each channel can be independent of the PWM scheme for any other channel. The LED array control circuit 310 may output the sensed current for each respective channel to the ADC port 322 of the microcontroller 320 via the load sense MUX output port 240. The microcontroller 320 may cycle through the active channels or all channels of the LED array control circuit 310 to periodically determine the current for each channel associated with each output port OUT-0 - OUT-N. In some examples, the microcontroller 320 may determine which channel to monitor by sending a signal to the interface 315 via the select pin DSEL. In other words, the MUX circuit of the LED array control circuit 310 may be configured to receive information from each driver circuit 212-0 - 212-N and output the information to the load current sense port 240 in response to the signal received at DSEL.The information output at the sense terminal 240 includes a respective current level (e.g., average current) for a respective output terminal OUTO - OUT-N. As described above, the current sense circuits 216 can be separate or integrated into the driver circuits 212. In some examples, microcontroller 320 may monitor each of current sensing circuits 216 and adjust the PWM scheme to limit the current of any channel that may be approaching or exceeding the predetermined current limit. In other examples, LED array control circuit 310 may control the duty cycle of the PWM scheme to limit the output current to the LED strings. In other examples, microcontroller 320 may individually set a current limit for each of current limiting circuits 214, which may then operate to limit the current for each channel without further input from microcontroller 320. In other examples, current limiting circuits 214-0 - 214-N may be preprogrammed with a separate, predetermined current limit for each channel.For example, during manufacturing assembly, such as during circuit testing, a programming function may preprogram each current limiting circuit of the current limiting circuits 214 depending on the expected application. After being assembled into a final product, the LED array control circuit 310 may maintain these current limits during operation. Fig. 4 is a block diagram illustrating an example multi-channel high-side switch integrated circuit with digital communication circuitry. The LED array control circuit 400 of Fig. 4 shows additional details of an example LED array control circuit such as the LED array control circuit 210 and the LED array control circuit 310 shown in Figs. 2 and 3. The LED array control circuit 400 includes a digital communication circuit 415, which is similar to the LED array control circuit 210. However, an IC with an LED array control circuit such as the LED array control circuit 400, as described above with respect to Figs. 1 and 3, may include both a digital communication interface 415 and individual input pins 405 for each LED string. Similar to the LED array control circuits 210 and 310 described above with reference to FIGS. 2 and 3, the LED array control circuit 400 includes switches M0-MN that connect the output terminals OUT0-OUT-N to the VS terminal. The VS terminal may be connected to a power supply, such as the power supply 130 shown in FIG. 1, and may provide power to an LED array connected to the output terminals OUT0-OUT-N. Each switch M0-MN may be configured to control the current for the respective output terminal and operate independently of any other respective switch. In some examples, the switches, as controlled by the driver circuits, may control the current based on the duty cycle of a PWM scheme. In the example of Fig. 4, the LED array control circuit 400 also includes a power supply section 402, an ESD protection 404, a digital communication 415, and a current sense MUX 414. The LED array control circuit 400 includes driver circuits channel 0 through channel M. The example driver circuit 412 for channel 0 further includes driver logic 416, a temperature sensor 420, a gate control and charge pump circuit 420, a load current sensor circuit 424, an overvoltage clamp circuit 426, and an overcurrent protection circuit 418. In other examples, the LED array control circuit 400 may also include more or fewer components than those shown in Fig. 4. In some examples, the driver logic 416 may control the duty cycle of switch M0 via the gate control and charge pump circuit 422. The gate control and charge pump circuit 422 may use some form of switching device to control the connection of a supply voltage across a load through a charge storage device such as a capacitor. The gate control and charge pump circuit 422 may scale the voltage to the gates of the switches M0-MN. The power supply section 402 is connected to VDD, which may be further connected to a system power supply, such as the voltage regulator 230 described with reference to FIGS. 2 and 3. The power supply section 402 may act as a DC-DC converter and provide one or more voltage sources, such as a reference voltage (e.g., Vref), to drive the components of the LED array control circuit 400. In some examples, the components of the LED array control circuit 400, such as the driver circuit 412 and the digital communication 415, may operate at different voltage levels from one another. The ESD protection circuit 404 may include clamping circuits, filtering circuits, and similar circuits to protect the components of the LED array control circuit 400 from electrostatic discharge (ESD) and other types of electromagnetic interference (EMI). The ESD protection circuit is connected between the digital communication interface 415 and individual input pins 405 and the load current sense terminal IS. The load current sense terminal IS is similar to the load current sense terminal 240 described above with reference to FIGS. 2 and 3. The digital communication interface 415 and the individual input pins 415 and the load current sense terminal IS may be connected to processing circuitry, such as the processing circuitry 120 and the microcontroller 220 and the microcontroller 320 shown above in FIGS. 1-3.The digital communication interface 415 functions like the communication interface 215 described above with reference to Fig. 2. Overcurrent protection circuit 418 functions as described above for current limiting circuit 214, described with reference to FIGS. 2 and 3, to protect the LEDs in the output array, as well as other components of LED array control circuit 4, from overcurrent-induced damage. In some examples, overcurrent protection circuit 418 may be configured to output a signal indicating an overcurrent condition via digital communication circuit 415. In some examples, overcurrent protection circuit 418 may cause driver logic 416 to reduce the duty cycle or completely turn off the relevant switch, e.g., switch M0. The overvoltage clamp circuit 426 can monitor the voltage at the output terminal OUTO to protect the LED string connected to channel 0 from overvoltage. Each channel, e.g., channel 0 - channel N, can contain a similar overvoltage protection circuit. Temperature sensor 420 may monitor the temperature of the components of channel 0, including driver circuit 412 and switch M0. In some examples, each channel may include similar temperature sensor circuitry. In some examples, temperature sensor 420 may provide an input to logic driver 416, which may cause driver logic 416 to adjust the duty cycle of switch M0 in response to a temperature change. For example, if the temperature exceeds a threshold, the signal from temperature sensor 420 may cause driver logic 416 to decrease the current by changing the duty cycle or by turning off switch M0. In some examples, driver logic 416 may increase the duty cycle or turn on switch M0 when the temperature decreases below the threshold. In other examples, the processing circuitry, such as the microcontroller 220 depicted in Fig. 2, may be configured to receive a signal from the LED array control circuitry 400 comprising the temperature of a respective switch for an LED string. For example, the digital communication circuitry 415 may receive the signal from the temperature sensor 420 and send the signal to the processing circuitry. The processing circuitry may determine whether the temperature exceeds a temperature threshold. In response to determining that the temperature exceeds a temperature threshold, the processing circuitry may send a signal to the LED array control circuitry 400 to open the respective switch to turn off the respective LED string or to adjust the duty cycle to reduce the current at the respective output terminal. The example of Fig. 4 shows a temperature sensor, e.g.the temperature sensor 420, for each channel of the LED array control circuit 400. In other examples, as described above with respect to Fig. 1, an LED array control circuit may have a single temperature sensor or a temperature sensor for a group of channels. Similarly, load current sensing circuit 424 may monitor the current in channel 0, and each channel may include a similar load current sensing circuit. Load current sensing circuit 424 operates similarly to the current sensing circuit 216 described above with reference to FIGS. 2 and 3. Load current sensing circuit 424 may determine the current through switch M0 and output a signal to driver logic 416. In response to the signal from load current sensing circuit 424, driver logic 416 may cause the duty cycle for switch M0 to change. In some examples, driver logic 416 may output the signal with the sensed current to current sense MUX 414. As described above with reference to FIG. 1, a separate load current sensing circuit may be provided for each channel, e.g.,the load current detection circuit 424, for an LED array control circuit according to this disclosure may provide advantages such as improved current accuracy. Current sense MUX 414 operates similarly to current sense MUX output port 240 described above with reference to FIGS. 2 and 3. Current sense MUX 414 may determine the current for each channel of LED array control circuit 400 and output the information to a processor circuit via sense port IS. In some examples, current sense MUX 414 may receive a signal from the processor circuit to select a particular channel, determine the current, including the average current, peak current, and similar values, and output the information at sense port IS. Fig. 5 is a block diagram illustrating a multi-channel high-side switch integrated circuit controlled via individual input pins for each LED string. LED array control circuit 500 illustrates another example of an LED array control circuit as described above with reference to Figs. 1-4. Features and configurations of any LED array control circuit of this disclosure may be combined in any combination with the features and configurations of any other examples of this disclosure. As described above in the examples of Figs. 1-4, the LED array control circuit 500 includes output terminals OUT0-OUT-N connected to the VS terminal through switches M0-MN. The switches M0-MN are controlled by the driver circuits for channels 0 through N, such as the driver circuit 512 for channel 0. The example LED array control circuit 500 also includes a power supply section 502, a sense output 508, ESD protection and input logic 504, and a ground circuit 510. The power supply section 502 is similar to the power supply section 402 described above with reference to Figure 4. In the example of the LED array control circuit 500, the power supply section 502 receives power from the VS pin instead of a separate VDD pin. Each of the LED array control circuits of this disclosure may also include the same configuration as the LED array control circuit 500. The power supply section 502 may include a supply voltage monitoring circuit 503 and an internal power supply 506. The internal power supply 506 may provide one or more voltage sources to operate the components of the LED array control circuit 500. The sense output 508 may receive and process the sensed signals from the driver circuits for channels 0-N. As described above for the LED array control circuits 110-410, the sense output 508 may include a MUX to receive the sensed current from a current sense circuit associated with each channel, such as the load current sense circuit 524. In some examples, the sense output may receive additional sensed signals such as temperature, an overcurrent flag, an overvoltage flag, a voltage at each output terminal, and similar sensed signals. The sense output 508 may output the sensed signals to the IS terminal, which may be connected to one or more processor circuits, as described above with respect to FIGS. 1-3.A processor circuit can select which channel to monitor by sending a signal through the ESD protection and input logic circuit 504 via the select pin DSEL. As with the ESD protection circuit 404 described above with reference to Fig. 4, the ESD protection and input logic circuit 404 can protect the components of the LED array control circuit 500 from electrostatic discharge (ESD) and other types of electromagnetic interference (EMI). As described with reference to Figs. 3 and 4, each input terminal In0-In-No can receive a separate PWM scheme that controls the current in each channel via driver circuits and switches M0-MN, such as the driver circuit 512. Although not shown in Fig. 5, the LED array control circuit 500 can also include digital communication circuitry that may not need to be connected based on the application using the LED array control circuit 500. The ground circuit 510 can include filtering or other circuitry that can operate in conjunction with the ESD protection and input logic circuit 504. Driver circuit 512 represents an example of the driver circuits for channels 0-N included in LED array control circuit 500. The example driver circuit 512 includes a voltage sensor 532, an overtemperature circuit 520 connected to a temperature sensor 530, a gate control and charge pump 522, an overcurrent protection circuit 518, a load current detection circuit 524, and an output voltage limiting circuit 526. Components of driver circuit 512 may have the same functions and features as the components of driver circuit 412 described with reference to Fig. 4.For example, the description of the gate control and charge pump circuit 422 applies to the gate control and charge pump circuit 522, the overcurrent protection circuit 418 applies to the overcurrent protection circuit 518, the overvoltage clamp circuit 426 applies to the overvoltage limiting circuit 526, and the load current sensor circuit 424 applies to the load current sensor circuit 524. In some examples, over-temperature circuitry 520 operates similarly to temperature sensor 420, except that the example of LED array control circuitry 512 shows a separate temperature sensor 530 included in switch M0. As with temperature sensor 420, over-temperature circuitry 520 may include circuitry to amplify, filter, and compare a signal from temperature sensor 530 to one or more threshold values. Voltage sensor 532 may monitor the voltage at output terminal OUTO, which may be connected to an LED string as part of an LED array. In some examples, voltage sensor 532 may be included as part of output voltage limiting circuitry 526. As with driver logic 416 depicted in Fig. 4, driver logic 516 of Fig. 5 may receive input signals from the components of driver circuit 512 and adjust the current to output terminal OUT0 in response to those signals. Driver logic 516 may include circuitry to decrease the duty cycle of switch M0, for example, in response to an overtemperature signal from overtemperature circuit 520 or overcurrent protection circuit 518. In some examples, driver logic 516 may communicate with processor circuitry, e.g., via input terminal In0, to receive a PWM signal to control switch M0, or via a MUX included in sense output 508 to output one or more signals from the components in driver circuit 512. Fig. 6 is a flowchart illustrating an example method for an initialization phase of a system for controlling an LED array, according to one or more techniques of this disclosure. The steps of Fig. 6 describe an example of an interaction between a processing circuit 120A and an LED array control circuit 110A. Although the steps described in Fig. 6 may apply to any of the examples of this disclosure, Fig. 6 is described with reference to Fig. 1 unless otherwise noted. The processing circuit 120A functions similarly to the processing circuit 120, and the LED array control circuit 110A functions similarly to the LED array control circuit 110, as shown in Fig. 1. A processor circuit, such as processing circuit 120A, may determine an initial voltage for an LED array, such as LED array 160, controlled by LED array control circuit 110A. Because LED array 160 may include multiple LED strings, and the LED strings may include LEDs of different types, processing circuit 120A may request the LED type from a digital communication circuit, such as digital communication circuit 215 depicted in Figure 2 (600). In response, digital communication circuit 215 may output the LED type or, in some examples, a maximum startup voltage, to processing circuit 120A (602). Processing circuit 120A may receive the LED type or voltage information and command power supply circuit 130 to output an initial voltage to the VS terminal, as depicted in Figure 1 (604). In some examples, processing circuitry 120A may be configured to set an initial voltage for power supply circuitry 130 without first sending a request to LED array control circuitry 110A for LED information. For example, LED array control circuitry 110A may not include digital communication circuitry 215, or the digital communication circuitry 215 may be decoupled in some applications. In still other examples, system 100 may be configured to initialize itself without request steps 600-604. For example, either processing circuitry 120A or LED array control circuitry 110A may be programmed with the initial startup voltage by a user during assembly. In either example, the processing circuitry may enable the power supply circuitry to output the initial voltage to the LED array via the LED array control circuitry. The LED array control circuit 110A may receive the initial voltage at the VS terminal and activate (610) at least two switches that control at least two respective LED strings of the plurality of LED strings in the LED array 160. In some examples, the processing circuit 120 may cause a driver logic portion of a driver circuit, e.g., the driver circuit 412, to activate the switches (608). In other examples, the processing circuit 120A may directly activate the at least two switches, e.g., via input terminals In0-In-N. A current measurement circuit, such as load current sensor circuit 424 of FIG. 1, may output (612) the LED string current for each LED string of the LED array 160. The processing circuit 120 may receive a respective current for each activated LED string of the plurality of LED strings. In some examples, the processing circuit 120 may receive the current via the MUX for each LED string of the LED array 260 regardless of whether the LED string is one of the activated LED strings or not. The processing circuit 120 may continue to cycle through each LED string or activated LED string to monitor the current throughout the initialization phase and periodically during the operation phase. Processing circuitry 120A may determine a respective voltage level for each LED string of the plurality of LED strings. For example, voltage sensor 532 in FIG. 5 may output the voltage of output terminal OUTO. In some examples, processing circuitry 120A may receive for each output terminal OUTO - OUT-N through sense terminal IS via the MUX, e.g., as illustrated in FIGS. 2, 3, and 5, through sense output 508, or load current sense terminal 240. In other examples, processing circuitry 120 may receive the output voltage information via the digital communication circuitry depicted in FIG. 2. In response to receiving the respective voltage magnitude for each LED string, processing circuitry 120A may determine (614) the LED string with the highest voltage magnitude relative to the remaining LED strings of the plurality of LED strings. In the example of LED array 160 in FIG. 1, the string with the highest voltage magnitude may be the string with the largest number of LEDs, such as the LED string connected to OUT3 or the LED string connected to both OUT5 and OUT6. For example, if the LED voltage drop for each LED in the string connected to OUT3 is greater than the voltage drop for LEDs in the string connected to OUT5 and OUT6, then OUT3 with four LEDs may have the highest voltage magnitude. In some examples, the voltage ramp portion of the initialization phase may stop when all branches have reached at least a predetermined target current. As described above with respect to Fig. 1, the LED array control circuit 110A may be configured to ensure that each active output OUTO - OUT-N has approximately the same average current. The processing circuit 120A may determine a PWM scheme and associated duty cycle for each switch M0 - MN such that the current for each branch (OUTO - OUT-N) is approximately equal to the current in the other branches. The voltage into the VS terminal may therefore be defined by the output voltage of the output terminal powering the LED string with the highest forward voltage, OUT3 in this example. The predetermined target current may be based on the application, e.g.,Interior lighting, headlights, or a similar application that may include the types and number of LEDs in the LED array 160. Processing circuitry 120A may store the operating voltage value, the PWM scheme, and the highest forward voltage in a memory location. In some examples, the memory location may be integrated with processing circuitry 120A, such as in the example of a microcontroller. In other examples, the memory location may be separate from processing circuitry 120A. In response to determining the LED string with the highest voltage magnitude, processing circuitry 120A may adjust the voltage supply circuitry, e.g., power supply 130, to output an operating voltage for the LED array (616). Once processing circuitry 120A adjusts the operating voltage, processing circuitry 120A may adjust the individual duty cycle for the PWM scheme for each driver circuit channel controlling switches M0-MN.In other words, in response to adjusting the operating voltage, processing circuitry 120A can adjust the operating pulse width modulation (PWM) scheme for each respective switch of each respective LED string such that the current in each LED string approximately approximates a predetermined current. Each respective PWM scheme for each respective switch M0-MN can be adjusted independently of the remaining switches. In some examples, processing circuitry 120A may send (618) current limit settings for overcurrent protection circuits, e.g., overcurrent protection circuitry 418 and overcurrent protection circuitry 518, as illustrated in FIGS. 4 and 5, via digital communication circuitry such as digital communication circuitry 215 and 415. The digital communication circuitry may set the current limit in each respective overcurrent protection circuit for each channel. The digital communication circuitry may also program each respective driver circuitry with the PWM scheme and current limit settings (620). In some examples, the digital communication circuitry may also receive other system protection limits from the processing circuitry and set those limits in the components of the driver circuitry, such as overvoltage, temperature thresholds, and similar limits. In other examples, current limits can be programmed into a system by a user during assembly. For example, an LED array control circuit used to control interior lighting can be programmed with expected overcurrent limits, along with overvoltage, overtemperature, and other safety limits, during the assembly and installation process. During assembly and installation, a user can understand the number and types of LEDs used for the interior lighting and can set the system protection limits based on this understanding. Fig. 7 is a flowchart illustrating an example method for an operational phase of a system for controlling an LED array according to one or more techniques of this disclosure. The operational phase may begin after the initialization phase of Fig. 6 is completed, as indicated by block "B" in Figs. 6 and 7. The steps of Fig. 7 are described with reference to Figs. 1-5 and describe an example of an interaction between a processing circuit 120B and an LED array control circuit 110B. Similar to the processing circuit 120A and the LED array control circuit 110A described above with reference to Fig. 6, the processing circuit 120B operates similarly to the processing circuit 120 and the LED array control circuit 110B operates similarly to the LED array control circuit 110 as shown in Fig. 1. The LED array control circuit 110B may receive an operating voltage at the VS terminal from a power supply, such as the voltage regulator 230 shown in FIG. 2 (622). As described above with respect to FIG. 6, the operating voltage may be based on the LED string in an LED array with the highest total forward voltage. After a predetermined time interval, the LED array control circuit may output an updated temperature and current for each channel (624). The current may include the average current based on the duty cycle of the PWM scheme for the channel. In some examples, the digital communication circuit may determine the time interval and channels for which the current and temperature information should be output. In other examples, the processing circuit 120B may select the channels to receive the updated current and temperature information (626). Processing circuitry 120B may determine whether the second, updated respective current for an LED string is within a threshold range of the predetermined current (628). In response to determining that the updated respective current for the LED string exceeds the threshold range of the predetermined current, processing circuitry 120B may adjust the respective PWM scheme for the LED string (630), e.g., by adjusting the duty cycle of the signal controlling the gate of the switch for the channel. If processing circuitry 120B determines that the current does not exceed the current threshold (NO in branch of 628), the processing circuitry need not make any adjustments and waits for the next set of updated current measurements. Similarly, processing circuitry 120B may determine whether a temperature of a respective switch for an LED string exceeds a threshold temperature (638). In response to determining that the temperature exceeds a current threshold, processing circuitry 120B may decrease the average current to the respective LED string, e.g., by adjusting the duty cycle (630). In some examples, processing circuitry 120B may turn off the switch, i.e., set the duty cycle to zero. The LED array control circuit 110B may receive the commands to update the PWM scheme for a channel (632) either via the digital communication circuit or, such as using the input terminals In0-In-N, directly. After a predetermined time interval, the LED array control circuit 110B may output an updated temperature and current for each channel (624). In other examples, as described above with respect to FIGS. 4 and 5, the respective driver logic may adjust the duty cycle of the respective switch for the channel based on the current, temperature, or other sensing information without input from the processing circuit 120B. The processing circuitry 120B may further determine that a current for the LED string with the highest voltage magnitude exceeds a threshold range of the predetermined current magnitude (634). In other words, the current in the channel with the LED string having the highest total forward voltage has exceeded a current threshold. In some examples, the processing circuitry 120B may adjust the PWM scheme as described above (630). In other examples, the processing circuitry 120B may determine that the current for the channel with the highest total forward voltage has exceeded a predetermined range of the current threshold and may adjust the power supply voltage (636). For example, a predetermined threshold current for the LED array may be set to 100 mA.The processing circuitry may adjust the duty cycle of the PWM scheme to increase or decrease the current for a given channel to maintain 100 mA. The current may fluctuate based on temperature or other factors. If the current exceeds a range from the current threshold, such as a range of ±20 mA from the 100 mA threshold (i.e., a range of 80 mA to 120 mA), the processing circuitry 120B may adjust the output voltage of the power supply connected to the VS terminal of the LED array control circuitry (636).In other words, in response to determining that the current for the LED string with the highest voltage level exceeds a threshold range of the predetermined current level, the processing circuitry 120B may adjust the operating voltage from the power supply circuitry to the LED array from a first operating voltage to a second operating voltage. Exceeding a range is merely one example of a triggering criterion for the processing circuitry 120B to adjust either the PWM scheme or the regulator voltage. Other examples of triggering criteria may be used as well. If the current for the string with the highest voltage does not exceed the triggering criterion (NO of 634), the processing circuitry 120B may wait for the next updated current level and other sensing information (626). In one or more examples, the functions described above may be implemented in hardware, software, firmware, or any combination thereof. For example, the various components of FIGS. 1-3, such as processing circuitry 120 and microcontroller 220, may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over a computer-readable medium as one or more instructions or code and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, corresponding to a tangible medium such as data storage media, or communication media comprising any medium that facilitates the transfer of a computer program from one location to another, e.g., according to a communication protocol.In this way, computer-readable media may generally correspond to (1) tangible computer-readable storage media that is non-transitory, or (2) a communications medium such as a signal. Data storage media may be any available media accessible by one or more computers or one or more processors to retrieve instructions, code, and / or data structures for implementing the techniques described in this disclosure. A computer program product may include a computer-readable medium. By way of example and without limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Furthermore, any connection is properly referred to as a computer-readable medium. For example, when instructions from a web page are transmitted from a server or other remote source using a coaxial cable, a fiber optic cable, a twisted pair cable, a digital subscriber line (DSL), or wireless technologies such as infrared, radio frequency (RF)If data is transmitted via radio waves (e.g., "radio") and microwaves, then coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio frequency, and microwave are included in the definition of medium. However, it is understood that computer-readable storage media and data storage media do not contain any connections, carrier waves, signals, or other transient media, but instead refer to non-transitory, tangible storage media. Discs, as used herein, include compact discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy discs, and Blu-ray discs. Disks typically reproduce data magnetically, while discs reproduce data optically using lasers.Combinations of the above should also be included in computer-readable media. Instructions may be executed by one or more processors, such as one or more DSPs, microcontrollers, general-purpose microprocessors, ASICs, FPGAs, or other equivalent integrated or discrete logic circuitry. Accordingly, the term "processor" as used herein, such as processing circuitry 120, microcontroller 220, and microcontroller 320, may refer to any of the foregoing structures or any other structures suitable for implementing the techniques described herein. Additionally, in some aspects, the functionality described herein may be provided within associated hardware and / or software modules configured for encryption and decryption. Furthermore, the techniques could be implemented entirely in one or more circuits or logic elements. The techniques of this disclosure may be implemented in a wide variety of devices or devices, including an integrated circuit (IC) or a set of ICs (e.g., a chipset). Various components, modules, or units are described in this disclosure to highlight functional aspects of devices configured to perform the disclosed techniques, but they do not necessarily require implementation by different hardware units. Rather, different units may be combined into one hardware unit, as described above, or provided by a collection of interoperable hardware units, including one or more microprocessors, as described above, in conjunction with suitable software and / or firmware.
Claims
Light-emitting diode (LED) array control circuit, the control circuit (110; 210; 310; 400) comprising: a plurality of output terminals (OUTO - OUT-N), each of the plurality of output terminals (OUTO - OUT-N) being configured to control a respective LED string of an LED array (160; 260); a plurality of current measuring circuits (216-0, 216-N), each configured to determine a current intensity for a respective output terminal (216-0, 216-N); a plurality of switches (M0, MN); a plurality of driver circuits (212-0; 212-N) having a plurality of current limiting circuits (214-0, 214-N); anda plurality of temperature sensors (420), each associated with one of the plurality of switches (M0, MN), wherein:each of the plurality of switches (M0, MN) is configured to control the current for a respective output terminal (OUTO - OUT-N) and to operate independently of each other of the switches (M0, MN), wherein:each of the plurality of driver circuits (212-0;212-N) is configured to operate a respective switch (M0, MN) of the plurality of switches, each of the plurality of current limiting circuits (214-0, 214-N) is associated with a respective switch (M0, MN) of the plurality of switches (M0, MN), and each of the plurality of current limiting circuits (214-0, 214-N) is configured to adjust the operation of the respective switch (M0, MN) associated with the respective current limiting circuit (214-0, 214-N) in order to limit the current for each respective output terminal (OUT0 - OUT-N), and wherein each of the plurality of temperature sensors (420) is configured to compare a temperature of the switch (M0, MN) associated with it with a temperature threshold and, in response to the detected temperature exceeding the temperature threshold, to turn off the switch or change a duty cycle of the switch. Control circuit according to claim 1, wherein the plurality of switches (M0, MN) are configured to control the current intensity based on pulse width modulation (PWM). Control circuit according to one of the preceding claims, wherein each of the plurality of driver circuits (212-0; 212-N) further comprises an overvoltage protection circuit (426). Control circuit according to one of the preceding claims, further comprising a digital communication circuit (215; 315; 415) configured to communicate with one or more processor circuits (220; 320). Control circuit according to one of the preceding claims, wherein the control circuit (110; 210; 400) is configured to determine a voltage at each of the plurality of output terminals (OUTO - OUT-N). Control circuit according to one of the preceding claims, further comprising a detection terminal (240) and a multiplexer (MUX) circuit, wherein the MUX circuit is configured to receive information from each driver circuit (212-0; 212-N) of the plurality of driver circuits (212-0; 212-N) and to output the information to the detection terminal (240), wherein the information output at the detection terminal (240) comprises a respective current intensity for a respective output terminal (OUTO - OUT-N). Control circuit according to claim 6, wherein the current limiting circuits (214-0, 214-N) are designed to limit the respective current intensity so that it is not higher than a respective LED maximum current. Control circuit according to one of the preceding claims, wherein the control circuit (110; 210; 400) is implemented as an integrated circuit (IC). A method for controlling a light-emitting diode (LED) array, the method comprising initializing an LED control circuit (110; 210; 310; 400) by a processor circuit (120; 220; 320), the initialization comprising: determining an initial voltage for an LED array (160; 260) controlled by an LED control circuit (110; 210; 310; 400) by the processor circuit (120; 220; 320), the LED array (160; 260) comprising a plurality of LED strings, and the LED control circuit (110; 210; 310; 400) comprising a respective switch (M0, MN) to operate each LED string; activating a voltage supply circuit (130; 230) by the processor circuit (120; 220; 320) to output the initial voltage to the LED array;activating at least two switches (M0, MN) controlling at least two respective LED strings of the plurality of LED strings by the processor circuit (120; 220; 320);Receiving, by the processor circuit (120; 220; 320), a respective current level for each activated LED string of the plurality of LED strings;Receiving, by the processor circuit (120; 220; 320), a respective voltage level for each LED string of the plurality of LED strings;Determining, by the processor circuit (120; 220; 320), the LED string having the highest voltage level with respect to the remaining LED strings of the plurality of LED strings in response to receiving the respective voltage level for each LED string;Setting, by the processor circuit (120; 220; 320), the voltage supply circuit (130; 230) to output an operating voltage to the LED array (160; 260) in response to determining the LED string having the highest voltage level;Determining, by the processor circuit (120; 220; 320), a pulse width modulation (PWM) scheme for each respective switch of each respective LED string such that the current in each LED string approximately corresponds to a predetermined current, in response to setting the operating voltage, wherein each respective PWM scheme for each respective switch is set independently of all other switches (M0, MN) of the plurality of switches (M0, MN);Comparing a temperature of each of the switches (M0, MN) to a temperature threshold and turning off the switch (M0, MN) or changing a duty cycle of the switch (M0, MN) in response to the sensed temperature exceeding the temperature threshold; The method of claim 11, wherein the respective current for each activated LED string is a first respective current for each activated LED string, the method further comprising operating the LED array (160; 260), wherein operating the LED array (160; 260) comprises:receiving, by the processor circuit (120; 220; 320), a second respective current for each activated LED string of the plurality of LED strings;determining, by the processor circuit (120; 220; 320), whether the second respective current for a first LED string is within a threshold range of the predetermined current; andadjusting, by the processor circuit (120; 220; 320), the respective PWM scheme for the first LED string in response to determining that the second respective current for the first LED string exceeds the threshold range of the predetermined current. The method of claim 9, further comprising operating the LED array, wherein operating the LED array comprises:determining, by the processor circuit (120; 220; 320), that a current for the LED string having the highest voltage level exceeds a threshold range of the predetermined current level; andadjusting, by the processor circuit (120; 220; 320), the operating voltage from the power supply circuit (130; 230) to the LED array (160; 260) from a first operating voltage to a second operating voltage in response to determining that the current for the LED string having the highest voltage level exceeds the threshold range of the predetermined current level. A system comprising:a light-emitting diode (LED) array (160; 260) having a plurality of LED strings;an LED control circuit (110; 210; 310; 400) according to any one of claims 1 to 8 operatively coupled to the LED array (160; 260);a processor circuit (120; 220; 320) operatively coupled to the LED control circuit (110; 210; 310; 400). The system of claim 12: wherein each respective driver circuit (212-0; 212-N) comprises the respective current measurement circuit (216-0, 216-N); and wherein the processor circuit (110; 210; 310; 400) is configured to receive the information output from the sensing terminal (240). The system of claim 13, wherein the system further comprises a power supply circuit (130; 230) configured to supply power to the LED array (160; 260), wherein the processor circuit (120; 220; 320) is configured to: activate the power supply circuit (130; 230) to output a first voltage to the LED array (160; 260); activate at least two switches (M0, MN) controlling at least two respective output terminals (OUT0 - OUT-N) of the plurality of output terminals (OUT0 - OUT-N); receive a respective current intensity from the sensing terminal (240) for each activated LED string of the plurality of LED strings; receive a respective voltage level for each LED string of the plurality of LED strings; in response to receiving the respective voltage level for each LED string, activate the LED string at a voltage level relative to the remaining LED strings of the several LED strings to determine the highest voltage level;in response to determining the LED string having the highest voltage magnitude, adjust the power supply circuit (130; 230) to output a second voltage to the LED array; and in response to adjusting the second voltage, determine a pulse width modulation (PWM) scheme for each respective switch of each respective LED string such that the current in each LED string is approximately a predetermined current, wherein each respective PWM scheme is adjusted for each respective switch (M0, MN) independently of all other switches of the plurality of switches. The system of claim 14, wherein the respective current for each activated LED string is a first respective current for each activated LED string, and wherein the processor circuit (120; 220; 320) is further configured to:receive a second respective current for each activated LED string of the plurality of LED strings;determine whether the second respective current for a first LED string is within a threshold range of the predetermined current; andin response to determining that the second respective current for the first LED string exceeds the threshold range of the predetermined current, adjust the respective PWM scheme for the first LED string. The system of claim 12, wherein the processor circuit (120; 220; 320) is further configured to: receive from the LED control circuit (110; 210; 310; 400) a signal comprising a temperature of a respective switch (130; 230) for an LED string; determine whether the temperature exceeds a threshold temperature; and, in response to determining that the temperature exceeds a threshold temperature, send a signal to the LED control circuit (110; 210; 310; 400) to adjust a duty cycle of the respective switch (M0, MN) for the respective LED string.
Citation Information
Patent Citations
LED-array controlling method for e.g. motor vehicle`s tail lamp, involves increasing voltage until preset current flows through lines, such that lines are switched on and off by clocked control of switches to provide effective current
DE102006005521B3
Voltage Controlled Backlight Driver
US20070195025A1
