WO2023001230A1 - 电路检测点电压滤波方法、开关状态检测方法及相关装置 - Google Patents

电路检测点电压滤波方法、开关状态检测方法及相关装置 Download PDF

Info

Publication number
WO2023001230A1
WO2023001230A1 PCT/CN2022/107008 CN2022107008W WO2023001230A1 WO 2023001230 A1 WO2023001230 A1 WO 2023001230A1 CN 2022107008 W CN2022107008 W CN 2022107008W WO 2023001230 A1 WO2023001230 A1 WO 2023001230A1
Authority
WO
WIPO (PCT)
Prior art keywords
voltage
detection point
switch
target value
filtering
Prior art date
Application number
PCT/CN2022/107008
Other languages
English (en)
French (fr)
Inventor
王超
Original Assignee
长春捷翼汽车零部件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 长春捷翼汽车零部件有限公司 filed Critical 长春捷翼汽车零部件有限公司
Priority to MX2024001037A priority Critical patent/MX2024001037A/es
Priority to US18/578,260 priority patent/US20240319238A1/en
Priority to EP22845394.0A priority patent/EP4375681A1/en
Priority to JP2024501986A priority patent/JP2024528625A/ja
Publication of WO2023001230A1 publication Critical patent/WO2023001230A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/003Measuring mean values of current or voltage during a given time interval
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2506Arrangements for conditioning or analysing measured signals, e.g. for indicating peak values ; Details concerning sampling, digitizing or waveform capturing
    • G01R19/2509Details concerning sampling, digitizing or waveform capturing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/10Measuring sum, difference or ratio
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2506Arrangements for conditioning or analysing measured signals, e.g. for indicating peak values ; Details concerning sampling, digitizing or waveform capturing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • G01R31/3277Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors

Definitions

  • the present application relates to the field of new energy technology, in particular to a circuit detection point voltage filtering method, a switch state detection method and related devices.
  • Detecting point DP Detecting Point
  • voltage filtering refers to the digital signal conversion of the voltage analog signal collected by the detection point in the circuit and then filtering processing to prevent voltage jitter from causing misjudgment of the control of the circuit.
  • the reliability of voltage filtering on the detection point directly determines the detection accuracy of the switch state in the control and guidance unit.
  • the existing detection point voltage filtering method usually uses a single filter circuit to filter out the ripple in the voltage, but this method cannot verify the effectiveness of the voltage filtering, so it cannot guarantee the follow-up control or detection based on the filtered voltage. accuracy.
  • this application provides a circuit detection point voltage filtering method, a switch state detection method and related devices, which can effectively verify the validity of the detection point voltage filtering in the circuit, thereby ensuring the reliability of the detection point voltage filtering , thereby effectively improving the accuracy and reliability of subsequent control or detection based on the filtered voltage.
  • the present application provides a voltage filtering method at a circuit detection point, including:
  • the present application provides a switch state detection method, including:
  • the voltage target value of the first detection point is obtained after the first switch is controlled to be closed, wherein one end of the first switch is connected to the first resistor in the control guiding unit of a charging stand, And the other end of the first switch is provided with the first detection point;
  • circuit detection point voltage filter device including:
  • the voltage acquisition module is used to continuously acquire multiple voltage data of a detection point in the target circuit
  • a voltage filtering module configured to obtain a plurality of voltage filtering values corresponding to the detection point by applying a filtering method according to the plurality of voltage data
  • the microcontroller is configured to compare a plurality of the voltage filter values, and determine the voltage target value of the detection point based on the plurality of voltage filter values if the corresponding comparison result satisfies a preset condition.
  • the present application provides a switch state detection system, including:
  • the detection point voltage filtering device is used to obtain the voltage target value of the first detection point after the first switch is controlled to be closed based on the detection point voltage filtering method, wherein one end of the first switch is guided by the control of a charging stand
  • the unit is connected to the first resistor, and the other end of the first switch is provided with the first detection point;
  • a switch state judging module configured to judge whether the voltage target value at the first detection point satisfies the first closing condition, and if so, determine that the first switch is currently in a closed state.
  • the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor implements the detection point voltage when executing the computer program A filtering method, or, the processor implements the switch state detection method when executing the computer program.
  • the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the detection point voltage filtering method is implemented, or, the computer program is executed by the processor When implementing the switch state detection method.
  • the present application provides a circuit detection point voltage filtering method, a switch state detection method and related devices, wherein the circuit detection point voltage filtering method includes: continuously collecting multiple voltage data of a detection point in the target circuit ; Obtain multiple voltage filter values corresponding to the detection point by applying a filtering method according to multiple voltage data; compare multiple voltage filter values, and if the corresponding comparison results meet the preset conditions, then based on multiple voltages The filter value determines the voltage target value of the detection point, which can effectively verify the effectiveness of the voltage filter at the detection point in the circuit, effectively ensure the reliability of the voltage filter at the detection point, and effectively and reliably prevent the control of the circuit caused by voltage jitter.
  • Misjudgment can effectively improve the accuracy and reliability of subsequent control or detection based on the filtered voltage, especially for the control and guidance unit of the charging stand of new energy vehicles.
  • the accuracy of the status can effectively improve the working stability and reliability of the control and guidance unit of the charging stand of the new energy vehicle.
  • FIG. 1 is a schematic flow chart of the first method for filtering voltage at a circuit detection point in an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a second method for filtering voltage at a circuit detection point in an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a third method for filtering voltage at a circuit detection point in an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a fourth method for filtering voltage at a circuit detection point in an embodiment of the present application.
  • Fig. 5 is a schematic flow chart of the first switch state detection method in the embodiment of the present application.
  • Fig. 6 is a schematic diagram of an example of a control guidance unit in an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a second switch state detection method in the embodiment of the present application.
  • FIG. 8 is a schematic flowchart of a third switch state detection method in the embodiment of the present application.
  • FIG. 9 is a schematic flowchart of a fourth switch state detection method in the embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a circuit detection point voltage filtering device in an embodiment of the present application.
  • FIG. 11 is a schematic diagram of the first structure of the switch state detection system in the embodiment of the present application.
  • FIG. 12 is a second structural schematic diagram of the switch state detection system in the embodiment of the present application.
  • FIG. 13 is a schematic flowchart of a switch state detection method implemented based on the switch state detection system in an application example of the present application.
  • FIG. 14 is a schematic structural diagram of an electronic device in an embodiment of the present application.
  • circuit detection point voltage filtering method and switch state detection method and device disclosed in this application can be used in the field of new energy technology, and can also be used in any field other than the field of new energy technology.
  • the circuit detection point disclosed in this application The application fields of the voltage filtering method, the switch state detection method and related devices and systems are not limited.
  • the embodiment of the present application provides a circuit detection point voltage filtering method and a circuit detection point voltage filtering device, by continuously collecting a plurality of voltage data of a detection point in the target circuit;
  • the filtering method respectively obtains a plurality of voltage filter values corresponding to the detection point; compares a plurality of the voltage filter values, and if the corresponding comparison result satisfies a preset condition, then determines the voltage of the detection point based on the plurality of voltage filter values
  • the target value can effectively verify the validity of the voltage filtering at the detection point in the circuit, can effectively ensure the reliability of the voltage filtering at the detection point, can effectively and reliably prevent voltage jitter from causing misjudgment of the control of the circuit, and can effectively improve the accuracy of the filter based on
  • the embodiment of this application provides a circuit detection point voltage filter Method, referring to Fig. 1, the circuit detection point voltage filtering method specifically includes the following contents:
  • Step 110 Continuously collect a plurality of voltage data of a detection point in the target circuit.
  • the continuous collection refers to a preset number of data collections within a preset time period, for example, 10 data collections within 0.3 seconds, and then 10 voltage data Vdp 1 to Vdp 10 of one detection point are obtained.
  • the voltage data refers to a digital signal
  • the acquisition process of the digital signal is as follows: the voltage analog signal of the acquisition point in the target circuit is collected, and then the voltage analog signal is converted into a digital signal to obtain a subsequent Step 200 of filtering the processed digital signal.
  • 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.
  • the target circuit may specifically refer to a control guidance unit of a charging stand of a new energy vehicle, and the control guidance unit may refer to a circuit for switching control guidance on a charging stand of a new energy vehicle.
  • Step 120 Obtain a plurality of voltage filter values corresponding to the detection point by applying a filtering method according to the plurality of voltage data.
  • two or more filtering methods can be selected to process a plurality of voltage data respectively, so as to obtain voltage filter values corresponding to detection points whose number is equal to the selected filtering methods. For example, if four Filtering methods A, B, C, and D, then the filtering results corresponding to these four filtering methods are obtained, that is, voltage filtering values A1, B1, C1, and D1.
  • the filtering manner may be selected from at least two of mean filtering, median filtering, post-interpolation filtering, dimensionality reduction post-filtering, and neighborhood average filtering.
  • Step 130 Compare a plurality of the voltage filter values to obtain corresponding comparison results.
  • Step 140 If the comparison result satisfies a preset condition, then determine a voltage target value of the detection point based on a plurality of the voltage filter values.
  • the specific way of comparing multiple voltage filter values may be to obtain the difference between the maximum value and the minimum value among the multiple voltage filter values, and use the difference as a comparison result to determine whether it is less than For example, a threshold value such as a preset error threshold, if it is less than, then determine the voltage target value of the detection point according to a plurality of the voltage filter values.
  • a threshold value such as a preset error threshold
  • the specific way of determining the voltage target value of the detection point according to the multiple voltage filter values may be to calculate the mean value of the multiple voltage filter values, and determine the voltage target value of the detection point by the mean value value; or the median value between a plurality of voltage filter values can be selected, and the median value can be used to determine the voltage target value of the detection point; one can also be selected from a plurality of the voltage filter values as the detection Point voltage target value.
  • the detection point voltage filtering method can effectively verify the validity of the detection point voltage filtering in the circuit, can effectively ensure the reliability of the detection point voltage filtering, and can effectively and reliably prevent the voltage from fluctuating.
  • causes misjudgment of the control of the circuit which can effectively improve the accuracy and reliability of subsequent control or detection based on the filtered voltage, especially for the control and guidance unit of the charging stand of new energy vehicles, etc., can effectively improve the accuracy of detection based on the filtered voltage.
  • the accuracy of the switch state in the control guidance unit can effectively improve the working stability and reliability of the control guidance unit of the charging stand of the new energy vehicle.
  • the detection point voltage filtering method After step 130 the following content may also be included:
  • Step 150 If the comparison result does not satisfy the preset condition, determine that the voltage filtering result of the detection point is invalid.
  • step 110 continuously collect multiple voltage data of the detection point and obtain multiple voltage filter values corresponding to the detection point, until the newly obtained comparison result satisfies the Preset conditions and execute step 140 to determine the voltage target value of the detection point.
  • the detection point voltage filtering method provided by the embodiment of the present application can provide a reliable processing method when the detection point voltage filtering result in the verification circuit is invalid or unreliable, so as to further ensure the reliability of the detection point voltage filtering.
  • the invention can effectively and reliably prevent misjudgment of circuit control caused by voltage jitter, and can effectively improve the applicability of the detection point voltage filtering process.
  • step 120 of the detection point voltage filtering method may specifically include the following content:
  • Step 121 Applying an average value filtering algorithm to perform average value calculation on a plurality of the voltage data of the detection point to obtain a voltage average value as a voltage filter value of the detection point.
  • Vdp_sum Vdp_sum
  • Vdp_sum Vdp 1 +Vdp 2 +Vdp 3 +...+Vdp n-1 +Vdp n ;
  • Vdp_ave Vdp_sum/n.
  • Step 122 Applying a median filtering algorithm to perform median calculation on a plurality of voltage data of the detection point to obtain a voltage median value as another voltage filter value of the detection point.
  • n voltage values of the detection points in order from small to large or from large to small to obtain a data combination rearranged and combined by n voltage values
  • Vdp_mid (Vdp n/2 +Vdp (n/2)+1 )/2;
  • Vdp_mid (Vdp (n/2)+1 ).
  • the detection point voltage filtering method provided in the embodiment of the present application only selects two filtering methods to filter a plurality of the voltage data of the detection point, and can verify the validity of the voltage filtering result. Basically, the amount of calculation and time cost are minimized, which can effectively reduce the complexity of the circuit and reduce the waste of energy.
  • step 130 of the detection point voltage filtering method may specifically include the following content:
  • Step 131 Acquiring the difference between the voltage mean value and the voltage median value, and judging whether the difference is smaller than the error threshold, and if so, performing the specific implementation of step 140: step 141;
  • Step 141 Determine a target voltage value of the detection point based on the average voltage value and the median voltage value.
  • two values Vdp_ave and Vdp_mid are obtained after the two filtering algorithms provided in step 121 and step 122, and the two values are subtracted to obtain a difference, if the difference is less than the error threshold, based on the voltage mean and The median value of the voltage determines the voltage target value of the detection point; if the difference is greater than or equal to the set error threshold, return to step 110 .
  • the specific manner of determining the voltage target value of the detection point based on the average voltage value and the median voltage value may be: calculating the mean value of the mean voltage value and the median voltage value, and calculating the mean value of the voltage mean value and the median voltage value
  • the mean value determines the voltage target value of the detection point; or one of the voltage mean value and the voltage median value is selected as the voltage target value of the detection point.
  • the detection point voltage filtering method determines the voltage target value of the detection point based on the voltage mean value and the voltage median value, which can ensure the validity of the verification voltage filtering result.
  • the calculation amount and time cost are further reduced, which can effectively reduce the complexity of the circuit and reduce the waste of energy.
  • a switch state detection method and a switch state detection device are provided, and the voltage target value of the first detection point is obtained after the first switch is controlled to be closed based on the detection point voltage filtering method mentioned in one or more of the foregoing embodiments,
  • one end of the first switch is connected to the first resistor in the control guiding unit of a charging stand, and the other end of the first switch is provided with the first detection point; judging the voltage of the first detection point Whether the target value satisfies the first closing condition, and if so, it is determined that the first switch is currently in a closed state, which can effectively verify the validity of the voltage filtering at the detection point in the circuit, can effectively ensure the reliability of the voltage filtering at the detection point, and can effectively And it can reliably prevent the misjudgment of the control of the circuit caused by the voltage jitter, and then can effectively improve the accuracy and reliability of the switch state detection in the control guidance unit of the charging seat of the new energy vehicle according to the filtered voltage, and then can effectively improve
  • the switch state detection method specifically includes the following contents:
  • Step 210 Based on the detection point voltage filtering method, obtain the voltage target value of the first detection point after the first switch is controlled to be closed, wherein one end of the first switch is connected to the first The resistors are connected, and the other end of the first switch is provided with the first detection point.
  • control guidance unit of the charging stand is a specific implementation of the target circuit, therefore, in step 210, the first detection point is used as the current detection point in the detection point voltage filtering method for filtering calculation, Said for example, apply step 110 to step 140 to realize following content:
  • the first detection point is denoted as DP3
  • the first switch is denoted as Sv.
  • Step 220 Determine whether the voltage target value at the first detection point satisfies the first closing condition, and if so, determine that the first switch is currently in a closed state.
  • step 220 if it is determined through step 220 that the voltage target value of the first detection point does not meet the first closing condition, then it is determined that the first switch fails to close, and a signal indicating that the first switch fails to close is output.
  • the notification message for example, can be displayed on a display screen connected to the switch state detection system, or sent to the client device held by the technician through the communication unit provided in the switch state detection system via a third-party server or by itself. Send the notification message.
  • the client devices held by technicians may include smart phones, tablet electronic devices, network set-top boxes, portable computers, desktop computers, personal digital assistants (PDAs), vehicle-mounted devices, smart wearable devices, and the like.
  • the smart wearable device may include smart glasses, smart watches, smart bracelets and the like. In order to effectively improve the notification efficiency of the switch closure failure message and the maintenance efficiency of the technicians for the control and guidance unit of the charging stand.
  • the above-mentioned client device may have a communication module (that is, a communication unit), which can communicate with a remote server to realize data transmission with the server.
  • the server may include a server on the side of the task scheduling center, and may also include a server of an intermediate platform in other implementation scenarios, such as a server of a third-party server platform that has a communication link with the server of the task scheduling center.
  • the server may include a single computer device, or a server cluster composed of multiple servers, or a server structure of a distributed device.
  • the network protocol may include, for example, TCP/IP protocol, UDP/IP protocol, HTTP protocol, HTTPS protocol, and the like.
  • the network protocol may also include RPC protocol (Remote Procedure Call Protocol, remote procedure call protocol), REST protocol (Representational State Transfer, representational state transfer protocol) etc. used on top of the above-mentioned protocol, for example.
  • the switch state detection method provided by the embodiment of the present application can effectively verify the validity of the voltage filtering at the detection point in the circuit, can effectively ensure the reliability of the voltage filtering at the detection point, and can effectively and reliably prevent voltage jitter caused by For the control misjudgment of the circuit, it can effectively improve the accuracy and reliability of the switch state detection in the control guidance unit of the charging seat of the new energy vehicle according to the filtered voltage, and can effectively improve the working stability of the charging seat of the new energy vehicle performance and reliability.
  • the charging stand is a compatible new energy vehicle charging stand for compatibility with multiple charging protocols.
  • control guidance unit mentioned in one or more embodiments of the present application may be a control guidance unit specially used for a compatible new energy vehicle charging stand compatible with multiple charging protocols.
  • the control guidance unit may include: a first switch Sv, a first resistor Rv, a power supply U2, a second switch S2', The second resistor R4', the selection switch S2; one end of the first switch Sv is connected to the first resistor Rv in the control guide unit of the compatible new energy vehicle charging stand, and the other end of the first switch Sv is provided with the The first detection point DP3 (Detecting Point 3 in Fig.
  • the first resistor Rv is connected in series with the power supply U2 and forms a branch; one end of the second switch S2' is connected with the first in the control guiding unit Two resistors R4' are connected in series to form a first branch, the first branch is connected in parallel with the branch where the first resistor Rv is located, and the first branch is also connected in parallel with the branch where the third resistor R3' is located; one end of the selection switch S2
  • the corresponding control points 1 to 3 corresponding to each of the charging protocols are respectively connected to a resistor (ie, resistor R4c', resistor R4c and resistor R4), and the other end of the selection switch S2 is connected to the second detection point DP2 ( Figure 6 Detecting Point 2) in the branch is connected, and the branch where the second detection point DP2 is located is also connected to the other end of the second switch S2'; the selection switch S2 is set on the second branch, and the second branch is respectively It is connected in parallel with the first branch and the branch where the first
  • 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 charge control
  • the selection switch S2 is for charge control. Protocol compatible protocol compatible switch.
  • the first closing condition in the switch state detection method specifically includes the following content:
  • the voltage target value of the first detection point obtained after the first switch is controlled to be closed is not equal to the voltage target value of the first detection point obtained in advance before the first switch is controlled to be closed, and the control The voltage target value at the first detection point acquired after the first switch is closed is within a voltage range corresponding to any of the charging protocols.
  • the switch state detection method further specifically includes the following content after step 220:
  • Step 230 Based on the preset voltage ranges corresponding to each of the charging protocols, determine the target charging protocol corresponding to the voltage target value.
  • the switch state detection method provided by the embodiment of the present application can improve the reliability of the selection switch closure, meet the compatibility requirements of the compatible new energy vehicle charging stand, and further improve the application reliability of the compatible new energy vehicle charging stand sex and stability.
  • the switch state detection method also specifically includes the following content after step 230:
  • Step 241 Receive a closing instruction for the second switch and control the second switch to close, wherein one end of the second switch is connected in series with the second resistor in the control guiding unit to form a first branch, and the first branch connected in parallel with the branch where the first resistor is located.
  • Step 242 Obtain a voltage target value of a second detection point based on the detection point voltage filtering method, wherein the branch where the second detection point is located is connected to the first branch.
  • Step 243 Determine whether the voltage target value at the second detection point satisfies the second closing condition, and if so, determine that the second switch is currently in a closed state.
  • the second closing condition in the switch state detection method specifically includes the following content:
  • the voltage target value of the second detection point obtained after the second switch is controlled to be closed is not equal to the voltage target value of the second detection point obtained in advance before the second switch is controlled to be closed.
  • the switch state detection method further specifically includes the following content after step 243:
  • Step 251 Receive a closing instruction for a selector switch; wherein, the selector switch is set on a second branch, and the second branch is respectively connected in parallel with the first branch and the branch where the first resistor is located;
  • Step 252 Control the selection switch to close to a control point corresponding to the target charging protocol according to the target charging protocol; wherein, the control points corresponding to each of the charging protocols corresponding to one end of the selection switch are respectively connected to a resistor, and The other end of the selection switch is connected to the branch where the second detection point is located;
  • Step 253 Obtain the voltage target value of the second detection point again based on the detection point voltage filtering method
  • Step 254 Judging whether the voltage target value of the second detection point obtained after controlling the closing of the selection switch satisfies the third closing condition, and if so, determining that the selection switch is currently in a closed state.
  • the switch state detection method provided by the embodiment of the present application can improve the reliability of the selection switch closure, meet the compatibility requirements of the compatible new energy vehicle charging stand, and further improve the application reliability of the compatible new energy vehicle charging stand sex and stability.
  • the third closing condition in the switch state detection method specifically includes the following content:
  • the voltage target value of the second detection point obtained after the selection switch is controlled to be closed is not equal to the voltage target value of the second detection point obtained in advance before the selection switch is controlled to be closed.
  • Each of the charging protocols mentioned in multiple embodiments may at least include the ChaoJi charging standard, the GB 2015 charging standard and the CHAdeMO (Charge de move: Japanese electric vehicle fast charging standard) charging standard. That is to say, the compatible new energy vehicle charging stand for compatibility with multiple charging protocols can be compatible with ChaoJi charging standard, GB 2015 charging standard and CHAdeMO charging standard.
  • the voltage range corresponding to the ChaoJi charging standard is (5.64V, 6.36V);
  • the voltage range corresponding to the GB 2015 charging standard is (7.54V, 8.45V);
  • the voltage range corresponding to the CHAdeMO charging standard is (1.86V, 2.14V).
  • the voltage target value Vdp3 of the first detection point DP3 is within any range of 5.64V ⁇ Vdp3 ⁇ 6.36V (ChaoJi), 7.54V ⁇ Vdp3 ⁇ 8.45V (GB2015), 1.86V ⁇ Vdp3 ⁇ 2.14V (CHAdeMO).
  • control point 1 corresponding to one end of the selection switch S2 in Fig. 6 is the control point corresponding to the CHAdeMO charging standard;
  • control point 3 is the control point corresponding to the GB 2015 charging standard;
  • control point 2 is the corresponding control point of the CHAdeMO charging standard control point.
  • the embodiment of the present application provides a method for realizing the above-mentioned
  • the circuit detection point voltage filter device for any or all of the content in the circuit detection point voltage filtering method, see Figure 10, the circuit detection point voltage filter device specifically includes the following content:
  • the voltage acquisition module 11 is configured to continuously acquire a plurality of voltage data of a detection point in the target circuit.
  • the continuous acquisition refers to a preset number of data acquisitions within a preset period of time, for example, 10 times in 0.3S, and then 10 voltage data Vdp 1 to Vdp of a detection point are obtained. 10 .
  • the voltage data refers to a digital signal
  • the acquisition process of the digital signal is as follows: the voltage analog signal of the acquisition point in the target circuit is collected, and then the voltage analog signal is converted into a digital signal to obtain a subsequent Filter processed digital signals.
  • the voltage filtering module 12 is configured to obtain a plurality of voltage filtering values corresponding to the detection point by applying a filtering method according to the plurality of voltage data.
  • two or more filtering methods can be selected to process a plurality of voltage data respectively, so as to obtain voltage filtering values corresponding to detection points whose quantity is equal to the selected filtering methods, for example, if Select four filtering methods A, B, C, and D, and then obtain the filtering results corresponding to the four filtering methods, that is, the voltage filtering values A1, B1, C1, and D1.
  • the filtering manner may be selected from at least two of mean filtering, median filtering, post-interpolation filtering, dimensionality reduction post-filtering, and neighborhood average filtering.
  • the microcontroller 13 is configured to compare a plurality of the voltage filter values, and if the corresponding comparison result satisfies a preset condition, then determine the voltage target value of the detection point based on the plurality of the voltage filter values.
  • the specific way of comparing multiple voltage filter values can be to obtain the difference between the maximum value and the minimum value in the multiple voltage filter values, and use the difference as a comparison result to determine whether it is less than If the threshold value such as the preset error threshold is less than, the voltage target value of the detection point is determined according to a plurality of the voltage filter values.
  • the specific way of determining the voltage target value of the detection point according to the multiple voltage filter values may be to calculate the mean value of the multiple voltage filter values, and determine the voltage target value of the detection point by the mean value value; or the median value between a plurality of voltage filter values can be selected, and the median value can be used to determine the voltage target value of the detection point; one can also be selected from a plurality of the voltage filter values as the detection Point voltage target value.
  • the embodiment of the detection point voltage filtering device provided in the present application can be specifically used to execute the processing flow of the embodiment of the detection point voltage filtering method in the above-mentioned embodiments, and its functions will not be repeated here, and can refer to the above-mentioned detection point voltage filtering method Detailed description of the examples.
  • the detection point voltage filtering device can effectively verify the validity of the detection point voltage filtering in the circuit, can effectively ensure the reliability of the detection point voltage filtering, and can effectively and reliably prevent voltage jitter and Cause misjudgment of the control of the circuit, which can effectively improve the accuracy and reliability of subsequent control or detection based on the filtered voltage, especially for the control and guidance unit of the charging stand of new energy vehicles, etc., can effectively improve the accuracy of detection based on the filtered voltage.
  • the accuracy of the switch state in the control guidance unit can effectively improve the working stability and reliability of the control guidance unit of the charging stand of the new energy vehicle.
  • the micro The controller 13 is also used to perform the following:
  • control the voltage acquisition module to continuously collect multiple voltage data of the detection point and control the voltage filter module to reacquire multiple voltage filters corresponding to the detection point value until the comparison result obtained again by the microcontroller satisfies the preset condition and determines the voltage target value of the detection point.
  • the detection point voltage filtering device provided in the embodiment of the present application can provide a reliable processing method when the detection point voltage filtering result in the verification circuit is invalid or unreliable, so as to further ensure the reliability of the detection point voltage filtering.
  • the invention can effectively and reliably prevent misjudgment of circuit control caused by voltage jitter, and can effectively improve the applicability of the detection point voltage filtering process.
  • the voltage filtering module 12 in the detection point voltage filtering device may specifically include the following content:
  • An average value filter unit configured to apply an average value filter algorithm to perform average value calculation on a plurality of the voltage data of the detection point, and obtain a voltage average value as a voltage filter value of the detection point;
  • a median filtering unit configured to apply a median filtering algorithm to perform median calculation on a plurality of voltage data of the detection point, to obtain a voltage median as another voltage filter value of the detection point.
  • the detection point voltage filter device provided in the embodiment of the present application can filter the multiple voltage data of the detection point by selecting only two filtering methods, and can verify the validity of the voltage filtering result. Basically, the amount of calculation and time cost are minimized, which can effectively reduce the complexity of the circuit and reduce the waste of energy.
  • the microcontroller 13 of the detection point voltage filtering device may specifically include the following content:
  • An error judging unit configured to obtain a difference between the average voltage value and the median voltage value, and judge whether the difference is smaller than an error threshold, and if so, determine the The voltage target value of the detection point.
  • the detection point voltage filtering device provided by the embodiment of the present application can determine the voltage target value of the detection point based on the voltage mean value and the voltage median value, on the basis of ensuring the validity of the verification voltage filtering result
  • the calculation amount and time cost are further reduced, which can effectively reduce the complexity of the circuit and reduce the waste of energy.
  • this application provides an embodiment of a switch state detection system for realizing all or part of the content of the switch state detection method, see Figure 11, the switch state detection system specifically includes the following content :
  • the detection point voltage filtering device 21 is used to obtain the voltage target value of the first detection point after the first switch is controlled to be closed based on the detection point voltage filtering method, wherein one end of the first switch is controlled by a charging stand
  • the guiding unit is connected to the first resistor, and the other end of the first switch is provided with the first detection point.
  • the switch state judging module 22 is configured to judge whether the voltage target value of the first detection point satisfies the first closing condition, and if so, determine that the first switch is currently in a closed state.
  • the switch state judging module 22 judges that the voltage target value of the first detection point does not meet the first closing condition, then it is judged that the first switch fails to close, and an output indicating that the first switch
  • the notification message of closing failure for example, can be displayed on the display screen connected to the switch state detection system, or the notification message can be sent to the customer held by the technician through the communication unit arranged in the switch state detection system via a third-party server or by itself. The notification message is sent to the end device.
  • the embodiment of the switch state detection system provided by the present application can be specifically used to execute the processing flow of the embodiment of the switch state detection method in the above-mentioned embodiment, and its functions will not be repeated here, and can refer to the above-mentioned embodiment of the switch state detection method A detailed description.
  • the switch state detection system provided by the embodiment of the present application can effectively verify the validity of the voltage filtering at the detection point in the circuit, can effectively ensure the reliability of the voltage filtering at the detection point, and can effectively and reliably prevent voltage jitter caused by For the control misjudgment of the circuit, it can effectively improve the accuracy and reliability of the switch state detection in the control guidance unit of the charging seat of the new energy vehicle according to the filtered voltage, and can effectively improve the working stability of the charging seat of the new energy vehicle performance and reliability.
  • the charging stand is a compatible new energy vehicle charging stand for compatibility with multiple charging protocols.
  • the first closing condition in the switch state detection system specifically includes the following content:
  • the voltage target value of the first detection point obtained after the first switch is controlled to be closed is not equal to the voltage target value of the first detection point obtained in advance before the first switch is controlled to be closed, and the control The voltage target value at the first detection point acquired after the first switch is closed is within a voltage range corresponding to any of the charging protocols.
  • the switch state detection system also specifically includes the following content:
  • the protocol identification module 23 is configured to determine the target charging protocol corresponding to the voltage target value based on the respective preset voltage ranges corresponding to each of the charging protocols.
  • the switch state detection system provided by the embodiment of the present application can improve the reliability of the selection switch closure, meet the compatibility requirements of the compatible new energy vehicle charging stand, and further improve the application reliability of the compatible new energy vehicle charging stand sex and stability.
  • the circuit detection point voltage filter device in the switch state detection system includes: sequentially connected voltage acquisition modules 11. Voltage filtering module 12 and microcontroller 13;
  • the microcontroller 13 is also used to receive a closing instruction for the second switch and control the second switch to close, wherein one end of the second switch is connected in series with the second resistor in the control guiding unit to form a first branch road, the first branch is connected in parallel with the branch where the first resistor is located;
  • the voltage acquisition module 11, the voltage filtering module 12 and the microcontroller 13 connected in sequence are also used to obtain the voltage target value of the second detection point based on the detection point voltage filtering method, wherein the second detection point is located a branch is connected to the first branch;
  • the switch state judging module 22 is further configured to judge whether the voltage target value of the second detection point satisfies the second closing condition, and if so, determine that the second switch is currently in a closed state.
  • the second closing condition in the switch state detection method specifically includes the following content:
  • the voltage target value of the second detection point obtained after the second switch is controlled to be closed is not equal to the voltage target value of the second detection point obtained in advance before the second switch is controlled to be closed.
  • the microcontroller 13 in the switch state detection system is also used to receive the selection switch Closing instruction; wherein, the selector switch is set on the second branch, and the second branch is respectively connected in parallel with the first branch and the branch where the first resistor is located;
  • the selection switch is controlled to close to the control point corresponding to the target charging protocol; wherein, the control points corresponding to each of the charging protocols corresponding to one end of the selection switch are respectively connected to a resistor, and the selection switch The other end is connected to the branch where the second detection point is located;
  • the voltage acquisition module 11, the voltage filtering module 12 and the microcontroller 13 connected in sequence are also used to obtain the voltage target value of the second detection point again based on the detection point voltage filtering method;
  • the switch state judging module 14 is also used to judge whether the voltage target value of the second detection point obtained after controlling the closing of the selection switch satisfies the third closing condition, and if so, determine that the selection switch is currently closed. closed state.
  • the switch state detection system provided by the embodiment of the present application can improve the reliability of the selection switch closure, meet the compatibility requirements of the compatible new energy vehicle charging stand, and further improve the application reliability of the compatible new energy vehicle charging stand sex and stability.
  • the third closing condition in the switch state detection system specifically includes the following content:
  • the voltage target value of the second detection point obtained after the selection switch is controlled to be closed is not equal to the voltage target value of the second detection point obtained in advance before the selection switch is controlled to be closed.
  • each of the charging protocols can at least include the ChaoJi charging standard, the GB 2015 charging standard and the CHAdeMO (Charge de move: Japanese electric vehicle fast charging standard) charging standard. That is to say, the compatible new energy vehicle charging stand for compatibility with multiple charging protocols can be compatible with ChaoJi charging standard, GB 2015 charging standard and CHAdeMO charging standard.
  • the voltage range corresponding to the ChaoJi charging standard is (5.64V, 6.36V);
  • the voltage range corresponding to the GB 2015 charging standard is (7.54V, 8.45V);
  • the voltage range corresponding to the CHAdeMO charging standard is (1.86V, 2.14V).
  • this application also provides a specific application example of using a switch state detection system to realize a switch state detection method.
  • the application example of this application provides a logic algorithm for judging the switch state based on the detection point DP (Detecting Point includes (DP2 ⁇ DP3)) voltage.
  • DP Detecting Point includes (DP2 ⁇ DP3)
  • the switch state detection system includes a voltage acquisition module 11, a voltage filter module 12, a switch state judgment module 22, a protocol identification module 23 and a microcontroller 13; the details are as follows:
  • Voltage acquisition module 11 this module is for the acquisition of the voltage of the DP point, and converts the voltage analog signal of the DP point into a digital signal.
  • Voltage filter module 12 This module filters the obtained DP voltage numbers to prevent system misjudgment caused by voltage jitter.
  • Switch state judging module 22 Determine the switch state (on or off) according to the voltage change at point DP2.
  • Protocol identification module 23 This module judges the voltage of DP3 point by the microcontroller, when the DP3 voltage is greater than 5.64 and less than 6.36, it recognizes the current ChaoJi standard; when the DP3 voltage is greater than 7.54 and less than 8.45, it recognizes the current It is the (GB2015) standard; when the DP3 voltage is greater than 1.86 and less than 2.14, it is recognized that it is currently the CHAdeMO standard.
  • Microcontroller 13 obtain the voltage value input through the DP point voltage filtering algorithm module, obtain the real value of the DP point voltage, and perform logical operation to judge the state of the switch.
  • the switch state detection system may further include a switch control unit: the microcontroller 13 controls the opening and closing of the switch.
  • the application example of this application also provides a switch state detection method based on the switch state detection system, see Figure 13, which specifically includes the following content:
  • Vdp3_last Equal to Vdp3 or not within the range of 5.64V ⁇ Vdp3 ⁇ 6.36V (Chaoji), 7.54V ⁇ Vdp3 ⁇ 8.45V (GB2015), 1.86V ⁇ Vdp3 ⁇ 2.14V (CHAdeMO), it is considered that Sv has failed to close, and the Sv status is open .
  • the microcontroller controls S2' to close, and the switch controller executes S2' to close, then measures the DP2 voltage and filters it. If the DP2 voltage after the control of S2' is not equal to that before the control of S2' is closed, then S2' is deemed to be closed, otherwise S2 is considered to be closed. 'Close failed.
  • Vdp_sum Vdp 1 +Vdp 2 +Vdp 3 +...+Vdp n-1 +Vdp n
  • Vdp_ave Vdp_sum/n
  • Vdp_mid (Vdp n/2 +Vdp (n/2)+1 )/2
  • Vdp_mid (Vdp (n/2)+1 )
  • Vdp_ave and Vdp_mid are obtained after the two filtering algorithms, and the two values are subtracted. If the difference is greater than the set threshold, it is determined that the data is wrong, discard this set of data, and the microcontroller re-acquires from the filtering module Perform the above algorithm on n data.
  • Re-acquisition means collect a set of n data of DP points, and perform filter calculation, if the data is wrong, re-acquire a new set of n data.
  • this application provides a method for An embodiment of an electronic device that realizes all or part of the content of the circuit detection point voltage filtering method or the switch state detection method, the electronic device specifically includes the following content:
  • FIG. 14 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application.
  • the electronic device 9600 may include a central processing unit 9100 and a memory 9140 ; the memory 9140 is coupled to the central processing unit 9100 .
  • this FIG. 14 is exemplary; other types of structures may also be used to supplement or replace this structure, so as to realize telecommunication functions or other functions.
  • the circuit detection point voltage filtering function can be integrated into the central processing unit.
  • the central processing unit can be configured to perform the following controls:
  • Step 110 Continuously collect a plurality of voltage data of a detection point in the target circuit.
  • Step 120 Obtain a plurality of voltage filter values corresponding to the detection point by applying a filtering method according to the plurality of voltage data.
  • Step 130 Compare a plurality of the voltage filter values to obtain corresponding comparison results.
  • Step 140 If the comparison result satisfies a preset condition, then determine a voltage target value of the detection point based on a plurality of the voltage filter values.
  • the electronic equipment provided by the embodiment of the present application for realizing the voltage filtering method at the detection point of the circuit can effectively verify the validity of the voltage filtering at the detection point in the circuit, can effectively ensure the reliability of the voltage filtering at the detection point, and can effectively And it can reliably prevent the misjudgment of the control of the circuit caused by the voltage jitter, and then can effectively improve the accuracy and reliability of the subsequent control or detection based on the filtered voltage, especially for the control and guidance unit of the charging stand of the new energy vehicle, etc., can The accuracy of the switch state in the control and guidance unit according to the filtered voltage detection is effectively improved, thereby effectively improving the working stability and reliability of the control and guidance unit of the charging stand of the new energy vehicle.
  • the switch state detection function can be integrated into the central processing unit.
  • the central processing unit can be configured to perform the following controls:
  • Step 210 Based on the detection point voltage filtering method, obtain the voltage target value of the first detection point after the first switch is controlled to be closed, wherein one end of the first switch is connected to the first The resistors are connected, and the other end of the first switch is provided with the first detection point.
  • Step 220 Determine whether the voltage target value at the first detection point satisfies the first closing condition, and if so, determine that the first switch is currently in a closed state.
  • the electronic equipment used to implement the switch state detection method can effectively verify the validity of the voltage filtering at the detection point in the circuit, can effectively ensure the reliability of the voltage filtering at the detection point, and can be effective and reliable. It can effectively prevent the misjudgment of the control of the circuit caused by the voltage jitter, and then can effectively improve the accuracy and reliability of the switch state detection in the control guidance unit of the charging seat of the new energy vehicle according to the filtered voltage, thereby effectively improving the accuracy and reliability of the new energy vehicle.
  • the working stability and reliability of the charging stand can effectively verify the validity of the voltage filtering at the detection point in the circuit, can effectively ensure the reliability of the voltage filtering at the detection point, and can be effective and reliable. It can effectively prevent the misjudgment of the control of the circuit caused by the voltage jitter, and then can effectively improve the accuracy and reliability of the switch state detection in the control guidance unit of the charging seat of the new energy vehicle according to the filtered voltage, thereby effectively improving the accuracy and reliability of the new energy vehicle.
  • the circuit detection point voltage filter or switch state detection device can be configured separately from the central processing unit 9100, for example, the circuit detection point voltage filter or switch state detection device can be configured as a chip connected to the central processing unit 9100, The circuit detection point voltage filtering or switch state detection function is realized through the control of the central processing unit.
  • 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 include all the components shown in FIG. 14 ; in addition, the electronic device 9600 may also include components not shown in FIG. 14 , and reference may be made to the prior art.
  • the central processing unit 9100 is sometimes referred to as a controller or an operating control, and may include a microprocessor or other processor devices and/or logic devices.
  • the central processing unit 9100 receives input and controls various components of the electronic device 9600. The operation of the component.
  • the memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory, or other suitable devices.
  • the above-mentioned failure-related information may be stored, and a program for executing the related information may also be stored.
  • the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing.
  • the input unit 9120 provides input to the central processing unit 9100 .
  • the input unit 9120 is, for example, a button or a touch input device.
  • the power supply 9170 is used to provide power to the electronic device 9600 .
  • the display 9160 is used to display display objects such as images and characters.
  • the display can be, for example, an LCD display, but is not limited thereto.
  • the memory 9140 may be a solid state memory, for example, a read only memory (ROM), a random access memory (RAM), a SIM card, and the like. There can also be memory that retains information even when power is off, can be selectively erased and is provided with more data, an example of which is sometimes called EPROM or the like. Memory 9140 may also be some other type of device.
  • the memory 9140 includes buffer memory 9141 (sometimes referred to as a buffer).
  • the memory 9140 may include an application/function storage part 9142 for storing application programs and function programs or procedures for executing operations of the electronic device 9600 through the central processing unit 9100 .
  • the memory 9140 may also include a data storage unit 9143 for storing data such as contacts, digital data, pictures, sounds and/or any other data used by the electronic device.
  • the driver storage part 9144 of the memory 9140 may include various drivers of the electronic device for communication functions and/or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).
  • 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 coupled to the central processing unit 9100 to provide input signals and receive output signals, which may be the same as in conventional mobile communication terminals.
  • multiple communication modules 9110 such as a cellular network module, a bluetooth module and/or a wireless local area network module, may be provided in the same electronic device.
  • the communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide an audio output via the speaker 9131 and receive an audio input from the microphone 9132 to implement general telecommunication functions.
  • Audio processor 9130 may include any suitable buffers, decoders, amplifiers, etc.
  • the audio processor 9130 is also coupled to the central processing unit 9100, so that the microphone 9132 can be used to record on the machine, and the speaker 9131 can be used to play the sound stored on the machine.
  • Embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps in the circuit detection point voltage filtering or switch state detection method in the above-mentioned embodiments, and a computer program is stored on the computer-readable storage medium, the When the computer program is executed by the processor, all the steps of the circuit detection point voltage filtering or switch state detection method in the above embodiments are realized. For example, the following steps are realized when the processor executes the computer program:
  • Step 110 Continuously collect a plurality of voltage data of a detection point in the target circuit.
  • Step 120 Obtain a plurality of voltage filter values corresponding to the detection point by applying a filtering method according to the plurality of voltage data.
  • Step 130 Compare a plurality of the voltage filter values to obtain corresponding comparison results.
  • Step 140 If the comparison result satisfies a preset condition, then determine a voltage target value of the detection point based on a plurality of the voltage filter values.
  • the computer-readable storage medium provided by the embodiment of the present application for realizing the voltage filtering method at the detection point of the circuit can effectively verify the validity of the voltage filtering at the detection point in the circuit, and can effectively ensure the reliability of the voltage filtering at the detection point , can effectively and reliably prevent voltage jitter from causing misjudgment of circuit control, and then can effectively improve the accuracy and reliability of subsequent control or detection based on the filtered voltage, especially for the control guidance unit of the charging stand of new energy vehicles etc., can effectively improve the accuracy of the switch state in the control guidance unit according to the filtered voltage detection, and then can effectively improve the working stability and reliability of the control guidance unit of the charging stand of the new energy vehicle.
  • the processor implements the following steps when executing the computer program:
  • Step 210 Based on the detection point voltage filtering method, obtain the voltage target value of the first detection point after the first switch is controlled to be closed, wherein one end of the first switch is connected to the first The resistors are connected, and the other end of the first switch is provided with the first detection point.
  • Step 220 Determine whether the voltage target value at the first detection point satisfies the first closing condition, and if so, determine that the first switch is currently in a closed state.
  • the computer-readable storage medium provided by the embodiment of the present application for realizing the switch state detection method can effectively verify the validity of the voltage filtering at the detection point in the circuit, can effectively ensure the reliability of the voltage filtering at the detection point, and can Effectively and reliably prevent misjudgment of circuit control caused by voltage jitter, and then can effectively improve the accuracy and reliability of switch state detection in the control and guidance unit of the charging stand of new energy vehicles based on the filtered voltage, thereby effectively improving The working stability and reliability of the charging stand of new energy vehicles.
  • the embodiments of the present invention may be provided as methods, apparatuses, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • the present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (apparatus), and computer program products according to embodiments of the invention.
  • each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions.
  • These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Direct Current Feeding And Distribution (AREA)
  • Control Of Eletrric Generators (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

一种电路检测点电压滤波方法、开关状态检测方法及相关装置,可用于新能源技术领域,电路检测点电压滤波方法包括:连续采集目标电路中一检测点的多个电压数据;根据多个所述电压数据应用滤波方式分别获得该检测点对应的多个电压滤波值;比较多个所述电压滤波值,若对应的比较结果满足预设条件,则基于多个所述电压滤波值确定所述检测点的电压目标值。本申请能够有效验证电路中检测点电压滤波的有效性,进而保证检测点电压滤波的可靠性,进而能够有效提高根据滤波后电压进行后续控制或检测的准确性及可靠性。

Description

电路检测点电压滤波方法、开关状态检测方法及相关装置
相关申请
本申请要求于2021年7月23日递交的申请号为202110839634.6的中国发明专利申请的优先权,并引用上述专利申请公开的内容作为本申请的一部分。
技术领域
本申请涉及新能源技术领域,具体涉及电路检测点电压滤波方法、开关状态检测方法及相关装置。
背景技术
检测点DP(Detecting Point)电压滤波是指针对电路中的检测点采集的电压模拟信号进行数字信号转换后进行滤波处理,来防止电压抖动而引起针对电路的控制误判。尤其针对新能源汽车的充电座的控制引导单元等,对检测点进行电压滤波的可靠性直接决定了控制引导单元中开关状态的检测准确性。
目前,现有的检测点电压滤波方式通常应用单一的滤波电路等滤除电压中的纹波,但该种方式无法验证电压滤波的有效性,因此无法保证根据滤波后电压进行后续控制或检测的准确性。
发明内容
针对现有技术中的问题,本申请提供一种电路检测点电压滤波方法、开关状态检测方法及相关装置,能够有效验证电路中检测点电压滤波的有效性,进而保证检测点电压滤波的可靠性,进而能够有效提高根据滤波后电压进行后续控制或检测的准确性及可靠性。
为解决上述技术问题,本申请提供以下技术方案:
第一方面,本申请提供一种电路检测点电压滤波方法,包括:
连续采集目标电路中一检测点的多个电压数据;
根据多个所述电压数据应用滤波方式分别获得该检测点对应的多个电压滤波值;
比较多个所述电压滤波值,若对应的比较结果满足预设条件,则基于多个所述电压滤波值确定所述检测点的电压目标值。
第二方面,本申请提供一种开关状态检测方法,包括:
基于所述检测点电压滤波方法,在控制第一开关闭合后获取第一检测点的电压目标值,其中,所述第一开关的一端在一充电座的控制引导单元中与第一电阻相连,且该第一开关的另一端设有所述第一检测点;
判断所述第一检测点的电压目标值是否满足第一闭合条件,若是,则确定所述第一开关当前为已闭合状态。
第三方面,本申请提供一种电路检测点电压滤波装置,包括:
电压采集模块,用于连续采集目标电路中一检测点的多个电压数据;
电压滤波模块,用于根据多个所述电压数据应用滤波方式分别获得该检测点对应的多个电压滤波值;
微控制器,用于比较多个所述电压滤波值,若对应的比较结果满足预设条件,则基于多个所述电压滤波值确定所述检测点的电压目标值。
第四方面,本申请提供一种开关状态检测系统,包括:
检测点电压滤波装置,用于基于所述检测点电压滤波方法,在控制第一开关闭合后获取第一检测点的电压目标值,其中,所述第一开关的一端在一充电座的控制引导单元中与第一电阻相连,且该第一开关的另一端设有所述第一检测点;
开关状态判断模块,用于判断所述第一检测点的电压目标值是否满足第一闭合条件,若是,则确定所述第一开关当前为已闭合状态。
第五方面,本申请提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现所述的检测点电压滤波方法,或者,所述处理器执行所述计算机程序时实现所述的开关状态检测方法。
第六方面,本申请提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现所述的检测点电压滤波方法,或者,所述计算机程序被处理器执行时实现所述的开关状态检测方法。
由上述技术方案可知,本申请提供的一种电路检测点电压滤波方法、开关状态检测方法及相关装置,其中的电路检测点电压滤波方法包括:连续采集目标电路中一检测点的多个电压数据;根据多个所述电压数据应用滤波方式分别获得该检测点对应的多个电压滤波值;比较多个所述电压滤波值,若对应的比较结果满足预设条件,则基于多个所述电压滤波值确定所述检测点的电压目标值,能够有效验证电路中检测点电压滤波的有效性,能够有效保证检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,进而能够有效提高根据滤波后电压进行后续控制或检测的准确性及可靠性,尤其针对新能源汽车的充电座的控制引导单元等,能够有效提高根据滤波后电压检测控制引导单元中开关状态的准确性,进而能够有效提高新能源汽车的充电座的控制引导单元的工作稳定性及可靠性。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例中的电路检测点电压滤波方法的第一种流程示意图。
图2是本申请实施例中的电路检测点电压滤波方法的第二种流程示意图。
图3是本申请实施例中的电路检测点电压滤波方法的第三种流程示意图。
图4是本申请实施例中的电路检测点电压滤波方法的第四种流程示意图。
图5是本申请实施例中的开关状态检测方法的第一种流程示意图。
图6是本申请实施例中的控制引导单元的的举例示意图。
图7是本申请实施例中的开关状态检测方法的第二种流程示意图。
图8是本申请实施例中的开关状态检测方法的第三种流程示意图。
图9是本申请实施例中的开关状态检测方法的第四种流程示意图。
图10是本申请实施例中的电路检测点电压滤波装置的结构示意图。
图11是本申请实施例中的开关状态检测系统的第一种结构示意图。
图12是本申请实施例中的开关状态检测系统的第二种结构示意图。
图13是本申请应用实例中的基于该开关状态检测系统实现的开关状态检测方法的流程示意图。
图14是本申请实施例中的电子设备的结构示意图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
需要说明的是,本申请公开的电路检测点电压滤波方法及开关状态检测方法及装置可用于新能源技术领域,也可用于除新能源技术领域之外的任意领域,本申请公开的电路检测点电压滤波方法及开关状态检测方法及相关装置、系统的应用领域不做限定。
考虑到现有的检测点电压滤波方式是指应用单一的滤波电路等滤除电压中的纹波,但该种方式无法验证电压滤波的有效性,因此无法保证根据滤波后电压进行后续控制或检测的准确性等问题,本申请实施例提供一种电路检测点电压滤波方法及电路检测点电压滤波装置,通过连续采集目标电路中一检测点的多个电压数据;根据多个所述电压数据应用滤波方式分别获得该检测点对应的多个电压滤波值;比较多个所述电压滤波值,若对应的比较结果满足预设条件,则基于多个所述电压滤波值确定所述检测点的电压目标值,能够有效验证电路中检测点电压滤波的有效性,能够有效保证检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,进而能够有效提高根据滤波后电压进行后续控制或检测的准确性及可靠性,尤其针对新能源汽车的充电座的控制引导单元等,能够有效提高根据滤波后电压检测控制引导单元中开关状态的准确性,进而能够有效提高新能源汽车的充电座的控制引导单元的工作稳定性及可靠性。
具体通过下述多个实施例分别进行说明。
为了解决现有的检测点电压滤波方式存在的无法验证电压滤波的有效性,因此无法保证根据滤波后电压进行后续控制或检测的准确性等问题,本申请实施例提供一种电路检测点电压滤波方法,参见图1,所述电路检测点电压滤波方法具体包含有如下内容:
步骤110:连续采集目标电路中一检测点的多个电压数据。
在步骤110中,所述连续采集是指在预设的时段内进行预设次数的数据采集,例如在0.3S内采集10次,进而得到一个检测点的10个电压数据Vdp 1至Vdp 10
可以理解的是,所述电压数据是指数字信号,该数字信号的采集过程为:采集目标电路中的采集点的电压模拟信号,而后将该电压模拟信号进行数字信号转换,得到用于进行后续步骤200的滤波处理的数字信号。
在本申请的一个或多个实施例中,所述目标电路是指所有需要设置检测点并对检测点进行电压滤波的电路,如开关电路等。在本申请的一个具体举例中,所述目标电路可以专指新能源汽车的充电座的控制引导单元,该控制引导单元可以指用于对新能源汽车的充电座进行开关控制引导的电路。
步骤120:根据多个所述电压数据应用滤波方式分别获得该检测点对应的多个电压滤波值。
在步骤120中,可以选取两个及两个以上的滤波方式分别对多个所述电压数据进行处理,以得到数量与选取的滤波方式相等的检测点对应的电压滤波值,例如,若选取四种滤波方式A、B、C和D,则得到这四种滤波方式分别对应的滤波结果,即电压滤波值A1、B1、C1和D1。在一种具体举例中,所述滤波方式可以选择均值滤波、中值滤波、插值后滤波、降维后滤波及邻域平均滤波方式中的至少两种。
步骤130:比较多个所述电压滤波值,以得到对应的比较结果。
步骤140:若所述比较结果满足预设条件,则基于多个所述电压滤波值确定所述检测点的电压目标值。
在步骤130和步骤140中,比较多个所述电压滤波值的具体方式可以为获取多个电压滤波值中最大值和最小值之间的差值,将该差值作为比较结果判断其是否小于如预设的误差阈值等阈值,若小于,则根据多个所述电压滤波值确定所述检测点的电压目标值。
可以理解的是,根据多个所述电压滤波值确定所述检测点的电压目标值的具体方式可以为计算多个所述电压滤波值的均值,并将该均值确定所述检测点的电压目标值;或者可以选取多个电压滤波值之间的中值,并将该中值确定所述检测点的电压目标值;还可以自多个所述电压滤波值中任选其一作为所述检测点的电压目标值。
从上述描述可知,本申请实施例提供的检测点电压滤波方法,能够有效验证电路中检测点电压滤波的有效性,能够有效保证检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,进而能够有效提高根据滤波后电压进行后续控制或检测的准确性及可靠性,尤其针对新能源汽车的充电座的控制引导单元等,能够有效提高根据滤波后电压检测控制引导单元中开关状态的准确性,进而能够有效提高新能源汽车的充电座的控制引导单元的工作稳定性及可靠性。
为了在验证电路中检测点电压滤波结果无效或不可靠时提供一种可靠处理方式,在本申请提供的检测点电压滤波方法的一个实施例中,参见图2,所述检测点电压滤波方法的步骤130之后还可以包含有如下内容:
步骤150:若所述比较结果不满足所述预设条件,则确定所述检测点的电压滤波结果无效。
而后返回执行步骤110,重新执行步骤110至步骤130:重新连续采集所述检测点的多个电压数据并获得该检测点对应的多个电压滤波值,直至重新得到的所述比较结果满足所述预设条件并执行步骤140确定所述检测点的电压目标值。
从上述描述可知,本申请实施例提供的检测点电压滤波方法,能够在验证电路中检测点电压滤波结果无效或不可靠时提供一种可靠处理方式,以进一步保障检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,并能够有效提高检测点电压滤波过程的适用广泛性。
为了减少电路的复杂性、减少能源的浪费,在本申请提供的检测点电压滤波方法的一个实施例中,参见图3,所述检测点电压滤波方法的步骤120可以具体包含有如下内容:
步骤121:应用均值滤波算法对所述检测点的多个所述电压数据进行均值计算,得到作为所述检测点的一个电压滤波值的电压均值。
举例来说,假设检测点电压Vdp,取检测点的n个数据,n为正整数;n个数据和为Vdp_sum,则有:
Vdp_sum=Vdp 1+Vdp 2+Vdp 3+......+Vdp n-1+Vdp n
假设n个数据的均值为Vdp_ave;则有:
Vdp_ave=Vdp_sum/n。
步骤122:应用中值滤波算法对所述检测点的多个所述电压数据进行中值计算,得到作为所述检测点的另一个电压滤波值的电压中值。
举例来说,假设检测点电压Vdp,取检测点的n个数据,而后操作如下:
1.首先将检测点的n个电压值按照从小到大或者从大到小的顺序排列,得到一个由n个电压值重新排列组合的数据组合;
2.取n数据中间的值,即中值Vdp_mid;
若n为偶数,则有:
Vdp_mid=(Vdp n/2+Vdp (n/2)+1)/2;
若n为奇数,则有:
Vdp_mid=(Vdp (n/2)+1)。
从上述描述可知,本申请实施例提供的检测点电压滤波方法,通过只选取两种滤波方式对所述检测点的多个所述电压数据进行滤波处理,能够在保证验证电压滤波结果有效性的基础上,最大限度的降低计算量及时间成本,进而能够有效减少电路的复杂性、减少能源的浪费。
为了进一步减少电路的复杂性、减少能源的浪费,在本申请提供的检测点电压滤波方法的一个实施例中,参见图4,所述检测点电压滤波方法的步骤130可以具体包含有如下内容:
步骤131:获取所述电压均值和所述电压中值之间的差值,并判断该差值是否小于误差阈值,若是,则执行步骤140的具体实现方式:步骤141;
步骤141:基于所述电压均值和所述电压中值确定所述检测点的电压目标值。
举例来说,经步骤121和步骤122提供的两种滤波算法之后得到两个值Vdp_ave和Vdp_mid,将该两个值相减得到差值,如果差值小于误差阈值,则基于所述电压均值和所述电压中值确定所述检测点的电压目标值;若差值大于或等于设定的误差阈值,则返回执行步骤110。
可以理解的是,所述基于所述电压均值和所述电压中值确定所述检测点的电压目标值的具体方式可以为:计算所述电压均值和所述电压中值的均值,并将该均值确定所述检测点的电压目标值;或者自所述电压均值和所述电压中值中任选其一作为所述检测点的电压目标值。
从上述描述可知,本申请实施例提供的检测点电压滤波方法,通过基于所述电压均值和所述电压中值确定所述检测点的电压目标值,能够在保证验证电压滤波结果有效性的基础上,进一步降低计算量及时间成本,进而能够有效减少电路的复杂性、减少能源的浪费。
为了解决日益突出的能源危机和环境污染问题,新能源汽车已成为各国发展的主要方向。针对新能源汽车的充电座的控制引导单元,检测该控制引导单元中开关状态的有效性也决定了新能源汽车的充电座的应用可靠性,因此,考虑到现有的检测点电压滤波方式应用单一的滤波电路等滤除电压中的纹波,但该种方式无法验证电压滤波的有效性,因此无法保证根据滤波后电压进行控制引导单元的开关状态检测的准确性的问题,本申请实施例提供一种开关状态检测方法及开关状态检测装置,通过基于前述的一个或多个实施例中提及的检测点电压滤波方法,在控制第一开关闭合后获取第一检测点的电压目标值,其中,所述第一开关的一端在一充电座的控制引导单元中与第一电阻相连,且该第一开关的另一端设有所述第一检测点;判断所述第一检测点的电压目标值是否满足第一闭合条件,若是,则确定所述第一开关当前为已闭合状态,能够有效验证电路中检测点电压滤波的有效性,能够有效保证检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,进而能够有效提高根据滤波后电压进行新能源汽车的充电座的控制引导单元中开关状态检测的准确性及可靠性,进而能够有效提高新能源汽车的充电座的工作稳定性及可靠性。
具体通过下述多个实施例分别进行说明。
为了解决现有的检测点电压滤波方式应用单一的滤波电路等滤除电压中的纹波,但该种方式无法验证电压滤波的有效性,因此无法保证根据滤波后电压进行控制引导单元的开关状态检测的准确性的问题,在本申请提供的开关状态检测方法的一个实施例中,参见图5,所述开关状态检测方法具体包含有如下内容:
步骤210:基于所述检测点电压滤波方法,在控制第一开关闭合后获取第一检测点的电压目标值,其中,所述第一开关的一端在一充电座的控制引导单元中与第一电阻相连,且该第一开关的另一端设有所述第一检测点。
可以理解的是,所述充电座的控制引导单元即为目标电路的一种具体实现方式,因此,步骤210将第一检测点作为所述检测点电压滤波方法中当前的检测点进行滤波计算,所述例如,应用步骤110至步骤140实现如下内容:
连续采集充电座的控制引导单元中第一检测点的多个电压数据,根据多个所述电压数据应用滤波方式分别获得该第一检测点对应的多个电压滤波值,比较多个所述电压滤波值,以得到对应的比较结果,若所述比较结果满足预设条件,则基于多个所述电压滤波值确定所述第一检测点的电压目标值Vdp3_last。
在本申请的一个或多个实施例中,所述第一检测点表示为DP3,所述第一开关表示为Sv。
步骤220:判断所述第一检测点的电压目标值是否满足第一闭合条件,若是,则确定所述第一开关当前为已闭合状态。
可以理解的是,若经步骤220判断获知所述第一检测点的电压目标值不满足第一闭合条件,则判定所述第一开关闭合失败,并输出用于表示该第一开关闭合失败的告知消息,例如可以在于该开关状态检测系统通信连接的显示屏中显示该告知消息,或者通过设置在开关状态检测系统中的通信单元经由第三方服务器或自行向技术人员持有的客户端设备中发送该告知消息。
其中,技术人员持有的客户端设备可以包括智能手机、平板电子设备、网络机顶盒、便携式计算机、台式电脑、个人数字助理(PDA)、车载设备、智能穿戴设备等。其中,所述智能穿戴设备可以包括智能眼镜、智能手表、智能手环等。以有效提高开关闭合失败消息的告知效率及技术人员针对充电座的控制引导单元的维护效率等。
上述的客户端设备可以具有通信模块(即通信单元),可以与远程的服务器进行通信连接,实现与所述服务器的数据传输。所述服务器可以包括任务调度中心一侧的服务器,其他的实施场景中也可以包括中间平台的服务器,例如与任务调度中心服务器有通信链接的第三方服务器平台的服务器。所述的服务器可以包括单台计算机设备,也可以包括多个服务器组成的服务器集群,或者分布式装置的服务器结构。
上述服务器与所述客户端设备之间可以使用任何合适的网络协议进行通信,包括在本申请提交日尚未开发出的网络协议。所述网络协议例如可以包括TCP/IP协议、UDP/IP协议、HTTP协议、HTTPS协议等。当然,所述网络协议例如还可以包括在上述协议之上使用的RPC协议(Remote Procedure Call Protocol,远程过程调用协议)、REST协议(Representational State Transfer,表述性状态转移协议)等。
从上述描述可知,本申请实施例提供的开关状态检测方法,能够有效验证电路中检测点电压滤波的有效性,能够有效保证检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,进而能够有效提高根据滤波后电压进行新能源汽车的充电座的控制引导单元中开关状态检测的准确性及可靠性,进而能够有效提高新能源汽车的充电座的工作稳定性及可靠性。
为了进一步提高开关状态检测方法的应用针对性,在本申请的开关状态检测方法的一个实施例中,所述充电座为用于兼容多个充电协议的兼容性新能源汽车充电座。
也就是说,本申请的一个或多个实施例中提及的控制引导单元均可以为专门用于兼容多个充电协议的兼容性新能源汽车充电座的控制引导单元。
可以理解的是,在所述控制引导单元的一种具体举例中,参见图6,所述控制引导单元可以包含有:第一开关Sv、第一电阻Rv、电源U2、第二开关S2'、第二电阻R4'、选择开关S2;所述第一开关Sv的一端在兼容性新能源汽车充电座的控制引导单元中与第一电阻Rv相连,且该第一开关Sv的另一端设有所述第一检测点DP3(图6中的Detecting Point 3),所述第一电阻Rv与电源U2串联并组成一支路;所述第二开关S2'的一端在所述控制引导单元中与第二电阻R4'串联形成第一支路,该第一支路与所述第一电阻Rv 所在支路并联,第一支路也与第三电阻R3'所在支路并联;所述选择开关S2一端对应的各个所述充电协议对应的控制点1至3分别连接一个电阻(即电阻R4c'、电阻R4c和电阻R4),且该选择开关S2的另一端与所述第二检测点DP2(图6中的Detecting Point 2)所在支路连接,该第二检测点DP2所在支路也与第二开关S2'的另一端连接;所述选择开关S2设置在第二支路上,该第二支路分别与所述第一支路和所述第一电阻Rv所在支路并联。
可以理解的是,所述第一开关Sv为用于检测连接状态的连接状态检测开关、所述第二开关S2'为用于进行充电控制的充电控制开关、所述选择开关S2为用于进行协议兼容的协议兼容开关。
为了进一步提高第一开关状态检测的准确性,在本申请的开关状态检测方法的一个实施例中,所述开关状态检测方法中的第一闭合条件具体包含有如下内容:
在控制所述第一开关闭合后获取的所述第一检测点的电压目标值与在控制所述第一开关闭合前预先获取的所述第一检测点的电压目标值不相等,且在控制所述第一开关闭合后获取的所述第一检测点的电压目标值在任一所述充电协议对应的电压范围内。
为了提供一种识别充电协议的方式,在本申请的开关状态检测方法的一个实施例中,参见图7,所述开关状态检测方法中的步骤220之后还具体包含有如下内容:
步骤230:基于各个所述充电协议各自对应的预设电压范围,确定所述电压目标值对应的目标充电协议。
从上述描述可知,本申请实施例提供的开关状态检测方法,能够提高选择开关闭合可靠性,满足兼容性新能源汽车充电座的兼容性要求,并进一步提高兼容性新能源汽车充电座的应用可靠性及稳定性。
为了提高开关状态检测的全面性及有效性,在本申请的开关状态检测方法的一个实施例中,参见图8,所述开关状态检测方法中的步骤230之后还具体包含有如下内容:
步骤241:接收针对第二开关的闭合指令并控制该第二开关闭合,其中,该第二开关的一端在所述控制引导单元中与第二电阻串联形成第一支路,该第一支路与所述第一电阻所在支路并联。
步骤242:基于所述检测点电压滤波方法获取第二检测点的电压目标值,其中,所述第二检测点所在支路与所述第一支路连接。
步骤243:判断所述第二检测点的电压目标值是否满足第二闭合条件,若是,则确定所述第二开关当前为已闭合状态。
为了进一步提高第二开关状态检测的准确性,在本申请的开关状态检测方法的一个实施例中,所述开关状态检测方法中的第二闭合条件具体包含有如下内容:
在控制所述第二开关闭合后获取的所述第二检测点的电压目标值与在控制所述第二开关闭合前预先获取的所述第二检测点的电压目标值不相等。
为了提高选择开关状态检测的全面性及有效性,在本申请的开关状态检测方法的一个实施例中,参见图9,所述开关状态检测方法中的步骤243之后还具体包含有如下内容:
步骤251:接收针对选择开关的闭合指令;其中,该选择开关设置在第二支路上,该第二支路分别与所述第一支路和所述第一电阻所在支路并联;
步骤252:根据所述目标充电协议控制所述选择开关闭合至与该目标充电协议对应的控制点;其中,所述选择开关一端对应的各个所述充电协议对应的控制点分别连接一个电阻,且该选择开关的另一端与所述第二检测点所在支路连接;
步骤253:基于所述检测点电压滤波方法再次获取所述第二检测点的电压目标值;
步骤254:判断在控制所述选择开关闭合后获取的所述第二检测点的电压目标值是否满足第三闭合条件,若是,则确定所述选择开关当前为已闭合状态。
从上述描述可知,本申请实施例提供的开关状态检测方法,能够提高选择开关闭合可靠性,满足兼容性新能源汽车充电座的兼容性要求,并进一步提高兼容性新能源汽车充电座的应用可靠性及稳定性。
为了进一步提高选择开关状态检测的准确性,在本申请的开关状态检测方法的一个实施例中,所述开关状态检测方法中的第三闭合条件具体包含有如下内容:
在控制所述选择开关闭合后获取的所述第二检测点的电压目标值与在控制所述选择开关闭合前预先获取的所述第二检测点的电压目标值不相等。
在此基础上,针对能够解决现有充电系统存在一系列缺陷和问题,并为世界提供一个统一的、安全的、可靠的、低成本充电系统解决方案的ChaoJi充电系统,在本申请的一个或多个实施例中提及的各个所述充电协议至少可以包含有ChaoJi充电标准、GB 2015充电标准和CHAdeMO(Charge de move:日本电动汽车快速充电标准)充电标准。也就是说,用于兼容多个充电协议的兼容性新能源汽车充电座能够兼容ChaoJi充电标准、GB 2015充电标准和CHAdeMO充电标准。
基于此,在所述开关状态检测方法中,所述ChaoJi充电标准对应的电压范围为(5.64V,6.36V);
所述GB 2015充电标准对应的电压范围为(7.54V,8.45V);
所述CHAdeMO充电标准对应的电压范围为(1.86V,2.14V)。
那么第一闭合条件中提及的在控制所述第一开关闭合后获取的所述第一检测点的电压目标值在任一所述充电协议对应的电压范围内的具体举例为:
第一检测点DP3的电压目标值Vdp3处于5.64V<Vdp3<6.36V(ChaoJi)、7.54V<Vdp3<8.45V(GB2015)、1.86V<Vdp3<2.14V(CHAdeMO)的任一范围内。
相对应的,图6中的所述选择开关S2一端对应的控制点1为CHAdeMO充电标准对应的控制点;控制点3为GB 2015充电标准对应的控制点;控制点2为CHAdeMO充电标准对应的控制点。
为了解决现有的检测点电压滤波方式存在的无法验证电压滤波的有效性,因此无法保证根据滤波后电压进行后续控制或检测的准确性等问题,本申请实施例提供一种用于实现所述电路检测点电压滤波方法中任意或全部内容的电路检测点电压滤波装置,参见图10,所述电路检测点电压滤波装置具体包含有如下内容:
电压采集模块11,用于连续采集目标电路中一检测点的多个电压数据。
在电压采集模块11中,所述连续采集是指在预设的时段内进行预设次数的数据采集,例如在0.3S内采集10次,进而得到一个检测点的10个电压数据Vdp 1至Vdp 10
可以理解的是,所述电压数据是指数字信号,该数字信号的采集过程为:采集目标电路中的采集点的电压模拟信号,而后将该电压模拟信号进行数字信号转换,得到用于进行后续滤波处理的数字信号。
电压滤波模块12,用于根据多个所述电压数据应用滤波方式分别获得该检测点对应的多个电压滤波值。
在电压滤波模块12中,可以选取两个及两个以上的滤波方式分别对多个所述电压数据进行处理,以得到数量与选取的滤波方式相等的检测点对应的电压滤波值,例如,若选取四种滤波方式A、B、C和D,则得到这四种滤波方式分别对应的滤波结果,即电压滤波值A1、B1、C1和D1。在一种具体举例中,所述滤波方式可以选择均值滤波、中值滤波、插值后滤波、降维后滤波及邻域平均滤波方式中的至少两种。
微控制器13,用于比较多个所述电压滤波值,若对应的比较结果满足预设条件,则基于多个所述电压 滤波值确定所述检测点的电压目标值。
在微控制器13中,比较多个所述电压滤波值的具体方式可以为获取多个电压滤波值中最大值和最小值之间的差值,将该差值作为比较结果判断其是否小于如预设的误差阈值等阈值,若小于,则根据多个所述电压滤波值确定所述检测点的电压目标值。
可以理解的是,根据多个所述电压滤波值确定所述检测点的电压目标值的具体方式可以为计算多个所述电压滤波值的均值,并将该均值确定所述检测点的电压目标值;或者可以选取多个电压滤波值之间的中值,并将该中值确定所述检测点的电压目标值;还可以自多个所述电压滤波值中任选其一作为所述检测点的电压目标值。
本申请提供的检测点电压滤波装置的实施例具体可以用于执行上述实施例中的检测点电压滤波方法的实施例的处理流程,其功能在此不再赘述,可以参照上述检测点电压滤波方法实施例的详细描述。
从上述描述可知,本申请实施例提供的检测点电压滤波装置,能够有效验证电路中检测点电压滤波的有效性,能够有效保证检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,进而能够有效提高根据滤波后电压进行后续控制或检测的准确性及可靠性,尤其针对新能源汽车的充电座的控制引导单元等,能够有效提高根据滤波后电压检测控制引导单元中开关状态的准确性,进而能够有效提高新能源汽车的充电座的控制引导单元的工作稳定性及可靠性。
为了在验证电路中检测点电压滤波结果无效或不可靠时提供一种可靠处理方式,在本申请提供的检测点电压滤波装置的一个实施例中,所述检测点电压滤波装置中的所述微控制器13还用于执行下述内容:
若所述比较结果不满足所述预设条件,则控制所述电压采集模块重新连续采集所述检测点的多个电压数据并控制所述电压滤波模块重新获得该检测点对应的多个电压滤波值,直至所述微控制器重新得到的所述比较结果满足所述预设条件并确定所述检测点的电压目标值。
从上述描述可知,本申请实施例提供的检测点电压滤波装置,能够在验证电路中检测点电压滤波结果无效或不可靠时提供一种可靠处理方式,以进一步保障检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,并能够有效提高检测点电压滤波过程的适用广泛性。
为了减少电路的复杂性、减少能源的浪费,在本申请提供的检测点电压滤波装置的一个实施例中,所述检测点电压滤波装置中的电压滤波模块12可以具体包含有如下内容:
均值滤波单元,用于应用均值滤波算法对所述检测点的多个所述电压数据进行均值计算,得到作为所述检测点的一个电压滤波值的电压均值;
中值滤波单元,用于应用中值滤波算法对所述检测点的多个所述电压数据进行中值计算,得到作为所述检测点的另一个电压滤波值的电压中值。
从上述描述可知,本申请实施例提供的检测点电压滤波装置,通过只选取两种滤波方式对所述检测点的多个所述电压数据进行滤波处理,能够在保证验证电压滤波结果有效性的基础上,最大限度的降低计算量及时间成本,进而能够有效减少电路的复杂性、减少能源的浪费。
为了进一步减少电路的复杂性、减少能源的浪费,在本申请提供的检测点电压滤波装置的一个实施例中,所述检测点电压滤波装置的微控制器13可以具体包含有如下内容:
误差判断单元,用于获取所述电压均值和所述电压中值之间的差值,并判断该差值是否小于误差阈值,若是,则基于所述电压均值和所述电压中值确定所述检测点的电压目标值。
从上述描述可知,本申请实施例提供的检测点电压滤波装置,通过基于所述电压均值和所述电压中值确定所述检测点的电压目标值,能够在保证验证电压滤波结果有效性的基础上,进一步降低计算量及时间 成本,进而能够有效减少电路的复杂性、减少能源的浪费。
为了解决现有的检测点电压滤波方式应用单一的滤波电路等滤除电压中的纹波,但该种方式无法验证电压滤波的有效性,因此无法保证根据滤波后电压进行控制引导单元的开关状态检测的准确性的问题,本申请提供一种用于实现所述开关状态检测方法中全部或部分内容的开关状态检测系统的实施例,参见图11,所述开关状态检测系统具体包含有如下内容:
检测点电压滤波装置21,用于基于所述检测点电压滤波方法,在控制第一开关闭合后获取第一检测点的电压目标值,其中,所述第一开关的一端在一充电座的控制引导单元中与第一电阻相连,且该第一开关的另一端设有所述第一检测点。
开关状态判断模块22,用于判断所述第一检测点的电压目标值是否满足第一闭合条件,若是,则确定所述第一开关当前为已闭合状态。
可以理解的是,若经开关状态判断模块22判断获知所述第一检测点的电压目标值不满足第一闭合条件,则判定所述第一开关闭合失败,并输出用于表示该第一开关闭合失败的告知消息,例如可以在于该开关状态检测系统通信连接的显示屏中显示该告知消息,或者通过设置在开关状态检测系统中的通信单元经由第三方服务器或自行向技术人员持有的客户端设备中发送该告知消息。
本申请提供的开关状态检测系统的实施例具体可以用于执行上述实施例中的开关状态检测方法的实施例的处理流程,其功能在此不再赘述,可以参照上述开关状态检测方法实施例的详细描述。
从上述描述可知,本申请实施例提供的开关状态检测系统,能够有效验证电路中检测点电压滤波的有效性,能够有效保证检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,进而能够有效提高根据滤波后电压进行新能源汽车的充电座的控制引导单元中开关状态检测的准确性及可靠性,进而能够有效提高新能源汽车的充电座的工作稳定性及可靠性。
为了进一步提高开关状态检测方法的应用针对性,在本申请的开关状态检测系统的一个实施例中,所述充电座为用于兼容多个充电协议的兼容性新能源汽车充电座。
为了进一步提高第一开关状态检测的准确性,在本申请的开关状态检测系统的一个实施例中,所述开关状态检测系统中的第一闭合条件具体包含有如下内容:
在控制所述第一开关闭合后获取的所述第一检测点的电压目标值与在控制所述第一开关闭合前预先获取的所述第一检测点的电压目标值不相等,且在控制所述第一开关闭合后获取的所述第一检测点的电压目标值在任一所述充电协议对应的电压范围内。
为了提供一种识别充电协议的方式,在本申请的开关状态检测系统的一个实施例中,参见图12,所述开关状态检测系统中还具体包含有如下内容:
协议识别模块23,用于基于各个所述充电协议各自对应的预设电压范围,确定所述电压目标值对应的目标充电协议。
从上述描述可知,本申请实施例提供的开关状态检测系统,能够提高选择开关闭合可靠性,满足兼容性新能源汽车充电座的兼容性要求,并进一步提高兼容性新能源汽车充电座的应用可靠性及稳定性。
为了提高开关状态检测的全面性及有效性,在本申请的开关状态检测系统的一个实施例中,所述开关状态检测系统中的所述电路检测点电压滤波装置包括:依次连接的电压采集模块11、电压滤波模块12和微控制器13;
所述微控制器13,还用于接收针对第二开关的闭合指令并控制该第二开关闭合,其中,该第二开关的一端在所述控制引导单元中与第二电阻串联形成第一支路,该第一支路与所述第一电阻所在支路并联;
依次连接的所述电压采集模块11、电压滤波模块12和微控制器13,还用于基于所述检测点电压滤波方法获取第二检测点的电压目标值,其中,所述第二检测点所在支路与所述第一支路连接;
所述开关状态判断模块22,还用于判断所述第二检测点的电压目标值是否满足第二闭合条件,若是,则确定所述第二开关当前为已闭合状态。
为了进一步提高第二开关状态检测的准确性,在本申请的开关状态检测系统的一个实施例中,所述开关状态检测方法中的第二闭合条件具体包含有如下内容:
在控制所述第二开关闭合后获取的所述第二检测点的电压目标值与在控制所述第二开关闭合前预先获取的所述第二检测点的电压目标值不相等。
为了提高选择开关状态检测的全面性及有效性,在本申请的开关状态检测系统的一个实施例中,所述开关状态检测系统中的所述微控制器13,还用于接收针对选择开关的闭合指令;其中,该选择开关设置在第二支路上,该第二支路分别与所述第一支路和所述第一电阻所在支路并联;
根据所述目标充电协议控制所述选择开关闭合至与该目标充电协议对应的控制点;其中,所述选择开关一端对应的各个所述充电协议对应的控制点分别连接一个电阻,且该选择开关的另一端与所述第二检测点所在支路连接;
依次连接的所述电压采集模块11、电压滤波模块12和微控制器13,还用于基于所述检测点电压滤波方法再次获取所述第二检测点的电压目标值;
所述开关状态判断模块14,还用于判断在控制所述选择开关闭合后获取的所述第二检测点的电压目标值是否满足第三闭合条件,若是,则确定所述选择开关当前为已闭合状态。
从上述描述可知,本申请实施例提供的开关状态检测系统,能够提高选择开关闭合可靠性,满足兼容性新能源汽车充电座的兼容性要求,并进一步提高兼容性新能源汽车充电座的应用可靠性及稳定性。
为了进一步提高选择开关状态检测的准确性,在本申请的开关状态检测系统的一个实施例中,所述开关状态检测系统中的第三闭合条件具体包含有如下内容:
在控制所述选择开关闭合后获取的所述第二检测点的电压目标值与在控制所述选择开关闭合前预先获取的所述第二检测点的电压目标值不相等。
在此基础上,各个所述充电协议至少可以包含有ChaoJi充电标准、GB 2015充电标准和CHAdeMO(Charge de move:日本电动汽车快速充电标准)充电标准。也就是说,用于兼容多个充电协议的兼容性新能源汽车充电座能够兼容ChaoJi充电标准、GB 2015充电标准和CHAdeMO充电标准。
基于此,在所述开关状态检测系统中,所述ChaoJi充电标准对应的电压范围为(5.64V,6.36V);
所述GB 2015充电标准对应的电压范围为(7.54V,8.45V);
所述CHAdeMO充电标准对应的电压范围为(1.86V,2.14V)。
为了进一步说明本方案,本申请还提供一种应用开关状态检测系统实现开关状态检测方法的具体应用实例,针对一种兼容ChaoJi(ChaoJi超级充电标准)、GB 2015、CHAdeMO(Charge de move:日本电动汽车快速充电标准)的充电座,为了减少电路的复杂性、减少能源的浪费,本申请应用实例提供一种基于检测点DP(Detecting Point包括(DP2\DP3))电压判断开关状态的逻辑算法。具体功能如下:
参见图12,所述开关状态检测系统包含有电压采集模块11、电压滤波模块12、开关状态判断模块22、协议识别模块23和微控制器13;具体说明如下:
(1)电压采集模块11:此模块为DP点电压的采集,将DP点的电压模拟信号转换位数字信号。
(2)电压滤波模块12:此模块位将得到的DP电压的数字进行滤波,防止电压抖动引起系统误判。
(3)开关状态判断模块22:根据DP2点电压的变化,来确定开关状态(打开或者关闭)。
(4)协议识别模块23:此模块通过微控制器对DP3点的电压的判断,当DP3电压大于5.64且小于6.36时,识别当前为ChaoJi标准;当DP3电压大于7.54且小于8.45时,识别当前为(GB2015)标准;当DP3电压大于1.86且小于2.14时,识别当前为CHAdeMO标准。
(5)微控制器13:获取经过DP点电压滤波算法模块输入的电压值,得到DP点电压的真实值,进行逻辑运算判断开关的状态。
在图12的基础上,所述开关状态检测系统还可以包含有开关控制单元:通过微控制器13控制开关的打开与闭合。
基于上述开关状态检测系统,本申请应用实例还提供一种基于该开关状态检测系统实现的开关状态检测方法,参见图13,具体包含有如下内容:
S1.设备上电之后等待CCU(车载充电控制器)发送闭合Sv命令。CCU发送闭合命令,微控制器单元控制Sv关闭,开关控制单元执行Sv关闭。
S2.测量DP3点电压值,对DP3电压进行滤波,得到稳定的电压值,微控制器控制读取Sv闭合前记录当前Vdp3_last电压,当控制Sv闭合后微控制器读取电压为Vdp3,如Vdp3_last等于Vdp3或者不在5.64V<Vdp3<6.36V(Chaoji)、7.54V<Vdp3<8.45V(GB2015)、1.86V<Vdp3<2.14V(CHAdeMO)范围内,则视为Sv关闭失败,Sv状态为打开。
S3.如果DP3电压值在上述范围内,则视为Sv关闭成功,根据电压值确定当前需要执行的标准如上所述。
S4.当标准确定后,等待CCU发送S2'关闭命令,CCU发送关闭S2'命令,测量DP2电压,滤波并记录当前DP2电压值。
微控制器控制S2'关闭,开关控制器执行S2'关闭后,测量DP2电压,滤波,如果控制关闭S2'之后的DP2电压不等于控制S2'关闭之前的,则认定S2'关闭,否则认为S2'关闭失败。
S5.当S2'关闭后,等待CCU关闭S2命令,CCU发送关闭S2命令,测量DP2电压,滤波,微控制器会根据不同的协议控制S2关闭的位置,微控制器控制关闭S2,开关控制器执行关闭S2。测量DP2电压,滤波,如果控制关闭S2之后的DP2电压不等于控制S2'关闭之前的,则认定S2关闭,否则认为S2关闭失败。
其中,S2中涉及的滤波算法如下:
为了保证数据的准确性,采用了两种不同的滤波算法,之后对其输出值进行比较,如果两个方法输出的数值的差值小于设定误差阈值,则认为此次数据正确。
(1)均值算法
假设DP点(DP2、DP3)电压Vdp,取DP点的n个数据,n个数据和为Vdp_sum,n个数据的平均值为Vdp_ave
Vdp_sum=Vdp 1+Vdp 2+Vdp 3+......+Vdp n-1+Vdp n
Vdp_ave=Vdp_sum/n;
(2)中值滤波算法
假设DP点(DP2、DP3)电压Vdp,取DP点的n个数据;
1.首先将DP点的n个电压值暗按照从小到大或者从大到小的顺序排列,得到新的n个数据组合;
2.取N数据中间的值;
3.中值为Vdp_mid:
如果N为偶数:Vdp_mid=(Vdp n/2+Vdp (n/2)+1)/2
如果N为基数:Vdp_mid=(Vdp (n/2)+1)
3.6.4两种滤波算法之后得到两个值Vdp_ave和Vdp_mid,两个值相减,如果差值大于设定的阈值,则认定数据错误,抛弃此组数据,微控制器从滤波模块内重新获取n个数据进行上述算法。重新获取是指:采集DP点的一组n个数据,并进行滤波计算,如果数据错误,则重新采集新的一组n个数据。
从硬件层面来说,为了现有的检测点电压滤波方式存在的无法验证电压滤波的有效性,因此无法保证根据滤波后电压进行后续控制或检测的准确性等问题,本申请提供一种用于实现所述电路检测点电压滤波方法或开关状态检测方法中的全部或部分内容的电子设备的实施例,所述电子设备具体包含有如下内容:
图14为本申请实施例的电子设备9600的系统构成的示意框图。如图14所示,该电子设备9600可以包括中央处理器9100和存储器9140;存储器9140耦合到中央处理器9100。值得注意的是,该图14是示例性的;还可以使用其他类型的结构,来补充或代替该结构,以实现电信功能或其他功能。
在一实施例中,电路检测点电压滤波功能可以被集成到中央处理器中。其中,中央处理器可以被配置为进行如下控制:
步骤110:连续采集目标电路中一检测点的多个电压数据。
步骤120:根据多个所述电压数据应用滤波方式分别获得该检测点对应的多个电压滤波值。
步骤130:比较多个所述电压滤波值,以得到对应的比较结果。
步骤140:若所述比较结果满足预设条件,则基于多个所述电压滤波值确定所述检测点的电压目标值。
从上述描述可知,本申请实施例提供的用于实现电路检测点电压滤波方法的电子设备,能够有效验证电路中检测点电压滤波的有效性,能够有效保证检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,进而能够有效提高根据滤波后电压进行后续控制或检测的准确性及可靠性,尤其针对新能源汽车的充电座的控制引导单元等,能够有效提高根据滤波后电压检测控制引导单元中开关状态的准确性,进而能够有效提高新能源汽车的充电座的控制引导单元的工作稳定性及可靠性。
或者,在另一实施例中,开关状态检测功能可以被集成到中央处理器中。其中,中央处理器可以被配置为进行如下控制:
步骤210:基于所述检测点电压滤波方法,在控制第一开关闭合后获取第一检测点的电压目标值,其中,所述第一开关的一端在一充电座的控制引导单元中与第一电阻相连,且该第一开关的另一端设有所述第一检测点。
步骤220:判断所述第一检测点的电压目标值是否满足第一闭合条件,若是,则确定所述第一开关当前为已闭合状态。
从上述描述可知,本申请实施例提供的用于实现开关状态检测方法的电子设备,能够有效验证电路中检测点电压滤波的有效性,能够有效保证检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,进而能够有效提高根据滤波后电压进行新能源汽车的充电座的控制引导单元中开关状态检测的准确性及可靠性,进而能够有效提高新能源汽车的充电座的工作稳定性及可靠性。
在另一个实施方式中,电路检测点电压滤波或开关状态检测装置可以与中央处理器9100分开配置,例如可以将电路检测点电压滤波或开关状态检测装置配置为与中央处理器9100连接的芯片,通过中央处理器的控制来实现电路检测点电压滤波或开关状态检测功能。
如图14所示,该电子设备9600还可以包括:通信模块9110、输入单元9120、音频处理器9130、显 示器9160、电源9170。值得注意的是,电子设备9600也并不是必须要包括图14中所示的所有部件;此外,电子设备9600还可以包括图14中没有示出的部件,可以参考现有技术。
如图14所示,中央处理器9100有时也称为控制器或操作控件,可以包括微处理器或其他处理器装置和/或逻辑装置,该中央处理器9100接收输入并控制电子设备9600的各个部件的操作。
其中,存储器9140,例如可以是缓存器、闪存、硬驱、可移动介质、易失性存储器、非易失性存储器或其它合适装置中的一种或更。可储存上述与失败有关的信息,此外还可存储执行有关信息的程序。并且中央处理器9100可执行该存储器9140存储的该程序,以实现信息存储或处理等。
输入单元9120向中央处理器9100提供输入。该输入单元9120例如为按键或触摸输入装置。电源9170用于向电子设备9600提供电力。显示器9160用于进行图像和文字等显示对象的显示。该显示器例如可为LCD显示器,但并不限于此。
该存储器9140可以是固态存储器,例如,只读存储器(ROM)、随机存取存储器(RAM)、SIM卡等。还可以是这样的存储器,其即使在断电时也保存信息,可被选择性地擦除且设有更多数据,该存储器的示例有时被称为EPROM等。存储器9140还可以是某种其它类型的装置。存储器9140包括缓冲存储器9141(有时被称为缓冲器)。存储器9140可以包括应用/功能存储部9142,该应用/功能存储部9142用于存储应用程序和功能程序或用于通过中央处理器9100执行电子设备9600的操作的流程。
存储器9140还可以包括数据存储部9143,该数据存储部9143用于存储数据,例如联系人、数字数据、图片、声音和/或任何其他由电子设备使用的数据。存储器9140的驱动程序存储部9144可以包括电子设备的用于通信功能和/或用于执行电子设备的其他功能(如消息传送应用、通讯录应用等)的各种驱动程序。
通信模块9110即为经由天线9111发送和接收信号的发送机/接收机9110。通信模块(发送机/接收机)9110耦合到中央处理器9100,以提供输入信号和接收输出信号,这可以和常规移动通信终端的情况相同。
基于不同的通信技术,在同一电子设备中,可以设置有多个通信模块9110,如蜂窝网络模块、蓝牙模块和/或无线局域网模块等。通信模块(发送机/接收机)9110还经由音频处理器9130耦合到扬声器9131和麦克风9132,以经由扬声器9131提供音频输出,并接收来自麦克风9132的音频输入,从而实现通常的电信功能。音频处理器9130可以包括任何合适的缓冲器、解码器、放大器等。另外,音频处理器9130还耦合到中央处理器9100,从而使得可以通过麦克风9132能够在本机上录音,且使得可以通过扬声器9131来播放本机上存储的声音。
本申请的实施例还提供能够实现上述实施例中的电路检测点电压滤波或开关状态检测方法中全部步骤的一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例中的电路检测点电压滤波或开关状态检测方法的全部步骤,例如,所述处理器执行所述计算机程序时实现下述步骤:
步骤110:连续采集目标电路中一检测点的多个电压数据。
步骤120:根据多个所述电压数据应用滤波方式分别获得该检测点对应的多个电压滤波值。
步骤130:比较多个所述电压滤波值,以得到对应的比较结果。
步骤140:若所述比较结果满足预设条件,则基于多个所述电压滤波值确定所述检测点的电压目标值。
从上述描述可知,本申请实施例提供的用于实现电路检测点电压滤波方法的计算机可读存储介质,能够有效验证电路中检测点电压滤波的有效性,能够有效保证检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,进而能够有效提高根据滤波后电压进行后续控制或检测的准确性及可靠性,尤其针对新能源汽车的充电座的控制引导单元等,能够有效提高根据滤波后电压检测控制引 导单元中开关状态的准确性,进而能够有效提高新能源汽车的充电座的控制引导单元的工作稳定性及可靠性。
或者,所述处理器执行所述计算机程序时实现下述步骤:
步骤210:基于所述检测点电压滤波方法,在控制第一开关闭合后获取第一检测点的电压目标值,其中,所述第一开关的一端在一充电座的控制引导单元中与第一电阻相连,且该第一开关的另一端设有所述第一检测点。
步骤220:判断所述第一检测点的电压目标值是否满足第一闭合条件,若是,则确定所述第一开关当前为已闭合状态。
从上述描述可知,本申请实施例提供的用于实现开关状态检测方法的计算机可读存储介质,能够有效验证电路中检测点电压滤波的有效性,能够有效保证检测点电压滤波的可靠性,能够有效且可靠地防止电压抖动而引起针对电路的控制误判,进而能够有效提高根据滤波后电压进行新能源汽车的充电座的控制引导单元中开关状态检测的准确性及可靠性,进而能够有效提高新能源汽车的充电座的工作稳定性及可靠性。
本领域内的技术人员应明白,本发明的实施例可提供为方法、装置、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。本发明是参照根据本发明实施例的方法、设备(装置)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
本发明中应用了具体实施例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (28)

  1. 一种电路检测点电压滤波方法,其中,包括:
    连续采集目标电路中一检测点的多个电压数据;
    根据多个所述电压数据应用滤波方式分别获得该检测点对应的多个电压滤波值;
    比较多个所述电压滤波值,若对应的比较结果满足预设条件,则基于多个所述电压滤波值确定所述检测点的电压目标值。
  2. 根据权利要求1所述的检测点电压滤波方法,其中,还包括:
    若所述比较结果不满足所述预设条件,则重新连续采集所述检测点的多个电压数据并获得该检测点对应的多个电压滤波值,直至重新得到的所述比较结果满足所述预设条件并确定所述检测点的电压目标值。
  3. 根据权利要求1或2所述的检测点电压滤波方法,其中,所述根据多个所述电压数据应用滤波方式分别获得该检测点对应的多个电压滤波值包括:
    应用均值滤波算法对所述检测点的多个所述电压数据进行均值计算,得到作为所述检测点的一个电压滤波值的电压均值;
    以及,应用中值滤波算法对所述检测点的多个所述电压数据进行中值计算,得到作为所述检测点的另一个电压滤波值的电压中值。
  4. 根据权利要求3所述的检测点电压滤波方法,其中,所述比较多个所述电压滤波值,若对应的比较结果满足预设条件,则基于多个所述电压滤波值确定所述检测点的电压目标值,包括:
    获取所述电压均值和所述电压中值之间的差值,并判断该差值是否小于误差阈值,若是,则基于所述电压均值和所述电压中值确定所述检测点的电压目标值。
  5. 一种开关状态检测方法,其中,包括:
    基于权利要求1至4任一项所述的检测点电压滤波方法,在控制第一开关闭合后获取第一检测点的电压目标值,其中,所述第一开关的一端在一充电座的控制引导单元中与第一电阻相连,且该第一开关的另一端设有所述第一检测点;
    判断所述第一检测点的电压目标值是否满足第一闭合条件,若是,则确定所述第一开关当前为已闭合状态。
  6. 根据权利要求5所述的开关状态检测方法,其中,所述充电座为用于兼容多个充电协议的兼容性新能源汽车充电座。
  7. 根据权利要求6所述的开关状态检测方法,其中,所述第一闭合条件包括:
    在控制所述第一开关闭合后获取的所述第一检测点的电压目标值与在控制所述第一开关闭合前预先获取的所述第一检测点的电压目标值不相等,且在控制所述第一开关闭合后获取的所述第一检测点的电压目标值在任一所述充电协议对应的电压范围内。
  8. 根据权利要求6所述的开关状态检测方法,其中,在所述确定所述第一开关当前为已闭合状态之后,还包括:
    基于各个所述充电协议各自对应的预设电压范围,确定所述电压目标值对应的目标充电协议。
  9. 根据权利要求8所述的开关状态检测方法,其中,在所述确定所述电压目标值对应的目标充电协议之后,还包括:
    接收针对第二开关的闭合指令并控制该第二开关闭合,其中,该第二开关的一端在所述控制引导单元中与第二电阻串联形成第一支路,该第一支路与所述第一电阻所在支路并联;
    基于所述检测点电压滤波方法获取第二检测点的电压目标值,其中,所述第二检测点所在支路与所述第一支路连接;
    判断所述第二检测点的电压目标值是否满足第二闭合条件,若是,则确定所述第二开关当前为已闭合状态。
  10. 根据权利要求9所述的开关状态检测方法,其中,所述第二闭合条件包括:
    在控制所述第二开关闭合后获取的所述第二检测点的电压目标值与在控制所述第二开关闭合前预先获取的所述第二检测点的电压目标值不相等。
  11. 根据权利要求9所述的开关状态检测方法,其中,在所述确定所述第二开关当前为已闭合状态之后,还包括:
    接收针对选择开关的闭合指令;其中,该选择开关设置在第二支路上,该第二支路分别与所述第一支路和所述第一电阻所在支路并联;
    根据所述目标充电协议控制所述选择开关闭合至与该目标充电协议对应的控制点;其中,所述选择开关一端对应的各个所述充电协议对应的控制点分别连接一个电阻,且该选择开关的另一端与所述第二检测点所在支路连接;
    基于所述检测点电压滤波方法再次获取所述第二检测点的电压目标值;
    判断在控制所述选择开关闭合后获取的所述第二检测点的电压目标值是否满足第三闭合条件,若是,则确定所述选择开关当前为已闭合状态。
  12. 根据权利要求11所述的开关状态检测方法,其中,所述第三闭合条件包括:
    在控制所述选择开关闭合后获取的所述第二检测点的电压目标值与在控制所述选择开关闭合前预先获取的所述第二检测点的电压目标值不相等。
  13. 根据权利要求7所述的开关状态检测方法,其中,各个所述充电协议包括ChaoJi充电标准、GB 2015充电标准和CHAdeMO充电标准。
  14. 一种电路检测点电压滤波装置,其中,包括:
    电压采集模块,用于连续采集目标电路中一检测点的多个电压数据;
    电压滤波模块,用于根据多个所述电压数据应用滤波方式分别获得该检测点对应的多个电压滤波值;
    微控制器,用于比较多个所述电压滤波值,若对应的比较结果满足预设条件,则基于多个所述电压滤波值确定所述检测点的电压目标值。
  15. 根据权利要求14所述的检测点电压滤波装置,其中,所述微控制器还用于执行下述内容:
    若所述比较结果不满足所述预设条件,则控制所述电压采集模块重新连续采集所述检测点的多个电压数据并控制所述电压滤波模块重新获得该检测点对应的多个电压滤波值,直至所述微控制器重新得到的所述比较结果满足所述预设条件并确定所述检测点的电压目标值。
  16. 根据权利要求14或15所述的检测点电压滤波装置,其中,所述电压滤波模块包括:
    均值滤波单元,用于应用均值滤波算法对所述检测点的多个所述电压数据进行均值计算,得到作为所述检测点的一个电压滤波值的电压均值;
    中值滤波单元,用于应用中值滤波算法对所述检测点的多个所述电压数据进行中值计算,得到作为所述检测点的另一个电压滤波值的电压中值。
  17. 根据权利要求16所述的检测点电压滤波装置,其中,所述微控制器包括:
    误差判断单元,用于获取所述电压均值和所述电压中值之间的差值,并判断该差值是否小于误差阈值, 若是,则基于所述电压均值和所述电压中值确定所述检测点的电压目标值。
  18. 一种开关状态检测系统,其中,包括:
    检测点电压滤波装置,用于基于权利要求1至4任一项所述的检测点电压滤波方法,在控制第一开关闭合后获取第一检测点的电压目标值,其中,所述第一开关的一端在一充电座的控制引导单元中与第一电阻相连,且该第一开关的另一端设有所述第一检测点;
    开关状态判断模块,用于判断所述第一检测点的电压目标值是否满足第一闭合条件,若是,则确定所述第一开关当前为已闭合状态。
  19. 根据权利要求18所述的开关状态检测系统,其中,所述充电座为用于兼容多个充电协议的兼容性新能源汽车充电座。
  20. 根据权利要求19所述的开关状态检测系统,其中,所述第一闭合条件包括:
    在控制所述第一开关闭合后获取的所述第一检测点的电压目标值与在控制所述第一开关闭合前预先获取的所述第一检测点的电压目标值不相等,且在控制所述第一开关闭合后获取的所述第一检测点的电压目标值在任一所述充电协议对应的电压范围内。
  21. 根据权利要求19所述的开关状态检测系统,其中,还包括:
    协议识别模块,用于基于各个所述充电协议各自对应的预设电压范围,确定所述电压目标值对应的目标充电协议。
  22. 根据权利要求21所述的开关状态检测系统,其中,所述电路检测点电压滤波装置包括:依次连接的电压采集模块、电压滤波模块和微控制器;
    所述微控制器,还用于接收针对第二开关的闭合指令并控制该第二开关闭合,其中,该第二开关的一端在所述控制引导单元中与第二电阻串联形成第一支路,该第一支路与所述第一电阻所在支路并联;
    依次连接的所述电压采集模块、电压滤波模块和微控制器,还用于基于所述检测点电压滤波方法获取第二检测点的电压目标值,其中,所述第二检测点所在支路与所述第一支路连接;
    所述开关状态判断模块,还用于判断所述第二检测点的电压目标值是否满足第二闭合条件,若是,则确定所述第二开关当前为已闭合状态。
  23. 根据权利要求22所述的开关状态检测系统,其中,所述第二闭合条件包括:
    在控制所述第二开关闭合后获取的所述第二检测点的电压目标值与在控制所述第二开关闭合前预先获取的所述第二检测点的电压目标值不相等。
  24. 根据权利要求22所述的开关状态检测系统,其中,所述微控制器,还用于接收针对选择开关的闭合指令;其中,该选择开关设置在第二支路上,该第二支路分别与所述第一支路和所述第一电阻所在支路并联;
    根据所述目标充电协议控制所述选择开关闭合至与该目标充电协议对应的控制点;其中,所述选择开关一端对应的各个所述充电协议对应的控制点分别连接一个电阻,且该选择开关的另一端与所述第二检测点所在支路连接;
    依次连接的所述电压采集模块、电压滤波模块和微控制器,还用于基于所述检测点电压滤波方法再次获取所述第二检测点的电压目标值;
    所述开关状态判断模块,还用于判断在控制所述选择开关闭合后获取的所述第二检测点的电压目标值是否满足第三闭合条件,若是,则确定所述选择开关当前为已闭合状态。
  25. 根据权利要求24所述的开关状态检测系统,其中,所述第三闭合条件包括:
    在控制所述选择开关闭合后获取的所述第二检测点的电压目标值与在控制所述选择开关闭合前预先获取的所述第二检测点的电压目标值不相等。
  26. 根据权利要求20所述的开关状态检测系统,其中,各个所述充电协议包括ChaoJi充电标准、GB 2015充电标准和CHAdeMO充电标准。
  27. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现权利要求1至4任一项所述的检测点电压滤波方法,或者,所述处理器执行所述计算机程序时实现权利要求5至13任一项所述的开关状态检测方法。
  28. 一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现权利要求1至4任一项所述的检测点电压滤波方法,或者,所述计算机程序被处理器执行时实现权利要求5至13任一项所述的开关状态检测方法。
PCT/CN2022/107008 2021-07-23 2022-07-21 电路检测点电压滤波方法、开关状态检测方法及相关装置 WO2023001230A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
MX2024001037A MX2024001037A (es) 2021-07-23 2022-07-21 Metodo de filtracion de voltaje para detectar puntos en el circuito, metodo de deteccion del estado del conmutador y aparatos relacionados.
US18/578,260 US20240319238A1 (en) 2021-07-23 2022-07-21 Voltage filtering method for detecting point in circuit, switch state detecting method, and related apparatus
EP22845394.0A EP4375681A1 (en) 2021-07-23 2022-07-21 Voltage filtering method for detecting point in circuit, switch state detecting method, and related apparatus
JP2024501986A JP2024528625A (ja) 2021-07-23 2022-07-21 回路検出点電圧フィルタリング方法、スイッチ状態検出方法及び関連装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110839634.6 2021-07-23
CN202110839634.6A CN113533839A (zh) 2021-07-23 2021-07-23 电路检测点电压滤波方法、开关状态检测方法及相关装置

Publications (1)

Publication Number Publication Date
WO2023001230A1 true WO2023001230A1 (zh) 2023-01-26

Family

ID=78121324

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/107008 WO2023001230A1 (zh) 2021-07-23 2022-07-21 电路检测点电压滤波方法、开关状态检测方法及相关装置

Country Status (6)

Country Link
US (1) US20240319238A1 (zh)
EP (1) EP4375681A1 (zh)
JP (1) JP2024528625A (zh)
CN (1) CN113533839A (zh)
MX (1) MX2024001037A (zh)
WO (1) WO2023001230A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113533839A (zh) * 2021-07-23 2021-10-22 长春捷翼汽车零部件有限公司 电路检测点电压滤波方法、开关状态检测方法及相关装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160178672A1 (en) * 2014-12-17 2016-06-23 Freescale Semiconductor, Inc. System and method for switch status detection
CN109188297A (zh) * 2018-08-09 2019-01-11 深圳拓邦股份有限公司 一种基于stm32的数据滤波方法及系统
CN110988448A (zh) * 2019-12-12 2020-04-10 厦门市爱维达电子有限公司 一种应用于ups母线电压采样的滤波方法
CN112098820A (zh) * 2020-07-31 2020-12-18 华为技术有限公司 开关状态检测电路、方法和装置
CN113533839A (zh) * 2021-07-23 2021-10-22 长春捷翼汽车零部件有限公司 电路检测点电压滤波方法、开关状态检测方法及相关装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102884727B (zh) * 2011-05-12 2016-03-30 华为技术有限公司 一种通信系统中滤波方式的处理方法及装置
CN105929335A (zh) * 2016-04-11 2016-09-07 广东欧珀移动通信有限公司 电池信息采样处理方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160178672A1 (en) * 2014-12-17 2016-06-23 Freescale Semiconductor, Inc. System and method for switch status detection
CN109188297A (zh) * 2018-08-09 2019-01-11 深圳拓邦股份有限公司 一种基于stm32的数据滤波方法及系统
CN110988448A (zh) * 2019-12-12 2020-04-10 厦门市爱维达电子有限公司 一种应用于ups母线电压采样的滤波方法
CN112098820A (zh) * 2020-07-31 2020-12-18 华为技术有限公司 开关状态检测电路、方法和装置
CN113533839A (zh) * 2021-07-23 2021-10-22 长春捷翼汽车零部件有限公司 电路检测点电压滤波方法、开关状态检测方法及相关装置

Also Published As

Publication number Publication date
JP2024528625A (ja) 2024-07-30
MX2024001037A (es) 2024-02-23
EP4375681A1 (en) 2024-05-29
CN113533839A (zh) 2021-10-22
US20240319238A1 (en) 2024-09-26

Similar Documents

Publication Publication Date Title
CN103379041B (zh) 一种系统检测方法和装置以及流量控制方法和设备
US9439234B2 (en) System and method for intelligently selecting a network interface
CN110888662A (zh) 一种车辆远程静默升级方法、装置、车辆和存储介质
CN107690149B (zh) 触发网络策略更新的方法、管理功能实体及核心网设备
WO2023001230A1 (zh) 电路检测点电压滤波方法、开关状态检测方法及相关装置
CN109358905B (zh) 用于车辆的数据同步方法及装置
CN104660639B (zh) 云终端升级处理方法及装置
CN113498131B (zh) 一种智能终端的网络自动切换方法及智能终端
CN113722364A (zh) redis使用控制方法及装置
CN111739515B (zh) 语音识别方法、设备、电子设备和服务器、相关系统
CN113342170A (zh) 手势控制方法、装置、终端和存储介质
CN110365446B (zh) 在ofdm系统中对抢占的资源盲检的电子装置和方法
CN113838477B (zh) 音频数据包的丢包恢复方法、装置、电子设备及存储介质
CN112235279A (zh) 用于应用间通信的方法、装置、电子设备及可读存储介质
CN116338513A (zh) 一种锂电池短路故障检测方法及系统
CN110379408A (zh) 一种驾驶中语音通讯的方法、计算机装置及计算机可读存储介质
CN111930626B (zh) 基于PaaS云服务的自动化测试方法及装置
CN110758398A (zh) 驾驶风险的检测方法及装置
CN114584261A (zh) 数据处理方法、装置及存储介质
JP2023503737A (ja) ゲーム状態検出及び構成更新方法、装置、機器並びに記憶媒体
CN113507537A (zh) 一种Android车载手机互联系统的在线切换方法
CN111866805B (zh) 车机系统的网卡选择方法、装置及存储介质
CN111917160A (zh) 匹配整车显示电池电量的方法
CN112669123A (zh) 车主平台的订单管理方法及装置
CN104486512A (zh) 呼叫检测方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22845394

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18578260

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2024501986

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2401000368

Country of ref document: TH

WWE Wipo information: entry into national phase

Ref document number: MX/A/2024/001037

Country of ref document: MX

WWE Wipo information: entry into national phase

Ref document number: 202417011002

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2022845394

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2022845394

Country of ref document: EP

Effective date: 20240223