Load short circuit detection method and system for alternating current charging pile of electric bicycle
By using a metering chip in an electric bicycle AC charging pile to collect voltage, current, and active power data, combined with load power factor and resistance criteria, accurate distinction of the load status is achieved, solving the problem of inaccurate short-circuit detection of the charging pile, and improving safety and detection reliability.
Patent Information
- Application Number
- CN202510967897.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-14
- Publication Date
- 2025-09-16
AI Technical Summary
Existing AC charging stations for electric bicycles lack accurate load short-circuit detection capabilities, resulting in inaccurate short-circuit detection, which can easily lead to safety hazards and increase operating costs.
The voltage, current and active power data are collected within the switch closing window through the metering chip, and the dual combination criteria of load power factor and equivalent load resistance are used to accurately distinguish the load status, including the determination of normal load and short-circuit load.
The accuracy and safety of short-circuit detection are improved, misjudgment is avoided, operating costs are reduced, and the safety protection capabilities of charging piles are enhanced.
Smart Images

Figure CN120652346A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of charging pile load detection, and in particular to a method and system for detecting a load short circuit in an AC charging pile for an electric bicycle. Background Art
[0002] Most existing AC charging stations for electric bicycles lack load short-circuit detection. Connecting a short-circuited load and starting charging can cause the circuit breaker to trip, rendering the entire line unusable. In more serious cases, the equipment's fuses may burn out, or the line may overheat and cause a fire. Both tripped circuit breakers and blown fuses require on-site personnel, significantly increasing operating and maintenance costs.
[0003] Although some other charging piles have certain short-circuit detection functions, the detection methods are relatively simple and are usually implemented using some simple resistance sampling circuits. For some specific high-power chargers, their internal resistance is relatively small, and they can easily be mistaken for short circuits after being plugged in, causing users to be unable to start charging, seriously affecting the user experience.
[0004] It can be seen that the charging pile detection method in the related art has the technical problem of inaccurate short circuit detection. Summary of the Invention
[0005] The present invention provides a method and system for detecting load short circuit of an AC charging pile of an electric bicycle, which are used to solve the defect of inaccurate short circuit detection in the charging pile detection method in the prior art and improve the stability and reliability of the short circuit detection result.
[0006] The present invention provides a load short-circuit detection method for an electric bicycle AC charging pile, which is applied to the charging pile and includes the following steps.
[0007] In response to detecting that a charger plug is inserted, closing a target switch; obtaining a preprocessed first detection voltage, a first detection current, and a first detection active power through a metering chip, and opening the target switch; determining a first detection power factor of the charging pile based on the first detection voltage, the first detection current, and the first detection active power; determining a first detection load resistance of the charging pile based on the first detection voltage and the first detection current; and determining a load short-circuit state of the charging pile based on the first detection power factor and the first detection load resistance, wherein the load short-circuit state includes: a normal load and a short-circuited load.
[0008] According to a method for detecting a load short circuit of an electric bicycle AC charging pile provided by the present invention, the method determines the load short circuit state of the charging pile based on the first detection power factor and the first detection load resistance, including: when the first detection power factor is less than a preset power factor threshold and the first detection load resistance is less than a preset load resistance threshold, determining that the charging pile is a short-circuited load; otherwise, determining that the charging pile is a normal load.
[0009] According to a method for detecting a load short circuit of an AC charging pile for an electric bicycle provided by the present invention, the method further includes: when the charging pile is a short-circuited load, reclosing the target switch; obtaining a preprocessed second detection voltage, a second detection current, and a second detection active power through a metering chip, and disconnecting the target switch; determining a second detection power factor of the charging pile based on the second detection voltage, the second detection current, and the second detection active power; determining a second detection load resistance of the charging pile based on the second detection voltage and the second detection current; and determining a verified load short-circuit state of the charging pile based on the second detection power factor and the second detection load resistance, wherein the verified load short-circuit state includes: a normal load and a short-circuited load.
[0010] According to a method for detecting a load short circuit in an AC charging pile for an electric bicycle provided by the present invention, obtaining a preprocessed first detection voltage, a first detection current, and a first detection active power through a metering chip includes: reading the initial voltage, initial current, and initial active power of the charging pile multiple times according to a target number of times through the metering chip; and determining the average values of the initial voltage, the initial current, and the initial active power as the preprocessed first detection voltage, the first detection current, and the first detection active power.
[0011] According to a method for detecting a load short circuit of an electric bicycle AC charging pile provided by the present invention, determining a first detection power factor of the charging pile based on the first detection voltage, the first detection current, and the first detection active power includes: determining the product of the first detection voltage and the first detection current; and using the ratio of the first detection active power to the product as the first detection power factor of the charging pile.
[0012] According to a method for detecting a load short circuit of an electric bicycle AC charging pile provided by the present invention, determining a first detection load resistance of the charging pile based on the first detection voltage and the first detection current includes: determining a ratio of the first detection voltage to the first detection current as the first detection load resistance of the charging pile.
[0013] The present invention also provides an electric bicycle AC charging pile load short-circuit detection system, comprising the following modules: a detection module, for closing a target switch in response to detecting that a charger plug is inserted; an acquisition module, for acquiring a pre-processed first detection voltage, a first detection current, and a first detection active power through a metering chip, and disconnecting the target switch; a power determination module, for determining a first detection power factor of the charging pile based on the first detection voltage, the first detection current, and the first detection active power; a resistance determination module, for determining a first detection load resistance of the charging pile based on the first detection voltage and the first detection current; and a load determination module, for determining a load short-circuit state of the charging pile based on the first detection power factor and the first detection load resistance, wherein the load short-circuit state includes: normal load and short-circuit load.
[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, any of the above-described methods for detecting a short circuit in a load of an AC charging pile for an electric bicycle is implemented.
[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, any of the above-mentioned methods for detecting a load short circuit in an AC charging pile of an electric bicycle is implemented.
[0016] The present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-mentioned methods for detecting a load short circuit in an AC charging pile of an electric bicycle.
[0017] The electric bicycle AC charging pile load short-circuit detection method and system provided by the present invention effectively distinguishes between normal load and short-circuit load states through the voltage, current and active power data collected by the charging pile's built-in metering chip within the extremely short switch closure window, and through real-time calculation of the dual combined criteria of load power factor and equivalent load resistance. It has significant advantages such as fast detection speed (avoiding the risk of continuous short circuit), high safety (power is cut off immediately after sampling to avoid sparks), accurate judgment (double verification to reduce misjudgment), and low cost (reusing existing metering and switch hardware), fundamentally improving the safety protection capability of the charging pile. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced one by one below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 It is an overall structural diagram of the charging pile load short circuit detection algorithm provided by the present invention.
[0020] Figure 2 The figure is a flow chart of a method for detecting a load short circuit of an AC charging pile for an electric bicycle provided by the present invention.
[0021] Figure 3 It is a module schematic diagram of the load short-circuit detection system for an AC charging pile of an electric bicycle provided by the present invention.
[0022] Figure 4 It is a schematic diagram of the physical structure of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0023] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0024] refer to Figure 1 , Figure 1 It is an overall structural diagram of the charging pile load short circuit detection algorithm provided by the present invention.
[0025] The present invention provides a load short circuit detection algorithm implemented by a sampling circuit, a metering chip and a dedicated algorithm for an AC charging pile. The overall structure can be referred to Figure 1 , which includes: main control MCU, target switch K1, sampling circuit, metering chip and load.
[0026] refer to Figure 2 , Figure 2 The present invention provides a flow chart of a method for detecting a short circuit in an AC charging pile of an electric bicycle, which specifically includes the following steps.
[0027] Step 201: In response to detecting that a charger plug is inserted, close a target switch.
[0028] The AC output port (socket) of the charging pile is equipped with an insertion detection sampling circuit, and the MCU collects data in real time through the ADC converter. When the charger plug is fully inserted and in good contact, the sampling circuit will detect the level change. When the sampling level remains high for 1 second, it is determined that the plug is inserted; when the sampling level remains low for 1 second, it is considered that the plug is unplugged.
[0029] The target switch is a key component that controls the AC power output within the charging pile. It is an electronic switching device that can reliably open and close the AC power path, such as a bidirectional thyristor.
[0030] The target switch is typically connected in series between the AC power supply inside the charging pile and its output socket. When no plug is inserted, the switch is disconnected by default, ensuring the output socket is de-energized. Even when a plug is detected and the switch is closed, the output current is controlled at around 15mA due to a 0.22uF safety capacitor connected in series with the circuit, ensuring that a short-circuited load will not cause a line fault.
[0031] In this embodiment of the present invention, the charging pile's main control unit (MCU) continuously monitors the signal from the insertion detection sampling circuit. Upon detecting a voltage level change (for example, from "unplugged" to "plugged"), the MCU immediately (or with a slight response delay specified by software) outputs a control signal through its I / O port. This control signal drives the switch's driver circuit (e.g., a triac), switching the target switch from its default open state to a closed state.
[0032] Through the embodiment of the present invention, by detecting the plug is fully inserted signal to trigger the target switch (bidirectional thyristor) to close, it ensures the core safety isolation of the output socket without power during the operation phase, and establishes the necessary physical path for subsequent key electrical parameter sampling and short circuit detection logic. Step 202: Obtain the pre-processed first detection voltage, first detection current, and first detection active power through the metering chip, and turn off the target switch.
[0033] After the target switch (bidirectional thyristor) is closed (usually a few milliseconds to tens of milliseconds), the main control unit (MCU) immediately starts the metering chip for high-speed sampling.
[0034] The high AC voltage (such as 220VAC) is reduced to a low-level signal that can be safely processed by the metering chip through a precision voltage-dividing resistor network or voltage transformer, and then input into the voltage channel (V Channel) of the chip.
[0035] The measured current is converted into a proportional small voltage signal through a current transformer (CT) or a precision sampling resistor (Shunt) and input into the current channel (I Channel) of the chip.
[0036] Metering chips typically include internal or external circuitry that includes filtering circuits (such as RC / anti-aliasing filters) to remove high-frequency noise. Metering chips perform analog-to-digital conversion (ADC) on input voltage and current signals and perform internal digital signal processing (DSP) such as filtering and integration to obtain accurate instantaneous or average values.
[0037] The metering chip directly calculates or provides the parameters required for calculation (such as instantaneous voltage, instantaneous current, phase difference, instantaneous power or average power), and ultimately outputs the active power value required by the user.
[0038] The MCU quickly reads the following data from the metering chip via the communication interface: the pre-processed first detection voltage, the pre-processed first detection current, and the pre-processed first detection active power, provided at the set sampling point or sampling window. These data represent the load status at the initial moment after the switch is closed.
[0039] According to a method for detecting a load short circuit of an AC charging pile for an electric bicycle provided by the present invention, a pre-processed first detection voltage, a first detection current, and a first detection active power are obtained through a metering chip, comprising: The metering chip reads the initial voltage, initial current, and initial active power of the charging pile multiple times according to the target number of times; The average values of the initial voltage, the initial current, and the initial active power are respectively determined as the pre-processed first detection voltage, the first detection current, and the first detection active power.
[0040] In this embodiment of the present invention, a target sampling count N (e.g., N = 5, 10, 20, etc.) is preset in the main control unit (MCU) program. This count is a configurable parameter that can be adjusted based on required accuracy and system processing power. The selection of N requires a balance between sampling speed (sampling within the short switch closure window) and interference immunity.
[0041] In the short time window after the target switch (bidirectional thyristor) is closed and before it is opened, the MCU quickly and continuously executes a sampling cycle. Each sampling cycle performs the following steps: The MCU sends a read instruction to the metering chip or accesses its internal registers through the communication interface.
[0042] The MCU reads at one time the following values calculated / sampled by the metering chip at the current moment: the current initial voltage instantaneous value or cycle effective value, the current initial current instantaneous value or cycle effective value, and the current initial active power instantaneous value or cycle average value.
[0043] Alternatively, the MCU may read these values several times in a very short time (but still within one sampling cycle).
[0044] The MCU repeats the sampling cycle of the above steps until the preset target sampling number N is reached.
[0045] After completing N sampling cycles, the MCU immediately calculates the arithmetic average of the N stored voltage readings, N current readings, and N active power readings. The calculated averages are the final outputs of this step, the preprocessed first detection voltage, first detection current, and first detection active power, which are used for subsequent judgment.
[0046] The embodiments of the present invention can significantly smooth out the inevitable measurement noise (such as ADC quantization noise and electromagnetic interference) and transient small fluctuations in the load itself that are present in electrical systems by taking an average of multiple samples.
[0047] Step 203: Determine a first detected power factor of the charging pile based on the first detected voltage, the first detected current, and the first detected active power.
[0048] According to the present invention, a method for detecting a load short circuit of an AC charging pile for an electric bicycle is provided, which determines a first detection power factor of the charging pile based on a first detection voltage, a first detection current, and a first detection active power, including: determining a product of a first detection voltage and a first detection current; The ratio of the first detected active power to the product is used as the first detected power factor of the charging pile.
[0049] In the embodiment of the present invention, three key pre-processed data provided in real time by the metering chip are directly used: the first detected voltage (the effective value of the voltage after pre-processing U); the first detected current (the effective value of the current after pre-processing I); and the first detected active power (the active power after pre-processing P).
[0050] Calculate the apparent power in an instant or cycle using the formula: The ratio of the first detected active power P to the apparent power S is used as the first detected power factor Q The first power factor test result is a dimensionless value. It will be smaller when the load is resistive (such as a short circuit) and larger when the load is normal inductive or capacitive.
[0051] This embodiment of the present invention directly reuses the standard parameters (voltage, current, and power) provided by the charging pile's existing metering chip, eliminating the need for additional sensors or computing units and reducing hardware costs. The calculation process requires only one multiplication and one division operation by the MCU, resulting in extremely low computational overhead (completed in microseconds).
[0052] Step 204 : determining a first detection load resistance of the charging pile based on the first detection voltage and the first detection current.
[0053] According to the present invention, a method for detecting a load short circuit of an AC charging pile for an electric bicycle is provided, which determines a first detection load resistance of the charging pile based on a first detection voltage and a first detection current, including: The ratio of the first detection voltage to the first detection current is determined as a first detection load resistance of the charging pile.
[0054] In the embodiment of the present invention, two key parameters outputted by the metering chip after pre-processing are directly used: the first detection voltage and the first detection current.
[0055] The equivalent first detection load resistance is directly calculated using Ohm's law: The present invention relies solely on basic electrical parameters, reusing the data stream from the charging pile's existing metering chip. No additional sensors or dedicated measurement circuits are required, resulting in zero hardware cost. The algorithm only requires the MCU to perform a single division operation, resulting in negligible resource consumption.
[0056] Step 205 : Determine the load short-circuit state of the charging pile based on the first detected power factor and the first detected load resistance, wherein the load short-circuit state includes: normal load and short-circuit load.
[0057] According to the present invention, a method for detecting a load short circuit of an AC charging pile for an electric bicycle is provided, which determines the load short circuit state of the charging pile based on a first detection power factor and a first detection load resistance, including: When the first detected power factor is less than the preset power factor threshold and the first detected load resistance is less than the preset load resistance threshold, the charging pile is determined to be a short-circuit load; otherwise, the charging pile is determined to be a normal load.
[0058] In an embodiment of the present invention, when the first detected power factor is less than a preset power factor threshold and the first detected load resistance is less than a preset load resistance threshold, it is preliminarily determined to be a short-circuit load; otherwise, it is a normal load; wherein, the preset power factor threshold is an empirical value measured based on various models of chargers; the preset load resistance threshold is a reference value measured with a short-circuit load at the factory.
[0059] Through the embodiments of the present invention, the voltage, current and active power data collected by the built-in metering chip of the charging pile within the extremely short closing window of the switch are effectively distinguished from the normal load and short-circuit load states through real-time calculation of the dual combination criteria of load power factor and equivalent load resistance. This has significant advantages such as fast detection speed (avoiding the risk of continuous short circuit), high safety (power is cut off immediately after sampling to avoid sparks), accurate judgment (double verification to reduce misjudgment), and low cost (reusing existing metering and switch hardware), fundamentally improving the safety protection capability of the charging pile.
[0060] According to a method for detecting a short circuit in a load of an AC charging pile for an electric bicycle provided by the present invention, the method further includes: When the charging pile is a short-circuit load, reclose the target switch; Obtaining the pre-processed second detection voltage, second detection current, and second detection active power through the metering chip, and disconnecting the target switch; Determining a second detected power factor of the charging pile based on the second detected voltage, the second detected current, and the second detected active power; Determining a second detection load resistance of the charging pile based on the second detection voltage and the second detection current; Based on the second detected power factor and the second detected load resistance, the verified load short-circuit state of the charging pile is determined, wherein the verified load short-circuit state includes: normal load and short-circuit load.
[0061] In this embodiment of the present invention, when a charging pile initially detects a short-circuited load, it immediately enters a recheck process. During this time, the main controller (MCU) delays for 50-200 milliseconds, waiting for the load transient to subside before re-issuing a close command to activate the target switch (bidirectional thyristor). A mechanical delay of 10-20 milliseconds occurs during the switching operation. Once the switch contacts are fully conductive, the MCU synchronously triggers the metering chip to initiate high-speed sampling.
[0062] The metering chip collects AC voltage signals in real time through its voltage channel's voltage divider circuit. A current transformer or sampling resistor converts the current signal into a low-voltage signal. The chip's built-in anti-aliasing filter and 24-bit ADC remove noise and digitize the signal. Within a 20-50 millisecond window after the target switch recloses, the MCU continuously reads 20 sets of raw instantaneous values of voltage, current, and active power at 1-millisecond intervals, calculates their arithmetic mean, and ultimately outputs the pre-processed second-level detection voltage, current, and active power. Immediately after completing the data reading, the MCU immediately disconnects the target switch control signal, physically isolating the load power supply.
[0063] Based on the second detection voltage, the second detection current and the second detection active power, the MCU executes the same calculation logic as the first detection.
[0064] In the final review and judgment stage, the MCU calls the preset power factor threshold and resistance threshold to perform double verification. When the second detected power factor is less than the preset power factor threshold and the second detected load resistance is less than the preset load resistance threshold, the charging pile is determined to be a short-circuit load; otherwise, the charging pile is determined to be a normal load.
[0065] Through the present invention, false short-circuit signals caused by contact sparks and lightning surges during the initial detection naturally dissipate within the secondary detection window, restoring the power factor and load resistance to normal ranges. Comparing the two results effectively distinguishes between transient interference (first short circuit / second normal) and true faults (both short circuits).
[0066] The following describes an example of a method for detecting a short circuit in a load of an AC charging pile for an electric bicycle provided by the present invention in practical application.
[0067] Step 1: Before the charging pile leaves the factory, calibrate the voltage, current, power, and power parameters of the metering chip using a calibration tool in a production environment to ensure the consistency of the measurement results; at the same time, connect a short-circuit load and measure the load resistance R0 when the short circuit occurs.
[0068] Step 2: The charging pile detects in real time whether a charger plug is inserted. When it is detected that the plug is inserted, the short circuit detection function is activated.
[0069] Step 3: When the charging pile starts the short-circuit detection function, it first closes switch K1, then reads the voltage, current and active power from the metering chip, continuously collects them N times, and takes the average value; after the collection is completed, the switch K1 is opened.
[0070] Step 4. Calculate the power factor Q = active power P / (voltage U * current I) based on the voltage, current, and active power. Also, calculate the load resistance R = voltage U / current I based on the voltage and current.
[0071] Step 5: When the power factor Q < threshold Q0 and R < threshold R0, it is preliminarily determined to be a short-circuit load; otherwise, it is a normal load; the threshold Q0 is an empirical value measured based on various models of chargers, and the threshold R0 is a reference value measured with a short-circuit load at the factory.
[0072] Step 6: If the load is initially determined to be short-circuited in the previous step, switch K1 is closed again, and the voltage, current, and active power are read from the metering chip again. The data are collected N times continuously and the average value is taken. After the data collection is completed, switch K1 is opened.
[0073] Step 7: Calculate the power factor Q and load resistance R again. When the power factor Q < threshold Q0 and R < threshold R0, it is determined to be a short-circuit load; otherwise, it is a normal load.
[0074] Step 8: When it is determined to be a normal load, charging can be started normally; when it is determined to be a short-circuited load, charging is not allowed.
[0075] Step 9: When it is determined that the load is short-circuited, real-time monitoring is performed to determine whether the plug is unplugged. When it is detected that the plug is unplugged, it is considered that the short circuit has been restored.
[0076] Through the embodiments of the present invention, a short-circuit detection is performed on the charger before charging to avoid circuit breaker tripping and equipment damage caused by load short circuit. A combination of power factor and load resistance measurement is adopted to avoid misjudgment that is prone to occur when only one method is used. Both methods use the same set of measurement data for calculation, effectively improving the detection speed. By continuously collecting data N times and taking the average value, the stability and reliability of the detection results are improved.
[0077] The following describes the electric bicycle AC charging pile load short circuit detection system provided by the present invention. The electric bicycle AC charging pile load short circuit detection system described below and the electric bicycle AC charging pile load short circuit detection method described above can be referenced to each other.
[0078] refer to Figure 3 , Figure 3 It is a module schematic diagram of the load short-circuit detection system for an AC charging pile of an electric bicycle provided by the present invention.
[0079] A detection module 301 is configured to close a target switch in response to detecting that a charger plug is inserted; An acquisition module 302 is configured to acquire the pre-processed first detection voltage, first detection current, and first detection active power through a metering chip, and disconnect a target switch; A power determination module 303 is configured to determine a first detected power factor of the charging pile based on the first detected voltage, the first detected current, and the first detected active power; a resistance determination module 304, configured to determine a first detection load resistance of the charging pile based on the first detection voltage and the first detection current; The load determination module 305 is configured to determine a load short-circuit state of the charging pile based on the first detection power factor and the first detection load resistance, wherein the load short-circuit state includes: a normal load and a short-circuit load.
[0080] Specifically, the above-mentioned electric bicycle AC charging pile load short-circuit detection system provided by the present invention can implement all the method steps implemented in the above-mentioned electric bicycle AC charging pile load short-circuit detection method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those of the method embodiment will not be described in detail here.
[0081] Figure 4 This is a schematic diagram of the physical structure of the electronic device provided by the present invention, such as Figure 4As shown, the electronic device may include: a processor 410, a communications interface 420, a memory 430, and a communications bus 440. The processor 410, the communications interface 420, and the memory 430 communicate with each other via the communications bus 440. The processor 410 may call logic instructions in the memory 430 to execute a load short-circuit detection method for an electric bicycle AC charging station. The method includes: closing a target switch in response to detecting that a charger plug is inserted; obtaining a pre-processed first detection voltage, a first detection current, and a first detection active power through a metering chip, and opening the target switch; determining a first detection power factor of the charging station based on the first detection voltage, the first detection current, and the first detection active power; determining a first detection load resistance of the charging station based on the first detection voltage and the first detection current; and determining a load short-circuit state of the charging station based on the first detection power factor and the first detection load resistance. The load short-circuit state includes a normal load and a short-circuited load.
[0082] Furthermore, the logic instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0083] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the electric bicycle AC charging pile load short circuit detection method provided by the above methods. The method includes: in response to detecting that a charger plug is inserted, closing the target switch; obtaining a pre-processed first detection voltage, a first detection current and a first detection active power through a metering chip, and disconnecting the target switch; determining a first detection power factor of the charging pile based on the first detection voltage, the first detection current and the first detection active power; determining a first detection load resistance of the charging pile based on the first detection voltage and the first detection current; and determining the load short circuit state of the charging pile based on the first detection power factor and the first detection load resistance, wherein the load short circuit state includes: normal load and short-circuited load.
[0084] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the load short-circuit detection method for an electric bicycle AC charging pile provided by the above-mentioned methods, the method comprising: in response to detecting that a charger plug is inserted, closing a target switch; obtaining a pre-processed first detection voltage, a first detection current, and a first detection active power through a metering chip, and disconnecting the target switch; determining a first detection power factor of the charging pile based on the first detection voltage, the first detection current, and the first detection active power; determining a first detection load resistance of the charging pile based on the first detection voltage and the first detection current; and determining a load short-circuit state of the charging pile based on the first detection power factor and the first detection load resistance, wherein the load short-circuit state includes: normal load and short-circuit load.
[0085] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and 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 may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0086] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion 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, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods of each embodiment or certain portions of the embodiments.
[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for detecting short circuit of load in AC charging pile of electric bicycle, characterized in that: Applied to charging piles, including: In response to detecting that a charger plug is inserted, closing a target switch; Acquire the pre-processed first detection voltage, first detection current, and first detection active power through the metering chip, and disconnect the target switch; Determining a first detected power factor of the charging pile based on the first detected voltage, the first detected current, and the first detected active power; determining a first detection load resistance of the charging pile based on the first detection voltage and the first detection current; Based on the first detection power factor and the first detection load resistance, a load short-circuit state of the charging pile is determined, wherein the load short-circuit state includes: normal load and short-circuit load.
2. The method for detecting a short circuit in an AC charging pile of an electric bicycle according to claim 1, wherein: The determining the load short-circuit state of the charging pile based on the first detected power factor and the first detected load resistance includes: When the first detected power factor is less than a preset power factor threshold and the first detected load resistance is less than a preset load resistance threshold, the charging pile is determined to be a short-circuit load; otherwise, the charging pile is determined to be a normal load.
3. The method for detecting a short circuit in an AC charging pile of an electric bicycle according to claim 2, wherein: The method further comprises: When the charging pile is a short-circuited load, reclosing the target switch; Acquire the pre-processed second detection voltage, second detection current, and second detection active power through the metering chip, and disconnect the target switch; Determining a second detected power factor of the charging pile based on the second detected voltage, the second detected current, and the second detected active power; determining a second detection load resistance of the charging pile based on the second detection voltage and the second detection current; Based on the second detection power factor and the second detection load resistance, the verified load short-circuit state of the charging pile is determined, wherein the verified load short-circuit state includes: a normal load and a short-circuited load.
4. The method for detecting a short circuit in an AC charging pile of an electric bicycle according to claim 1, wherein: The method of obtaining the pre-processed first detection voltage, first detection current, and first detection active power through the metering chip includes: The initial voltage, initial current and initial active power of the charging pile are read by the metering chip multiple times according to the target number of times; Average values of the initial voltage, the initial current, and the initial active power are determined respectively as the preprocessed first detection voltage, the first detection current, and the first detection active power.
5. The method for detecting a short circuit in an AC charging pile of an electric bicycle according to claim 1, wherein: The determining, based on the first detection voltage, the first detection current, and the first detection active power, a first detection power factor of the charging pile includes: determining a product of the first detection voltage and the first detection current; The ratio of the first detected active power to the product is used as the first detected power factor of the charging pile.
6. The method for detecting a short circuit in an AC charging pile of an electric bicycle according to claim 1, wherein: The determining a first detection load resistance of the charging pile based on the first detection voltage and the first detection current includes: A ratio of the first detection voltage to the first detection current is determined as a first detection load resistance of the charging pile.
7. A load short circuit detection system for an electric bicycle AC charging pile, characterized in that: include: a detection module, configured to close a target switch in response to detecting that a charger plug is inserted; an acquisition module, configured to acquire the pre-processed first detection voltage, the first detection current, and the first detection active power through a metering chip, and disconnect the target switch; a power determination module, configured to determine a first detection power factor of the charging pile based on the first detection voltage, the first detection current, and the first detection active power; a resistance determination module, configured to determine a first detection load resistance of the charging pile based on the first detection voltage and the first detection current; A load determination module is used to determine the load short-circuit state of the charging pile based on the first detection power factor and the first detection load resistance, wherein the load short-circuit state includes: normal load and short-circuit load.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the method for detecting a load short circuit in an AC charging pile for an electric bicycle as claimed in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for detecting a load short circuit of an electric bicycle AC charging pile as claimed in any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for detecting a load short circuit of an electric bicycle AC charging pile as claimed in any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Load detection method and device of charging pile and electronic equipment
CN121404070A