Circuit awakening system based on communication signal
Through a circuit wake-up system based on communication signals, the CAN bus and RS-485 bus differential signals are used to realize microcontroller signal flip, which solves the problem of manual operation or increased costs in the wake-up circuit in the prior art, and realizes the direct wake-up effect without MCU communication.
Patent Information
- Application Number
- CN202422647700.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2034-10-31
AI Technical Summary
In the prior art, the problem of wake-up circuits through button presses or MCU communication protocols requires manual operation or increase software development costs and circuit losses.
The circuit wake-up system based on communication signals is adopted, and the voltage difference is generated by the differential signal of the CAN bus and/or RS-485 bus, so that the isolated optocoupler is turned on, and the microcontroller signal is turned over and the sleep circuit is directly awakened.
Without the need for inter-MCU communication and wake-up protocols, the sleep circuit can be awakened by simply connecting the communication device, reducing development costs and circuit losses.
Smart Images

Figure CN223272794U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of equipment communication, and in particular to a circuit wake-up system based on communication signals. Background Art
[0002] Currently, in most cases, circuits involving communication are awakened from sleep mode using a button or a communication protocol between MCUs. However, waking up the circuit using a button requires on-site operation, which affects the user experience. Waking up the circuit using a communication protocol is a software-controlled solution, requiring a new wake-up protocol to be added to the software. Specifically, communication must be established between the two MCUs before the protocol can be sent. Therefore, the communication circuit between the two MCUs must maintain normal operation during sleep mode, increasing software development costs and circuit loss. Therefore, a new wake-up circuit is needed to address these issues. Utility Model Content
[0003] The utility model provides a circuit wake-up system based on communication signals, which directly activates the dormant circuit through communication. It does not require two MCUs to maintain communication, nor does it require the configuration of a communication wake-up protocol. When the dormant circuit needs to be awakened, it is only necessary to connect a device with communication through a communication line to wake up the dormant device.
[0004] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0005] A circuit wake-up system based on a communication signal includes a sleep wake-up circuit, wherein the sleep wake-up circuit includes:
[0006] A differential signal input module, the differential signal input module is used to generate a differential signal, the differential signal input module includes a signal input unit and an isolation optocoupler, the isolation optocoupler is connected to the output end of the signal input unit;
[0007] The single-chip microcomputer signal flip module is arranged at the output end of the isolation optocoupler, and the single-chip microcomputer signal flip module can realize the level flip of the signal detected by the single-chip microcomputer when the isolation optocoupler is turned on.
[0008] Preferably, the signal input unit is a CAN bus and / or an RS-485 bus.
[0009] Preferably, the isolation optocoupler includes a first isolation optocoupler OP1 connected to the output end of the CAN bus and a second isolation optocoupler OP2 connected to the output end of the RS-485 bus.
[0010] Preferably, the CAN bus includes a resistor R3 and a first fast switching diode D1, the high-level end of the CAN bus is connected to one end of the resistor R3, the other end of the resistor R3 is connected to the cathode of the first fast switching diode D1, and the anode of the first fast switching diode D1 is connected to the low-level end of the CAN bus.
[0011] Preferably, interface No. 1 of the first isolation optocoupler OP1 is connected to the cathode of the first fast switching diode D1, interface No. 2 of the first isolation optocoupler OP1 is connected to the anode of the first fast switching diode D1, and interface No. 3 of the first isolation optocoupler OP1 is connected to the ground terminal.
[0012] Preferably, the RS-485 bus includes a resistor R4 and a second fast switching diode D2, the high level end of the RS-485 bus is connected to one end of the resistor R4, the other end of the resistor R4 is connected to the cathode of the second fast switching diode D2, and the anode of the second fast switching diode D2 is connected to the low level end of the RS-485 bus.
[0013] Preferably, interface No. 1 of the second isolation optocoupler OP2 is connected to the cathode of the second fast switching diode D2, interface No. 2 of the second isolation optocoupler OP2 is connected to the anode of the second fast switching diode D2, and interface No. 3 of the second isolation optocoupler OP2 is connected to the ground terminal.
[0014] Preferably, the single-chip microcomputer signal flip module includes a resistor R2, a resistor R1, and a capacitor C1, one end of the resistor R2 is connected to the power supply VCC, and the other end of the resistor R2 is connected to the line node between interface No. 4 of the first isolation optocoupler OP1 and interface No. 4 of the second isolation optocoupler OP2, one end of the resistor R1 is connected to the other end of the resistor R2, the other end of the resistor R1 is connected to one end of the capacitor C1, the other end of the capacitor C1 is connected to the ground end, and the connection node between the resistor R1 and the capacitor C1 is connected to the single-chip microcomputer interrupt signal interface.
[0015] It can be seen from the above technical solution that the present invention has the following beneficial effects: In the present invention, the voltage difference generated by the differential signal of the CAN bus and / or RS-485 bus is used to turn on the isolation optocoupler, and then the single-chip microcomputer signal flip module can realize the level flip of the signal detected by the single-chip microcomputer when the isolation optocoupler is turned on. In this way, the level of the signal receiving end of the MCU detection pin connected to the single-chip microcomputer signal flip module is flipped, so that communication access can be detected, and the circuit sleep can be awakened through the communication of the signal input unit. The present invention directly activates the sleep circuit through communication, does not require communication between the two MCUs, and does not require the configuration of a communication wake-up protocol. When the sleep circuit needs to be awakened, it is only necessary to connect the device with communication with a communication line to wake up the sleep device. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is the circuit schematic diagram of the utility model;
[0017] Figure 2 This is the system block diagram of the sleep wake-up circuit;
[0018] Figure 3 This is a structural diagram of the connection between the awakened device and the communication line. DETAILED DESCRIPTION
[0019] A preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings.
[0020] Example 1:
[0021] In order to achieve the above purpose, the embodiment of the present utility model adopts the following technical solutions: Figure 1 , a circuit wake-up system based on communication signals, including a sleep wake-up circuit, further, the sleep wake-up circuit includes a differential signal input module and a single-chip microcomputer signal flip module, wherein the differential signal input module is used to generate a differential signal, further, the differential signal input module includes a signal input unit and an isolation optocoupler, the isolation optocoupler is connected to the output end of the signal input unit, the single-chip microcomputer signal flip module is set at the output end of the isolation optocoupler, and the single-chip microcomputer signal flip module is connected to the MCU detection pin. The single-chip microcomputer signal flip module can realize the level flip of the signal detected by the single-chip microcomputer when the isolation optocoupler is turned on. When in use, the voltage difference generated by the signal input unit can make the isolation optocoupler turned on, so that the signal receiving end level of the MCU detection pin connected to the single-chip microcomputer signal flip module is flipped, so that the circuit sleep can be awakened through the communication of the signal input unit.
[0022] As a preferred technical solution of this embodiment, the signal input unit is a CAN bus and / or an RS-485 bus, that is, the signal input unit can be a separate CAN bus, a separate RS-485 bus, or a CAN bus and an RS-485 bus in parallel. Specifically, in this embodiment, the CAN bus and the RS-485 bus are connected in parallel. Since the signal input unit and the isolation optocoupler are in a one-to-one correspondence, the isolation optocoupler in this embodiment includes a first isolation optocoupler OP1 connected to the output end of the CAN bus and a second isolation optocoupler OP2 connected to the output end of the RS-485 bus.
[0023] In some embodiments, the CAN bus includes a resistor R3 and a first fast switching diode D1. The CAN bus has a high-level end and a low-level end. Specifically, the high-level end can be named CAN_H and the low-level end can be named CAN_L. At the same time, in order to facilitate the distinction between the two terminals of the resistor R3, the two ends of the resistor R3 can be named interface No. 1 of the resistor R3 and interface No. 2 of the resistor R3, respectively. The high-level end CAN_H of the CAN bus is connected to interface No. 2 of the resistor R3, interface No. 1 of the resistor R3 is connected to the cathode of the first fast switching diode D1, and the anode of the first fast switching diode D1 is connected to the low-level end CAN_L of the CAN bus.
[0024] Furthermore, the first isolation optocoupler OP1 includes four interfaces. For the sake of convenience of description, the four interfaces of the first isolation optocoupler OP1 can be named interface 1, interface 2, interface 3 and interface 4 respectively. In the actual line connection process, interface 1 of the first isolation optocoupler OP1 is connected to the cathode of the first fast switching diode D1, interface 2 of the first isolation optocoupler OP1 is connected to the anode of the first fast switching diode D1, and interface 3 of the first isolation optocoupler OP1 is connected to the ground terminal. In this way, the first isolation optocoupler OP1 can be electrically connected to the CAN bus.
[0025] Furthermore, the single-chip signal flip module includes a resistor R2, a resistor R1, and a capacitor C1. For ease of description, the two terminals of the resistor R2 are named interface No. 1 of the resistor R2 and interface No. 2 of the resistor R2, the two terminals of the resistor R1 are named interface No. 1 of the resistor R1 and interface No. 2 of the resistor R1, and the two terminals of the capacitor C1 are named interface No. 1 of the capacitor C1 and interface No. 2 of the capacitor C1. In the actual line connection process, interface No. 1 of the resistor R2 is connected to the power supply VCC, interface No. 2 of the resistor R2 is connected to the line node between interface No. 4 of the first isolation optocoupler OP1 and interface No. 4 of the second isolation optocoupler OP2, and interface No. 2 of the resistor R1 is connected to the resistor R2. Interface No. 2 of CAN_H is connected to interface No. 1 of resistor R1, interface No. 1 of capacitor C1, interface No. 2 of capacitor C1 is connected to the ground terminal, and the connection node between interface No. 1 of resistor R1 and interface No. 1 of capacitor C1 is connected to the microcontroller interrupt signal interface. In this way, when a voltage difference is generated between CAN_H and CAN_L, the first isolation optocoupler OP1 will be turned on, so that the interface No. 3 and interface No. 4 pins of the first isolation optocoupler OP1 are turned on, thereby pulling down the level of interface No. 2 of resistor R2, so that the microcontroller interrupt signal level will be pulled from a high level to a low level, so the signal detected by the microcontroller will be level-flipped, so that communication access can be detected, and the dormant circuit can be awakened by communication.
[0026] In other embodiments, the RS-485 bus includes a resistor R4 and a second fast switching diode D2. The RS-485 bus has a high-level end and a low-level end. Specifically, the high-level end can be named 485_B, and the low-level end can be named 485_A. At the same time, in order to facilitate the distinction between the two connection terminals of the resistor R4, the two ends of the resistor R4 can be named as interface No. 1 of the resistor R4 and interface No. 2 of the resistor R4, respectively. The high-level end 485_B of the RS-485 bus is connected to interface No. 2 of the resistor R4, interface No. 1 of the resistor R4 is connected to the cathode of the second fast switching diode D2, and the anode of the second fast switching diode D2 is connected to the low-level end 485_A of the RS-485 bus.
[0027] Furthermore, the second isolation optocoupler OP2 includes four interfaces. For the sake of convenience of description, the four interfaces of the second isolation optocoupler OP1 can be named interface 1, interface 2, interface 3 and interface 4 respectively. In the actual line connection process, interface 1 of the second isolation optocoupler OP2 is connected to the cathode of the second fast switching diode D2, interface 2 of the second isolation optocoupler OP2 is connected to the anode of the second fast switching diode D2, and interface 3 of the second isolation optocoupler OP2 is connected to the ground terminal. In this way, the second isolation optocoupler OP2 can be electrically connected to the RS-485 bus.
[0028] Similarly, when differential signals are input through the aforementioned RS-485 bus, after a voltage difference is generated between 485_B and 485_A, the second isolation optocoupler OP2 will be turned on, so that the interface pins 3 and 4 of the second isolation optocoupler OP2 are turned on, thereby pulling the level of interface 2 of resistor R2 low, so that the interrupt signal level of the microcontroller will be pulled from a high level to a low level, so the signal detected by the microcontroller will undergo a level flip, so that it can detect that there is communication access, and the sleep circuit can be awakened through communication.
[0029] Therefore, in this embodiment, when the level on the MCU detection pin flips from a high level to a low level, it can be detected that there is a communication access, and the dormant circuit can be awakened through the communication.
[0030] Reference Figure 2 , Figure 2 This is a system block diagram of the sleep wake-up circuit, in which the wake-up device is used to wake up the awakened device. The sleep wake-up circuit can exist inside the awakened device. When in use, the serial port of the microcontroller is converted and isolated and connected to the wake-up device through the CAN bus or RS-485 bus. When the awakened device enters sleep, if the wake-up device has data to transmit, the data signal will enter the wake-up circuit. When the sleep wake-up circuit receives the signal, it will respond to the MCU to wake up the MCU, thereby achieving the effect of waking up the awakened device.
[0031] In other embodiments, referring to Figure 3 In order to facilitate the connection between the awakened device 1 and the communication line 2, symmetrically distributed guide limit assemblies are provided on both sides of the interface of the awakened device 1. Furthermore, two groups of guide limit assemblies are provided, and each group of guide limit assemblies includes two suction cups 10 symmetrically arranged on the side walls of the awakened device 1, a limit rod 30 rotatably arranged between the two suction cups through the adapter column 20, a torsion spring 40 placed on the outer wall of the adapter column 20 and connected to the limit rod 30 and the outer wall of the adapter column 20 at both ends, and a limit column 50 rotatably arranged at one end of the limit rod away from the adapter column. When in use, the guide limit assemblies on both sides are adsorbed on the side walls of the awakened device 1 through the suction cup 10, and at the same time, the limit rods 30 on both sides are subjected to the torsion force of the torsion spring 40, so that the gap between the limit columns 50 at their ends is smaller. When it is necessary to connect the communication line 2 to the awakened device 1, the staff needs to manually adjust the two sides. The limiting posts 50 are separated from the larger accommodating space, so that the communication line 2 is conveniently connected to the awakened device through the aforementioned accommodating space. In order to improve the clamping and fixing effect of the limiting post 50 on the communication line, a limiting groove that matches the outer wall of the communication line can be opened on the outer wall of the limiting post 50, so that the line can be stably clamped to prevent the connector from falling off when the communication line 2 is pulled; in addition, since the limiting posts 50 on both sides are in contact with the wire body of the communication line 2, when the communication line 2 moves relative to the awakened device, the limiting post 50 will always keep in contact with the wire body surface of the communication line 2, instead of the connector of the non-communication line 2 moving relative to the awakened device 1, thereby avoiding adverse effects on the connection part between the awakened device 1 and the communication line 2, so as to solve the problem of poor contact caused by repeated movement of the connector of the communication line 2 and the awakened device 1 in the prior art.
[0032] It should be noted that the presence of the suction cup 10 can realize a detachable connection between the guide limit assembly and the awakened device 1, so that when the guide limit assembly is needed, it can be used at any time and is easy to install.
[0033] The above-described embodiments are merely descriptions of preferred embodiments of the present invention and do not limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should fall within the scope of protection determined by the claims of the present invention.
Claims
1. A circuit wake-up system based on communication signals, characterized in that: A sleep wake-up circuit is included, and the sleep wake-up circuit includes: A differential signal input module, the differential signal input module is used to generate a differential signal, the differential signal input module includes a signal input unit and an isolation optocoupler, the isolation optocoupler is connected to the output end of the signal input unit; The single-chip microcomputer signal flip module is arranged at the output end of the isolation optocoupler, and the single-chip microcomputer signal flip module can realize the level flip of the signal detected by the single-chip microcomputer when the isolation optocoupler is turned on.
2. The circuit wake-up system based on communication signals according to claim 1, characterized in that: The signal input unit is a CAN bus and / or an RS-485 bus.
3. The circuit wake-up system based on communication signals according to claim 2, characterized in that: The isolation optocoupler includes a first isolation optocoupler OP1 connected to the output end of the CAN bus and a second isolation optocoupler OP2 connected to the output end of the RS-485 bus.
4. The circuit wake-up system based on communication signals according to claim 3, characterized in that: The CAN bus includes a resistor R3 and a first fast switching diode D1. The high-level end of the CAN bus is connected to one end of the resistor R3, the other end of the resistor R3 is connected to the cathode of the first fast switching diode D1, and the anode of the first fast switching diode D1 is connected to the low-level end of the CAN bus.
5. The circuit wake-up system based on communication signals according to claim 4, characterized in that: Interface 1 of the first isolation optocoupler OP1 is connected to the cathode of the first fast switching diode D1, interface 2 of the first isolation optocoupler OP1 is connected to the anode of the first fast switching diode D1, and interface 3 of the first isolation optocoupler OP1 is connected to the ground terminal.
6. The circuit wake-up system based on communication signals according to claim 5, characterized in that: The RS-485 bus includes a resistor R4 and a second fast switching diode D2. The high-level end of the RS-485 bus is connected to one end of the resistor R4, the other end of the resistor R4 is connected to the cathode of the second fast switching diode D2, and the anode of the second fast switching diode D2 is connected to the low-level end of the RS-485 bus.
7. The circuit wake-up system based on communication signals according to claim 6, characterized in that: Interface 1 of the second isolation optocoupler OP2 is connected to the cathode of the second fast switching diode D2, interface 2 of the second isolation optocoupler OP2 is connected to the anode of the second fast switching diode D2, and interface 3 of the second isolation optocoupler OP2 is connected to the ground terminal.
8. The circuit wake-up system based on communication signals according to claim 7, characterized in that: The single-chip microcomputer signal flip module includes a resistor R2, a resistor R1, and a capacitor C1. One end of the resistor R2 is connected to the power supply VCC, and the other end of the resistor R2 is connected to the line node between interface No. 4 of the first isolation optocoupler OP1 and interface No. 4 of the second isolation optocoupler OP2. One end of the resistor R1 is connected to the other end of the resistor R2, and the other end of the resistor R1 is connected to one end of the capacitor C1. The other end of the capacitor C1 is connected to the ground end, and the connection node between the resistor R1 and the capacitor C1 is connected to the single-chip microcomputer interrupt signal interface.