Key board control circuit of video processor
The video processor key panel control circuit uses an IO expansion chip to manage key signals and indicators via I2C, reducing MCU IO usage and enabling richer human interface functionality with fewer resources.
Patent Information
- Application Number
- CN202421650196.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2034-07-12
AI Technical Summary
Current LED video processors require numerous ADC or GPIO pins for key and status indicator functions, leading to significant MCU IO resource consumption, especially when multiple states are needed for each key, and existing solutions struggle to support this efficiently.
A video processor key panel control circuit using an IO expansion chip to manage key signals and status indicators via I2C communication, allowing the MCU to use fewer IO resources by connecting keys and indicators to different IO pins of the chip, which can control multiple states through a single I2C signal.
Reduces MCU IO resource usage, enabling more functional expansion for the LED video processor's human interface and supporting diverse key panel states without increasing IO consumption.
Smart Images

Figure CN223110076U_ABST
Abstract
Description
Technical Field
[0001] The embodiment of the utility model relates to the technical field of LED control, in particular to a control circuit for a video processor key panel. Background Art
[0002] At present, the key panel of the LED video processor mainly realizes the corresponding key functions and status indicator functions through the ADC or GPIO of the MCU. If it is necessary to implement more than ten key functions and at the same time support each key with a corresponding status indicator, it is necessary to consume the same number of ADC or GPIO pins as the keys and status indicators, which consumes a large amount of IO resources of the MCU. Moreover, in an application scenario where a key requires two or more status indicators, the current control method can hardly be realized. Content of the Utility Model
[0003] The embodiment of the utility model provides a control circuit for a video processor key panel to reduce the consumption of IO resources of the MCU and realize diverse backlit key application scenarios.
[0004] The embodiment of the utility model provides a control circuit for a video processor key panel, and the control circuit includes: a main board micro control unit, an IO expansion chip, and a plurality of key units; wherein,
[0005] The main board micro control unit is configured to transmit an IO register configuration signal to the IO expansion chip through an I2C bus to configure the IO pins of the IO expansion chip;
[0006] The key unit includes function keys and a plurality of key status indicators of different colors, and the function keys and the key status indicators are respectively connected to different IO pins of the IO expansion chip;
[0007] The IO expansion chip is configured to report a corresponding key signal to the main board micro control unit through an I2C bus when the function key is pressed, and receive a first light control signal sent by the main board micro control unit through the I2C bus and control the corresponding key status indicator.
[0008] Optionally, the key unit includes a first key status indicator and a second key status indicator, the first key status indicator is configured to be constantly on or flash when the function key in the same key unit is pressed, and the second key status indicator is configured to be constantly on or flash when the function key in the same key unit is not pressed.
[0009] Optionally, the IO expansion chip is an NCA9555 CMOS device.
[0010] Optionally, the control circuit further includes a motherboard operation status indicator light, which is connected to the idle IO pin of the IO expansion chip. The IO expansion chip is further configured to receive a second light control signal sent by the motherboard microcontroller unit through the I2C bus and control the motherboard operation status indicator light.
[0011] Optionally, the control circuit further includes an OK key knob unit. The OK key pin of the OK key knob unit is connected to the idle IO pin of the IO expansion chip. The IO expansion chip is further configured to report the OK key press signal to the motherboard microcontroller unit through the I2C bus when the OK key is pressed.
[0012] Optionally, the control circuit includes a plurality of parallel-connected IO expansion chips.
[0013] The embodiment of the present invention provides a video processor keypad control circuit, which includes a motherboard microcontroller unit, an IO expansion chip, and a plurality of key units. By using the IO expansion chip, the motherboard microcontroller unit can control the key status indicator lights in the key units and receive the key signals of the function keys in the key units, so that the motherboard microcontroller unit only needs one I2C signal to implement the related functions of the keypad, without occupying too many IO resources of the motherboard microcontroller unit. Therefore, more function expansions are provided for the human-computer interaction window of the LED video processor, which can well meet the increasingly rich function requirements of the LED video processor. At the same time, multiple status indicator lights can be set for the same key, and the human-computer interaction function is also made more diversified. Description of the Drawings
[0014] Figure 1 It is a schematic structural diagram of the video processor keypad control circuit provided by Embodiment 1 of the present invention;
[0015] Figure 2 It is a schematic structural diagram of an exemplary IO expansion chip provided by Embodiment 1 of the present invention;
[0016] Figure 3 It is a schematic structural diagram of an exemplary pull-up circuit provided by Embodiment 1 of the present invention;
[0017] Figure 4 It is a schematic structural diagram of an exemplary key unit provided by Embodiment 1 of the present invention;
[0018] Figures 5 - 6 It is a schematic structural diagram of two other exemplary IO expansion chips provided by Embodiment 1 of the present invention;
[0019] Figures 7 - 10 It is a schematic structural diagram of multiple exemplary key units provided by Embodiment 1 of the present invention;
[0020] Figure 11 Schematic connection diagram of the exemplary main board operation status indicator provided by Embodiment 1 of the present utility model;
[0021] Figure 12 Schematic structural diagram of the exemplary OK key knob unit provided by Embodiment 1 of the present utility model;
[0022] Figure 13 Schematic structural diagram of the exemplary filter voltage stabilization circuit provided by Embodiment 1 of the present utility model. Detailed implementation manners
[0023] The present utility model will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present utility model, rather than limiting the present utility model. In addition, it should be noted that for the sake of description, only parts related to the present utility model rather than all structures are shown in the drawings.
[0024] Embodiment 1
[0025] Figure 1 Schematic structural diagram of the video processor keypad control circuit provided by Embodiment 1 of the present utility model. This embodiment is applicable to the situation of implementing the functions of the LED video processor keypad. As Figure 1 shown, the control circuit includes: a main board micro control unit (MCU) 100, an IO expansion chip 200, and a plurality of key units 300( Figure 1 two are shown as an example). Among them, the main board micro control unit 100 is used to transmit IO register configuration signals to the IO expansion chip 200 through the I2C bus to configure the IO pins of the IO expansion chip 200; the key unit 300 includes function keys 310 and a plurality of key status indicators 320 of different colors( Figure 1 two are shown as an example), and the function keys 310 and the key status indicators 320 are respectively connected to different IO pins of the IO expansion chip 200; the IO expansion chip 200 is used to report corresponding key signals to the main board micro control unit 100 through the I2C bus when the function key 310 is pressed, and receive the first light control signal sent by the main board micro control unit 100 through the I2C bus and control the corresponding key status indicators 320.
[0026] Optionally, the IO expansion chip 200 is an NCA9555 CMOS device, so that its feature of converting I2C serial input to 16-bit general-purpose parallel input / output (GPIO) can be utilized. The main board micro-control unit 100 can transmit IO register configuration signals to the IO expansion chip 200 through the I2C bus, so as to enable the IO to be used as input or output by configuring the IO configuration bits of the IO expansion chip 200. Specifically, as Figure 2 and Figure 3 shown, the I2C signal terminals (I2C_SCL, I2C_SDA) of the main board micro-control unit 100 can be connected to the I2C signal terminals (KEY_I2C_SCL, KEY_I2C_SDA) of the IO expansion chip 200 (U1) through a pull-up circuit.
[0027] The key unit 300 can be set according to the actual requirements of the LED video processor. Each key unit 300 includes a function key 310 to implement a corresponding function. At the same time, each key unit 300 can also include multiple key status indicator lights 320 to indicate the status of the corresponding function. The function keys 310 and the key status indicator lights 320 of each key unit 300 can be respectively connected to different IO pins of the IO expansion chip 200, and the IO pins of the IO expansion chip 200 can be configured based on the connection relationship. Specifically, the IO pins connected to the function keys 310 can be configured as input pins, and the IO pins connected to the key status indicator lights 320 can be configured as output pins. For the function key 310, the IO expansion chip 200 can detect whether it is pressed according to the IO level status connected to the corresponding input pin. When the function key 310 is pressed, the IO expansion chip 200 can feedback the value of the corresponding register as a key signal to the main board micro-control unit 100 through the I2C bus, and then the main board micro-control unit 100 can execute the function defined by the function key 310 accordingly. For the key status indicator light 320, the IO expansion chip 200 can receive the first light control signal sent by the main board micro-control unit 100 through the I2C bus and control the corresponding key status indicator light 320 according to the first light control signal. The on / off or flashing of the key status indicator light 320 can be realized by the output polarity of the corresponding connected IO pin on the IO expansion chip 200, and the main board micro-control unit 100 can control the IO expansion chip 200 through the I2C bus to obtain the required status of the key status indicator light 320.
[0028] Based on the above technical solution, optionally, the button unit 300 includes a first button status indicator light and a second button status indicator light. The first button status indicator light is used to be constantly on or flash when the function button 310 in the same button unit 300 is pressed. The second button status indicator light is used to be constantly on or flash when the function button 310 in the same button unit 300 is not pressed. Exemplarily, the button unit 300 can be a blue and white dual-light button unit. For example, the first button status indicator light is a blue light and the second button status indicator light is a white light. Specifically, the IO pins of the IO expansion chip 200 connected to the first button status indicator light and the second button status indicator light can be configured for input / output or polarity inversion to achieve being constantly on or flashing. For example, when the function button 310 is pressed, the corresponding IO pin can be intermittently pulled low and pulled high to make the specified button status indicator light flash, or the corresponding IO pin can be pulled low to make the specified button status indicator light be constantly on. Exemplarily, as Figure 2 and Figure 4 shown Figure 4 shows an example including two button status indicator lights (Blue, White). The function button PUSH of the button unit SW11 and the two button status indicator lights are respectively connected to the IO pins 2P00, 2P01, and 2P02 of the IO expansion chip U1.
[0029] Based on the above technical solution, optionally, the control circuit includes a plurality of parallel-connected IO expansion chips 200. As Figure 2 、 Figure 5 and Figure 6 shown, the control circuit includes three IO expansion chips 200, namely U1, U2, and U3. Specifically, the number of available IO provided by a single IO expansion chip 200 is limited. Then, when needed, multiple parallel-connected IO expansion chips 200 can be used to provide more IO, which is very easy to expand. Exemplarily, as Figures 7 - 10 shown, the control circuit includes button units SW1 - SW15. Each button unit requires three IO pins (function button, blue button status indicator light, and white button status indicator light), and can be correspondingly implemented by three IO expansion chips U1, U2, and U3.
[0030] Based on the above technical solution, optionally, the control circuit further includes a main board operation status indicator light. The main board operation status indicator light is connected to the idle IO pins of the IO expansion chip 200. The IO expansion chip 200 is further used to receive a second light control signal sent by the main board micro-control unit 100 through the I2C bus and control the main board operation status indicator light. Exemplarily, as Figure 2 and Figure 11As shown, the motherboard operating status indicator can be a light-emitting diode D1, whose cathode is connected to the RUN_LED pin of the IO expansion chip U1. The motherboard operating status indicator can be used to indicate the current operating status. The motherboard microcontroller unit 100 can control the IO expansion chip 200 through the I2C bus to obtain the status of the required motherboard operating status indicator 320. When the cathode of the motherboard operating status indicator is pulled low, it is in the on state, and when it is pulled high, it is in the off state. Further, the motherboard operating status indicator can be made to blink by changing the polarity inversion of the RUN_LED pin. By using the IO expansion chip 200, it is possible to avoid adding extra IO connection lines for controlling the motherboard operating status indicator.
[0031] Based on the above technical solution, optionally, the control circuit further includes an OK key knob unit. The OK key pin of the OK key knob unit is connected to the idle IO pin of the IO expansion chip. The IO expansion chip is further configured to report the OK key signal to the motherboard microcontroller unit through the I2C bus when the OK key is pressed. Exemplarily, as Figure 5 and Figure 12 shown, the OK key pin E of the OK key knob unit U4 is connected to the Push_Down pin of the IO expansion chip U2. The OK key knob unit includes an OK key that can implement the key function. When the OK key is pressed, the Push_Down pin is pulled low, and the IO expansion chip U2 can report the OK key signal to the motherboard microcontroller unit 100 through the I2C bus. Then, the motherboard microcontroller unit 100 can implement the OK key function according to the received signal. By using the IO expansion chip 200, it is possible to avoid adding extra IO connection lines for implementing the OK key function.
[0032] In addition, as Figure 13 shown, in the control circuit, the working voltage VDD33 can be grounded through a filter voltage stabilization circuit. The filter voltage stabilization circuit can specifically include a plurality of capacitors connected in parallel to ensure the working effect of the keypad and the safety of the components.
[0033] The video processor keypad control circuit provided by the embodiments of the present invention includes a motherboard microcontroller unit, an IO expansion chip, and a plurality of key units. By using the IO expansion chip, the motherboard microcontroller unit can control the key status indicator in the key unit and receive the key signal of the function key in the key unit, enabling the motherboard microcontroller unit to implement the related functions of the keypad with only one I2C signal, without occupying too many IO resources of the motherboard microcontroller unit. Thus, more function expansions are provided for the human-computer interaction window of the LED video processor, which can well meet the increasingly rich function requirements of the LED video processor. At the same time, multiple status indicators can be set for the same key, making the human-computer interaction function more diverse.
[0034] Note that the above is only the preferred embodiment of the present utility model and the applied technical principles. Those skilled in the art will understand that the present utility model is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the present utility model. Therefore, although the present utility model has been described in detail through the above embodiments, the present utility model is not limited to the above embodiments only. Without departing from the concept of the present utility model, more other equivalent embodiments can be included, and the scope of the present utility model is determined by the scope of the appended claims.
Claims
1. A key panel control circuit for a video processor, characterized in that, It includes: A main board micro-control unit, an IO expansion chip, and multiple key units; among them, The main board micro-control unit is used to transmit IO register configuration signals to the IO expansion chip through the I2C bus to configure the IO pins of the IO expansion chip; The key unit includes function keys and multiple key status indicator lights of different colors, and the function keys and the key status indicator lights are respectively connected to different IO pins of the IO expansion chip; The IO expansion chip is used to report corresponding key signals to the main board micro-control unit through the I2C bus when the function key is pressed, and receive the first light control signal sent by the main board micro-control unit through the I2C bus and control the corresponding key status indicator lights.
2. The video processor keypad control circuit according to claim 1, wherein The key unit includes a first key status indicator light and a second key status indicator light. The first key status indicator light is used to be always on or flash when the function key in the same key unit is pressed, and the second key status indicator light is used to be always on or flash when the function key in the same key unit is not pressed.
3. The video processor keypad control circuit according to claim 1, characterized in that, The IO expansion chip is an NCA9555 CMOS device.
4. The video processor keypad control circuit according to claim 1, characterized in that, The control circuit further includes a main board operation status indicator light, and the main board operation status indicator light is connected to the idle IO pin of the IO expansion chip. The IO expansion chip is further used to receive the second light control signal sent by the main board micro-control unit through the I2C bus and control the main board operation status indicator light.
5. The video processor keypad control circuit according to claim 1, characterized in that The control circuit further includes an OK key knob unit, and the OK key pin of the OK key knob unit is connected to the idle IO pin of the IO expansion chip. The IO expansion chip is further used to report the OK key signal to the main board micro-control unit through the I2C bus when the OK key is pressed.
6. The video processor keypad control circuit according to claim 1, wherein The control circuit includes multiple parallel-connected IO expansion chips.