Single-wire communication compatible standby control circuit
By designing a single-line communication compatible standby control circuit and using components such as resistors and capacitors to achieve single-line connection of UART communication, the problem of complicated lines in UART communication is solved, and a simple and efficient circuit design is achieved, which is suitable for industrialization.
Patent Information
- Application Number
- CN202422600647.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-10-14
- Estimated Expiration
- 2034-10-28
AI Technical Summary
In asynchronous UART communication, the existing technology requires two lines for data communication, resulting in complicated interface lines.
A single-line communication compatible standby control circuit is designed. The host control module and the controlled module are connected by one wire. Resistors, capacitors, inductors, MOS tubes and other components are used to realize signal transmission and standby control, simplifying the circuit.
It realizes that only one line is needed in UART communication, reduces the complexity of the line, improves the economy and reliability of the circuit, is suitable for industrialization, and has good circuit consistency.
Smart Images

Figure CN223436243U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to communication field, concretely is a single line communication compatible standby control circuit. BACKGROUND
[0002] In asynchronous UART (serial communication interface) communication, two lines (TX and RX) are needed for data communication between two UARTs, and the interface is complicated, which needs to be improved. UTILITY MODEL CONTENTS
[0003] The utility model discloses a single line communication compatible standby control circuit to solve the problem in the above background.
[0004] To achieve the above object, the utility model provides the following technical scheme:
[0005] A single line communication compatible standby control circuit, comprising:
[0006] The controlled module is used for receiving the control signal of the host computer control module and feeding back the working signal to the host computer control module (as the controlled party, MCU1 controls the equipment work);
[0007] The host computer control module is used for receiving the working signal of the controlled module and sending the control signal to the controlled module (as the host computer, MCU2 issues the control signal);
[0008] The controlled module is connected with the host computer control module through a line.
[0009] As a further scheme of the utility model: the host computer control module includes resistance R6, resistance R7, triode Q2, diode D3, resistance R10, resistance R15, resistance R17, resistance R12, triode Q5, one end of resistance R7 is connected with TX2 pin of single-chip microcomputer MCU2, the other end of resistance R7 is connected with one end of resistance R6 and base of triode Q2, the other end of resistance R6 is connected with voltage VCC and emitter of triode Q2, the positive pole of diode D3 is connected with the collector of triode Q2, one end of resistance R10 is connected with the negative pole of diode D3, the other end of resistance R10 is connected with one end of resistance R15 and controlled module, one end of resistance R15 is connected with the other end of resistance R17 and base of triode Q5, the other end of resistance R17 is grounded, the emitter of triode Q5 is grounded, one end of resistance R12 is connected with the collector of triode Q5 and RX2 pin of single-chip microcomputer MCU2, and the other end of resistance R12 is connected with voltage VCC.
[0010] As a further scheme of the utility model: the controlled module comprises:
[0011] A signal transmission unit is configured to receive a control signal from the host computer control module and feed back a working signal to the host computer control module.
[0012] A standby control unit is configured to receive a control signal from the host computer control module and control the standby control loop to wake up.
[0013] The signal transmission unit and the standby control unit are connected in parallel.
[0014] As a further scheme of the utility model, the signal transmission unit comprises a resistor R9, a resistor R8, a triode Q3, a diode D4, a resistor R13, a resistor R11, a resistor R14, a resistor R16 and a triode Q4, one end of the resistor R13 is connected with one end of the resistor R14, the host computer control module and the standby control unit, the other end of the resistor R14 is connected with one end of the resistor R16 and the base of the triode Q4, the other end of the resistor R16 is grounded, the emitter of the triode Q4 is grounded, the collector of the triode Q4 is connected with one end of the resistor R11 and the RX1 pin of the single-chip microcomputer MCU1, the other end of the resistor R11 is connected with the voltage VCC, the other end of the resistor R13 is connected with the negative electrode of the diode D4, the positive electrode of the diode D4 is connected with the collector of the triode Q3, the emitter of the triode Q3 is connected with the voltage VCC and one end of the resistor R8, the other end of the resistor R8 is connected with the base of the triode Q3 and one end of the resistor R9, and the other end of the resistor R9 is connected with the TX1 pin of the single-chip microcomputer MCU1.
[0015] As a further scheme of the utility model, the standby control unit comprises a diode D1, a diode D2, a resistor R3, a resistor R4, a capacitor C1, a triode Q1, a resistor R1, a resistor R2, a MOS tube M1, a capacitor C2 and a resistor R5, the positive electrode of the diode D2 is connected with the signal transmission unit and the host computer control module, the negative electrode of the diode D2 is connected with the negative electrode of the diode D1 and one end of the resistor R3, the positive electrode of the diode D1 is connected with the LOCK pin of the single-chip microcomputer MCU1, the other end of the resistor R3 is connected with one end of the capacitor C1, one end of the resistor R4 and the base of the triode Q1, the other end of the resistor R4 is grounded, the other end of the capacitor C1 is grounded, the emitter of the triode Q1 is grounded, the collector of the triode Q1 is connected with one end of the resistor R2, the other end of the resistor R2 is connected with one end of the resistor R1 and the G pole of the MOS tube M1, the other end of the resistor R1 is connected with the voltage +BAT and the S pole of the MOS tube M1, the D pole of the MOS tube M1 is connected with one end of the capacitor C2, one end of the resistor R5 and the standby control loop, the other end of the capacitor C2 is grounded, and the other end of the resistor R5 is grounded.
[0016] Compared with the prior art, the utility model discloses beneficial effect is: the utility model discloses two UARTs between data communication only needs a line, and the line is simple;The whole circuit selected component cost is low, adopts ordinary conventional device completely, and economic benefit is very considerable;The generality and timeliness of this circuit are good, and the reliability is high;The selected device and material are all general spare, and the industrialization of circuit is very easy to realize, and this circuit has passed a series of test verification, and the circuit consistency is good, has the significance of popularization. BRIEF DESCRIPTION OF DRAWINGS
[0017] Figure 1 It is a kind of single line communication compatible standby control circuit's circuit diagram. DETAILED DESCRIPTION
[0018] The technical scheme in the embodiments of the utility model will be described clearly and completely below in conjunction with the drawings in the embodiments of the utility model, obviously, the described embodiments are only part of the embodiments of the utility model, not all the embodiments, based on the embodiments in the utility model, all other embodiments obtained by the ordinary skill in the art without making creative labor belong to the range of the utility model protection.
[0019] Please refer to Figure 1 A kind of single line communication compatible standby control circuit, comprising:
[0020] Controlled module is used to receive the control signal of host computer control module, and feedback work signal to host computer control module (as controlled party, MCU1 control equipment work);
[0021] Host computer control module is used to receive the work signal of controlled module, and sends control signal to controlled module (as host computer, MCU2 issue control signal);
[0022] Controlled module is connected with host computer control module by a line.
[0023] In the embodiment: please refer to Figure 1The host computer control module comprises a resistor R6, a resistor R7, a triode Q2, a diode D3, a resistor R10, a resistor R15, a resistor R17, a resistor R12, a triode Q5, one end of the resistor R7 is connected to a TX2 pin of a single-chip microcomputer MCU2, the other end of the resistor R7 is connected to one end of the resistor R6 and a base of the triode Q2, the other end of the resistor R6 is connected to a voltage VCC and an emitter of the triode Q2, a positive electrode of the diode D3 is connected to a collector of the triode Q2, one end of the resistor R10 is connected to a negative electrode of the diode D3, the other end of the resistor R10 is connected to one end of the resistor R15, a controlled module, the other end of the resistor R15 is connected to one end of the resistor R17 and a base of the triode Q5, the other end of the resistor R17 is grounded, an emitter of the triode Q5 is grounded, and one end of the resistor R12 and a RX2 pin of the single-chip microcomputer MCU2 are connected to a collector of the triode Q5, and the other end of the resistor R12 is connected to the voltage VCC.
[0024] The single-chip microcomputer MCU2 sends a signal, when a low level is sent from the TX2 pin, the triode Q2 is turned on, the voltage VCC passes through the diode D3 and the resistor R10, passes through a COM line and a resistor R14, so that the triode Q4 is turned on, and a low level is received by the RX1 pin.
[0025] When a high level is sent from the TX2, the triode Q2 is turned off, the triode Q4 is turned off, the RX1 pin is pulled up to a high level by the resistor R11, and a high level is received by the RX1 pin.
[0026] In the embodiment, please refer to Figure 1 The controlled module comprises:
[0027] A signal transmission unit is configured to receive a control signal of the host computer control module and feed back a working signal to the host computer control module.
[0028] A standby control unit is configured to receive a control signal of the host computer control module and control a standby control loop to wake up.
[0029] The signal transmission unit and the standby control unit are connected in parallel.
[0030] In the embodiment, please refer to Figure 1The signal transmission unit comprises a resistor R9, a resistor R8, a triode Q3, a diode D4, a resistor R13, a resistor R11, a resistor R14, a resistor R16, a triode Q4, one end of the resistor R13 connected to one end of the resistor R14, the upper computer control module, the standby control unit, the other end of the resistor R14 connected to one end of the resistor R16, the base of the triode Q4, the other end of the resistor R16 grounded, the emitter of the triode Q4 grounded, the collector of the triode Q4 connected to one end of the resistor R11, the RX1 pin of the single-chip microcomputer MCU1, the other end of the resistor R11 connected to the voltage VCC, the other end of the resistor R13 connected to the negative electrode of the diode D4, the positive electrode of the diode D4 connected to the collector of the triode Q3, the emitter of the triode Q3 connected to the voltage VCC and one end of the resistor R8, the other end of the resistor R8 connected to the base of the triode Q3 and one end of the resistor R9, and the other end of the resistor R9 connected to the TX1 pin of the single-chip microcomputer MCU1.
[0031] When the single-chip microcomputer MCU1 sends a signal and the TX1 pin sends a low level, the triode Q3 is turned on, the voltage VCC passes through the diode D4 and the resistor R13, passes through the COM line and the resistor R15, so that the triode Q5 is turned on, and the RX2 pin receives a low level.
[0032] When the TX1 sends a high level, the triode Q3 is turned off, the triode Q5 is turned off, the RX2 pin is pulled up to a high level by the resistor R12, and the RX2 pin receives a high level.
[0033] In the embodiment, please refer to Figure 1 The standby control unit comprises a diode D1, a diode D2, a resistor R3, a resistor R4, a capacitor C1, a triode Q1, a resistor R1, a resistor R2, a MOS tube M1, a capacitor C2, and a resistor R5, the positive electrode of the diode D2 connected to the signal transmission unit and the upper computer control module, the negative electrode of the diode D2 connected to the negative electrode of the diode D1 and one end of the resistor R3, the positive electrode of the diode D1 connected to the LOCK pin of the single-chip microcomputer MCU1, the other end of the resistor R3 connected to one end of the capacitor C1, one end of the resistor R4, and the base of the triode Q1, the other end of the resistor R4 grounded, the other end of the capacitor C1 grounded, the emitter of the triode Q1 grounded, the collector of the triode Q1 connected to one end of the resistor R2, the other end of the resistor R2 connected to one end of the resistor R1 and the G pole of the MOS tube M1, the other end of the resistor R1 connected to the voltage +BAT and the S pole of the MOS tube M1, the D pole of the MOS tube M1 connected to one end of the capacitor C2, one end of the resistor R5, and the standby control loop, the other end of the capacitor C2 grounded, and the other end of the resistor R5 grounded.
[0034] Power on wake up: TX2 pin first sends low level for a certain time, triode Q2 is turned on, voltage VCC passes through diode D3, resistor R10, COM line, diode D2, resistor R3, triode Q1 is turned on, and then MOS tube M1 is turned on, +BAT voltage supplies power to standby control circuit through MOS tube M1, and the standby control circuit works to make the single-chip microcomputer MCU1 powered on, after the single-chip microcomputer MCU1 is powered on, the LOCK pin of the single-chip microcomputer MCU1 controls continuous high level output, through diode D1 and resistor R3, triode Q1 is continuously turned on, MOS tube M1 is continuously turned on, and +BAT voltage continuously supplies power to the standby control circuit through MOS tube M1.
[0035] Standby: after the rear-end standby control circuit completes the relevant control, the LOCK pin of the single-chip microcomputer MCU1 controls low level output, triode Q1 is cut off, MOS tube M1 is cut off, and +BAT voltage cannot supply power to the standby control circuit through MOS tube M1.
[0036] The standby control circuit is a common control circuit, which is commonly used in handheld dust collectors, handheld fans, and personal care related products powered by batteries, and is prior art, which will not be described here.
[0037] The working principle of the utility model is: the controlled module is used for receiving the control signal of the upper computer control module, and feeding back the working signal to the upper computer control module (as a controlled party, MCU1 controls the equipment work); the upper computer control module is used for receiving the working signal of the controlled module, and sending the control signal to the controlled module (as the upper computer, MCU2 issues the control signal).
[0038] For those skilled in the art, it is obvious that the utility model is not limited to the details of the above-mentioned exemplary embodiments, and the utility model can be realized in other specific forms without departing from the spirit or basic characteristics of the utility model. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting.
[0039] In addition, it should be understood that, although the present specification is described in terms of embodiments, not every embodiment contains only one independent technical solution, and the description manner of the specification is only for the sake of clarity, those skilled in the art should regard the specification as a whole, and the technical solutions in each embodiment can be combined appropriately to form other embodiments that those skilled in the art can understand.
Claims
1. A single-line communication compatible standby control circuit, characterized in that: The single-wire communication compatible standby control circuit includes: The controlled module is used to receive the control signal from the host control module and feed back the working signal to the host control module; The host computer control module is used to receive the working signal of the controlled module and send the control signal to the controlled module; The controlled module is connected to the host control module through a wire.
2. The single-wire communication compatible standby control circuit according to claim 1, characterized in that: The upper computer control module includes resistor R6, resistor R7, transistor Q2, diode D3, resistor R10, resistor R15, resistor R17, resistor R12, and transistor Q5. One end of the resistor R7 is connected to the TX2 pin of the microcontroller MCU2, the other end of the resistor R7 is connected to one end of the resistor R6 and the base of the transistor Q2, the other end of the resistor R6 is connected to the voltage VCC and the emitter of the transistor Q2, the collector of the transistor Q2 is connected to the positive electrode of the diode D3, the negative electrode of the diode D3 is connected to one end of the resistor R10, the other end of the resistor R10 is connected to one end of the resistor R15 and the controlled module, the other end of the resistor R15 is connected to one end of the resistor R17 and the base of the transistor Q5, the other end of the resistor R17 is grounded, the emitter of the transistor Q5 is grounded, the collector of the transistor Q5 is connected to one end of the resistor R12 and the RX2 pin of the microcontroller MCU2, and the other end of the resistor R12 is connected to the voltage VCC.
3. The single-wire communication compatible standby control circuit according to claim 1, characterized in that: The controlled modules include: The signal transmission unit is used to receive the control signal from the host computer control module and feed back the working signal to the host computer control module; The standby control unit is used to receive the control signal from the host computer control module to control the wake-up of the standby control loop; The signal transmission unit and the standby control unit are connected in parallel.
4. The single-wire communication compatible standby control circuit according to claim 3, characterized in that: The signal transmission unit includes a resistor R9, a resistor R8, a transistor Q3, a diode D4, a resistor R13, a resistor R11, a resistor R14, a resistor R16, and a transistor Q4. One end of the resistor R13 is connected to one end of the resistor R14, the host computer control module, and the standby control unit. The other end of the resistor R14 is connected to one end of the resistor R16 and the base of the transistor Q4. The other end of the resistor R16 is grounded. The emitter of the transistor Q4 is grounded. The collector of the transistor Q4 is connected to one end of the resistor R11 and the RX1 pin of the microcontroller MCU1. The other end of the resistor R11 is connected to the voltage VCC. The other end of the resistor R13 is connected to the cathode of the diode D4. The anode of the diode D4 is connected to the collector of the transistor Q3. The emitter of the transistor Q3 is connected to the voltage VCC and one end of the resistor R8. The other end of the resistor R8 is connected to the base of the transistor Q3 and one end of the resistor R9. The other end of the resistor R9 is connected to the TX1 pin of the microcontroller MCU1.
5. The single-wire communication compatible standby control circuit according to claim 3, characterized in that: The standby control unit includes a diode D1, a diode D2, a resistor R3, a resistor R4, a capacitor C1, a transistor Q1, a resistor R1, a resistor R2, a MOS tube M1, a capacitor C2, and a resistor R5. The positive electrode of the diode D2 is connected to the signal transmission unit and the upper computer control module, the negative electrode of the diode D2 is connected to the negative electrode of the diode D1 and one end of the resistor R3, the positive electrode of the diode D1 is connected to the LOCK pin of the microcontroller MCU1, and the other end of the resistor R3 is connected to one end of the capacitor C1, one end of the resistor R4, the transistor M1, the capacitor C2, and the resistor R5. The base of the transistor Q1, the other end of the resistor R4 is grounded, the other end of the capacitor C1 is grounded, the emitter of the transistor Q1 is grounded, the collector of the transistor Q1 is connected to one end of the resistor R2, the other end of the resistor R2 is connected to one end of the resistor R1 and the G pole of the MOS tube M1, the other end of the resistor R1 is connected to the voltage +BAT and the S pole of the MOS tube M1, the D pole of the MOS tube M1 is connected to one end of the capacitor C2, one end of the resistor R5, and the standby control loop, the other end of the capacitor C2 is grounded, and the other end of the resistor R5 is grounded.