Energy storage battery UART communication circuit and electric device
Patent Information
- Application Number
- CN202611221557.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-12
- Publication Date
- 2026-10-20
AI Technical Summary
[0003]本申请的主要目的在于提供一种储能电池UART通讯电路及电动设备,旨在解决电池放电口在系统未连接时仍可能带电导致回路导通瞬间易产生火花或电弧,以及用户需先手动激活电池再启动系统的技术问题
[0016]本发明设置有一种储能电池UART通讯电路,应用于电动设备,电动设备包括电池、仪表系统及仪表按键,储能电池UART通讯电路包括:电池端电路,包括电池接收电路、电池发送电路;电池发送电路用于在接收到仪表按键输出的启动按键信号时,控制电池向仪表系统放电;系统端电路,包括系统发送电路;系统发送电路通过通讯线与电池接收电路连接,电池发送电路还与仪表按键连接;系统发送电路,用于在电池和仪表系统连接时,向电池侧发送在位识别信号至电池接收电路,以使电池接收电路将在位识别信号输出至电池,以使电池根据在位识别信号向仪表系统持续供电。本发明解决了带电输出时插拔抖动易产生电弧,以及无法一键启动电池与仪表系统的问题。
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] This application relates to the field of energy storage battery technology, and in particular to an energy storage battery UART communication circuit and electric device. Background Technology
[0002] Currently, energy storage batteries are widely used in electric devices, and the battery management system typically exchanges data with vehicle instruments or controllers via UART communication lines. However, existing UART circuits between energy storage batteries and systems only have data transmission and reception functions, lacking communication handshake and presence identification mechanisms. The system can only communicate after the battery discharge port is energized. If the discharge port is energized when the system is not in place or the system connection is not complete, the moment the battery circuit is turned on, it can easily cause a current surge to the system, resulting in sparks or arcs at the connector terminals. At the same time, users need to activate the battery before starting the system, which is a redundant operation. Summary of the Invention
[0003] The main purpose of this application is to provide a UART communication circuit and electric device for energy storage batteries, which aims to solve the technical problems that the battery discharge port may still be charged when the system is not connected, which may cause sparks or arcs to be generated when the circuit is turned on, and that users need to manually activate the battery before starting the system.
[0004] To achieve the above objectives, this application proposes an energy storage battery UART communication circuit, characterized in that it is applied to an electric device, the electric device including a battery, an instrument system, and instrument buttons, and the energy storage battery UART communication circuit includes: The battery-side circuit includes a battery receiving circuit and a battery transmitting circuit; the battery transmitting circuit is used to control the battery to discharge to the instrument system when it receives the start button signal output by the instrument button. The system-side circuit includes a system transmitting circuit; the system transmitting circuit is connected to the battery receiving circuit via a communication line, and the battery transmitting circuit is also connected to the instrument buttons; The system transmitting circuit is used to send an in-situ identification signal to the battery receiving circuit when the battery and the instrument system are connected, so that the battery receiving circuit outputs the in-situ identification signal to the battery, so that the battery continuously supplies power to the instrument system according to the in-situ identification signal.
[0005] In one embodiment, the system terminal circuit further includes a system receiving circuit, which is connected to the battery transmitting circuit via a communication line. The system receiving circuit is used to receive battery status information transmitted by the battery transmitting circuit.
[0006] In one embodiment, the system receiving circuit includes a receiving enable control circuit, a communication signal input circuit, and a first output terminal; The input terminal of the receive enable control circuit is connected to the output terminal of the battery transmitting circuit. The input terminal of the receive enable control circuit is also connected to the instrument button. The output terminal of the receive enable control circuit is connected to the communication signal input circuit. The output terminal of the communication signal input circuit is connected to the first output terminal. The receive enable control circuit is used to output the battery information output by the battery transmitting circuit to the first output terminal via the communication signal input terminal circuit.
[0007] In one embodiment, the receive enable control circuit includes a first switch, a second switch, a first resistor, a second resistor, a third resistor, a fourth resistor, and a first control terminal; The controlled terminal of the second switch is connected to the first terminal of the third resistor. The controlled terminal of the second switch is also connected to the first terminal of the fourth resistor. The second terminal of the second switch and the second terminal of the fourth resistor are grounded. The second terminal of the third resistor is connected to the first control terminal and receives the control signal output by the first control terminal. The third terminal of the second switch is connected to the first terminal of the second resistor. The second terminal of the second resistor is connected to the controlled terminal of the first switch. The second terminal of the second resistor is also connected to the first terminal of the first resistor. The second terminal of the first resistor is connected to the second terminal of the first switch. The second terminal of the first resistor is also connected to the battery transmitting circuit and the first terminal of the instrument button. The second terminal of the instrument button is grounded. The third terminal of the first switch is connected to the communication signal input circuit.
[0008] In one embodiment, the communication signal input circuit includes a third switch, a fourth switch, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, and a first power supply terminal; The first end of the fifth resistor is connected to the output terminal of the receive enable control circuit. The second end of the fifth resistor is connected to the first end of the sixth resistor. The second end of the fifth resistor is also connected to the controlled terminal of the third switch. The second end of the sixth resistor and the second end of the third switch are grounded. The third end of the third switch is connected to the first end of the seventh resistor. The second end of the seventh resistor is connected to the first end of the eighth resistor. The second end of the seventh resistor is also connected to the controlled terminal of the fourth switch. The second end of the fourth switch and the second end of the eighth resistor are connected to the first power supply terminal. The third end of the fourth switch is connected to the first output terminal. The third end of the fourth switch is also connected to the first end of the ninth resistor. The second end of the ninth resistor is grounded.
[0009] In one embodiment, the battery transmitting circuit includes a pull-up circuit, a pull-down circuit, and a signal output circuit; The output terminals of both the pull-up circuit and the pull-down circuit are connected to the input terminal of the signal output circuit. The pull-up circuit is used to output a pull-up signal to the system receiving circuit via the signal output circuit, and the pull-down circuit is used to output a pull-down signal to the system receiving circuit via the signal output circuit; The battery transmitting circuit also includes a second output terminal, and the signal output circuit is also connected to the second output terminal. The signal output circuit is connected to the instrument button and is used to transmit the start button signal to the second output terminal.
[0010] In one embodiment, the signal output circuit includes a tenth resistor and a first diode. The first end of the tenth resistor is connected to the second output terminal, the second end of the tenth resistor is connected to the anode of the first diode, and the cathode of the first diode is connected to the system receiving circuit.
[0011] In one embodiment, the pull-up circuit includes a fifth switch, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a second power supply terminal, and a second control terminal; The first end of the twelfth resistor is connected to the second control terminal, the second end of the twelfth resistor is connected to the first end of the eleventh resistor, the second end of the twelfth resistor is also connected to the controlled terminal of the fifth switch, the second end of the eleventh resistor and the second end of the fifth switch are connected to the second power supply terminal, the third end of the fifth switch is connected to the first end of the thirteenth resistor, and the second end of the thirteenth resistor is connected to the signal output circuit.
[0012] In one embodiment, the pull-down circuit includes a sixth switch, a seventh switch, a second diode, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a third control terminal, and a fourth control terminal; The first end of the eighteenth resistor is connected to the third control terminal, the second end of the eighteenth resistor is connected to the controlled terminal of the sixth switch, the second end of the eighteenth resistor is also connected to the first end of the seventeenth resistor, the second end of the seventeenth resistor and the second end of the sixth switch are grounded, and the third end of the sixth switch is connected to the signal output circuit. The first end of the fifteenth resistor is connected to the fourth control terminal, the second end of the fifteenth resistor is connected to the first end of the sixteenth resistor, the second end of the fifteenth resistor is also connected to the controlled terminal of the seventh switch, the second end of the sixteenth resistor and the second end of the seventh switch are grounded, the third end of the seventh switch is connected to the first end of the fourteenth resistor, the second end of the fourteenth resistor is connected to the cathode of the second diode, and the anode of the second diode is connected to the signal output circuit.
[0013] In one embodiment, the system transmitting circuit includes a nineteenth resistor, a twentieth resistor, a twenty-first resistor, an eighth switch, and a fifth control terminal; The controlled terminal of the eighth switch is connected to the first terminal of the twentieth resistor, and the first terminal of the twentieth resistor is also connected to the first terminal of the twentieth resistor. The second terminal of the eighth switch and the second terminal of the twentieth resistor are grounded. The second terminal of the twentieth resistor is connected to the fifth control terminal to receive the presence identification signal output by the fifth control terminal. The third terminal of the eighth switch is connected to the first terminal of the nineteenth resistor, and the second terminal of the nineteenth resistor is connected to the battery receiving circuit.
[0014] In one embodiment, the battery receiving circuit includes a twenty-second resistor, a twenty-third resistor, a third diode, a ninth switch, a third power supply terminal, and a third output terminal; The controlled terminal of the ninth switch is connected to the anode of the third diode, the cathode of the third diode is connected to the system transmitting circuit, the controlled terminal of the ninth switch is also connected to the first terminal of the twenty-second resistor, the second terminal of the ninth switch and the second terminal of the twenty-second resistor are connected to the third power supply terminal, the third terminal of the ninth switch is connected to the first terminal of the twenty-third resistor, the second terminal of the twenty-third resistor is grounded, and the first terminal of the twenty-third resistor is also connected to the third output terminal.
[0015] The present invention also proposes an electric device, including an energy storage battery, an instrument system, and an energy storage battery UART communication circuit as described above; The energy storage battery also includes a battery control board, which is connected to the battery terminal circuit of the energy storage battery UART communication circuit. The battery control board is used to control the operation of the battery terminal circuit. The instrument system also includes a system control board, which is connected to the system terminal circuit of the energy storage battery UART communication circuit. The system control board is used to control the operation of the system terminal circuit. The energy storage battery is used to start supplying power to the instrument system when it receives the start button signal transmitted by the energy storage battery UART communication circuit, and to continuously supply power to the instrument system according to the presence identification signal after detecting the presence identification signal transmitted by the energy storage battery UART communication circuit.
[0016] This invention provides a UART communication circuit for an energy storage battery, applied to an electric device. The electric device includes a battery, an instrument system, and instrument buttons. The energy storage battery UART communication circuit includes: a battery-side circuit, including a battery receiving circuit and a battery transmitting circuit; the battery transmitting circuit controls the battery to discharge to the instrument system when it receives a start button signal output from the instrument buttons; and a system-side circuit, including a system transmitting circuit; the system transmitting circuit is connected to the battery receiving circuit via a communication line and is also connected to the instrument buttons; the system transmitting circuit sends a presence identification signal to the battery side to the battery receiving circuit when the battery and instrument system are connected, so that the battery receiving circuit outputs the presence identification signal to the battery, enabling the battery to continuously supply power to the instrument system based on the presence identification signal. This invention solves the problems of arcing caused by insertion and removal jitter during powered output and the inability to start the battery and instrument system with a single button. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of the signal flow of an embodiment of the UART communication circuit for an energy storage battery according to this application; Figure 2 This is a schematic diagram of the circuit structure of an embodiment of the UART communication circuit for the energy storage battery in this application; Figure 3 This is a schematic diagram of the circuit structure of the battery transmitting circuit in the UART communication circuit of the energy storage battery according to an embodiment of this application; Figure 4 This is a schematic diagram of the circuit structure of a system receiving circuit in the UART communication circuit of the energy storage battery of this application. Figure 5 This is a schematic diagram of the circuit structure of a system transmitting circuit in the UART communication circuit of the energy storage battery of this application. Figure 6This is a schematic diagram of the circuit structure of the battery receiving circuit in the UART communication circuit of the energy storage battery of this application.
[0020] Explanation of icon numbers: 00. Energy storage battery UART communication circuit; 1. Battery terminal circuit; 11. Battery transmitting circuit; 12. Battery receiving circuit; 2. System terminal circuit; 21. System transmitting circuit; 22. System receiving circuit; 22A. Receiver enable control circuit; 22B. Communication signal input circuit; C1. Battery control board; C2. System control board; S1. Instrument button; R1. First resistor; R2. Second resistor; R3. Third resistor; R4. Fourth resistor; R5. Fifth resistor; R6. Sixth resistor; R7. Seventh resistor; R8. Eighth resistor; R9. Ninth resistor; R10. Tenth resistor; R11. Eleventh resistor; R12. Twelfth resistor; R13. Thirteenth resistor; R14. Fourteenth resistor; R15. Fifteenth resistor; R16. Sixteenth resistor; R17. Seventeenth resistor; R18. Eighteenth resistor; R19. Nineteenth resistor; R20. Twentieth resistor; R21. Twenty-first resistor; R 22. Resistor R22; R23. Resistor R23; Q1. First switch transistor; Q2. Second switch transistor; Q3. Third switch transistor; Q4. Fourth switch transistor; Q5. Fifth switch transistor; Q6. Sixth switch transistor; Q7. Seventh switch transistor; Q8. Eighth switch transistor; Q9. Ninth switch transistor; VCC_1. First power supply terminal; VCC_2. Second power supply terminal; VCC_3. Third power supply terminal; ON_UART_SYSTEM. First control terminal; ON_3V3. Second control terminal; TXD_BATTERY. Third control terminal; TXD_MCU. Fourth control terminal; TXD_SYSTEM. Fifth control terminal; D1. First diode; D2. Second diode; D3. Third diode; RXD_SYSTEM. First output terminal; TXD_IN. Second output terminal; RXD_BATTERY. Third output terminal; TXD. TXD communication line; RXD. RXD communication line.
[0021] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0023] It should be noted that if the embodiments of the present invention involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.
[0024] Furthermore, if the embodiments of this invention involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.
[0025] This invention proposes a UART communication circuit 00 for energy storage batteries, which is applied in the field of energy storage battery technology.
[0026] In existing UART circuits, the UART circuit is typically only used for data transmission and reception. The system can only be powered on and establish communication after the battery discharge port has output voltage. If the battery discharge port remains energized during system inaccessibility or connector insertion / removal / vibration, it can easily generate a momentary charging current on the instrument system's input capacitor, causing sparks or arcs at the connector terminals. Here, the connector specifically refers to the physical mating component between the battery discharge port and the instrument system, which typically integrates power and signal terminals. Furthermore, existing UART circuits usually require the battery to be activated before starting the instrument system, involving multiple steps. For example, the user needs to press the battery start button to send a wake-up command to the battery, waking it from deep sleep / standby mode. Only after the user presses the instrument system start button does the battery begin to power the instrument system's internal main control chip, and the instrument system begins to operate, resulting in a poor user experience.
[0027] To address this issue, this invention incorporates a UART communication circuit for the energy storage battery, adding one-button start and anti-sparking functions. The one-button start reduces cumbersome user operations, allowing direct battery activation via the instrument system, eliminating the need for users to activate the battery first and then the instrument system. By controlling the battery discharge port's opening conditions through the UART communication line and the presence identification line, the battery discharge port remains closed until a connection to the instrument system or a one-button start request is detected. This reduces the risk of sparks or arcs from the connector during live connection, extending the connector's lifespan.
[0028] Please refer to Figures 1 to 6 In one embodiment of the present invention, the energy storage battery UART communication circuit 00 is applied to an electric device, the electric device including a battery, an instrument system, and an instrument button S1, including: The battery terminal circuit 1 includes a battery receiving circuit 12 and a battery transmitting circuit 11; the battery transmitting circuit 11 is used to control the battery to discharge to the instrument system when it receives the start button signal output by the instrument button S1. The system-side circuit 2 includes a system transmitting circuit 21; the system transmitting circuit 21 is connected to the battery receiving circuit 12 via a communication line, and the battery transmitting circuit 11 is also connected to the instrument button S1. The system transmitting circuit 21 is used to send an in-situ identification signal to the battery receiving circuit 12 when the battery and the instrument system are connected, so that the battery receiving circuit 12 outputs the in-situ identification signal to the battery, so that the battery continuously supplies power to the instrument system according to the in-situ identification signal.
[0029] In this embodiment, the energy storage battery UART communication circuit 00 is applied to an electric device, which includes a battery, an instrument system, and instrument buttons S1. The electric device can be an electric bicycle, an electric motorcycle, etc. Portable power tools and other devices powered by energy storage battery packs. The battery can be various types of energy storage lithium battery packs, used to provide operating power for the power equipment; the instrument system can be the control panel or display instrument of the power equipment, used to display battery status information to the user and provide a human-machine interface; the instrument button S1 is located on the instrument system, providing the user with the operation entry to start the battery. The battery-side circuit 1 of the energy storage battery UART communication circuit 00 is located inside the battery, and the system-side circuit 2 is located inside the instrument system. The battery-side circuit 1 and the system-side circuit 2 are connected via a communication line to realize signal transmission and control between the battery and the instrument system.
[0030] In this embodiment, the instrument system is connected to the battery via a UART communication circuit 00, and the instrument button S1 is connected to the UART communication circuit 00. The battery-side circuit 1 includes a battery receiving circuit 12 and a battery transmitting circuit 11, while the system-side circuit 2 includes a system transmitting circuit 21. The system transmitting circuit 21 is connected to the battery receiving circuit 12 via a communication line, transmitting the presence identification signal generated by the system transmitting circuit 21 to the battery receiving circuit 12. The battery transmitting circuit 11 is also connected to the instrument button S1, transmitting the start button signal generated when the instrument button S1 is pressed to the battery transmitting circuit 11. When the user presses the instrument panel button S1, the start button signal output by the instrument panel button S1 is transmitted to the battery transmitting circuit 11 via the battery receiving circuit 12. After confirming receipt of the start button signal from the system receiving circuit 22, the battery transmitting circuit 11 controls the battery to start working and begins discharging into the instrument system. The instrument system starts working after receiving the power from the battery. It can be understood that the battery can be in a dormant state when it does not receive the start button signal, and is awakened by the start button signal when it receives the start button signal, switching from the dormant state to the working state. In this way, the user only needs to press a button once to complete the battery activation and one-button start of the instrument system.
[0031] After the battery begins supplying power to the instrument system, the system transmitting circuit 21 continuously sends a presence identification signal to the battery receiving circuit 12 via the communication line. The battery receiving circuit 12 can only confirm that the instrument system is connected in place if it continuously receives the presence identification signal. If the battery receiving circuit 12 receives a valid presence identification signal within a preset time period, the battery discharge port will continue to discharge to the instrument system. If the battery receiving circuit 12 does not receive a valid presence identification signal within the preset time period, it indicates that the user may have performed a hot-plugging operation, or there may be a fault such as poor contact between the battery and the instrument system, causing the physical connection between the battery and the instrument system to be broken. At this time, the battery stops discharging to the instrument system. Even if the battery interface vibrates during connector insertion and removal, since there is no voltage output at the discharge port, there is no potential difference between the connector terminals, and there is no voltage across the input capacitor of the instrument system, no instantaneous charging current will be generated. Therefore, no sparks or arcs will be generated between the connector terminals, achieving the circuit's anti-sparking function.
[0032] This invention adds a transmission path for a presence identification signal and a transmission path for the instrument button S1 signal to the UART communication line. During normal battery discharge, the system transmitting circuit 21 continuously sends a presence identification signal to the battery receiving circuit 12, which continuously monitors this signal to confirm that the system is always in place. If the battery receiving circuit 12 does not detect a valid presence identification signal within a set time, it indicates that the instrument system may have been accidentally disconnected or that the connector is loose or vibrating, resulting in poor contact. The battery transmitting circuit 11 immediately controls the battery to close the discharge port output, restoring the discharge port to a de-energized state. This allows the battery to keep the discharge port closed when the instrument system connection is not confirmed, avoiding sparks caused by energized insertion. Simultaneously, it automatically activates the battery and powers on the instrument system after the user presses the button, reducing the user's steps of activating the battery before starting the instrument system, lowering the risk of arcing from energized connector insertion and removal, and improving connector lifespan and instrument system startup reliability. This invention enables the battery discharge port to automatically shut off when the instrument system is accidentally disconnected, preventing arcing caused by energized discharge ports during connector disconnection or reconnection.
[0033] Reference Figure 1 and Figure 2 In one embodiment, the system terminal circuit 2 further includes a system receiving circuit 22, which is connected to the battery transmitting circuit 11 via a communication line. The system receiving circuit 22 is used to receive battery status information transmitted by the battery transmitting circuit 11.
[0034] The system receiving circuit 22 is connected to the battery transmitting circuit 11 via the TXD communication line. The system-side circuit 2 has bidirectional communication capability. The system transmitting circuit 21 is responsible for sending the presence identification signal and downlink data to the battery, and the system receiving circuit 22 is responsible for receiving uplink data from the battery.
[0035] The system receiving circuit 22 receives battery status information sent by the battery side, including operating parameters such as battery voltage, current, temperature, remaining charge, and health status. This information is transmitted by the battery transmitting circuit 11 via a communication line, received by the system receiving circuit 22, and then sent to the display unit of the instrument system for display, allowing users to understand the battery's working status in real time.
[0036] When the instrument system is not powered on, the system receiving circuit 22 is not operational. It will not respond to signals transmitted from the battery transmitting circuit 11, nor will it create a load on the communication line, ensuring that the battery transmitting circuit 11 can function normally when the instrument system is not powered on. Once the instrument system receives power from the battery and is powered on, the system receiving circuit 22 begins to operate, receiving data from the battery transmitting circuit 11 and displaying battery status information, such as battery charge and temperature, on the display device within the instrument system.
[0037] Reference Figure 2 and Figure 4 In one embodiment, the system receiving circuit 22 includes a receiving enable control circuit 22A, a communication signal input circuit 22B, and a first output terminal RXD_SYSTEM; The input terminal of the receive enable control circuit 22A is connected to the output terminal of the battery sending circuit 11. The input terminal of the receive enable control circuit 22A is also connected to the instrument button S1. The output terminal of the receive enable control circuit 22A is connected to the communication signal input circuit 22B. The output terminal of the communication signal input circuit 22B is connected to the first output terminal RXD_SYSTEM. The receive enable control circuit 22A is used to output the battery information output by the battery transmitting circuit 11 to the first output terminal RXD_SYSTEM via the communication signal input terminal circuit.
[0038] In this embodiment, the system receiving circuit 22 includes two stages: a front-end receiving enable control circuit 22A and a rear-end communication signal input circuit 22B. The signal on the battery-side communication line first passes through the receiving enable control circuit 22A, then enters the communication signal input circuit 22B, and finally is output to the first output terminal RXD_SYSTEM.
[0039] This embodiment takes a high-level active signal as an example. When the instrument system is not powered on, the control signal of the receive enable control circuit 22A is low. The receive enable control circuit 22A cannot transmit the signal from the battery sending circuit 11 to the communication signal input circuit 22B, and the TXD communication line TXD is physically isolated from the communication signal input circuit 22B. Thus, when the instrument system is not powered on, its internal controller and related circuits are not powered. If the signal on the TXD communication line TXD is directly connected to the controller at the instrument system end, it may form a parasitic path through the ESD protection diode inside the controller, clamping the bus level to a certain voltage value, causing abnormal bus levels, and may even damage the internal chips of the instrument system. When the instrument system is powered on by the battery, the instrument system outputs a high-level control signal. When the receive enable control circuit 22A receives this high-level control signal, it conducts, thereby connecting the communication link between the battery sending circuit 11 and the instrument system. The battery sending circuit 11 can then output the battery power information to the subsequent communication signal input circuit 22B through this circuit.
[0040] Understandably, the signal is transmitted from the battery to the instrument system via the communication cable, and then through the switching transistor of the receive enable control circuit 22A. The signal edges may become smoother, and the amplitude may be attenuated. After receiving the level signal from the receive enable control circuit 22A, the communication signal input circuit 22B does not directly output the original signal, but first performs level shaping. Internally, the communication signal input circuit 22B uses two stages of transistors to shape and amplify the signal, restoring the received signal to a standard UART level signal with steep edges and full amplitude, and then outputs it to the instrument system controller for recognition by the instrument system controller's UART module.
[0041] Reference Figure 4 In one embodiment, the receive enable control circuit 22A includes a first switch Q1, a second switch Q2, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, and a first control terminal ON_UART_SYSTEM. The controlled terminal of the second switch Q2 is connected to the first terminal of the third resistor R3. The controlled terminal of the second switch Q2 is also connected to the first terminal of the fourth resistor R4. The second terminals of the second switch Q2 and the fourth resistor R4 are grounded. The second terminal of the third resistor R3 is connected to the first control terminal ON_UART_SYSTEM to receive the control signal output by the first control terminal ON_UART_SYSTEM. The third terminal of the second switch Q2 is connected to the first terminal of the second resistor R2. The second terminal of the second resistor R2 is connected to the controlled terminal of the first switch Q1. The second terminal of the second resistor R2 is also connected to the first terminal of the first resistor R1. The second terminal of the first resistor R1 is connected to the second terminal of the first switch Q1. The second terminal of the first resistor R1 is also connected to the first terminal of the battery transmitting circuit 11 and the instrument button S1. The second terminal of the instrument button S1 is grounded. The third terminal of the first switch Q1 is connected to the communication signal input circuit 22B.
[0042] In this embodiment, the first switch Q1 and the second switch Q2 can be implemented using PNP, IGBT, BJT, HEMT, or other switching transistors. Here, the first switch Q1 is a PMOS transistor, and the second switch Q2 is an NPN transistor. The first switch Q1 acts as the main switch, responsible for receiving the on / off signals from the enable control circuit 22A. The second switch Q2 acts as the pre-stage driver, converting the control signal output from the first control terminal ON_UART_SYSTEM into a drive signal to control the first switch Q1.
[0043] In this embodiment, the first control terminal ON_UART_SYSTEM is active high. The controlled terminal of the second switch Q2 is connected to the first control terminal ON_UART_SYSTEM through the third resistor R3. The fourth resistor R4 is connected between the base and emitter of the second switch Q2 to prevent the second switch Q2 from conducting due to leakage current. When the instrument system is not powered on, and the first control terminal ON_UART_SYSTEM is low, the voltage difference between the base and emitter of the second switch Q2 is insufficient to turn on the second switch Q2. The second switch Q2 is in the off state, and its collector and emitter are open. At this time, the first resistor R1, the second resistor R2, and the branch of the second switch Q2 are not conducting. The voltage between the gate and source of the first switch Q1 is the same, and the first switch Q1 is in the off state. The connection between the battery transmitting circuit 11 and the communication signal input circuit 22B is blocked. The UART communication signal output by the battery transmitting circuit 11 cannot be transmitted to the communication signal input circuit 22B due to the blocking effect of the first switch Q1.
[0044] When the instrument system is powered on and the control signal of the first control terminal ON_UART_SYSTEM is high, this high-level signal is applied to the base of the second switch Q2 through the third resistor R3, turning on the second switch Q2. At this time, the branch consisting of the first resistor R1, the second resistor R2, and the second switch Q2 is connected. The voltage on the TXD communication line TXD is divided by the first resistor R1 and the second resistor R2, and the voltage difference between the gate and source of the first switch Q1 is sufficient to turn on the first switch Q1. The battery transmitting circuit 11 and the communication signal input circuit 22B are connected due to the conduction of the first switch Q1, so as to transmit the UART communication signal from the battery transmitting circuit 11 to the communication signal input circuit 22B. The first resistor R1 is connected across the gate and source of the first switch Q1 to ensure that the first switch Q1 can be quickly turned off.
[0045] Reference Figure 4 In one embodiment, the communication signal input circuit 22B includes a third switch Q3, a fourth switch Q4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, and a first power supply terminal VCC_1. The first end of the fifth resistor R5 is connected to the output terminal of the receive enable control circuit 22A. The second end of the fifth resistor R5 is connected to the first end of the sixth resistor R6. The second end of the fifth resistor R5 is also connected to the controlled terminal of the third switch Q3. The second ends of the sixth resistor R6 and the third switch Q3 are grounded. The third end of the third switch Q3 is connected to the first end of the seventh resistor R7. The second end of the seventh resistor R7 is connected to the first end of the eighth resistor R8. The second end of the seventh resistor R7 is also connected to the controlled terminal of the fourth switch Q4. The second ends of the fourth switch Q4 and the eighth resistor R8 are connected to the first power supply terminal VCC_1. The third end of the fourth switch Q4 is connected to the first output terminal RXD_SYSTEM. The third end of the fourth switch Q4 is also connected to the first end of the ninth resistor R9. The second end of the ninth resistor R9 is grounded.
[0046] In this embodiment, the third switch Q3 and the fourth switch Q4 can be implemented using PNP, IGBT, BJT, HEMT, or other switching transistors. Here, the third switch Q3 is an NPN transistor, and the fourth switch Q4 can be a PNP transistor.
[0047] In this embodiment, the third switch Q3 is active high, and the fourth switch Q4 is active low. When the signal output by the enable control circuit 22A is low, this low level is applied to the base of the third switch Q3 via the fifth resistor R5. The sixth resistor R6 is connected between the base of the third switch Q3 and ground, acting as a pull-down resistor to ensure that the switch can be turned off quickly. At this time, the voltage difference between the base and emitter of the third switch Q3 is insufficient to turn on the third switch Q3. The current of the first power supply terminal VCC_1 is not conducting through the branch of the eighth resistor R8, the seventh resistor R7, and the third switch Q3. The voltage difference between the base and emitter of the fourth switch Q4 is insufficient to turn on the fourth switch Q4. The signal output to the first output terminal RXD_SYSTEM is a low-level signal, so as to transmit the low-level UART communication signal transmitted from the enable control circuit 22A to the first output terminal RXD_SYSTEM.
[0048] When the signal output by the receive enable control circuit 22A is high, this high level is applied to the base of the seventh switch Q7 via the fifth resistor R5. The voltage across the base-emitter of the seventh switch Q7 is sufficient to turn it on. Current flows through the second power supply terminal VCC_2, the eighth resistor R8, the seventh resistor R7, and the third switch Q3. After the voltage at the first power supply terminal VCC_1 is divided by the eighth resistor R8 and the seventh resistor R7, the voltage difference between the base and emitter of the fourth switch Q4 is sufficient to turn it on. The first power supply terminal VCC_1, the fourth switch Q4, and the twenty-fifth resistor are connected to transmit the high-level UART communication signal from the receive enable control circuit 22A to the first output terminal RXD_SYSTEM.
[0049] The circuit performs two main functions: first, signal shaping. The UART signal transmitted from the battery end via the communication line may have become slower and its amplitude may be insufficient by the time it reaches the instrument system end. The switching characteristics of the third switch Q3 and the fourth switch Q4 can convert the slowly changing input signal into a steep on / off switch, making the rising and falling edges of the output waveform clean and steep, which is convenient for the UART module of the instrument system controller to recognize. Second, drive enhancement. The drive capability of the output signal comes from the second power supply terminal VCC_2, rather than from the input signal itself. Therefore, even if the drive capability of the input signal is weak, it can obtain sufficient current output capability after passing through this circuit, which is enough to drive the subsequent circuits.
[0050] Reference Figure 2 and Figure 3 In one embodiment, the battery transmitting circuit 11 includes a pull-up circuit, a pull-down circuit, and a signal output circuit; The output terminals of both the pull-up and pull-down circuits are connected to the input terminals of the signal output circuit. The pull-up circuit is used to output a pull-up signal to the system receiving circuit 22 via the signal output circuit, and the pull-down circuit is used to output a pull-down signal to the system receiving circuit 22 via the signal output circuit; The battery transmitting circuit 11 also includes a second output terminal TXD_IN. The signal output circuit is also connected to the second output terminal TXD_IN and is connected to the instrument button S1. The signal output circuit is used to transmit the start button signal to the second output terminal TXD_IN.
[0051] The battery transmitting circuit 11 mainly includes a pull-up circuit, a pull-down circuit, and a signal output circuit. The pull-up and pull-down circuits transmit UART communication signals to the system receiving circuit 22. When the circuit starts working, the pull-up circuit outputs a pull-up signal to the signal output circuit to ensure that the level of the TXD communication line TXD is in a high-level state. In this embodiment, the button start signal received by the first output terminal RXD_SYSTEM is active low. The UART communication protocol stipulates that the bus is high when idle. Therefore, the pull-up circuit is turned on in standby mode to keep the bus in a high-level state so that the receiving end can correctly identify the start position. In this embodiment, the instrument button S1 signal is active low. The start button signal is transmitted from the system circuit 2 via the TXD communication line TXD. When the instrument button S1 is pressed, the levels of the TXD communication line TXD and the signal output circuit are pulled low. The signal received by the first output terminal RXD_SYSTEM is a low-level signal, which starts the battery to power the instrument system.
[0052] When a low-level signal is required, the pull-down circuit activates, outputting a pull-down signal to the signal output circuit to ensure that the TXD communication line is at a low level. When the pull-down circuit is active, current flows from the TXD communication line into the pull-down circuit, through the switching transistor, and to ground, thus achieving the output of a low-level UART communication signal.
[0053] In one embodiment, the signal output circuit includes a tenth resistor R10 and a first diode D1. The first end of the tenth resistor R10 is connected to the second output terminal TXD_IN, the second end of the tenth resistor R10 is connected to the anode of the first diode D1, and the cathode of the first diode D1 is connected to the system receiving circuit 22.
[0054] The signal output circuit connects the first output terminal RXD_SYSTEM and the system receiving circuit 22 together, enabling the instrument button S1 signal transmitted to the battery transmitting circuit 11 to be transmitted to the first output terminal RXD_SYSTEM. In this embodiment, the instrument button S1 signal is active low. After the instrument button S1 is pressed, the level on the TXD communication line TXD is pulled low, and the levels of the connected signal output circuit and the first output terminal RXD_SYSTEM are also pulled low, so the instrument button S1 signal generated by the instrument button S1 is transmitted to the first output terminal RXD_SYSTEM. The fourth resistor R4 is used for current limiting to reduce the current in the signal output circuit and prevent excessive current from damaging the circuit. The first diode D1 is used to prevent the high voltage signal on the TXD communication line TXD from being transmitted to the battery transmitting circuit 11 and damaging the battery transmitting circuit 11.
[0055] Reference Figure 2 and Figure 3In one embodiment, the pull-up circuit includes a fifth switch Q5, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a second power supply terminal VCC_2, and a second control terminal ON_3V3. The first end of the twelfth resistor R12 is connected to the second control terminal ON_3V3. The second end of the twelfth resistor R12 is connected to the first end of the eleventh resistor R11. The second end of the twelfth resistor R12 is also connected to the controlled terminal of the fifth switch Q5. The second ends of the eleventh resistor R11 and the fifth switch Q5 are connected to the second power supply terminal VCC_2. The third end of the fifth switch Q5 is connected to the first end of the thirteenth resistor R13. The second end of the thirteenth resistor R13 is connected to the signal output circuit.
[0056] The fifth switch Q5 is implemented using an NMOS transistor, IGBT, HEMT, or other switching transistors. In this embodiment, the second control terminal ON_3V3 is active low. When the second control terminal ON_3V3 outputs a low-level control signal, the voltage between the second power supply terminal VCC_2 and the second control terminal ON_3V3 is pulled low after being divided by the eleventh resistor R11 and the twelfth resistor R12. This makes the voltage difference between the gate and source of the fifth switch Q5 sufficient to turn it on. At this time, the second power supply terminal VCC_2 outputs a pull-up signal to the signal output circuit via the fifth switch Q5 and the thirteenth resistor R13. The bus level is pulled up to a high level, and a high-level UART communication signal is sent to the system receiving circuit 22.
[0057] When the control signal output by the second control terminal ON_3V3 is high, the voltage difference between the gate and source of the fifth switch Q5 is insufficient to turn on the fifth switch Q5. The fifth switch Q5 is in the off state, the pull-up circuit stops working, and no longer outputs a pull-up signal to the signal output circuit.
[0058] In one embodiment, the pull-down circuit includes a sixth switch Q6, a seventh switch Q7, a second diode D2, a fourteenth resistor R14, a fifteenth resistor R15, a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor R18, a third control terminal TXD_BATTERY, and a fourth control terminal TXD_MCU. The first end of the eighteenth resistor R18 is connected to the third control terminal TXD_BATTERY. The second end of the eighteenth resistor R18 is connected to the controlled terminal of the sixth switch Q6. The second end of the eighteenth resistor R18 is also connected to the first end of the seventeenth resistor R17. The second end of the seventeenth resistor R17 and the second end of the sixth switch Q6 are grounded. The third end of the sixth switch Q6 is connected to the signal output circuit. The first end of the fifteenth resistor R15 is connected to the fourth control terminal TXD_MCU. The second end of the fifteenth resistor R15 is connected to the first end of the sixteenth resistor R16. The second end of the fifteenth resistor R15 is also connected to the controlled terminal of the seventh switch Q7. The second end of the sixteenth resistor R16 and the second end of the seventh switch Q7 are grounded. The third end of the seventh switch Q7 is connected to the first end of the fourteenth resistor R14. The second end of the fourteenth resistor R14 is connected to the cathode of the second diode D2. The anode of the second diode D2 is connected to the signal output circuit.
[0059] In this embodiment, the pull-down circuit includes two control paths, controlled by the third control terminal TXD_BATTERY and the fourth control terminal TXD_MCU, respectively. In this embodiment, the third control terminal TXD_BATTERY and the fourth control terminal TXD_MCU are taken as active high.
[0060] The first branch is controlled by the third control terminal TXD_BATTERY. When the third control terminal TXD_BATTERY outputs a high level, this signal is applied to the controlled terminal of the sixth switch Q6 through the eighteenth resistor R18. The eighteenth resistor R18 acts as a current limiter to protect the switch. After receiving the high-level signal, the controlled terminal of the sixth switch Q6 turns on, and the current in the signal output circuit flows to ground through the sixth switch Q6. The level of the signal output circuit is pulled low, and a low-level UART communication signal is sent to the system receiving circuit 22.
[0061] The second branch is controlled by the fourth control terminal TXD_MCU. When the fourth control terminal TXD_MCU outputs a high level, this signal is applied to the controlled terminal of the seventh switch Q7 through the fifteenth resistor R15, and the seventh switch Q7 is turned on. At this time, the current in the signal output circuit flows to ground through the second diode D2, the fourteenth resistor R14, and the seventh switch Q7, and the TXD communication line TXD level is pulled low, sending a low-level UART communication signal to the system receiving circuit 22.
[0062] When either the third control terminal TXD_BATTERY or the fourth control terminal TXD_MCU outputs a high-level signal, the corresponding switching transistor will turn on, and the signal output circuit will be pulled low. The fourteenth resistor R14 is connected in series with the second diode D2, acting as a current limiter when the switching transistor is on, preventing excessive current from burning out the seventh switching transistor Q7 due to a direct short circuit to ground in the communication line. The seventeenth resistor R17 is connected between the controlled terminal of the sixth switching transistor Q6 and ground, and the sixteenth resistor R16 is connected between the controlled terminal of the seventh switching transistor Q7 and ground, serving as pull-down resistors to ensure that the corresponding switching transistor is turned off when both control signals are low.
[0063] In this embodiment, the turning on and off of the sixth switch Q6 and the seventh switch Q7 are synchronized to ensure that the level on the TXD communication line TXD can be pulled low.
[0064] Reference Figure 5 In one embodiment, the system transmitting circuit 21 includes a nineteenth resistor R19, a twentieth resistor R20, a twenty-first resistor R21, an eighth switch Q8, and a fifth control terminal TXD_SYSTEM. The controlled terminal of the eighth switch Q8 is connected to the first terminal of the twentieth resistor R20. The first terminal of the twentieth resistor R20 is also connected to the first terminal of the twenty-first resistor R21. The second terminal of the eighth switch Q8 and the second terminal of the twenty-first resistor R21 are grounded. The second terminal of the twentieth resistor R20 is connected to the fifth control terminal TXD_SYSTEM to receive the presence identification signal output by the fifth control terminal TXD_SYSTEM. The third terminal of the eighth switch Q8 is connected to the first terminal of the nineteenth resistor R19. The second terminal of the nineteenth resistor R19 is connected to the battery receiving circuit 12.
[0065] In this embodiment, the eighth switch Q8 is implemented using an NMOS transistor, IGBT, HEMT, or other switching transistors. Here, the eighth switch Q8 is a BJT, with its collector connected to the battery receiving circuit 12 via the nineteenth resistor R19 and the RXD communication line RXD. Its emitter is grounded. In this embodiment, the fifth control terminal TXD_SYSTEM is active high. When the fifth control terminal TXD_SYSTEM outputs a high level, the voltage across the base-emitter of the eighth switch Q8 is sufficient to turn it on, establishing conduction between its collector and emitter. At this time, the current on the RXD communication line RXD flows through the nineteenth resistor R19 into the collector of the fifth switch Q5 and out through the emitter to ground, pulling the RXD communication line RXD to a low level. The nineteenth resistor R19 limits the current flowing through the fifth switch Q5 when the eighth switch Q8 is on. After the eighth switch Q8 is on, it transmits the presence identification signal generated by the instrument system to the battery receiving circuit 12.
[0066] When the fifth control terminal TXD_SYSTEM outputs a low level, there is no drive signal at the base of the eighth switch Q8, and the eighth switch Q8 is turned off, with an open circuit between its collector and emitter. At this time, the branch of the RXD communication line RXD, the nineteenth resistor R19, and the eighth switch Q8 is not conducting, and the level on the RXD communication line remains unchanged, stopping the transmission of the presence identification signal generated by the instrument system to the battery receiving circuit 12.
[0067] Reference Figure 6In one embodiment, the battery receiving circuit 12 includes a twenty-second resistor R22, a twenty-third resistor R23, a third diode D3, a ninth switch Q9, a third power supply terminal VCC_3, and a third output terminal RXD_BATTERY. The controlled terminal of the ninth switch Q9 is connected to the anode of the third diode D3, and the cathode of the third diode D3 is connected to the system transmitting circuit 21. The controlled terminal of the ninth switch Q9 is also connected to the first terminal of the twenty-second resistor R22. The second terminal of the ninth switch Q9 and the second terminal of the twenty-second resistor R22 are connected to the third power supply terminal VCC_3. The third terminal of the ninth switch Q9 is connected to the first terminal of the twenty-third resistor R23. The second terminal of the twenty-third resistor R23 is grounded, and the first terminal of the twenty-third resistor R23 is also connected to the third output terminal RXD_BATTERY.
[0068] In this embodiment, the third output terminal RXD_BATTERY is active high, while the received presence identification signal from the system transmitting circuit 21 is active low. In this embodiment, the ninth switch Q9 is implemented using an NMOS transistor, IGBT, HEMT, or similar switching transistor. Here, the ninth switch Q9 is a PNP transistor. When the system transmitting circuit 21 sends the presence identification signal, the level of the RXD communication line RXD is pulled low, and the branch consisting of the third power supply terminal VCC_3, the twenty-second resistor R22, and the third diode D3 is turned on. After voltage division by the resistors, the voltage difference across the ninth switch Q9 is sufficient to turn it on. The turn-on of the ninth switch Q9 causes the third output terminal RXD_BATTERY to receive the presence identification signal transmitted from the system transmitting circuit 21.
[0069] When the system does not send a presence identification signal, the level of the RXD communication line remains high. The third power supply terminal VCC_3, the twenty-second resistor R22, and the third diode D3 branch are not conducting. The voltages at the base and source of the ninth switch Q9 are both high, and the ninth switch Q9 is not conducting. When the third output terminal RXD_BATTERY receives a low-level signal, it determines that the presence identification signal is invalid.
[0070] The present invention also proposes an electric device, including an energy storage battery, an instrument system, and an energy storage battery UART communication circuit 00 as described above; The energy storage battery also includes a battery control board C1, which is connected to the battery terminal circuit 1 of the energy storage battery UART communication circuit 00. The battery control board C1 is used to control the operation of the battery terminal circuit 1. The instrument system also includes a system control board C2, which is connected to the system terminal circuit 2 of the energy storage battery UART communication circuit 00. The system control board C2 is used to control the operation of the system terminal circuit 2. The energy storage battery is used to start supplying power to the instrument system when it receives the start button signal transmitted by the energy storage battery UART communication circuit 00, and to continue supplying power to the instrument system according to the presence identification signal after detecting the presence identification signal transmitted by the energy storage battery UART communication circuit 00.
[0071] In this embodiment, the electric device includes an energy storage battery, an instrumentation system, and an energy storage battery UART communication circuit 00. This UART communication circuit is connected between the energy storage battery and the instrumentation system, and is used to transmit presence identification level, button trigger signal, and battery operating status information. The presence identification level is used to allow the battery to determine whether the system is connected in place. The button trigger signal is generated when the user presses the instrumentation button S1. The battery operating status information includes parameters such as battery voltage, current, temperature, and remaining charge, which are received and displayed by the instrumentation system.
[0072] The discharge output of the energy storage battery is controlled by two conditions: first, a valid presence identification level is received to confirm that the instrument system is connected; second, a valid start button signal is received to confirm that the user has pressed the one-button start button. The battery will only continuously output to the instrument system if a presence identification signal is detected within a preset time after the start button signal is detected. This method ensures that the system is connected when the battery is discharging, avoids sparks from live connections, and ensures that the start button signal confirms that the user has actively requested start-up, enabling one-button operation.
[0073] The energy storage battery also includes a battery control board C1, which is connected to the battery terminal circuit 1. The battery control board C1 outputs control signals to the pull-up circuit via the second control terminal ON_3V3, and to the pull-down circuit via the third control terminal TXD_BATTERY and the fourth control terminal TXD_MCU. Upon detecting the start button signal, it supplies power to the instrument system. The battery control board C1 also starts a timer after detecting the start button signal, checking for a presence identification signal within a preset time. If a presence identification signal is detected, it controls the battery to continuously discharge to the instrument system; otherwise, it controls the battery to stop discharging. Furthermore, the battery control board C1 also transmits battery signals to the instrument system via UART signals.
[0074] The instrumentation system also includes a system control board C2, which is connected to the system terminal circuit 2. The system control board C2 controls the operation of the system terminal circuit 2. The system control board C2 receives and controls the enable / disable of the enable control circuit 22A via the first ON_UART_SYSTEM control terminal. After receiving the signal output from the communication signal input circuit 22B, it transmits the presence identification signal to the battery through the system transmitting circuit 21. The system control board C2 is also used to receive and process UART communication signals sent from the energy storage battery.
[0075] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A UART communication circuit for an energy storage battery, characterized in that, Applied to electric equipment, the electric equipment includes a battery, an instrument system, and instrument buttons, and the energy storage battery UART communication circuit includes: The battery-side circuit includes a battery receiving circuit and a battery transmitting circuit; the battery transmitting circuit is used to control the battery to discharge to the instrument system when it receives the start button signal output by the instrument button. The system-side circuit includes a system transmitting circuit; the system transmitting circuit is connected to the battery receiving circuit via a communication line, and the battery transmitting circuit is also connected to the instrument buttons; The system transmitting circuit is used to send an in-situ identification signal to the battery receiving circuit when the battery and the instrument system are connected, so that the battery receiving circuit outputs the in-situ identification signal to the battery, so that the battery continuously supplies power to the instrument system according to the in-situ identification signal.
2. The energy storage battery UART communication circuit as described in claim 1, characterized in that, The system terminal circuit also includes a system receiving circuit, which is connected to the battery transmitting circuit via a communication line. The system receiving circuit is used to receive battery status information transmitted by the battery transmitting circuit.
3. The energy storage battery UART communication circuit as described in claim 2, characterized in that, The system receiving circuit includes a receiving enable control circuit, a communication signal input circuit, and a first output terminal; The input terminal of the receive enable control circuit is connected to the output terminal of the battery transmitting circuit. The input terminal of the receive enable control circuit is also connected to the instrument button. The output terminal of the receive enable control circuit is connected to the communication signal input circuit. The output terminal of the communication signal input circuit is connected to the first output terminal. The receive enable control circuit is used to output the battery information output by the battery transmitting circuit to the first output terminal via the communication signal input terminal circuit.
4. The energy storage battery UART communication circuit as described in claim 3, characterized in that, The receive enable control circuit includes a first switch transistor, a second switch transistor, a first resistor, a second resistor, a third resistor, a fourth resistor, and a first control terminal; The controlled terminal of the second switch is connected to the first terminal of the third resistor. The controlled terminal of the second switch is also connected to the first terminal of the fourth resistor. The second terminal of the second switch and the second terminal of the fourth resistor are grounded. The second terminal of the third resistor is connected to the first control terminal and receives the control signal output by the first control terminal. The third terminal of the second switch is connected to the first terminal of the second resistor. The second terminal of the second resistor is connected to the controlled terminal of the first switch. The second terminal of the second resistor is also connected to the first terminal of the first resistor. The second terminal of the first resistor is connected to the second terminal of the first switch. The second terminal of the first resistor is also connected to the battery transmitting circuit and the first terminal of the instrument button. The second terminal of the instrument button is grounded. The third terminal of the first switch is connected to the communication signal input circuit.
5. The energy storage battery UART communication circuit as described in claim 3, characterized in that, The communication signal input circuit includes a third switch, a fourth switch, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, and a first power supply terminal; The first end of the fifth resistor is connected to the output terminal of the receive enable control circuit. The second end of the fifth resistor is connected to the first end of the sixth resistor. The second end of the fifth resistor is also connected to the controlled terminal of the third switch. The second end of the sixth resistor and the second end of the third switch are grounded. The third end of the third switch is connected to the first end of the seventh resistor. The second end of the seventh resistor is connected to the first end of the eighth resistor. The second end of the seventh resistor is also connected to the controlled terminal of the fourth switch. The second end of the fourth switch and the second end of the eighth resistor are connected to the first power supply terminal. The third end of the fourth switch is connected to the first output terminal. The third end of the fourth switch is also connected to the first end of the ninth resistor. The second end of the ninth resistor is grounded.
6. The energy storage battery UART communication circuit as described in claim 1, characterized in that, The battery transmitting circuit includes a pull-up circuit, a pull-down circuit, and a signal output circuit; The output terminals of both the pull-up circuit and the pull-down circuit are connected to the input terminal of the signal output circuit. The pull-up circuit is used to output a pull-up signal to the system receiving circuit via the signal output circuit, and the pull-down circuit is used to output a pull-down signal to the system receiving circuit via the signal output circuit; The battery transmitting circuit also includes a second output terminal, and the signal output circuit is also connected to the second output terminal. The signal output circuit is connected to the instrument button and is used to transmit the start button signal to the second output terminal.
7. The energy storage battery UART communication circuit as described in claim 6, characterized in that, The signal output circuit includes a tenth resistor and a first diode. The first end of the tenth resistor is connected to the second output terminal, the second end of the tenth resistor is connected to the anode of the first diode, and the cathode of the first diode is connected to the system receiving circuit.
8. The energy storage battery UART communication circuit as described in claim 6, characterized in that, The pull-up circuit includes a fifth switch, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a second power supply terminal, and a second control terminal; The first end of the twelfth resistor is connected to the second control terminal, the second end of the twelfth resistor is connected to the first end of the eleventh resistor, the second end of the twelfth resistor is also connected to the controlled terminal of the fifth switch, the second end of the eleventh resistor and the second end of the fifth switch are connected to the second power supply terminal, the third end of the fifth switch is connected to the first end of the thirteenth resistor, and the second end of the thirteenth resistor is connected to the signal output circuit.
9. The energy storage battery UART communication circuit as described in claim 6, characterized in that, The pull-down circuit includes a sixth switch, a seventh switch, a second diode, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a third control terminal, and a fourth control terminal; The first end of the eighteenth resistor is connected to the third control terminal, the second end of the eighteenth resistor is connected to the controlled terminal of the sixth switch, the second end of the eighteenth resistor is also connected to the first end of the seventeenth resistor, the second end of the seventeenth resistor and the second end of the sixth switch are grounded, and the third end of the sixth switch is connected to the signal output circuit. The first end of the fifteenth resistor is connected to the fourth control terminal, the second end of the fifteenth resistor is connected to the first end of the sixteenth resistor, the second end of the fifteenth resistor is also connected to the controlled terminal of the seventh switch, the second end of the sixteenth resistor and the second end of the seventh switch are grounded, the third end of the seventh switch is connected to the first end of the fourteenth resistor, the second end of the fourteenth resistor is connected to the cathode of the second diode, and the anode of the second diode is connected to the signal output circuit.
10. The energy storage battery UART communication circuit as described in claim 1, characterized in that, The system's transmitting circuit includes a nineteenth resistor, a twentieth resistor, a twenty-first resistor, an eighth switching transistor, and a fifth control terminal; The controlled terminal of the eighth switch is connected to the first terminal of the twentieth resistor, the first terminal of the twentieth resistor is also connected to the first terminal of the twentieth resistor, the second terminal of the eighth switch and the second terminal of the twentieth resistor are grounded, the second terminal of the twentieth resistor is connected to the fifth control terminal to receive the presence identification signal output by the fifth control terminal, the third terminal of the eighth switch is connected to the first terminal of the nineteenth resistor, and the second terminal of the nineteenth resistor is connected to the battery receiving circuit. The battery receiving circuit includes a 22nd resistor, a 23rd resistor, a 3rd diode, a 9th switch, a 3rd power supply terminal, and a 3rd output terminal; The controlled terminal of the ninth switch is connected to the anode of the third diode, the cathode of the third diode is connected to the system transmitting circuit, the controlled terminal of the ninth switch is also connected to the first terminal of the twenty-second resistor, the second terminal of the ninth switch and the second terminal of the twenty-second resistor are connected to the third power supply terminal, the third terminal of the ninth switch is connected to the first terminal of the twenty-third resistor, the second terminal of the twenty-third resistor is grounded, and the first terminal of the twenty-third resistor is also connected to the third output terminal.
11. An electric device, characterized in that, Includes an energy storage battery, an instrumentation system, and an energy storage battery UART communication circuit as described in any one of claims 1 to 10; The energy storage battery also includes a battery control board, which is connected to the battery terminal circuit of the energy storage battery UART communication circuit. The battery control board is used to control the operation of the battery terminal circuit. The instrument system also includes a system control board, which is connected to the system terminal circuit of the energy storage battery UART communication circuit. The system control board is used to control the operation of the system terminal circuit. The energy storage battery is used to start supplying power to the instrument system when it receives the start button signal transmitted by the energy storage battery UART communication circuit, and to continuously supply power to the instrument system according to the presence identification signal after detecting the presence identification signal transmitted by the energy storage battery UART communication circuit.