Grounding detection device of battery charging and replacing cabinet and battery charging and replacing cabinet

By setting up a first detection circuit, a second detection circuit, and a power indicator circuit in the charging and swapping cabinet, and combining the unidirectional conductivity characteristics of light-emitting diodes and diodes, rapid and accurate grounding status detection is achieved. This solves the problem of low efficiency caused by relying on manual detection in existing technologies, and improves detection efficiency and safety.

CN121978575APending Publication Date: 2026-05-05WUHAN XIAOAN INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
WUHAN XIAOAN INTELLIGENT TECH CO LTD
Filing Date
2025-12-31
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

The grounding detection of existing charging and swapping cabinets relies on on-site testing by professional technicians, which results in low detection efficiency.

Method used

By employing a first detection circuit and a second detection circuit, and combining the unidirectional conductivity characteristics of light-emitting diodes and diodes, a direct monitoring path is constructed between the live wire and neutral wire access terminals and the grounding terminal of the charging and swapping cabinet. A reference benchmark is provided through a power indicator circuit, and remote monitoring and signal transmission are achieved using a signal isolation module and a voltage comparison module.

Benefits of technology

It simplifies the on-site testing process, reduces the time and cost of manual troubleshooting, improves the efficiency of grounding fault detection, and ensures the accuracy and safety of the test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121978575A_ABST
    Figure CN121978575A_ABST
Patent Text Reader

Abstract

The invention provides a grounding detection device of a battery charging and swapping cabinet and the battery charging and swapping cabinet. The device comprises a first detection loop and a second detection loop, the first detection loop comprises a first diode, a first resistor unit and a first light emitting diode which are sequentially connected in series; the input end of the first detection loop is connected with the live wire access end of the commercial power, and the output end of the first detection loop is connected with the grounding end of the charging and swapping cabinet; the second detection loop comprises a second diode, a second resistor unit and a second light emitting diode which are sequentially connected in series; the input end of the second detection loop is connected with the zero line access end of the commercial power, and the output end of the second detection loop is connected with the grounding end of the charging and battery replacing cabinet; the first detection loop and the second detection loop are used for indicating the grounding state of the charging and swapping cabinet. According to the invention, on-site maintenance personnel can quickly judge whether grounding is good or not only by visually inspecting the on-off state of the light emitting diode, so that the on-site detection process is greatly simplified, and the detection efficiency of the grounding fault of the charging and swapping cabinet is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electrical measurement technology, and in particular to a grounding detection device for a charging and swapping cabinet and the charging and swapping cabinet itself. Background Technology

[0002] A charging / swapping cabinet is a device used to charge or swap vehicle batteries. The grounding system of the charging / swapping cabinet is crucial for equipment safety; its reliability directly affects the stable operation of the equipment and the safety of personnel. Reliable grounding safely conducts fault currents to the earth, preventing the equipment casing from becoming electrified, thereby avoiding electric shock to personnel and damage to the equipment.

[0003] In existing technologies, the grounding detection process for charging and swapping cabinets generally relies on on-site testing by technicians to determine if there is a grounding abnormality. This method, relying on technicians, requires specialized equipment for troubleshooting, resulting in low detection efficiency. Summary of the Invention

[0004] This invention provides a grounding detection device for a charging and swapping cabinet and a charging and swapping cabinet, so as to improve the grounding detection efficiency of the charging and swapping cabinet.

[0005] The present invention provides a grounding detection device for a charging and swapping cabinet, comprising: a first detection circuit and a second detection circuit; The first detection circuit includes a first diode, a first resistor unit, and a first light-emitting diode connected in series; the input terminal of the first detection circuit is connected to the live wire connection terminal of the mains power supply, and the output terminal of the first detection circuit is connected to the ground terminal of the charging and swapping cabinet; the first diode and the first light-emitting diode are connected with their anodes facing the live wire connection terminal and their cathodes facing the ground terminal of the charging and swapping cabinet. The second detection circuit includes a second diode, a second resistor unit, and a second light-emitting diode connected in series; the input terminal of the second detection circuit is connected to the neutral wire connection terminal of the mains power supply, and the output terminal of the second detection circuit is connected to the grounding terminal of the charging and swapping cabinet; the second diode and the second light-emitting diode are connected with their anodes facing the neutral wire connection terminal and their cathodes facing the grounding terminal of the charging and swapping cabinet. The first detection circuit and the second detection circuit are used to indicate the grounding status of the charging and swapping cabinet.

[0006] The grounding detection device for a charging / swapping cabinet provided by the present invention further includes: a power indicator circuit; The power indicator circuit includes a third light-emitting diode, a third resistor unit, and a third diode connected in series. The input terminal of the power indicator circuit is connected to the neutral wire terminal of the mains power supply, and the output terminal of the power indicator circuit is connected to the live wire terminal of the mains power supply. The third light-emitting diode and the third diode are connected with their anodes facing the live wire terminal and their cathodes facing the neutral wire terminal. The power indicator circuit is used to indicate the power supply status of the mains power and serves as a grounding status reference for the first detection circuit and the second detection circuit.

[0007] According to a grounding detection device for a charging / swapping cabinet provided by the present invention, the first detection circuit, the second detection circuit, and the power indication circuit are used to indicate the grounding status of the charging / swapping cabinet in the following manner: When the third LED in the power indicator circuit is lit and the first LED in the first detection circuit is lit, it indicates that the charging and swapping cabinet is grounded normally. When the third LED in the power indicator circuit is lit and the first LED in the first detection circuit is off, it indicates that the charging and swapping cabinet is grounded abnormally.

[0008] The grounding detection device for a charging / swapping cabinet provided by the present invention further includes: a signal isolation module; The input terminal of the signal isolation module is connected to the cathode of the first diode, and the output terminal of the signal isolation module is used to output the grounding level signal of the charging and swapping cabinet.

[0009] According to the present invention, a grounding detection device for a charging and swapping cabinet is provided, wherein the signal isolation module includes an optocoupler; The first input terminal of the optocoupler serves as the input terminal of the signal isolation module, the second input terminal of the optocoupler is connected to the ground terminal of the charging and swapping cabinet, the first output terminal of the optocoupler serves as the output terminal of the signal isolation module, and the second output terminal of the optocoupler is grounded.

[0010] According to the grounding detection device for a charging / swapping cabinet provided by the present invention, the optocoupler is specifically used for: When the charging and swapping cabinet is properly grounded, the first detection circuit forms a loop through the grounding terminal of the charging and swapping cabinet, and the optocoupler is turned on, so that the first output terminal of the optocoupler outputs a first voltage threshold. In the event of an abnormal grounding of the charging and swapping cabinet, the first detection circuit cannot form a loop, the optocoupler is cut off, and the first output terminal of the optocoupler outputs a second voltage threshold. Wherein, the first voltage threshold is less than the second voltage threshold.

[0011] The grounding detection device for a charging / swapping cabinet provided by the present invention further includes: a voltage comparison module; The input terminal of the voltage comparison module is connected to the output terminal of the signal isolation module, and is used to receive the level signal output by the output terminal of the signal isolation module, and output a low level or a high level based on the level signal.

[0012] According to the grounding detection device for a charging / swapping cabinet provided by the present invention, the voltage comparison module is specifically used for: Receive the level signal output from the output terminal of the signal isolation module; The voltage value of the level signal is compared with a reference voltage. If the voltage value of the level signal is less than the reference voltage, a first logic level is output. When the voltage value of the level signal is greater than or equal to the reference voltage, a second logic level is output.

[0013] The grounding detection device for a charging / swapping cabinet provided by the present invention further includes: a main control unit; The main control unit is connected to the output terminal of the voltage comparison module and is used for: If the output level of the voltage comparison module is the first logic level, it is determined that the charging and swapping cabinet is grounded normally. If the output level of the received voltage comparison module is the second logic level, it is determined that the charging and swapping cabinet is grounded abnormally.

[0014] The present invention also provides a charging and swapping cabinet, including a grounding detection device for the charging and swapping cabinet as described in any of the above claims.

[0015] The grounding detection device and charging / swapping cabinet provided by this invention, by setting up a first detection circuit and a second detection circuit, utilizes the unidirectional conductivity and light-emitting indication function of the first diode and the first light-emitting diode, and the second diode and the second light-emitting diode, to construct direct monitoring paths between the live wire connection terminal and the grounding terminal of the charging / swapping cabinet, and between the neutral wire connection terminal and the grounding terminal of the charging / swapping cabinet, respectively. When the grounding terminal of the charging / swapping cabinet is well connected to the earth to form an effective loop, current can flow through the detection circuit and drive the corresponding light-emitting diode to light up, thus intuitively and clearly indicating the current grounding status. Compared with the method of relying on professional technicians to carry grounding resistance testers to measure one by one, this invention eliminates the need for complex wiring and instrument operation procedures. On-site maintenance personnel only need to visually inspect the on / off state of the light-emitting diodes to quickly determine whether the grounding is good, greatly simplifying the on-site inspection process, significantly reducing the time cost of manual troubleshooting, and thus effectively improving the detection efficiency of grounding faults in charging / swapping cabinets. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0017] Figure 1 This is a schematic diagram of the grounding detection device for the charging and swapping cabinet provided by the present invention.

[0018] Figure 2 This is a schematic diagram of the power indicator circuit provided by the present invention.

[0019] Figure 3 This is a schematic diagram of the LED indicator process provided by the present invention.

[0020] Figure 4 This is a schematic diagram of the signal isolation module provided by the present invention.

[0021] Figure 5 This is a schematic diagram of the first-stage comparator circuit provided by the present invention.

[0022] Figure 6 This is a schematic diagram of the second-stage comparator circuit provided by the present invention.

[0023] Figure 7 This is a schematic diagram of the judgment process provided by the present invention. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0025] Figure 1 This is a schematic diagram of the grounding detection device for the charging and swapping cabinet provided by the present invention, as shown below. Figure 1 As shown, the device includes a first detection circuit and a second detection circuit.

[0026] Specifically, the first detection circuit is mainly used to detect the connection status of the live wire to the grounding terminal of the charging and swapping cabinet. This first detection circuit includes a first diode D16, a first resistor unit, and a first light-emitting diode LED6 connected in series. The first resistor unit can be constructed by connecting two 33KΩ resistors in series.

[0027] Earth_Test in the first detection loop can be used as a detection point for subsequent connection to an optocoupler to further perform level signal judgment and processing.

[0028] In terms of circuit connection, the input terminal of the first detection circuit is connected to the live wire access terminal POWER_L of the mains power, and the output terminal of the first detection circuit is connected to the ground terminal P_GND of the charging and swapping cabinet.

[0029] To ensure unidirectional current conduction and to provide rectification or protection, both the first diode and the first light-emitting diode are connected in the first detection circuit with their anodes facing the live wire connection terminal and their cathodes facing the grounding terminal of the charging and swapping cabinet.

[0030] It should be noted that the first resistor unit can act as a voltage divider and current limiter to protect the LED and ensure its normal operation. When the charging and swapping cabinet is properly grounded, there is a voltage difference between the connected live wire and the grounding terminal of the charging and swapping cabinet. Current flows through the first detection circuit, driving the first LED to light up, thus visually indicating that the grounding path is unobstructed.

[0031] The second detection circuit includes a second diode D17, a second resistor unit, and a second light-emitting diode LED7 connected in series. In terms of circuit connections, the input terminal of the second detection circuit is connected to the neutral wire connection terminal POWER_N of the mains power supply, and the output terminal of the second detection circuit is connected to the grounding terminal P_GND of the charging / swapping cabinet. The second resistor unit can be constructed by connecting two 33KΩ resistors in series.

[0032] Both the second diode and the second light-emitting diode are connected with their anodes facing the neutral wire connection terminal and their cathodes facing the grounding terminal of the charging / swapping cabinet. Under normal wiring conditions, the ground wire and the neutral wire are usually at the same zero potential, and LED7 in the second detection circuit is off. However, under specific wiring faults (such as reverse connection of neutral and ground or live neutral wire), the state of this circuit will change, and LED7 will be lit to indicate certain fault types.

[0033] It should be noted that the first and second detection circuits work together to perform the grounding detection process of the charging and swapping cabinet. When the charging and swapping cabinet is properly grounded, the mains power is applied to form a circuit through D16-first resistor unit-LED6, causing LED6 to light up. Meanwhile, the grounding terminal of the second detection circuit is at the same zero potential as the neutral wire, and LED7 in the second detection circuit is off.

[0034] In the event of an abnormal grounding of the charging and swapping cabinet, the first and second detection circuits will fail to conduct, and both LED6 and LED7 will be off.

[0035] Therefore, based on the status display of LED6 and LED7, an intuitive judgment process can be achieved as to whether the grounding of the charging and swapping cabinet is abnormal.

[0036] The grounding detection device for charging and swapping cabinets provided by this invention establishes a first detection circuit and a second detection circuit. Utilizing the unidirectional conductivity and light-emitting indication functions of the first diode and the first light-emitting diode, and the second diode and the second light-emitting diode, direct monitoring paths are constructed between the live wire connection terminal and the charging / swapping cabinet grounding terminal, and between the neutral wire connection terminal and the charging / swapping cabinet grounding terminal, respectively. When the charging / swapping cabinet grounding terminal is well connected to the earth, forming an effective loop, current flows through the detection circuit and drives the corresponding light-emitting diode to light up, thus intuitively and clearly indicating the current grounding status. Compared to relying on professional technicians to measure grounding resistance one by one with a grounding resistance tester, this method eliminates the need for complex wiring and instrument operation procedures. On-site maintenance personnel can quickly determine whether the grounding is good simply by visually inspecting the on / off state of the light-emitting diodes, greatly simplifying the on-site testing process, significantly reducing the time cost of manual troubleshooting, and effectively improving the detection efficiency of grounding faults in charging / swapping cabinets.

[0037] In one embodiment, it further includes: a power indicator circuit; The power indicator circuit includes a third light-emitting diode, a third resistor unit, and a third diode connected in series. The input terminal of the power indicator circuit is connected to the neutral wire terminal of the mains power supply, and the output terminal of the power indicator circuit is connected to the live wire terminal of the mains power supply. The third light-emitting diode and the third diode are connected with their anodes facing the live wire terminal and their cathodes facing the neutral wire terminal. The power indicator circuit is used to indicate the power supply status of the mains power and serves as a grounding status reference for the first detection circuit and the second detection circuit.

[0038] Furthermore, in order to more accurately determine whether it is a grounding fault or a mains power supply fault, a power indication circuit can be added to the first and second detection circuits.

[0039] like Figure 2 The schematic diagram of the power indicator circuit provided by this invention shows that the power indicator circuit includes a third light-emitting diode LED5, a third resistor unit, and a third diode D15 connected in series. The third resistor unit can be constructed by connecting two 33KΩ resistors in series.

[0040] The input terminal of the power indicator circuit is connected to the neutral wire connection terminal POWER_N of the mains power, and the output terminal of the power indicator circuit is connected to the live wire connection terminal POWER_L of the mains power. The third light-emitting diode and the third diode are both connected with their anodes facing the live wire connection terminal and their cathodes facing the neutral wire connection terminal.

[0041] The power indicator circuit is used to indicate the power supply status of the mains power and serves as a grounding status reference for the first detection circuit and the second detection circuit.

[0042] In one embodiment, the first detection circuit, the second detection circuit, and the power indication circuit are used to indicate the grounding status of the charging / swapping cabinet in the following manner: When the third LED in the power indicator circuit is lit and the first LED in the first detection circuit is lit, it indicates that the charging and swapping cabinet is grounded normally. When the third LED in the power indicator circuit is lit and the first LED in the first detection circuit is off, it indicates that the charging and swapping cabinet is grounded abnormally.

[0043] Based on the above hardware structure, the specific process can be as follows: Figure 3 The schematic diagram of the LED indicator provided by this invention shows that the grounding status of the charging and swapping cabinet can be indicated by the following logic: Confirm that the mains power supply is normal. If the third LED5 in the power indicator circuit is lit, it indicates that the mains input is normal (i.e., there is voltage between the live wire and the neutral wire). Under this premise: Normal grounding indication: When the third LED5 in the power indicator circuit is lit and the first LED6 in the first detection circuit is also lit, LED7 is off, indicating that the path from the live wire to the ground is closed, indicating that the charging and swapping cabinet is properly grounded.

[0044] Grounding Abnormality Indication: When the third LED5 in the power indicator circuit is lit, but the first LED6 in the first detection circuit is off, LED7 is also off, indicating that although there is mains power input, the path from the live wire to the ground is broken, indicating that the charging and swapping cabinet is grounding abnormal.

[0045] Furthermore, the power indicator circuit can also determine whether the ground wire and the live wire are reversed. If the ground wire and the live wire are reversed, LED5 will also be in an off state.

[0046] This method of judging based on state combinations effectively avoids misjudging grounding faults due to mains power outages, thus improving the reliability of the detection results.

[0047] In one embodiment, it further includes: a signal isolation module; The input terminal of the signal isolation module is connected to the cathode of the first diode, and the output terminal of the signal isolation module is used to output the grounding level signal of the charging and swapping cabinet.

[0048] To enable remote monitoring and to safely transmit the detection signals from the high-voltage side to the low-voltage control system, a signal isolation module was further installed.

[0049] The input terminal of the signal isolation module is connected to the cathode of the first diode, and the output terminal of the signal isolation module is used to output the grounding level signal of the charging and swapping cabinet. Through signal isolation, interference and damage from the mains high voltage to the downstream low voltage control circuit can be blocked.

[0050] In one embodiment, the signal isolation module includes an optocoupler; The first input terminal of the optocoupler serves as the input terminal of the signal isolation module, the second input terminal of the optocoupler is connected to the ground terminal of the charging and swapping cabinet, the first output terminal of the optocoupler serves as the output terminal of the signal isolation module, and the second output terminal of the optocoupler is grounded.

[0051] like Figure 4The schematic diagram of the signal isolation module provided by this invention shows that the signal isolation module includes an optocoupler. The first input terminal (pin 1) of the optocoupler serves as the input terminal Earth_Test of the signal isolation module and is connected to the first detection circuit; the second input terminal (pin 2) of the optocoupler is connected to the ground terminal of the charging / swapping cabinet through a resistor. The first output terminal (pin 4) of the optocoupler serves as the output terminal Earth_Test_Out of the signal isolation module and can be connected to a pull-up resistor to a low-voltage power supply (such as a 12V power supply); the second output terminal (pin 3) of the optocoupler is grounded.

[0052] In one embodiment, the optocoupler is specifically used for: When the charging and swapping cabinet is properly grounded, the first detection circuit forms a loop through the grounding terminal of the charging and swapping cabinet, and the optocoupler is turned on, so that the first output terminal of the optocoupler outputs a first voltage threshold. In the event of an abnormal grounding of the charging and swapping cabinet, the first detection circuit cannot form a loop, the optocoupler is cut off, and the first output terminal of the optocoupler outputs a second voltage threshold. Wherein, the first voltage threshold is less than the second voltage threshold.

[0053] Specifically, the working principle of an optocoupler is as follows: When the charging and swapping cabinet is properly grounded, the first detection circuit forms an effective loop through the grounding terminal of the charging and swapping cabinet. Current flows through the loop, which drives the light-emitting device inside the optocoupler to emit light, thus turning on the optocoupler. At this time, the first output terminal of the optocoupler is pulled low, outputting a first voltage threshold (e.g., a low-level signal close to 0V or less than 2V, specifically, the Earth_Test_Out output is less than 2V).

[0054] In the event of an abnormal grounding of the charging and swapping cabinet, the first detection circuit cannot form a loop, and no current flows through the input terminal of the optocoupler, causing the optocoupler to be cut off. At this time, the first output terminal of the optocoupler outputs a second voltage threshold (e.g., a high-level signal close to the power supply voltage, such as 2.8V or higher) under the action of an external pull-up resistor.

[0055] The first voltage threshold is significantly lower than the second voltage threshold, and the grounding state can be distinguished by the difference in voltage values. Utilizing opto-isolation technology achieves both signal extraction and ensures the electrical safety of the downstream circuitry.

[0056] In one embodiment, it further includes: a voltage comparison module; The input terminal of the voltage comparison module is connected to the output terminal of the signal isolation module, and is used to receive the level signal output by the output terminal of the signal isolation module, and output a low level or a high level based on the level signal.

[0057] To convert the analog voltage signal output by the signal isolation module into a more stable digital logic level for processing by the main control chip, a voltage comparison module is further included.

[0058] The input terminal of the voltage comparison module (specifically, an LM2903 chip) is connected to the output terminal of the signal isolation module, and is used to receive the level signal output by the output terminal of the signal isolation module, and output a low level or a high level based on the level signal.

[0059] In one embodiment, the voltage comparison module is specifically used for: Receive the level signal output from the output terminal of the signal isolation module; The voltage value of the level signal is compared with a reference voltage. If the voltage value of the level signal is less than the reference voltage, a first logic level is output. When the voltage value of the level signal is greater than or equal to the reference voltage, a second logic level is output.

[0060] Specifically, the voltage comparison module operates as follows: it receives the level signal (i.e., the aforementioned first voltage threshold or second voltage threshold) output from the output terminal of the signal isolation module. It then compares the voltage value of the level signal with a preset reference voltage.

[0061] When the voltage value of the level signal is less than the reference voltage (corresponding to normal grounding, optocoupler conduction, and low input voltage), the voltage comparison module outputs the first logic level (e.g., low level 0V).

[0062] When the voltage value of the level signal is greater than or equal to the reference voltage (corresponding to grounding abnormality, optocoupler cutoff, and high input voltage), the voltage comparison module outputs a second logic level (e.g., a high level, such as 3.3V or 12V).

[0063] By shaping the signal through the voltage comparison module, fluctuation interference during signal transmission is eliminated, and a standard logic level is output, thereby improving the system's anti-interference capability.

[0064] Optionally, the voltage comparison module may include a first-stage comparison circuit and a second-stage comparison circuit. The two-stage comparison circuit is used to shape and convert the analog voltage signal (0V or 2.8V) output by the optocoupler into a digital logic level (0V or 3.3V) that the MCU can directly recognize, while filtering out interference.

[0065] The structural diagram of the first-stage comparator circuit can be seen as follows: Figure 5 The schematic diagram of the first-stage comparator circuit provided by this invention is shown. The main function of this circuit is threshold judgment, converting the weak or analog voltage signal output by the optocoupler into a higher-amplitude digital switching signal. Specifically, it includes a general-purpose dual-channel differential voltage comparator U10; pin 2 of the inverting input U10 is connected to the optocoupler's output signal Earth_Test_Out; pin 1 of the output U10 is connected to the signal Earth_Test_OutPut; and a pull-up resistor connected to 12V_POWER. Since U10 has an open-collector output, a pull-up resistor is necessary to output a high level. In the first-stage comparator circuit, when the voltage at the non-inverting input is greater than the voltage at the inverting input, the output is in a high-impedance state (pulled high by the pull-up resistor); otherwise, the output is low (grounded).

[0066] The structural diagram of the second-stage comparator circuit can be seen as follows: Figure 6 The schematic diagram of the second-stage comparator circuit provided by this invention is shown. The main function of this circuit is level matching, converting the 12V high-voltage signal output from the first stage into a 3.3V standard logic level acceptable to the MCU, and further enhancing the signal's anti-interference capability.

[0067] The second-stage comparator circuit specifically includes a general-purpose dual-channel differential voltage comparator U11; pin 2 of the inverting input U11 is connected to VCC_8V5, i.e., the reference voltage of 8.5V; pin 3 of the non-inverting output U11 is connected to the output of the first-stage comparator circuit, Earth_Test_Output; a filter capacitor is used to filter out input signal jitter and prevent false alarms; the output is connected to the final signal MCU_EARTH_DETCE given to the microcontroller. The signal is reconfirmed using the 8.5V reference, and the 12V high-level voltage is converted to a safe 3.3V for the MCU through a resistor divider. In one embodiment, it further includes: a main control unit; The main control unit is connected to the output terminal of the voltage comparison module and is used for: If the output level of the voltage comparison module is the first logic level, it is determined that the charging and swapping cabinet is grounded normally. If the output level of the received voltage comparison module is the second logic level, it is determined that the charging and swapping cabinet is grounded abnormally.

[0068] The main control unit is connected to the output terminal of the voltage comparison module and is used to make the final judgment and processing of the received logic level: when the received output level of the voltage comparison module is the first logic level (such as low level), the main control unit determines that the charging and swapping cabinet is grounded normally through internal program logic.

[0069] When the voltage comparison module outputs a voltage of the second logic level (e.g., high level), the main control unit determines that the charging and swapping cabinet is grounding abnormal through internal program logic.

[0070] Furthermore, after determining a grounding anomaly, the main control unit can upload the alarm information to the software backend via the communication interface. This allows for visual confirmation not only through on-site indicator lights (LEDs) but also real-time monitoring and confirmation of grounding integrity from the backend. Once a grounding fault is detected, an alarm is triggered, facilitating timely dispatch of technical personnel by management personnel, achieving the technical benefits of time-saving, labor-saving, and remote monitoring.

[0071] The flowchart of the judgment process implemented based on the software backend can be illustrated as follows: Figure 7 The schematic diagram of the judgment process provided by this invention is shown. When the grounding is normal: the optocoupler in the circuit is turned on, causing the Earth_Test_Out node to output a low level of less than 2V; after processing by the voltage comparator, Earth_Test_OutPut outputs 0V; finally, the MCU receives the 0V signal, and the software background displays "grounding is normal" accordingly.

[0072] When there is a grounding problem: the optocoupler is cut off, and the voltage at the Earth_Test_Out node rises to 2.8V; this change causes the output of the subsequent stage, Earth_Test_OutPut, to jump to 12V; after level conversion, the MCU receives a 3.3V high-level signal, triggering a software background alarm and displaying a grounding problem.

[0073] The present invention also provides a charging and swapping cabinet, which includes the grounding detection device as described above.

[0074] By integrating this grounding detection device into the charging and swapping cabinet, the cabinet is equipped with the ability to self-test its grounding status, ensuring the personal safety of users during charging and swapping operations, and also protecting the precision electronic equipment inside the cabinet from electrical damage caused by poor grounding.

[0075] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0076] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0077] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention 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; and these 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 the present invention.

Claims

1. A grounding detection device for a charging / swapping cabinet, characterized in that, include: The first detection circuit and the second detection circuit; The first detection circuit includes a first diode, a first resistor unit, and a first light-emitting diode connected in series; the input terminal of the first detection circuit is connected to the live wire connection terminal of the mains power supply, and the output terminal of the first detection circuit is connected to the ground terminal of the charging and swapping cabinet; the first diode and the first light-emitting diode are connected with their anodes facing the live wire connection terminal and their cathodes facing the ground terminal of the charging and swapping cabinet. The second detection circuit includes a second diode, a second resistor unit, and a second light-emitting diode connected in series; the input terminal of the second detection circuit is connected to the neutral wire connection terminal of the mains power supply, and the output terminal of the second detection circuit is connected to the grounding terminal of the charging and swapping cabinet; the second diode and the second light-emitting diode are connected with their anodes facing the neutral wire connection terminal and their cathodes facing the grounding terminal of the charging and swapping cabinet. The first detection circuit and the second detection circuit are used to indicate the grounding status of the charging and swapping cabinet.

2. The grounding detection device for the charging / swapping cabinet according to claim 1, characterized in that, Also includes: Power indicator circuit; The power indicator circuit includes a third light-emitting diode, a third resistor unit, and a third diode connected in series; the input terminal of the power indicator circuit is connected to the neutral wire connection terminal of the mains power, and the output terminal of the power indicator circuit is connected to the live wire connection terminal of the mains power. The third light-emitting diode and the third diode are connected with their anodes facing the live wire connection terminal and their cathodes facing the neutral wire connection terminal. The power indicator circuit is used to indicate the power supply status of the mains power and serves as a grounding status reference for the first detection circuit and the second detection circuit.

3. The grounding detection device for the charging / swapping cabinet according to claim 2, characterized in that, The first detection circuit, the second detection circuit, and the power indicator circuit are used to indicate the grounding status of the charging and swapping cabinet in the following ways: When the third LED in the power indicator circuit is lit and the first LED in the first detection circuit is lit, it indicates that the charging and swapping cabinet is grounded normally. When the third LED in the power indicator circuit is lit and the first LED in the first detection circuit is off, it indicates that the charging and swapping cabinet is grounded abnormally.

4. The grounding detection device for the charging / swapping cabinet according to claim 1, characterized in that, Also includes: Signal isolation module; The input terminal of the signal isolation module is connected to the cathode of the first diode, and the output terminal of the signal isolation module is used to output the grounding level signal of the charging and swapping cabinet.

5. The grounding detection device for the charging / swapping cabinet according to claim 4, characterized in that, The signal isolation module includes an optocoupler; The first input terminal of the optocoupler serves as the input terminal of the signal isolation module, the second input terminal of the optocoupler is connected to the ground terminal of the charging and swapping cabinet, the first output terminal of the optocoupler serves as the output terminal of the signal isolation module, and the second output terminal of the optocoupler is grounded.

6. The grounding detection device for the charging / swapping cabinet according to claim 5, characterized in that, The optocoupler is specifically used for: When the charging and swapping cabinet is properly grounded, the first detection circuit forms a loop through the grounding terminal of the charging and swapping cabinet, and the optocoupler is turned on, so that the first output terminal of the optocoupler outputs a first voltage threshold. In the event of an abnormal grounding of the charging and swapping cabinet, the first detection circuit cannot form a loop, the optocoupler is cut off, and the first output terminal of the optocoupler outputs a second voltage threshold. Wherein, the first voltage threshold is less than the second voltage threshold.

7. The grounding detection device for the charging / swapping cabinet according to claim 4, characterized in that, Also includes: Voltage comparison module; The input terminal of the voltage comparison module is connected to the output terminal of the signal isolation module, and is used to receive the level signal output by the output terminal of the signal isolation module, and output a low level or a high level based on the level signal.

8. The grounding detection device for the charging / swapping cabinet according to claim 7, characterized in that, The voltage comparison module is specifically used for: Receive the level signal output from the output terminal of the signal isolation module; The voltage value of the level signal is compared with a reference voltage. If the voltage value of the level signal is less than the reference voltage, a first logic level is output. When the voltage value of the level signal is greater than or equal to the reference voltage, a second logic level is output.

9. The grounding detection device for the charging / swapping cabinet according to claim 8, characterized in that, Also includes: Main control unit; The main control unit is connected to the output terminal of the voltage comparison module and is used for: If the voltage comparison module outputs the first logic level, it is determined that the charging and swapping cabinet is grounded normally. If the output level of the received voltage comparison module is the second logic level, it is determined that the charging and swapping cabinet is grounded abnormally.

10. A charging and swapping cabinet, characterized in that, Includes the grounding detection device for the charging and swapping cabinet as described in any one of claims 1-9.