Addressing method and device of LED driver and backlight control system
By using vertical synchronization signals to control the data transmission direction of the LED driver branch in the backlight control system, addressing the LED driver with variable data transmission direction is solved, and the problem of inapplicability of the addressing method in the prior art is improved. Flexibility and control accuracy.
Patent Information
- Application Number
- CN202311083952.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-25
- Publication Date
- 2025-02-25
AI Technical Summary
The LED driver addressing method in the prior art is only applicable to backlight control systems with a determined data transmission direction, and cannot be applicable to LED driver systems with variable data transmission direction.
By introducing a vertical synchronization signal into the backlight control system, the LED driver in the LED driver branch controls to turn on the first directional path or the second directional path, and the addressing of the LED driver with variable data transmission direction is realized. The specific method is that BCON sends a vertical synchronization signal to enable the LED driver branch to conduct the corresponding path. BCON transmits addressing instructions step by step through the conductive path. The last LED driver responds to generate an address data signal and transmits it through the opposite path. to BCON.
The precise address of LED drivers with variable data transmission direction in the backlight control system is realized, and the flexibility and control accuracy of the system are improved.
Smart Images

Figure CN119516955A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of backlight display, and in particular to an addressing method and device of an LED driver and a backlight control system. Background Art
[0002] A liquid crystal display (LCD) is a display that uses liquid crystal as the display panel material. Since liquid crystal does not have the property of self-luminescence, it is usually necessary to provide a backlight source for the liquid crystal panel (LCP). However, the backlight source will cause the LCD to have problems such as impure black and poor contrast.
[0003] In order to improve the display effect of LCD, a backlight control system is introduced in LCD. The backlight control system usually includes a backlight drive controller (BCON) and a backlight unit (BLU), wherein the backlight unit is divided into multiple backlight partitions, each of which includes an LED (Light Emitting Diode) driver (LED Driver) and at least one LED electrically connected to the LED driver. BCON uses local dimming to independently control the LED drivers in multiple backlight partitions, so that each LED driver adjusts the LED electrically connected to itself to a suitable brightness, making the dark picture area darker and the bright picture area brighter, so as to improve the contrast of LCD.
[0004] In the above backlight control system, since BCON needs to perform data allocation, management and monitoring operations on each LED driver, in order to achieve accurate control of each LED driver by BCON, each LED driver needs to be addressed first, so that multiple LED drivers can be distinguished in the subsequent data allocation, management and monitoring operations. The addressing method of LED drivers in the related art is only applicable to the backlight control system of LED drivers with a fixed data transmission direction, and is not applicable to the backlight control system of LED drivers with a variable data transmission direction. Summary of the invention
[0005] The present invention provides an addressing method and device for an LED driver and a backlight control system, which are used to implement addressing of an LED driver with variable data transmission direction in a backlight control system.
[0006] In a first aspect, an embodiment of the present invention provides an addressing method for an LED driver, which is applied to a backlight control system, wherein the backlight control system includes a BCON and a backlight unit, wherein the backlight unit includes a plurality of LED driving branches arranged in parallel, and each LED driving branch includes a plurality of LED drivers arranged in cascade;
[0007] The BCON sends a vertical synchronization signal to at least one LED driving branch, so that the at least one LED driving branch conducts a first directional path or a second directional path according to the level state of the vertical synchronization signal, wherein the first directional path and the second directional path are two paths in the LED driving branch that are opposite to each other;
[0008] When the first directional path is turned on, the BCON transmits addressing instructions step by step through the first directional path. When the second directional path is turned on, starting from the last level of LED driver, in response to the addressing instructions, an address data signal for determining the target address of the LED driver is generated step by step, and the address data signal is transmitted to the BCON through the second directional path.
[0009] In the addressing method of the LED driver provided by the embodiment of the present invention, under the control of the vertical synchronization signal sent by BCON, each LED driver in each LED driving branch determines its own data transmission direction, thereby turning on the first directional path or the second directional path, and BCON transmits the addressing instruction to each LED driver step by step through the turned-on first directional path, and after the second directional path is turned on, the last-level LED driver of each LED driving branch is turned on to respond to the addressing instruction, and generates an address data signal step by step, and each LED driver determines its own target address according to the address data signal generated by itself, until the address data signal is transmitted to BCON through the second directional path, thereby realizing the addressing of the LED driver with variable data transmission direction in the backlight control system.
[0010] In an optional implementation, the at least one LED driving branch conducts the first directional path or the second directional path according to the level state of the vertical synchronization signal, including:
[0011] If the LED driving branch determines that the level state of the vertical synchronization signal is a first level state, then the first directional path is turned on;
[0012] If the LED driving branch determines that the level state of the vertical synchronization signal is the second level state, then the second directional path is turned on;
[0013] The first level state and the second level state are different.
[0014] In the above method, when the vertical synchronization signal is in the first level state, the first input and output pins of each LED driver in the LED driving branch are controlled to be input pins, and the second input and output pins of each LED driver are controlled to be output pins, so as to realize the conduction of the first directional path, that is, the first directional path is the path from BCON to the last LED driver in the LED driving branch; when the vertical synchronization signal is in the second level state, the second input and output pins of each LED driver in the LED driving branch are controlled to be input pins, and the first input and output pins of each LED driver are controlled to be output pins, so as to realize the conduction of the second directional path, that is, the second directional path is the path from the last LED driver in the LED driving branch to BCON. Through the above vertical synchronization signal, the data transmission direction of each LED driver is variable, thereby realizing the conduction of the first directional path or the conduction of the second directional path.
[0015] In an optional implementation, when the second directional path is turned on, starting from the last LED driver, in response to the addressing instruction, an address data signal for determining a target address of the LED driver is generated step by step, including:
[0016] When the second directional path is turned on, each LED driver in the LED driving branch determines whether it is the last-stage LED driver;
[0017] If it is determined that it is the last-stage LED driver, then in response to the addressing instruction, the address data signal is generated according to the first preset address;
[0018] If it is determined that it is not the last-stage LED driver, then in response to the addressing instruction, the address data signal is generated according to a preset step value and the address data signal received from the non-last-stage LED driver.
[0019] The above method, for each LED driver in any LED driving branch, if it is confirmed that it is the last-stage LED driver, it will respond to the addressing instruction and generate an address data signal, and the address information in the address data signal is the first preset address; if it is confirmed that it is not the last-stage LED driver, it will respond to the addressing instruction and generate an address data signal, and the address information in the address data signal is determined according to the preset step value and the address information in the address data signal received by the LED driver. In the above manner, each LED driver generates an address data signal for determining the target address.
[0020] In an optional implementation manner, each LED driver determines whether it is the last-stage LED driver, including:
[0021] Each LED driver detects the level state of its own designated input and output pins. If the level state of the designated input and output pins is a preset level state and the preset level state is maintained for a preset time, it determines that it is the last-level LED driver, wherein the starting time of the preset time is the time when the vertical synchronization signal jumps from the first level state to the second level state.
[0022] In the above method, since only the second input / output pin of the last-stage LED driver in each LED driving branch is suspended, when the second directional path is turned on, the level state of the second input / output pin of the last-stage LED driver will maintain a low level. Each LED driver can determine whether it is the last-stage LED driver by continuously detecting the level state of its own second input / output pin within a preset time period.
[0023] In an optional implementation, generating the address data signal according to the preset step value and the address data signal received by the non-last-stage LED driver includes:
[0024] For any LED driver in the non-last-stage LED driver, an address data signal corresponding to the LED driver is generated according to the sum of the address information in the address data signal received from the previous-stage LED driver and the preset step value.
[0025] In the above method, for any non-last-stage LED driver in any LED driving branch, after the LED driver receives the address data signal transmitted by the subsequent-stage LED driver, the LED driver uses the sum of the address information in the received address data signal and the preset step value as the address information in the address data signal generated by itself, and sends the address data signal generated by itself to the previous-stage LED driver.
[0026] In an optional implementation, the target address is determined by:
[0027] For any LED driver, the LED driver uses the address information in the generated address data signal as the target address of the LED driver.
[0028] The above method uses the address information in the address data signal generated by the LED driver as its own target address and stores it to achieve addressing of the LED driver.
[0029] In an optional implementation manner, after transmitting the address data signal to the BCON through the second directional path, the method further includes:
[0030] When the BCON determines that the address information in the received address data signal is the same as the second preset address, it determines that all LED drivers have completed addressing.
[0031] In the above method, when BCON detects that the address information in the address data signal sent by the first-level LED driver in the LED driving branch is the same as the second preset address stored in itself, it is determined that the addressing of each LED driver in the LED driving branch is carried out normally, and all LED drivers in the backlight control system complete the addressing operation.
[0032] In a second aspect, an embodiment of the present invention provides an addressing device for an LED driver, which is applied to a backlight control system, wherein the backlight control system includes a BCON and a backlight unit, wherein the backlight unit includes a plurality of LED driving branches arranged in parallel, each LED driving branch includes a plurality of LED drivers arranged in cascade, and the device includes:
[0033] A signal sending module, used for sending a vertical synchronization signal to at least one LED driving branch, so that at least one LED driving branch conducts a first directional path or a second directional path according to the level state of the vertical synchronization signal, wherein the first directional path and the second directional path are two paths in the LED driving branch that are opposite to each other;
[0034] An addressing module is used to transmit an addressing instruction step by step through the first directional path when the first directional path is turned on, and to respond to the addressing instruction starting from the last level of LED driver, to generate an address data signal for determining a target address of the LED driver step by step when the second directional path is turned on, and to transmit the address data signal to the BCON through the second directional path.
[0035] In an optional implementation, the signal sending module is specifically used to:
[0036] If the LED driving branch determines that the level state of the vertical synchronization signal is a first level state, then the first directional path is turned on;
[0037] If the LED driving branch determines that the level state of the vertical synchronization signal is the second level state, then the second directional path is turned on;
[0038] The first level state and the second level state are different.
[0039] In an optional implementation, the addressing module is specifically used for:
[0040] When the second directional path is turned on, each LED driver in the LED driving branch determines whether it is the last-stage LED driver;
[0041] If it is determined that it is the last-stage LED driver, then in response to the addressing instruction, the address data signal is generated according to the first preset address;
[0042] If it is determined that it is not the last-stage LED driver, then in response to the addressing instruction, the address data signal is generated according to a preset step value and the address data signal received from the non-last-stage LED driver.
[0043] In an optional implementation, the addressing module is specifically used for:
[0044] Each LED driver detects the level state of its own designated input and output pins. If the level state of the designated input and output pins is a preset level state and the preset level state is maintained for a preset time, it determines that it is the last-level LED driver, wherein the starting time of the preset time is the time when the vertical synchronization signal jumps from the first level state to the second level state.
[0045] In an optional implementation, the addressing module is specifically used for:
[0046] For any LED driver in the non-last-stage LED driver, an address data signal corresponding to the LED driver is generated according to the sum of the address information in the address data signal received from the previous-stage LED driver and the preset step value.
[0047] In an optional implementation, the target address is determined by:
[0048] For any LED driver, the LED driver uses the address information in the generated address data signal as the target address of the LED driver.
[0049] In an optional embodiment, the device further comprises:
[0050] When the BCON determines that the address information in the received address data signal is the same as the second preset address, it determines that all LED drivers have completed addressing.
[0051] In a third aspect, an embodiment of the present invention provides an electronic device, including:
[0052] A memory for storing executable instructions;
[0053] A processor is used to read and execute the executable instructions stored in the memory to implement the steps of the addressing method of the LED driver as described in any one of the embodiments of the first aspect above.
[0054] In a fourth aspect, an embodiment of the present invention provides a backlight control system, including a BCON and a backlight unit, wherein the backlight unit includes a plurality of LED driving branches arranged in parallel, and each LED driving branch includes a plurality of LED drivers arranged in cascade;
[0055] The BCON is used to send a vertical synchronization signal to at least one LED driving branch, so that at least one LED driving branch turns on a first directional path or a second directional path according to the level state of the vertical synchronization signal, wherein the first directional path and the second directional path are two paths in the LED driving branch that are opposite to each other; when the first directional path is turned on, an addressing instruction is transmitted step by step through the first directional path, and when the second directional path is turned on, starting from the last level of LED driver, in response to the addressing instruction, an address data signal for determining a target address of the LED driver is generated step by step, and the address data signal is transmitted to the BCON through the second directional path.
[0056] In a fifth aspect, a backlight control system is applicable to the addressing method of the LED driver as described in any one of the embodiments of the first aspect, the backlight control system comprises a backlight drive controller BCON and a backlight unit, the backlight unit comprises a plurality of LED drive branches arranged in parallel, each LED drive branch comprises a plurality of LED drivers arranged in cascade, wherein:
[0057] The input and output ends of the BCON are respectively electrically connected to the first input and output pins of the first-stage LED driver in each LED driving branch, and the control end of the BCON is respectively electrically connected to the control pins of each LED driver in each LED driving branch;
[0058] The second input / output pin of the last LED driver in each LED driving branch is left floating;
[0059] The first directional path is a transmission path from the BCON to the last-stage LED driver; the second directional path is a data transmission path from the last-stage LED driver to the BCON.
[0060] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium. When instructions in the storage medium are executed by a processor, the processor is enabled to perform the steps of the addressing method of the LED driver as described in any embodiment of the first aspect above.
[0061] For the technical effects that may be achieved by the addressing device of the LED driver disclosed in the second aspect, the electronic device disclosed in the third aspect, the backlight control system disclosed in the fourth aspect, the backlight control system disclosed in the fifth aspect, and the computer-readable storage medium disclosed in the sixth aspect, please refer to the above description of the technical effects that can be achieved by the first aspect or various possible schemes in the first aspect, and no repetition will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0063] Figure 1 A schematic diagram of the structure of a backlight control system provided by an embodiment of the present invention;
[0064] Figure 2 A schematic diagram of the structure of any LED driver in a backlight control system provided by an embodiment of the present invention;
[0065] Figure 3 A schematic diagram of the internal structure of any LED driver in a backlight control system provided by an embodiment of the present invention;
[0066] Figure 4 A flowchart of an addressing method for an LED driver provided by an embodiment of the present invention;
[0067] Figure 5 A schematic diagram of the structure of another backlight control system provided by an embodiment of the present invention;
[0068] Figure 6 A transmission schematic diagram of a first directional path based on a backlight control system provided by an embodiment of the present invention;
[0069] Figure 7 A transmission schematic diagram of a second directional path based on a backlight control system provided by an embodiment of the present invention;
[0070] Figure 8 A schematic diagram of the states of input and output pins of an LED driver provided by an embodiment of the present invention;
[0071] Fig. 9 A schematic diagram of signal waveforms of each LED driver in any LED driving branch in a backlight control system provided by an embodiment of the present invention;
[0072] Fig.10A schematic diagram of the module structure of an addressing device for an LED driver provided by an embodiment of the present invention;
[0073] Fig.11 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;
[0074] Fig.12 A schematic diagram of the structure of another backlight control system provided by an embodiment of the present invention;
[0075] Fig.13 A schematic diagram of a program product of an addressing method for an LED driver provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0076] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0077] Furthermore, in the description of the embodiments of the present invention, unless otherwise specified, “ / ” means or. For example, A / B can mean A or B. The “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present invention, “plurality” refers to two or more than two.
[0078] In the following, the terms "first" and "second" are used for descriptive purposes only and shall not be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, unless otherwise specified, "plurality" means two or more.
[0079] The embodiments of the present invention provide an addressing method and device for an LED driver and a backlight control system, which are used to address an LED driver with a variable data transmission direction in a backlight control system. The purpose, functional features and advantages of the present invention will be further described in conjunction with the embodiments and with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0080] The addressing method of the LED driver provided in the embodiment of the present invention can be applied to a backlight control system, which includes a BCON and a backlight unit. The backlight unit includes a plurality of LED driving branches arranged in parallel, and each LED driving branch includes a plurality of LED drivers arranged in cascade.
[0081] Figure 1 A schematic diagram of the structure of a backlight control system is shown in FIG. Figure 1 As shown, the backlight control system includes BCON 101 and a backlight unit 102; the backlight unit 102 includes n LED driving branches arranged in parallel, namely a first LED driving branch, a second LED driving branch, ..., an nth LED driving branch, wherein n is a positive integer; each LED driving branch includes m LED drivers arranged in cascade, wherein m is a positive integer.
[0082] For example, Figure 1 The first LED driving branch in includes LED driver 11, LED driver 12, ..., LED driver 1(m-1) and LED driver 1m; Figure 1 The second LED driving branch in includes LED driver 21, LED driver 22, ..., LED driver 2(m-1) and LED driver 2m; and so on.
[0083] Therefore, the backlight unit 102 includes n×m backlight partitions, and the LED driver in each backlight partition is used to control the brightness of all LEDs in the backlight partition. Any backlight partition in the embodiment of the present invention may include one LED or multiple LEDs, for example, 2 LEDs, 4 LEDs, etc., and the embodiment of the present invention does not impose any restrictions on this.
[0084] Since the LED drivers in the above backlight control system are completely the same, the structure of the LED driver is described by taking the LED driver 21 as an example:
[0085] Figure 2 FIG. 4 shows a schematic diagram of the structure of any LED driver in the above backlight control system. Figure 2 As shown, the LED driver 21 includes three I / O (Input / Output) pins for communication, wherein the first input / output pin (PIN1) of the LED driver 21 is a bidirectional communication I / O pin, the second input / output pin (PIN2) of the LED driver 21 is also a bidirectional communication I / O pin, and the control pin of the LED driver 21 is an input pin for receiving the frame synchronization signal Vsync sent by the BCON 101.
[0086] In the specific implementation, Figure 1 In the backlight control system shown, BCON 101 includes a plurality of input and output terminals (1_I / O, ..., n_I / O) and a control terminal (1_Vsync, ..., n_Vsync), wherein the first LED driving branch is taken as an example: the first-stage LED driver in the first LED driving branch, i.e., the first input and output pin (PIN1) of the LED driver 11 is electrically connected to the first input and output terminal (1_I / O) of BCON 101, and BCON 101 sends a backlight control signal and a backlight control instruction to the first LED driving branch through the first input and output terminal;
[0087] The second input-output pin (PIN2) of the LED driver 11 is electrically connected to the first input-output pin (PIN1) of the second-stage LED driver in the first LED driving branch, that is, the LED driver 12;
[0088] The second input / output pin (PIN2) of the LED driver 12 is electrically connected to the third-level LED driver in the first LED driving branch, that is, the first input / output pin (PIN1) of the LED driver 13; and so on;
[0089] The second input / output pin (PIN2) of the last LED driver in the first LED driving branch, i.e., the LED driver 1m, is left floating;
[0090] The control end of each LED driver in the first LED driving branch is electrically connected to the first control end (1_Vsync) of BCON 101. BCON 101 sends a frame synchronization signal Vsync to the control end of each LED driver in the first LED driving branch through the first control end (1_Vsync). The connection method of other LED driving branches in the backlight control system is similar to the connection method of the first LED driving branch, and will not be repeated here.
[0091] It should be noted that n and m in the embodiment of the present invention are set according to actual business requirements. n and m may be equal or unequal, and the embodiment of the present invention does not impose any limitation on this.
[0092] Figure 3 FIG. 4 shows a schematic diagram of the internal structure of any LED driver in the above backlight control system. Figure 3 As shown, the LED driver 21 includes a command parsing unit 301, a data receiving and processing unit 302, a storage unit 303, a first input buffer BUF 1, a second input buffer BUF 2, a third input buffer BUF 3, a first tri-state buffer T_BUF 1, a second tri-state buffer T_BUF 2 and a resistor R1;
[0093] The first input-output pin (PIN1) is electrically connected to the input end of the first input buffer BUF 1 and the output end of the second tri-state buffer T_BUF 2, respectively; the second input-output pin (PIN2) is electrically connected to the output end of the first tri-state buffer T_BUF1, the input end of the second input buffer BUF 2 and the first end of the resistor R1, respectively; and the control pin is electrically connected to the input end of the third input buffer BUF 3;
[0094] The output end of the third input buffer BUF3 is electrically connected to the control end of the first tri-state buffer T_BUF1, the first input end of the command parsing unit 301, the first input end of the data receiving and processing unit 302, and the control end of the second tri-state buffer T_BUF2 respectively;
[0095] The output end of the first input buffer BUF 1 is electrically connected to the input end of the first tri-state buffer T_BUF 1 and the second input end of the command parsing unit 301 respectively;
[0096] The output end of the command parsing unit 301 is electrically connected to the second input end of the data receiving and processing unit 302;
[0097] The output terminal of the second input buffer BUF 2 is electrically connected to the third input terminal of the data receiving and processing unit 302;
[0098] The input / output end of the data receiving and processing unit 302 is electrically connected to the input / output end of the storage unit 303, and the output end of the data receiving and processing unit 302 is electrically connected to the input end of the second tri-state buffer T_BUF2;
[0099] A second terminal of the resistor R1 is grounded.
[0100] Optionally, the resistor R1 may be a pull-down resistor with a resistance of 10KΩ.
[0101] Optionally, the first tri-state buffer T_BUF1 is a high-level enabled buffer, and the second tri-state buffer T_BUF2 is a low-level enabled buffer.
[0102] In a specific implementation, after the control pin receives the frame synchronization signal Vsync from BCON 101, the frame synchronization signal Vsync is sent to the control end of the first three-state buffer T_BUF 1 and the control end of the second three-state buffer T_BUF 2 through the third input buffer BUF 3, and the first three-state buffer T_BUF 1 and the second three-state buffer T_BUF 2 set their own states according to the received frame synchronization signal Vsync.
[0103] Exemplarily, if the current level state of the frame synchronization signal Vsync is a high level, the first three-state buffer T_BUF 1 is controlled to be in an output state, that is, the path between the input end of the first three-state buffer T_BUF 1 and the output end of the first three-state buffer T_BUF 1 is turned on, so the second input-output pin (PIN2) is in an output state, and the second three-state buffer T_BUF 2 is controlled to be in a high-impedance state, that is, the path between the input end of the second three-state buffer T_BUF 2 and the output end of the second three-state buffer T_BUF 2 is turned off, so the first input-output pin (PIN1) is in an input state.
[0104] At this time, the data transmission path in the LED driver 21 is: the first input-output pin (PIN1) → the first input buffer BUF 1 → the first tri-state buffer T_BUF 1 → the second input-output pin (PIN2); the data transmitted through this data transmission path only needs to pass through two levels of buffers, and no data processing is required, so that the transmitted data is directly transparently transmitted, with only a ns-level delay. At the same time, the first input buffer BUF 1 will transmit the received data to the command parsing unit 301, and the command parsing unit 301 will parse the received data and send the parsing result to the data receiving and processing unit 302 for processing.
[0105] Exemplarily, if the current level state of the frame synchronization signal Vsync is a low level, the first tri-state buffer T_BUF 1 is controlled to be in a high-impedance state, that is, the path between the input end of the first tri-state buffer T_BUF 1 and the output end of the first tri-state buffer T_BUF 1 is disconnected, so the second input-output pin (PIN2) is in an input state, and the second tri-state buffer T_BUF 2 is controlled to be in an output state, that is, the path between the input end of the second tri-state buffer T_BUF 2 and the output end of the second tri-state buffer T_BUF 2 is turned on, so the first input-output pin (PIN1) is in an output state.
[0106] At this time, the data transmission path in the LED driver 21 is: the second input-output pin (PIN2) → the second input buffer BUF 2 → the data receiving and processing unit 302 → the second three-state buffer T_BUF 2 → the first input-output pin (PIN1); the data transmitted through the data transmission path is processed at the data receiving and processing unit 302 according to the received analysis result.
[0107] The storage unit 303 is used to store various relevant data in the backlight control process, such as address information, chip configuration information of the LED driver, chip status information of the LED driver, brightness information of backlight adjustment, etc.
[0108] For example Figure 1 In the backlight control system shown, since each LED driver in the backlight unit 102 is the same, in order to achieve independent control of each LED driver, BCON needs to first determine the address of each LED driver, that is, address each LED driver, before sending brightness control information.
[0109] like Figure 4 As shown, it is a working flow chart of an addressing method of an LED driver provided by an embodiment of the present invention. The method is based on Figure 1 The backlight control system shown in the figure, the specific steps of the method are as follows:
[0110] Step S401, BCON sends a vertical synchronization signal Vsync to at least one LED driving branch, so that at least one LED driving branch turns on a first directional path or a second directional path according to the level state of the vertical synchronization signal Vsync, wherein the first directional path and the second directional path are two paths in opposite directions in the LED driving branch;
[0111] In a specific implementation, BCON sends a vertical synchronization signal Vsync to a control pin of each LED driver in an LED driving branch electrically connected to the control end through a corresponding control end. Under the control of the vertical synchronization signal Vsync received by its own control pin, each LED driver in the LED driving branch turns on its own data transmission path, thereby determining the path of the LED driving branch.
[0112] In an optional embodiment, if the LED driving branch determines that the level state of the vertical synchronization signal Vsync is a first level state, the first directional path is turned on; if the LED driving branch determines that the level state of the vertical synchronization signal Vsync is a second level state, the second directional path is turned on; wherein the first level state and the second level state are different.
[0113] Optionally, the first level state is a high level state, and the second level state is a low level state.
[0114] The following embodiments are all based on Figure 5 Taking the second LED driving branch in the backlight control system shown in FIG. 1 as an example, BCON 101 sends a vertical synchronization signal Vsync to the control pins of LED drivers 21 to 2m in the second LED driving branch through the second control terminal (2_Vsync):
[0115] Exemplarily, when the vertical synchronization signal Vsync is in a high level state, Figure 6As shown, under the control of the high-level vertical synchronization signal Vsync, the LED driver 21 sets its own data transmission direction as: the first input-output pin (PIN1) → the first input buffer BUF 1 → the first tri-state buffer T_BUF 1 → the second input-output pin (PIN2), Figure 8 A schematic diagram of the state of the input and output pins of an LED driver is shown in FIG. Figure 8 As shown, the first input / output pin (PIN1) of the LED driver 21 is used to input (Input) data, and the second input / output pin (PIN2) of the LED driver 21 is used to output (Output) data; similarly, the data transmission direction of the LED driver 22 is consistent with the data transmission direction of the LED driver 21, that is, the first input / output pin (PIN1) of the LED driver 22 is used to input data, and the second input / output pin (PIN2) of the LED driver 22 is used to output data; and so on. Thus, the first directional path is determined as: BCON 101→LED driver 21→LED driver 22→…→LED driver 2m.
[0116] Exemplarily, when the vertical synchronization signal Vsync is in a low level state, Figure 7 As shown, the LED driver 21 sets its own data transmission direction under the control of the low-level vertical synchronization signal Vsync: the second input-output pin (PIN2) → the second input buffer BUF 2 → the data receiving and processing unit 302 → the second tri-state buffer T_BUF 2 → the first input-output pin (PIN1), as shown in FIG. Figure 8 As shown, the second input / output pin (PIN2) of LED driver 21 is used to input (Input) data, and the first input / output pin (PIN1) of LED driver 21 is used to output (Output) data; similarly, the data transmission direction of LED driver 22 is consistent with the data transmission direction of LED driver 21, that is, the second input / output pin (PIN2) of LED driver 22 is used to input data, and the first input / output pin (PIN1) of LED driver 22 is used to output data; and so on. Thus, the second directional path is determined as: LED driver 2m→LED driver 2(m-1)→…→LED driver 21→BCON101.
[0117] In the above method, when the vertical synchronization signal is in the first level state, the first input and output pins of each LED driver in the LED driving branch are controlled to be input pins, and the second input and output pins of each LED driver are controlled to be output pins, so as to realize the conduction of the first directional path, that is, the first directional path is the path from BCON to the last LED driver in the LED driving branch; when the vertical synchronization signal is in the second level state, the second input and output pins of each LED driver in the LED driving branch are controlled to be input pins, and the first input and output pins of each LED driver are controlled to be output pins, so as to realize the conduction of the second directional path, that is, the second directional path is the path from the last LED driver in the LED driving branch to BCON. Through the above vertical synchronization signal, the data transmission direction of each LED driver is variable, thereby realizing the conduction of the first directional path or the conduction of the second directional path.
[0118] Step S402, when the first directional path is turned on, BCON transmits the addressing instruction step by step through the first directional path, and when the second directional path is turned on, starting from the last level of LED driver, responding to the addressing instruction, generating an address data signal for determining the target address of the LED driver step by step, and transmitting the address data signal to BCON through the second directional path.
[0119] against Figure 1 The backlight control system shown is described by taking the second LED driving branch as an example:
[0120] In a specific implementation, when the first directional path is turned on, the data transmission direction in the backlight control system is: BCON 101→LED driver 21→LED driver 22→…→LED driver 2m. At this time, BCON 101 sends an addressing instruction to the first input / output pin (PIN1) of the LED driver 21 through the second I / O terminal (2_I / O). After receiving the addressing instruction, the LED driver 21 transmits the addressing instruction to its own second input / output pin (PIN2) through a two-stage buffer (a first input buffer BUF 1 and a first tri-state buffer T_BUF 1), and then transmits it to the first input / output pin (PIN1) of the LED driver 22. At the same time, the LED driver 21 transmits the addressing instruction to its own command parsing unit 301. The command parsing unit 301 parses the received instruction, determines that the instruction is an instruction for addressing, and transmits the parsing result to the data receiving and processing unit 302. The data receiving and processing unit 302 waits for the next step of processing. After receiving the addressing instruction, the LED driver 22 transmits it to the LED driver 23 in the same way, and then to the LED driver 2m in the same way.
[0121] Fig. 9FIG. 4 shows a schematic diagram of signal waveforms of each LED driver in any LED driving branch in a backlight control system, such as Fig. 9 As shown, when the vertical synchronization signal Vsync is in a high level state, the first directional path is turned on, and BCON transmits the addressing instruction to the last level LED driver step by step through the first directional path, that is, BCON sends the addressing instruction to the LED driver 21 through 2_I / O, and then, the LED driver 21 transmits the addressing instruction to the LED driver 22 through the second input and output pin (PIN2), and then, the LED driver 22 transmits the addressing instruction to the LED driver 23 through the second input and output pin (PIN2), and transmits it step by step until it is transmitted to the LED driver 2m.
[0122] In the above method, since the addressing instruction is transmitted in each LED driver, no data processing is performed until it passes through the two-stage buffer (the first input buffer BUF 1 and the first tri-state buffer T_BUF 1), the transmission delay of the addressing instruction in each LED driver is at the ns (nanosecond) level, and the transmission delay is very short, so that the transmission delay of the addressing instruction from the first-stage LED driver of the LED driving branch to the last-stage LED driver is also very short, thereby speeding up the transmission efficiency.
[0123] In an optional embodiment, when the second directional path is turned on, each LED driver in the LED driving branch determines whether it is the last-stage LED driver; if it is determined to be the last-stage LED driver, it generates an address data signal according to the first preset address in response to the addressing instruction; if it is determined to be a non-last-stage LED driver, it generates an address data signal according to the preset step value and the address data signal received by the non-last-stage LED driver in response to the addressing instruction.
[0124] In a specific implementation, after each LED driver in the backlight control system receives the above-mentioned addressing instruction, BCON controls the level state of the vertical synchronization signal Vsync to jump from a high level state to a low level state. At this time, the second directional path is turned on, and the data transmission direction in the backlight control system is: LED driver 2m→LED driver 2(m-1)→…→LED driver 21→BCON 101. Each LED driver enters the addressing mode. At this time, each LED driver controls the level state of its own first input and output pin (PIN1) to be high level. In the second LED driving branch, each LED driver has a pull-down resistor R1. Since the second input and output pin (PIN2) of the LED driver 2m is suspended, the level state of the second input and output pin (PIN2) of the LED driver 2m is low level (weak 0); however, the level states of the second input and output pins (PIN2) of the non-last-stage LED drivers (LED driver 21, …LED driver 2(m-1)) other than the LED driver 2m are all high level.
[0125] In an optional implementation, each LED driver determines whether it is the last-stage LED driver in the following manner: each LED driver detects the level state of its own designated input and output pins; if the level state of the designated input and output pins is a preset level state, and the preset level state is maintained for a preset time period, then it determines that it is the last-stage LED driver, wherein the starting time of the preset time period is the time when the vertical synchronization signal jumps from the first level state to the second level state.
[0126] Optionally, the designated input / output pin in the embodiment of the present invention may be a second input / output pin (PIN2).
[0127] Optionally, the preset level state in the embodiment of the present invention may be a low level state.
[0128] In a specific implementation, each LED driver (LED driver 21, ... LED driver 2m) in the second LED driving branch detects whether the level state of its own second input-output pin (PIN2) is a low level state when the vertical synchronization signal Vsync jumps from a high level state to a low level state. If the level state of the second input-output pin (PIN2) of a certain LED driver is a low level state, the detection is continued for a preset time period. If the low level state of the second input-output pin (PIN2) of the LED driver can be maintained for a preset time period, the LED driver confirms that it is the last-level LED driver.
[0129] It should be noted that the preset time length in the embodiment of the present invention is an empirical value. For example, the preset time length may be 10 μs, 13 μs, 20 μs, etc., and the embodiment of the present application does not impose any limitation on this.
[0130] For example, the preset time length is set to 10 μs. Figure 8 As shown, when each LED driver in the second LED driving branch detects that the vertical synchronization signal Vsync jumps to a low level state, it continuously reads the level value of its own second input-output pin (PIN2) through the data receiving and processing unit 302; for example, if the level value of its own second input-output pin (PIN2) read by the LED driver 21 through the data receiving and processing unit 302 is 1, then the LED driver 21 confirms that it is not the last-stage LED driver. If the level value of its own second input-output pin (PIN2) read by the LED driver 2m through the data receiving and processing unit 302 is 0, and the level value 0 is maintained for 10μs, then the LED driver 2m confirms that it is the last-stage LED driver.
[0131] In the above method, since only the second input / output pin of the last-stage LED driver in each LED driving branch is suspended, when the second directional path is turned on, the level state of the second input / output pin of the last-stage LED driver will maintain a preset level. Each LED driver can determine whether it is the last-stage LED driver by continuously detecting the level state of its own second input / output pin within a preset time period.
[0132] Optionally, the first preset address in the embodiment of the present invention may be address 0.
[0133] In a specific implementation, when the LED driver 2m confirms that it is the last-stage LED driver and the LED driver (21, ..., 2(m-1)) confirms that it is not the last-stage LED driver, the LED driver 2m responds to the addressing instruction, generates an address data signal according to the first preset address through the data receiving and processing unit 302, and transmits the generated address data signal to the LED driver 2(m-1) through its own first input and output pin (PIN1). At the same time, the LED driver 2m determines its own target address according to the address data signal generated by itself, and stores the determined target address in the storage unit 303.
[0134] In an optional implementation, the target address is determined in the following manner: for any LED driver, the LED driver uses the address information in the generated address data signal as the target address of the LED driver.
[0135] Exemplarily, the LED driver 2m generates an address data signal carrying address 0 through the data receiving and processing unit 302, and transmits the address data signal to the second input and output pin (PIN2) of the LED driver 2(m-1) through the first input and output pin (PIN1) of the LED driver 2m. At the same time, the LED driver 2m uses address 0 as its own target address through the data receiving and processing unit 302, and transmits the target address 0 to the storage unit 303 for storage.
[0136] In an optional implementation, for any LED driver other than the last-stage LED driver, an address data signal corresponding to the LED driver is generated according to the sum of the address information in the address data signal received from the previous-stage LED driver and the preset step value.
[0137] Optionally, the preset step value in the embodiment of the present invention may be 1.
[0138] In a specific implementation, when LED driver 2m confirms that it is the last-stage LED driver and LED driver (21, ..., 2(m-1)) confirms that it is not the last-stage LED driver, LED driver 2(m-1) receives the address data signal sent by LED driver 2m, LED driver 2(m-1) identifies that the address information carried in the address data signal is address 0 through data receiving and processing unit 302, and then responds to the addressing instruction, takes the sum of address 0 and the preset step value as the new address, and generates an address data signal according to the new address, LED driver 2(m-1) transmits the address data signal generated by itself to LED driver 2(m-2) through its first input / output pin (PIN1), and at the same time, LED driver 2(m-1) determines its own target address according to the address data signal generated by itself, and stores the determined target address in storage unit 303.
[0139] After receiving the address data signal sent by LED driver 2(m-1), LED driver 2(m-2) performs the same operation as LED driver 2(m-1); and so on, until LED driver 21 transmits the address data signal generated by itself to BCON 101.
[0140] In the above method, for any non-last-stage LED driver in any LED driving branch, after the LED driver receives the address data signal transmitted by the subsequent-stage LED driver, the LED driver uses the sum of the address information in the received address data signal and the preset step value as the address information in the address data signal generated by itself, and sends the address data signal generated by itself to the previous-stage LED driver.
[0141] In an optional implementation, the target address is determined in the following manner: for any LED driver, the LED driver uses the address information in the generated address data signal as the target address of the LED driver.
[0142] Exemplarily, after LED driver 2(m-1) receives the address data signal carrying address 0 sent by LED driver 2m, the data receiving and processing unit 302 identifies the address information in the received address data signal as address 0, adds 1 to address 0 to obtain address 1, and then generates an address data signal carrying address 1, and transmits the newly generated address data signal to the second input and output pin (PIN2) of LED driver 2(m-2) through the first input and output pin (PIN1) of LED driver 2(m-1). At the same time, LED driver 2(m-1) uses address 1 as its own target address through the data receiving and processing unit 302, and transmits the target address 1 to the storage unit 303 for storage.
[0143] Exemplarily, after LED driver 2(m-2) receives the address data signal carrying address 1 sent by LED driver 2(m-1), the data receiving and processing unit 302 identifies the address information in the received address data signal as address 1, and adds 1 to address 1 to obtain address 2, then generates an address data signal carrying address 2, and transmits the newly generated address data signal to the second input and output pin (PIN2) of LED driver 2(m-3) through the first input and output pin (PIN1) of LED driver 2(m-2). At the same time, LED driver 2(m-2) uses address 2 as its own target address through the data receiving and processing unit 302, and transmits the target address 2 to the storage unit 303 for storage; the non-last-stage LED drivers repeat the above operations step by step, so that in the second LED driving branch: LED driver 2m confirms that its own target address is 0, LED driver 2(m-1) confirms that its own target address is 1, LED driver 22 determines that its own target address is m-2,..., LED driver 21 determines that its own target address is m-1.
[0144] like Fig. 9As shown, when the vertical synchronization signal Vsync becomes a low level state, the second directional path is turned on, and 10μs later, the LED driver 2m sends the generated address data signal carrying address 0 to the second input-output pin (PIN2) of the LED driver 2(m-1), and then, the LED driver 2(m-1) sends the generated address data signal carrying address 1 to the second input-output pin (PIN2) of the LED driver 2(m-2), and transmits it step by step until the LED driver 21 sends the generated address data signal carrying address m-1 to BCON 101.
[0145] The above method, for each LED driver in any LED driving branch, if it is confirmed that it is the last-stage LED driver, it will respond to the addressing instruction and generate an address data signal, and the address information in the address data signal is the first preset address; if it is confirmed that it is not the last-stage LED driver, it will respond to the addressing instruction and generate an address data signal, and the address information in the address data signal is determined according to the preset step value and the address information in the address data signal received by the LED driver. In the above manner, each LED driver generates an address data signal for determining the target address.
[0146] In an optional implementation, after the address data signal is transmitted to the BCON through the second directional path, the BCON determines that all LED drivers have completed addressing when it determines that the address information in the received address data signal is the same as the second preset address.
[0147] Optionally, the second preset address in the embodiment of the present invention may be m-1.
[0148] In a specific implementation, after the LED driver 21 transmits the address data signal carrying the address m-1 generated by itself to the BCON 101, the BCON 101 compares the address information m-1 in the received address data signal with the second preset address stored in itself. If the address information m-1 is the same as the second preset address stored in itself, it is determined that the addressing of the LED driver is completed normally; if the address information m-1 is different from the second preset address stored in itself, an abnormality occurs in the addressing process of the LED driver, and the addressing operation is performed again until the addressing is completed normally.
[0149] In the addressing method of the LED driver provided by the embodiment of the present invention, under the control of the vertical synchronization signal sent by BCON, each LED driver in each LED driving branch determines its own data transmission direction, thereby turning on the first directional path or the second directional path, and BCON transmits the addressing instruction to each LED driver step by step through the turned-on first directional path, and after the second directional path is turned on, the last-level LED driver of each LED driving branch is turned on to respond to the addressing instruction, and generates an address data signal step by step, and each LED driver determines its own target address according to the address data signal generated by itself, until the address data signal is transmitted to BCON through the second directional path, thereby realizing the addressing of the LED driver with variable data transmission direction in the backlight control system.
[0150] Based on the same concept, an embodiment of the present invention further provides an addressing device for an LED driver, which is applied to a backlight control system. The backlight control system includes a BCON and a backlight unit. The backlight unit includes a plurality of LED driving branches arranged in parallel. Each LED driving branch includes a plurality of LED drivers arranged in cascade. Since the device is the device in the method in the embodiment of the present invention, and the principle of solving the problem by the device is similar to that of the method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0151] like Fig.10 As shown, the above device includes the following modules:
[0152] The signal sending module 1001 is used to send a vertical synchronization signal to at least one LED driving branch, so that the at least one LED driving branch conducts a first directional path or a second directional path according to the level state of the vertical synchronization signal, wherein the first directional path and the second directional path are two paths in opposite directions in the LED driving branch;
[0153] The addressing module 1002 is used to transmit the addressing instruction step by step through the first directional path when the first directional path is turned on, and to respond to the addressing instruction starting from the last level of LED driver, to generate the address data signal for determining the target address of the LED driver step by step when the second directional path is turned on, and transmit the address data signal to BCON through the second directional path.
[0154] In an optional implementation manner, the signal sending module 1001 is specifically configured to:
[0155] If the LED driving branch determines that the level state of the vertical synchronization signal is a first level state, the first directional path is turned on; if the LED driving branch determines that the level state of the vertical synchronization signal is a second level state, the second directional path is turned on, wherein the first level state and the second level state are different.
[0156] In an optional implementation, the addressing module 1002 is specifically configured to:
[0157] When the second directional path is turned on, each LED driver in the LED driving branch determines whether it is the last-stage LED driver; if it is determined to be the last-stage LED driver, it generates an address data signal according to the first preset address in response to the addressing instruction; if it is determined to be a non-last-stage LED driver, it generates an address data signal according to the preset step value and the address data signal received by the non-last-stage LED driver in response to the addressing instruction.
[0158] In an optional implementation, the addressing module 1002 is specifically configured to:
[0159] Each LED driver detects the level state of its own designated input and output pins. If the level state of the designated input and output pins is a preset level state and the preset level state is maintained for a preset time, it determines that it is the last-level LED driver, wherein the starting time of the preset time is the time when the vertical synchronization signal jumps from the first level state to the second level state.
[0160] In an optional implementation, the addressing module 1002 is specifically configured to:
[0161] For any LED driver in the non-last-stage LED driver, an address data signal corresponding to the LED driver is generated according to the sum of the address information in the address data signal received from the previous-stage LED driver and the preset step value.
[0162] In an optional implementation, the target address is determined by:
[0163] For any LED driver, the LED driver uses the address information in the generated address data signal as the target address of the LED driver.
[0164] In an optional implementation, the above device further includes an address determination module:
[0165] The address determination module is used to determine that all LED drivers have completed addressing when it is determined that the address information in the received address data signal is the same as the second preset address.
[0166] Based on the same concept, an embodiment of the present invention further provides an electronic device. Since the electronic device is the electronic device in the method in the embodiment of the present invention, and the principle of solving the problem by the electronic device is similar to that of the method, the implementation of the electronic device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0167] Refer to the following Fig.11 The electronic device 110 according to this embodiment of the present invention will be described. Fig.11 The electronic device 110 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0168] like Fig.11 As shown, the components of the electronic device 110 may include but are not limited to: the at least one processor 111 mentioned above, and the at least one memory 112 storing instructions executable by the processor 111. The processor 111 is a processor of a smart device.
[0169] The processor 111 executes the executable instructions to implement the following steps:
[0170] Sending a vertical synchronization signal to at least one LED driving branch, so that at least one LED driving branch conducts a first directional path or a second directional path according to a level state of the vertical synchronization signal, wherein the first directional path and the second directional path are two paths in opposite directions in the LED driving branch;
[0171] When the first directional path is turned on, the addressing instruction is transmitted step by step through the first directional path. When the second directional path is turned on, starting from the last level of LED driver, in response to the addressing instruction, an address data signal for determining the target address of the LED driver is generated step by step, and the address data signal is transmitted to BCON through the second directional path.
[0172] In an optional implementation manner, the processor 111 is specifically configured to:
[0173] If the LED driving branch determines that the level state of the vertical synchronization signal is a first level state, the first directional path is turned on; if the LED driving branch determines that the level state of the vertical synchronization signal is a second level state, the second directional path is turned on, wherein the first level state and the second level state are different.
[0174] In an optional implementation manner, the processor 111 is specifically configured to:
[0175] When the second directional path is turned on, each LED driver in the LED driving branch determines whether it is the last-stage LED driver; if it is determined to be the last-stage LED driver, it generates an address data signal according to the first preset address in response to the addressing instruction; if it is determined to be a non-last-stage LED driver, it generates an address data signal according to the preset step value and the address data signal received by the non-last-stage LED driver in response to the addressing instruction.
[0176] In an optional implementation manner, the processor 111 is specifically configured to:
[0177] Each LED driver detects the level state of its own designated input and output pins. If the level state of the designated input and output pins is a preset level state and the preset level state is maintained for a preset time, it determines that it is the last-level LED driver, wherein the starting time of the preset time is the time when the vertical synchronization signal jumps from the first level state to the second level state.
[0178] In an optional implementation manner, the processor 111 is specifically configured to:
[0179] For any LED driver in the non-last-stage LED driver, an address data signal corresponding to the LED driver is generated according to the sum of the address information in the address data signal received from the previous-stage LED driver and the preset step value.
[0180] In an optional implementation, the target address is determined by:
[0181] For any LED driver, the LED driver uses the address information in the generated address data signal as the target address of the LED driver.
[0182] In an optional implementation, the processor 111 is further configured to:
[0183] When it is determined that the address information in the received address data signal is the same as the second preset address, it is determined that all LED drivers have completed addressing.
[0184] Based on the same concept, the embodiment of the present invention also provides a backlight control system, such as Fig.12 As shown, the backlight control system 120 includes a BCON 121 and a backlight unit 122, the backlight unit 122 includes a plurality of LED driving branches arranged in parallel, and each LED driving branch includes a plurality of LED drivers arranged in cascade; since the backlight control system is the backlight control system in the method in the embodiment of the present invention, and the principle of solving the problem by the backlight control system is similar to that of the method, the implementation of the backlight control system can refer to the implementation of the method, and the repeated parts will not be repeated.
[0185] In some possible embodiments, various aspects of the present invention may also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of each module in the information publishing device according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification, for example, BCON sends a vertical synchronization signal to at least one LED driver branch, so that at least one LED driver branch turns on a first directional path or a second directional path according to the level state of the vertical synchronization signal, wherein the first directional path and the second directional path are two paths in the LED driver branch that are opposite to each other; when the first directional path is turned on, the addressing instruction is transmitted step by step through the first directional path, and when the second directional path is turned on, starting from the last level of the LED driver, in response to the addressing instruction, an address data signal for determining the target address of the LED driver is generated step by step, and the address data signal is transmitted to BCON through the second directional path.
[0186] like Fig.13 As shown, a program product 130 of an addressing method of an LED driver according to an embodiment of the present invention is described, which can be in a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus, or a device.
[0187] The present application is described above with reference to the block diagrams and / or flow charts showing the methods, devices (systems) and / or computer program products according to the embodiments of the present application. It should be understood that a block of the block diagram and / or flow chart diagram and a combination of blocks of the block diagram and / or flow chart diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer and / or other programmable data processing device to produce a machine, so that the instructions executed by the computer processor and / or other programmable data processing device create a method for implementing the functions / actions specified in the block diagram and / or flow chart block.
[0188] Accordingly, the present application may also be implemented with hardware and / or software (including firmware, resident software, microcode, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium, which has a computer-usable or computer-readable program code implemented in the medium, for use by an instruction execution system or in conjunction with an instruction execution system. In the context of the present application, a computer-usable or computer-readable medium may be any medium that may contain, store, communicate, transmit, or convey a program for use by an instruction execution system, device, or apparatus, or in conjunction with an instruction execution system, device, or apparatus.
[0189] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for addressing a light emitting diode (LED) driver, characterized in that: Applied to a backlight control system, the backlight control system comprises a backlight drive controller BCON and a backlight unit, the backlight unit comprises a plurality of LED drive branches arranged in parallel, each LED drive branch comprises a plurality of LED drivers arranged in cascade; The BCON sends a vertical synchronization signal to at least one LED driving branch, so that the at least one LED driving branch conducts a first directional path or a second directional path according to the level state of the vertical synchronization signal, wherein the first directional path and the second directional path are two paths in the LED driving branch that are opposite to each other; When the first directional path is turned on, the BCON transmits addressing instructions step by step through the first directional path. When the second directional path is turned on, starting from the last level of LED driver, in response to the addressing instructions, an address data signal for determining the target address of the LED driver is generated step by step, and the address data signal is transmitted to the BCON through the second directional path.
2. The method according to claim 1, characterized in that The at least one LED driving branch conducts the first directional path or the second directional path according to the level state of the vertical synchronization signal, including: If the LED driving branch determines that the level state of the vertical synchronization signal is a first level state, then the first directional path is turned on; If the LED driving branch determines that the level state of the vertical synchronization signal is the second level state, then the second directional path is turned on; The first level state and the second level state are different.
3. The method according to claim 1, characterized in that When the second directional path is turned on, starting from the last LED driver, in response to the addressing instruction, an address data signal for determining a target address of the LED driver is generated step by step, including: When the second directional path is turned on, each LED driver in the LED driving branch determines whether it is the last-stage LED driver; If it is determined that it is the last-stage LED driver, then in response to the addressing instruction, the address data signal is generated according to the first preset address; If it is determined that it is not the last-stage LED driver, then in response to the addressing instruction, the address data signal is generated according to a preset step value and the address data signal received from the non-last-stage LED driver.
4. The method according to claim 3, characterized in that Each LED driver determines whether it is the last-stage LED driver, including: Each LED driver detects the level state of its own designated input and output pins. If the level state of the designated input and output pins is a preset level state and the preset level state is maintained for a preset time, it determines that it is the last-level LED driver, wherein the starting time of the preset time is the time when the vertical synchronization signal jumps from the first level state to the second level state.
5. The method according to claim 3, characterized in that The step of generating the address data signal according to the preset step value and the address data signal received by the non-last-stage LED driver comprises: For any LED driver in the non-last-stage LED driver, an address data signal corresponding to the LED driver is generated according to the sum of the address information in the address data signal received from the previous-stage LED driver and the preset step value.
6. The method according to claim 1, characterized in that The target address is determined by: For any LED driver, the LED driver uses the address information in the generated address data signal as the target address of the LED driver.
7. The method according to any one of claims 1 to 6, characterized in that: After transmitting the address data signal to the BCON through the second directional path, the method further includes: When the BCON determines that the address information in the received address data signal is the same as the second preset address, it determines that all LED drivers have completed addressing.
8. A backlight control system, characterized in that: The addressing method for the light emitting diode LED driver according to claim 1, wherein the backlight control system comprises a backlight drive controller BCON and a backlight unit, wherein the backlight unit comprises a plurality of LED drive branches arranged in parallel, and each LED drive branch comprises a plurality of LED drivers arranged in cascade, wherein: The input and output ends of the BCON are respectively electrically connected to the first input and output pins of the first-stage LED driver in each LED driving branch, and the control end of the BCON is respectively electrically connected to the control pins of each LED driver in each LED driving branch; The second input / output pin of the last LED driver in each LED driving branch is left floating; The first directional path is a transmission path from the BCON to the last-stage LED driver; the second directional path is a data transmission path from the last-stage LED driver to the BCON.
9. An electronic device, characterized in that: include: A memory for storing executable instructions; A processor is used to read and execute the executable instructions stored in the memory to implement the steps of the addressing method of the light emitting diode (LED) driver according to any one of claims 1 to 7.
10. A backlight control system, characterized in that: It includes a backlight driving controller BCON and a backlight unit, wherein the backlight unit includes a plurality of LED driving branches arranged in parallel, and each LED driving branch includes a plurality of LED drivers arranged in cascade; The BCON is used to send a vertical synchronization signal to at least one LED driving branch, so that at least one LED driving branch turns on a first directional path or a second directional path according to the level state of the vertical synchronization signal, wherein the first directional path and the second directional path are two paths in the LED driving branch that are opposite to each other; when the first directional path is turned on, an addressing instruction is transmitted step by step through the first directional path, and when the second directional path is turned on, starting from the last level of LED driver, in response to the addressing instruction, an address data signal for determining a target address of the LED driver is generated step by step, and the address data signal is transmitted to the BCON through the second directional path.