Keyboard mouse device with backup operation function
By adding a matrix keyboard and PLC transistor output to the keyboard and mouse device, a backup operation function was implemented in case of USB interface failure, solving the problem of loss of control capability of underground equipment in coal mines and ensuring continuous operation of the equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- SHANXI EXPLOSION PROOF MOTOR GRP ELECTRICAL APPLIANCES
- Filing Date
- 2025-07-30
- Publication Date
- 2026-07-21
AI Technical Summary
In the harsh environment of underground coal mines, when the USB ports of industrial metal touchpad keyboards and mice are damaged, the equipment loses its control capabilities and cannot be operated.
A keyboard and mouse device with backup operation function was designed. By adding a matrix keyboard and PLC transistor output, the backup function is realized to ensure that the device can still be controlled when the USB interface fails.
Even in the event of a USB interface failure, the equipment can still be controlled via the matrix keypad and PLC transistor outputs, ensuring continuous operation and controllability.
Smart Images

Figure CN224536474U_ABST
Abstract
Description
Technical Field
[0001] This utility model provides a keyboard and mouse device with backup operation function, belonging to the field of keyboard and mouse technology. Background Technology
[0002] With the continuous improvement of the mechanization and automation of coal mine production, products such as combination switches, multi-circuit starters, frequency converters, combined power supplies, belt conveyor control, and working face control are being used more and more widely. These products extensively use industrial metal touchpad mice and keyboards as their human-machine interface peripherals.
[0003] Generally, when this type of equipment uses industrial metal touchpad mice and keyboards as operating peripherals, the high maturity of these devices and the simplicity of HMI programming allow for human-machine interaction simply by connecting the mouse and keyboard to the monitor's USB interface. However, in the harsh environment of underground coal mines, the quality of electrical products faces extremely stringent challenges. When the USB interface or relay circuit connecting peripherals like the mouse and keyboard to the HMI malfunctions, workers lose control of the equipment, forcing a production halt for repairs and replacement of damaged parts. Utility Model Content
[0004] To address the problem of equipment loss of control when existing industrial metal touchpad keyboards and mice are used in mines due to interface damage, this invention proposes a keyboard and mouse device with backup operation function. The aim is to improve the circuitry of the keyboard and mouse to enable industrial metal touchpad mice and keyboards to have backup functionality, ensuring that operators do not lose control of the equipment when the USB connection between the HMI keyboard and mouse fails.
[0005] The technical solution adopted by this utility model is as follows: a keyboard and mouse device with backup operation function, including a human-machine interface, a matrix keyboard, a PLC transistor output, a touchpad mouse and an encoder-to-USB module. The Ethernet interface of the human-machine interface is connected to the PLC transistor output, and the USB interface of the human-machine interface is connected to the matrix keyboard and the touchpad mouse through the encoder-to-USB module. The matrix keyboard has multiple keys arranged on it, and each key has two normally open contacts. The two normally open contacts of the multiple keys are divided into two sets of matrix keyboard circuits. One set of matrix keyboard circuits is encoded and converted to USB by a USB module to output a USB signal, and the other set of matrix keyboard circuits is connected to the output of the PLC transistor.
[0006] Furthermore, the PLC transistor output includes four input points Ia.0, Ia.1, Ia.2, and Ia.3 and four output points Qa.0, Qa.1, Qa.2, and Qa.3. The four input points Ia.0, Ia.1, Ia.2, and Ia.3 serve as row selection signals, and the four output points Qa.0, Qa.1, Qa.2, and Qa.3 serve as column selection signals.
[0007] Furthermore, the matrix keyboard has 16 keys in a 4×4 configuration, S1-S16.
[0008] Furthermore, the output point Qa.3 of the PLC transistor output remains continuously output during normal operation, while Qa.0, Qa.1, and Qa.2 do not output. When S16 is pressed and held down, Ia0.3 receives an input signal, and after the signal is held for a period of time, the keyboard standby function is activated.
[0009] Furthermore, the human-machine interface includes at least two interfaces: RJ45 and USB1. The RJ45 is connected to the PLC transistor output, and the USB1 is connected to the matrix keyboard and touchpad mouse via an encoding-to-USB module, serving as the operating peripherals of the human-machine interface under normal conditions.
[0010] Furthermore, the matrix keyboard, touchpad mouse, and encoding-to-USB module are integrated into a single industrial metal keyboard and touchpad mouse.
[0011] Furthermore, the PLC transistor output serves as the PLC's crystal interface. The PLC's digital output interface connects to the execution relays and test relays of the explosion-proof combination switch, multi-circuit starter, combination frequency converter starter, combination power supply, belt control, and working face control equipment in the coal mine. The PLC's digital input interface connects to the operation buttons of the explosion-proof combination switch, multi-circuit starter, combination frequency converter starter, combination power supply, belt control, and working face control equipment in the coal mine. The real-time status of the execution relays, test relays, and operation buttons is displayed on the human-machine interface via a network switch.
[0012] Furthermore, an optocoupler isolation module is also provided between the Ethernet interface of the human-machine interface and the PLC transistor output.
[0013] The advantages of this utility model over the prior art are as follows: 1. This utility model, by adding simple circuits and electrical components and cooperating with corresponding control programs, enables the use of keyboards and mice as peripherals in underground coal mines, with redundant keyboard functions. 2. This utility model is applicable to various electrical equipment in coal mines, such as combination switches of PLC and HMI, multi-circuit starters, combination frequency converters, combination power supplies, belt control, working face control, etc., which are frequently used. 3. This utility model features simple circuitry and high reliability, ensuring that even in the event of a failure in the original USB-related circuitry, the equipment can still be controlled to continue production, thus ensuring continuous operation of the equipment. Attached Figure Description
[0014] The present invention will be further described below with reference to the accompanying drawings: Figure 1 This is a schematic diagram of the overall circuit connection structure of this utility model; Figure 2 This is an enlarged view of the keyboard and mouse matrix keyboard of this utility model; In the diagram: 1 is the human-machine interface, 2 is the matrix keyboard, 3 is the PLC transistor output, 4 is the touchpad mouse, and 5 is the encoding conversion USB module. Detailed Implementation
[0015] like Figure 1 and 2 As shown, this utility model provides a keyboard and mouse device with backup operation function, which is a human-machine operation device for equipment such as explosion-proof combination switches, multi-circuit starters, combined frequency converter starters, combined power supplies, belt conveyor control, and working face control in coal mines. Figure 1 As shown, it includes a human-machine interface 1, a matrix keyboard 2, a PLC transistor output 3, a touchpad mouse 4, and an encoder-to-USB module 5.
[0016] The human-machine interface 1 includes two interfaces, namely RJ45 and USB1. RJ45 is connected to the PLC transistor output 3; USB1 is connected to the matrix keyboard 2 and touchpad mouse 4 via the encoding-to-USB module 5, serving as the operating peripherals of the human-machine interface 1 under normal conditions. Since the USB keyboard and mouse, the human-machine interface USB interface and its functions are all mature software and hardware technologies that have been used for many years, they will not be described in detail in this embodiment.
[0017] Each group of keys in matrix keypad 2 leads out two normally open contacts. The normally open contacts of multiple keys form two sets of matrix keypad circuits. One set is encoded and converted to USB signal by USB module 5, while the other set is connected to PLC transistor output 3 in a typical matrix keypad 8-wire configuration. In the other typical matrix keypad 8-wire configuration of matrix keypad 2, the four lines of column path selection signal are connected to the four output points Qa.0, Qa.1, Qa.2, and Qa.3 on PLC transistor output 3, and the four lines of row judgment signal are connected to the four input points Ia.0, Ia.1, Ia.2, and Ia.3 on PLC transistor output 3.
[0018] In this embodiment, the matrix keyboard has 16 keys S1-S16. The 32 normally open contacts of the 16 keys are used to form two sets of matrix keyboard circuits. One set is converted to a USB signal by the encoding-to-USB module 5, and the other set is connected to the PLC transistor output 3 in a typical 8-wire matrix keyboard configuration. In the other typical 8-wire matrix keyboard configuration of the matrix keyboard 2, the four lines of the column path selection signal are connected to the four output points Qa.0, Qa.1, Qa.2, and Qa.3 on the PLC transistor output 3, and the four lines of the row judgment signal are connected to the four input points Ia.0, Ia.1, Ia.2, and Ia.3 on the PLC transistor output 3.
[0019] This design can be activated in an emergency when the USB interface or other USB intermediate links fail (the keyboard and mouse cannot operate the device). By combining the corresponding PLC program segment and HMI configuration function, it can continue to maintain keyboard control of the device.
[0020] During normal operation, output node Qa.3 of PLC transistor output 3 continuously outputs, while Qa.0, Qa.1, and Qa.2 do not output. When S16 is pressed and held for 5 seconds, i.e., when Ia0.3 receives an input signal and the signal is held for 5 seconds, the keyboard standby function is activated. At this time, the four output points Qa.0, Qa.1, Qa.2, and Qa.3 on PLC transistor output 3 begin to output rapidly in turn according to the preset PLC program segment. The key acquisition logic of matrix keyboard 2 in the standby function activation state is that the four output points Qa.0, Qa.1, Qa.2, and Qa.3 on PLC transistor output 3 output rapidly in turn, while the four input points Ia.0, Ia.1, Ia.2, and Ia.3 wait for the operator to press the keyboard button. For example, when S10 is pressed, anchoring can be performed based on the two conditions: Ia.2 has an input signal and Qa.1 has an output signal. The judgment method for pressing other buttons is the same as that for S10. At this time, pressing and holding the S16 button for 5 seconds will disable the keyboard standby function. The specific matrix keyboard principle is a mature technology, and will not be described in detail in this embodiment. PLC transistor output 3 serves as the PLC's crystal interface. The PLC's digital output interface connects to the corresponding execution relays and test relays of the underground equipment. The PLC program controls the opening and closing of relays with different functions. The PLC's digital input interface connects to the operation buttons of the corresponding underground equipment, acquiring remote operation signals such as those for closing / opening circuit breakers and leakage current tests. The real-time status of the execution relays, test relays, and operation buttons is displayed on the human-machine interface 1 via a network switch through the built-in RJ45 connector.
[0021] The components selected in this embodiment are as follows: The human-machine interface 1 uses a Delta high-end series touchscreen or a Kunlun Tongtai network touchscreen, which has Ethernet communication capabilities, a USB interface, simple programming configuration, comprehensive functions, and stable quality. The matrix keyboard 2, touchpad mouse 4, and encoder-to-USB module 5 are integrated into a single industrial metal keyboard and touchpad mouse. The PLC transistor output 3 uses a Siemens 1200 series or SMART series to ensure reliable quality and stable performance, while also meeting the user's requirements for the controller brand as much as possible. The encoder-to-USB module 5 can use the CH9329 chip. The CH9329 is a serial-to-USB HID device (keyboard, mouse, custom HID) chip that supports 12Mbps full-speed USB transmission and has a built-in crystal oscillator. It can be identified as a USB keyboard, mouse, or custom HID device based on the working mode. It supports multiple baud rates, power supply voltages, and serial communication modes, and allows customization of VID, PID, and USB string descriptors.
[0022] The main advantages of this utility model are as follows: (1) It has a wide range of applications and is applicable to almost all explosion-proof equipment in the mine that is controlled by a simple keypad and mouse, such as combination switches, multi-circuit starters, frequency converters, combination power supplies, belt control, working face control, etc. (2) The circuit is simple. It only requires adding a set of matrix keypad functions, leading out 8 wires, and using the original PLC of the equipment or adding an expansion module for connection (in special cases, an isolation optocoupler must be added) to achieve the desired result. (3) By adding PLC control program segments with corresponding functions (using the existing matrix keyboard scanning principle) and configuring the human-machine interface, the complete replacement of simple control functions or the basic operation replacement of complex control functions can be achieved.
[0023] Regarding the specific structure of this utility model, it should be noted that the connection relationships between the various component modules adopted in this utility model are definite and achievable. Except as specifically described in the embodiments, their specific connection relationships can bring about corresponding technical effects and solve the technical problems proposed by this utility model without relying on the execution of corresponding software programs. The models of the components, modules, and specific components appearing in this utility model, the connection methods between them, and the conventional usage methods and expected technical effects brought about by the above-mentioned technical features, unless specifically described, are all publicly disclosed content in patents, journal articles, technical manuals, technical dictionaries, and textbooks that can be obtained by those skilled in the art before the application date, or belong to conventional technology, common knowledge, and other existing technologies in this field. There is no need to elaborate, which makes the technical solution provided in this case clear, complete, and achievable, and can reproduce or obtain corresponding physical products based on this technical means.
[0024] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model, and are not intended to limit it. Although the utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this utility model.
Claims
1. A keyboard and mouse device with a backup operation function, characterized in that: It includes a human-machine interface (1), a matrix keyboard (2), a PLC transistor output (3), a touchpad mouse (4), and an encoder-to-USB module (5). The Ethernet interface of the human-machine interface (1) is connected to the PLC transistor output (3), and the USB interface of the human-machine interface (1) is connected to the matrix keyboard (2) and the touchpad mouse (4) through the encoder-to-USB module (5). Multiple keys are arranged on the matrix keyboard (2), and each key has two normally open contacts. The two normally open contacts of the multiple keys are divided into two sets of matrix keyboard circuits. One set of matrix keyboard circuits is converted into a USB signal by the encoding to USB module (5), and the other set of matrix keyboard circuits is connected to the PLC transistor output (3).
2. A keyboard and mouse device with a backup operation function according to claim 1, characterized in that: The PLC transistor output (3) includes four input points Ia.0, Ia.1, Ia.2, Ia.3 and four output points Qa.0, Qa.1, Qa.2, Qa.
3. The four input points Ia.0, Ia.1, Ia.2, Ia.3 serve as row selection signals, and the four output points Qa.0, Qa.1, Qa.2, Qa.3 serve as column selection signals.
3. A keyboard and mouse device with a backup operation function according to claim 2, characterized in that: The matrix keyboard (2) has 16 keys S1-S16 in total, which are 4×4.
4. A keyboard and mouse device with a backup operation function according to claim 3, characterized in that: The output point Qa.3 of the PLC transistor output (3) is always outputting during normal operation, while Qa.0, Qa.1, and Qa.2 are not outputting. When S16 is pressed and held down, Ia0.3 receives an input signal, and after the signal is held for a period of time, the keyboard standby function is activated.
5. A keyboard and mouse device with a backup operation function according to claim 1, characterized in that: The human-machine interface (1) includes at least two interfaces, namely RJ45 and USB1. RJ45 is connected to the PLC transistor output (3), and USB1 is connected to the matrix keyboard (2) and touchpad mouse (4) via the encoding to USB module (5), serving as the operating peripherals of the human-machine interface (1) under normal conditions.
6. A keyboard and mouse device with a backup operation function according to any one of claims 1-5, characterized in that: The matrix keyboard (2), touchpad mouse (4) and encoding to USB module (5) are integrated into an all-in-one industrial metal keyboard and touchpad mouse.
7. A keyboard and mouse device with a backup operation function according to any one of claims 1-5, characterized in that: The PLC transistor output (3) is the crystal interface of the PLC. The digital output interface on the PLC is connected to the execution relay and test relay of the explosion-proof combination switch, multi-circuit starter, combination frequency converter starter, combination power supply, belt control, and working face control equipment in the coal mine. The digital input interface on the PLC is connected to the operation button of the explosion-proof combination switch, multi-circuit starter, combination frequency converter starter, combination power supply, belt control, and working face control equipment in the coal mine. The real-time status of the execution relay, test relay and operation button is displayed on the human-machine interface (1) through the network switch.
8. A keyboard and mouse device with a backup operation function according to any one of claims 1-5, characterized in that: An optocoupler isolation module is also provided between the Ethernet interface of the human-machine interface (1) and the PLC transistor output (3).