CN116068387A - Method for detecting high-voltage relay device, controller, and computer-readable storage medium - Google Patents

Method for detecting high-voltage relay device, controller, and computer-readable storage medium Download PDF

Info

Publication number
CN116068387A
CN116068387A CN202310142423.6A CN202310142423A CN116068387A CN 116068387 A CN116068387 A CN 116068387A CN 202310142423 A CN202310142423 A CN 202310142423A CN 116068387 A CN116068387 A CN 116068387A
Authority
CN
China
Prior art keywords
voltage
relays
fault
value
acquisition point
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202310142423.6A
Other languages
Chinese (zh)
Inventor
张芳
薛振杰
许亚涵
吴学强
李强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weichai Power Co Ltd
Weifang Weichai Power Technology Co Ltd
Original Assignee
Weichai Power Co Ltd
Weifang Weichai Power Technology Co Ltd
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 Weichai Power Co Ltd, Weifang Weichai Power Technology Co Ltd filed Critical Weichai Power Co Ltd
Priority to CN202310142423.6A priority Critical patent/CN116068387A/en
Publication of CN116068387A publication Critical patent/CN116068387A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/3271Testing of circuit interrupters, switches or circuit-breakers of high voltage or medium voltage devices
    • 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/3271Testing of circuit interrupters, switches or circuit-breakers of high voltage or medium voltage devices
    • G01R31/3275Fault detection or status indication
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The application provides a detection method, a controller and a computer readable storage medium of a high-voltage relay device, wherein the method is applied to the controller in the high-voltage relay device, the high-voltage relay device also comprises a high-voltage driving loop, the high-voltage driving loop comprises at least one relay, and the controller is electrically connected with each relay, and the method comprises the following steps: controlling to disconnect all relays in the high-voltage driving circuit; controlling the closing of a preset number of relays for a plurality of times to obtain a plurality of groups of recording results, wherein one group of recording results comprises actual voltage values of all high-voltage acquisition points in a high-voltage driving loop under the condition that the preset number of relays are closed; and determining the connection state of all the high-voltage acquisition points in the high-voltage driving circuit at least according to the multiple groups of recording results. According to the method, the relay is orderly controlled, the actual voltage value of each high-voltage acquisition point is acquired in real time, and the actual voltage value is compared with the theoretical voltage value in the state, so that the accurate positioning of the connection error of the high-voltage acquisition points can be realized.

Description

Method for detecting high-voltage relay device, controller, and computer-readable storage medium
Technical Field
The present application relates to the field of relay testing, and in particular, to a method for detecting a high-voltage relay device, a controller, and a computer-readable storage medium.
Background
The power battery is used as a power source of a high-voltage system of the electric automobile to provide driving power for the whole automobile, and relates to high-voltage safety and reliability. The high-voltage power-on and power-off process is controlled by means of each high-voltage relay, and the high-voltage switch function is achieved. And the high-voltage strategy of the battery is used for judging the actual state and adhesion fault of the relay by means of the voltage value of the high-voltage acquisition point. The high-voltage control system often involves a plurality of different high-voltage acquisition points, and when the actual state and adhesion fault of the relay are judged by the high-voltage acquisition points, the relay often depends on the voltage numerical range corresponding to the high-voltage acquisition points under different control instructions. If the high-voltage acquisition dotted line beam is connected incorrectly or hung in the air in the assembly process of the battery, the actual state of the relay and the misdiagnosis of adhesion faults can be caused, so that the normal up-down high-voltage process of the battery is influenced.
Disclosure of Invention
The main object of the present application is to provide a method for detecting a high-voltage relay device, a controller and a computer readable storage medium, so as to at least solve the problem of misdiagnosis of relay faults caused by connection errors or suspension of high-voltage acquisition point-line bundles in the prior art.
In order to achieve the above object, according to one aspect of the present application, there is provided a method for detecting a high-voltage relay device, the method being applied to a controller in the high-voltage relay device, the high-voltage relay device further including a high-voltage driving circuit including at least one relay therein, the controller being electrically connected to each of the relays, comprising: controlling to disconnect all the relays in the high-voltage driving circuit, wherein the output ends of at least part of the relays are provided with high-voltage acquisition points; controlling a preset number of relays to be closed for multiple times to obtain multiple groups of recording results, wherein one group of recording results comprises actual voltage values of all high-voltage acquisition points in the high-voltage driving loop under the condition that the preset number of relays are closed, and the relays which are closed any two times are at least partially different; and determining the connection states of all the high-voltage acquisition points in the high-voltage driving circuit at least according to a plurality of groups of recording results, wherein the connection states are fault states or fault-free states, the fault states comprise error connection states and suspension states, and the fault-free states are correct connection states.
Optionally, determining the connection state of all the high-voltage acquisition points in the high-voltage driving circuit at least according to the multiple groups of recording results includes: acquiring theoretical voltage values of all the high-voltage acquisition points for a plurality of times under the condition that the preset number of relays are closed; obtaining an initial judgment result according to a first target actual voltage value and a first target theoretical voltage value, wherein the initial judgment result is the connection state of at least part of the high-voltage acquisition points under the condition that the preset number of relays are closed for the first preset time, the first target actual voltage value is the actual voltage value of all the high-voltage acquisition points when the preset number of relays are closed for the first preset time, the first target theoretical voltage value is the theoretical voltage value corresponding to the condition that the preset number of relays are closed for the first preset time, and the first preset time is one of the theoretical voltage values of all the high-voltage acquisition points obtained for the plurality of times; and determining connection states of all the high-voltage acquisition points in the high-voltage driving circuit according to a plurality of groups of initial judgment results, wherein the preset number of relays are closed once, and the preset number of relays correspond to one group of initial judgment results.
Optionally, determining the connection state of all the high-voltage acquisition points in the high-voltage driving circuit according to the multiple sets of initial determination results includes: determining the connection state of a first type of high-voltage acquisition point according to a group of initial judging results; and determining the connection state of a second type high-voltage acquisition point according to a plurality of groups of initial judgment results, wherein the first type high-voltage acquisition point and the second type high-voltage acquisition point form all the high-voltage acquisition points.
Optionally, in the process of obtaining the initial determination result according to the first target actual voltage value and the first target theoretical voltage value, the method further includes: acquiring a plurality of first deviation values, wherein the first deviation values are deviation values of actual voltage values of the high-voltage acquisition points and theoretical voltage values of the high-voltage acquisition points; under the condition that the first deviation value is smaller than or equal to a first preset value, preliminarily determining that the connection state of the high-voltage acquisition point is a fault-free state, wherein the first deviation value corresponds to the first preset value one by one; and under the condition that the first deviation value is larger than the first preset value, determining that the connection state of the high-voltage acquisition point is a fault state.
Optionally, after preliminarily determining that the connection state of the high-voltage acquisition point is a fault-free state in a case where the first deviation value is less than or equal to a first predetermined value, the method further includes: acquiring a second target actual voltage value and a second target theoretical voltage value when the relays of the preset number are closed for a non-preset time, wherein the second target actual voltage value is an actual voltage value of all the high-voltage acquisition points when the relays of the preset number are closed for a non-preset time, and the second target theoretical voltage value is a group of theoretical voltage values corresponding to the relays of the preset number in the closed state for a non-preset time; and finally determining that the connection state of the high-voltage acquisition point is a fault-free state or a fault state according to the preliminarily determined connection state of the high-voltage acquisition point, the second target actual voltage value and the second target theoretical voltage value.
Optionally, obtaining an initial determination result according to the first target actual voltage value and the first target theoretical voltage value, where the initial determination result is the connection state of at least part of the high-voltage collection points under the condition that the preset number of relays are closed for the preset time, and the method includes: determining a fault acquisition point according to the first target actual voltage value and the first target theoretical voltage value, and determining the fault acquisition point as a non-calibrated acquisition point; determining the connection state of the fault acquisition point according to the actual voltage value of the fault acquisition point and the theoretical voltage value of the calibration acquisition point, wherein the actual voltage value of the calibration acquisition point is directly determined by the connection states of the preset number of relays which are closed for the preset time, and the actual voltage value of the fault acquisition point is indirectly determined by the connection states of the preset number of relays which are closed for the preset time or is irrelevant to the connection states of the preset number of relays which are closed for the preset time.
Optionally, determining the connection state of the fault acquisition point according to the actual voltage value of the fault acquisition point and the theoretical voltage value of the calibration acquisition point includes: acquiring a second deviation value, wherein the second deviation value is a deviation value between an actual voltage value of the fault acquisition point and a theoretical voltage value of the calibration acquisition point; determining that the fault state of the fault acquisition point is an erroneous connection state if the second deviation value is less than or equal to a second predetermined value; and under the condition that the second deviation value is larger than the second preset value, determining that the fault state of the high-voltage acquisition point is a suspended state.
Optionally, the high voltage driving circuit further includes a power supply unit, an output end of the power supply unit is also provided with the high voltage acquisition point, and a connection state of each high voltage acquisition point in the high voltage driving circuit is determined at least according to a plurality of groups of recording results, including: acquiring an initial recording result, wherein the initial recording result is an actual voltage value of the high-voltage acquisition point of the output end of the power supply unit and the high-voltage acquisition point of the output end of each relay under the condition that all relays in the high-voltage driving circuit are disconnected; and determining the connection state of each high-voltage acquisition point in the high-voltage driving circuit according to the initial recording result and a plurality of groups of recording results.
According to another aspect of the present application, there is provided a controller in a high-voltage relay device, the high-voltage relay device further including a high-voltage driving circuit, the high-voltage driving circuit including at least one relay, the controller being electrically connected to each of the relays, including: the first execution unit is used for controlling to disconnect all the relays in the high-voltage driving circuit, wherein the output ends of at least part of the relays are provided with high-voltage acquisition points; the second execution unit is used for controlling the closing of a preset number of relays for a plurality of times to obtain a plurality of groups of recording results, wherein one group of recording results comprises actual voltage values of all the high-voltage acquisition points in the high-voltage driving circuit under the condition that the preset number of relays are closed, and the relays which are closed at any two times are at least partially different; and the determining unit is used for determining the connection states of all the high-voltage acquisition points in the high-voltage driving circuit at least according to a plurality of groups of recording results, wherein the connection states are fault states or fault-free states, the fault states comprise error connection states and suspension states, and the fault-free states are correct connection states.
According to another aspect of the present application, there is provided a computer readable storage medium, the computer readable storage medium including a stored program, wherein when the program runs, the apparatus in which the computer readable storage medium is controlled to execute any one of the detection methods of the high voltage relay device.
By applying the technical scheme, the detection method of the high-voltage relay device comprises the steps of firstly controlling to disconnect all relays in a high-voltage driving loop, wherein at least part of output ends of the relays are provided with high-voltage acquisition points; then, controlling the closing of a preset number of relays for a plurality of times to obtain a plurality of groups of recording results, wherein one group of recording results comprises actual voltage values of all high-voltage acquisition points in a high-voltage driving loop under the condition that the preset number of relays are closed, and any two closed relays are at least partially different; and finally, determining the connection states of all the high-voltage acquisition points in the high-voltage driving loop at least according to a plurality of groups of recording results, wherein the connection states are fault states or no-fault states, the fault states comprise error connection states and suspension states, and the no-fault states are correct connection states. According to the method, the actual voltage value of each high-voltage acquisition point is acquired in real time through orderly control of the relay and is compared with the theoretical voltage value in the state, so that accurate positioning of connection errors of the high-voltage acquisition points is realized, the problem of misdiagnosis of relay faults caused by connection errors or suspension of high-voltage acquisition point-line bundles in the prior art is avoided, and the efficiency of offline detection is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a block diagram showing a hardware configuration of a mobile terminal performing a detection method of a high voltage relay device according to an embodiment of the present application;
fig. 2 shows a flow chart of a method for detecting a high-voltage relay device according to an embodiment of the present application;
FIG. 3 illustrates a high voltage relay network schematic provided in accordance with an embodiment of the present application;
fig. 4 shows a control block diagram of a method for detecting a high-voltage relay device according to an embodiment of the present application;
fig. 5 shows a flow chart of another method of a method of detecting a high voltage relay device according to an embodiment of the present application;
fig. 6 shows a block diagram of a controller provided according to an embodiment of the present application.
Wherein the above figures include the following reference numerals:
01. MSD; 02. a fast charge input device; 03. a slow charge input device; 04. heating the input device; 05. a high voltage output device; 06. a current sensor; 07. a precharge resistor; 10. a fast charging positive relay; 20. a fast charge negative relay; 30. a slow charging positive relay; 40. a slow charge negative relay; 50. heating the positive relay; 60. heating the negative relay; 70. a total positive relay; 80. a total negative relay; 90. and (3) precharging the relay.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the present application described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of description, the following will describe some terms or terms related to the embodiments of the present application:
MSD: manual Service Disconnect, manual maintenance switch;
BMS: battery Manage System, a power battery management system;
DC: direct Curren, direct current;
AC: alternating Current.
As described in the background art, in the prior art, a high-voltage acquisition point wire harness may be connected incorrectly or suspended, which may cause misdiagnosis of the actual state and adhesion fault of a relay, thereby affecting the normal up-down high-voltage process of a battery.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal according to a method for detecting a high-voltage relay device according to an embodiment of the present invention. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a display method of device information in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, to implement the above-described method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In the present embodiment, a method of detecting a high voltage relay device operating on a mobile terminal, a computer terminal, or the like is provided, and it is to be noted that the steps shown in the flowcharts of the drawings may be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be executed in an order different from that shown or described herein.
Fig. 2 is a flowchart of a method for detecting a high-voltage relay device according to an embodiment of the present application, where the method is applied to a controller in the high-voltage relay device, and the high-voltage relay device further includes a high-voltage driving circuit, where the high-voltage driving circuit includes at least one relay, and the controller is electrically connected to each relay. As shown in fig. 2, the method comprises the steps of:
step S201, controlling to disconnect all the relays in the high-voltage driving circuit, wherein at least part of output ends of the relays are provided with high-voltage acquisition points;
specifically, before the method is performed, it is necessary to determine that all the relays in the high-voltage driving circuit can be normally opened and closed. The output end of each relay can be provided with a high-voltage acquisition point, and the high-voltage acquisition point can also be arranged for the integral output end of two relays connected in parallel, and specific settings are adaptively adjusted according to different actual circuits and actual requirements.
Step S202, controlling a preset number of the relays to be closed for a plurality of times to obtain a plurality of groups of recording results, wherein one group of the recording results comprises actual voltage values of all the high-voltage acquisition points in the high-voltage driving circuit when the preset number of the relays are closed, and the relays which are closed at any two times are at least partially different;
specifically, the preset number of relays described above, which control the closing each time, may be different, for example: the first time 1 above-mentioned relay is closed, the second time 2 above-mentioned relays are closed, the third time 3 above-mentioned relays are closed, … …. The number of tests to be performed can be adjusted according to the preset number, actual requirements and the like of the relays which are closed each time. In addition, the preset number of the above-mentioned relays to be controlled to be closed at a time may be the same, i.e., 1 above-mentioned relay to be closed at a time, or 2 above-mentioned relays to be closed at a time, etc.
And step S203, determining the connection states of all the high-voltage acquisition points in the high-voltage driving circuit at least according to a plurality of groups of recording results, wherein the connection states are fault states or fault-free states, the fault states comprise error connection states and suspension states, and the fault-free states are correct connection states.
Specifically, a set of recording results can only determine the connection state of a part of the high-voltage acquisition points, and if the connection state of all the high-voltage acquisition points in the high-voltage driving circuit is to be determined, the connection state of each high-voltage acquisition point is obtained by carrying out overall analysis by combining a plurality of sets of recording results.
According to the detection method of the high-voltage relay device, all relays in a high-voltage driving loop are controlled to be disconnected, wherein high-voltage acquisition points are arranged at the output ends of at least part of the relays; then, controlling the closing of a preset number of relays for a plurality of times to obtain a plurality of groups of recording results, wherein one group of recording results comprises actual voltage values of all high-voltage acquisition points in a high-voltage driving loop under the condition that the preset number of relays are closed, and any two closed relays are at least partially different; and finally, determining the connection states of all the high-voltage acquisition points in the high-voltage driving loop at least according to a plurality of groups of recording results, wherein the connection states are fault states or no-fault states, the fault states comprise error connection states and suspension states, and the no-fault states are correct connection states. According to the method, the actual voltage value of each high-voltage acquisition point is acquired in real time through orderly control of the relay and is compared with the theoretical voltage value in the state, so that accurate positioning of connection errors of the high-voltage acquisition points is realized, the problem of misdiagnosis of relay faults caused by connection errors or suspension of high-voltage acquisition point-line bundles in the prior art is avoided, and the efficiency of offline detection is improved.
The specific implementation steps of step S203 are as follows:
step S301, acquiring theoretical voltage values of all the high-voltage acquisition points for a plurality of times under the condition that the preset number of relays are closed;
step S302, obtaining an initial determination result according to a first target actual voltage value and a first target theoretical voltage value, where the initial determination result is the connection state of at least a part of the high voltage acquisition points when the preset number of relays are closed for a first preset time, the first target actual voltage value is an actual voltage value of all the high voltage acquisition points when the preset number of relays are closed for a first preset time, and the first target theoretical voltage value is the theoretical voltage value corresponding to the situation that the preset number of relays are closed for the first preset time, where the first preset time is one of the theoretical voltage values of all the high voltage acquisition points obtained for a plurality of times;
the initial determination result is obtained to specifically locate the high voltage acquisition point with the connection state being the fault state, and the connection condition of the whole high voltage acquisition point wire harness is determined according to the multiple initial determination results, for example: the first high-voltage acquisition point is reversely connected with the second high-voltage acquisition point, and the like.
In an example, in the process of obtaining the initial determination result according to the first target actual voltage value and the first target theoretical voltage value, the method further includes: acquiring a plurality of first deviation values, wherein the first deviation values are deviation values of actual voltage values of the high-voltage acquisition points and theoretical voltage values of the high-voltage acquisition points; under the condition that the first deviation value is smaller than or equal to a first preset value, preliminarily determining that the connection state of the high-voltage acquisition point is a fault-free state, wherein the first deviation value corresponds to the first preset value one by one; and determining that the connection state of the high-voltage acquisition point is a fault state when the first deviation value is larger than the first preset value.
Specifically, the values of the obtained plurality of first deviation values may be the same or different, and the plurality of first predetermined values corresponding to the first deviation values may be the same or different (for example, the first predetermined values may be set to 0V, 0.1V, 0.2V, or the like). The first deviation value is related to the position of the high-voltage acquisition point and whether the acquisition point is faulty or not, and the setting of the first preset value can be correspondingly adjusted according to actual conditions.
The above example is to judge whether the actual value of the high-voltage acquisition point is close to the theoretical value of the point in one experiment, if so, the high-voltage acquisition point connection can be preliminarily judged to be fault-free at the stage; if the deviation is too large, judging the connection fault of the high-voltage acquisition point.
After preliminarily determining that the connection state of the high-voltage acquisition point is a fault-free state in the case that the first deviation value is smaller than or equal to a first predetermined value, the method further includes the following steps:
step S401, obtaining a second target actual voltage value and a second target theoretical voltage value when the preset number of relays are closed for a non-preset time, where the second target actual voltage value is an actual voltage value of all the high-voltage acquisition points when the preset number of relays are closed for a non-preset time, and the second target theoretical voltage value is a set of theoretical voltage values corresponding to the situation that the preset number of relays are closed for a non-preset time;
step S402, determining that the connection state of the high voltage acquisition point is a fault-free state or a fault state according to the preliminarily determined connection state of the high voltage acquisition point, the second target actual voltage value and the second target theoretical voltage value.
In the actual operation process, multiple tests are required to accurately determine the connection state of some high-voltage detection points, so that the step S401 and the step S402 are also used for determining the connection state of some high-voltage detection points, positioning the connection error of a specific high-voltage acquisition point, and guiding an assembler to recheck and connect the high-voltage acquisition point line beam.
The specific implementation steps of step S302 are as follows:
step S3021, determining a fault acquisition point according to the first target actual voltage value and the first target theoretical voltage value, and determining the fault acquisition point as a non-calibrated acquisition point;
step S3022, determining the connection state of the fault acquisition point according to the actual voltage value of the fault acquisition point and the theoretical voltage value of the calibration acquisition point, where the actual voltage value of the calibration acquisition point is directly determined by the connection state of the preset number of relays that are closed a preset time, and the actual voltage value of the fault acquisition point is indirectly determined by the connection state of the preset number of relays that are closed a preset time or is independent of the connection state of the preset number of relays that are closed a preset time.
Under the condition of determining the fault acquisition point, comparing the actual voltage value of the fault acquisition point with the theoretical voltage value of the calibration acquisition point, and determining whether the fault acquisition point is connected with the calibration acquisition point by mistake.
Wherein determining the connection state of the fault acquisition point according to the actual voltage value of the fault acquisition point and the theoretical voltage value of the calibration acquisition point comprises: acquiring a second deviation value, wherein the second deviation value is a deviation value between an actual voltage value of the fault acquisition point and a theoretical voltage value of the calibration acquisition point; determining that the fault state of the fault acquisition point is an erroneous connection state when the second deviation value is less than or equal to a second predetermined value; and under the condition that the second deviation value is larger than the second preset value, determining that the fault state of the high-voltage acquisition point is a suspension state. In order to specifically distinguish the fault type of the fault acquisition point, the connection condition of the whole high-voltage acquisition point wire harness is conveniently judged, so that an assembler can be guided to recheck and connect the high-voltage acquisition point wire harness, and the follow-up normal up-down high-voltage process is ensured.
Specifically, if the actual voltage value of the fault acquisition point is close to the theoretical voltage value of the calibration acquisition point, the fault acquisition point is misplaced to the calibration acquisition point. In some embodiments, if the actual voltage value of the fault acquisition point is greatly different from the theoretical voltage value of the calibration acquisition point, the specific fault of the fault acquisition point can be determined by combining data of other test times, and the specific determination method can be adjusted according to the actual operation.
Specifically, the value of the second deviation value is related to the position of the fault acquisition point and the fault state of the fault acquisition point, wherein the second predetermined value can be set to 0V, 0.1V, 0.2V, and the like, and the setting of the second predetermined value can be adjusted accordingly according to the actual situation. Step S303, determining connection states of all the high voltage acquisition points in the high voltage driving circuit according to a plurality of groups of initial determination results, wherein the preset number of relays are closed once, and the relays correspond to one group of initial determination results.
The specific implementation steps of step S303 are as follows:
step S3031, determining the connection state of the first type high-voltage acquisition point according to a group of initial judgment results;
Step S3032, determining the connection state of the second type high voltage acquisition point according to the initial determination results, where the first type high voltage acquisition point and the second type high voltage acquisition point form all the high voltage acquisition points. Through the orderly control to the relay, gather the concrete voltage numerical value of each high voltage acquisition point in real time, through with the theoretical voltage numerical value contrast under this state, the connection error of locating that relay, before unpacking, can realize the accurate positioning of high voltage acquisition point connection error, improved the efficiency of off-line detection.
In general, the high voltage driving circuit further includes a power supply unit, the output end of the power supply unit is also provided with the high voltage acquisition point, and the connection state of each high voltage acquisition point in the high voltage driving circuit is determined at least according to a plurality of groups of recording results, including: acquiring an initial recording result, wherein the initial recording result is an actual voltage value of the high-voltage acquisition point at the output end of the power supply unit and the high-voltage acquisition point at the output end of each relay when all the relays in the high-voltage driving circuit are disconnected; and determining the connection state of each high-voltage acquisition point in the high-voltage driving circuit according to the initial recording result and a plurality of groups of recording results. In order to judge whether the high voltage acquisition point behind the power supply unit is connected correctly or whether other high voltage acquisition points are connected to the high voltage acquisition point behind the power supply unit in error.
In order to enable those skilled in the art to more clearly understand the technical solutions of the present application, the implementation process of the detection method of the high-voltage relay device of the present application will be described in detail below with reference to specific embodiments.
In the prior art, the up-down high voltage strategy of the BMS controls the closing and opening of the high voltage loop relay, and the high voltage relay may include: 1) total positive relay, 2) total negative relay, 3) pre-charge relay, 4) DC fast charge positive relay, 5) DC fast charge negative relay, 6) AC slow charge positive relay, 7) AC slow charge negative relay. The BMS detects whether the main contacts of the high-voltage loop relay are adhered or not, and determines which relay contacts are adhered. When the battery temperature is lower, BMS can control closed PTC heating positive relay and PTC heating negative relay, starts heating system, realizes cyclic heating. The control of the 9 relays is different according to the whole vehicle demand and configuration, so the quantity of the relays and the control strategy which the BMS needs to control can be selected and configured in various ways.
FIG. 3 is a schematic diagram of a high voltage relay network, as shown in FIG. 3, including MSD01,The fast charge input device 02, the slow charge input device 03, the heating input device 04, the high voltage output device 05, the current sensor 06 and the pre-charge resistor 07, wherein the fast charge input device 02, the slow charge input device 03, the heating input device 04 and the positive and negative terminals of the high voltage output device 05 are all provided with a relay, the output end of the pre-charge resistor 07 is provided with 9 relays, namely, 9 relays are arranged in the high voltage relay network, the 9 relays are BMS controlled, namely, the BMS needs to drive 9 relays, wherein the pre-charge relay 90, the fast charge positive relay 10, the slow charge positive relay 30 and the heating positive relay 50 are similar to the diagnosis mode of the total positive relay 70, and the fast charge negative relay 20, the slow charge negative relay 40 and the heating negative relay 60 are similar to the diagnosis mode of the total negative relay 80. The embodiment uses 4 high-voltage relays to control (total positive, fast charge positive, total negative, fast charge negative), 5 high-voltage acquisition points (V 1 、V 2 、V 3 、V 4 、V 5 ) For example, the state of the battery high-voltage system is monitored, the actual state of the relay and adhesion faults are diagnosed, and the specific measurement positions are as follows: 1) V (V) 1 : a battery pack voltage value; 2) V (V) 2 : the voltage value of the output end of the total positive relay corresponds to the total positive relay; 3) V (V) 3 : the voltage value of the output end of the fast charging positive relay corresponds to the fast charging positive relay; 4) V (V) 4 : the voltage value of the output end of the total negative relay corresponds to the total negative relay; 5) V (V) 5 : and the voltage value of the output end of the fast charge negative relay corresponds to the fast charge negative relay.
The existing control strategy directly judges the actual state and adhesion fault of the relay through the relay control instruction and the voltage value of the high-voltage acquisition point. For example, V 1 And V 2 In the state of disconnection of the main positive relay, V 1 The voltage is 0V, V 2 The voltage is the battery pack voltage instead, and the breaking fault of the fuse can be misreported at the moment; after the total positive relay is closed, V 1 The voltage becomes the back-end voltage value of the total positive relay. For example, V 2 And V 3 In the state of disconnection of the main positive relay, V 2 The voltage is 0V, V 3 The voltage is 0V; after the total positive relay is closed, V 2 The voltage is 0V, and V 3 The voltage is the battery pack voltage. At this time, the fault diagnosis is that the total positive relay is disconnected and stuck and the fast charging positive relay is closed and stuck, but in practice, the two relays have no faults, but the fault diagnosis is caused by the reverse connection of the high-voltage acquisition point.
The method aims to solve the problem of misdiagnosis of relay faults caused by incorrect connection or suspension of high-voltage acquisition point-line beams in the prior art. The present embodiment relates to a specific method for detecting a high-voltage relay device, which specifically performs the following operations:
step 1, all relays are disconnected, [ total positive fast charge positive total negative fast charge negative ]]=[0 0 0 0]The numerical value of 5 high-voltage acquisition points is acquired= [ V ] a1 V a2 V a3 V a4 V a5 ]The voltage value V connected with the high voltage acquisition point in the state t1 V t2 V t3 V t4 V t5 ]Comparing (the theoretical voltage value range needs to be stored in the BMS program in advance according to the hardware design of the controller, and can be modified through real-time calibration), and outputting a corresponding wiring fault if the theoretical voltage value range is inconsistent;
step 2, closing a total positive relay, [ total positive quick charge, total negative quick charge and negative ] = [1 0 0 0], collecting 5 high-voltage collection point values, comparing the values with the correct voltage values of the high-voltage collection point connection in the state, and outputting a corresponding wiring fault if the values are inconsistent;
step 3, the total positive relay is opened, the quick charge positive relay is closed, [ total positive quick charge positive total negative quick charge negative ] = [01 0] to collect 5 high-voltage collection point values, the values are compared with the correct voltage values connected with the high-voltage collection points in the state, and if the values are inconsistent, the corresponding wiring faults are output;
Step 4, opening a fast charging positive relay, closing a total negative relay, [ total positive fast charging positive total negative fast charging negative ] = [00 < 0 >, collecting 5 high-voltage collection point values, comparing the values with the correct voltage values connected with the high-voltage collection points in the state, and outputting a corresponding wiring fault if the values are inconsistent;
step 5, the total negative relay is opened, the quick charge negative relay is closed, [ total positive quick charge positive total negative quick charge negative ] = [00 0 1], 5 high-voltage acquisition point values are acquired, the high-voltage acquisition point values are compared with the correct voltage values connected with the high-voltage acquisition point in the state, and if the high-voltage acquisition point values are inconsistent, the corresponding wiring faults are output;
and 6, all relays are disconnected, [ total positive quick charge plus total negative quick charge minus ] = [00 00 ], whether the connection of the high-voltage acquisition point is problematic is judged according to the 5 processes, if yes, a connection error fault is reported in time, and the high-voltage operation is forbidden, if no, the service mode is exited, and normal high-voltage operation up and down can be executed subsequently.
The overall control flow is as shown in fig. 4, and the service mode is a mode of detecting high-voltage acquisition points, then the actual voltage values of all the high-voltage acquisition points in each step are acquired through orderly control of each relay, the theoretical voltage values of all the high-voltage acquisition points in the step are acquired, the connection state of the high-voltage acquisition points is judged according to the actual voltage values and the theoretical voltage values corresponding to the high-voltage acquisition points, and the connection state of the overall high-voltage acquisition point harness is obtained according to the judgment result of the connection state of different high-voltage acquisition points in all the steps.
As another alternative, as shown in fig. 5, the voltage on the BMS is initialized first, and it is determined that there is a service mode request. If the service mode request is not available, normal up-down high-voltage control is executed, and if the service mode request is available, all relays are controlled to be disconnected, and normal up-down high-voltage process is forbidden to be executed. At this time, 5 high-voltage acquisition point values are acquired, the deviation between the actual value (Va) and the theoretical value (Vt) of the high-voltage acquisition point voltage in the process is calculated, whether the theoretical value is close to the actual value or not is judged, and if so, the high-voltage acquisition point is judged to be connected correctly at the stage; otherwise, judging that the high-voltage acquisition point is connected incorrectly. And then, the point with the wrong connection of the high-voltage acquisition point is crossed and compared with theoretical voltage values of other acquisition points, if the voltage approach of the actual value Vax at x (representing 1, 2, 3, 4 and 5) and the theoretical value Vty at y (representing 1, 2, 3, 4 and 5) can be found, the connection error of the Vx high-voltage acquisition point to the Vy is indicated, and if the voltage approach of the actual value and the theoretical value can not be found, the high-voltage acquisition point is indicated to be suspended.
Then taking a closed total positive relay control flow as an example, collecting 5 high-voltage collection point values in real time, calculating the deviation between the actual value (Va 2) and the theoretical value (Vt 2) of the high-voltage collection point voltage in the process, judging whether the theoretical value is close to the actual value, and judging that the high-voltage collection point is correctly connected at the stage if the theoretical value is close to the actual value; otherwise, judging that the high-voltage acquisition point is connected incorrectly. And (3) carrying out cross comparison on the point Va2 with the connection error of the high-voltage acquisition point and theoretical voltage values of other acquisition points, if the voltage approach of Va2 to the theoretical value Vty at the y position (representing 1, 2, 3, 4 and 5) can be found, indicating that the V2 high-voltage acquisition point is connected to the Vy position in a wrong way, and if the voltage approach of the actual value to the theoretical value can not be found, indicating that the high-voltage acquisition point is suspended. And after the judgment is completed, the total positive relay is disconnected.
The diagnosis modes of the high-voltage acquisition points of other fast charging positive relays, the total negative relay, the fast charging negative relay, the PTC heating positive relay and the PTC heating negative relay are similar to those of the total positive relay. And outputting faults of the connection errors of the high-voltage acquisition points after all relay control instructions are executed according to the time sequence.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
The embodiment of the application also provides a controller, and it is noted that the detection device of the high-voltage relay device of the embodiment of the application can be used for executing the detection method for the high-voltage relay device provided by the embodiment of the application. The device is used for realizing the above embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The following describes a controller provided in an embodiment of the present application.
Fig. 6 is a schematic diagram of a controller according to an embodiment of the present application. As shown in fig. 6, the controller is a controller in a high-voltage relay device, the high-voltage relay device further includes a high-voltage driving circuit, the high-voltage driving circuit includes at least one relay, the controller is electrically connected to each relay, and the controller includes: the first execution unit 100 is configured to control to disconnect all the relays in the high-voltage driving circuit, wherein at least part of output ends of the relays are provided with high-voltage collection points; the second execution unit 200 is configured to control a preset number of the relays to be closed multiple times, so as to obtain a plurality of groups of recording results, where a group of the recording results includes actual voltage values of all the high-voltage acquisition points in the high-voltage driving circuit when the preset number of the relays are closed, and any two closed relays are at least partially different; the determining unit 300 is configured to determine, at least according to a plurality of sets of the recording results, connection states of all the high-voltage collection points in the high-voltage driving circuit, where the connection states are fault states or no fault states, the fault states include a fault connection state and a floating state, and the no fault states are correct connection states.
As an alternative scheme, the determining unit includes an acquiring module, a first executing module and a first determining module, where the acquiring module is configured to acquire, for a plurality of times, theoretical voltage values of all the high-voltage acquisition points when the preset number of the relays are closed; the first execution module is configured to obtain an initial determination result according to a first target actual voltage value and a first target theoretical voltage value, where the initial determination result is the connection state of at least a part of the high-voltage acquisition points when the preset number of relays are closed for a first preset time, the first target actual voltage value is an actual voltage value of all the high-voltage acquisition points when the preset number of relays are controlled to be closed for the first preset time, and the first target theoretical voltage value is the theoretical voltage value corresponding to the situation that the preset number of relays are closed for the first preset time, where the first preset time is one of the theoretical voltage values obtained for all the high-voltage acquisition points for multiple times; the first determining module is configured to determine connection states of all the high voltage acquisition points in the high voltage driving circuit according to a plurality of sets of initial determination results, where closing the preset number of relays once corresponds to one set of initial determination results. The initial judgment result is used for specifically locating the high-voltage acquisition point with the connection state being the fault state, and the connection condition of the whole high-voltage acquisition point wire harness is determined according to the multiple initial judgment results.
In an alternative scheme, the first determining module comprises a first determining submodule and a second determining submodule, and the first determining submodule is used for determining the connection state of the first type high-voltage acquisition point according to a group of initial judging results; the second determining submodule is used for determining the connection state of the second type high-voltage acquisition points according to a plurality of groups of initial judging results, and the first type high-voltage acquisition points and the second type high-voltage acquisition points form all the high-voltage acquisition points. Through the orderly control to the relay, gather the concrete voltage numerical value of each high voltage acquisition point in real time, through with the theoretical voltage numerical value contrast under this state, the connection error of locating that relay, before unpacking, can realize the accurate positioning of high voltage acquisition point connection error, improved the efficiency of off-line detection.
The apparatus further includes a first obtaining unit, a first determining subunit, and a second determining subunit, where the first obtaining unit is configured to obtain a plurality of first deviation values in a process of obtaining an initial determination result according to a first target actual voltage value and a first target theoretical voltage value, where the first deviation values are deviation values of an actual voltage value of each of the high voltage acquisition points and a theoretical voltage value of each of the high voltage acquisition points; the first determining subunit is configured to preliminarily determine that, when the first deviation value is less than or equal to a first predetermined value, the connection state of the high-voltage acquisition point is a fault-free state, where the first deviation value corresponds to the first predetermined value one to one; the second determining subunit is configured to determine that the connection state of the high-voltage acquisition point is a fault state if the first deviation value is greater than the first predetermined value. Whether the actual value of the high-voltage acquisition point is close to the theoretical value of the point in one experiment can be judged, and if so, the high-voltage acquisition point connection is preliminarily judged to be fault-free at the stage; if the deviation is too large, judging the connection fault of the high-voltage acquisition point.
In an optional embodiment, the apparatus further includes a second obtaining unit, and a third determining subunit, where the second obtaining unit is configured to obtain, after preliminarily determining that the connection state of the high-voltage collecting point is a fault-free state, a second target actual voltage value and a second target theoretical voltage value when the preset number of relays are not closed for a preset time, where the second target actual voltage value is an actual voltage value of all the high-voltage collecting points when the preset number of relays are not controlled for a preset time, and the second target theoretical voltage value is a set of theoretical voltage values corresponding to a situation that the preset number of relays are closed for a preset time, where the first deviation value is less than or equal to a first predetermined value; and the third determining subunit is used for finally determining that the connection state of the high-voltage acquisition point is a fault-free state or a fault state according to the preliminarily determined connection state of the high-voltage acquisition point, the second target actual voltage value and the second target theoretical voltage value. The connection state of some high-voltage detection points can be determined, and the connection error of a specific high-voltage acquisition point is positioned, so that an assembly person is guided to recheck and connect the high-voltage acquisition point line bundles.
In this embodiment, the initial determination result is the connection state of at least a part of the high-voltage acquisition points when the preset number of the relays are closed for the first preset time, and the first execution module includes a third determination submodule and a fourth determination submodule, where the third determination submodule is configured to determine a fault acquisition point according to the first target actual voltage value and the first target theoretical voltage value, and determine the fault acquisition point as a non-calibrated acquisition point; the fourth determining submodule is configured to determine the connection state of the fault acquisition point according to an actual voltage value of the fault acquisition point and a theoretical voltage value of the calibration acquisition point, where the actual voltage value of the calibration acquisition point is directly determined by connection states of the preset number of relays that are closed a preset time, and the actual voltage value of the fault acquisition point is indirectly determined by connection states of the preset number of relays that are closed a preset time or is irrelevant to connection states of the preset number of relays that are closed a preset time. Under the condition of determining the fault acquisition point, comparing the actual voltage value of the fault acquisition point with the theoretical voltage value of the calibration acquisition point, and determining whether the fault acquisition point is connected with the calibration acquisition point by mistake.
The fourth determining submodule comprises an obtaining submodule, a fifth determining submodule and a sixth determining submodule, wherein the obtaining submodule is used for obtaining a second deviation value, and the second deviation value is a deviation value between an actual voltage value of the fault acquisition point and a theoretical voltage value of the calibration acquisition point; a fifth determining submodule, configured to determine that the fault state of the fault acquisition point is an erroneous connection state if the second deviation value is less than or equal to a second predetermined value; and the sixth determining submodule is used for determining that the fault state of the high-voltage acquisition point is a floating state under the condition that the second deviation value is larger than the second preset value. In order to specifically distinguish the fault type of the fault acquisition point, the connection condition of the whole high-voltage acquisition point wire harness is conveniently judged, so that an assembler can be guided to recheck and connect the high-voltage acquisition point wire harness, and the follow-up normal up-down high-voltage process is ensured.
As an alternative, the high voltage driving circuit further includes a power supply unit, the output end of the power supply unit is also provided with the high voltage acquisition point, the determining unit includes an acquiring subunit and a fourth determining subunit, the acquiring subunit is configured to acquire an initial recording result, where the initial recording result is an actual voltage value of the high voltage acquisition point at the output end of the power supply unit and the high voltage acquisition point at the output end of each relay when all the relays in the high voltage driving circuit are disconnected; and the fourth determining subunit is used for determining the connection state of each high-voltage acquisition point in the high-voltage driving circuit according to the initial recording result and a plurality of groups of recording results. In order to judge whether the high voltage acquisition point behind the power supply unit is connected correctly or whether other high voltage acquisition points are connected to the high voltage acquisition point behind the power supply unit in error.
The controller comprises a first execution unit, a second execution unit and a determination unit, wherein the first execution unit is used for controlling all relays in a high-voltage driving loop to be disconnected, and the output ends of at least part of the relays are provided with high-voltage acquisition points; the second execution unit is used for controlling the closing of a preset number of relays for a plurality of times so as to obtain a plurality of groups of recording results, wherein one group of recording results comprises actual voltage values of all high-voltage acquisition points in the high-voltage driving loop under the condition that the preset number of relays are closed, and any two closed relays are at least partially different; the determining unit is used for determining the connection states of all the high-voltage acquisition points in the high-voltage driving loop at least according to a plurality of groups of recording results, wherein the connection states are fault states or no-fault states, the fault states comprise error connection states and suspension states, and the no-fault states are correct connection states. The controller collects actual voltage values of all high-voltage collection points in real time through orderly control of the relay, and compares the actual voltage values with theoretical voltage values in the state, so that accurate positioning of connection errors of the high-voltage collection points is realized, the problem of misdiagnosis of relay faults caused by connection errors or suspension of high-voltage collection point-line bundles in the prior art is avoided, and the efficiency of offline detection is improved.
The controller includes a processor and a memory, the first execution unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions. The modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The inner core can be provided with one or more than one, and the problem of misdiagnosis of relay faults caused by incorrect connection or suspension of high-voltage acquisition point-line bundles in the prior art is solved by adjusting the parameters of the inner core.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention provides a computer readable storage medium, which comprises a stored program, wherein the program is controlled to control equipment where the computer readable storage medium is located to execute the detection method of the high-voltage relay device.
Specifically, the detection method of the high-voltage relay device includes:
step S201, controlling to disconnect all the relays in the high-voltage driving circuit, wherein at least part of output ends of the relays are provided with high-voltage acquisition points;
specifically, before the method is performed, it is necessary to determine that all the relays in the high-voltage driving circuit can be normally opened and closed. The output end of each relay can be provided with a high-voltage acquisition point, and the high-voltage acquisition point can also be arranged for the integral output end of two relays connected in parallel, and specific settings are adaptively adjusted according to different actual circuits and actual requirements.
Step S202, controlling a preset number of the relays to be closed for a plurality of times to obtain a plurality of groups of recording results, wherein one group of the recording results comprises actual voltage values of all the high-voltage acquisition points in the high-voltage driving circuit when the preset number of the relays are closed, and the relays which are closed at any two times are at least partially different;
specifically, the preset number of relays described above, which control the closing each time, may be different, for example: the first time 1 above-mentioned relay is closed, the second time 2 above-mentioned relays are closed, the third time 3 above-mentioned relays are closed, … …. The number of tests to be performed can be adjusted according to the preset number, actual requirements and the like of the relays which are closed each time. In addition, the preset number of the above-mentioned relays to be controlled to be closed at a time may be the same, i.e., 1 above-mentioned relay to be closed at a time, or 2 above-mentioned relays to be closed at a time, etc.
And step S203, determining the connection states of all the high-voltage acquisition points in the high-voltage driving circuit at least according to a plurality of groups of recording results, wherein the connection states are fault states or fault-free states, the fault states comprise error connection states and suspension states, and the fault-free states are correct connection states.
Specifically, a set of recording results can only determine the connection state of a part of the high-voltage acquisition points, and if the connection state of all the high-voltage acquisition points in the high-voltage driving circuit is to be determined, the connection state of each high-voltage acquisition point is obtained by carrying out overall analysis by combining a plurality of sets of recording results.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute the detection method of the high-voltage relay device.
Specifically, the detection method of the high-voltage relay device includes:
step S201, controlling to disconnect all the relays in the high-voltage driving circuit, wherein at least part of output ends of the relays are provided with high-voltage acquisition points;
specifically, before the method is performed, it is necessary to determine that all the relays in the high-voltage driving circuit can be normally opened and closed. The output end of each relay can be provided with a high-voltage acquisition point, and the high-voltage acquisition point can also be arranged for the integral output end of two relays connected in parallel, and specific settings are adaptively adjusted according to different actual circuits and actual requirements.
Step S202, controlling a preset number of the relays to be closed for a plurality of times to obtain a plurality of groups of recording results, wherein one group of the recording results comprises actual voltage values of all the high-voltage acquisition points in the high-voltage driving circuit when the preset number of the relays are closed, and the relays which are closed at any two times are at least partially different;
specifically, the preset number of relays described above, which control the closing each time, may be different, for example: the first time 1 above-mentioned relay is closed, the second time 2 above-mentioned relays are closed, the third time 3 above-mentioned relays are closed, … …. The number of tests to be performed can be adjusted according to the preset number, actual requirements and the like of the relays which are closed each time. In addition, the preset number of the above-mentioned relays to be controlled to be closed at a time may be the same, i.e., 1 above-mentioned relay to be closed at a time, or 2 above-mentioned relays to be closed at a time, etc.
And step S203, determining the connection states of all the high-voltage acquisition points in the high-voltage driving circuit at least according to a plurality of groups of recording results, wherein the connection states are fault states or fault-free states, the fault states comprise error connection states and suspension states, and the fault-free states are correct connection states.
Specifically, a set of recording results can only determine the connection state of a part of the high-voltage acquisition points, and if the connection state of all the high-voltage acquisition points in the high-voltage driving circuit is to be determined, the connection state of each high-voltage acquisition point is obtained by carrying out overall analysis by combining a plurality of sets of recording results.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor realizes at least the following steps when executing the program:
step S201, controlling to disconnect all the relays in the high-voltage driving circuit, wherein at least part of output ends of the relays are provided with high-voltage acquisition points;
step S202, controlling a preset number of the relays to be closed for a plurality of times to obtain a plurality of groups of recording results, wherein one group of the recording results comprises actual voltage values of all the high-voltage acquisition points in the high-voltage driving circuit when the preset number of the relays are closed, and the relays which are closed at any two times are at least partially different;
and step S203, determining the connection states of all the high-voltage acquisition points in the high-voltage driving circuit at least according to a plurality of groups of recording results, wherein the connection states are fault states or fault-free states, the fault states comprise error connection states and suspension states, and the fault-free states are correct connection states.
The device herein may be a server, PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform a program initialized with at least the following method steps when executed on a data processing device: step S201, controlling to disconnect all the relays in the high-voltage driving circuit, wherein at least part of output ends of the relays are provided with high-voltage acquisition points;
step S202, controlling a preset number of the relays to be closed for a plurality of times to obtain a plurality of groups of recording results, wherein one group of the recording results comprises actual voltage values of all the high-voltage acquisition points in the high-voltage driving circuit when the preset number of the relays are closed, and the relays which are closed at any two times are at least partially different;
and step S203, determining the connection states of all the high-voltage acquisition points in the high-voltage driving circuit at least according to a plurality of groups of recording results, wherein the connection states are fault states or fault-free states, the fault states comprise error connection states and suspension states, and the fault-free states are correct connection states.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application 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, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
1) According to the detection method of the high-voltage relay device, all relays in a high-voltage driving loop are controlled to be disconnected, wherein high-voltage acquisition points are arranged at the output ends of at least part of the relays; then, controlling the closing of a preset number of relays for a plurality of times to obtain a plurality of groups of recording results, wherein one group of recording results comprises actual voltage values of all high-voltage acquisition points in a high-voltage driving loop under the condition that the preset number of relays are closed, and any two closed relays are at least partially different; and finally, determining the connection states of all the high-voltage acquisition points in the high-voltage driving loop at least according to a plurality of groups of recording results, wherein the connection states are fault states or no-fault states, the fault states comprise error connection states and suspension states, and the no-fault states are correct connection states. According to the method, the actual voltage value of each high-voltage acquisition point is acquired in real time through orderly control of the relay and is compared with the theoretical voltage value in the state, so that accurate positioning of connection errors of the high-voltage acquisition points is realized, the problem of misdiagnosis of relay faults caused by connection errors or suspension of high-voltage acquisition point-line bundles in the prior art is avoided, and the efficiency of offline detection is improved.
2) The controller comprises a first execution unit, a second execution unit and a determination unit, wherein the first execution unit is used for controlling all relays in a high-voltage driving loop to be disconnected, and the output ends of at least part of the relays are provided with high-voltage acquisition points; the second execution unit is used for controlling the closing of a preset number of relays for a plurality of times so as to obtain a plurality of groups of recording results, wherein one group of recording results comprises actual voltage values of all high-voltage acquisition points in the high-voltage driving loop under the condition that the preset number of relays are closed, and any two closed relays are at least partially different; the determining unit is used for determining the connection states of all the high-voltage acquisition points in the high-voltage driving loop at least according to a plurality of groups of recording results, wherein the connection states are fault states or no-fault states, the fault states comprise error connection states and suspension states, and the no-fault states are correct connection states. The controller collects actual voltage values of all high-voltage collection points in real time through orderly control of the relay, and compares the actual voltage values with theoretical voltage values in the state, so that accurate positioning of connection errors of the high-voltage collection points is realized, the problem of misdiagnosis of relay faults caused by connection errors or suspension of high-voltage collection point-line bundles in the prior art is avoided, and the efficiency of offline detection is improved.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for detecting a high-voltage relay device, wherein the method is applied to a controller in the high-voltage relay device, the high-voltage relay device further comprises a high-voltage driving circuit, the high-voltage driving circuit comprises at least one relay, and the controller is electrically connected with each relay, and the method comprises the following steps:
controlling to disconnect all the relays in the high-voltage driving circuit, wherein the output ends of at least part of the relays are provided with high-voltage acquisition points;
controlling a preset number of relays to be closed for multiple times to obtain multiple groups of recording results, wherein one group of recording results comprises actual voltage values of all high-voltage acquisition points in the high-voltage driving loop under the condition that the preset number of relays are closed, and the relays which are closed any two times are at least partially different;
And determining the connection states of all the high-voltage acquisition points in the high-voltage driving circuit at least according to a plurality of groups of recording results, wherein the connection states are fault states or fault-free states, the fault states comprise error connection states and suspension states, and the fault-free states are correct connection states.
2. The method according to claim 1, wherein determining connection states of all the high-voltage acquisition points in the high-voltage drive circuit based on at least a plurality of sets of the recording results includes:
acquiring theoretical voltage values of all the high-voltage acquisition points for a plurality of times under the condition that the preset number of relays are closed;
obtaining an initial judgment result according to a first target actual voltage value and a first target theoretical voltage value, wherein the initial judgment result is the connection state of at least part of the high-voltage acquisition points under the condition that the preset number of relays are closed for the first preset time, the first target actual voltage value is the actual voltage value of all the high-voltage acquisition points when the preset number of relays are closed for the first preset time, the first target theoretical voltage value is the theoretical voltage value corresponding to the condition that the preset number of relays are closed for the first preset time, and the first preset time is one of the theoretical voltage values of all the high-voltage acquisition points obtained for the plurality of times;
And determining connection states of all the high-voltage acquisition points in the high-voltage driving circuit according to a plurality of groups of initial judgment results, wherein the preset number of relays are closed once, and the preset number of relays correspond to one group of initial judgment results.
3. The detection method according to claim 2, wherein determining connection states of all the high-voltage acquisition points in the high-voltage drive circuit according to the plurality of sets of the initial determination results includes:
determining the connection state of a first type of high-voltage acquisition point according to a group of initial judging results;
and determining the connection state of a second type high-voltage acquisition point according to a plurality of groups of initial judgment results, wherein the first type high-voltage acquisition point and the second type high-voltage acquisition point form all the high-voltage acquisition points.
4. The method according to claim 2, wherein in the process of obtaining the initial determination result according to the first target actual voltage value and the first target theoretical voltage value, the method further comprises:
acquiring a plurality of first deviation values, wherein the first deviation values are deviation values of actual voltage values of the high-voltage acquisition points and theoretical voltage values of the high-voltage acquisition points;
Under the condition that the first deviation value is smaller than or equal to a first preset value, preliminarily determining that the connection state of the high-voltage acquisition point is a fault-free state, wherein the first deviation value corresponds to the first preset value one by one;
and under the condition that the first deviation value is larger than the first preset value, determining that the connection state of the high-voltage acquisition point is a fault state.
5. The detection method according to claim 4, wherein, in the case where the first deviation value is less than or equal to a first predetermined value, after preliminarily determining that the connection state of the high-voltage acquisition point is a fault-free state, the method further comprises:
acquiring a second target actual voltage value and a second target theoretical voltage value when the relays of the preset number are closed for a non-preset time, wherein the second target actual voltage value is an actual voltage value of all the high-voltage acquisition points when the relays of the preset number are closed for a non-preset time, and the second target theoretical voltage value is a group of theoretical voltage values corresponding to the relays of the preset number in the closed state for a non-preset time;
and finally determining that the connection state of the high-voltage acquisition point is a fault-free state or a fault state according to the preliminarily determined connection state of the high-voltage acquisition point, the second target actual voltage value and the second target theoretical voltage value.
6. The detection method according to claim 2, wherein an initial determination result is obtained from a first target actual voltage value and a first target theoretical voltage value, the initial determination result being the connection state of at least part of the high-voltage acquisition points in the case where the preset number of the relays are closed a preset time, comprising:
determining a fault acquisition point according to the first target actual voltage value and the first target theoretical voltage value, and determining the fault acquisition point as a non-calibrated acquisition point;
determining the connection state of the fault acquisition point according to the actual voltage value of the fault acquisition point and the theoretical voltage value of the calibration acquisition point, wherein the actual voltage value of the calibration acquisition point is directly determined by the connection states of the preset number of relays which are closed for the preset time, and the actual voltage value of the fault acquisition point is indirectly determined by the connection states of the preset number of relays which are closed for the preset time or is irrelevant to the connection states of the preset number of relays which are closed for the preset time.
7. The method of detecting according to claim 6, wherein determining the connection state of the fault acquisition point based on an actual voltage value of the fault acquisition point and a theoretical voltage value of the calibration acquisition point includes:
Acquiring a second deviation value, wherein the second deviation value is a deviation value between an actual voltage value of the fault acquisition point and a theoretical voltage value of the calibration acquisition point;
determining that the fault state of the fault acquisition point is an erroneous connection state if the second deviation value is less than or equal to a second predetermined value;
and under the condition that the second deviation value is larger than the second preset value, determining that the fault state of the high-voltage acquisition point is a suspended state.
8. The method according to any one of claims 1 to 7, wherein the high voltage driving circuit further includes a power supply unit, the output end of the power supply unit is also provided with the high voltage acquisition points, and determining the connection state of each high voltage acquisition point in the high voltage driving circuit at least according to the plurality of sets of recording results includes:
acquiring an initial recording result, wherein the initial recording result is an actual voltage value of the high-voltage acquisition point of the output end of the power supply unit and the high-voltage acquisition point of the output end of each relay under the condition that all relays in the high-voltage driving circuit are disconnected;
and determining the connection state of each high-voltage acquisition point in the high-voltage driving circuit according to the initial recording result and a plurality of groups of recording results.
9. A controller, characterized in that, the controller is the controller in the high-voltage relay device, still include high-voltage drive circuit in the high-voltage relay device, including at least one relay in the high-voltage drive circuit, the controller with each relay electricity is connected, include:
the first execution unit is used for controlling to disconnect all the relays in the high-voltage driving circuit, wherein the output ends of at least part of the relays are provided with high-voltage acquisition points;
the second execution unit is used for controlling the closing of a preset number of relays for a plurality of times to obtain a plurality of groups of recording results, wherein one group of recording results comprises actual voltage values of all the high-voltage acquisition points in the high-voltage driving circuit under the condition that the preset number of relays are closed, and the relays which are closed at any two times are at least partially different;
and the determining unit is used for determining the connection states of all the high-voltage acquisition points in the high-voltage driving circuit at least according to a plurality of groups of recording results, wherein the connection states are fault states or fault-free states, the fault states comprise error connection states and suspension states, and the fault-free states are correct connection states.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program, when run, controls a device in which the computer-readable storage medium is located to perform the method of detecting a high voltage relay device according to any one of claims 1 to 7.
CN202310142423.6A 2023-02-17 2023-02-17 Method for detecting high-voltage relay device, controller, and computer-readable storage medium Pending CN116068387A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310142423.6A CN116068387A (en) 2023-02-17 2023-02-17 Method for detecting high-voltage relay device, controller, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310142423.6A CN116068387A (en) 2023-02-17 2023-02-17 Method for detecting high-voltage relay device, controller, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN116068387A true CN116068387A (en) 2023-05-05

Family

ID=86176749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310142423.6A Pending CN116068387A (en) 2023-02-17 2023-02-17 Method for detecting high-voltage relay device, controller, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN116068387A (en)

Similar Documents

Publication Publication Date Title
CN107850643B (en) Device and method for diagnosing a fault of a switching element
US8525477B2 (en) Assigning addresses to multiple cascade battery modules in electric or electric hybrid vehicles
CN101734162B (en) Series interlock system with integrated ability to identify breached locations
KR101716886B1 (en) Apparatus for Diagnosing Electrical Contactor Capable of Accurately Detecting Diagnosing Voltage
EP3032633B1 (en) Battery control system, and vehicle control system
US20200217893A1 (en) Apparatus and Method for Diagnosing Positive Electrode Contactor of Battery Pack
CN110568366B (en) Insulation circuit, battery pack leakage detection method and hardware detection method
CN102854473A (en) Automatic test and diagnosis system and method of power batteries of electric automobile
CN202770974U (en) Electric vehicle power battery automatic test and diagnosis system
CN109633458B (en) Vehicle hardware-in-loop test system and method
US10545185B2 (en) Apparatus and method for diagnosing current sensor
US11688887B2 (en) Slave BMS inspection system and method
CN111474453A (en) Insulation detection circuit, method for detecting insulation fault of component and vehicle
CN113092922B (en) Independent diagnosis device and method for high-voltage contactor of power battery system
CN113646988A (en) Connecting box, test bench of electric automobile, control method and device
CN111273133B (en) Insulation detection circuit diagnosis function test system and diagnosis method thereof
CN113945835A (en) Relay health state online prediction method and device and electronic equipment
EP3709038B1 (en) Apparatus and method for diagnosing insulation condition between battery pack and ground, and battery pack including the apparatus
CN116068387A (en) Method for detecting high-voltage relay device, controller, and computer-readable storage medium
CN110988770A (en) High-voltage pre-charging simulation device for electric automobile and simulation method for pre-charging process
CN113748353A (en) Device and method for diagnosing battery cell
KR20210051539A (en) Apparatus for diagnosing isolation of battery
CN112858849B (en) Offline detection method and device with insulation detection function
CN113295994B (en) Method, device and system for diagnosing faults of battery pack relay
JP7501290B2 (en) Computer program, determination device, and determination method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination