Communication method based on bidirectional double lines, optical driving circuit and related equipment

By adopting a bidirectional two-wire communication method in the backlight module, the two-way data transmission of the optical drive circuit is realized, which solves the problems of high power consumption and low efficiency caused by the continuous operation of the clock signal in the prior art, improves the working efficiency and reduces the structural complexity.

CN119559911AActive Publication Date: 2025-03-04WARRIORS SEMICONDUCTOR CO LTD

Patent Information

Application Number
CN202510128228.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-05
Publication Date
2025-03-04
Estimated Expiration
2045-02-05

AI Technical Summary

Technical Problem

When determining the fault of the light source control chip, the existing backlight module needs a controller to provide clock signals for each light source control chip, resulting in high power consumption and low working efficiency, and complex structural complexity and wiring design.

Method used

Using a bidirectional and bi-wire communication method, bidirectional data transmission is realized through data lines and clock lines, allowing any control device to actively initiate data packet transmission. The controller does not need to provide a clock signal, and the light source control chip does not need to form a loop with the controller.

Benefits of technology

It reduces clock working time, reduces power consumption, improves the working efficiency of optical drive circuits, and reduces structural complexity and trace design difficulty.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119559911A_ABST
    Figure CN119559911A_ABST
Patent Text Reader

Abstract

The invention provides a communication method based on two-way double lines, an optical driving circuit and related equipment, and relates to the field of display. The communication method based on bidirectional double lines is applied to current control equipment, and comprises the following steps: acquiring a to-be-transmitted data packet; and in response to a sending demand for the to-be-transmitted data packet, sending a clock signal to a target device through the clock line, and transmitting the to-be-transmitted data packet to the target device through the data line under the control of the clock signal, sending the to-be-transmitted data packet to the target device, so that the target device receives the to-be-transmitted data packet through the data line under the control of the clock signal received by the clock line; the target device is a control device connected with the current control device through the data line and the clock line. The communication method based on bidirectional double lines can reduce clock power consumption and improve circuit working efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the display field, and in particular to a communication method based on bidirectional two-wires, an optical drive circuit and related equipment. Background Art

[0002] The backlight module includes a controller, multiple light source control chips and multiple light sources. Each light source control chip can control one or more light sources, and the controller controls multiple light source control chips.

[0003] Currently, in a backlight module, a controller is usually configured to send a readback instruction to each light source control chip at regular intervals to obtain data fed back by each light source control chip and determine whether each light source control chip is faulty.

[0004] In the process of the controller sending the readback instruction and waiting for the feedback of the readback data, the controller needs to always provide a clock signal for each light source control chip. The continuous operation of the clock will generate a large power consumption. Waiting for the feedback of the readback data will take a long time, affecting work efficiency. In addition, if the controller needs to read data from each light source control chip, the last level of the light source control chip of multiple light source control chips needs to be connected to the controller to form a loop. This method will require more communication ports to be configured on the controller and connected accordingly, which will increase the structural complexity of the backlight module, as well as the complexity of the wiring design and manufacturing of the backlight module. Summary of the invention

[0005] In view of this, the present application aims to improve a communication method based on bidirectional two-wire, an optical driving circuit and related equipment to improve the working efficiency of the optical driving circuit and reduce power consumption.

[0006] In the first aspect, an embodiment of the present application provides a communication method based on a bidirectional two-line, which is applied to a current control device, wherein the current control device is any control device in a light driving circuit, wherein the control device in the light driving circuit includes a controller and a light source control chip, and any two adjacent control devices are connected via a data line and a clock line; the controller and the last light source control chip receive and send data via the data line and the clock line; except for the controller and the last light source control chip, any one of the control devices is allowed to send data to adjacent control devices in the first direction and adjacent control devices in the second direction via the data line and the clock line, and via the The data line and the clock line receive data sent from adjacent control devices in the first direction and adjacent control devices in the second direction; the communication method based on the bidirectional two-line includes: obtaining a data packet to be transmitted; in response to a demand for sending the data packet to be transmitted, sending a clock signal to a target device through the clock line, and transmitting the data packet to be transmitted to the target device through the data line under the control of the clock signal, so that the target device receives the data packet to be transmitted through the data line under the control of the clock signal received by the clock line; the target device is a control device that is connected to the current control device through the data line and the clock line, and finally receives the data packet.

[0007] In the embodiment of the present application, the sending of the data packet can be actively initiated by any control device, and when data needs to be sent, the current control device provides a clock signal to the target device through the clock line, so that during the data transmission process, the controller does not need to provide a clock signal for each control device, reducing the clock working time, thereby effectively reducing the power consumption caused by the clock. In addition, the data packet is actively initiated by any control device, which makes it unnecessary for the controller to send a read-back instruction and then feedback the read-back data, effectively reducing the occupation of the working time of the data read-back and improving the overall working efficiency of the light drive circuit. In addition, since it is a bidirectional transmission (i.e., sending data in the first direction and the second direction, receiving data in the first direction and the second direction), the last light source control chip of the light drive circuit does not need to connect the output end back to the controller, so that the controller and the last light source control chip only need to set a clock port and a data port, and there is no need to set ports for sending and receiving data and clock signals respectively, which can further reduce the number of communication ports used at one end of the controller, reduce the structural complexity of the light drive circuit, and reduce the routing design and manufacturing difficulty of the light drive circuit.

[0008] In one embodiment, each of the control devices is configured with corresponding identification information; the data packet to be transmitted includes the first identification information of the target device; the current control device is any device other than the target device on the path from the sending control device to the target device; the sending control device is the control device that generates the data packet to be transmitted.

[0009] In the embodiment of the present application, by configuring identification information for each control device and configuring the first identification information of the receiving control device in the data packet, the data packet can be accurately sent to the receiving control device. Different from the prior art in which the light source control chip can only forward the data packet sent by the previous light source control chip (the light source control chip cannot actively send data packets to other light source control chips), the embodiment of the present application realizes the sending and receiving of data packets between light source control chips, which can improve the control effectiveness of the light drive circuit, help connect more light source control chips in the same light drive circuit, and improve the integration.

[0010] In one embodiment, the method of obtaining a data packet to be transmitted includes: receiving a data packet transmitted from a front-stage control device; determining whether its own device identification matches the first identification information in the data packet transmitted from the front-stage control device; and determining that the data packet transmitted from the front-stage control device is the data packet to be transmitted if its own device identification does not match the first identification information in the data packet transmitted from the front-stage control device.

[0011] In the embodiment of the present application, the receiver and initiator of the data packet can be any control device, and the control device on the path between the receiver and the initiator only needs to forward the data packet. Therefore, each control device determines the identification information of the data packet transmitted by the previous control device, thereby determining whether it is necessary to send the data packet to be transmitted, so that the data packet to be transmitted can be correctly transmitted downward until it reaches the receiver. This method can enable each control device to determine the receiver of the data and accurately transmit the data packet in the absence of a fixed receiver, thereby improving the reliability of communication between each control device under the two-way dual-line.

[0012] In one embodiment, the light source control chip is used to connect the light source; if the current control device is the light source control chip, the data packet to be transmitted includes status information of the control device that generates the data packet to be transmitted; or, obtaining the data packet to be transmitted includes: detecting the connected light source; if the connected light source has a fault, generating the data packet to be transmitted based on the faulty light source.

[0013] In the embodiment of the present application, after detecting a light source failure, the light source control chip can actively generate and send a data packet to instruct the controller to handle the failure in a timely manner. This method does not require the controller to issue a readback instruction and wait for the acquisition of fault information, which can improve the timeliness of fault handling in the event of a failure. In addition, the data packet to be transmitted can also include the status information of the control device that generates the data packet to be transmitted, so that each control device can send its own status information to other control devices to indicate the correct transmission of the data packet.

[0014] In one embodiment, before sending a clock signal to a target device through the clock line and transmitting the data packet to be transmitted to the target device through the data line under the control of the clock signal, the method further includes: determining that the clock line is in an idle state.

[0015] Since data packets can be transmitted bidirectionally between control devices, it is possible that two devices transmit data to each other at the same time. In an embodiment of the present application, it is determined that the clock line is in an idle state before transmitting data, so that data packets are transmitted in the idle state, thereby reducing possible conflicts in data transmission and improving the reliability of communication between control devices on the bidirectional dual-line.

[0016] In one embodiment, the method further includes: if the clock line is in a non-idle state, continuously detecting whether the clock line is in an idle state; after detecting that the clock line is in an idle state, sending a clock signal to the target device through the clock line, and transmitting the data packet to be transmitted to the target device through the data line under the control of the clock signal.

[0017] In an embodiment of the present application, if the clock line is in a non-idle state, the clock line is continuously detected, and the clock signal is transmitted after the clock line is idle, and the data packet is transmitted through the data line. Thus, the data packet can be transmitted to the target device, effectively reducing the loss of data packets and improving the reliability of communication between various control devices under the bidirectional dual-line.

[0018] In one embodiment, the current control device is also used to receive data packets sent by an adjacent control device, and the bidirectional two-line based communication method also includes: if the current control device simultaneously receives clock signals sent by two adjacent control devices through the clock line, then the priority of the two adjacent control devices is determined based on a preset priority relationship; the clock signal and data packet sent by the adjacent control device with a higher priority is received, and the adjacent control device with a lower priority is instructed to wait for transmission.

[0019] In the embodiment of the present application, two adjacent control devices transmit data packets successively through priority, thereby effectively reducing data transmission conflicts and data packet losses caused by data transmission conflicts, and improving the reliability of communication between control devices under the two-way dual-line.

[0020] In the second aspect, an embodiment of the present application also provides a light driving circuit, comprising: multiple control devices, data lines and clock lines, the multiple control devices including a controller and a light source control chip, any adjacent control devices communicate in series through the data line and the clock line; wherein any control device is used as the current control device to execute the bidirectional two-wire based communication method as described in any one of the first aspects.

[0021] In a third aspect, an embodiment of the present application provides a backlight module, comprising: a plurality of light sources and the light driving circuit described in the second aspect; each of the light sources is respectively connected to each of the light source control chips in the light driving circuit.

[0022] In a fourth aspect, an embodiment of the present application provides a display, comprising the optical driving circuit as described in the second aspect or the backlight module as described in the third aspect.

[0023] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising the display as described in the fourth aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without paying any creative work.

[0025] Figure 1 A schematic diagram of a light driving circuit provided in one embodiment of the present application; Figure 2 A flow chart of a bidirectional two-line communication method provided in one embodiment of the present application; Figure 3 This is a first schematic diagram of a data transmission conflict provided in an embodiment of the present application; Figure 4 A second schematic diagram of a data transmission conflict provided in an embodiment of the present application; Figure 5 A schematic diagram of a backlight module provided in one embodiment of the present application.

[0026] Icons: controller 110 ; light source control chip 120 ; light source 130 . DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. The embodiments described later in the present application and the implementation methods in the embodiments can be combined with each other to obtain new embodiments if there is no conflict.

[0028] First, an embodiment of the present application provides a light driving circuit, which can be configured in a backlight module to control the light source in the backlight module.

[0029] See also Figure 1 , Figure 1 This is a schematic diagram of a light driving circuit provided in an embodiment of the present application. The light driving circuit includes: a controller 110 and a plurality of light source control chips 120 .

[0030] In the embodiment of the present application, the controller 110 and the light source control chip 120 are both control devices. Any adjacent control devices are connected to each other through two lines: a clock line SDA and a data line SCL.

[0031] For example, Figure 1 As shown, if the light driving circuit includes a controller and N light source control chips 120, the serial numbers of each light source control chip are 1, 2, 3...N, respectively, and the controller is connected to the light source control chip with serial number 1 through SDA and SCL, where SDA is the data line and SCL is the clock line. Similarly, the light source control chip with serial number 1 and the light source control chip with serial number 2 are also connected through SDA and SCL, and the light source control chip with serial number k-1 and the light source control chip with serial number k are connected through two lines, SDA and SCL, where k is less than or equal to N and greater than 1. In the light driving circuit, each control device can be arranged first, and then connected in a daisy chain manner through different data line intervals of the data line and the clock line.

[0032] The controller 110 is used to output control instructions and dimming data for the light source.

[0033] In this embodiment, the controller 110 may include a data port and a clock port, the data port is used to connect a light source control chipset via a data line, and the clock port is used to connect a light source control chipset via a clock line, wherein a light source control chipset includes multiple light source control chips 120 connected in series via a data line.

[0034] In this embodiment, the controller 110 may send control instructions and dimming data for the light sources to each light source control chip 120 of each light source control chip group through a data port.

[0035] In this embodiment, the controller 110 may be a device with processing functions such as FPGA (Field Programmable Gate Array), MCU (Microcontroller Unit), etc. The functions, structure, transmitted data, etc. of the controller 110 may refer to the controller 110 of the existing backlight module, which will not be expanded here.

[0036] The light source control chip 120 can be connected to the controller 110 and one or more light sources, and the light source control chip 120 can receive dimming data and control instructions from the controller 110 to turn on or adjust the brightness of the light source. Exemplarily, the light source control chip 120 can implement the functions of an existing AMIC (Active Matrix LED Driver IC) or a backlight driver chip, and the light source can be an LED (light emitting diode).

[0037] In the embodiments of the present application, the above-mentioned controller and light source control chip are both control devices, and each control device is used as a current control device for executing the bidirectional two-line communication method provided in the present application.

[0038] In the embodiment of the present application, the controller and the last light source control chip can receive and send data through the data line and the clock line; except for the controller and the last light source control chip, any control device is allowed to send data to the adjacent control device in the first direction and the adjacent control device in the second direction through the data line and the clock line, and receive data sent by the adjacent control device in the first direction and the adjacent control device in the second direction through the data line and the clock line. The first direction and the second direction respectively represent the direction pointing to the controller and the direction pointing to the last light source control chip, that is, in the embodiment of the present application, each intermediate light source control chip can perform bidirectional two-line data transmission through the data line and the clock line.

[0039] In the existing scheme of transmitting data through a data line and a clock line, each control device is usually respectively provided with an input port and an output port. For example, the controller may provide an input port to receive data and an output port to send data. The input port of each light source control chip is connected to the output port of the previous-level control device. The last-level light source control chip may connect the output port to the input port of the controller. This method is not only a one-way data transmission, but also uses more ports. The connection between the output port of the last-level light source control chip and the input port of the controller may also make the wiring more complicated. In the embodiments of the present application, by enabling each control device to realize two-way two-wire communication, the use of the communication port of the controller may be reduced, and the last-level light source control chip does not need to be connected to the controller to form a loop. Thus, the structural complexity of the optical drive circuit is effectively reduced, and the wiring design and manufacturing difficulty of the optical drive circuit are reduced.

[0040] Next, the bidirectional two-wire communication method performed by any control device of the present application will be described. Figure 2 , Figure 2 A flow chart of a bidirectional two-wire communication method provided in an embodiment of the present application. The bidirectional two-wire communication method includes: S110, obtaining a data packet to be transmitted.

[0041] In the embodiment of the present application, both the controller 110 and the light source control chip 120 can actively initiate the transmission of a data packet. For example, the light source control chip 120 actively sends a data packet to the controller without an instruction from the controller 110 .

[0042] In an embodiment of the present application, the data packet to be transmitted may be generated by the current control device itself, or may be sent from an adjacent control device of the current control device. For example, a control device with a sequence number of k may receive a data packet sent from a control device with a sequence number of k-1, or may receive a data packet sent from a control device with a sequence number of k+1. At the same time, in an embodiment of the present application, data transmission may be bidirectional, for example, a control device with a sequence number of k may also receive a data packet sent from a control device with a sequence number of k-1, or may send a data packet to a control device with a sequence number of k+1.

[0043] In the embodiment of the present application, the content of each data packet may include: frame header, sender ID (identification information), receiver ID, operation address, operation length, data information, check information and frame tail. Among them, the sender ID is the second identification information of the sender control device that initially sends the data packet to be transmitted, and the receiver ID is the first identification information of the receiver control device that finally receives the data packet to be transmitted. The receiver control device is also the target device in the embodiment of the present application.

[0044] The frame header and frame tail are used to indicate the start and stop conditions. The frame header indicates the start of data transmission. When the slave device receives the frame header, it means that the line is occupied; receiving the frame tail indicates the end of transmission and the line is released. The highest bit of the operation address is the read / write operator, and the remaining bits are the operation address of the slave device (that is, the control device that ultimately needs to receive the data). The operation length is the number of data to be written / read continuously. The data information contains brightness information, fault information or other situation information. The check information ensures that there is no error in the data transmission and reception process. The above content carried in the data can refer to the existing technology and will not be expanded here.

[0045] In the embodiment of the present application, since the data transmission is bidirectional, except for the controller of the light driving circuit and the light source control chip 120 at the rear, the other control devices can transmit data forward or backward. Therefore, it is necessary to distinguish the transmission direction of the data. Therefore, in the embodiment of the present application, corresponding identification information can be configured for each control device, and the second identification information of the sender and the first identification information of the receiver can be written into the data to be transmitted at the same time, so as to determine the transmission direction of the data according to the second identification information and the first identification information. Accordingly, after the control device generates a data packet, the second identification information and the first identification information need to be added to the data packet to be transmitted.

[0046] In some embodiments, only the first identification information may be configured in the data packet, but not the second identification information. This method can be applied to the case where the data initiator is fixed. For example, the controller will actively initiate data transmission and send data packets to some or all light source control chips. At this time, the sender of the data packet is fixed, and the controller can only configure the first identification information of the receiving control device that receives the data packet in the data packet that it needs to output. The above is only an example and should not be a limitation to this application.

[0047] In the embodiment of the present application, after power-on initialization, corresponding device identification information may be configured for each control device. For example, corresponding identification information may be configured according to the connection order of each control device in the light driving circuit, such as the identification information of the controller 110 is 0, the identification information of the light source control chip 120 connected to the controller is 1, and the identification information of the subsequent light source control chips 120 is 2, 3, 4, 5...N in sequence.

[0048] It should be distinguished that, in the embodiments of the present application, there may be multiple control devices on the path between the sender control device and the receiver control device. The data packet is transmitted from the sender control device to the receiver control device in sequence through each control device between the sender control device and the receiver control device. In the data packet, the second identification information carried is the identification information of the sender control device that initially sent the data packet to be transmitted, and the first identification information is the identification information of the receiver control device that finally receives the data packet to be transmitted, that is, the identification information of each control device on the path between the sender control device and the receiver control device (target device) will not appear in the data packet.

[0049] Accordingly, the current control device that executes the bidirectional two-line communication method provided by the present application is any control device other than the receiving control device on the path between the sending control device and the receiving control device (target device). The control device that finally receives the data packet is the target device, and in fact, the current control device forwards the data packet through other control devices between the current control device and the target device, so the control device that receives the data packet output by the current control device is actually: the control device adjacent to the current control device on the path between the current control device and the target device.

[0050] Since the data packet will no longer be transmitted downward at the receiving control device, S110 may include: receiving a data packet transmitted from a previous-stage control device; determining whether its own device identification matches the first identification information in the data packet transmitted from the previous-stage control device; and determining that the data packet transmitted from the previous-stage control device is a data packet to be transmitted if its own device identification does not match the first identification information in the data packet transmitted from the previous-stage control device.

[0051] In the prior art, the controller 110 usually sends instructions or data to some or all of the light source control chips 120, and the controller 110 receives information fed back by each light source control chip 120. After the light source control chip 120 receives the information sent by the preceding light source control chip, it usually transmits it forward directly and finally transmits it to the controller. The controller locates the fault according to the information without parsing and retaining the received data. Therefore, in the prior art, the sender and receiver of the data are usually fixed.

[0052] Different from the existing methods, in the embodiments of the present application, since the sending of data packets can be initiated by any control device as the current control device and the sending control device, and any other control device is determined as the receiving control device, that is, the sender and the receiver are usually not fixed, any two light source control chips 120 can also transmit data to each other.

[0053] Therefore, in one embodiment of the present application, each control device needs to determine whether the received data packet needs to continue to be transmitted downward. Therefore, S110 may include: receiving a data packet transmitted from a previous-stage control device; determining whether its own device identification matches the first identification information in the data packet transmitted from the previous-stage control device; and when its own device identification does not match the first identification information of the data packet transmitted from the previous-stage control device, determining that the data packet transmitted from the previous-stage control device is a data packet to be transmitted.

[0054] By setting the second identification information and the first identification information and making each control device judge the first identification information and its own identification information in the data packet, it can be determined whether the data packet needs to be transmitted further. Thus, any two control devices in the optical drive circuit can perform data transmission.

[0055] In some embodiments of the present application, determining whether the device identification of itself matches the first identification information in the data packet transmitted from the previous-stage control device may include: determining whether the device identification of itself is consistent with the first identification information in the data packet transmitted from the previous-stage control device, and if they are consistent, determining a match; if they are inconsistent, determining a mismatch.

[0056] In other embodiments of the present application, a specific value representing all control devices can also be preset. If the first identification information is the specific value, all devices need to respond to the data packet. Accordingly, it is determined whether the device identification of itself matches the first identification information in the data packet transmitted from the previous-stage control device. It can also include: if it is determined that the first identification information is a specific value representing all control devices, it is also determined that the data packet transmitted from the previous-stage control device is a data packet to be transmitted, and it is received.

[0057] The data packet to be transmitted is not limited to being transmitted by the previous control device, but may also be generated by the current control device. For example, a light source control chip is used to connect a light source. In one embodiment of the present application, if the current control device is a light source control chip, obtaining the data packet to be transmitted may include: detecting the connected light source; if the connected light source has a fault, generating the data packet to be transmitted based on the faulty light source.

[0058] In this embodiment, the data packet to be transmitted generated based on the faulty light source includes relevant information of the faulty light source, and uses the identification information of the current control device itself as the second identification information and the identification information of the controller as the first identification information.

[0059] In this embodiment, the light source control chip 120 can perform fault detection on the light source to which it is connected. When it is determined that the connected light source is faulty, it generates a data packet to be transmitted to the controller, and sends the data packet to be transmitted to the controller in sequence through the control device between the current control device and the controller.

[0060] In this way, the controller 110 does not need to send readback instructions to each light source control chip, nor does it need to wait for the light source control chip to feedback readback data. Each light source control chip can send a data packet including fault information to the controller on its own after a fault occurs, thereby effectively reducing the impact of the transmission of readback instructions and readback data on the overall working efficiency of the light driving circuit between the controller 110 and the light source control chip 120 when there is no fault.

[0061] In other embodiments of the present application, the data packet to be transmitted may also include status information of the control device (sender control device) that generates the data packet to be transmitted, for example, status information of each register of the light source control chip, to instruct the target device to know the status of the sender control device so that the data packet can be transmitted accurately and orderly.

[0062] S120, in response to a transmission requirement of a data packet to be transmitted, sending a clock signal to a target device via a clock line, and transmitting the data packet to be transmitted to the target device via a data line under the control of the clock signal.

[0063] As mentioned above, the target device is a control device connected to the current control device through a data line and a clock line, and the target device is adjacent to the current control device. In the embodiment of the present application, the target device can receive a clock signal through the clock line, and under the control of the clock signal, receive a data packet to be transmitted from the current control device through the data line. The prior art of controlling the data line to send and receive data packets based on the clock signal will not be expanded here.

[0064] Compared with the method in the prior art in which the controller 110 provides a clock signal for data transmission, in an embodiment of the present application, the clock signal is only transmitted between two control devices that need to transmit a data packet, and the clock signal will no longer be transmitted between other control devices that are not performing data transmission. Compared with the prior art, the power consumption caused by the clock line operation and the clock signal transmission can be effectively reduced.

[0065] See also Figure 3 , Figure 3 The first schematic diagram of data transmission conflict provided in an embodiment of the present application, wherein the arrow represents the direction of data transmission. In the embodiment of the present application, since the transmission of data packets is bidirectional, there may be a situation where adjacent control devices send data packets to each other at the same time, which may cause data transmission anomalies, data packet loss, etc.

[0066] Therefore, in an embodiment of the present application, before S120 , it is necessary to determine that the clock line is in an idle state.

[0067] In an embodiment of the present application, determining that the clock line is in an idle state may be performed by judging whether there is a level change on the clock line, such as whether there is a transition edge, whether a high level and a low level exist simultaneously within a preset time period, etc.

[0068] After determining that the clock line is in an idle state, the clock signal is allowed to be transmitted through the clock line, and the data packet to be transmitted is transmitted to the target device through the data line under the control of the clock signal.

[0069] In an embodiment of the present application, if the clock line is in a non-idle state, it is possible to continuously detect whether the clock line is in an idle state; after detecting that the clock line is in an idle state, a clock signal is sent to the target device through the clock line, and the data packet to be transmitted is transmitted to the target device through the data line under the control of the clock signal.

[0070] In an embodiment of the present application, the continuous detection may be performed once every certain period of time, during which the current control device waits for the transmission of the data packet. In this way, data transmission anomalies caused by data transmission conflicts can be effectively avoided.

[0071] See also Figure 4 , Figure 4 This is a second schematic diagram of data transmission conflict provided in an embodiment of the present application, wherein the arrow represents the direction of data transmission. In the embodiment of the present application, for a control device, there may be a situation where two adjacent control devices both send data packets to the control device, such as light source control chips with sequence numbers k+1 and k-1 simultaneously send data packets to the light source control chip with sequence number k, which may also cause data packet loss.

[0072] Therefore, in an embodiment of the present application, the bidirectional two-line communication method may also include: if the current control device simultaneously receives clock signals sent by two adjacent control devices through the clock line, then determining the priority of the two adjacent control devices based on a preset priority relationship; receiving the clock signal and data packet sent by the adjacent control device with a higher priority, and instructing the adjacent control device with a lower priority to wait for transmission.

[0073] In the embodiments of the present application, the configuration method of the preset priority relationship is not limited. For example, it can be configured according to the importance of each control device in the optical driving circuit, or according to the connection order of each control device in the optical driving circuit.

[0074] In the embodiment of the present application, when clock signals of two control devices are received simultaneously, the two control devices are made to transmit in sequence according to the priority, which can effectively reduce data conflicts and the situations in which data packet transmission abnormalities and losses occur.

[0075] In summary, when the bidirectional two-wire communication method provided by the present application is applied to any control device in the optical drive circuit, the transmission of the data packet can be actively initiated by any control device, and when data needs to be sent, the current control device provides a clock signal to the target device through the clock line, so that during the data transmission process, the controller does not need to provide a clock signal to each control device, reducing the clock working time, thereby effectively reducing the power consumption caused by the clock. In addition, the data packet is actively initiated by any control device, which makes it unnecessary for the controller to send a readback instruction and then feed back the readback data, effectively reducing the working time occupied by data readback and improving the overall working efficiency of the optical drive circuit.

[0076] Based on the same inventive concept, the present application also provides a backlight module, see Figure 5 , Figure 5 The backlight module includes a plurality of light sources 130 and the light driving circuit provided in the above embodiment, and each light source 130 is connected to each light source control chip 120 in the light driving circuit.

[0077] In the backlight module, each light source 130 is connected to each light source control chip 120 in the light driving circuit, and each light source connection channel of each light source control chip 120 can be connected to one or more light sources.

[0078] Each light source control chip 120 can control the light source 130 to which it is connected according to the dimming data output by the controller 110 .

[0079] Furthermore, each light source control chip 120 can detect whether the connected light source is faulty, and in the event of a fault, actively generate fault information and transmit it to the controller 100 .

[0080] The light driving circuit can refer to the above-mentioned embodiment, which will not be described in detail here. The light source 130 can be an LED or other light emitting device.

[0081] Based on the same inventive concept, the embodiment of the present application further provides a display, which may include a display panel and a backlight module as provided in the above embodiment. The display may also have other structures, which may be specifically referred to in the prior art and will not be elaborated here.

[0082] Based on the same inventive concept, an embodiment of the present application further provides an electronic device, which includes the display provided in the above embodiment.

[0083] In the embodiments of the present application, the electronic device may be a discrete device, for example, the electronic device may be a computer including a host and a display. The electronic device may also be an integrated device, for example, the electronic device may be a mobile phone, a tablet computer, a television, or other electronic device in which a processor and a display are integrated in the same housing. This is not limited here.

[0084] The technical features of the above embodiments can be freely combined without conflict, and the embodiments obtained by the combination are included in the protection scope of this application.

[0085] The above detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0086] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0087] In the description of this application, it is also necessary to explain that, unless otherwise clearly specified and limited, the term "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0088] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A communication method based on two-way two-line, characterized in that: Applied to a current control device, the current control device is any control device in a light driving circuit, the control device in the light driving circuit includes a controller and a light source control chip, and any two adjacent control devices are connected via a data line and a clock line; The controller and the last light source control chip receive and send data through the data line and the clock line; except for the controller and the last light source control chip, any control device is allowed to send data to adjacent control devices in the first direction and adjacent control devices in the second direction through the data line and the clock line, and receive data sent by adjacent control devices in the first direction and adjacent control devices in the second direction through the data line and the clock line; The bidirectional two-line communication method comprises: Get the data packet to be transmitted; In response to the demand for sending the data packet to be transmitted, a clock signal is sent to the target device through the clock line, and the data packet to be transmitted is transmitted to the target device through the data line under the control of the clock signal, so that the target device receives the data packet to be transmitted through the data line under the control of the clock signal received by the clock line; the target device is a control device that is connected to the current control device through the data line and the clock line, and finally receives the data packet.

2. The method according to claim 1, characterized in that Each of the control devices is configured with corresponding identification information; the data packet to be transmitted includes the first identification information of the target device; The current control device is any device on the path from the sending control device to the target device except the target device; the sending control device is the control device that generates the data packet to be transmitted.

3. The method according to claim 2, characterized in that The step of obtaining a data packet to be transmitted comprises: Receive data packets from the front-end control device; Determine whether the device identification of the device matches the first identification information in the data packet transmitted by the preceding control device; In the case that the device identification of the device itself does not match the first identification information of the data packet transmitted by the preceding control device, it is determined that the data packet transmitted by the preceding control device is the data packet to be transmitted.

4. The method according to claim 1, characterized in that: The light source control chip is used to connect the light source; If the current control device is the light source control chip, the data packet to be transmitted includes status information of the control device that generates the data packet to be transmitted; Or, the obtaining of the data packet to be transmitted includes: Detect the connected light source; If the connected light source fails, the data packet to be transmitted is generated based on the failed light source.

5. The method according to any one of claims 1 to 4, characterized in that: Before sending a clock signal to the target device through the clock line and transmitting the data packet to be transmitted to the target device through the data line under the control of the clock signal, the method further includes: It is determined that the clock line is in an idle state.

6. The method according to claim 5, characterized in that The method further comprises: If the clock line is in a non-idle state, continuously detecting whether the clock line is in an idle state; After detecting that the clock line is in an idle state, a clock signal is sent to the target device through the clock line, and the data packet to be transmitted is transmitted to the target device through the data line under the control of the clock signal.

7. The method according to claim 5, characterized in that The current control device is further used to receive a data packet sent by an adjacent control device, and the bidirectional two-line based communication method further includes: If the current control device simultaneously receives clock signals sent by the two adjacent control devices through the clock line, determining the priorities of the two adjacent control devices based on a preset priority relationship; Receive the clock signal and data packet sent by the adjacent control device with a higher priority, and instruct the adjacent control device with a lower priority to wait for transmission.

8. A light driving circuit, characterized in that: include: A plurality of control devices, data lines and clock lines, wherein the plurality of control devices include a controller and a light source control chip, and any adjacent control devices communicate in series via the data lines and the clock lines; Wherein, any of the control devices is used as a current control device to execute the bidirectional two-line based communication method as described in any one of claims 1-7.

9. A backlight module, characterized in that: include: A plurality of light sources and a light driving circuit as claimed in claim 8; Each of the light sources is connected to each of the light source control chips in the light driving circuit respectively.

10. A display, characterized in that: It comprises the optical driving circuit as claimed in claim 8 or the backlight module as claimed in claim 9.

11. An electronic device, characterized in that: Comprising the display as claimed in claim 10.

Citation Information

Patent Citations

  • Data transfer device and wireless communication circuit

    CN107870884A

  • Master-slave controller communication method of APF control system

    CN113985726A

  • Backlight source partition dimming control method and circuit and LED driving chip

    CN117935743A

  • Communication method and system of battery management system, and battery device

    CN118018354A

  • Light driving circuit, backlight module, dimming method, display and electronic equipment

    CN118314842A

Cited By

  • Double-line cascaded LED drive circuit and communication method thereof

    CN121096261A