Connection detection circuit and mobile power supply system
By designing a connection detection circuit in the energy storage system, the two-way connection detection and power cut-off between the host and slave are realized, and the safety accidents caused by the falling off of the DC interface are solved to ensure the safety and stability of the system.
Patent Information
- Application Number
- CN202420802049.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2034-04-17
AI Technical Summary
In energy storage systems, the DC interface or connection cable between the host and slave accidentally falls off, which may lead to safety accidents such as electrical ablation. The existing technology can only enable the host or slave to detect whether the connection is normal, but it cannot be achieved at the same time. Safe cut-off between the two.
A connection detection circuit is designed, including a power supply control module and a detection module. The power supply control module is electrically connected to the control module of the host and slave, and the detection module is electrically connected to the slave and host, detects the connection status through signal interaction, and in an abnormality. In case of shutting off the internal power supply.
It realizes that both the master and the slave can detect whether the connection between them is normal, and cut off the internal power supply when a connection abnormality occurs to ensure the safety of the system.
Smart Images

Figure CN222482402U_ABST
Abstract
Description
Technical Field
[0001] The present 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 Art
[0002] In the field of energy storage systems, the host can be a fully functional energy storage device, for example, the host can be an outdoor mobile energy storage device. When the power of the host is insufficient, at least one slave can be expanded on the basis of the host, and the slave is used to add power to the host, for example, the slave can be a power pack.
[0003] The host usually needs to exchange information with the slave. For example, when the slave is working, the host needs to collect the real-time information of the slave and make corresponding judgments and protections based on the real-time information of the slave. At the same time, when the power of the host is used up, the energy storage system needs to switch from the host power supply to the slave power supply. Therefore, the slave needs to switch the charging and discharging circuit and communicate with the host. The host also needs to identify whether the slave is connected and address it to switch different slaves for power supply. Therefore, it is essential to set up high-power DC interfaces on the host and slave.
[0004] During the operation of the energy storage system, the accidental detachment of the DC interface or the connecting cable can lead to electrical ablation and other situations, which can easily cause safety accidents. Therefore, how to realize the connection detection between the host and the slave is an urgent problem to be solved. Utility Model Content
[0005] The embodiments of the present application provide a connection detection circuit and a mobile power supply system, which can solve the problem of safety accidents caused by abnormal connection between a host and a slave.
[0006] In a first aspect, an embodiment of the present application provides a connection detection circuit, which is applied to a first device, wherein the connection detection circuit includes a first detection module and a power supply control module, wherein the power supply control module is respectively used to electrically connect to a second device and a first control module in the first device, and the first detection module is respectively used to electrically connect to the second device and the first control module;
[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 based on the first signal and the second signal, and the third signal is used to indicate 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 based on the fourth signal, and the fifth signal is used to indicate whether the connection between the first device and the second device is normal.
[0008] In a possible implementation manner of the first aspect, the power supply control module includes a power supply control unit and a logic unit, the power supply control unit and the logic unit are both used to be 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 used to be 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 the 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 a possible implementation of the first aspect, the power supply control unit includes a first switch tube, a first photoelectric coupler, a second switch tube and a first resistor, the control end of the first switch tube is electrically connected to the first control module and the logic unit, respectively, the first conduction end of the first switch tube is electrically connected to the second input end of the first photoelectric coupler, the second conduction end of the first switch tube is grounded, the first input end of the first photoelectric coupler is electrically connected to the first power supply, the first output end of the first photoelectric coupler is electrically connected to the first end of the first resistor, the control end of the second switch tube and the second device, respectively, the first conduction end of the second switch tube is electrically connected to the logic unit, and the second conduction end of the second switch tube and the second end of the first resistor are both electrically connected to the first power supply.
[0011] In a possible implementation of the first aspect, the logic unit includes a second photocoupler and a third switch tube, the first input end of the second photocoupler is electrically connected to the second power supply, the second input end of the second photocoupler is electrically connected to the first control module and the power supply control unit respectively, the first output end of the second photocoupler is electrically connected to the control end of the third switch tube, the second output end of the second photocoupler is grounded, the first conduction end of the third switch tube is used to be electrically connected to the second device, and the second conduction end of the third switch tube is electrically connected to the power supply control unit.
[0012] In a possible implementation of the first aspect, the first detection module includes a third photoelectric coupler, a fourth switch tube and an eighth resistor, the control end of the fourth switch tube is used to be electrically connected to the second device, the second conduction end of the fourth switch tube is grounded, the first conduction end of the fourth switch tube is electrically connected to the second input end of the third photoelectric coupler, the first input end of the third photoelectric coupler is electrically connected to the first power supply, the first output end of the third photoelectric coupler is electrically connected to the first end of the eighth resistor and the first control module respectively, the second end of the eighth resistor is electrically connected to the second power supply, and the second output end of the third photoelectric coupler is grounded.
[0013] In a possible implementation manner of the first aspect, the connection detection circuit further includes a second detection module, and the second detection module 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, wherein the seventh signal is used to indicate whether the first device is connected to the second device.
[0015] In a possible implementation of the first aspect, the second detection module includes a ninth resistor and a fourth photoelectric coupler, the first input end of the fourth photoelectric coupler is electrically connected to the power supply control module, the second input end of the fourth photoelectric coupler is grounded, the first output end of the fourth photoelectric coupler is electrically connected to the first end of the ninth resistor and the first control module respectively, the second end of the ninth resistor is electrically connected to the second power supply, and the second output end of the fourth photoelectric coupler is grounded.
[0016] In a second aspect, an embodiment of the present application provides a mobile power supply system, including a first device and a second device, the first device including a first control module and a connection detection circuit as described in any one of the first aspects, the second device including a third detection module and a second control module, the first control module being used to be electrically connected to the second control module, the power supply control module and the first detection module in the connection detection circuit being electrically connected to the first control module respectively, the third detection module being electrically connected to the second control module, the power supply control module being used to be electrically connected to the second control module and the third detection module, and the first detection module being used to be 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 a possible implementation of the second aspect, the third detection module includes a fifth photocoupler and a thirteenth resistor, the first input end of the fifth photocoupler is used to be electrically connected to the power supply control module, the second input end of the fifth photocoupler is grounded, the first output end of the fifth photocoupler is electrically connected to the first end of the thirteenth resistor and the second control module, respectively, the second end of the thirteenth resistor is electrically connected to the second power supply, and the second output end of the fifth photocoupler is grounded. In a possible implementation of the second aspect, the first device also includes a first DC interface, the second device also includes a second DC interface, the first control module, the first detection module and the power supply control module are electrically connected to the first DC interface, respectively, the second control module and the third detection module are electrically connected to the second DC interface, and the first DC interface is used to be electrically connected to the second DC interface.
[0019] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0020] An embodiment of the present application provides a connection detection circuit, which is 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 respectively used to electrically connect to a second device and a first control module in the first device, and the first detection module is respectively used to electrically connect to the second device and the first control module.
[0021] Before the first device is connected to the second device, the power supply control module 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 module is also used to receive the 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 second device can determine whether the connection between the first device and the second device is normal according to 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 that the connection cable between the first device and the second device is abnormal, or the DC interface on the first device or the second device is abnormal. At this time, the second device will cut off its internal power supply to stop working and ensure the safety of the second device.
[0022] When the first device and the second device are connected, 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 first control module can determine whether the connection between the first device and the second device is normal according to 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 an abnormality in the connection cable between the first device and the second device, or an abnormality in the DC interface on the first device or the second device. In this case, the first device will cut off its internal power supply to stop working, thereby ensuring the safety of the first device.
[0023] Therefore, the connection detection circuit provided in the embodiment of the present application 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 supplies to ensure their respective safety.
[0024] It can be understood that the beneficial effects of the second aspect mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0026] Figure 1 is a principle block diagram of a connection detection circuit provided in an embodiment of the present application;
[0027] Figure 2 is a principle block diagram of a connection detection circuit provided in another embodiment of the present application;
[0028] Figure 3 is a circuit connection diagram of a connection detection circuit provided in an embodiment of the present application;
[0029] Figure 4 is a circuit connection diagram of a connection detection circuit provided in another embodiment of the present application;
[0030] Figure 5 is a principle block diagram of a connection detection circuit provided in another embodiment of the present application;
[0031] Figure 6 is a circuit connection diagram of a connection detection circuit provided in another embodiment of the present application;
[0032] Figure 7 is a circuit connection diagram of a connection detection circuit provided in another embodiment of the present application;
[0033] Figure 8 is a principle block diagram of a mobile power supply system provided by an embodiment of the present application;
[0034] Fig. 9 This is the circuit connection diagram of the third detection module in this application Figure 1 ;
[0035] Fig.10 This is the circuit connection diagram of the third detection module in this application Figure 2 ;
[0036] Fig.11 is a principle block diagram of a mobile power supply system provided by another embodiment of the present application;
[0037] Fig.12 is a principle block diagram of the first DC interface in this application;
[0038] Fig.13 It is a principle block diagram of the second DC interface in this application.
[0039] In the figure: 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 DESCRIPTION
[0040] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0041] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0042] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0043] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0044] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0045] In the field of mobile energy storage, the host usually expands its own power through the slave. In the actual working process, the host usually needs to exchange information with the slave. Therefore, it is essential to have a high-power DC interface on the host and the slave. In practical applications, the DC interface or connecting cable between the host and the slave may accidentally fall off, and the accidental falling off of the DC interface or connecting cable may cause electrical ablation and other situations. The current solution is to set a detection circuit on the host or set a detection circuit on the slave. This solution can only enable the host or the slave to detect whether the connection between the host and the slave is normal. If the connection between the host and the slave is abnormal, only one end of the host or the slave can obtain the abnormal connection information. The end that obtains the abnormal connection information can make corresponding judgments and protection in time, while the other end cannot obtain the abnormal connection information and will still be in a working state, so the entire system still has safety hazards.
[0046] In view of the above problems, the embodiment of the present application proposes a connection detection circuit, which 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 supplies to ensure their respective safety. Among them, the first device is a slave and the second device is a host.
[0047] Figure 1 FIG. 4 shows a functional block diagram of a connection detection circuit provided in an embodiment of the present application, such as Figure 1 As shown, the connection detection circuit 11 is applied to the first device 1, and the first device 1 is used to be electrically connected to 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 respectively used to be electrically connected to the second device 2 and the first control module 12 in the first device 1, and the first detection module 111 is respectively used to be electrically connected to the second device 2 and the first control module 12.
[0048] Specifically, the first device 1 is used to expand power for 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 a first signal output by the first control module 12, wherein the first signal is a low-level signal.
[0049] When the second device 2 needs the first device 1 to expand the power, the first device 1 is connected to the second device 2. When the first device 1 is connected to the second device 2, the power supply control module 112 is also used to receive the second signal output by the second device 2, and output the third signal to the second device 2 according to the first signal and the second signal. 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 that the connection cable between the first device 1 and the second device 2 is abnormal, or 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 working and ensure the safety of the second device 2.
[0050] If the second signal received by the power supply control module 112 is not a low level signal, 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.
[0051] 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, and when the CAN communication circuit starts working, the first device 1 and the second device 2 can communicate with each other. The second device 2 uses the third signal as a connection detection signal between the first device 1 and the second device 2 and a power supply signal for the CAN communication circuit, thereby realizing signal multiplexing and reducing the wiring between the first device 1 and the second device 2.
[0052] When the first device 1 is connected to the second device 2, the first detection module 111 is used to receive the fourth signal output by the second device 2, and output the fifth signal to the first control module 12 according to 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 in 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, and the cause of the abnormality may be that the connection cable between the first device 1 and the second device 2 is abnormal, or the DC interface on the first device 1 or the second device 2 is abnormal, then the first device 1 will cut off its internal power supply to stop working, so as to ensure the safety of the first device 1.
[0053] Therefore, the connection detection circuit 11 provided in the embodiment of the present application 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 supplies to ensure their respective safety.
[0054] Figure 2 The principle 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 of which 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, and the power supply control unit 1121 and the logic unit 1122 are respectively used to be electrically connected to the second device 2.
[0055] 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.
[0056] 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 the sixth signal to the logic unit 1122 according to the first signal and the second signal. The logic unit 1122 is used to output the third signal to the second device 2 according to the first signal and the sixth signal. If the second signal received by the power supply control unit 1121 is a low-level signal, 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 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 working and ensure the safety of the second device 2.
[0057] If the second signal received by the power supply control unit 1121 is not a low level signal, 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.
[0058] Figure 3 1 shows a circuit connection diagram of the power supply control unit 1121 in the present application, such as Figure 3 As shown, the power supply control unit 1121 includes a first switch tube Q1, a first photoelectric coupler U1, a second switch tube Q2 and a first resistor R1. The control end of the first switch tube Q1 is electrically connected to the first control module 12 and the logic unit 1122 respectively. The first conduction end of the first switch tube Q1 is electrically connected to the second input end of the first photoelectric coupler U1. The second conduction end of the first switch tube Q1 is grounded. The first input end of the first photoelectric coupler U1 is electrically connected to the first power supply. The first output end of the first photoelectric coupler U1 is electrically connected to the first end of the first resistor R1, the control end of the second switch tube Q2 and the second device 2 respectively. The first conduction end of the second switch tube Q2 is electrically connected to the logic unit 1122. The second conduction end of the second switch tube Q2 and the second end of the first resistor R1 are both electrically connected to the first power supply. Among them, the first switch tube Q1 is an NMOS (N-type Metal-Oxide-Semiconductor) tube, the control end of the first switch tube Q1 is the gate of the NMOS tube, the first conduction end of the first switch tube Q1 is the drain of the NMOS tube, and the second conduction end of the first switch tube Q1 is the source of the NMOS tube; the second switch tube Q2 is a PMOS (P-type Metal-Oxide-Semiconductor) tube, the control end of the second switch tube Q2 is the gate of the PMOS tube, the first conduction end of the second switch tube Q2 is the drain of the PMOS tube, and the second conduction end of the second switch tube Q2 is the source of the PMOS tube.
[0059] 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 end of the first switch tube Q1 and the logic unit 1122, wherein the first signal is a low-level signal, then the first switch tube Q1 is turned off, the first photocoupler U1 is also turned off, and the signal on the first output end of the first photocoupler U1 is a high-level signal, so the second switch tube Q2 is also turned off.
[0060] When the first device 1 is connected to the second device 2, the first output end of the first photocoupler U1 is used to receive the second signal output by the second device 2. If the second signal received by the first output end of the first photocoupler U1 is a low-level signal, the second switch tube Q2 is turned on, and the sixth signal output to the logic unit 1122 is a high-level signal (that is, the first power supply voltage VCC1), and 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 that the connection cable between the first device 1 and the second device 2 is abnormal, or 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 working and ensure the safety of the second device 2.
[0061] If the second signal received by the first output terminal of the first photocoupler U1 is not a low-level signal, the second switch tube Q2 is turned off, and 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.
[0062] It should be noted that the first device 1 can also perform connection detection with another first device 1, and another first device 1 can also perform connection detection with other first devices 1, so two connection detection circuits 11 will be set in the first device 1. Before the first device 1 is connected to the second device 2, the first control module 12 outputs a first signal to the two connection detection circuits 11 respectively, so that the signal on the first output end of the first photocoupler U1 is a high-level signal. After the first device 1 is connected to the second device 2, the first device 1 will be connected 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, that is, the signal on the first output end of the first photocoupler U1 is a low-level signal. When the first device 1 is connected to another first device 1, connection detection can be performed in the above manner until all first devices 1 are connected. During the connection of the first device 1, the second device 2 addresses all first devices 1 in sequence through CAN communication.
[0063] Figure 4 Another circuit connection diagram of the power supply control unit 1121 in the present application is shown. Figure 4As shown, the power supply control unit 1121 further includes a third resistor R3, a first end of the third resistor R3 is electrically connected to the control end of the first switch tube Q1, and a second end of the third resistor R3 is grounded. The third resistor R3 is a pull-down resistor for anti-interference.
[0064] The power supply control unit 1121 further includes a fourth resistor R4, a first end of which is electrically connected to the first power supply, and a second end of which is electrically connected to the first input end of the first photocoupler U1. The fourth resistor R4 is a current limiting resistor and plays a current limiting role.
[0065] The power supply control unit 1121 further includes a sixth resistor R6, a first end of which is electrically connected to the control end of the second switch tube Q2, and a second end of which is electrically connected to the first output end of the first photocoupler U1. The sixth resistor R6 is used for current limiting.
[0066] Figure 3 Schematic diagram of the circuit connection of the logic unit 1122 in the present application is shown. Figure 3 As shown, the logic unit 1122 includes a second photocoupler U2 and a third switch tube Q3, the first input end of the second photocoupler U2 is electrically connected to the second power supply, the second input end of the second photocoupler U2 is electrically connected to the first control module 12 and the power supply control unit 1121 respectively, the first output end of the second photocoupler U2 is electrically connected to the control end of the third switch tube Q3, the second output end of the second photocoupler U2 is grounded, the first conduction end of the third switch tube Q3 is used to be electrically connected to the second device 2, and the second conduction end of the third switch tube Q3 is electrically connected to the power supply control unit 1121. Among them, the third switch tube Q3 is a PMOS tube, the control end of the third switch tube Q3 is the gate of the PMOS tube, the first conduction end of the third switch tube Q3 is the drain of the PMOS tube, and the second conduction end of the third switch tube Q3 is the source of the PMOS tube. According to Figure 3 It can be seen that the second input end of the second photocoupler U2 is electrically connected to the first control module 12 and the control end of the first switch tube Q1 respectively, and the second conduction end of the third switch tube Q3 is electrically connected to the first conduction end of the second switch tube Q2.
[0067] 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 end of the second photocoupler U2 and the control end of the first switch tube Q1, respectively, wherein the first signal is a low-level signal, then the first switch tube Q1 is turned off, the first photocoupler U1 is turned off, and the second photocoupler U2 is turned on. Since the first photocoupler U1 is turned off, the signal on the first output end of the first photocoupler U1 is a high-level signal, then the second switch tube Q2 is turned off, and the third switch tube Q3 is also turned off.
[0068] When the first device 1 is connected to the second device 2, the first output end of the first photocoupler U1 is used to receive the second signal output by the second device 2. If the second signal received by the first output end of the first photocoupler U1 is a low-level signal, the second switch tube Q2 is turned on, and the sixth signal output to the second conduction end of the third switch tube Q3 is a high-level signal. Since the first signal on the control end of the third switch tube Q3 is a low-level signal, the third switch tube 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, 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 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 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 working and ensure the safety of the second device 2.
[0069] If the second signal received by the first output terminal of the first photocoupler U1 is not a low-level signal, the second switch tube Q2 is turned off, and the sixth signal output to the second conduction terminal of the third switch tube Q3 is in a high-impedance state, and the third switch tube Q3 is also turned off, and 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.
[0070] Figure 4 Another circuit connection diagram of the logic unit 1122 in the present application is shown. Figure 4 As shown, the logic unit 1122 further includes a second resistor R2 and a seventh resistor R7, wherein the first end of the second resistor R2 is electrically connected to the second conduction end of the third switch tube Q3, the first end of the seventh resistor R7 is electrically connected to the control end of the third switch tube Q3, and the second end of the second resistor R2 is electrically connected to the second end of the seventh resistor R7 and the first output end of the second photocoupler U2, respectively. The second resistor R2 is used to protect the third switch tube Q3, and the seventh resistor R7 is used to limit current.
[0071] The logic unit 1122 further includes a fifth resistor R5, a first end of which is electrically connected to the second power supply, and a second end of which is electrically connected to the first input end of the second photocoupler U2. The fifth resistor R5 is used for current limiting.
[0072] The logic unit 1122 further includes a first diode D1, an anode of the first diode D1 is electrically connected to the first conduction end of the third switch tube Q3, and a cathode of the first diode D1 is electrically connected to the second device 2. The first diode D1 is used to protect the circuit.
[0073] Figure 3 Schematic diagram of the circuit connection of the first detection module 111 in the present application is shown. Figure 3 As shown, the first detection module 111 includes a third photocoupler U3, a fourth switch tube Q4 and an eighth resistor R8, the control end of the fourth switch tube Q4 is used to be electrically connected to the second device 2, the second conduction end of the fourth switch tube Q4 is grounded, the first conduction end of the fourth switch tube Q4 is electrically connected to the second input end of the third photocoupler U3, the first input end of the third photocoupler U3 is electrically connected to the first power supply, the first output end of the third photocoupler U3 is electrically connected to the first end of the eighth resistor R8 and the first control module 12 respectively, the second end of the eighth resistor R8 is electrically connected to the second power supply, and the second output end of the third photocoupler U3 is grounded. Among them, the fourth switch tube Q4 is an NMOS tube, the control end of the fourth switch tube Q4 is the gate of the NMOS tube, the first conduction end of the fourth switch tube Q4 is the drain of the NMOS tube, and the second conduction end of the fourth switch tube Q4 is the source of the NMOS tube.
[0074] Specifically, when the first device 1 is connected to the second device 2, the control end of the fourth switch tube Q4 is used to receive the fourth signal output by the second device 2. When the fourth signal received by the control end of the fourth switch tube Q4 is a high-level signal, the fourth switch tube Q4 is turned on, and the third photocoupler 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.
[0075] When the fourth signal received by the control end of the fourth switch tube Q4 is in a high-impedance state, the fourth switch tube Q4 and the third photocoupler U3 are both 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.
[0076] Figure 4 Another circuit connection diagram of the first detection module 111 in the present application is shown. Figure 4 As shown, the first detection module 111 further includes a tenth resistor R10, a first end of the tenth resistor R10 is electrically connected to the control end of the fourth switch tube Q4, and a second end of the tenth resistor R10 is grounded. The tenth resistor R10 is used to protect the fourth switch tube Q4.
[0077] The first detection module 111 further includes an eleventh resistor R11, a first end of the eleventh resistor R11 is electrically connected to the first power supply, and a second end of the eleventh resistor R11 is electrically connected to the first input end of the third photoelectric coupler U3. The eleventh resistor R11 is used for current limiting.
[0078] Figure 5 Another principle block diagram of the connection detection circuit 11 of the present application is shown, as Figure 5 As shown, the connection detection circuit 11 further includes a second detection module 113 , and the second detection module 113 is electrically connected to the power supply control module 112 and the first control module 12 respectively.
[0079] Specifically, when the second detection module 113 is used to receive the third signal, and output the seventh signal to the first control module 12 according to the third signal. The first control module 12 is used to determine whether the first device 1 is connected to the second device 2 according to 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.
[0080] When the third signal received by the second detection module 113 is in high impedance state, the seventh signal outputted as a high level signal is sent 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.
[0081] Figure 6 FIG. 1 shows a circuit connection diagram of the second detection module 113 in the present application. Figure 6 As shown, the second detection module 113 includes a ninth resistor R9 and a fourth photocoupler U4, the first input end of the fourth photocoupler U4 is electrically connected to the power supply control module 112, the second input end of the fourth photocoupler U4 is grounded, the first output end of the fourth photocoupler U4 is electrically connected to the first end of the ninth resistor R9 and the first control module 12, respectively, the second end of the ninth resistor R9 is electrically connected to the second power supply, and the second output end of the fourth photocoupler U4 is grounded. Figure 6 It can be known that the first input terminal of the fourth photocoupler U4 is electrically connected to the first conduction terminal of the third switch tube Q3.
[0082] Specifically, when the third signal received by the first input terminal of the fourth photocoupler U4 is a high level signal, the fourth photocoupler 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.
[0083] When the third signal received by the first input terminal of the fourth photocoupler U4 is in a high impedance state, the fourth photocoupler 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.
[0084] Figure 7 Another circuit connection diagram of the second detection module 113 in the present application is shown. Figure 7 As shown, the second detection module 113 also includes a twelfth resistor R12, a first end of the twelfth resistor R12 is electrically connected to the first input end of the fourth photocoupler U4, and a second end of the twelfth resistor R12 is electrically connected to the first conduction end of the third switch tube Q3. The twelfth resistor R12 is used for current limiting.
[0085] In summary, the connection detection circuit 11 provided in the embodiment of the present application 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 supplies to ensure their respective safety. At the same time, when performing connection detection, signal multiplexing is also achieved, so that the connection between the first device 1 and the second device 2 can be reduced. In addition, the connection detection circuit 11 in the present application uses a photoelectric coupler in circuit design to achieve isolation between the first device 1 and the second device 2.
[0086] Figure 8 The schematic diagram of the mobile power supply system 8 provided in the embodiment of the present 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 used to be 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 respectively electrically connected to the first control module 12, the third detection module 21 is electrically connected to the second control module 22, the power supply control module 112 is used to be electrically connected to the second control module 22 and the third detection module 21, and the first detection module 111 is used to be electrically connected to the second control module 22.
[0087] Specifically, the first device 1 is used to expand power for 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 a first signal output by the first control module 12, wherein the first signal is a low-level signal.
[0088] When the second device 2 needs the first device 1 to expand the 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 the 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 the 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 the 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.
[0089] If the second signal received by the power supply control module 112 is a low-level signal, the third signal output to the third detection module 21 is a high-level signal. When the third signal received by the third detection module 21 is a high-level signal, 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. When the third signal received by the third detection module 21 becomes 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.
[0090] 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 in a high-impedance state. When the third signal received by the third detection module 21 is in 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.
[0091] 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, and 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 in 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 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.
[0092] It should be noted that the first control module 12 and the second control module 22 are integrated with various circuit modules. Among them, the second control module 22 includes a CAN communication circuit. When the second control module 22 detects that the connection between the first device 1 and the second device 2 is normal, the CAN communication circuit is powered by the third signal. When the CAN communication circuit starts working, the first device 1 and the second device 2 can communicate with each other. The second control module 22 uses the third signal as the connection detection signal between the first device 1 and the second device 2 and the power supply signal of the CAN communication circuit, realizing signal multiplexing and reducing the connection between the first device 1 and the second device 2.
[0093] Fig. 9 FIG. 2 shows a circuit connection diagram of the third detection module 21 in the present application. Fig. 9 As shown, the third detection module 21 includes a fifth photoelectric coupler U5 and a thirteenth resistor R13, the first input end of the fifth photoelectric coupler U5 is used to be electrically connected to the power supply control module 112, the second input end of the fifth photoelectric coupler U5 is grounded, the first output end of the fifth photoelectric coupler U5 is respectively electrically connected to the first end of the thirteenth resistor R13 and the second control module 22, the second end of the thirteenth resistor R13 is electrically connected to the second power supply, and the second output end of the fifth photoelectric coupler U5 is grounded.
[0094] 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 photoelectric coupler U5 is a high-level signal, the eighth signal output to the second control module 22 is a low-level signal, and 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 photoelectric coupler U5 is in a high-impedance state, the eighth signal output to the second control module 22 is a high-level signal, and 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.
[0095] Fig.10 Another circuit connection diagram of the third detection module 21 in the present application is shown. Fig.10 As shown, the third detection module 21 further includes a fourteenth resistor R14, a first end of the fourteenth resistor R14 is used to be electrically connected to the power supply control module 112, and a second end of the fourteenth resistor R14 is electrically connected to the first input end of the fifth photoelectric coupler U5. The fourteenth resistor R14 is used for current limiting.
[0096] Fig.11 Another principle block diagram of the mobile power supply system 8 provided in an embodiment of the present application is shown. Fig.11As shown, the first device 1 also includes a first DC interface 13, the second device 2 also includes a second DC interface 23, the first control module 12, the first detection module 111 and the power supply control module 112 are respectively electrically connected to the first DC interface 13, the second control module 22 and the third detection module 21 are respectively electrically connected to the second DC interface 23, and the first DC interface 13 is used for electrical connection to the second DC interface 23.
[0097] Specifically, in order to facilitate the connection between the first device 1 and the second device 2, a DC interface can be provided on the first device 1 and the second device 2 respectively, and the power supply signal of the CAN communication circuit in the second device 2 and the detection signal of the third detection module 21 share the same signal, so that the design of the DC interface can reduce the number of pins. Among them, the pin definition of the first DC interface 13 is as follows: Fig.12 As shown, the first DC interface 13 includes 4 high-power DC power supply pins (P1+, P2+, P1-, P2-), 6 signal detection pins (CAN_H, CAN_L, POW_REQ, RES1, RES2, LINK_CHK) and 2 power supply pins (VCC, GND). The POW_REQ pin and the VCC pin in the first DC interface 13 are respectively connected to the power supply control module 112, the LINK_CHK pin in the first DC interface 13 is correspondingly connected to the first detection module 111, and the other signal detection pins of the first DC interface 13 are correspondingly connected to the corresponding circuit modules in the first control module 12.
[0098] The pin definition of the second DC interface 23 is as follows: Fig.13 As shown, the second DC interface 23 includes 4 high-power DC power supply pins (P1+, P2+, P1-, P2-), 6 signal detection pins (CAN_H, CAN_L, POW_REQ, RES1, RES2, LINK_CHK) and 2 power supply pins (VCC, GND), the LINK_CHK pin in the second DC interface 23 is connected to the VCC pin, the POW_REQ pin in the second DC interface 23 is connected to the GND pin and grounded, and the VCC pin in the second DC interface 23 is respectively connected to the CAN communication circuit and the third detection module 21. Among them, the VCC pin in the second DC interface 23 serves as both the power supply pin of the CAN communication circuit and the detection pin of the third detection module 21, so that the pin design of the DC interface is reduced. The other signal detection pins of the second DC interface 23 are correspondingly 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.
[0099] When the first device 1 is connected to the second device 2, if the second signal received by the POW_REQ pin in the first DC interface 13 is a low-level signal, 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, 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, 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.
[0100] 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 the high-level signal is 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 is a low-level signal, so that the first control module 12 determines 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 in a high-impedance state, the fifth signal output to the first control module 12 is a high-level signal, so that the first control module 12 determines that the connection between the first device 1 and the second device 2 is abnormal.
[0101] If the second signal received by the POW_REQ pin in the first DC interface 13 is not a low level signal, the third signal sent to the VCC pin in the second DC interface 23 is in a high impedance state, then 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.
[0102] It should be noted that two first DC interfaces 13 may be provided on the first device 1, each first DC interface 13 corresponds to a connection detection circuit 11, and 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 (i.e., the POW_REQ pin of the first DC interface 13 is set to a high-level signal), and when 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 (i.e., the POW_REQ pin of the first DC interface 13 is set to a low-level signal), and can be connected to another first device 1, and the first device 1 can continue to be connected in this way until all the first devices 1 are connected, and during the connection process of the first device 1, the second device 2 can address multiple first devices 1 in sequence through CAN communication.
[0103] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present 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 respectively used to electrically connect to a second device and a first control module in the first device, and the first detection module is respectively used to electrically connect to the second device and the first 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 device, and output a third signal to the second device based on the first signal and the second signal, and the third signal is used to indicate 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 based on the fourth signal, and the fifth signal is used to indicate 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, the power supply control unit and the logic unit are both used to be 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 used to be 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 the 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 tube, a first photoelectric coupler, a second switch tube and a first resistor. The control end of the first switch tube is electrically connected to the first control module and the logic unit respectively. The first conduction end of the first switch tube is electrically connected to the second input end of the first photoelectric coupler. The second conduction end of the first switch tube is grounded. The first input end of the first photoelectric coupler is electrically connected to the first power supply. The first output end of the first photoelectric coupler is electrically connected to the first end of the first resistor, the control end of the second switch tube and the second device respectively. The first conduction end of the second switch tube is electrically connected to the logic unit. The second conduction end of the second switch tube and the second end 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 photocoupler and a third switch tube, the first input end of the second photocoupler is electrically connected to the second power supply, the second input end of the second photocoupler is electrically connected to the first control module and the power supply control unit respectively, the first output end of the second photocoupler is electrically connected to the control end of the third switch tube, the second output end of the second photocoupler is grounded, the first conduction end of the third switch tube is used to be electrically connected to the second device, and the second conduction end of the third switch tube 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 photoelectric coupler, a fourth switch tube and an eighth resistor, the control end of the fourth switch tube is used to be electrically connected to the second device, the second conduction end of the fourth switch tube is grounded, the first conduction end of the fourth switch tube is electrically connected to the second input end of the third photoelectric coupler, the first input end of the third photoelectric coupler is electrically connected to the first power supply, the first output end of the third photoelectric coupler is electrically connected to the first end of the eighth resistor and the first control module respectively, the second end of the eighth resistor is electrically connected to the second power supply, and the second output end of the third photoelectric coupler is grounded.
6. The connection detection circuit according to any one of claims 1 to 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, wherein the seventh signal is used to indicate whether the first device is connected to the second device.
7. The connection detection circuit according to claim 6, characterized in that: The second detection module includes a ninth resistor and a fourth photoelectric coupler, the first input end of the fourth photoelectric coupler is electrically connected to the power supply control module, the second input end of the fourth photoelectric coupler is grounded, the first output end of the fourth photoelectric coupler is electrically connected to the first end of the ninth resistor and the first control module respectively, the second end of the ninth resistor is electrically connected to the second power supply, and the second output end of the fourth photoelectric coupler is grounded.
8. A mobile power supply system, characterized in that: The method comprises a first device and a second device, wherein the first device comprises a first control module and the connection detection circuit according to any one of claims 1 to 7, and the second device comprises a third detection module and a second control module, wherein the first control module is used to be electrically connected to the second control module, a power supply control module and a first detection module in the connection detection circuit are electrically connected to the first control module respectively, the third detection module is electrically connected to the second control module, the power supply control module is used to be electrically connected to the second control module and the third detection module, and the first detection module is used to be 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 photoelectric coupler and a thirteenth resistor, the first input end of the fifth photoelectric coupler is used to be electrically connected to the power supply control module, the second input end of the fifth photoelectric coupler is grounded, the first output end of the fifth photoelectric coupler is respectively electrically connected to the first end of the thirteenth resistor and the second control module, the second end of the thirteenth resistor is electrically connected to the second power supply, and the second output end of the fifth photoelectric coupler is grounded.
10. The mobile power supply system according to claim 8, characterized in that: The first device also includes a first DC interface, the second device also includes a second DC interface, the first control module, the first detection module and the power supply control module are electrically connected to the first DC interface respectively, the second control module and the third detection module are electrically connected to the second DC interface respectively, and the first DC interface is used to be electrically connected to the second DC interface.