Connection detection circuit and mobile power supply system
By designing a connection detection circuit, the host and slave devices can bidirectionally detect the connection status and cut off the power supply in case of an abnormality, thus solving the safety hazards caused by connection abnormalities in the energy storage system and realizing the safety assurance and signal multiplexing of the equipment.
Patent Information
- Application Number
- CN202410465205.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2025-10-31
AI Technical Summary
In energy storage systems, abnormal connections between the master and slave devices can lead to safety incidents. Current technology can only detect abnormal connections on one end while the other end continues to operate, posing a safety hazard.
Design a connection detection circuit, including a power supply control module and a detection module, which are used to receive and send signals to detect the connection status between the master and slave devices, and to cut off the internal power supply in case of abnormality to ensure device safety.
It realizes bidirectional connection detection between the master and slave, ensuring that the internal power is cut off in case of connection abnormality, avoiding safety accidents, reducing wiring and realizing signal multiplexing.
Smart Images

Figure CN120870972A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of mobile energy storage technology, and in particular relates to a connection detection circuit and a mobile power supply system. Background Technology
[0002] In the field of energy storage systems, the main unit can be a fully functional energy storage device, such as an outdoor mobile energy storage device. When the main unit's power is insufficient, at least one slave unit can be added to the main unit to increase the power supply to the main unit; for example, the slave unit can be a power pack.
[0003] The master unit typically needs to interact with the slave unit. For example, when the slave unit is operating, the master unit needs to collect real-time information from the slave unit and make corresponding judgments and protection measures based on this information. Simultaneously, when the master unit's power is depleted, the energy storage system needs to switch from master-powered to slave-powered operation. Therefore, the slave unit needs to perform charging / discharging circuit switching and communication operations with the master unit. The master unit also needs to identify whether a slave unit is connected and address it to switch between different slave units for power supply. Therefore, high-power DC interfaces are essential on both the master and slave units.
[0004] During the operation of an energy storage system, accidental detachment of the DC interface or connecting cable can lead to electrical ablation and other issues, easily causing safety accidents. Therefore, how to achieve connection detection between the master and slave units is an urgent problem to be solved. Summary of the Invention
[0005] This application provides a connection detection circuit and a mobile power supply system, which can solve the problem of safety accidents caused by abnormal connection between the host and slave.
[0006] In a first aspect, embodiments of this application provide a connection detection circuit applied to a first device. The connection detection circuit includes a first detection module and a power supply control module. The power supply control module is used to electrically connect to a second device and a first control module in the first device, respectively. The first detection module is used to electrically connect to the second device and the first control module, respectively.
[0007] The power supply control module is used to receive a first signal output by the first control module; when the first device and the second device are connected, the power supply control module is also used to receive a second signal output by the second device, and output a third signal to the second device according to the first signal and the second signal, the third signal being used to characterize whether the connection between the first device and the second device is normal; the first detection module is used to receive a fourth signal output by the second device, and output a fifth signal to the first control module according to the fourth signal, the fifth signal being used to characterize whether the connection between the first device and the second device is normal.
[0008] In one possible implementation of the first aspect, the power supply control module includes a power supply control unit and a logic unit, both of which are electrically connected to the first control module, the power supply control unit is electrically connected to the logic unit, and the power supply control unit and the logic unit are respectively electrically connected to the second device;
[0009] The logic unit is used to receive the first signal output by the first control module; the power supply control unit is used to receive the first signal output by the first control module; when the first device and the second device are connected, the power supply control unit is also used to receive the second signal output by the second device, and output a sixth signal to the logic unit according to the first signal and the second signal, and the logic unit is used to output the third signal to the second device according to the first signal and the sixth signal.
[0010] In one possible implementation of the first aspect, the power supply control unit includes a first switch, a first optocoupler, a second switch, and a first resistor. The control terminal of the first switch is electrically connected to the first control module and the logic unit, respectively. The first conducting terminal of the first switch is electrically connected to the second input terminal of the first optocoupler. The second conducting terminal of the first switch is grounded. The first input terminal of the first optocoupler is electrically connected to a first power supply. The first output terminal of the first optocoupler is electrically connected to the first terminal of the first resistor, the control terminal of the second switch, and the second device, respectively. The first conducting terminal of the second switch is electrically connected to the logic unit. The second conducting terminal of the second switch and the second terminal of the first resistor are both electrically connected to the first power supply.
[0011] In one possible implementation of the first aspect, the logic unit includes a second optocoupler and a third switch. The first input terminal of the second optocoupler is electrically connected to a second power supply. The second input terminal of the second optocoupler is electrically connected to the first control module and the power supply control unit, respectively. The first output terminal of the second optocoupler is electrically connected to the control terminal of the third switch. The second output terminal of the second optocoupler is grounded. The first conducting terminal of the third switch is used to electrically connect to the second device. The second conducting terminal of the third switch is electrically connected to the power supply control unit.
[0012] In one possible implementation of the first aspect, the first detection module includes a third optocoupler, a fourth switch, and an eighth resistor. The control terminal of the fourth switch is electrically connected to the second device, the second conducting terminal of the fourth switch is grounded, the first conducting terminal of the fourth switch is electrically connected to the second input terminal of the third optocoupler, the first input terminal of the third optocoupler is electrically connected to a first power supply, the first output terminal of the third optocoupler is electrically connected to the first terminal of the eighth resistor and the first control module, the second terminal of the eighth resistor is electrically connected to a second power supply, and the second output terminal of the third optocoupler is grounded.
[0013] In one possible implementation of the first aspect, the connection detection circuit further includes a second detection module, which is electrically connected to the power supply control module and the first control module respectively.
[0014] The second detection module is used to receive the third signal and output a seventh signal to the first control module according to the third signal. The seventh signal is used to characterize whether the first device and the second device are connected.
[0015] In one possible implementation of the first aspect, the second detection module includes a ninth resistor and a fourth optocoupler. The first input terminal of the fourth optocoupler is electrically connected to the power supply control module, the second input terminal of the fourth optocoupler is grounded, the first output terminal of the fourth optocoupler is electrically connected to the first terminal of the ninth resistor and the first control module, the second terminal of the ninth resistor is electrically connected to the second power supply, and the second output terminal of the fourth optocoupler is grounded.
[0016] Secondly, embodiments of this application provide a mobile power supply system, including a first device and a second device. The first device includes a first control module and a connection detection circuit as described in any one of the first aspects. The second device includes a third detection module and a second control module. The first control module is electrically connected to the second control module. The power supply control module and the first detection module in the connection detection circuit are respectively electrically connected to the first control module. The third detection module is electrically connected to the second control module. The power supply control module is electrically connected to the second control module and the third detection module. The first detection module is electrically connected to the second control module.
[0017] The power supply control module is used to receive a first signal output by the first control module; when the first device and the second device are connected, the power supply control module is also used to receive a second signal output by the second control module, and output a third signal to the third detection module according to the first signal and the second signal. The third detection module is used to output an eighth signal to the second control module according to the third signal. The second control module is used to determine whether the connection between the first device and the second device is normal according to the eighth signal. The first detection module is used to receive a fourth signal output by the second control module, and output a fifth signal to the first control module according to the fourth signal. The first control module is used to determine whether the connection between the first device and the second device is normal according to the fifth signal.
[0018] In one possible implementation of the second aspect, the third detection module includes a fifth optocoupler and a thirteenth resistor. The first input terminal of the fifth optocoupler is electrically connected to the power supply control module, the second input terminal of the fifth optocoupler is grounded, the first output terminal of the fifth optocoupler is electrically connected to the first terminal of the thirteenth resistor and the second control module, the second terminal of the thirteenth resistor is electrically connected to a second power supply, and the second output terminal of the fifth optocoupler is grounded. In another possible implementation of the second aspect, the first device further includes a first DC interface, and the second device further includes a second DC interface. The first control module, the first detection module, and the power supply control module are respectively electrically connected to the first DC interface, and the second control module and the third detection module are respectively electrically connected to the second DC interface. The first DC interface is used for electrical connection to the second DC interface.
[0019] The beneficial effects of the embodiments in this application compared with the prior art are:
[0020] This application provides a connection detection circuit applied to a first device. The connection detection circuit includes a first detection module and a power supply control module. The power supply control module is used to electrically connect to a second device and a first control module in the first device, respectively. The first detection module is used to electrically connect to the second device and the first control module, respectively.
[0021] Before the first device and the second device are connected, the power supply control module receives a first signal output by the first control module. When the first device and the second device are connected, the power supply control module also receives a second signal output by the second device and outputs a third signal to the second device based on the first and second signals. The second device can determine whether the connection between the first device and the second device is normal based on the third signal. If it is determined that the connection between the first device and the second device is abnormal, the cause of the abnormality may be a problem with the connection cable between the first device and the second device, or a problem with the DC interface on either the first device or the second device. In this case, the second device will cut off its internal power supply, causing it to stop working and ensuring the safety of the second device.
[0022] When the first device and the second device are connected, the first detection module receives the fourth signal output by the second device and outputs a fifth signal to the first control module based on the fourth signal. The first control module can determine whether the connection between the first device and the second device is normal based on the fifth signal. If it is determined that the connection between the first device and the second device is abnormal, the cause of the abnormality may be that the connection cable between the first device and the second device is abnormal, or that the DC interface on the first device or the second device is abnormal. In this case, the first device will cut off its internal power supply to stop it from working and ensure the safety of the first device.
[0023] Therefore, the connection detection circuit provided in this application embodiment enables both the first device and the second device to detect whether the connection between them is normal, and when a connection abnormality occurs, both the first device and the second device will cut off their internal power supply to ensure their respective safety.
[0024] It is understandable that the beneficial effects of the second aspect mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 This is a schematic block diagram of a connection detection circuit provided in one embodiment of this application;
[0027] Figure 2 This is a schematic block diagram of a connection detection circuit provided in another embodiment of this application;
[0028] Figure 3 This is a circuit connection diagram of a connection detection circuit provided in an embodiment of this application;
[0029] Figure 4 This is a circuit connection diagram of a connection detection circuit provided in another embodiment of this application;
[0030] Figure 5 This is a schematic block diagram of a connection detection circuit provided in another embodiment of this application;
[0031] Figure 6 This is a circuit connection diagram of a connection detection circuit provided in another embodiment of this application;
[0032] Figure 7 This is a circuit connection diagram of a connection detection circuit provided in another embodiment of this application;
[0033] Figure 8 This is a schematic block diagram of a mobile power supply system provided in one embodiment of this application;
[0034] Figure 9 This is a circuit connection diagram of the third detection module in this application. Figure 1 ;
[0035] Figure 10 This is a circuit connection diagram of the third detection module in this application. Figure 2 ;
[0036] Figure 11 This is a schematic block diagram of a mobile power supply system provided in another embodiment of this application;
[0037] Figure 12 This is a schematic block diagram of the first DC interface in this application;
[0038] Figure 13 This is a schematic block diagram of the second DC interface in this application.
[0039] In the diagram: 1. First device; 11. Connection detection circuit; 111. First detection module; 112. Power supply control module; 1121. Power supply control unit; 1122. Logic unit; 113. Second detection module; 12. First control module; 13. First DC interface; 2. Second device; 21. Third detection module; 22. Second control module; 23. Second DC interface; 8. Mobile power supply system. Detailed Implementation
[0040] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0041] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0042] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0043] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [the described condition or event] is detected," or "in response to detection of [the described condition or event]."
[0044] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0045] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0046] In the field of mobile energy storage, the main unit typically extends its own power capacity through slave units. During actual operation, the main unit usually needs to exchange information with the slave unit; therefore, high-power DC interfaces are essential on both the main unit and the slave unit. In practical applications, the DC interface or connecting cable between the main unit and the slave unit may accidentally become disconnected, leading to electrical burn-out and other problems. Current solutions involve installing detection circuits on either the main unit or the slave unit. However, this approach only allows the main unit or slave unit to detect whether the connection between them is normal. If the connection is abnormal, only one end of the main unit or slave unit will receive the abnormality information. The end receiving the abnormality information can then take appropriate action and implement protection measures, while the other end remains unaware of the abnormality and continues to operate, thus the entire system still faces safety risks.
[0047] To address the above issues, this application proposes a connection detection circuit. This circuit enables both the first and second devices to detect whether their connection is normal. In the event of a connection abnormality, both the first and second devices will cut off their internal power to ensure their respective safety. The first device is the slave device, and the second device is the master device.
[0048] Figure 1 A schematic block diagram of the connection detection circuit provided in an embodiment of this application is shown, as follows: Figure 1 As shown, the connection detection circuit 11 is applied to the first device 1, which is used to electrically connect with the second device 2. The connection detection circuit 11 includes a first detection module 111 and a power supply control module 112. The power supply control module 112 is used to electrically connect with the first control module 12 in the second device 2 and the first control module 12 in the first device 1, respectively. The first detection module 111 is used to electrically connect with the second device 2 and the first control module 12, respectively.
[0049] Specifically, the first device 1 is used to extend the power supply to the second device 2. Before the first device 1 is connected to the second device 2, the power supply control module 112 is used to receive the first signal output by the first control module 12, wherein the first signal is a low-level signal.
[0050] When the second device 2 needs the first device 1 to extend its power supply, it connects the first device 1 to the second device 2. When the first device 1 is connected to the second device 2, the power supply control module 112 also receives the second signal output by the second device 2 and outputs a third signal to the second device 2 based on the first and second signals. If the second signal received by the power supply control module 112 is a low-level signal, the third signal output to the second device 2 is a high-level signal. When the third signal received by the second device 2 is a high-level signal, it is determined that the connection between the first device 1 and the second device 2 is normal. When the third signal received by the second device 2 becomes a high-impedance state, it is determined that the connection between the first device 1 and the second device 2 is abnormal. The cause of the abnormality may be an abnormality in the connection cable between the first device 1 and the second device 2, or an abnormality in the DC interface on the first device 1 or the second device 2. In this case, the second device 2 will cut off its internal power supply to stop its operation and ensure the safety of the second device 2.
[0051] If the second signal received by the power supply control module 112 is not a low-level signal, then the third signal output to the second device 2 is a high-impedance state. When the third signal received by the second device 2 is a high-impedance state, it is determined that the connection between the first device 1 and the second device 2 is abnormal.
[0052] It should be noted that when the second device 2 detects that the connection between the first device 1 and the second device 2 is normal, the CAN communication circuit in the second device 2 is powered by the third signal. Communication between the first device 1 and the second device 2 is only possible when the CAN communication circuit is activated. The second device 2 uses the third signal as both the connection detection signal between the first device 1 and the second device 2 and the power supply signal for the CAN communication circuit, thus achieving signal multiplexing and reducing the number of wires between the first device 1 and the second device 2.
[0053] When the first device 1 is connected to the second device 2, the first detection module 111 receives the fourth signal output by the second device 2 and outputs a fifth signal to the first control module 12 based on the fourth signal. If the fourth signal received by the first detection module 111 is a high-level signal, the fifth signal output by the first detection module 111 to the first control module 12 is a low-level signal, and the first control module 12 can determine that the connection between the first device 1 and the second device 2 is normal. If the fourth signal received by the first detection module 111 is a high-impedance state, the fifth signal output by the first detection module 111 to the first control module 12 is a high-level signal, and the first control module 12 can determine that the connection between the first device 1 and the second device 2 is abnormal. The abnormality may be due to a faulty connecting cable between the first device 1 and the second device 2, or a faulty DC interface on either the first device 1 or the second device 2. In this case, the first device 1 will cut off its internal power supply to stop working and ensure the safety of the first device 1.
[0054] Therefore, the connection detection circuit 11 provided in this application embodiment enables both the first device 1 and the second device 2 to detect whether the connection between them is normal, and when a connection abnormality occurs, both the first device 1 and the second device 2 will cut off their internal power supply to ensure their respective safety.
[0055] Figure 2 A schematic block diagram of the power supply control module 112 in this application is shown, as follows: Figure 2 As shown, the power supply control module 112 includes a power supply control unit 1121 and a logic unit 1122. Both the power supply control unit 1121 and the logic unit 1122 are used to be electrically connected to the first control module 12. The power supply control unit 1121 is electrically connected to the logic unit 1122. The power supply control unit 1121 and the logic unit 1122 are respectively used to be electrically connected to the second device 2.
[0056] Specifically, before the first device 1 is connected to the second device 2, the logic unit 1122 is used to receive the first signal output by the first control module 12. The power supply control unit 1121 is used to receive the first signal output by the first control module 12. The first signal is a low-level signal.
[0057] When the first device 1 is connected to the second device 2, the power supply control unit 1121 is also used to receive the second signal output by the second device 2, and output a sixth signal to the logic unit 1122 according to the first and second signals. The logic unit 1122 is used to output a third signal to the second device 2 according to the first and sixth signals. If the second signal received by the power supply control unit 1121 is a low-level signal, then the sixth signal output to the logic unit 1122 is a high-level signal, and the third signal output by the logic unit 1122 to the second device 2 is a high-level signal. When the third signal received by the second device 2 is a high-level signal, it is determined that the connection between the first device 1 and the second device 2 is normal. When the third signal received by the second device 2 becomes a high-impedance state, it is determined that the connection between the first device 1 and the second device 2 is abnormal. The cause of the abnormality may be that the connection cable between the first device 1 and the second device 2 is abnormal, or that the DC interface on the first device 1 or the second device 2 is abnormal. At this time, the second device 2 will cut off its internal power supply to stop its operation and ensure the safety of the second device 2.
[0058] If the second signal received by the power supply control unit 1121 is not a low-level signal, then the sixth signal output to the logic unit 1122 is in a high-impedance state, and the third signal output by the logic unit 1122 to the second device 2 is also in a high-impedance state. When the third signal received by the second device 2 is in a high-impedance state, it is determined that the connection between the first device 1 and the second device 2 is abnormal.
[0059] Figure 3 A circuit connection diagram of the power supply control unit 1121 in this application is shown, as follows: Figure 3 As shown, the power supply control unit 1121 includes a first switch Q1, a first optocoupler U1, a second switch Q2, and a first resistor R1. The control terminal of the first switch Q1 is electrically connected to the first control module 12 and the logic unit 1122, respectively. The first conducting terminal of the first switch Q1 is electrically connected to the second input terminal of the first optocoupler U1. The second conducting terminal of the first switch Q1 is grounded. The first input terminal of the first optocoupler U1 is electrically connected to the first power supply. The first output terminal of the first optocoupler U1 is electrically connected to the first terminal of the first resistor R1, the control terminal of the second switch Q2, and the second device 2, respectively. The first conducting terminal of the second switch Q2 is electrically connected to the logic unit 1122. The second conducting terminal of the second switch Q2 and the second terminal of the first resistor R1 are both electrically connected to the first power supply. In this configuration, the first switch Q1 is an NMOS (N-type Metal-Oxide-Semiconductor) transistor, with its control terminal being the gate, its first conducting terminal being the drain, and its second conducting terminal being the source. The second switch Q2 is a PMOS (P-type Metal-Oxide-Semiconductor) transistor, with its control terminal being the gate, its first conducting terminal being the drain, and its second conducting terminal being the source.
[0060] Specifically, before the first device 1 is connected to the second device 2, the first control module 12 is used to output a first signal to the control terminal of the first switch Q1 and the logic unit 1122. The first signal is a low-level signal, so the first switch Q1 is turned off, the first optocoupler U1 is also turned off, and the signal on the first output terminal of the first optocoupler U1 is a high-level signal, so the second switch Q2 is also turned off.
[0061] When the first device 1 is connected to the second device 2, the first output terminal of the first optocoupler U1 is used to receive the second signal output by the second device 2. If the second signal received by the first output terminal of the first optocoupler U1 is a low-level signal, then the second switch Q2 is turned on, and the sixth signal output to the logic unit 1122 is a high-level signal (i.e., the first power supply voltage VCC1). Therefore, the third signal output by the logic unit 1122 to the second device 2 is also a high-level signal. When the third signal received by the second device 2 is a high-level signal, it is determined that the connection between the first device 1 and the second device 2 is normal. When the third signal received by the second device 2 becomes a high-impedance state, it is determined that the connection between the first device 1 and the second device 2 is abnormal. The cause of the abnormality may be an abnormality in the connecting cable between the first device 1 and the second device 2, or an abnormality in the DC interface on the first device 1 or the second device 2. In this case, the second device 2 will cut off its internal power supply, causing it to stop working and ensuring the safety of the second device 2.
[0062] If the second signal received at the first output terminal of the first optocoupler U1 is not a low-level signal, then the second switch Q2 is turned off, and the sixth signal output to the logic unit 1122 is in a high-impedance state. Therefore, the third signal output by the logic unit 1122 to the second device 2 is also in a high-impedance state. When the third signal received by the second device 2 is in a high-impedance state, it is determined that the connection between the first device 1 and the second device 2 is abnormal.
[0063] It should be noted that the first device 1 can also perform connection detection with another first device 1, and the other first device 1 can also perform connection detection with other first devices 1. Therefore, the first device 1 will have two connection detection circuits 11. Before the first device 1 connects to the second device 2, the first control module 12 outputs a first signal to each of the two connection detection circuits 11, making the signal at the first output terminal of the first optocoupler U1 a high-level signal. After the first device 1 connects to the second device 2, the first device 1 will connect to another first device 1. Then, the first control module 12 in the first device 1 will output a high-level signal to the other connection detection circuit 11, meaning the signal at the first output terminal of the first optocoupler U1 will be a low-level signal. When the first device 1 connects to another first device 1, connection detection can be performed in the above manner until all first devices 1 are connected. During the connection process of the first devices 1, the second device 2 addresses all the first devices 1 sequentially via CAN communication.
[0064] Figure 4 Another circuit connection diagram of the power supply control unit 1121 in this application is shown, as follows: Figure 4As shown, the power supply control unit 1121 also includes a third resistor R3. The first end of the third resistor R3 is electrically connected to the control terminal of the first switching transistor Q1, and the second end of the third resistor R3 is grounded. The third resistor R3 is a pull-down resistor used for interference suppression.
[0065] The power supply control unit 1121 also includes a fourth resistor R4. The first end of the fourth resistor R4 is electrically connected to the first power supply, and the second end of the fourth resistor R4 is electrically connected to the first input terminal of the first optocoupler U1. The fourth resistor R4 is a current-limiting resistor and serves to limit current.
[0066] The power supply control unit 1121 also includes a sixth resistor R6. The first end of the sixth resistor R6 is electrically connected to the control terminal of the second switch Q2, and the second end of the sixth resistor R6 is electrically connected to the first output terminal of the first optocoupler U1. The sixth resistor R6 is used for current limiting.
[0067] Figure 3 A circuit connection diagram of logic unit 1122 in this application is shown, as follows: Figure 3 As shown, the logic unit 1122 includes a second optocoupler U2 and a third switch Q3. The first input terminal of the second optocoupler U2 is electrically connected to a second power supply, and the second input terminal of the second optocoupler U2 is electrically connected to both the first control module 12 and the power supply control unit 1121. The first output terminal of the second optocoupler U2 is electrically connected to the control terminal of the third switch Q3, and the second output terminal of the second optocoupler U2 is grounded. The first conducting terminal of the third switch Q3 is used for electrical connection to the second device 2, and the second conducting terminal of the third switch Q3 is electrically connected to the power supply control unit 1121. The third switch Q3 is a PMOS transistor, with its control terminal serving as the gate, its first conducting terminal serving as the drain, and its second conducting terminal serving as the source. Figure 3 It can be seen that the second input terminal of the second optocoupler U2 is electrically connected to the control terminals of the first control module 12 and the first switch Q1, respectively, and the second conducting terminal of the third switch Q3 is electrically connected to the first conducting terminal of the second switch Q2.
[0068] Specifically, before the first device 1 is connected to the second device 2, the first control module 12 is used to output a first signal to the second input terminal of the second optocoupler U2 and the control terminal of the first switch Q1, respectively. The first signal is a low-level signal, so the first switch Q1 is turned off, the first optocoupler U1 is turned off, and the second optocoupler U2 is turned on. Since the first optocoupler U1 is turned off, the signal on the first output terminal of the first optocoupler U1 is a high-level signal, so the second switch Q2 is turned off, and the third switch Q3 is also turned off.
[0069] When the first device 1 is connected to the second device 2, the first output terminal of the first optocoupler U1 is used to receive the second signal output by the second device 2. If the second signal received by the first output terminal of the first optocoupler U1 is a low-level signal, then the second switch Q2 is turned on, and the sixth signal output to the second conducting terminal of the third switch Q3 is a high-level signal. Since the first signal on the control terminal of the third switch Q3 is a low-level signal, the third switch Q3 is also turned on, and the third signal output to the second device 2 is a high-level signal. If the third signal received by the second device 2 is also a high-level signal, then the connection between the first device 1 and the second device 2 is determined to be normal. If the third signal received by the second device 2 becomes a high-impedance state, then the connection between the first device 1 and the second device 2 is determined to be abnormal. The reason for the abnormality may be that the connecting cable between the first device 1 and the second device 2 is abnormal, or that the DC interface on the first device 1 or the second device 2 is abnormal. At this time, the second device 2 will cut off its internal power supply, causing it to stop working and ensuring the safety of the second device 2.
[0070] If the second signal received at the first output terminal of the first optocoupler U1 is not a low-level signal, then the second switch Q2 is turned off. The sixth signal output to the second conducting terminal of the third switch Q3 is in a high-impedance state, so the third switch Q3 is also turned off. Therefore, the third signal output to the second device 2 is in a high-impedance state. When the third signal received by the second device 2 is in a high-impedance state, it is determined that the connection between the first device 1 and the second device 2 is abnormal.
[0071] Figure 4 Another circuit connection diagram of logic unit 1122 in this application is shown, as follows: Figure 4 As shown, logic unit 1122 also includes a second resistor R2 and a seventh resistor R7. The first end of the second resistor R2 is electrically connected to the second conducting terminal of the third switch Q3, and the first end of the seventh resistor R7 is electrically connected to the control terminal of the third switch Q3. The second end of the second resistor R2 is electrically connected to the second end of the seventh resistor R7 and the first output terminal of the second optocoupler U2. The second resistor R2 is used to protect the third switch Q3, and the seventh resistor R7 is used for current limiting.
[0072] The logic unit 1122 also includes a fifth resistor R5. The first end of the fifth resistor R5 is electrically connected to the second power supply, and the second end of the fifth resistor R5 is electrically connected to the first input terminal of the second optocoupler U2. The fifth resistor R5 is used for current limiting.
[0073] The logic unit 1122 also includes a first diode D1. The anode of the first diode D1 is electrically connected to the first conducting terminal of the third switch Q3, and the cathode of the first diode D1 is used for electrical connection with the second device 2. The first diode D1 is used for protection circuitry.
[0074] Figure 3 The circuit connection diagram of the first detection module 111 in this application is shown, as follows: Figure 3 As shown, the first detection module 111 includes a third optocoupler U3, a fourth switch Q4, and an eighth resistor R8. The control terminal of the fourth switch Q4 is electrically connected to the second device 2, the second conducting terminal of the fourth switch Q4 is grounded, the first conducting terminal of the fourth switch Q4 is electrically connected to the second input terminal of the third optocoupler U3, the first input terminal of the third optocoupler U3 is electrically connected to the first power supply, the first output terminal of the third optocoupler U3 is electrically connected to the first terminal of the eighth resistor R8 and the first control module 12, the second terminal of the eighth resistor R8 is electrically connected to the second power supply, and the second output terminal of the third optocoupler U3 is grounded. The fourth switch Q4 is an NMOS transistor, the control terminal of the fourth switch Q4 is the gate of the NMOS transistor, the first conducting terminal of the fourth switch Q4 is the drain of the NMOS transistor, and the second conducting terminal of the fourth switch Q4 is the source of the NMOS transistor.
[0075] Specifically, when the first device 1 is connected to the second device 2, the control terminal of the fourth switch Q4 is used to receive the fourth signal output by the second device 2. When the fourth signal received by the control terminal of the fourth switch Q4 is a high-level signal, the fourth switch Q4 is turned on, and the third optocoupler U3 is also turned on. Then the fifth signal output to the first control module 12 is a low-level signal. When the fifth signal received by the first control module 12 is a low-level signal, it indicates that the connection between the first device 1 and the second device 2 is normal.
[0076] When the fourth signal received by the control terminal of the fourth switch Q4 is in a high-impedance state, both the fourth switch Q4 and the third optocoupler U3 are turned off. Then the fifth signal output to the first control module 12 is a high-level signal. When the fifth signal received by the first control module 12 is a high-level signal, it indicates that the connection between the first device 1 and the second device 2 is abnormal.
[0077] Figure 4 This paper shows another circuit connection diagram of the first detection module 111 in this application, as follows: Figure 4 As shown, the first detection module 111 also includes a tenth resistor R10. The first end of the tenth resistor R10 is electrically connected to the control terminal of the fourth switch Q4, and the second end of the tenth resistor R10 is grounded. The tenth resistor R10 is used to protect the fourth switch Q4.
[0078] The first detection module 111 also includes an eleventh resistor R11. The first end of the eleventh resistor R11 is electrically connected to the first power supply, and the second end of the eleventh resistor R11 is electrically connected to the first input terminal of the third optocoupler U3. The eleventh resistor R11 is used for current limiting.
[0079] Figure 5 Another schematic diagram of the connection detection circuit 11 of this application is shown, as follows: Figure 5 As shown, the connection detection circuit 11 also includes a second detection module 113, which is electrically connected to the power supply control module 112 and the first control module 12 respectively.
[0080] Specifically, the second detection module 113 receives the third signal and outputs a seventh signal to the first control module 12 based on the third signal. The first control module 12 determines whether the first device 1 and the second device 2 are connected based on the seventh signal. When the third signal received by the second detection module 113 is a high-level signal, the seventh signal output to the first control module 12 is a low-level signal. When the seventh signal received by the first control module 12 is a low-level signal, it indicates that the first device 1 and the second device 2 are connected.
[0081] When the third signal received by the second detection module 113 is in a high-impedance state, it outputs a seventh signal as a high-level signal to the first control module 12. When the seventh signal received by the first control module 12 is a high-level signal, it indicates that the first device 1 and the second device 2 are not connected.
[0082] Figure 6 The circuit connection diagram of the second detection module 113 in this application is shown, as follows: Figure 6 As shown, the second detection module 113 includes a ninth resistor R9 and a fourth optocoupler U4. The first input terminal of the fourth optocoupler U4 is electrically connected to the power supply control module 112, the second input terminal of the fourth optocoupler U4 is grounded, the first output terminal of the fourth optocoupler U4 is electrically connected to the first terminal of the ninth resistor R9 and the first control module 12, the second terminal of the ninth resistor R9 is electrically connected to the second power supply, and the second output terminal of the fourth optocoupler U4 is grounded. Figure 6 It can be seen that the first input terminal of the fourth optocoupler U4 is electrically connected to the first conducting terminal of the third switch Q3.
[0083] Specifically, when the third signal received at the first input terminal of the fourth optocoupler U4 is a high-level signal, the fourth optocoupler U4 is turned on, and the seventh signal output to the first control module 12 is a low-level signal. When the seventh signal received by the first control module 12 is a low-level signal, it indicates that the first device 1 and the second device 2 are connected.
[0084] When the third signal received at the first input terminal of the fourth optocoupler U4 is in a high-impedance state, the fourth optocoupler U4 is turned off, and the seventh signal output to the first control module 12 is a high-level signal. When the seventh signal received by the first control module 12 is a high-level signal, it indicates that the first device 1 and the second device 2 are not connected.
[0085] Figure 7 This paper shows another circuit connection diagram of the second detection module 113 in this application, as follows: Figure 7 As shown, the second detection module 113 also includes a twelfth resistor R12. The first end of the twelfth resistor R12 is electrically connected to the first input terminal of the fourth optocoupler U4, and the second end of the twelfth resistor R12 is electrically connected to the first conducting terminal of the third switch Q3. The twelfth resistor R12 is used for current limiting.
[0086] In summary, the connection detection circuit 11 provided in this application embodiment enables both the first device 1 and the second device 2 to detect whether the connection between them is normal. In the event of a connection abnormality, both the first device 1 and the second device 2 will cut off their internal power supply to ensure their respective safety. Simultaneously, signal multiplexing is implemented during connection detection, thus reducing the number of wires between the first device 1 and the second device 2. Furthermore, the connection detection circuit 11 in this application employs an optocoupler in its circuit design to achieve isolation between the first device 1 and the second device 2.
[0087] Figure 8 A schematic block diagram of the mobile power supply system 8 provided in an embodiment of this application is shown, as follows: Figure 8 As shown, the mobile power supply system 8 includes a first device 1 and a second device 2. The first device 1 includes a first control module 12 and the connection detection circuit 11 described above. The second device 2 includes a third detection module 21 and a second control module 22. The first control module 12 is electrically connected to the second control module 22. The power supply control module 112 and the first detection module 111 in the connection detection circuit 11 are electrically connected to the first control module 12, respectively. The third detection module 21 is electrically connected to the second control module 22. The power supply control module 112 is electrically connected to the second control module 22 and the third detection module 21. The first detection module 111 is electrically connected to the second control module 22.
[0088] Specifically, the first device 1 is used to extend the power supply to the second device 2. Before the first device 1 is connected to the second device 2, the power supply control module 112 is used to receive the first signal output by the first control module 12, wherein the first signal is a low-level signal.
[0089] When the second device 2 needs the first device 1 to extend its power, the first device 1 is connected to the second device 2. When the first device 1 and the second device 2 are connected, the power supply control module 112 is also used to receive the second signal output by the second control module 22, and output a third signal to the third detection module 21 according to the first signal and the second signal. The third detection module 21 is used to output an eighth signal to the second control module 22 according to the third signal. The second control module 22 is used to determine whether the connection between the first device 1 and the second device 2 is normal according to the eighth signal. The first detection module 111 is used to receive the fourth signal output by the second control module 22, and output a fifth signal to the first control module 12 according to the fourth signal. The first control module 12 is used to determine whether the connection between the first device 1 and the second device 2 is normal according to the fifth signal.
[0090] If the power supply control module 112 receives a low-level signal as the second signal, it outputs a high-level signal to the third detection module 21. When the third detection module 21 receives a high-level signal, it outputs a low-level signal to the second control module 22. When the second control module 22 receives a low-level signal, it determines that the connection between the first device 1 and the second device 2 is normal. If the third signal received by the third detection module 21 becomes high-impedance, it outputs a high-level signal to the second control module 22. When the second control module 22 receives a high-level signal, it determines that the connection between the first device 1 and the second device 2 is abnormal.
[0091] If the second signal received by the power supply control module 112 is not a low-level signal, the third signal output to the third detection module 21 is a high-impedance state. When the third signal received by the third detection module 21 is a high-impedance state, the eighth signal output to the second control module 22 is a high-level signal. When the eighth signal received by the second control module 22 is a high-level signal, it is determined that the connection between the first device 1 and the second device 2 is abnormal.
[0092] When the fourth signal received by the first detection module 111 is a high-level signal, the fifth signal output by the first detection module 111 to the first control module 12 is a low-level signal. When the fifth signal received by the first control module 12 is a low-level signal, it is determined that the connection between the first device 1 and the second device 2 is normal. If the fourth signal received by the first detection module 111 is a high-impedance state, the fifth signal output by the first detection module 111 to the first control module 12 is a high-level signal. When the fifth signal received by the first control module 12 is a high-level signal, it is determined that the connection between the first device 1 and the second device 2 is abnormal.
[0093] It should be noted that both the first control module 12 and the second control module 22 integrate various circuit modules. The second control module 22 includes a CAN communication circuit. When the second control module 22 detects a normal connection between the first device 1 and the second device 2, the CAN communication circuit is powered by a third signal. Communication between the first device 1 and the second device 2 is only possible when the CAN communication circuit is activated. The second control module 22 uses the third signal as both the connection detection signal between the first device 1 and the second device 2 and the power supply signal for the CAN communication circuit, achieving signal multiplexing and reducing the number of wires between the first device 1 and the second device 2.
[0094] Figure 9 The circuit connection diagram of the third detection module 21 in this application is shown, as follows: Figure 9 As shown, the third detection module 21 includes a fifth optocoupler U5 and a thirteenth resistor R13. The first input terminal of the fifth optocoupler U5 is electrically connected to the power supply control module 112, the second input terminal of the fifth optocoupler U5 is grounded, the first output terminal of the fifth optocoupler U5 is electrically connected to the first terminal of the thirteenth resistor R13 and the second control module 22, the second terminal of the thirteenth resistor R13 is electrically connected to the second power supply, and the second output terminal of the fifth optocoupler U5 is grounded.
[0095] Specifically, when the first device 1 and the second device 2 are connected, if the third signal received by the first input terminal of the fifth optocoupler U5 is a high-level signal, then the eighth signal output to the second control module 22 is a low-level signal. When the eighth signal received by the second control module 22 is a low-level signal, it is determined that the connection between the first device 1 and the second device 2 is normal. If the third signal received by the first input terminal of the fifth optocoupler U5 is a high-impedance state, then the eighth signal output to the second control module 22 is a high-level signal. When the eighth signal received by the second control module 22 is a high-level signal, it is determined that the connection between the first device 1 and the second device 2 is abnormal.
[0096] Figure 10 This paper shows another circuit connection diagram of the third detection module 21 in this application, as shown below. Figure 10 As shown, the third detection module 21 also includes a fourteenth resistor R14. The first end of the fourteenth resistor R14 is electrically connected to the power supply control module 112, and the second end of the fourteenth resistor R14 is electrically connected to the first input terminal of the fifth optocoupler U5. The fourteenth resistor R14 is used for current limiting.
[0097] Figure 11 Another schematic diagram of the mobile power supply system 8 provided in this application embodiment is shown, such as... Figure 11As shown, the first device 1 further includes a first DC interface 13, and the second device 2 further includes a second DC interface 23. The first control module 12, the first detection module 111 and the power supply control module 112 are electrically connected to the first DC interface 13, and the second control module 22 and the third detection module 21 are electrically connected to the second DC interface 23. The first DC interface 13 is used for the electrical connection of the second DC interface 23.
[0098] Specifically, to facilitate the connection between the first device 1 and the second device 2, DC interfaces can be provided on both devices. The power supply signal for the CAN communication circuit in the second device 2 and the detection signal for the third detection module 21 share the same signal, thus reducing the number of pins required for the DC interface design. The pin definitions of the first DC interface 13 are as follows: Figure 12 As shown, the first DC interface 13 includes four high-power DC power supply pins (P1+, P2+, P1-, P2-), six signal detection pins (CAN_H, CAN_L, POW_REQ, RES1, RES2, LINK_CHK), and two power supply pins (VCC, GND). The POW_REQ and VCC pins in the first DC interface 13 are respectively connected to the power supply control module 112, and the LINK_CHK pin in the first DC interface 13 is respectively connected to the first detection module 111. The other signal detection pins of the first DC interface 13 are respectively connected to the corresponding circuit modules in the first control module 12.
[0099] The pin definitions of the second DC interface 23 are as follows: Figure 13 As shown, the second DC interface 23 includes four high-power DC power supply pins (P1+, P2+, P1-, P2-), six signal detection pins (CAN_H, CAN_L, POW_REQ, RES1, RES2, LINK_CHK), and two power supply pins (VCC, GND). The LINK_CHK pin of the second DC interface 23 is connected to the VCC pin, and the POW_REQ pin is connected to the GND pin and grounded. The VCC pin of the second DC interface 23 is connected to the CAN communication circuit and the third detection module 21, respectively. The VCC pin of the second DC interface 23 serves as both a power supply pin for the CAN communication circuit and a detection pin for the third detection module 21, thus reducing the pin count of the DC interface. The other signal detection pins of the second DC interface 23 are connected to the corresponding circuit modules in the second control module 22. It should be noted that the pin definitions of the DC interfaces on the first device 1 and the second device 2 are exactly the same. When the first device 1 is connected to the second device 2, the corresponding pins of the first DC interface 13 and the second DC interface 23 can be directly connected.
[0100] When the first device 1 and the second device 2 are connected, if the second signal received by the POW_REQ pin in the first DC interface 13 is a low-level signal, then the third signal sent to the VCC pin in the second DC interface 23 is a high-level signal. When the third signal received by the VCC pin in the second DC interface 23 is a high-level signal, then the eighth signal output by the third detection module 21 to the second control module 22 is a low-level signal, so that the second control module 22 determines that the connection between the first device 1 and the second device 2 is normal. When the third signal received by the VCC pin in the second DC interface 23 becomes a high-impedance state, then the eighth signal output by the third detection module 21 to the second control module 22 is a high-level signal, so that the second control module 22 determines that the connection between the first device 1 and the second device 2 is abnormal.
[0101] Since the LINK_CHK pin in the second DC interface 23 is connected to the VCC pin, when the third signal received by the VCC pin in the second DC interface 23 is a high-level signal, the third signal received by the LINK_CHK pin in the second DC interface 23 is also a high-level signal, and a high-level signal will be sent to the LINK_CHK pin in the first DC interface 13. If the fourth signal received by the first detection module 111 is a high-level signal, the fifth signal output to the first control module 12 will be a low-level signal, so that the first control module 12 can determine that the connection between the first device 1 and the second device 2 is normal. If the fourth signal received by the first detection module 111 is a high-impedance state, the fifth signal output to the first control module 12 will be a high-level signal, so that the first control module 12 can determine that the connection between the first device 1 and the second device 2 is abnormal.
[0102] If the second signal received by the POW_REQ pin in the first DC interface 13 is not a low-level signal, then the third signal sent to the VCC pin in the second DC interface 23 is a high-impedance state. In this case, both the first device 1 and the second device 2 can determine that the connection between the first device 1 and the second device 2 is abnormal.
[0103] It should be noted that the first device 1 can be equipped with two first DC interfaces 13, each corresponding to a connection detection circuit 11. Before the first device 1 is connected to the second device 2, the first device 1 directly sets the two first DC interfaces 13 to slave mode (that is, sets the POW_REQ pin of the first DC interface 13 to a high-level signal). After the first device 1 is connected to the second device 2, the first device 1 sets the other first DC interface 13 to master mode (that is, sets the POW_REQ pin of the first DC interface 13 to a low-level signal), and can connect to another first device 1. This can continue to connect to the first devices 1 until all the first devices 1 are connected. During the connection process of the first devices 1, the second device 2 can address multiple first devices 1 sequentially through CAN communication.
[0104] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0105] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A connection detection circuit, characterized in that, Applied to a first device, the connection detection circuit includes a first detection module and a power supply control module. The power supply control module is used to electrically connect to the second device and the first control module in the first device, respectively. The first detection module is used to electrically connect to the second device and the first control module, respectively. The power supply control module is used to receive a first signal output by the first control module; when the first device and the second device are connected, the power supply control module is also used to receive a second signal output by the second device, and output a third signal to the second device according to the first signal and the second signal, the third signal being used to characterize whether the connection between the first device and the second device is normal; the first detection module is used to receive a fourth signal output by the second device, and output a fifth signal to the first control module according to the fourth signal, the fifth signal being used to characterize whether the connection between the first device and the second device is normal.
2. The connection detection circuit according to claim 1, characterized in that, The power supply control module includes a power supply control unit and a logic unit. Both the power supply control unit and the logic unit are electrically connected to the first control module. The power supply control unit is electrically connected to the logic unit. The power supply control unit and the logic unit are respectively electrically connected to the second device. The logic unit is used to receive the first signal output by the first control module; the power supply control unit is used to receive the first signal output by the first control module; when the first device and the second device are connected, the power supply control unit is also used to receive the second signal output by the second device, and output a sixth signal to the logic unit according to the first signal and the second signal, and the logic unit is used to output the third signal to the second device according to the first signal and the sixth signal.
3. The connection detection circuit according to claim 2, characterized in that, The power supply control unit includes a first switch, a first optocoupler, a second switch, and a first resistor. The control terminal of the first switch is electrically connected to the first control module and the logic unit, respectively. The first conducting terminal of the first switch is electrically connected to the second input terminal of the first optocoupler. The second conducting terminal of the first switch is grounded. The first input terminal of the first optocoupler is electrically connected to a first power supply. The first output terminal of the first optocoupler is electrically connected to the first terminal of the first resistor, the control terminal of the second switch, and the second device, respectively. The first conducting terminal of the second switch is electrically connected to the logic unit. The second conducting terminal of the second switch and the second terminal of the first resistor are both electrically connected to the first power supply.
4. The connection detection circuit according to claim 2, characterized in that, The logic unit includes a second optocoupler and a third switch. The first input terminal of the second optocoupler is electrically connected to a second power supply. The second input terminal of the second optocoupler is electrically connected to the first control module and the power supply control unit, respectively. The first output terminal of the second optocoupler is electrically connected to the control terminal of the third switch. The second output terminal of the second optocoupler is grounded. The first conducting terminal of the third switch is used to electrically connect to the second device. The second conducting terminal of the third switch is electrically connected to the power supply control unit.
5. The connection detection circuit according to claim 1, characterized in that, The first detection module includes a third optocoupler, a fourth switch, and an eighth resistor. The control terminal of the fourth switch is used to be electrically connected to the second device. The second conducting terminal of the fourth switch is grounded. The first conducting terminal of the fourth switch is electrically connected to the second input terminal of the third optocoupler. The first input terminal of the third optocoupler is electrically connected to a first power supply. The first output terminal of the third optocoupler is electrically connected to the first terminal of the eighth resistor and the first control module, respectively. The second terminal of the eighth resistor is electrically connected to a second power supply. The second output terminal of the third optocoupler is grounded.
6. The connection detection circuit according to any one of claims 1-5, characterized in that, The connection detection circuit further includes a second detection module, which is electrically connected to the power supply control module and the first control module respectively. The second detection module is used to receive the third signal and output a seventh signal to the first control module according to the third signal. The seventh signal is used to characterize whether the first device and the second device are connected.
7. The connection detection circuit according to claim 6, characterized in that, The second detection module includes a ninth resistor and a fourth optocoupler. The first input terminal of the fourth optocoupler is electrically connected to the power supply control module, the second input terminal of the fourth optocoupler is grounded, the first output terminal of the fourth optocoupler is electrically connected to the first terminal of the ninth resistor and the first control module, the second terminal of the ninth resistor is electrically connected to the second power supply, and the second output terminal of the fourth optocoupler is grounded.
8. A mobile power supply system, characterized in that, The device includes a first device and a second device. The first device includes a first control module and a connection detection circuit as described in any one of claims 1-7. The second device includes a third detection module and a second control module. The first control module is electrically connected to the second control module. The power supply control module and the first detection module in the connection detection circuit are respectively electrically connected to the first control module. The third detection module is electrically connected to the second control module. The power supply control module is electrically connected to the second control module and the third detection module. The first detection module is electrically connected to the second control module. The power supply control module is used to receive a first signal output by the first control module; when the first device and the second device are connected, the power supply control module is also used to receive a second signal output by the second control module, and output a third signal to the third detection module according to the first signal and the second signal. The third detection module is used to output an eighth signal to the second control module according to the third signal. The second control module is used to determine whether the connection between the first device and the second device is normal according to the eighth signal. The first detection module is used to receive a fourth signal output by the second control module, and output a fifth signal to the first control module according to the fourth signal. The first control module is used to determine whether the connection between the first device and the second device is normal according to the fifth signal.
9. The mobile power supply system according to claim 8, characterized in that, The third detection module includes a fifth optocoupler and a thirteenth resistor. The first input terminal of the fifth optocoupler is electrically connected to the power supply control module, the second input terminal of the fifth optocoupler is grounded, the first output terminal of the fifth optocoupler is electrically connected to the first terminal of the thirteenth resistor and the second control module, the second terminal of the thirteenth resistor is electrically connected to the second power supply, and the second output terminal of the fifth optocoupler is grounded.
10. The mobile power supply system according to claim 8, characterized in that, The first device further includes a first DC interface, and the second device further includes a second DC interface. The first control module, the first detection module, and the power supply control module are respectively electrically connected to the first DC interface, and the second control module and the third detection module are respectively electrically connected to the second DC interface. The first DC interface is used to be electrically connected to the second DC interface.