Circuit detection point voltage filtering method, switch state detection method and related device

The circuit detection point voltage filtering method addresses the issue of unverified effectiveness in conventional methods by continuously collecting and filtering voltage data, ensuring reliable and accurate switch state detection in new energy vehicle charging stations.

JP7771349B2Active Publication Date: 2025-11-17CHANGCHUN JETTY AUTOMOTIVE PARTS CORPORATION
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2024501986
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-07-23
Filing Date
2022-07-21
Publication Date
2025-11-17
Estimated Expiration
2042-07-21

AI Technical Summary

Technical Problem

Conventional detection point voltage filtering methods fail to verify the effectiveness of voltage filtering, leading to inaccuracies in subsequent control or detection decisions due to voltage jitter, particularly in control pilot units of new energy vehicle charging stations.

Method used

A circuit detection point voltage filtering method that involves continuously collecting multiple voltage data, applying various filtering algorithms, comparing the results, and determining a target voltage value only if the comparison meets a predetermined condition, ensuring the reliability and accuracy of the filtering process.

Benefits of technology

This method effectively verifies the effectiveness of voltage filtering, prevents erroneous control decisions, and enhances the accuracy and reliability of switch state detection in control pilot units, improving the operational stability and reliability of new energy vehicle charging stations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007771349000001
    Figure 0007771349000001
  • Figure 0007771349000002
    Figure 0007771349000002
  • Figure 0007771349000003
    Figure 0007771349000003
Patent Text Reader

Abstract

The present invention provides a circuit detection point voltage filtering method, a switch state detection method and related devices for use in the field of new energy technology, the circuit detection point voltage filtering method includes: continuously collecting a plurality of voltage data at a detection point in a target circuit; respectively obtaining a plurality of voltage filtering values ​​corresponding to the detection point by filtering based on the plurality of voltage data; comparing the plurality of voltage filtering values; and when the corresponding comparison result meets a predetermined condition, determining a voltage target value at the detection point based on the plurality of voltage filtering values. The present invention can effectively verify the effectiveness of the detection point voltage filtering in a circuit, ensure the reliability of the detection point voltage filtering, and effectively improve the accuracy and reliability of subsequent control or detection based on the filtered voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Related Applications

[0001] This application claims priority from a Chinese patent application filed on July 23, 2021, bearing application number 202110839634.6, the contents of which are incorporated herein by reference. [Technical Field]

[0002] The present invention relates to the field of new energy technology, and in particular to a circuit detection point voltage filtering method, a switch state detection method and related devices. [Background technology]

[0003] Detecting point (DP) voltage filtering is a technique that converts analog voltage signals collected at a detecting point in a circuit into digital signals and then filters them to prevent erroneous control decisions for the circuit due to voltage jitter. In particular, for control pilot units for new energy vehicle charging stations, the reliability of voltage filtering at the detecting point is a direct factor in the accuracy of detecting the switch state in the control pilot unit.

[0004] Currently, conventional detection point voltage filtering methods typically use a single filtering circuit or the like to filter out ripples in the voltage, but such methods do not verify the effectiveness of the voltage filtering, and therefore cannot ensure the accuracy of subsequent control or detection based on the filtered voltage. Summary of the Invention

[0005] To address the problems in the prior art, the present invention provides a circuit node voltage filtering method, a switch state detection method, and related devices, which can effectively verify the effectiveness of node voltage filtering in a circuit, ensure the reliability of node voltage filtering, and effectively improve the accuracy and reliability of subsequent control or detection based on the filtered voltage.

[0006] In order to solve the above technical problems, the present invention provides the following technical means.

[0007] According to a first aspect, the present invention provides a circuit detection point voltage filtering method, the circuit detection point voltage filtering method including: continuously collecting a plurality of voltage data at a detection point in a target circuit, obtaining a plurality of voltage filtered values ​​corresponding to the detection point by filtering based on the plurality of voltage data, comparing the plurality of voltage filtered values, and determining a voltage target value at the detection point based on the plurality of voltage filtered values ​​if corresponding comparison results satisfy a predetermined condition.

[0008] According to a second aspect, the present invention provides a switch state detection method, which includes: obtaining a voltage target value at a first detection point after controlling a first switch to be on based on the detection point voltage filtering method, wherein one end of the first switch is connected to a first resistor in a control pilot unit of a charging station and the other end of the first switch is provided with the first detection point; determining whether the voltage target value at the first detection point satisfies a first on condition; and determining that the first switch is currently in an on state if the first on condition is satisfied.

[0009] According to a third aspect, the present invention provides a circuit detection point voltage filtering device, comprising: a voltage collecting module for continuously collecting a plurality of voltage data at one detection point in a target circuit; a voltage filtering module for obtaining a plurality of voltage filtered values ​​corresponding to the detection point by filtering based on the plurality of voltage data; and a microcontroller for comparing the plurality of voltage filtered values ​​and determining a voltage target value at the detection point based on the plurality of voltage filtered values ​​when a corresponding comparison result satisfies a predetermined condition.

[0010] According to a fourth aspect, the present invention provides a switch state detection system, comprising: a node voltage filtering device configured to obtain a voltage target value at a first detection point after controlling a first switch to be on based on the node voltage filtering method, the node voltage filtering device having one end connected to a first resistor in a control pilot unit of a charging station and the other end of the first switch being provided with the first detection point; and a switch state determination module configured to determine whether the voltage target value at the first detection point satisfies a first on condition and, if the first on condition is satisfied, determine that the first switch is currently on.

[0011] According to a fifth aspect, the present invention provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the detection point voltage filtering method or the switch state detection method is realized when the computer program is executed by the processor.

[0012] According to a sixth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, the computer program enabling the detection point voltage filtering method or the switch state detection method to be implemented when the computer program is executed by a processor.

[0013] As can be seen from the above technical solutions, the circuit detection point voltage filtering method, switch state detection method, and related devices according to the present invention include continuously collecting multiple voltage data at a detection point in a target circuit, filtering the multiple voltage data to obtain multiple voltage filtering values ​​corresponding to the detection point, comparing the multiple voltage filtering values, and determining a target voltage value at the detection point based on the multiple voltage filtering values ​​if the corresponding comparison results satisfy a predetermined condition. This effectively verifies the effectiveness of the detection point voltage filtering in the circuit, ensures the reliability of the detection point voltage filtering, effectively and reliably prevents erroneous control decisions on the circuit caused by voltage jitter, and effectively improves the accuracy and reliability of subsequent control or detection based on the filtered voltage. In particular, for control pilot units such as those for new energy vehicle charging stations, this effectively improves the accuracy of switch state detection in the control pilot unit based on the filtered voltage, and effectively improves the stability and reliability of the operation of the control pilot unit for new energy vehicle charging stations. [Brief explanation of the drawings]

[0014] In order to more clearly describe the embodiments of the present invention or the technical means of the prior art, the following briefly describes the drawings used in the description of the embodiments or the prior art. The drawings described below are only some embodiments of the present invention, and it is obvious to those skilled in the art that other drawings can be obtained based on these drawings without any creative efforts.

[0015] FIG. 1 is a first flowchart of a circuit detection point voltage filtering method according to an embodiment of the present invention.

[0016] FIG. 2 is a second flowchart of a circuit detection point voltage filtering method according to an embodiment of the present invention.

[0017] FIG. 3 is a third flowchart of a circuit detection point voltage filtering method according to an embodiment of the present invention.

[0018] FIG. 4 is a fourth flowchart of the circuit detection point voltage filtering method according to an embodiment of the present invention.

[0019] FIG. 5 is a first flowchart of a switch state detection method according to an embodiment of the present invention.

[0020] FIG. 6 is a schematic diagram of an example of a control pilot unit according to an embodiment of the present invention.

[0021] FIG. 7 is a second flowchart of the switch state detection method according to the embodiment of the present invention.

[0022] FIG. 8 is a third flowchart of the switch state detection method according to the embodiment of the present invention.

[0023] FIG. 9 is a fourth flowchart of the switch state detection method according to the embodiment of the present invention.

[0024] FIG. 10 is a structural schematic diagram of a circuit detection point voltage filtering device according to an embodiment of the present invention.

[0025] FIG. 11 is a first structural schematic diagram of a switch state detection system according to an embodiment of the present invention.

[0026] FIG. 12 is a second structural schematic diagram of the switch state detection system according to the embodiment of the present invention.

[0027] FIG. 13 is a flowchart of a switch state detection method performed by a switch state detection system according to an application example of the present invention.

[0028] FIG. 14 is a structural schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0029] In order to clarify the purpose, technical means and advantages of the embodiments of the present invention, the technical means in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. It is clear that the described embodiments are only some embodiments of the present invention, and are not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative labor fall within the protection scope of the present invention.

[0030] It should be noted that the circuit detection point voltage filtering method, switch state detection method and device disclosed in the present invention may be used in any field other than the new energy technology field as well as in the new energy technology field, and the application fields of the circuit detection point voltage filtering method, switch state detection method and related devices and systems disclosed in the present invention are not limited.

[0031] Conventional detection point voltage filtering methods use a single filtering circuit to filter out voltage ripples. However, such methods fail to verify the effectiveness of the voltage filtering, making it difficult to ensure the accuracy of subsequent control or detection based on the filtered voltage. In consideration of these problems, embodiments of the present invention provide a circuit detection point voltage filtering method and device. The circuit detection point voltage filtering method and device continuously collect multiple voltage data sets at a detection point in a target circuit, filter the multiple voltage data sets to obtain multiple voltage filtering values ​​corresponding to the detection point, compare the multiple voltage filtering values, and, if the corresponding comparison results satisfy a predetermined condition, determine a target voltage value at the detection point based on the multiple voltage filtering values. This effectively verifies the effectiveness of the detection point voltage filtering in the circuit, effectively ensures the reliability of the detection point voltage filtering, effectively and reliably prevents erroneous control decisions for the circuit due to voltage jitter, and effectively improves the accuracy and reliability of subsequent control or detection based on the filtered voltage. In particular, for control pilot units of charging stations for new energy vehicles, the accuracy of detecting the switch state in the control pilot unit based on the filtered voltage can be effectively improved, and the operational stability and reliability of the control pilot unit of charging stations for new energy vehicles can be effectively improved.

[0032] More specifically, each of the following examples will be described.

[0033] To solve the problem that the effectiveness of voltage filtering cannot be verified in the conventional detection point voltage filtering method, and therefore the accuracy of subsequent control or detection based on the filtered voltage cannot be ensured, an embodiment of the present invention provides a circuit detection point voltage filtering method. As shown in Figure 1, the circuit detection point voltage filtering method specifically includes the following steps:

[0034] Step 110: Continuously collect multiple voltage data at one detection point in the target circuit.

[0035] In step 110, "continuously collect" means that data is collected a predetermined number of times within a predetermined period. For example, 10 voltage data Vdp1-Vdp2 at one detection point are collected 10 times within 0.3 seconds. 10 get.

[0036] The voltage data is a digital signal, and the process of collecting the digital signal involves collecting a voltage analog signal at a collection point in the target circuit, then converting the voltage analog signal into a digital signal to obtain a digital signal for filtering in the subsequent step 200.

[0037] In one or more embodiments of the present invention, the target circuit refers to all circuits that need to set detection points and perform voltage filtering on the detection points, such as switch circuits. In one specific example of the present invention, the target circuit may refer only to a control pilot unit of a charging station for new energy vehicles. The control pilot unit may refer to a circuit for guiding switch control for a charging station for new energy vehicles.

[0038] Step 120: Obtain a plurality of voltage filtering values ​​corresponding to the detection points by filtering based on the plurality of voltage data.

[0039] In step 120, two or more filtering methods may be selected to process the plurality of voltage data respectively, and voltage filtering values ​​corresponding to the number of detection points equal to the number of the selected filtering methods may be obtained. For example, if four filtering methods A, B, C, and D are selected, filtering results corresponding to the four filtering methods, i.e., voltage filtering values ​​A1, B1, C1, and D1, respectively, may be obtained. In a specific example, the filtering methods may be at least two selected from average filtering, median filtering, post-interpolation filtering, post-dimensionality reduction filtering, and neighborhood average filtering.

[0040] Step 130: Compare the multiple voltage filtering values ​​to obtain corresponding comparison results.

[0041] Step 140: If the comparison result satisfies the predetermined condition, determine a voltage target value at the detection point based on the plurality of voltage filtering values.

[0042] In steps 130 and 140, a specific method for comparing the multiple voltage filtering values ​​may be to obtain a difference between the maximum and minimum values ​​of the multiple voltage filtering values, and use the difference value as a comparison result to determine whether it is smaller than a threshold value such as a predetermined error threshold value. If it is smaller than the threshold value, the target voltage value at the detection point may be determined based on the multiple voltage filtering values.

[0043] A specific method for determining the target voltage value at the detection point based on multiple voltage filtering values ​​may be to calculate the average value of the multiple voltage filtering values ​​and determine this average value as the target voltage value at the detection point, or to select the median value of the multiple voltage filtering values ​​and determine this median value as the target voltage value at the detection point, or to select any one of the multiple voltage filtering values ​​as the target voltage value at the detection point.

[0044] As can be seen from the above description, the method for filtering the detect point voltage according to the embodiment of the present invention can effectively verify the effectiveness of the detect point voltage filtering in the circuit, ensure the reliability of the detect point voltage filtering, effectively and reliably prevent erroneous control judgment of the circuit caused by voltage jitter, and effectively improve the accuracy and reliability of subsequent control or detection based on the filtered voltage. In particular, for the control pilot unit of a new energy vehicle charging station, the method can effectively improve the accuracy of switch state detection in the control pilot unit based on the filtered voltage, and further improve the operational stability and reliability of the control pilot unit of the new energy vehicle charging station.

[0045] In order to provide a reliable processing manner for verifying the validity and reliability of the result of voltage filtering for the detection points in the circuit, one embodiment of the detection point voltage filtering method according to the present invention may further include step 150 after step 130 of the detection point voltage filtering method, as shown in FIG. 2.

[0046] Step 150: If the comparison result does not satisfy the predetermined condition, it is determined that the result of the voltage filtering for the detection point is invalid.

[0047] After step 150, return to step 110 and execute steps 110-130 again, that is, continuously collect multiple voltage data at the detection point again until the reacquired comparison result meets the predetermined condition, and obtain multiple voltage filtering values ​​corresponding to the detection point. Then, execute step 140 to determine the target voltage value at the detection point.

[0048] As can be seen from the above description, the method for filtering voltages at detection points according to the embodiments of the present invention can provide a reliable processing method for verifying the validity and reliability of the results of voltage filtering at detection points in a circuit, further ensuring the reliability of the detection point voltage filtering, effectively and reliably preventing erroneous determination of control over the circuit due to voltage jitter, and effectively improving the versatility of the detection point voltage filtering process.

[0049] In order to reduce circuit complexity and energy consumption, in one embodiment of the method for filtering the sense point voltage according to the present invention, as shown in FIG. 3, step 120 of the method for filtering the sense point voltage may specifically include the following steps:

[0050] Step 121: Using an average value filtering algorithm, average values ​​are calculated for a plurality of voltage data at the detection point, and an average voltage value is obtained as one voltage filtering value at the detection point.

[0051] For example, if the voltage at the detection point is Vdp, n pieces of data are acquired at the detection point, n is a positive integer, and the sum of the n pieces of data is Vdp_sum, then: Vdp_sum=Vdp1+Vdp2+Vdp3+......+Vdp n-1 +Vdp n If the average value of n data is Vdp_ave, Vdp_ave=Vdp_sum / n.

[0052] Step 122: A median calculation is performed on the plurality of voltage data at the detection point using a median filtering algorithm to obtain a voltage median as another voltage filtered value at the detection point.

[0053] For example, the voltage at the detection point is Vdp, n pieces of data at the detection point are acquired, and the following process 1-2 is performed.

[0054] 1. First, the n voltage values ​​at the detection points are sorted in ascending or descending order, and a data combination of the n voltage values ​​newly sorted is obtained.

[0055] 2. Obtain the middle value of n data, i.e., the median Vdp_mid, If n is even, Vdp_mid=(Vdp n / 2 +Vdp (n / 2)+1 ) / 2, If n is odd, Vdp_mid=(Vdp (n / 2)+1 ).

[0056] As can be seen from the above description, the detection point voltage filtering method according to the embodiment of the present invention selects only two filtering methods to perform filtering on multiple voltage data at detection points, thereby ensuring that the validity of the voltage filtering result is verified, and minimizing the amount of calculation and time costs, effectively reducing circuit complexity, and reducing energy waste.

[0057] In order to further reduce the circuit complexity and reduce the energy consumption, in one embodiment of the detection point voltage filtering method according to the present invention, as shown in FIG. 4, step 130 of the detection point voltage filtering method may specifically include the following steps:

[0058] Step 131: Obtain the difference between the average voltage and the median voltage, and determine whether the difference is smaller than the error threshold. If it is smaller than the error threshold, execute step 141, which is a specific implementation of step 140.

[0059] Step 141: Determine a target voltage value at the detection point based on the average voltage value and the median voltage value.

[0060] For example, two values ​​Vdp_ave and Vdp_mid are obtained by the two filtering algorithms in steps 121 and 122, and the two values ​​are subtracted to obtain the difference. If the difference is smaller than the error threshold, the voltage target value at the detection point is determined based on the voltage average value and the voltage median value. If the difference is greater than or equal to the set error threshold, return to step 110.

[0061] A specific method for determining the target voltage value at the detection point based on the average voltage value and the median voltage value may involve calculating the average value of the average voltage value and the median voltage value and determining this average value as the target voltage value at the detection point, or alternatively, either the average voltage value or the median voltage value may be determined as the target voltage value at the detection point.

[0062] As can be seen from the above description, the detection point voltage filtering method according to the embodiment of the present invention determines the target voltage value at the detection point based on the average voltage value and the median voltage value, thereby ensuring that the validity of the voltage filtering result is verified, and further reducing the amount of calculation and time cost, effectively reducing the circuit complexity, and reducing energy waste.

[0063] To address the energy crisis and environmental pollution issues, the development of new energy vehicles is becoming a major trend in countries around the world. For a control pilot unit of a new energy vehicle charging station, the reliability of the charging station's application is determined by detecting the validity of the switch state in the control pilot unit. Conventional detection point voltage filtering methods use a single filtering circuit or the like to filter out voltage ripples, but the validity of the voltage filtering cannot be verified, making it difficult to ensure the accuracy of the control pilot unit's detection of the switch state based on the filtered voltage. In consideration of this problem, embodiments of the present invention provide a switch state detection method and a switch state detection device. The switch state detection method and switch state detection device include: obtaining a target voltage value at a first detection point after controlling a first switch to be on based on the detection point voltage filtering method described in one or more of the above embodiments, wherein one end of the first switch is connected to a first resistor in the control pilot unit of the charging station and the other end of the first switch is provided with a first detection point; determining whether the target voltage value at the first detection point satisfies a first on condition; and, if the first on condition is met, determining that the first switch is currently on. This effectively verifies the effectiveness of the detection point voltage filtering in the circuit, effectively ensures the reliability of the detection point voltage filtering, effectively and reliably prevents erroneous control judgment for the circuit caused by voltage jitter, and effectively improves the accuracy and reliability of switch state detection in the control pilot unit of the new energy vehicle charging station based on the filtered voltage, thereby effectively improving the stability and reliability of the operation of the new energy vehicle charging station.

[0064] More specifically, each of the following examples will be described.

[0065] In the conventional detection point voltage filtering method, a single filtering circuit or the like is used to filter out the ripple in the voltage. However, it is not possible to verify the effectiveness of the voltage filtering, and therefore it is not possible to ensure the accuracy of the detection of the switch state of the control pilot unit based on the filtered voltage. To solve this problem, in one embodiment of the switch state detection method according to the present invention, as shown in FIG. 5 , the switch state detection method specifically includes the following steps:

[0066] Step 210: Based on the detection point voltage filtering method, obtain a voltage target value at the first detection point after controlling a first switch to be turned on, where one end of the first switch is connected to a first resistor in the control pilot unit of the charging station, and the other end of the first switch is provided with a first detection point.

[0067] The control pilot unit of the charging station is a specific embodiment of the target circuit. In step 210, the first detection point is used as the current detection point in the above-mentioned detection point voltage filtering method to perform filtering calculations. For example, steps 110 to 140 are used to perform the following processing:

[0068] A plurality of voltage data at a first detection point in a control pilot unit of the charging station is continuously collected, a plurality of voltage filtering values ​​corresponding to the first detection point are obtained by filtering based on the plurality of voltage data, a corresponding comparison result is obtained by comparing the plurality of voltage filtering values, and if the comparison result satisfies a predetermined condition, a voltage target value Vdp3_last at the first detection point is determined based on the plurality of voltage filtering values.

[0069] In one or more embodiments of the present invention, the first detection point is denoted as DP3 and the first switch is denoted as Sv.

[0070] Step 220: Determine whether the voltage target value at the first detection point satisfies a first on condition. If the first on condition is satisfied, determine that the first switch is currently in an on state.

[0071] If it is determined in step 220 that the target voltage value at the first detection point does not satisfy the first on-condition, it is determined that turning on the first switch has failed, and a notification message indicating this is output. For example, the notification message may be displayed on a display communicatively connected to the switch state detection system, or the notification message may be transmitted from a communication unit provided in the switch state detection system via a third-party server or to a client device owned by the operator.

[0072] Here, the client device carried by the operator may include a smartphone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a personal digital assistant (PDA), an in-vehicle device, a smart wearable device, etc. Here, the smart wearable device may include smart glasses, a smart watch, a smart bracelet, etc. In this way, it is possible to effectively improve the efficiency of notification of switch-on failure messages and the efficiency of maintenance of the control pilot unit of the charging station by the operator.

[0073] The client device may have a communication module (i.e., a communication unit) for connecting to a remote server and realizing data transmission with the server. The server may include a server on the task scheduling center side, or in other implementation scenarios, a server on an intermediate platform, for example, a server on a third-party server platform with a communication link established with the server of the task scheduling center. The server may include a single computer device, a server cluster consisting of multiple servers, or a server structure of distributed devices.

[0074] Communication between the server and the client device can be performed using any suitable network protocol, including protocols not yet invented as of the filing date of this application. Network protocols may include, for example, TCP / IP protocol, UDP / IP protocol, HTTP protocol, HTTPS protocol, etc. Of course, network protocols may also include, for example, RPC protocol (Remote Procedure Call Protocol), REST protocol (Representational State Transfer), etc., which are used on top of the above protocols.

[0075] As can be seen from the above description, the switch state detection method according to the embodiment of the present invention can effectively verify the effectiveness of the detection point voltage filtering in the circuit, effectively ensure the reliability of the detection point voltage filtering, and effectively and reliably prevent erroneous control judgment of the circuit caused by voltage jitter. Furthermore, the accuracy and reliability of the switch state detection in the control pilot unit of the new energy vehicle charging station based on the filtered voltage can be effectively improved, and the stability and reliability of the operation of the new energy vehicle charging station can be effectively improved.

[0076] In order to further improve the application scope of the switch state detection method, in one embodiment of the switch state detection method of the present invention, the charging station is a charging station for new energy vehicles that is compatible with multiple charging protocols.

[0077] That is, the control pilot units referred to in one or more embodiments of the present invention may be any control pilot units of charging stations for new energy vehicles that are compatible with multiple charging protocols.

[0078] In one specific example of the above-mentioned control pilot unit, as shown in Figure 6, the control pilot unit may include a first switch Sv, a first resistor Rv, a power source U2, a second switch S2', a second resistor R4', and a selection switch S2. One end of the first switch Sv is connected to the first resistor Rv in the control pilot unit of a compatible new energy vehicle charging station, and the other end of the first switch Sv is provided with a first detection point DP3 (Detecting Point 3 in Figure 6). The first resistor Rv is connected in series with the power source U2 to form a branch path, and one end of the second switch S2' is connected in series with the second resistor R4' in the control pilot unit to form a first branch path, which is connected in parallel with the branch path where the first resistor Rv is located, and the first branch path is also connected in parallel with the branch path where the third resistor R3' is located. One resistor (i.e., resistor R4c', resistor R4c, and resistor R4) is connected to each of the control points 1-3 corresponding to each charging protocol, which corresponds to one end of the selection switch S2, and the other end of the selection switch S2 is connected to a branch path where a second detection point DP2 (Detecting Point 2 in FIG. 6) is located. The branch path where the second detection point DP2 is located is also connected to the other end of the second switch S2', and the selection switch S2 is provided on the second branch path, which is connected in parallel with each of the first branch path and the branch path where the first resistor Rv is located.

[0079] The first switch Sv is a connection state detection switch for detecting the connection state, the second switch S2′ is a charge control switch for controlling charging, and the selection switch S2 is a protocol compatibility switch for compatibility with protocols.

[0080] In order to further improve the accuracy of detecting the state of the first switch, in one embodiment of the switch state detection method of the present invention, the first on condition in the switch state detection method specifically includes: the target voltage value at the first detection point obtained after controlling the first switch to be on is not equal to the target voltage value at the first detection point obtained in advance before controlling the first switch to be on; and the target voltage value at the first detection point obtained after controlling the first switch to be on is within a voltage range corresponding to any charging protocol.

[0081] In order to provide a method for identifying a charging protocol, in one embodiment of the switch state detection method of the present invention, as shown in FIG. 7, after step 220 in the above switch state detection method, the method specifically further includes the following steps:

[0082] Step 230: Identify a target charging protocol corresponding to a voltage target value based on the predetermined voltage ranges corresponding to each charging protocol.

[0083] As can be seen from the above description, the switch state detection method according to the embodiment of the present invention can improve the reliability of turning on the selection switch, meet the compatibility requirements of the charging station for compatible new energy vehicles, and further improve the application reliability and stability of the charging station for compatible new energy vehicles.

[0084] In order to improve the comprehensiveness and effectiveness of switch state detection, in one embodiment of the switch state detection method of the present invention, as shown in FIG. 8, after step 230 in the above switch state detection method, the following steps are specifically further included:

[0085] Step 241: Receive an ON command for the second switch to control the second switch to ON, where one end of the second switch is connected in series with a second resistor in the control pilot unit to form a first branch path, and the first branch path is connected in parallel with the branch path where the first resistor is located.

[0086] Step 242: Obtain a voltage target value at a second detection point based on a detection point voltage filtering method, where the branch where the second detection point is located is connected to the first branch.

[0087] Step 243: Determine whether the voltage target value at the second detection point satisfies the second on condition. If the second on condition is satisfied, determine that the second switch is currently in the on state.

[0088] In order to further improve the accuracy of the second switch state detection, in one embodiment of the switch state detection method of the present invention, the second on condition in the switch state detection method specifically includes that the target voltage value at the second detection point obtained after the second switch is controlled to be on is not equal to the target voltage value at the second detection point obtained in advance before the second switch is controlled to be on.

[0089] In order to improve the comprehensiveness and effectiveness of the selection switch state detection, in one embodiment of the switch state detection method of the present invention, as shown in FIG. 9, after step 243 in the above switch state detection method, the following step is specifically further included:

[0090] Step 251: Receive an ON command for a selection switch, where the selection switch is provided in a second branch path, and the second branch path is connected in parallel with each of the first branch path and the branch path in which the first resistor is located.

[0091] Step 252: Based on the target charging protocol, control the selection switch to switch to the control point corresponding to the target charging protocol, where one end of the selection switch is connected to each control point corresponding to each charging protocol, and the other end of the selection switch is connected to the branch path where the second detection point is located.

[0092] Step 253: Re-obtain the voltage target value at the second detection point based on the detection point voltage filtering method.

[0093] Step 254: Determine whether the voltage target value at the second detection point obtained after controlling the selection switch to be on satisfies a third on condition. If the third on condition is satisfied, determine that the selection switch is currently in the on state.

[0094] As can be seen from the above description, the switch state detection method according to the embodiment of the present invention can improve the reliability of turning on the selection switch, meet the compatibility requirements of the charging station for compatible new energy vehicles, and further improve the application reliability and stability of the charging station for compatible new energy vehicles.

[0095] In order to further improve the accuracy of detecting the state of the selective switch, in one embodiment of the switch state detection method of the present invention, the third on condition in the switch state detection method specifically includes that the target voltage value at the second detection point obtained after controlling the selective switch to be on is not equal to the target voltage value at the second detection point obtained in advance before controlling the selective switch to be on.

[0096] Based on this, the ChaoJi charging system can solve a series of defects and problems existing in existing charging systems and provide the world with a unified, safe, reliable, and low-cost charging system solution. The charging protocols mentioned in one or more embodiments of the present invention may include at least the ChaoJi charging standard, the GB2015 charging standard, and the CHAdeMO (Charge de move, Japanese electric vehicle rapid charging standard) charging standard. That is, a compatible new energy vehicle charging station that supports multiple charging protocols can support the ChaoJi charging standard, the GB2015 charging standard, and the CHAdeMO charging standard.

[0097] Based on this, in the above switch state detection method, the voltage range corresponding to the ChaoJi charging standard is (5.64V, 6.36V), the voltage range corresponding to the GB2015 charging standard is (7.54V, 8.45V), and the voltage range corresponding to the CHAdeMO charging standard is (1.86V, 2.14V).

[0098] As a specific example of the first on-condition that the voltage target value at the first detection point obtained after controlling the first switch to be on is within the voltage range corresponding to any charging protocol, the voltage target value Vdp3 at the first detection point DP3 is within any of the ranges of 5.64V < Vdp3 < 6.36V (ChaoJi), 7.54V < Vdp3 < 8.45V (GB2015), and 1.86V < Vdp3 < 2.14V (CHAdeMO).

[0099] Thereby, the control point 1 corresponding to one end of the selection switch S2 in FIG. 6 is a control point corresponding to the CHAdeMO charging standard, the control point 3 is a control point corresponding to the GB2015 charging standard, and the control point 2 is a control point corresponding to the CHAdeMO charging standard.

[0100] In the conventional detection point voltage filtering method, the effectiveness of voltage filtering cannot be verified, so in order to solve problems such as the inability to ensure the accuracy of subsequent control or detection based on the filtered voltage, an embodiment of the present invention provides a circuit detection point voltage filtering device for realizing any or all of the content of the circuit detection point voltage filtering method. As shown in FIG. 10, the circuit detection point voltage filtering device specifically includes a voltage collection module 11 that continuously collects a plurality of voltage data at one detection point in the target circuit, a voltage filtering module 12 that respectively obtains a plurality of voltage filtering values corresponding to the detection point by filtering based on the plurality of voltage data, and a microcontroller 13 that compares the plurality of voltage filtering values and determines the voltage target value at the detection point based on the plurality of voltage filtering values when the corresponding comparison result satisfies a predetermined condition.

[0101] In the voltage collection module 11, "continuously collecting" refers to performing data collection a predetermined number of times within a predetermined period. For example, collect 10 times within 0.3S to obtain 10 voltage data Vdp1 - Vdp 10 to obtain.

[0102] The voltage data is a digital signal, and the process of collecting the digital signal involves collecting a voltage analog signal at a collection point in the target circuit, then converting the voltage analog signal into a digital signal to obtain a digital signal for subsequent filtering.

[0103] The voltage filtering module 12 may select two or more filtering methods to process the plurality of voltage data respectively, and obtain voltage filtering values ​​corresponding to the number of detection points equal to the number of the selected filtering methods. For example, if four filtering methods A, B, C, and D are selected, filtering results corresponding to the four filtering methods, i.e., voltage filtering values ​​A1, B1, C1, and D1, respectively, may be obtained. In a specific example, the filtering methods may be selected from at least two of average filtering, median filtering, post-interpolation filtering, post-dimensionality reduction filtering, and neighborhood average filtering.

[0104] In the microcontroller 13, a specific method for comparing a plurality of voltage filtered values ​​may be to obtain the difference between the maximum and minimum values ​​of the plurality of voltage filtered values, and determine whether the difference is smaller than a threshold value such as a predetermined error threshold value as a comparison result, and if it is smaller than the threshold value, determine a voltage target value at the detection point based on the plurality of voltage filtered values.

[0105] A specific method for determining the target voltage value at the detection point based on multiple voltage filtering values ​​may be to calculate the average value of the multiple voltage filtering values ​​and determine this average value as the target voltage value at the detection point, or to select the median value of the multiple voltage filtering values ​​and determine this median value as the target voltage value at the detection point, or to select any one of the multiple voltage filtering values ​​as the target voltage value at the detection point.

[0106] The embodiment of the detection point voltage filtering device according to the present invention can be specifically used to execute the process flow of the embodiment of the detection point voltage filtering method in the above embodiment. Regarding the function of the detection point voltage filtering device, reference can be made to the detailed description of the embodiment of the detection point voltage filtering method, and therefore the description will be omitted here.

[0107] As can be seen from the above description, the detection point voltage filtering device according to the embodiment of the present invention can effectively verify the effectiveness of the detection point voltage filtering in a circuit, effectively ensure the reliability of the detection point voltage filtering, effectively and reliably prevent erroneous control judgment of the circuit caused by voltage jitter, and effectively improve the accuracy and reliability of subsequent control or detection based on the filtered voltage. In particular, for a control pilot unit of a new energy vehicle charging station, the detection accuracy of the switch state in the control pilot unit based on the filtered voltage can be effectively improved, and the operational stability and reliability of the control pilot unit of the new energy vehicle charging station can be effectively improved.

[0108] In order to provide a reliable processing method for verifying the validity and reliability of the voltage filtering result for a detection point in a circuit, in one embodiment of the detection point voltage filtering device of the present invention, if the comparison result does not satisfy the predetermined condition, the microcontroller 13 in the detection point voltage filtering device further performs the following process: controls the voltage collecting module to continuously collect multiple voltage data at the detection point again, and controls the voltage filtering module to repeatedly obtain multiple voltage filtering values ​​corresponding to the detection point again, until the comparison result obtained again by the microcontroller satisfies the predetermined condition and the target voltage value at the detection point is determined.

[0109] As can be seen from the above description, the detection point voltage filtering device according to the embodiment of the present invention can provide a reliable processing method for verifying the validity and reliability of the voltage filtering result for a detection point in a circuit, thereby further ensuring the reliability of the detection point voltage filtering, effectively and reliably preventing erroneous determination of control for the circuit due to voltage jitter, and effectively improving the versatility of the detection point voltage filtering process.

[0110] In order to reduce circuit complexity and energy waste, in one embodiment of the detection point voltage filtering device of the present invention, the voltage filtering module 12 in the detection point voltage filtering device may specifically include: an average value filtering unit that uses an average value filtering algorithm to perform average value calculation on multiple voltage data at the detection point, thereby obtaining a voltage average value as one voltage filtered value at the detection point; and a median filtering unit that uses a median filtering algorithm to perform median calculation on multiple voltage data at the detection point, thereby obtaining a voltage median value as another voltage filtered value at the detection point.

[0111] As can be seen from the above description, the detection point voltage filtering device according to the embodiment of the present invention selects only two filtering methods to perform filtering on multiple voltage data at detection points, thereby ensuring that the validity of the voltage filtering result is verified, and minimizing the amount of calculation and time costs, effectively reducing circuit complexity, and reducing energy waste.

[0112] To further reduce the circuit complexity and the energy consumption, in one embodiment of the detection point voltage filtering device according to the present invention, the microcontroller 13 of the detection point voltage filtering device may specifically include an error determination unit for obtaining the difference between the average voltage and the median voltage, determining whether the difference is smaller than an error threshold, and if so, determining the target voltage value at the detection point according to the average voltage and the median voltage.

[0113] As can be seen from the above description, the detection point voltage filtering device according to the embodiment of the present invention determines the target voltage value at the detection point based on the average voltage value and the median voltage value, thereby ensuring that the validity of the voltage filtering result is verified, and further reducing the amount of calculation and time cost, effectively reducing the circuit complexity, and reducing energy waste.

[0114] In the conventional detection point voltage filtering method, a single filtering circuit or the like is used to filter out ripple in the voltage, but the effectiveness of the voltage filtering cannot be verified, and therefore the accuracy of the detection of the switch state of the control pilot unit based on the filtered voltage cannot be ensured. To solve this problem, the present invention provides an embodiment of a switch state detection system for implementing all or part of the above switch state detection method. As shown in Figure 11, the switch state detection system specifically includes a detection point voltage filtering device 21 and a switch state determination module 22.

[0115] The detection point voltage filtering device 21 controls a first switch to be on based on a detection point voltage filtering method, and then obtains a voltage target value at the first detection point, where one end of the first switch is connected to a first resistor in the control pilot unit of the charging station, and the other end of the first switch is provided with a first detection point.

[0116] The switch state determination module 22 determines whether the voltage target value at the first detection point satisfies a first on condition, and if the first on condition is satisfied, determines that the first switch is currently in an on state.

[0117] If the switch state determination module 22 determines that the voltage target value at the first detection point does not satisfy the first on-condition, it outputs a notification message to that effect. For example, the notification message may be displayed on a display communicatively connected to the switch state detection system, or may be transmitted from a communication unit provided in the switch state detection system via a third-party server or to a client device owned by an operator.

[0118] The embodiment of the switch state detection system according to the present invention can be specifically used to execute the processing flow of the embodiment of the switch state detection method in the above embodiment, and as for its functions, it is sufficient to refer to the detailed explanation of the embodiment of the switch state detection method described above, so explanation will be omitted here.

[0119] As can be seen from the above description, the switch state detection system according to the embodiment of the present invention can effectively verify the effectiveness of the detection point voltage filtering in the circuit, effectively ensure the reliability of the detection point voltage filtering, and effectively and reliably prevent erroneous control judgment of the circuit caused by voltage jitter. Furthermore, the accuracy and reliability of the switch state detection in the control pilot unit of the new energy vehicle charging station based on the filtered voltage can be effectively improved, and the stability and reliability of the operation of the new energy vehicle charging station can be effectively improved.

[0120] In order to further improve the application scope of the switch state detection method, in one embodiment of the switch state detection system of the present invention, the charging station is a charging station for new energy vehicles that is compatible with multiple charging protocols.

[0121] In order to further improve the accuracy of the state detection of the first switch, in one embodiment of the switch state detection system of the present invention, the first on condition in the switch state detection system specifically includes: the target voltage value at the first detection point obtained after controlling the first switch to be on is not equal to the target voltage value at the first detection point obtained in advance before controlling the first switch to be on; and the target voltage value at the first detection point obtained after controlling the first switch to be on is within a voltage range corresponding to any charging protocol.

[0122] To provide a method for identifying a charging protocol, in one embodiment of the switch state detection system of the present invention, as shown in FIG. 12 , the switch state detection system specifically further includes a protocol identification module 23 that identifies a target charging protocol corresponding to a voltage target value based on a predetermined voltage range corresponding to each charging protocol.

[0123] As can be seen from the above description, the switch state detection system according to the embodiment of the present invention can improve the reliability of turning on the selection switch, meet the compatibility requirements of compatible new energy vehicle charging stations, and further improve the reliability and stability of the application of compatible new energy vehicle charging stations.

[0124] In order to improve the comprehensiveness and effectiveness of switch state detection, in one embodiment of the switch state detection system of the present invention, the circuit detection point voltage filtering device in the switch state detection system comprises a voltage collection module 11, a voltage filtering module 12 and a microcontroller 13, which are connected in series.

[0125] The microcontroller 13 receives an ON command for the second switch and controls the second switch to be ON, where one end of the second switch is connected in series with a second resistor in the control pilot unit to form a first branch path, and the first branch path is connected in parallel to the branch path in which the first resistor is located.

[0126] The sequentially connected voltage acquisition module 11, voltage filtering module 12 and microcontroller 13 further obtain the voltage target value at the second detection point based on the above detection point voltage filtering method, where the branch path where the second detection point is located is connected to the first branch path.

[0127] The switch state determination module 22 further determines whether the voltage target value at the second detection point satisfies a second on condition, and if the second on condition is satisfied, determines that the second switch is currently in an on state.

[0128] In order to further improve the accuracy of the second switch state detection, in one embodiment of the switch state detection system of the present invention, the second on condition in the switch state detection method specifically includes that the target voltage value at the second detection point obtained after controlling the second switch to be on is not equal to the target voltage value at the second detection point obtained in advance before controlling the second switch to be on.

[0129] In order to improve the comprehensiveness and effectiveness of the selection switch state detection, in one embodiment of the switch state detection system of the present invention, the microcontroller 13 in the switch state detection system further receives an ON command for the selection switch, where the selection switch is provided in a second branch path, and the second branch path is connected in parallel with each of the first branch path and the branch path where the first resistor is located.

[0130] In addition, the microcontroller 13 controls the selection switch to switch to the control point corresponding to the target charging protocol based on the target charging protocol, where one end of the selection switch is connected to each control point corresponding to each charging protocol, and the other end of the selection switch is connected to the branch path where the second detection point is located.

[0131] The voltage acquisition module 11, the voltage filtering module 12 and the microcontroller 13 connected in series further obtain the voltage target value at the second detection point again based on the detection point voltage filtering method.

[0132] The switch state determination module 14 further determines whether the voltage target value at the second detection point acquired after controlling the selection switch to be on satisfies a third on condition, and if the third on condition is satisfied, determines that the selection switch is currently in an on state.

[0133] As can be seen from the above description, the switch state detection system according to the embodiment of the present invention can improve the reliability of turning on the selection switch, meet the compatibility requirements of the charging station for compatible new energy vehicles, and further improve the reliability and stability of the application of the charging station for compatible new energy vehicles.

[0134] In order to further improve the accuracy of the detection of the state of the selective switch, in one embodiment of the switch state detection system of the present invention, the third on condition in the switch state detection system specifically includes that the target voltage value at the second detection point obtained after the selective switch is controlled to be on is not equal to the target voltage value at the second detection point obtained in advance before the selective switch is controlled to be on.

[0135] Based on this, each of the above charging protocols may include at least the ChaoJi charging standard, the GB2015 charging standard, and the CHAdeMO (Charge de move: Japanese electric vehicle rapid charging standard) charging standard, that is, a compatible new energy vehicle charging station that can support multiple charging protocols can support the ChaoJi charging standard, the GB2015 charging standard, and the CHAdeMO charging standard.

[0136] Therefore, in the switch state detection system, the voltage range corresponding to the ChaoJi charging standard is (5.64V, 6.36V), the voltage range corresponding to the GB2015 charging standard is (7.54V, 8.45V), and the voltage range corresponding to the CHAdeMO charging standard is (1.86V, 2.14V).

[0137] To further explain the technical solution, the present invention further provides a specific application example of implementing a switch state detection method using a switch state detection system. For charging stations that comply with ChaoJi (ChaoJi charging standard), GB2015, and CHAdeMO (Charge de move: Japan electric vehicle fast charging standard), in order to reduce circuit complexity and energy waste, the application example of the present invention provides a logic algorithm to determine the switch state based on the voltage of detection point DP (including DP2 and DP3). The specific functions are described below.

[0138] As shown in FIG. 12, the switch state detection system includes a voltage collection module 11, a voltage filtering module 12, a switch state determination module 22, a protocol identification module 23, and a microcontroller 13.

[0139] (1) The voltage acquisition module 11 is responsible for acquiring the voltage at the DP and converting the voltage analog signal at the DP into a digital signal.

[0140] (2) The voltage filtering module 12 filters the digital signal of the voltage at the obtained DP to prevent the system from making an erroneous decision due to voltage jitter.

[0141] (3) The switch state determination module 22 determines the switch state (on or off) based on the change in voltage at DP2.

[0142] (4) The protocol identification module 23 determines the voltage at DP3 using a microcontroller, and if the voltage at DP3 is greater than 5.64 and less than 6.36, it identifies the current as the ChaoJi standard; if the voltage at DP3 is greater than 7.54 and less than 8.45, it identifies the current as the GB2015 standard; and if the voltage at DP3 is greater than 1.86 and less than 2.14, it identifies the current as the CHAdeMO standard.

[0143] (5) The microcontroller 13 obtains the true value of the voltage at the DP by obtaining the voltage value at the DP through a filtering algorithm, and performs a logical operation to determine the state of the switch.

[0144] Based on FIG. 12, the switch state detection system may further include a switch control unit for controlling the switch to be turned on or off by the microcontroller 13.

[0145] Based on the above switch state detection system, the application example of the present invention further provides a switch state detection method by the switch state detection system, which specifically includes the following steps, as shown in Figure 13:

[0146] Step 1: After powering on, wait for the transmission of an ON command for Sv from the CCU (on-board charging control unit). After the ON command is sent from the CCU, the microcontroller unit controls Sv to be ON, and the switch control unit executes the ON of Sv.

[0147] Step 2: Measure the voltage value at DP3 and then filter the voltage at DP3 to obtain a stable voltage value. The microcontroller reads and records the current Vdp3_last voltage before Sv is turned on, and reads the voltage as Vdp3 after Sv is turned on. For example, if Vdp3_last is equal to Vdp3, or if 5.64V < Vdp3 < 6.36V (Chaoji), 7.54V < Vdp3 < 8.45V (GB2015), 1.86V < Vdp3 < 2.14V (CHAdeMO) is not within the range, the turn-on of Sv fails and it is determined to be in the off state.

[0148] Step 3: If the voltage value at DP3 is within the above range, it is determined that the turn-on of Sv is successful, and the standard to be currently executed is determined based on the voltage value.

[0149] Step 4: After the standard is determined, wait for the transmission of the turn-on command of S2’ from the CCU. After the turn-on command of S2’ is transmitted from the CCU, measure the voltage at DP2, filter the voltage, and record the current voltage value at DP2.

[0150] The microcontroller controls S2’ to turn on. After the switch controller executes the turn-on of S2’, measure the voltage at DP2 and then filter it. If the voltage at DP2 after controlling S2’ to turn on is not equal to that before controlling S2’ to turn on, it is determined that S2’ is turned on; otherwise, it is determined that the turn-on of S2’ fails.

[0151] Step 5: After S2’ is turned on, wait for the transmission of the turn-on command of S2 from the CCU. After the turn-on command of S2 is transmitted from the CCU, measure the voltage at DP2 and then filter it. The microcontroller determines the position of the turn-on of S2 based on different protocols and controls S2 to turn on, and the switch controller executes the turn-on of S2. Measure the voltage at DP2 and then filter it. If the voltage at DP2 after controlling S2 to turn on is not equal to that before controlling S2’ to turn on, it is determined that S2 is turned on; otherwise, it is determined that the turn-on of S2 fails.

[0152] The filtering algorithm in step 2 above is explained below.

[0153] To ensure the accuracy of the data, two different filtering algorithms are used, and the output values ​​after filtering are compared. If the difference between the values ​​output by the two methods is less than a predetermined error threshold, the data is considered to be correct.

[0154] (1) Mean Value Algorithm Let Vdp be the voltage at DP (DP2, DP3), take n pieces of data from DP, let Vdp_sum be the sum of the n pieces of data, and let Vdp_ave be the average value of the n pieces of data. Vdp_sum=Vdp1+Vdp2+Vdp3+…+Vdp n-1 +Vdp n Vdp_ave=Vdp_sum / n.

[0155] (2) Median filtering algorithm The voltage of DP (DP2, DP3) is Vdp, and n pieces of data of DP are taken.

[0156] 1. First, the n voltage values ​​of the DP are sorted in ascending or descending order, and new combinations of n data are obtained. 2.Get the median value of n pieces of data. 3. If the median is Vdp_mid, If n is even, Vdp_mid=(Vdp n / 2 +Vdp (n / 2)+1 ) / 2 If n is odd, Vdp_mid=(Vdp (n / 2)+1 ). 3.6.4 The two filtering algorithms obtain two values, Vdp_ave and Vdp_mid, and then subtract these two values. If the difference is greater than a predetermined threshold, it is determined that the data is incorrect and the set of data is discarded. The microcontroller then reacquires n pieces of data through the filtering module to execute the above algorithm. Reacquisition means collecting a group of n pieces of data from the DP, performing filtering calculations, and if the data is incorrect, reacquiring a new group of n pieces of data.

[0157] In terms of hardware, the conventional method for filtering voltage at a detection point cannot verify the effectiveness of voltage filtering, and therefore the accuracy of subsequent control or detection based on the filtered voltage cannot be ensured. To solve this problem, the present invention provides an embodiment of an electronic device that implements all or part of the above-mentioned method for filtering voltage at a circuit detection point or method for detecting a switch state, which will be described in detail below.

[0158] Fig. 14 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present invention. As shown in Fig. 14, the electronic device 9600 may include a central processing unit 9100 and a memory 9140, the memory 9140 being connected to the central processing unit 9100. Fig. 14 is illustrative, and other types of configurations may be used in addition to or instead of the above configuration to implement telecommunications or other functions.

[0159] In one embodiment, the circuit sense point voltage filtering function may be implemented in a central processing unit, which may be configured to perform the following steps 110-140.

[0160] Step 110: Continuously collect multiple voltage data at one detection point in the target circuit.

[0161] Step 120: Obtain a plurality of voltage filtering values ​​corresponding to the detection points by filtering based on the plurality of voltage data.

[0162] Step 130: Compare the multiple voltage filtering values ​​to obtain corresponding comparison results.

[0163] Step 140: If the comparison result satisfies the predetermined condition, determine a voltage target value at the detection point based on the plurality of voltage filtering values.

[0164] As can be seen from the above description, the electronic device for implementing the circuit detection point voltage filtering method according to the embodiment of the present invention can effectively verify the effectiveness of the detection point voltage filtering in the circuit, effectively ensure the reliability of the detection point voltage filtering, effectively and reliably prevent erroneous control judgment of the circuit due to voltage jitter, and effectively improve the accuracy and reliability of subsequent control or detection based on the filtered voltage. In particular, for a control pilot unit of a new energy vehicle charging station, the accuracy of switch state detection in the control pilot unit based on the filtered voltage can be effectively improved, and the operational stability and reliability of the control pilot unit of the new energy vehicle charging station can be effectively improved.

[0165] Alternatively, in another embodiment, the switch state detection function may be implemented in a central processing unit, which may be configured to perform the following steps 210 and 220.

[0166] Step 210: Based on the detection point voltage filtering method, obtain a voltage target value at the first detection point after controlling a first switch to be turned on, where one end of the first switch is connected to a first resistor in the control pilot unit of the charging station, and the other end of the first switch is provided with a first detection point.

[0167] Step 220: Determine whether the voltage target value at the first detection point satisfies a first on condition. If the first on condition is satisfied, determine that the first switch is currently in an on state.

[0168] As can be seen from the above description, the electronic device for realizing the switch state detection method of the embodiment of the present invention can effectively verify the effectiveness of the detection point voltage filtering in the circuit, effectively ensure the reliability of the detection point voltage filtering, effectively and reliably prevent erroneous control judgment of the circuit caused by voltage jitter, and further effectively improve the accuracy and reliability of switch state detection in the control pilot unit of the new energy vehicle charging station based on the filtered voltage, thereby effectively improving the stability and reliability of the operation of the new energy vehicle charging station.

[0169] In another embodiment, the circuit detection point voltage filtering or switch state detection device may be configured separately from the central processing unit 9100, for example, the circuit detection point voltage filtering or switch state detection device may be configured as a chip connected to the central processing unit 9100, and the circuit detection point voltage filtering or switch state detection function may be realized under the control of the central processing unit.

[0170] As shown in Fig. 14, the electronic device 9600 may further include a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It should be noted that the electronic device 9600 does not necessarily need to include all of the components shown in Fig. 14. It should be noted that the electronic device 9600 may also include components not shown in Fig. 14, and for this, please refer to the related art.

[0171] As shown in FIG. 14, the central processing unit 9100, which may also be called a controller or operation control device, may include a microprocessor or other processor and / or logic device, and the central processing unit 9100 accepts inputs and controls the operation of each component of the electronic device 9600.

[0172] Here, the memory 9140 may be, for example, one or more of a buffer, a flash memory, a hard disk, a removable medium, a volatile memory, a non-volatile memory, or other suitable devices. The memory 9140 may store information related to the failure to turn on the switch, and may also store a program for executing such processing. Furthermore, the central processing unit 9100 can execute the program stored in the memory 9140 to store or process information, etc.

[0173] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key-type or touch-type input device. The power supply 9170 supplies power to the electronic device 9600. The display 9160 displays images, characters, and the like to be displayed. The display 9160 may be, for example, an LCD display, but is not limited to this.

[0174] The memory 9140 may be a solid-state memory such as a read-only memory (ROM), a random-access memory (RAM), or a SIM card. The memory 9140 may also be a memory that retains information even when power is turned off, that is selectively erasable, and that allows more data to be set, and may be called an EPROM, for example. The memory 9140 may also be another type of device. The memory 9140 includes a buffer memory 9141 (also called a buffer). The memory 9140 may also include an application / function storage unit 9142 that stores application programs and function programs or processes for the central processing unit 9100 to execute the operations of the electronic device 9600.

[0175] The memory 9140 may further include a data storage portion 9143 that stores data such as contacts, digital data, images, audio, and / or any other data used by the electronic device. A driver storage portion 9144 of the memory 9140 may store various drivers for performing communication functions of the electronic device and / or other functions of the electronic device (e.g., messaging applications, address book applications, etc.).

[0176] The communication module 9110 is a transmitter / receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter / receiver) 9110 is connected to the central processing unit 9100 and is responsible for providing input signals and receiving output signals, and may be configured in the same manner as in conventional mobile communication terminals.

[0177] Based on different communication technologies, the same electronic device may be provided with multiple communication modules 9110, such as a cellular network module, a Bluetooth module, and / or a wireless LAN module. The communication module (transmitter / receiver) 9110 is connected to a speaker 9131 and a microphone 9132 via an audio processor 9130, and performs normal communication functions by outputting audio through the speaker 9131 and receiving audio input from the microphone 9132. The audio processor 9130 may include any appropriate buffer, decoder, amplifier, etc. The audio processor 9130 is also connected to the central processing unit 9100, thereby enabling recording on the device via the microphone 9132 and audio input via the speaker 9131. It may be possible to enable playback of audio stored on the device.

[0178] An embodiment of the present invention further provides a computer-readable storage medium capable of implementing all the steps of the circuit detection point voltage filtering or switch state detection method in the above embodiment. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements all the steps of the circuit detection point voltage filtering or switch state detection method in the above embodiment. For example, when the computer program is executed by a processor, the following steps are implemented:

[0179] Step 110: Continuously collect multiple voltage data at one detection point in the target circuit.

[0180] Step 120: Obtain a plurality of voltage filtering values ​​corresponding to the detection points by filtering based on the plurality of voltage data.

[0181] Step 130: Compare the multiple voltage filtering values ​​to obtain corresponding comparison results.

[0182] Step 140: If the comparison result satisfies the predetermined condition, determine a voltage target value at the detection point based on the plurality of voltage filtering values.

[0183] As can be seen from the above description, the computer-readable storage medium for implementing the circuit detection point voltage filtering method according to the embodiment of the present invention can effectively verify the effectiveness of the detection point voltage filtering in the circuit, effectively ensure the reliability of the detection point voltage filtering, effectively and reliably prevent erroneous control judgment of the circuit due to voltage jitter, and effectively improve the accuracy and reliability of subsequent control or detection based on the filtered voltage. In particular, for a control pilot unit of a new energy vehicle charging station, the accuracy of switch state detection in the control pilot unit based on the filtered voltage can be effectively improved, and the stability and reliability of the operation of the control pilot unit of the new energy vehicle charging station can be effectively improved.

[0184] Alternatively, when the computer program is executed by a processor, the following steps are realized.

[0185] Step 210: Based on the detection point voltage filtering method, obtain a voltage target value at the first detection point after controlling a first switch to be turned on, where one end of the first switch is connected to a first resistor in the control pilot unit of the charging station, and the other end of the first switch is provided with a first detection point.

[0186] Step 220: Determine whether the voltage target value at the first detection point satisfies a first on condition. If the first on condition is satisfied, determine that the first switch is currently in an on state.

[0187] As can be seen from the above description, the computer-readable storage medium for implementing the switch state detection method according to the embodiment of the present invention can effectively verify the effectiveness of the detection point voltage filtering in the circuit, effectively ensure the reliability of the detection point voltage filtering, and effectively and reliably prevent erroneous control judgment of the circuit caused by voltage jitter. Furthermore, the accuracy and reliability of switch state detection in the control pilot unit of the new energy vehicle charging station based on the filtered voltage can be effectively improved, and the stability and reliability of the operation of the new energy vehicle charging station can be effectively improved.

[0188] It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, an apparatus, or a computer program product. Accordingly, the present invention may be implemented in an all-hardware embodiment, an all-software embodiment, or an embodiment combining software and hardware. The present invention may also be implemented in a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk memory, CD-ROM, optical memory, etc.) having computer-usable program code stored thereon. The present invention will be described with reference to flowcharts and / or block diagrams of methods, apparatus (devices), and computer program products according to the embodiments. Note that each process and / or block in the flowcharts and / or block diagrams, and combinations of processes and / or blocks in the flowcharts and / or block diagrams, may be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate an apparatus, where the instructions, executed by the processor of the computer or other programmable data processing device, generate an apparatus for implementing the functions specified in one or more processes in the flowcharts and / or one or more blocks in the block diagrams. These computer program instructions may be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture that includes an instruction apparatus that implements the functions specified in one or more processes in the flowcharts and / or one or more blocks in the block diagrams.

[0189] These computer program instructions may be implemented in a computer or other programmable data processing device such that a series of operational steps are performed on the computer or other programmable device to realize computer processing, and the instructions executed on the computer or other programmable device may generate steps for implementing the functions specified in one or more processes in the flowcharts and / or one or more blocks in the block diagrams.

[0190] In the present invention, the principles and embodiments of the present invention have been explained using specific examples. However, the explanation of the above examples is merely for the purpose of facilitating understanding of the method and gist of the present invention, and since various changes can be made in the specific examples and application range based on the gist of the present invention, it will be apparent to those skilled in the art that the contents of this specification do not limit the present invention.

Claims

1. Based on a circuit detection point voltage filtering method, a voltage target value at a first detection point is obtained after a first switch is controlled to be on, wherein one end of the first switch is connected to a first resistor in a control pilot unit of a charging station which is a charging station for new energy vehicles having compatibility with multiple charging protocols, and the first detection point is provided at the other end of the first switch; determining whether a voltage target value at the first detection point satisfies a first on-condition, and if the first on-condition is satisfied, determining that the first switch is currently in an on-state; The circuit detection point voltage filtering method includes: continuously collecting a plurality of voltage data at a single sensing point in a target circuit; selecting at least two filtering methods to process the plurality of voltage data, respectively, and obtaining voltage filtering values ​​corresponding to the detection points, the number of which is equal to the number of types of the selected filtering methods; comparing a plurality of the voltage filtering values, and determining a voltage target value at the detection point based on the plurality of the voltage filtering values ​​when the corresponding comparison results satisfy a predetermined condition; the at least two filtering methods are at least two of mean value filtering, median filtering, post-interpolation filtering, post-dimensionality reduction filtering, and neighborhood mean filtering, and after determining that the first switch is currently in an on state, further comprising identifying a target charging protocol corresponding to the voltage target value based on a predetermined voltage range corresponding to each of the charging protocols; After identifying a target charging protocol corresponding to the voltage target value, receiving an ON command for a second switch to control the second switch to ON, wherein one end of the second switch is connected in series with a second resistor in the control pilot unit to form a first branch path, and the first branch path is connected in parallel with a branch path in which the first resistor is located; The method further includes: obtaining a target voltage value at a second detection point based on the circuit detection point voltage filtering method, wherein a branch path where the second detection point is located is connected to the first branch path; determining whether the target voltage value at the second detection point satisfies a second on-condition, and if the second on-condition is satisfied, determining that the second switch is currently on. Switch state detection method.

2. The first on condition is a voltage target value at the first detection point acquired after controlling the first switch to be on is not equal to a voltage target value at the first detection point acquired in advance before controlling the first switch to be on, and the voltage target value at the first detection point acquired after controlling the first switch to be on is within a voltage range corresponding to any one of the charging protocols. The switch state detection method according to claim 1 .

3. The second on condition is a voltage target value at the second detection point acquired after controlling the second switch to be on is not equal to a voltage target value at the second detection point acquired in advance before controlling the second switch to be on. The switch state detection method according to claim 1 .

4. After determining that the second switch is currently in an on state, receiving an ON command for a selection switch, wherein the selection switch is provided in a second branch path, and the second branch path is connected in parallel with each of the first branch path and the branch path in which the first resistor is located; Control the selection switch to be switched to a control point corresponding to the target charging protocol according to the target charging protocol, wherein one resistor is connected to each of the control points corresponding to each of the charging protocols corresponding to one end of the selection switch, and the other end of the selection switch is connected to a branch path where the second detection point is located; re-obtaining a target voltage value at the second detection point based on the circuit detection point voltage filtering method; determining whether or not a voltage target value at the second detection point acquired after controlling the selection switch to be on satisfies a third on-condition, and if the third on-condition is satisfied, determining that the selection switch is currently in an on-state. The switch state detection method according to claim 1 .

5. The third on condition is a voltage target value at the second detection point acquired after the selection switch is turned on is not equal to a voltage target value at the second detection point acquired in advance before the selection switch is turned on, The switch state detection method according to claim 4.

6. Each of the charging protocols includes ChaoJi charging standard, GB2015 charging standard and CHAdeMO charging standard; The switch state detection method according to claim 2 .

7. A circuit detection point voltage filtering device that acquires a voltage target value at a first detection point after controlling a first switch to be on based on a circuit detection point voltage filtering method, wherein one end of the first switch is connected to a first resistor in a control pilot unit of a charging station that is a charging station for new energy vehicles that is compatible with multiple charging protocols, and the first detection point is provided at the other end of the first switch; a switch state determination module that determines whether the voltage target value at the first detection point satisfies a first on-condition, and determines that the first switch is currently in an on-state if the first on-condition is satisfied; a protocol identification module that identifies a target charging protocol corresponding to the voltage target value based on a predetermined voltage range corresponding to each of the charging protocols; The circuit detection point voltage filtering device comprises a voltage collection module, a voltage filtering module and a microcontroller connected in series; The microcontroller further receives an ON command for a second switch to control the second switch to be ON, wherein one end of the second switch is connected in series with a second resistor in the control pilot unit to form a first branch path, and the first branch path is connected in parallel with the branch path in which the first resistor is located; The voltage acquisition module, the voltage filtering module and the microcontroller connected in series further obtain a voltage target value at a second detection point according to the circuit detection point voltage filtering method, where a branch path where the second detection point is located is connected to the first branch path; The switch state determination module further determines whether the voltage target value at the second detection point satisfies a second on-condition, and if the second on-condition is satisfied, determines that the second switch is currently in an on-state. Switch state detection system.

8. The first on condition is a voltage target value at the first detection point acquired after controlling the first switch to be on is not equal to a voltage target value at the first detection point acquired in advance before controlling the first switch to be on, and the voltage target value at the first detection point acquired after controlling the first switch to be on is within a voltage range corresponding to any one of the charging protocols. The switch state detection system of claim 7.

9. The second on condition is a voltage target value at the second detection point acquired after controlling the second switch to be on is not equal to a voltage target value at the second detection point acquired in advance before controlling the second switch to be on. The switch state detection system of claim 7.

10. The microcontroller further receives an ON command for a selection switch, wherein the selection switch is provided in a second branch path, and the second branch path is connected in parallel with each of the first branch path and the branch path in which the first resistor is located; The microcontroller further controls the selection switch to switch to a control point corresponding to the target charging protocol according to the target charging protocol, wherein one end of the selection switch is connected to each of the control points corresponding to the charging protocols, and the other end of the selection switch is connected to a branch path where the second detection point is located; The voltage acquisition module, the voltage filtering module and the microcontroller connected in series further acquire the voltage target value at the second detection point again according to the circuit detection point voltage filtering method; 8. The switch state detection system according to claim 7, wherein the switch state determination module further determines whether a voltage target value at the second detection point acquired after controlling the selection switch to be on satisfies a third on condition, and determines that the selection switch is currently in an on state if the third on condition is satisfied.

11. The third on condition is a voltage target value at the second detection point acquired after the selection switch is turned on is not equal to a voltage target value at the second detection point acquired in advance before the selection switch is turned on, The switch state detection system of claim 10.

12. Each of the charging protocols includes ChaoJi charging standard, GB2015 charging standard and CHAdeMO charging standard; The switch state detection system of claim 8.

13. An electronic device including a memory, a processor, and a computer program stored in the memory and executable by the processor, When the computer program is executed by the processor, the switch state detection method according to any one of claims 1 to 6 is realized. electronic equipment.

14. A computer-readable storage medium having a computer program stored thereon, the computer program being capable of implementing the switch state detection method according to any one of claims 1 to 6 when executed by a processor. A computer-readable storage medium.

Citation Information

Patent Citations

  • Battery information sampling and processing method and device

    CN105929335A

  • Filtering method applied to UPS bus voltage sampling

    CN110988448A

  • Test device for electronic circuit

    JP1992043972A

  • Power conversion system and connector

    JP2014226014A

  • Vehicle power system

    JP2016174468A