Charging gun plugging state detection method
By combining the detection methods of analog signals and digital signals, the problem of inaccurate detection of the charging gun status is solved, and higher accuracy and reliability are achieved, ensuring the stability and safety of the charging process.
Patent Information
- Application Number
- CN202411032854.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-11-29
AI Technical Summary
The existing charging gun state detection methods have problems such as inaccurate plug-in and unplugged state detection and are susceptible to interference, resulting in charging failure and unexpected stopping of charging.
Using a detection method combining analog signal and digital signal, the plug-in and unplugging status of the charging gun is judged through the comparator loop and the CPU module, and the judgment results of analog signal and digital signal are used for comprehensive judgment, so as to improve the accuracy and reliability of the detection, and through Power-off protection control ensures safety.
It significantly improves the accuracy and reliability of charging gun status detection, avoids charging failure and unexpected stopping of charging, and enhances the stability of the charging process.
Smart Images

Figure CN119037207A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of charging pile control, and in particular relates to a method for detecting the plugging and unplugging status of a charging gun. Background Art
[0002] With the continuous promotion of new energy electric vehicles, charging piles, as equipment for electric vehicles to supplement power, are the basic support for the large-scale application of electric vehicles. When charging electric vehicles with charging piles, the charging gun is inserted into the charging interface of the electric vehicle and is reliably connected. This is a prerequisite for starting charging. At the same time, the charging gun needs to be reliably connected during the charging process. During the charging process, the charging pile needs to detect the connection status of the charging gun in real time. Once the connection status of the charging gun changes, the charging pile needs to immediately stop the power output. The accuracy, reliability and speed of the gun plug status detection are very important.
[0003] Existing charging gun status detection methods, such as the Chinese invention patent with application publication number CN107244252A, discloses a circuit for indicating the status of AC and DC charging guns. This scheme specifically uses a comparator to output a high level to drive a high-level conductive switch element, thereby sending an alarm signal to remind the user to connect in place. This method is an analog circuit detection method. During operation, this method is sometimes affected by the operating environment, temperature, electromagnetic interference, etc., resulting in inaccurate detection of the gun status, failure to start charging, and often leads to unexpected charging stops. Summary of the invention
[0004] The object of the present invention is to provide a method for detecting the plug-in status of a charging gun, so as to solve the problem in the prior art that the plug-in status detection of the charging gun is inaccurate and susceptible to interference, thereby causing the charging pile to fail to start charging and unexpectedly stop charging during the charging process.
[0005] In order to achieve the above object, the present invention provides a method for detecting the plug-in and unplug-out status of a charging gun, the method comprising:
[0006] S1: Obtain corresponding judgment results through the analog signal plug-in and pull-out status judgment process and the digital signal plug-in and pull-out status judgment process respectively;
[0007] S2: If the judgment results are the same, the plug-in and unplug-out status of the charging gun detected this time is obtained from the judgment results; otherwise, it is determined that the plug-in and unplug-out status of the charging gun is not detected this time;
[0008] The analog signal plug-in and unplug state judgment process includes: judging through a comparator circuit whether the analog signal size corresponding to the plug-in connection state voltage of the charging pile end is within the set analog voltage value range corresponding to the plug-in or unplug state, and obtaining the plug-in state judgment result accordingly;
[0009] The digital signal plug-in and unplug status detection process includes: determining the value of the plug-in connection state voltage according to the digital signal obtained by converting the plug-in connection state voltage, judging whether the value is within the set digital voltage value range corresponding to the plug-in or unplug state, and obtaining the plug-in state judgment result accordingly.
[0010] Furthermore, the charging gun plug-in and unplugging status detection method also includes: performing gun-pulling power-off protection control according to the corresponding judgment result of the analog signal plug-in and unplugging status judgment process; the method of performing gun-pulling power-off protection control includes: if the corresponding judgment result of the analog signal plug-in and unplugging status judgment process is that the charging gun is in the unplugged state, then controlling the charging gun to power off.
[0011] Furthermore, the method of determining the value of the gun plug connection state voltage by the digital signal converted from the gun plug connection state voltage includes: obtaining the digital signal conversion results obtained by the gun plug connection state voltage for multiple times, removing the maximum value and the minimum value in the conversion results obtained each time, taking the average value of the remaining conversion results, and using the average value to calculate the gun plug connection state voltage value.
[0012] Furthermore, the digital signal conversion result obtained by converting the gun plug connection state voltage is obtained by converting the gun plug connection state voltage into a digital signal and then performing digital filtering processing.
[0013] Furthermore, the comparator circuit is used to determine whether the analog signal size corresponding to the plug-in connection state voltage of the charging pile end is within the set analog voltage value range corresponding to the plug-in or unplug-out state, and the corresponding method for obtaining the plug-in and unplug state determination result includes:
[0014] The upper threshold comparator and the lower threshold comparator in the comparator circuit are used to determine whether the analog signal size corresponding to the plug-in connection state voltage of the charging pile end is less than the upper threshold of the set analog voltage value range corresponding to the plug-in state and greater than the lower threshold of the set analog voltage value range corresponding to the plug-in state; the upper threshold is greater than the lower threshold;
[0015] If it is determined that the analog signal size is smaller than the upper threshold of the set analog voltage value range corresponding to the gun plugged state and greater than the lower threshold of the set analog voltage value range corresponding to the gun plugged state, the comparator circuit outputs the level signal corresponding to the gun plugged state as the judgment result of the plugging and unplugging state, otherwise it outputs the level signal corresponding to the gun unplugging state as the judgment result of the plugging and unplugging state.
[0016] Furthermore, the CPU module determines whether the judgment results obtained by the analog signal plug-in and pull-out status judgment process and the digital signal plug-in and pull-out status judgment process are the same; the level signal corresponding to the judgment result obtained by the analog signal plug-in and pull-out status judgment process is transmitted to the CPU module after passing through the first isolation module.
[0017] Furthermore, the CPU module performs a digital signal plug-in status detection process; the digital signal obtained by converting the plug-in connection status voltage is a signal that is input to the CPU module through the second isolation module after AD conversion.
[0018] Furthermore, the plug-in connection state voltage of the charging pile end used in the analog signal plug-in state judgment process and the digital signal plug-in state judgment process is a voltage signal obtained by filtering the collected plug-in connection state voltage of the charging pile end.
[0019] Further, according to the value of the gun plug connection state voltage determined by the digital signal obtained by converting the gun plug connection state voltage, it is judged whether the value is within the set digital voltage value range corresponding to the gun plug or gun pull state, and the corresponding method of obtaining the judgment result of the plug and pull state includes:
[0020] According to the value of the gun plug connection state voltage determined by the digital signal obtained by converting the gun plug connection state voltage, it is judged whether the value is within the set digital voltage value range corresponding to the gun plug state. If the value is within the set digital voltage value range corresponding to the gun plug state, the level signal corresponding to the gun plug state is output as the judgment result of the plug-in and unplug state, otherwise the level signal corresponding to the gun unplug state is output as the judgment result of the plug-in and unplug state.
[0021] Furthermore, during the transmission process of the level signal corresponding to the judgment result obtained by the analog signal plug-in and unplug status judgment process to the CPU module after passing through the first isolation module, the transmitted signal is also level-converted to convert the transmitted high-level signal into a high-level signal of a set level, and the transmission continues; during the transmission process of the level signal corresponding to the judgment result obtained by the analog signal plug-in and unplug status judgment process to the CPU module after passing through the first isolation module, the transmitted signal is also inverted to convert the transmitted high-level signal into a low-level signal, or to convert the transmitted low-level signal into a high-level signal, and the transmission continues.
[0022] Beneficial effects: This method is a pioneering invention. By combining two different detection methods, analog signal detection and digital signal detection, it can meet the requirements of accurately measuring CC1 voltage and accurately judging the connection status of the charging gun. It is equivalent to comprehensively judging the plug-in status of the charging gun based on the results of two different detection methods, thus significantly improving the accuracy and reliability of charging gun status detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a schematic diagram of the application principle of the charging gun plug-in and unplug-in state detection method in the charging gun plug-in and unplug-in state detection embodiment of the present invention;
[0024] Figure 2It is a schematic diagram of the data processing flow of the charging gun plug-in and unplug-in state detection method in the charging gun plug-in and unplug-in state detection embodiment of the present invention;
[0025] Figure 3 This is an example circuit diagram of the CC1 sampling filter module in the embodiment of the charging gun plug-in status detection of the present invention;
[0026] Figure 4 This is a circuit diagram of an analog signal plug-in / plug-out state judgment process in an embodiment of the charging gun plug-in / plug-out state detection of the present invention;
[0027] Figure 5 This is a circuit diagram of a circuit for converting a voltage of a plug-in connection state into a digital signal and a circuit diagram of a second isolation module in an embodiment of the charging gun plug-in state detection of the present invention. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is further described in detail below with reference to the accompanying drawings and embodiments.
[0029] Embodiment of a method for detecting the plug-in and unplug status of a charging gun
[0030] This embodiment provides a method for detecting the plug-in and unplug-out status of a charging gun, including:
[0031] S1: Obtain corresponding judgment results through the analog signal plug-in and pull-out status judgment process and the digital signal plug-in and pull-out status judgment process respectively;
[0032] S2: If the judgment results are the same, the plug-in and unplug-out status of the charging gun detected this time is obtained from the judgment results; otherwise, it is determined that the plug-in and unplug-out status of the charging gun is not detected this time;
[0033] The analog signal plug-in and unplug state judgment process includes: judging through a comparator circuit whether the analog signal size corresponding to the plug-in connection state voltage of the charging pile end (in the current national standard, "the plug-in connection state voltage of the charging pile end" generally refers to the CC1 voltage, so it is also referred to as the plug-in connection state voltage, CC1 voltage or CC1 below) is within the set analog voltage value range corresponding to the plug-in or unplug state, and obtaining the judgment result of the plug-in and unplug state accordingly;
[0034] The digital signal plug-in and unplug status detection process includes: determining the value of the above-mentioned plug-in connection state voltage according to the digital signal obtained by converting the above-mentioned plug-in connection state voltage, judging whether the value is within the set digital voltage value range corresponding to the plug-in or unplug-gun state, and obtaining the plug-in and unplug status judgment result accordingly.
[0035] The charging gun plug-in and unplugging status detection method also includes: performing gun-pulling power-off protection control according to the corresponding judgment result of the analog signal plug-in and unplugging status judgment process; the above-mentioned method of performing gun-pulling power-off protection control includes: if the corresponding judgment result of the analog signal plug-in and unplugging status judgment process is that the charging gun is in the unplugged state, then controlling the charging gun to cut off power.
[0036] like Figure 1 The schematic diagram of the principle of the charging gun plug-in status detection method of this embodiment is shown. It includes CC1 sampling filter module, plug-in status detection module 1, isolation module 1, plug-in status detection module 2, isolation module 2, CPU module and DC contactor control module. The charging gun plug-in status detection adopts the combination of plug-in status detection module 1 and plug-in status detection module 2.
[0037] The voltage signal output by the CC1 sampling and filtering module is respectively connected to the plug-in and unplug-in state detection module 1 and the plug-in and unplug-in state detection module 2. The CC1 sampling and filtering module includes a resistor voltage divider circuit and an RC passive filtering circuit.
[0038] The function of the plug-in status detection module 1 is to realize the analog signal plug-in status judgment process. The module uses a comparator to determine whether the CC1 voltage is within the voltage range of the gun plug-in state, and converts the CC1 voltage into an IO level signal indicating the gun state. A high level indicates that the gun is plugged in, and a low level indicates that the gun is not plugged in. The output of the comparator is connected to the isolation module 1.
[0039] When the plug-in status detection module 1 determines that the charging gun is in the unplugged state, the signal output to the DC contactor control module is 12V, and the DC contactor control module drives the DC contactor to disconnect immediately to prevent personal injury from the charging power supply and damage to the vehicle battery. The DC contactor is arranged between the charging power supply and the charging gun. The DC contactor controls the output of the charging power supply to the charging gun. If an abnormal situation occurs during the charging process, the DC contactor is immediately disconnected to interrupt the charging power supply output. Specifically, the DC contactor arranged between the charging power supply and the charging gun belongs to the prior art, so it will not be repeated here.
[0040] The method for detecting the plug-in and unplug state of the charging gun of this embodiment determines the value of the plug-in connection state voltage from the digital signal converted from the plug-in connection state voltage by: obtaining the digital signal conversion results obtained by converting the plug-in connection state voltage multiple times in the digital signal plug-in and unplug state judgment process, removing the maximum and minimum values in the conversion results, taking the average value of the remaining conversion results, and calculating the plug-in connection state voltage value using the average value. The method for detecting the plug-in and unplug state of the charging gun of this embodiment performs digital filtering processing on the digital signal conversion results obtained in the digital signal plug-in and unplug state judgment process.
[0041] Specifically, the CPU module determines whether the judgment results obtained by the analog signal plug-in status judgment process and the digital signal plug-in status judgment process are the same, and performs the digital signal plug-in status judgment process; an example of performing the digital signal plug-in status judgment process by the CPU module is as follows Figure 2 As shown, after power-on, AD conversion is first started according to the preset time. After the conversion is completed, the CPU module reads the conversion result and performs digital filtering and accumulates the number of AD conversions (that is, the digital signal conversion result obtained by the gun plug connection state voltage conversion is obtained multiple times). When the number of conversions reaches 10 times, the maximum and minimum values in the conversion result (that is, the digital signal conversion result obtained by the gun plug connection state voltage conversion) are removed, and the remaining 8 conversion results are averaged. The average value is used, combined with the circuit design parameters and the range of the AD converter, to calculate the CC1 voltage (that is, the gun plug connection state voltage value).
[0042] In the charging gun plug-in status detection method of the present embodiment, the plug-in connection status voltage of the charging pile end used for the analog signal plug-in status judgment process and the digital signal plug-in status judgment process is a voltage signal after filtering the collected plug-in connection status voltage of the charging pile end, thereby reducing the noise caused by voltage sampling.
[0043] Specifically, the CC1 sampling filter module works as follows: Figure 3 As shown, it includes a resistor voltage divider circuit and an RC passive filter circuit. R1, the charging gun and the electric vehicle end-to-ground resistor form a voltage divider circuit. After the gun is plugged in, the CC1 voltage is 4V, and after the gun is unplugged, the CC1 voltage is 6V or 12V. The voltage divider resistor R1 is 1kΩ. R2 and C1 form a filter circuit, which is used to filter the collected voltage of the charging pile end in the plug-in connection state; the resistor R2 is 10kΩ, the capacitor C1 is 0.1uF, and the filter circuit is used to filter out high-frequency interference.
[0044] In the analog signal plug-in and unplug-out state judgment process, the charging gun plug-in and unplug-out state detection method of this embodiment uses a comparator circuit to judge whether the analog signal size corresponding to the plug-in connection state voltage of the charging pile end is within the set analog voltage value range corresponding to the plug-in or unplug-out state, that is, the plug-in and unplug-out state is judged by the hardware circuit, and the corresponding method for obtaining the judgment result of the plug-in and unplug-out state includes:
[0045] The upper threshold comparator and the lower threshold comparator in the comparator circuit are used to determine whether the analog signal size corresponding to the plug-in connection state voltage of the charging pile end is less than the upper threshold of the set analog voltage value range corresponding to the plug-in state and greater than the lower threshold of the set analog voltage value range corresponding to the plug-in state; the upper threshold is greater than the lower threshold;
[0046] If it is judged that the size of the above analog signal is smaller than the upper limit threshold of the set analog voltage value range corresponding to the gun plugged state and larger than the lower limit threshold of the set analog voltage value range corresponding to the gun plugged state, the comparator circuit outputs the level signal corresponding to the gun plugged state as the judgment result of the plugging and unplugging state, otherwise it outputs the level signal corresponding to the gun unplugging state as the judgment result of the plugging and unplugging state.
[0047] Since the charging gun plug-in and unplug status detection method of this embodiment uses the CPU module to determine whether the judgment results obtained by the analog signal plug-in and unplug status judgment process and the digital signal plug-in and unplug status judgment process are the same, the level signal corresponding to the judgment result obtained by the analog signal plug-in and unplug status judgment process is transmitted to the CPU module after passing through the first isolation module, thereby avoiding the electrical circuit including the comparator circuit from affecting the CPU module.
[0048] Taking a specific circuit for realizing the comparator loop function as an example, the comparator loop involved in the analog signal plug-in status judgment process in this embodiment is as follows: Figure 4As shown in the figure, the plugging and unplugging state detection module 1 adopts an analog circuit detection method (i.e., a comparator circuit), including a lower limit threshold comparator U1 and an upper limit threshold comparator U2. U1 and U2 use LM393 voltage comparators; the lower limit threshold of the set analog voltage value range corresponding to the gun plugging state, that is, the Vref1 voltage is 3.2V; the upper limit threshold of the set analog voltage value range corresponding to the gun plugging state, that is, the Vref2 voltage is 4.8V. The comparator U1 judges whether the CC1 voltage is greater than Vref1, and the comparator U2 judges whether the CC1 voltage is less than Vref2. If the CC1 voltage Vref1 < Vcc1 < Vref2, the plugging and unplugging state detection module 1 outputs a high-level signal of 12V (i.e., the level signal corresponding to the gun plugging state), and outputs a low-level signal in other cases (i.e., the level signal corresponding to the gun unplugging state). The output level signal is connected to the isolation module 1. The isolation module 1 consists of R3, R4, and optocoupler U3. Among them, the resistance R3 is 1.5kΩ, the resistance R4 is 10kΩ, and the optocoupler U3 uses TLP521. When in the gun plugging state, the output voltage of the isolation module 1 is 0V, and when in the gun unplugging state, the output voltage of the isolation module 1 is 12V. The output signal is divided into two paths. One path is connected to the DC contactor control module after passing through R5 and D1. Among them, the resistance R5 is 4.7kΩ and D1 is 1N4148. The other path is output as a level signal with a voltage level of 3.3V after level conversion and inversion, and the output signal is connected to the IO port of the CPU module. The level conversion and inversion circuit consists of R6, R7, R8, R9, and Q1. The resistances R6 and R7 are both 4.7kΩ, the resistance R8 is 10kΩ, the resistance R9 is 1.5kΩ, and Q1 is a triode S8050. When in the gun plugging state, the voltage output to the IO port of the CPU module is 3.3V, and when in the gun unplugging state, the voltage output to the IO port of the CPU module is 0V.
[0049] The method for detecting the plugging and unplugging state of the charging gun in this embodiment also performs a digital signal plugging and unplugging state detection process through the CPU module; the digital signal obtained by converting the voltage of the above gun plugging connection state is the signal input to the CPU module after AD conversion and then passing through the second isolation module.
[0050] Specifically, the plugging and unplugging state detection module 2 adopts the method of controlling the AD converter by the CPU module to perform AD conversion on the CC1 voltage analog signal, and converts it into a digital quantity representing the magnitude of the CC1 voltage, such as Figure 5As shown. The output interface of the plug-in status detection module 2 adopts a serial SPI bus, and the SPI bus is connected to the CPU module through the isolation module 2 (i.e., the second isolation module). The AD conversion module adopts an 8-bit or 12-bit AD converter with an SPI bus interface. The SPI bus has a total of 4 signals, including TCLK, TDI, TCS, and TDO. Each signal is isolated by the isolation module 2, and photoelectric isolation is adopted. The isolation module 2 includes isolation circuits for TCLK signal, TDI signal, TCS signal, and TDO signal; the isolation circuit of the TCLK signal is composed of R10, U4, and R11, the isolation circuit of the TDI signal is composed of R12, U5, and R13, the isolation circuit of the TCS signal is composed of R14, U6, and R15, and the isolation circuit of the TDO signal is composed of R16, U7, and R17. Among them, R11, R13, R15, and R17 are all 510Ω, R10, R12, R14, and R16 are all 4.7kΩ, and U4, U5, U6, and U7 use the photocoupler TLP521. The CPU module controls the AD converter to start the conversion regularly through the SPI bus. After the conversion is completed, the CPU module reads the conversion result and performs digital filtering and calculation, and finally calculates the voltage of CC1 to determine whether the CC1 voltage is within the voltage range of the plug-in state. Then, combined with the output state of the plug-in state detection module 1, the results of the two detection methods are comprehensively processed to determine the plug-in state of the charging gun.
[0051] Among them, the charging gun plug-in and unplug state detection method of this embodiment determines the value of the above-mentioned plug-in connection state voltage according to the digital signal obtained by converting the above-mentioned plug-in connection state voltage, and determines whether the value is within the set digital voltage value range corresponding to the plug-in or unplug state. The corresponding method of obtaining the plug-in state judgment result includes:
[0052] According to the value of the gun plug connection state voltage determined by the digital signal obtained by converting the gun plug connection state voltage, it is judged whether the value is within the set digital voltage value range corresponding to the gun plug state. If the value is within the set digital voltage value range corresponding to the gun plug state, the level signal corresponding to the gun plug state is output as the judgment result of the plug-in and unplug state, otherwise the level signal corresponding to the gun unplug state is output as the judgment result of the plug-in and unplug state.
[0053] In the charging gun plug-in and unplugging status detection method of the present embodiment, the level signal corresponding to the judgment result obtained by the analog signal plug-in and unplugging status judgment process is transmitted to the CPU module after passing through the first isolation module. During the transmission process, the transmitted signal is also level-converted and inverted. The level conversion is used to convert the transmitted high-level signal into a high-level signal of a set level, and continue to transmit (since the transmitted low-level signal and the set low-level signal are both 0, they are not described here). The high-level signal and the low-level signal of the set level are specifically high-level signals and low-level signals that match the voltage level of the IO port of the CPU module; since the IO port of the CPU module can only accept level signals of a 3.3V voltage level, level conversion is used here to convert the level signal of a 12V voltage level into a level signal of a 3.3V voltage level, and at the same time, it also avoids the level signal of the IO port of the CPU module interfering with the control signal of the DC contactor control module of the previous stage; the inversion processing is used to convert the transmitted high-level signal into a low-level signal, or to convert the transmitted low-level signal into a high-level signal. Inverting processing can make the state of the transmitted level signal more closely match the default state preset by the charging pile. However, in other embodiments, the transmitted signal may not be inverted. Therefore, the low-level signal finally transmitted to the CPU module can be obtained by the high-level signal transmitted after level conversion and then inverting processing, or by the high-level signal transmitted after inverting processing and then level conversion, or by the low-level signal transmitted without inverting processing and only level conversion. The high-level signal finally transmitted to the CPU module can be obtained in the same way.
[0054] Specifically, in the digital signal plug-in and unplug state detection process, when the calculated CC1 voltage is greater than 3.2V and less than 4.8V, the judgment result is the gun plugged state, and the output level state of the analog signal plug-in and unplug state judgment process is read at the same time. If the output is a high-level signal, the detection results of the two detection methods are both the gun plugged state, and the gun state is finally determined to be the gun plugged state. If the CC1 voltage is not within the range of 3.2V to 4.8V, the judgment result of the digital signal plug-in and unplug state detection process is the gun unplugged state, and the output level state of the analog signal plug-in and unplug state judgment process (i.e., the judgment result of the analog signal plug-in and unplug state judgment process) is read at the same time. If the output is a low-level signal, it means that the detection results of the two detection methods are both the gun unplugged state, and the gun state is finally determined to be the gun unplugged state.
[0055] In addition, the isolation module 1 (i.e., the first isolation module) is an isolation circuit composed of a photoelectric coupler. The voltage level of the gun status signal after isolation is 12V, which is divided into two paths. One path is connected to the DC contactor control module after a resistor and a diode in series, and is directly used for power-off protection when the gun is pulled out. The other path is output as a level signal with a voltage level of 3.3V after level conversion and inversion, and is finally connected to the IO input port of the CPU module, that is, it is used for the CPU module to determine whether the judgment results obtained by the analog signal plug-in status judgment process and the digital signal plug-in status judgment process are the same.
[0056] It should be understood that the specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, but do not constitute a limitation of the present invention.
Claims
1. A method for detecting the plug-in and unplug status of a charging gun, characterized in that: include: S1: Obtain corresponding judgment results through the analog signal plug-in and pull-out status judgment process and the digital signal plug-in and pull-out status judgment process respectively; S2: If the judgment results are the same, the plug-in and unplug-out status of the charging gun detected this time is obtained from the judgment results; otherwise, it is determined that the plug-in and unplug-out status of the charging gun is not detected this time; The analog signal plug-in and unplug state judgment process includes: judging through a comparator circuit whether the analog signal size corresponding to the plug-in connection state voltage of the charging pile end is within the set analog voltage value range corresponding to the plug-in or unplug state, and obtaining the plug-in state judgment result accordingly; The digital signal plug-in and unplug status detection process includes: determining the value of the plug-in connection state voltage according to the digital signal obtained by converting the plug-in connection state voltage, judging whether the value is within the set digital voltage value range corresponding to the plug-in or unplug state, and obtaining the plug-in state judgment result accordingly.
2. The method for detecting the plug-in and unplug status of a charging gun according to claim 1, characterized in that: Also includes: Perform gun removal power-off protection control according to the corresponding judgment result of the analog signal plug-in and pull-out status judgment process; The method for performing the gun-pulling power-off protection control includes: if the corresponding judgment result of the analog signal plug-in and pull-out state judgment process is that the charging gun is in the gun-pulling state, then controlling the charging gun to cut off the power.
3. The method for detecting the plug-in and unplug status of a charging gun according to claim 1, characterized in that: The method of determining the value of the gun plug connection state voltage by converting the digital signal obtained by the gun plug connection state voltage includes: obtaining the digital signal conversion results obtained by converting the gun plug connection state voltage for multiple times, removing the maximum value and the minimum value in the conversion results obtained each time, taking the average value of the remaining conversion results, and calculating the gun plug connection state voltage value using the average value.
4. The method for detecting the plug-in and unplug status of a charging gun according to claim 3, characterized in that: The digital signal conversion result obtained by converting the gun plug connection state voltage is obtained by converting the gun plug connection state voltage into a digital signal and then performing digital filtering processing.
5. The method for detecting the plug-in and unplug status of a charging gun according to claim 1, characterized in that: The comparator circuit is used to determine whether the analog signal size corresponding to the plug-in connection state voltage of the charging pile end is within the set analog voltage value range corresponding to the plug-in or unplug-out state, and the corresponding method for obtaining the plug-in and unplug state judgment result includes: The upper threshold comparator and the lower threshold comparator in the comparator circuit are used to determine whether the analog signal size corresponding to the plug-in connection state voltage of the charging pile end is less than the upper threshold of the set analog voltage value range corresponding to the plug-in state and greater than the lower threshold of the set analog voltage value range corresponding to the plug-in state; the upper threshold is greater than the lower threshold; If it is determined that the analog signal size is smaller than the upper threshold of the set analog voltage value range corresponding to the gun plugged state and greater than the lower threshold of the set analog voltage value range corresponding to the gun plugged state, the comparator circuit outputs the level signal corresponding to the gun plugged state as the judgment result of the plugging and unplugging state, otherwise it outputs the level signal corresponding to the gun unplugging state as the judgment result of the plugging and unplugging state.
6. The method for detecting the plug-in and unplug-out status of a charging gun according to claim 1, characterized in that: The CPU module determines whether the judgment results obtained from the analog signal plug-in and pull-out status judgment process and the digital signal plug-in and pull-out status judgment process are the same; The level signal corresponding to the judgment result obtained by the analog signal plug-in status judgment process is transmitted to the CPU module after passing through the first isolation module.
7. The method for detecting the plug-in and unplug status of a charging gun according to claim 1 or 6, characterized in that: The digital signal plug-in and unplug status detection process is performed through the CPU module; the digital signal obtained by the plug-in gun connection status voltage conversion is a signal that is input into the CPU module after AD conversion through the second isolation module.
8. The method for detecting the plug-in and unplug status of a charging gun according to claim 1, characterized in that: The plug-in connection state voltage of the charging pile end used in the analog signal plug-in state judgment process and the digital signal plug-in state judgment process is a voltage signal obtained by filtering the collected plug-in connection state voltage of the charging pile end.
9. The method for detecting the plug-in and unplug status of a charging gun according to claim 1, characterized in that: According to the value of the gun plug connection state voltage determined by the digital signal obtained by converting the gun plug connection state voltage, it is judged whether the value is within the set digital voltage value range corresponding to the gun plug or gun pull state, and the method of obtaining the judgment result of the plug and pull state includes: According to the value of the gun plug connection state voltage determined by the digital signal obtained by converting the gun plug connection state voltage, it is judged whether the value is within the set digital voltage value range corresponding to the gun plug state. If the value is within the set digital voltage value range corresponding to the gun plug state, the level signal corresponding to the gun plug state is output as the judgment result of the plug-in and unplug state, otherwise the level signal corresponding to the gun unplug state is output as the judgment result of the plug-in and unplug state.
10. The method for detecting the plug-in and unplug-out status of a charging gun according to claim 6, characterized in that: During the transmission process of the level signal corresponding to the judgment result obtained by the analog signal plug-in status judgment process to the CPU module after passing through the first isolation module, the transmitted signal is also level-converted to convert the transmitted high-level signal into a high-level signal of a set level, and the transmission continues; during the transmission process of the level signal corresponding to the judgment result obtained by the analog signal plug-in status judgment process to the CPU module after passing through the first isolation module, the transmitted signal is also inverted to convert the transmitted high-level signal into a low-level signal, or to convert the transmitted low-level signal into a high-level signal, and the transmission continues.
Citation Information
Cited By
Charging control circuit
CN120090330A
CC1 detection method for inserting and pulling charging gun
CN121541110A
A method for detecting cc1 of charging gun insertion and extraction
CN121541110B
