Direct current loop fault detection method and detection device
By controlling the controlled switching unit to form various circuit topology states and constructing a linear model, the problems of ill-conditioned matrix and weak anti-interference ability in DC circuit detection of electric vehicles are solved, and accurate fault identification and cause analysis are realized.
Patent Information
- Application Number
- CN202611510813.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-24
- Publication Date
- 2026-11-20
AI Technical Summary
In existing technologies, insulation resistance detection of DC circuits in electric vehicles is prone to ill-conditioned matrices, calculation divergence, single fault identification, false alarms and missed alarms, and weak anti-interference ability.
By controlling the controlled switching unit to form at least four circuit topology states, collecting the voltage signal to ground, constructing a linear model with the positive-to-ground leakage conductance and the negative-to-ground leakage conductance as unknown variables, and relying on the redundancy of multi-topology measurement data to reduce ill-conditioning risk, the insulation resistance to ground of the positive pole and the insulation resistance to ground of the negative pole are determined.
It effectively identifies the causes of DC circuit faults, improves the ability to resist sampling noise and switching transient interference, avoids calculation divergence, and improves the accuracy of fault diagnosis.
Smart Images

Figure CN123136248A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a method and device for detecting DC circuit faults. Background Technology
[0002] Among related technologies, electric vehicle insulation testing technologies mainly include the balanced bridge method, the low-frequency signal injection method, and the unbalanced bridge method. The balanced bridge method involves configuring symmetrical bridge arm resistors between the high-voltage positive and negative terminals and grounding them, adjusting the bridge voltage to balance, and then calculating the insulation resistance to ground based on the balance condition. The low-frequency signal injection method injects a low-frequency AC excitation between the high-voltage bus and the vehicle body ground, and calculates the insulation resistance based on the amplitude and phase relationship between the excitation and response signals. The dual-state switching unbalanced bridge method switches the ground circuit topology by switching it on and off, collects two sets of ground voltages, and solves for the insulation resistance between the positive and negative terminals based on Kirchhoff's laws and a system of simultaneous equations.
[0003] However, in related technologies, when the insulation resistance of the positive and negative poles is close or leaks simultaneously, ill-conditioned matrices are easily formed, leading to calculation divergence; only the insulation resistance value is output, which cannot distinguish the causes of faults such as hard grounding and moisture condensation, resulting in single fault identification and easy false alarms and missed alarms; single-point measurement has no data redundancy and weak resistance to sampling noise and switching transient interference, which urgently needs improvement. Summary of the Invention
[0004] This application provides a DC circuit fault detection method and detection device to solve the problems in related technologies, such as ill-conditioned matrix and calculation divergence when the insulation resistance of the positive and negative poles is close or leaks synchronously, single fault identification that is prone to false alarms and missed alarms, lack of data redundancy and weak anti-interference ability.
[0005] The first aspect of this application provides a DC circuit fault detection method applied to an insulation monitoring unit coupled to a DC circuit. The insulation monitoring unit includes multiple controlled switching units. The method includes the following steps: controlling the controlled switching units to close or open, causing the insulation monitoring unit to form at least four circuit topology states; acquiring the ground voltage signal of the DC circuit in the corresponding circuit topology state, and constructing a linear model with positive-to-ground leakage conductance and negative-to-ground leakage conductance as unknown variables based on the ground voltage signal and the circuit topology state; determining the positive-to-ground insulation resistance and negative-to-ground insulation resistance of the DC circuit based on the linear model, and determining the fault diagnosis result of the DC circuit based on the positive-to-ground insulation resistance and negative-to-ground insulation resistance.
[0006] Optionally, in one embodiment of this application, determining the positive-to-ground insulation resistance and negative-to-ground insulation resistance of the DC circuit based on the linear model includes: solving the linear model to obtain estimated values of the positive-to-ground leakage conductance and the negative-to-ground leakage conductance; and determining the positive-to-ground insulation resistance and the negative-to-ground insulation resistance based on the estimated values of the positive-to-ground leakage conductance and the negative-to-ground leakage conductance.
[0007] Optionally, in one embodiment of this application, solving the linear model to obtain the estimated positive-to-ground leakage conductance and the estimated negative-to-ground leakage conductance of the positive electrode to ground includes: constructing a normal equation based on the linear model; and performing an inverse solution based on the normal equation to determine the estimated positive-to-ground leakage conductance and the estimated negative-to-ground leakage conductance.
[0008] Optionally, in one embodiment of this application, controlling the closed or open state of the controlled switch unit includes: acquiring a set of switch states of the controlled switch unit; generating a control command for the controlled switch unit based on the set of switch states; and controlling the corresponding controlled switch unit to close or open according to the control command.
[0009] Optionally, in one embodiment of this application, the step of constructing a linear model with positive-to-ground leakage conductance and negative-to-ground leakage conductance as unknown variables based on the ground voltage signal and the circuit topology includes: extracting the positive-to-ground voltage signal, negative-to-ground voltage signal, and voltage-to-ground signal at the midpoint of the voltage divider in the corresponding circuit topology from the ground voltage signal; determining the observation vector of the linear model based on the positive-to-ground voltage signal, negative-to-ground voltage signal, and voltage-to-ground signal at the midpoint of the voltage divider; determining the coefficient matrix of the linear model based on the circuit topology; and constructing the linear model based on the coefficient matrix and the observation vector.
[0010] Optionally, in one embodiment of this application, determining the fault diagnosis result of the DC circuit based on the positive-to-ground insulation resistance and the negative-to-ground insulation resistance includes: determining a residual vector based on the positive-to-ground insulation resistance and the negative-to-ground insulation resistance, and determining a fault feature matching the residual vector; determining the fault type of the DC circuit and the corresponding fault handling instruction under the fault type based on the fault feature; and obtaining the fault diagnosis result according to the fault type and the fault handling instruction.
[0011] A second aspect of this application provides a DC circuit fault detection device applied to an insulation monitoring unit coupled to a DC circuit. The insulation monitoring unit includes multiple controlled switching units. The device includes: a control module for controlling the closed or open states of the controlled switching units to enable the insulation monitoring unit to form at least four circuit topology states; a construction module for acquiring the ground voltage signal of the DC circuit in the corresponding circuit topology state, and constructing a linear model with positive-to-ground leakage conductance and negative-to-ground leakage conductance as unknown variables based on the ground voltage signal and the circuit topology state; and a determination module for determining the positive-to-ground insulation resistance and negative-to-ground insulation resistance of the DC circuit based on the linear model, and determining the fault diagnosis result of the DC circuit based on the positive-to-ground insulation resistance and negative-to-ground insulation resistance.
[0012] Optionally, in one embodiment of this application, the determining module includes: a first generating unit, configured to solve the linear model to obtain an estimated value of the positive-to-ground leakage conductance and an estimated value of the negative-to-ground leakage conductance; and a first determining unit, configured to determine the positive-to-ground insulation resistance and the negative-to-ground insulation resistance based on the estimated values of the positive-to-ground leakage conductance and the estimated values of the negative-to-ground leakage conductance.
[0013] Optionally, in one embodiment of this application, the generation unit includes: a construction subunit for constructing a normal equation based on the linear model; and a determination subunit for performing inverse solving based on the normal equation to determine the estimated value of the positive electrode to ground leakage conductance and the estimated value of the negative electrode to ground leakage conductance.
[0014] Optionally, in one embodiment of this application, the control module includes: an acquisition unit, configured to acquire a set of switch states of the controlled switch unit; a second generation unit, configured to generate a control command for the controlled switch unit based on the set of switch states; and a control unit, configured to control the corresponding controlled switch unit to close or open according to the control command.
[0015] Optionally, in one embodiment of this application, the construction module includes: an extraction unit, configured to extract the positive-to-ground voltage signal, the negative-to-ground voltage signal, and the voltage divider midpoint-to-ground signal corresponding to the circuit topology state from the voltage-to-ground signal; a second determination unit, configured to determine the observation vector of the linear model based on the positive-to-ground voltage signal, the negative-to-ground voltage signal, and the voltage divider midpoint-to-ground voltage signal; a third determination unit, configured to determine the coefficient matrix of the linear model based on the circuit topology state; and a construction unit, configured to construct the linear model based on the coefficient matrix and the observation vector.
[0016] Optionally, in one embodiment of this application, the determining module includes: a fourth determining unit, configured to determine a residual vector based on the positive-to-ground insulation resistance and the negative-to-ground insulation resistance, and to determine a fault feature matching the residual vector; a fifth determining unit, configured to determine the fault type of the DC circuit and the corresponding fault handling instruction under the fault type based on the fault feature; and a third generating unit, configured to obtain the fault diagnosis result according to the fault type and the fault handling instruction.
[0017] A third aspect of this application provides a vehicle, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the DC circuit fault detection method as described in the above embodiments.
[0018] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the DC circuit fault detection method described above.
[0019] A fifth aspect of this application provides a computer program product, including a computer program that, when executed, implements the DC circuit fault detection method described above.
[0020] This application embodiment can control the closing or opening of the controlled switch unit to enable the insulation monitoring unit to form at least four circuit topology states. Based on the collected DC circuit voltage signals to ground in the corresponding circuit topology states, a linear model is constructed with the positive-to-ground leakage conductance and negative-to-ground leakage conductance as unknown variables. Relying on the data redundancy brought by multi-topology measurements, the risk of ill-conditioned coefficient matrix is reduced, and calculation divergence is avoided. Then, the positive-to-ground insulation resistance and negative-to-ground insulation resistance are determined based on the linear model, thereby determining the fault diagnosis result of the DC circuit, identifying different fault causes, and improving the ability to resist sampling noise and switching transient interference. Thus, it solves the problems in related technologies, such as ill-conditioned matrix and calculation divergence when the positive and negative insulation resistances are close or synchronously leaking, single fault identification leading to false alarms and false misses, lack of data redundancy, and weak anti-interference ability.
[0021] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0022] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 This is a schematic diagram of the structure of a vehicle DC circuit detection circuit according to an embodiment of this application; Figure 2 This is a flowchart of a DC circuit fault detection method provided according to an embodiment of this application; Figure 3 This is a flowchart illustrating the solution of a linear model according to an embodiment of this application; Figure 4 This is a flowchart illustrating the working principle of a DC circuit fault detection method according to an embodiment of this application; Figure 5 This is a block diagram of a DC circuit fault detection device provided according to an embodiment of this application; Figure 6 This is a structural schematic diagram of a vehicle provided according to an embodiment of this application. Detailed Implementation
[0023] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0024] Before introducing the DC circuit fault detection method proposed in the embodiments of this application, we will first introduce a high-voltage insulation detection circuit for electric vehicles involved in the embodiments of this application.
[0025] in, Figure 1 This is a schematic diagram of the structure of a vehicle DC circuit detection circuit according to an embodiment of this application.
[0026] like Figure 1 As shown, the detection circuit includes a DC circuit and an insulation monitoring unit.
[0027] The DC circuit includes the total voltage of the battery pack (i.e., ), high-voltage positive busbar (i.e. ) and high-voltage negative busbar (i.e. ).
[0028] The total voltage of the battery pack is the voltage between the high-voltage positive bus and the high-voltage negative bus.
[0029] The high-voltage positive busbar is the main conductive conductor for the high-voltage battery pack to output high-voltage electrical energy. It can be a copper busbar or a high-voltage cable.
[0030] The high-voltage negative busbar is the main conductive conductor output from the total negative terminal of the high-voltage battery pack.
[0031] The insulation monitoring unit includes a first insulation monitoring unit (used to measure insulation). ), second insulation monitoring unit (for measuring insulation) ), and coupled to a DC circuit.
[0032] It should be noted that, High voltage positive bus To the protected area The equivalent resistance of (Ground, protective ground) High voltage negative busbar arrive The equivalent resistance.
[0033] The first insulation monitoring unit and the second insulation monitoring unit include a first voltage divider resistor (i.e. ), the second voltage divider resistor (i.e. ), the first controlled switch unit (i.e. ), the second controlled switch unit (i.e. ), the third controlled switch unit (i.e. The system consists of the first ADC (Analog to Digital Converter) sampling channel (ADC_P-G), the second ADC sampling channel (ADC_M-G), the third ADC sampling channel (ADC_N-G), and the MCU (Micro-Control Unit).
[0034] in, and For voltage divider resistors, Point for and The middle pressure divider node.
[0035] S1 is a positive injection switch used to connect P and GND. When closed, it forcibly changes the positive potential relative to ground.
[0036] S2 is a negative injection switch used to connect N and GND. When closed, it forcibly changes the negative potential relative to ground.
[0037] S3 is the midpoint check switch, used to connect M and GND.
[0038] The MCU is used to control the time-division switching of S1, S2, and S3, and to read the ground voltage signal collected by each ADC sampling channel.
[0039] The first, second, and third ADC sampling channels are used to acquire the corresponding voltage signals to ground.
[0040] GND is the reference potential of the first insulation monitoring unit and the second insulation monitoring unit.
[0041] The following describes a DC circuit fault detection method and detection device according to embodiments of this application with reference to the accompanying drawings. Addressing the problems mentioned in the background art, such as ill-conditioned matrices, calculation divergence, and the tendency for false alarms and missed alarms due to single fault identification when the positive and negative electrode insulation resistances are close or synchronously leaking, as well as the lack of data redundancy and weak anti-interference capabilities, this application provides a DC circuit fault detection method. In this method, by controlling the closed or open state of the controlled switch unit, the insulation monitoring unit can form at least four circuit topology states. Based on the collected DC circuit voltage signals to ground in the corresponding circuit topology states, a linear model is constructed with the positive electrode to ground leakage conductance and the negative electrode to ground leakage conductance as unknown variables. Relying on the data redundancy brought by multi-topology measurements, the risk of ill-conditioned coefficient matrices is reduced, and calculation divergence is avoided. Then, based on the linear model, the positive electrode to ground insulation resistance and the negative electrode to ground insulation resistance are determined, thereby determining the fault diagnosis result of the DC circuit, identifying different fault causes, and improving the ability to resist sampling noise and switching transient interference. This solves the problems in related technologies, such as ill-conditioned matrix and calculation divergence when the insulation resistance of the positive and negative poles is close or leaks synchronously, single fault identification leading to false alarms and missed alarms, lack of data redundancy, and weak anti-interference ability.
[0042] Specifically, Figure 2 This is a flowchart of a DC circuit fault detection method provided according to an embodiment of this application.
[0043] like Figure 2 As shown, this DC circuit fault detection method is applied to an insulation monitoring unit coupled to a DC circuit, wherein the insulation monitoring unit includes multiple controlled switching units, and the method includes the following steps: In step S201, the controlled switch unit is closed or opened, so that the insulation monitoring unit forms at least four circuit topology states.
[0044] Specifically, in combination Figure 1 As shown, the controlled switch unit in the embodiments of this application may include, but is not limited to, a first controlled switch unit, a second controlled switch unit, and a third controlled switch unit.
[0045] The circuit topology states may include, but are not limited to, the reference state, the positive injection state, the negative injection state, and the dual injection state, as shown in Table 1, wherein Table 1 is a schematic table of circuit topology states provided according to an embodiment of this application.
[0046] Table 1
[0047] In some embodiments, the present application embodiments can control the closed or open state of the controlled switch unit to enable the insulation monitoring unit to form different circuit topology states, such as reference state, positive injection state, negative injection state and dual injection state.
[0048] Optionally, in one embodiment of this application, controlling the closed or open state of a controlled switch unit includes: acquiring a set of switch states of the controlled switch unit; generating a control command for the controlled switch unit based on the set of switch states; and controlling the corresponding controlled switch unit to close or open according to the control command.
[0049] It is understood that, in the embodiments of this application, the set of switch states can be understood as a data set consisting of the switch states of one or more controlled switch units, which may include, but is not limited to, S3 closed, S1 and S2 open; S1 and S3 closed, S2 open; S2 and S3 closed, S1 open; S1 and S2 closed, S3 open, etc., and this application does not impose specific limitations.
[0050] Control commands refer to instructions used to command the controlled switch unit to close or open, such as S1 closing command, S1 opening command, S2 closing command, S2 opening command, S3 closing command, and S3 opening command.
[0051] In some embodiments, the present application may first obtain the set of switch states of the controlled switch unit, generate corresponding control instructions based on the set of switch states, and then control the corresponding controlled switch unit to close or open according to the control instructions.
[0052] In step S202, the ground voltage signal of the DC circuit under the corresponding circuit topology is acquired, so as to construct a linear model with the positive terminal to ground leakage conductance and the negative terminal to ground leakage conductance as unknown variables based on the ground voltage signal and the circuit topology.
[0053] It is understood that, in the embodiments of this application, the voltage signal to ground may include, but is not limited to, the positive voltage signal to ground. Negative electrode voltage signal to ground M-point ground voltage signal This application does not impose specific restrictions.
[0054] In some embodiments, the present application can first obtain the ground voltage signal of the DC circuit under the corresponding circuit topology state, and then construct a linear model with the positive terminal to ground leakage conductance and the negative terminal to ground leakage conductance as unknown variables based on the ground voltage signal and the circuit topology state.
[0055] For example, in this embodiment of the application, the total voltage of the battery pack is set to be The unknown quantity is the leakage conductance from the positive electrode to ground. Negative electrode to ground leakage conductance Under any circuit topology state i, according to Kirchhoff's laws, the linear relationship between the voltage signal to ground and the unknown quantity can be determined, which can be expressed, but is not limited to, as: , in, , Based on Kirchhoff's current law, for the first For each circuit topology state, after linearizing the circuit node equations, the values extracted are... and The linear weighting factor, the value of which depends on the current switching state ( , , (closed / open state) and voltage divider resistor ( , This is unrelated to the unknown insulation resistance value; It is the first In this circuit topology, the voltage signal to ground acquired by the three ADC sampling channels (such as...) , , Specifically, in the baseline state, point M passes through... Grounding, ,at this time, Depend on and The measured values are transformed to reflect the inherent ground partial pressure ratio of the system; under the positive electrode injection state, pass Grounding, point M passes through Grounding, Depend on and The pressure distribution relationship determines, Depend on , , and Calculations show that in the negative electrode injection state, pass Grounding, Depend on and The pressure distribution relationship determines, Depend on , , Calculations show that in the dual-injection state, Depend on , The voltage distribution after parallel connection determines the voltage. Depend on Calculated.
[0056] This can be understood as, It is not directly equal to the ground voltage signal acquired by a certain ADC sampling channel, but rather determined through circuit node equations. , , Substituting the analytical expression of the corresponding topology, the resulting scalar, in the conductance domain, exhibits a transformation that is precisely linear, i.e. .
[0057] Furthermore, in this embodiment, the four circuit topology states are executed sequentially, four sets of independent data are collected, and the corresponding linear relationships are determined. The linear model constructed based on these four sets of linear relationships can be expressed, but is not limited to, as follows: , Where A is a 4×2 coefficient matrix, its expression can be, but is not limited to, as follows: , It is a 4×1 observation vector, and its expression can be, but is not limited to, as follows: .
[0058] It should be noted that, since the embodiments of this application introduce independent control of S3, even if The row vectors of matrix A are also linearly independent, ensuring that The reversibility of.
[0059] in, It contains 4 equations and 2 unknowns, which can be solved using the least squares method.
[0060] Optionally, in one embodiment of this application, constructing a linear model with positive-to-ground leakage conductance and negative-to-ground leakage conductance as unknown variables based on the ground voltage signal and circuit topology state includes: extracting the positive-to-ground voltage signal, negative-to-ground voltage signal, and voltage-to-ground signal at the midpoint of the voltage divider under the corresponding circuit topology state from the ground voltage signal; determining the observation vector of the linear model based on the positive-to-ground voltage signal, negative-to-ground voltage signal, and voltage-to-ground signal at the midpoint of the voltage divider; determining the coefficient matrix of the linear model based on the circuit topology state; and constructing the linear model based on the coefficient matrix and the observation vector.
[0061] In some embodiments, the present application embodiments may first extract the positive-to-ground voltage signal, negative-to-ground voltage signal, and voltage-to-ground midpoint of the voltage divider under the corresponding circuit topology state from the voltage-to-ground signal, then determine the observation vector of the linear model based on the positive-to-ground voltage signal, negative-to-ground voltage signal, and voltage-to-ground midpoint of the voltage divider, and determine the coefficient matrix of the linear model based on the current circuit topology state, and then construct the linear model based on the coefficient matrix and the observation vector.
[0062] The expressions for the coefficient matrix and observation vector are as shown above, and will not be elaborated further here.
[0063] In step S203, based on the linear model, the insulation resistance of the positive terminal to ground and the insulation resistance of the negative terminal to ground of the DC circuit are determined, and the fault diagnosis result of the DC circuit is determined based on the insulation resistance of the positive terminal to ground and the insulation resistance of the negative terminal to ground.
[0064] It is understood that, in the embodiments of this application, the fault diagnosis results may include, but are not limited to, different fault types and fault handling instructions under the corresponding fault types.
[0065] In some embodiments, the present application embodiments can determine the corresponding positive-to-ground insulation resistance and negative-to-ground insulation resistance based on a linear model, and then obtain the fault diagnosis result of the DC circuit based on the positive-to-ground insulation resistance and negative-to-ground insulation resistance.
[0066] Optionally, in one embodiment of this application, determining the positive-to-ground insulation resistance and negative-to-ground insulation resistance of the DC circuit based on a linear model includes: solving the linear model to obtain estimated values of positive-to-ground leakage conductance and negative-to-ground leakage conductance; and determining the positive-to-ground insulation resistance and negative-to-ground insulation resistance based on the estimated values of positive-to-ground leakage conductance and negative-to-ground leakage conductance.
[0067] In some embodiments, the linear model can be solved to obtain the corresponding estimated values of positive to ground leakage conductance and negative to ground leakage conductance, and the positive to ground insulation resistance and negative to ground insulation resistance can be determined based on the estimated values of positive to ground leakage conductance and negative to ground leakage conductance.
[0068] For example, in this embodiment, the number of linear model equations (4) is greater than the number of unknowns (2). Therefore, this embodiment uses the least squares method to solve for the optimal conductance estimate (i.e., the insulation resistance between the positive electrode and ground and the insulation resistance between the negative electrode and ground) to minimize the sum of squared residuals. Then, based on the estimated values of the positive-to-ground leakage conductance and the negative-to-ground leakage conductance obtained from the solution, the insulation resistance of the positive-to-ground and the insulation resistance of the negative-to-ground are determined.
[0069] Optionally, in one embodiment of this application, solving the linear model to obtain the estimated values of the positive-to-ground leakage conductance and the negative-to-ground leakage conductance includes: constructing a normal equation based on the linear model; and performing inverse solving based on the normal equation to determine the estimated values of the positive-to-ground leakage conductance and the negative-to-ground leakage conductance.
[0070] In some embodiments of this application, the corresponding conductance estimate can be determined by solving a linear model, the main contents of which are as follows: Figure 3 As shown, it includes: Step S301: Construct a linear model.
[0071] The expression for the linear model can be, but is not limited to, expressed as: ,in, The desired 2×1 electrical conductance is given.
[0072] Step S302: Construct the normal equations.
[0073] The expression for the normal equation can be, but is not limited to, expressed as: ,in, It is a 2×2 matrix. It is a 2×1 vector.
[0074] Step S303: Solve by inverse problem.
[0075] Among them, due to It is a 2×2 matrix, if Its inverse matrix can be calculated directly using analytical formulas without iteration. .
[0076] Furthermore, the expression for the conductivity estimate in the embodiments of this application may, but is not limited to, be expressed as follows: .
[0077] Step S304: Calculate the insulation resistance.
[0078] The formula for calculating insulation resistance can be, but is not limited to, expressed as: , .
[0079] Optionally, in one embodiment of this application, determining the fault diagnosis result of the DC circuit based on the positive-to-ground insulation resistance and the negative-to-ground insulation resistance includes: determining the residual vector based on the positive-to-ground insulation resistance and the negative-to-ground insulation resistance, and determining the fault feature that matches the residual vector; determining the fault type of the DC circuit and the corresponding fault handling instruction under the fault type based on the fault feature; and obtaining the fault diagnosis result according to the fault type and the fault handling instruction.
[0080] It is understood that, in the embodiments of this application, the fault types may include, but are not limited to, positive electrode insulation failure, negative electrode insulation failure, environmental dampness, environmental condensation, partial discharge, sensor failure, circuit failure, etc., and this application does not impose specific limitations.
[0081] The logic for determining positive electrode insulation damage can be as follows: sudden drop Normal, and residual components Small.
[0082] The logic for judging negative electrode insulation damage can be as follows: sudden drop Normal, and residual components Small.
[0083] The logic for judging environmental dampness and environmental condensation can be as follows: , Synchronous slow descent, and the residual vector It is small and uniform in size.
[0084] The logic for determining partial discharge can be based on the voltage signal to ground. There are high-frequency pulses, and the residual vector It exhibits random and violent fluctuations.
[0085] The judgment logic for sensor faults and circuit faults can be that R is negative or infinite, and the residual is extremely large and irregular. Specifically, as shown in Table 2, Table 2 is a schematic table of different fault type judgment logics provided according to an embodiment of this application.
[0086] Table 2
[0087] In some embodiments, the present application constructs a residual vector based on the obtained positive-to-ground insulation resistance and negative-to-ground insulation resistance, which is used to reflect the four sets of actual measured values (b) and the least squares solution. After substituting into the linear model, the deviation between the predicted values is calculated. The larger the residual, the greater the deviation. A residual of 0 indicates that the measured value perfectly matches the model. The expression can be, but is not limited to, as follows: , in, It is a 4×1 vector containing 4 components, and its expression can be: Different fault types have unique distributions in the residual space, such as , representing the residual component of the positive electrode injection state.
[0088] Furthermore, embodiments of this application can determine the residual mode. Its expression can be, but is not limited to, represented as: , in, It is a scalar that reflects the overall fit deviation.
[0089] Furthermore, in this embodiment of the application, the corresponding fault characteristics are determined based on the residual modulus and residual vector, thereby determining the fault type of the DC circuit and the corresponding fault handling instruction. Then, the fault diagnosis result of the DC circuit is generated by combining the fault type and the corresponding fault handling instruction.
[0090] The DC circuit fault detection method proposed in this application will be described below with reference to a specific embodiment.
[0091] in, Figure 4 This is a flowchart illustrating the working principle of a DC circuit fault detection method according to an embodiment of this application.
[0092] Step S401: Initialization and synchronization.
[0093] In this application embodiment, the control can be as follows: Figure 1 The detection circuit shown is powered on, and the temperature is read by the temperature sensor. It waits for the PWM synchronization signal to avoid switching noise.
[0094] Step S402: Control S3 to close, S1 and S2 to open, and acquire the voltage signal to ground under the reference state.
[0095] Step S403: Control S1 and S3 to close and S2 to open, and collect the voltage signal to ground under the positive electrode injection state.
[0096] Step S404: Control S2 and S3 to close and S1 to open, and collect the voltage signal to ground under negative electrode injection state.
[0097] Step S405: Control S1 and S2 to close and S3 to open, and acquire the voltage signal to ground under the dual injection state.
[0098] Step S406: Preprocess the voltage signal to ground to obtain the processed voltage signal to ground.
[0099] In this embodiment, temperature data can be used to correct the voltage signal to ground, and power frequency interference can be filtered out through digital filtering.
[0100] Step S407: Construct a linear model.
[0101] In this embodiment, the leakage conductance between the positive electrode and the ground and the leakage conductance between the negative electrode and the ground can be used as unknown variables. An observation vector can be constructed using the voltage signal between the positive electrode and the ground, the voltage signal between the negative electrode and the ground and the voltage signal between the midpoint of the voltage divider. A coefficient matrix can be constructed using the circuit topology state. Then, a linear model can be constructed based on the coefficient matrix, the observation vector and the unknown variables. Its expression is as shown above and will not be elaborated further here.
[0102] Step S408: Solve using the least squares method.
[0103] In this embodiment, the least squares method can be used to solve for the optimal conductance estimate.
[0104] Step S409: Determine the resistance.
[0105] In this embodiment, the insulation resistance to ground and the insulation resistance to ground can be determined based on the estimated values of the positive-to-ground leakage conductance and the negative-to-ground leakage conductance obtained from the solution.
[0106] Step S410: Residual analysis.
[0107] In this embodiment, the fault type can be determined by constructing a residual vector and combining it with the resistance change trend.
[0108] Step S411: Determine the corresponding fault handling instruction based on the fault type.
[0109] In this application, the embodiments can generate corresponding fault handling instructions based on different fault types, such as cutting off the high-voltage relay, sending alarm information (such as containing the corresponding fault type), etc. This application does not impose specific limitations.
[0110] According to the DC circuit fault detection method proposed in this application, the insulation monitoring unit can form at least four circuit topology states by controlling the closed or open switch unit. Based on the collected DC circuit voltage signals to ground in the corresponding circuit topology states, a linear model is constructed with the positive-to-ground leakage conductance and negative-to-ground leakage conductance as unknown variables. Relying on the data redundancy brought by multi-topology measurement, the risk of ill-conditioned coefficient matrix is reduced, and calculation divergence is avoided. Then, the positive-to-ground insulation resistance and negative-to-ground insulation resistance are determined based on the linear model, thereby determining the fault diagnosis result of the DC circuit, identifying different fault causes, and improving the ability to resist sampling noise and switching transient interference. Thus, it solves the problems in related technologies, such as ill-conditioned matrix and calculation divergence when the positive and negative insulation resistances are close or synchronously leaking, the single fault identification is prone to false alarms and false misses, and the lack of data redundancy and weak anti-interference ability.
[0111] Next, the DC circuit fault detection device proposed according to the embodiments of this application is described with reference to the accompanying drawings.
[0112] Figure 5 This is a block diagram of a DC circuit fault detection device provided according to an embodiment of this application.
[0113] like Figure 5 As shown, the DC circuit fault detection device 10 is applied to an insulation monitoring unit coupled to a DC circuit. The insulation monitoring unit includes multiple controlled switch units. The DC circuit fault detection device 10 includes a control module 100, a construction module 200, and a determination module 300.
[0114] The control module 100 is used to control the closed or open state of the controlled switch unit, so that the insulation monitoring unit can form at least four circuit topology states.
[0115] The construction module 200 is used to collect the ground voltage signal of the DC circuit under the corresponding circuit topology state, so as to construct a linear model with the positive terminal to ground leakage conductance and the negative terminal to ground leakage conductance as unknown variables based on the ground voltage signal and the circuit topology state.
[0116] The determination module 300 is used to determine the positive-to-ground insulation resistance and negative-to-ground insulation resistance of the DC circuit based on a linear model, and to determine the fault diagnosis result of the DC circuit based on the positive-to-ground insulation resistance and negative-to-ground insulation resistance.
[0117] Optionally, in one embodiment of this application, the determining module 300 includes: a first generating unit and a first determining unit.
[0118] The first generation unit is used to solve the linear model to obtain the estimated values of the positive-to-ground leakage conductance and the negative-to-ground leakage conductance.
[0119] The first determining unit is used to determine the positive-to-ground insulation resistance and the negative-to-ground insulation resistance based on the estimated values of the positive-to-ground leakage conductance and the negative-to-ground leakage conductance.
[0120] Optionally, in one embodiment of this application, the first generation unit includes: a construction subunit and a determination subunit.
[0121] Among them, sub-units are constructed to build normal equations based on linear models.
[0122] The sub-units are determined for inverse solving based on the normal equations to determine the estimated values of the positive-to-ground leakage conductance and the negative-to-ground leakage conductance.
[0123] Optionally, in one embodiment of this application, the control module 100 includes: an acquisition unit, a second generation unit, and a control unit.
[0124] The acquisition unit is used to acquire the set of switching states of the controlled switch unit.
[0125] The second generation unit is used to generate control instructions for the controlled switch unit based on the set of switch states.
[0126] The control unit is used to control the corresponding controlled switch unit to close or open according to control commands.
[0127] Optionally, in one embodiment of this application, the construction module 200 includes: an extraction unit, a second determination unit, a third determination unit, and a construction unit.
[0128] The extraction unit is used to extract the positive voltage signal to ground, the negative voltage signal to ground, and the voltage signal to ground at the midpoint of the voltage divider from the voltage signal to ground, corresponding to the circuit topology.
[0129] The second determining unit is used to determine the observation vector of the linear model based on the positive pole-to-ground voltage signal, the negative pole-to-ground voltage signal, and the voltage signal at the midpoint of the voltage divider.
[0130] The third determining unit is used to determine the coefficient matrix of the linear model based on the circuit topology state.
[0131] The building unit is used to construct a linear model based on the coefficient matrix and the observation vector.
[0132] Optionally, in one embodiment of this application, the determining module 300 includes: a fourth determining unit, a fifth determining unit, and a third generating unit.
[0133] The fourth determining unit is used to determine the residual vector based on the positive-to-ground insulation resistance and the negative-to-ground insulation resistance, and to determine the fault characteristics that match the residual vector.
[0134] The fifth determining unit is used to determine the fault type of the DC circuit and the corresponding fault handling instructions under the fault type based on the fault characteristics.
[0135] The third generation unit is used to obtain fault diagnosis results based on the fault type and fault handling instructions.
[0136] It should be noted that the foregoing explanation of the DC circuit fault detection method embodiment also applies to the DC circuit fault detection device of this embodiment, and will not be repeated here.
[0137] The DC circuit fault detection device proposed in this application can control the closing or opening of the controlled switch unit to enable the insulation monitoring unit to form at least four circuit topology states. Based on the collected DC circuit voltage signals to ground in the corresponding circuit topology states, a linear model is constructed with the positive-to-ground leakage conductance and negative-to-ground leakage conductance as unknown variables. Utilizing the data redundancy brought by multi-topology measurements, the risk of ill-conditioned coefficient matrix is reduced, and calculation divergence is avoided. Then, the positive-to-ground insulation resistance and negative-to-ground insulation resistance are determined based on the linear model, thereby determining the fault diagnosis result of the DC circuit, identifying different fault causes, and improving the ability to resist sampling noise and switching transient interference. This solves the problems in related technologies, such as the easy occurrence of ill-conditioned matrices and calculation divergence when the positive and negative insulation resistances are close or synchronously leaking, the simplistic fault identification leading to false alarms and missed alarms, and the lack of data redundancy and weak anti-interference capabilities.
[0138] Figure 6 This is a schematic diagram of the structure of a vehicle according to an embodiment of this application. The vehicle may include: The memory 601, the processor 602, and the computer program stored on the memory 601 and capable of running on the processor 602.
[0139] When the processor 602 executes the program, it implements the DC circuit fault detection method provided in the above embodiments.
[0140] Furthermore, the vehicle also includes: Communication interface 603 is used for communication between memory 601 and processor 602.
[0141] The memory 601 is used to store computer programs that can run on the processor 602.
[0142] The memory 601 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0143] If the memory 601, processor 602, and communication interface 603 are implemented independently, then the communication interface 603, memory 601, and processor 602 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 6 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0144] Optionally, in a specific implementation, if the memory 601, processor 602, and communication interface 603 are integrated on a single chip, then the memory 601, processor 602, and communication interface 603 can communicate with each other through an internal interface.
[0145] The processor 602 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0146] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the DC circuit fault detection method described above.
[0147] This application also provides a computer program product, including a computer program that, when executed, implements the DC circuit fault detection method described above.
[0148] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0149] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0150] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0151] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0152] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or more of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0153] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0154] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0155] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. A method for detecting faults in a DC circuit, characterized in that, An insulation monitoring unit coupled to a DC circuit is provided, wherein the insulation monitoring unit includes multiple controlled switching units, and the method includes the following steps: Controlling the closed or open switch unit to enable the insulation monitoring unit to form at least four circuit topology states; The voltage signal to ground of the DC circuit under the corresponding circuit topology is collected, and a linear model with the positive-to-ground leakage conductance and the negative-to-ground leakage conductance as unknown variables is constructed based on the voltage signal to ground and the circuit topology. Based on the linear model, the positive-to-ground insulation resistance and the negative-to-ground insulation resistance of the DC circuit are determined, and the fault diagnosis result of the DC circuit is determined based on the positive-to-ground insulation resistance and the negative-to-ground insulation resistance.
2. The method according to claim 1, characterized in that, The determination of the positive-to-ground insulation resistance and negative-to-ground insulation resistance of the DC circuit based on the linear model includes: Solving the linear model yields the estimated positive-to-ground leakage conductance and the estimated negative-to-ground leakage conductance. Based on the estimated leakage conductance of the positive electrode to ground and the estimated leakage conductance of the negative electrode to ground, the insulation resistance of the positive electrode to ground and the insulation resistance of the negative electrode to ground are determined.
3. The method according to claim 2, characterized in that, Solving the linear model to obtain the estimated positive-to-ground leakage conductance and the estimated negative-to-ground leakage conductance includes: Based on the linear model, construct the normal equations; Based on the normal equation, inverse solution is performed to determine the estimated values of the positive electrode to ground leakage conductance and the negative electrode to ground leakage conductance.
4. The method according to claim 1, characterized in that, The control of the controlled switch unit to close or open includes: Obtain the set of switching states of the controlled switch unit; Based on the set of switch states, control commands are generated for the controlled switch unit. The corresponding controlled switch unit is closed or opened according to the control command.
5. The method according to claim 1, characterized in that, The construction of a linear model based on the ground voltage signal and the circuit topology, with positive-to-ground leakage conductance and negative-to-ground leakage conductance as unknown variables, includes: Extract the positive voltage signal to ground, the negative voltage signal to ground, and the voltage signal to ground at the midpoint of the voltage divider from the voltage signal to ground in the corresponding circuit topology state. Based on the positive pole-to-ground voltage signal, the negative pole-to-ground voltage signal, and the voltage signal at the midpoint of the voltage divider to ground, the observation vector of the linear model is determined; Based on the circuit topology, determine the coefficient matrix of the linear model; The linear model is constructed based on the coefficient matrix and the observation vector.
6. The method according to claim 1, characterized in that, The determination of the fault diagnosis result of the DC circuit based on the insulation resistance between the positive terminal and ground and the insulation resistance between the negative terminal and ground includes: Based on the positive-to-ground insulation resistance and the negative-to-ground insulation resistance, the residual vector is determined, and the fault characteristics that match the residual vector are determined. Based on the fault characteristics, the fault type of the DC circuit and the corresponding fault handling instruction under the fault type are determined; The fault diagnosis result is obtained based on the fault type and the fault handling instruction.
7. A DC circuit fault detection device, characterized in that, An insulation monitoring unit coupled to a DC circuit, wherein the insulation monitoring unit includes multiple controlled switching units, and wherein the device includes: The control module is used to control the closing or opening of the controlled switch unit, so that the insulation monitoring unit can form at least four circuit topology states; A construction module is used to collect the ground voltage signal of the DC circuit under the corresponding circuit topology state, so as to construct a linear model with the positive terminal to ground leakage conductance and the negative terminal to ground leakage conductance as unknown variables based on the ground voltage signal and the circuit topology state. The determination module is used to determine the positive-to-ground insulation resistance and the negative-to-ground insulation resistance of the DC circuit based on the linear model, and to determine the fault diagnosis result of the DC circuit based on the positive-to-ground insulation resistance and the negative-to-ground insulation resistance.
8. A vehicle, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the DC circuit fault detection method as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the DC circuit fault detection method as described in any one of claims 1-6.
10. A computer program product, characterized in that, Includes a computer program, which, when executed, is used to implement the DC circuit fault detection method as described in any one of claims 1-6.
