Computer keyboard backlight communication protocol for realizing dormancy awakening of driving chip
By adopting a single-line zero-code communication protocol in computer keyboard backlight control, the problems of unstable data transmission, high power consumption and single display effect in the prior art are solved, and precise control and personalized display of light emitting diodes are realized, which reduces hardware cost and power consumption.
Patent Information
- Application Number
- CN202510211002.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-25
- Publication Date
- 2025-06-06
AI Technical Summary
The existing computer keyboard backlight control protocol has shortcomings in data transmission, power consumption management and color brightness control, resulting in unstable data transmission, high power consumption, single display effect and difficult to meet users' personalized needs.
The single-line zero-code communication protocol is adopted to transmit coded signals through a single data line to achieve precise control of the light emitting diode driver chip, including the sleep wake-up function, simplifying hardware design and reducing power consumption.
It simplifies hardware design, reduces power consumption, and realizes precise control of the color and brightness of the light-emitting diodes, meets users' personalized needs for keyboard backlights, and improves product reliability and stability.
Smart Images

Figure CN120111040A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of computer equipment, and in particular to a computer keyboard backlight communication protocol for realizing driver chip sleep and wakeup. The protocol aims to realize efficient management of computer keyboard backlight LED driver chips through innovative data transmission and control methods, covering color display, brightness adjustment, and driver chip sleep and wakeup functions to meet users' needs for keyboard personalization and energy saving. Background Art
[0002] With the rapid development of computer technology and users' pursuit of personalized experience, computer keyboards are no longer just input tools, and their backlight function has become an important factor in improving user experience and product competitiveness. At present, computer keyboard backlight control mainly relies on various communication protocols to drive light-emitting diodes (LEDs) to achieve different color displays and brightness adjustments.
[0003] However, existing communication protocols have many drawbacks. In terms of data transmission, some protocols use complex multi-line transmission methods, which not only increases hardware costs and wiring difficulties, but is also susceptible to electromagnetic interference, resulting in data transmission errors and affecting the stability and accuracy of the backlight display effect. In terms of power management, most protocols lack an effective driver chip sleep wake-up mechanism, causing the driver chip to continue to consume power when the keyboard is idle, shortening the keyboard's battery life and increasing the cost of use. In addition, the control of the color and brightness of the light-emitting diodes is not precise and flexible enough to meet the increasingly diverse personalized needs of users.
[0004] For example, some traditional protocols cannot achieve delicate color transitions and precise brightness adjustment when controlling RGB color display due to limitations in data transmission accuracy and control algorithms, resulting in a single display effect and lack of layering. At the same time, due to the lack of an effective sleep mechanism, when the keyboard is not used for a long time, the driver chip still maintains a high energy consumption state, resulting in energy waste.
[0005] Therefore, the market urgently needs a new communication protocol that can simplify data transmission, reduce power consumption, and achieve precise and personalized control of keyboard backlight. Summary of the invention
[0006] Purpose of the Invention
[0007] The core purpose of the present invention is to provide a computer keyboard backlight communication protocol that realizes driver chip sleep and wake-up, so as to solve the shortcomings of existing communication protocols in data transmission, power consumption management and color brightness control. By adopting a single-line return-to-zero code communication protocol, the present invention aims to simplify hardware design, reduce power consumption, and achieve precise control of the light-emitting diode driver chip, providing users with a more personalized and energy-saving keyboard backlight experience.
[0008] Technical Solution
[0009] The computer keyboard backlight communication protocol for realizing the sleep awakening of the driver chip of the present invention is mainly implemented based on the single-line return-to-zero code communication protocol. The following is a detailed technical solution description:
[0010] Data transfer basics
[0011] This protocol transmits coded signals through a single data line (DIN), using different timings of high and low levels to represent data. The data consists of a sequence of "0" and "1", where each bit is represented as follows:
[0012] Bit "1": High level duration is longer, low level duration is shorter. This design makes it possible to distinguish the "1" signal more clearly during signal recognition, thus improving the accuracy of data transmission.
[0013] Bit "0": High level duration is shorter, low level duration is longer. Through this difference in high and low level duration, effective data encoding and transmission are achieved.
[0014] The sending device needs to accurately control the signal switching of the data line to strictly meet the timing requirements of the LED driver chip. This ensures that the driver chip can accurately receive and parse the transmitted data and avoid data errors caused by inconsistent signal timing.
[0015] Communication data structure
[0016] This protocol uses timing coding to transmit communication data. The communication data is transmitted in the order of high bit first, mainly including the following two key parts:
[0017] Reset signal: The reset signal is a long low level, which lasts longer than the total duration of a data packet. Its main function is to inform the LED driver chip to prepare to receive new data. When the driver chip receives the reset signal, it will initialize the internal state, clear the data cache that may have existed before, and prepare to receive new data packets.
[0018] Data packet: Each data packet contains four bytes (32 bits), which correspond to the brightness data of the four color constant current output channels of RGBW. The four constant current output channels are very flexible and can be arbitrarily matched with different light-emitting diodes to meet the diverse backlight display needs. Specifically:
[0019] The first constant current output channel is represented by 8-bit data. The color and brightness of the light-emitting diode connected to the channel can be precisely controlled by adjusting the value of the 8-bit data (in the range of 0-255).
[0020] The second constant current output channel: also 8-bit data, to achieve precise control of the corresponding light-emitting diode.
[0021] The third constant current output channel: 8-bit data is used to adjust the display effect of the light-emitting diode connected to this channel.
[0022] The fourth constant current output channel: 8-bit data completes the color and brightness setting of the corresponding light-emitting diode.
[0023] By finely adjusting the 8-bit value of each channel, precise control of the color and brightness of the LEDs can be achieved, thus presenting a rich variety of backlight display effects.
[0024] Data transmission order
[0025] When transmitting valid data, the communication data follows a specific order, namely the first constant current output channel, the second constant current output channel, the third constant current output channel, and the fourth constant current output channel. Multiple LED driver chips can be connected in series on a single data line, and each chip receives a 32-bit data packet at the corresponding position to achieve color and brightness control of the LEDs connected to each chip. The input data format of this protocol is: reset signal + 32-bit grayscale data of the first chip + 32-bit grayscale data of the second chip + ... + 32-bit grayscale data of the Nth chip. This format design makes data transmission orderly and clear, which is convenient for the driver chip to accurately receive and process.
[0026] Driver chip sleep wake-up function
[0027] A major innovation of the present invention is to realize the sleep wake-up function of the light emitting diode driver chip, as follows:
[0028] Sleep trigger: The LED driver chip can switch from normal working mode to low power mode by receiving a pre-defined special data group. When the RET command is detected and the current of the four constant current output channels of the driver chip are all 0 (that is, the received data is 0x00000000), the chip will automatically enter low power mode.
[0029] Low power mode: In low power mode, each LED light is off, and all power-consuming circuits inside the chip, such as the BG (bandgap reference circuit) and current source, are turned off, thereby significantly reducing the power consumption of the chip.
[0030] Wake-up mechanism: When the driver chip is in low power mode and the interface is in waiting-to-receive command mode, once a valid reset signal and a new data packet are received, the chip will wake up from the low power mode, resume normal operation, and continue to control the display of the light-emitting diode.
[0031] Beneficial Effects
[0032] Compared with the prior art, the communication protocol of the present invention has the following significant beneficial effects:
[0033] Simplify hardware design and cost: Using a single data line (DIN) for data transmission replaces the traditional multi-line transmission method, greatly reducing hardware costs and wiring difficulties. This not only reduces the manufacturing cost of the product, but also improves the reliability and stability of the product, and reduces possible failures due to complex lines.
[0034] Reduce power consumption and save energy: The sleep and wake-up function of the driver chip is a highlight of the present invention. When the keyboard is idle, the driver chip can automatically enter low-power mode and shut down unnecessary power-consuming circuits, effectively reducing energy consumption and extending the keyboard's battery life. This is especially important for devices such as battery-powered laptop keyboards, and can significantly improve the user experience.
[0035] Precise color and brightness control: By controlling each constant current output channel through 8-bit data, the color and brightness of the light-emitting diode can be precisely adjusted. Users can flexibly adjust the display effect of the keyboard backlight according to their preferences and usage scenarios, and achieve personalized color matching and brightness settings to meet the diverse needs of users.
[0036] Good scalability: Multiple LED driver chips can be connected in series on a single data line, and the control range of the keyboard backlight can be easily expanded through a specific input data format. Whether it is a small keyboard or a large gaming keyboard, the number of driver chips can be increased as needed to achieve more complex and diverse backlight display effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A schematic diagram of a high and low level combination of the timing coding of the single-line return-to-zero code communication protocol proposed in this application;
[0038] Figure 2 for Figure 1 Schematic diagram of symbols and level parameters in;
[0039] Figure 3 This is a schematic diagram of the effective data transmission sequence proposed in this application;
[0040] Figure 4 This is a schematic diagram of the input data format of the single-line return-to-zero code communication protocol proposed in this application;
[0041] Figure 5 This is a schematic diagram of the working mode conversion proposed in this application;
[0042] Figure 6This is a schematic diagram of the single-line return-to-zero code communication protocol flow proposed in this application. DETAILED DESCRIPTION
[0043] The embodiments will be combined with the drawings in the specification to clearly and completely describe the technical solution of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making any creative work shall fall within the scope of protection of the present application.
[0044] The present invention provides a computer keyboard backlight communication protocol for realizing driver chip sleep and wake-up. Figure 1 - Figure 6 ,in:
[0045] The specific hardware connection method of this communication protocol is as follows:
[0046] In actual application, the hardware connection work needs to be completed first. Connect a single data line (DIN) to each LED driver chip to ensure that the signal can be transmitted accurately. At the same time, provide a stable power supply and ground connection for the driver chip to ensure the normal operation of the chip. In addition, the driver chip needs to be connected to the main control circuit of the keyboard to realize data interaction and control.
[0047] The specific process of data sending is as follows:
[0048] Reset signal sending: When the keyboard backlight display needs to be updated, the sending device first sends a reset signal. The reset signal is a long-lasting low level, and its duration must exceed the total duration of a data packet to ensure that the driver chip can accurately identify and initialize the state.
[0049] Data packet transmission: After sending the reset signal, the transmitting device sends each data packet in sequence in the order of high bit first. Each data packet contains 32-bit data of four color constant current output channels, corresponding to the first constant current output channel, the second constant current output channel, the third constant current output channel and the fourth constant current output channel. During the transmission process, the data is converted into high and low level timing signals in strict accordance with the encoding rules of the single-line return-to-zero code, and transmitted to the light-emitting diode driver chip through a single data line (DIN).
[0050] The specific process of driver chip receiving and processing is as follows:
[0051] Reset signal response: After receiving the reset signal, the LED driver chip will immediately enter the state of preparing to receive data. A series of initialization operations will be performed inside the chip, such as clearing the data cache, resetting the control logic, etc., to prepare for receiving new data packets.
[0052] Data packet analysis and control: The driver chip receives the 32-bit data in the data packet in turn, and adjusts the current of the four color constant current output channels according to these data. By accurately controlling the current, the color and brightness of the light-emitting diodes connected to the channels can be adjusted. For example, when the 8-bit data value of a channel is 255, the corresponding light-emitting diode will emit light at maximum brightness; when the data value is 0, the light-emitting diode will go out.
[0053] The specific process of sleep and wake-up is as follows:
[0054] Entering sleep mode: When the keyboard is not operated for a period of time, the sending device will send a pre-defined special data group, or when the RET command is detected and the data received by the driver chip is 0x00000000, the LED driver chip automatically enters low power mode. In low power mode, the BG, current source and other power-consuming circuits inside the chip are all turned off, and each LED light is turned off to reduce power consumption.
[0055] Wake-up operation: When the keyboard has a new operation, the sending device will resend the reset signal and the corresponding data packet. After receiving the reset signal, the driver chip wakes up from the low power mode and resumes normal working state. The chip will reinitialize the internal circuit, receive and parse the new data packet, and control the display of the light-emitting diode according to the data in the data packet.
[0056] Example:
[0057] Taking a notebook gaming keyboard with 16 LED driver chips as an example, the working process of this communication protocol is described in detail:
[0058] The specific process of data sending is as follows:
[0059] The sending device first sends a reset signal with a duration set to 100 μs to ensure that it exceeds the total duration of a data packet (assuming that the transmission time of a data packet is 80 μs).
[0060] Then, 16 data packets are sent in sequence, each containing 32 bits of data, corresponding to the brightness data of the four RGBW color constant current output channels of each driver chip. For example, for the first driver chip, the data packet sent is 0x12345678, where 0x12 corresponds to the first constant current output channel, 0x34 corresponds to the second constant current output channel, 0x56 corresponds to the third constant current output channel, and 0x78 corresponds to the fourth constant current output channel.
[0061] The specific process of driver chip processing is as follows:
[0062] After receiving the reset signal, each LED driver chip enters a state of being ready to receive data.
[0063] Receive the 32-bit data of the corresponding position in sequence, and adjust the current of its four color constant current output channels according to these data, so as to control the color and brightness of the light-emitting diodes connected to its constant current output channels. For example, the first driver chip adjusts the current of the first constant current output channel to the corresponding value of 0x12 according to the received data 0x12345678, so as to realize the color and brightness display of the corresponding light-emitting diode.
[0064] The specific process of sleep and wake-up is as follows:
[0065] Entering sleep mode: When the user does not use the keyboard for a long time (such as 5 minutes), the sending device sends a RET command, and the data received by all driver chips is 0x00000000. At this time, all driver chips automatically enter low power consumption mode, turning off the internal power consumption circuit and LED lights.
[0066] Wake-up operation: When the user taps the keyboard, the sending device resends the reset signal and a new data packet. After receiving the reset signal, the driver chip wakes up from low power mode and resumes normal operation, controlling the display of the LED according to the new data packet data.
[0067] It can be seen from the above embodiments that the communication protocol of the present invention can effectively control the light-emitting diodes of the computer keyboard backlight, realize the sleep and wake-up function of the driver chip, reduce power consumption, and meet the user's demand for personalized display of the keyboard backlight.
[0068] The above is only the best implementation method adopted by this application in combination with current actual needs, but the protection scope of this application is not limited to this.
Claims
1. A computer keyboard backlight communication protocol for realizing driver chip sleep and wake-up, characterized in that: It includes a single-line return-to-zero code communication protocol, which is used to control the light-emitting diode driver chip to perform color display and brightness adjustment, and: The coded signal is transmitted through a single data line (DIN), and the data is represented by the timing of high and low levels. The data consists of a string of "0" and "1". The bit "1" has a long high level duration and a short low level duration, and the bit "0" has a short high level duration and a long low level duration. The sending device accurately controls the signal switching of the data line to meet the timing requirements of the light-emitting diode driver chip; Communication data is transmitted using timing coding. Communication data is transmitted in high-order first order. Communication data includes: A reset signal is used to inform the LED driver chip to prepare to receive new data; Data packets, each of which contains four bytes (32 bits), corresponding to the brightness data of the four color constant current output channels of RGBW. The four constant current output channels can be arbitrarily deployed to match any light-emitting diodes. The first constant current output channel, the second constant current output channel, the third constant current output channel, and the fourth constant current output channel are all 8-bit data. By adjusting the 8-bit value (0-255) of each color, the color and brightness of the light-emitting diode connected to each constant current output channel are controlled; The light emitting diode driver chip can be converted from a normal working mode to a low power consumption mode by receiving a predefined special data group. The low power consumption mode is defined as each LED lamp is in an off state, and all power-consuming circuits such as the BG and current source inside the chip are turned off.
2. A computer keyboard backlight communication protocol for realizing driver chip sleep and wakeup according to claim 1, characterized in that: The reset signal is a low level that lasts for a long time, and the duration exceeds the total duration of one of the data packets.
3. A computer keyboard backlight communication protocol for realizing driver chip sleep and wakeup according to claim 1, characterized in that: The order of transmitting effective data of the communication data is the first constant current output channel, the second constant current output channel, the third constant current output channel, and the fourth constant current output channel.
4. A computer keyboard backlight communication protocol for realizing driver chip sleep and wakeup according to claim 3, characterized in that: Each LED driver chip connected in series on a single data line receives 32 bits of data in the corresponding data packet to control the color and brightness of the LED connected to each constant current output channel; The input data format of the single-line return-to-zero code communication protocol is: reset signal + 32-bit grayscale data of the first chip + 32-bit grayscale data of the second chip + ... + 32-bit grayscale data of the Nth chip.
5. A computer keyboard backlight communication protocol for realizing driver chip sleep and wakeup according to claim 1, characterized in that: After the LED driver chip detects the RET command, if the currents of the four constant current output channels of the LED driver chip are all 0, that is, the data received by the LED driver chip is 0x00000000, the LED driver chip automatically enters the low power consumption mode, and the LED driver chip interface is in the command waiting mode.