Electric vehicle high voltage system parameter identification method and electronic equipment

Through the unbalanced bridge method and variable forgetting factor recursive least squares algorithm, voltage sampling and parameter identification of the high-voltage system of electric vehicles is solved, and the insulation resistance detection accuracy problem under the influence of Y capacitor is achieved, and the insulation resistance value and Calculation of Y capacitor size improves detection accuracy and response speed.

CN118624985BActive Publication Date: 2024-11-05HUNAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411119367.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-11-05
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

The Y capacitance between the two poles of the power battery and the electric chassis affects the accuracy of insulation resistance detection, resulting in errors in insulation performance detection and insufficient response speed in electric vehicle high-voltage systems.

Method used

The unbalanced bridge method is used to perform voltage sampling, and the voltage sampling data is waveform and parameter identification is performed by combining the variable forgetting factor recursive least squares algorithm. The values ​​of insulation resistance and Y capacitance are estimated through the state space model.

Benefits of technology

It improves the accuracy and response speed of insulation resistance detection, and can quickly and accurately calculate the insulation resistance value and Y capacitor size in the event of insulation failure, which enhances the robustness of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118624985B_ABST
    Figure CN118624985B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of power battery detection, and discloses a method and electronic device for identifying parameters of a high-voltage system of an electric vehicle. The method comprises: obtaining voltage sampling data obtained by sampling an insulation detection system; using a variable forgetting factor recursive least squares algorithm to perform waveform identification processing on the voltage sampling data to obtain a waveform identification result; when the waveform is not abnormal, using a variable forgetting factor recursive least squares algorithm to perform parameter identification processing on the voltage sampling data to obtain a first parameter identification result; when the waveform is abnormal, performing parameter identification processing on the steady-state region of the voltage sampling data to obtain a second parameter identification result; using the first parameter identification result or the second parameter identification result as an observation quantity, performing state quantity estimation processing on a state space model with insulation resistance and Y capacitance as state quantities to obtain a resistance estimation value of the insulation resistance and a capacitance estimation value of the Y capacitance. The embodiment of the present application can improve the detection accuracy of the insulation resistance and the Y capacitance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power battery detection, and in particular to a method and electronic equipment for identifying parameters of a high-voltage system of an electric vehicle. Background Art

[0002] At present, passive and active methods are mainly used to detect insulation resistance.

[0003] In the related art, the passive method usually adopts the bridge method, which specifically comprises forming a bridge between the resistor to be measured and a known resistor, measuring the voltage divider on the resistor to be measured by changing the size of the current limiting resistor, and finally calculating the insulation resistance value by solving the equation.

[0004] However, due to the existence of Y capacitance between the two poles of the power battery and the electric chassis, the electrical structure of the electric vehicle will lead to the generation of parasitic Y capacitance, which will cause changes in impedance characteristics, affect the insulation performance between the high-voltage bus and the chassis, and affect the detection accuracy of insulation resistance and Y capacitance. Summary of the invention

[0005] The purpose of this application is to provide a method and electronic equipment for identifying parameters of a high-voltage system of an electric vehicle, which can improve the detection accuracy of insulation resistance and Y capacitance.

[0006] The present application provides a method for identifying parameters of a high voltage system of an electric vehicle, comprising:

[0007] Acquire voltage sampling data obtained by sampling by the insulation detection system; the voltage sampling data is voltage waveform data obtained by the insulation detection system performing periodic voltage sampling on the electric vehicle high voltage system using an unbalanced bridge method, and the electric vehicle high voltage system has an insulation resistance and a Y capacitor;

[0008] Using a variable forgetting factor recursive least squares algorithm, the voltage sampling data is subjected to waveform identification processing to obtain a waveform identification result of a non-abnormal waveform or an abnormal waveform;

[0009] When the waveform identification result of the non-abnormal waveform is obtained, a variable forgetting factor recursive least squares algorithm is used to perform parameter identification processing on the voltage sampling data to obtain a first parameter identification result;

[0010] When the waveform identification result of the abnormal waveform is obtained, parameter identification processing is performed on the steady-state region of the voltage sampling data to obtain a second parameter identification result;

[0011] Taking the first parameter identification result or the second parameter identification result as the observed quantity, a state quantity estimation process is performed on a state space model taking the resistance value of the insulation resistor and the capacitance value of the Y capacitor as state quantities to obtain an estimated resistance value of the insulation resistor and an estimated capacitance value of the Y capacitor.

[0012] In some embodiments, the use of a variable forgetting factor recursive least squares algorithm to perform waveform recognition processing on the voltage sampling data to obtain a waveform recognition result of a non-abnormal waveform or an abnormal waveform includes:

[0013] Constructing a first least squares model; the first least squares model describes the linear relationship between the voltage offset difference and the observed offset difference, the voltage offset difference and the observed offset difference are both the differences between the voltage sampling values ​​corresponding to two groups of different offset moments, and the offset moment is the fitting result of the sampling moment and the preset offset duration;

[0014] Calculating the first forgetting factor of the current recursive cycle and the observed offset difference;

[0015] Calculating a first gain matrix according to the first forgetting factor and the observation offset difference;

[0016] Calculating the first linear parameter of the current recursive cycle according to the observed offset difference, the first gain matrix, the first linear parameter of the previous recursive cycle and the voltage offset difference;

[0017] Determining whether the first linear parameter of the current recursive period meets the first convergence condition;

[0018] If the first convergence condition is not met, adjusting the first iteration parameter, taking the next recursive cycle as the current recursive cycle; returning to the step of calculating the first forgetting factor and the observed offset difference of the current recursive cycle; the first iteration parameter is correlated with the first forgetting factor;

[0019] If the first convergence condition is met, determining whether the first linear parameter meets the waveform condition;

[0020] If the waveform condition is not met, the waveform recognition result of the abnormal waveform is output;

[0021] If the waveform condition is met, a waveform recognition result of a non-abnormal waveform is output.

[0022] In some embodiments, the functional expression of the first least squares model is:

[0023] ,

[0024] ,

[0025] ,

[0026] in, is the voltage offset difference of the kth recursive cycle, is the observed offset difference of the kth recursive period, is the first linear parameter of the kth recursive cycle, is a Gaussian white noise sequence, is the offset duration, is the sampling interval length, , and are the voltage sampling values ​​corresponding to the offset time. The sampling time The offset time, The sampling time The offset time, The sampling time The offset moment.

[0027] In some embodiments, the variable forgetting factor recursive least squares algorithm is used to perform parameter identification processing on the voltage sampling data to obtain a first parameter identification result, including:

[0028] Constructing a second least squares model and a third least squares model; the second least squares model describes the linear relationship between the voltage sampling difference and the observation sampling difference, and the third least squares model describes the linear relationship between the voltage sampling value and the observation sampling difference, and the voltage sampling difference and the observation sampling difference are both the differences between the voltage sampling values ​​corresponding to two groups of different sampling moments;

[0029] Calculate the second forgetting factor and the second observation sampling difference of the current recursive cycle;

[0030] Calculating a second gain matrix according to the second forgetting factor and the second observation sampling difference;

[0031] Calculate the second linear parameter of the current recursive cycle according to the second observed sampling difference, the second gain matrix, the second linear parameter of the previous recursive cycle and the voltage sampling difference;

[0032] Calculating an estimated value of a response time parameter according to a second linear parameter of the current recursive cycle;

[0033] Determining whether the estimated value of the response time parameter meets a second convergence condition;

[0034] If the second convergence condition is not met, adjusting the second iteration parameter, taking the next recursive cycle as the current recursive cycle; returning to the step of calculating the second forgetting factor and the second observed sampling difference of the current recursive cycle; the second iteration parameter is correlated with the second forgetting factor;

[0035] If the second convergence condition is met, outputting an estimated value of the response time parameter;

[0036] Calculate the third forgetting factor and the third observation sampling difference of the current recursive cycle;

[0037] Calculating a third gain matrix according to the third forgetting factor and the third observation sampling difference;

[0038] Calculate the third linear parameter of the current recursive cycle according to the third observed sampling difference, the third gain matrix, the third linear parameter of the previous recursive cycle and the voltage sampling value;

[0039] Calculating an estimated value of a response steady-state parameter according to the third linear parameter of the current recursive cycle;

[0040] Determining whether the estimated value of the response steady-state parameter meets a third convergence condition;

[0041] If the third convergence condition is not met, adjusting the third iteration parameter, taking the next recursion cycle as the current recursion cycle; returning to the step of calculating the third forgetting factor and the third observation sampling difference of the current recursion cycle; the third iteration parameter is correlated with the third forgetting factor;

[0042] If the third convergence condition is met, outputting the estimated value of the response steady-state parameter;

[0043] A measurement matrix is ​​constructed using the estimated value of the response steady-state parameter and the estimated value of the response time parameter as the first parameter identification result.

[0044] In some embodiments, performing parameter identification processing on the steady-state region of the voltage sampling data to obtain a second parameter identification result includes:

[0045] Calculating an average voltage value of the voltage sampling data in a steady-state stage to obtain a steady-state voltage estimation value;

[0046] The steady-state voltage estimation value is used as a response steady-state parameter of the voltage sampling data, and an observation matrix is ​​constructed as the second parameter identification result.

[0047] In some embodiments, taking the first parameter identification result or the second parameter identification result as an observation quantity, performing state quantity estimation processing on a state space model taking the resistance value of the insulation resistor and the capacitance value of the Y capacitor as state quantities, and obtaining the resistance estimation value of the insulation resistor and the capacitance estimation value of the Y capacitor, comprises:

[0048] constructing the state space model and the observation model;

[0049] Adopting an adaptive extended Kalman filter algorithm to predict the state quantity and state quantity error of the state space model to obtain a state quantity prediction result, and using the state quantity prediction result to predict the observation quantity and observation quantity error of the observation model to obtain an observation quantity prediction result;

[0050] The state quantity prediction result is corrected using the observed quantity prediction result to obtain a corrected state quantity prediction result, and the resistance estimation value of the insulation resistor and the capacitance estimation value of the Y capacitor are determined according to the corrected state quantity prediction result.

[0051] In some embodiments, the electric vehicle high-voltage system includes a power battery, a positive electrode insulation resistor, a negative electrode insulation resistor, a first Y capacitor, a second Y capacitor, and an electric chassis, wherein the positive electrode insulation resistor and the first Y capacitor are respectively connected between the positive electrode of the power battery and the electric chassis, and the negative electrode insulation resistor and the second Y capacitor are respectively connected between the negative electrode of the power battery and the electric chassis;

[0052] The insulation detection system includes a first current limiting resistor, a second current limiting resistor, a first switch, a second switch, a first sampling resistor, a second sampling resistor, a first voltage dividing resistor and a second voltage dividing resistor. The first current limiting resistor and the first switch are connected in series and connected between the positive electrode of the power battery and the electric chassis. The second current limiting resistor and the second switch are connected in series and connected between the negative electrode of the power battery and the electric chassis. The first voltage dividing resistor and the first sampling resistor are connected in series and connected in parallel with the second current limiting resistor and the second switch. The second voltage dividing resistor and the second sampling resistor are connected in series and connected between the positive electrode of the power battery and the negative electrode of the power battery.

[0053] The present application also provides a device for identifying parameters of a high voltage system of an electric vehicle, comprising:

[0054] The first module is used to obtain voltage sampling data obtained by sampling the insulation detection system; the voltage sampling data is voltage waveform data obtained by the insulation detection system performing periodic voltage sampling on the electric vehicle high voltage system using an unbalanced bridge method, and the electric vehicle high voltage system has an insulation resistance and a Y capacitor;

[0055] The second module is used to use a variable forgetting factor recursive least squares algorithm to perform waveform recognition processing on the voltage sampling data to obtain a waveform recognition result of a non-abnormal waveform or an abnormal waveform;

[0056] The third module is used to perform parameter identification processing on the voltage sampling data by using a variable forgetting factor recursive least squares algorithm when a waveform identification result of a non-abnormal waveform is obtained to obtain a first parameter identification result;

[0057] A fourth module is used to perform parameter identification processing on the steady-state region of the voltage sampling data to obtain a second parameter identification result when the waveform identification result of the abnormal waveform is obtained;

[0058] The fifth module is used to use the first parameter identification result or the second parameter identification result as the observation quantity to perform state quantity estimation processing on the state space model with the resistance value of the insulation resistor and the capacitance value of the Y capacitor as the state quantity, so as to obtain the resistance estimation value of the insulation resistor and the capacitance estimation value of the Y capacitor.

[0059] An embodiment of the present application further provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned electric vehicle high-voltage system parameter identification method when executing the computer program.

[0060] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned electric vehicle high-voltage system parameter identification method is implemented.

[0061] The beneficial effects of the present application are as follows: the voltage sampling of the high-voltage system of an electric vehicle with insulation resistance and Y capacitor is performed periodically by the unbalanced bridge method, and the voltage waveform identification processing is performed on the voltage sampling data obtained by the sampling by using the variable forgetting factor recursive least squares algorithm. According to the waveform identification result, when the waveform is normal, the voltage sampling data is subjected to parameter identification processing by using the variable forgetting factor recursive least squares algorithm, and when the waveform is abnormal, the steady-state region of the voltage sampling data is subjected to parameter identification processing, and then the identification result is used as the observed quantity to perform state quantity estimation processing on the state space model with the insulation resistance value and the Y capacitor value as the state quantity, and obtain the estimated values ​​of both the insulation resistance value and the Y capacitor. The variable forgetting factor recursive least squares algorithm is successively used for voltage waveform identification and parameter identification, so that when an insulation fault occurs in the high-voltage system of the electric vehicle, the insulation resistance value and the equivalent Y capacitor value can be quickly and accurately calculated, and the detection accuracy, response speed and robustness of the insulation resistance value can be effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 It is a flow chart of a method for identifying parameters of a high voltage system of an electric vehicle provided in an embodiment of the present application.

[0063] Figure 2 It is a flowchart of the specific method of step S102 provided in an embodiment of the present application.

[0064] Figure 3 It is a flowchart of the specific method of step S103 provided in an embodiment of the present application.

[0065] Figure 4It is a flowchart of the specific method of step S105 provided in an embodiment of the present application.

[0066] Figure 5 It is a structural schematic diagram of an electric vehicle high voltage system parameter identification device provided in an embodiment of the present application.

[0067] Figure 6 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application.

[0068] Figure 7 It is a structural schematic diagram of the electric vehicle high voltage system and insulation detection system provided in the embodiment of the present application. DETAILED DESCRIPTION

[0069] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0070] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0071] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0072] In the related art, passive and active methods are mainly used to detect the insulation resistance of electric vehicles. The passive method is mainly the bridge method, which forms an unbalanced bridge with the measured resistor and the known resistor, measures the voltage division on the measured resistor by changing the size of the current limiting resistor, and finally calculates the insulation resistance value by solving the equation. The active method is mainly the signal injection method, and its basic principle is to inject a detection signal into the high-voltage system through the vehicle's electric chassis, and then measure the feedback voltage signal on the sampling resistor to calculate the insulation resistance value.

[0073] In practical applications, the bridge method is widely used in electric vehicle insulation detection. However, the inventors found that due to the presence of Y capacitors between the two poles of the power battery and the electric chassis, a too short signal period will cause the sampling voltage to fail to reach a stable value, making the measurement result of the insulation resistance value smaller, causing the system to falsely alarm, and a too long signal period will reduce the response speed of the measurement system, and enhance the influence of the power battery voltage fluctuation on the measurement result, reducing the measurement accuracy. Therefore, for the detection of the insulation resistance of electric vehicles, it is necessary to take into account the influence of the Y capacitor, select a suitable signal period, and take corresponding compensation measures to improve the accuracy and stability of the measurement. At the same time, it is necessary to strengthen the protection against electromagnetic interference, improve the insulation performance between the positive and negative busbars of the power battery and the vehicle's electric chassis, and ensure the safe driving of electric vehicles.

[0074] Based on this, the embodiment of the present application provides a method and electronic device for identifying parameters of a high-voltage system of an electric vehicle. Based on the unbalanced bridge method, combined with a variable forgetting factor recursive least squares algorithm and a filtering algorithm, the measurement of insulation resistance and equivalent Y capacitance can be realized, which can improve the detection accuracy of insulation resistance.

[0075] The following describes a method for identifying parameters of a high voltage system of an electric vehicle in conjunction with a specific embodiment.

[0076] like Figure 7 As shown, in some embodiments, the high-voltage system of the electric vehicle includes a power battery, a positive electrode insulation resistor Rp, a negative electrode insulation resistor Rn, a first Y capacitor Cp, a second Y capacitor Cn and an electric chassis, and the insulation detection system includes a first current limiting resistor R1, a second current limiting resistor R2, a first switch S1, a second switch S2, a first voltage dividing resistor R4, a first sampling resistor R5, a second voltage dividing resistor R3 and a second sampling resistor R6, and the resistance value of the first current limiting resistor R1 is equal to the resistance value of the second current limiting resistor R2. Among them, the positive electrode insulation resistor Rp and the first Y capacitor Cp are respectively connected between the positive electrode of the power battery and the electric chassis, the negative electrode insulation resistor Rn and the second Y capacitor Cn are respectively connected between the negative electrode of the power battery and the electric chassis, the first current limiting resistor R1 and the first switch S1 are connected in series and then connected between the positive electrode of the power battery and the electric chassis, the second current limiting resistor R2 and the second switch S2 are connected in series and then connected between the negative electrode of the power battery and the electric chassis, the first voltage dividing resistor R4 and the first sampling resistor R5 are connected in series and then connected in parallel with the second current limiting resistor R2 and the second switch S2, and the second voltage dividing resistor R3 and the second sampling resistor R6 are connected in series and then connected between the positive electrode of the power battery and the negative electrode of the power battery.

[0077] See also Figure 1 , Figure 1 is a flow chart of a method for identifying parameters of a high voltage system of an electric vehicle provided in an embodiment of the present application. In some embodiments of the present application, Figure 1The method may specifically include but is not limited to steps S101 to S105. Figure 1 These five steps are introduced in detail.

[0078] Step S101, obtaining voltage sampling data sampled by an insulation detection system.

[0079] Among them, the voltage sampling data is the voltage waveform data obtained by the insulation detection system using the unbalanced bridge method to periodically sample the voltage of the electric vehicle high-voltage system. The electric vehicle high-voltage system has an insulation resistor and a Y capacitor. Specifically, the insulation resistor and the Y capacitor are both arranged in the high-voltage part of the electric vehicle high-voltage system. The insulation resistor and the Y capacitor are connected between the positive electrode of the power battery and the electric chassis or between the negative electrode of the power battery and the electric chassis. The insulation detection system performs periodic voltage sampling on the electric vehicle high-voltage system based on the unbalanced bridge method, and obtains the voltage sampling data after multiple sampling cycles.

[0080] Step S102 , using a variable forgetting factor recursive least squares algorithm to perform waveform recognition processing on the voltage sampling data to obtain a waveform recognition result of a non-abnormal waveform or an abnormal waveform.

[0081] Since the high-voltage system of the electric vehicle has a Y capacitor, the voltage sampling data sampled by the insulation detection system is a periodically fluctuating exponential function wave. The voltage waveforms of the voltage sampling data in the first half cycle and the second half cycle of the sampling period are respectively exponential function waveforms that change with time. When the resistance value of the insulation resistance decreases, the voltage waveform of the voltage sampling data will evolve into a square wave. During the evolution process, a critical square wave will appear. The voltage waveforms of the voltage sampling data in the first half cycle and the second half cycle of the sampling period are respectively critical square waves that change with time. When the resistance value of the insulation resistance is further reduced, the voltage waveforms of the voltage sampling data in the first half cycle and the second half cycle of the sampling period are respectively square waves that change with time.

[0082] When the voltage sampling data is an exponential function wave, the parameter identification method can be directly used to determine the voltage value vector of the voltage sampling data. The voltage value vector includes the response steady-state parameters, response gain parameters and response time parameters of the voltage sampling data. However, when the voltage sampling data is a critical square wave or a square wave, directly using the parameter identification method will result in non-convergence and the identification result cannot be accurately obtained.

[0083] In step S102, the voltage sampling data is subjected to voltage waveform classification processing, specifically, a least squares model for identifying the waveform of the voltage sampling data is constructed, linear parameters and forgetting factor parameters are initialized, convergence conditions are set, and a variable forgetting factor recursive least squares algorithm is used to recursively recurse the linear parameters of the least squares model until the linear parameters of the least squares model meet the preset convergence conditions, and then the waveform type of the voltage sampling data is determined according to the recursively obtained linear parameters. The waveform of the voltage sampling data may be an exponential function wave, a critical square wave or a square wave. When the waveform of the voltage sampling data is determined to be an exponential function wave, a waveform identification result of a non-abnormal waveform is obtained. When the waveform of the voltage sampling data is determined to be a critical square wave or a square wave, a waveform identification result of an abnormal waveform is obtained.

[0084] like Figure 2 As shown, in some embodiments, step S102 may specifically include but is not limited to steps S201 to S209. Figure 2 These nine steps are introduced in detail.

[0085] Step S201, constructing a first least squares model.

[0086] Among them, the first least squares model describes the linear relationship between the voltage offset difference and the observed offset difference. The voltage offset difference and the observed offset difference are both the differences between the voltage sampling values ​​corresponding to two groups of different offset times. The offset time is the fitting result of the sampling time and the preset offset duration.

[0087] The functional expression of the first least squares model is:

[0088] ,

[0089] ,

[0090] ,

[0091] in, is the voltage offset difference of the kth recursive cycle, is the observed offset difference of the kth recursive period, is the first linear parameter of the kth recursive cycle, is a Gaussian white noise sequence, is the offset duration, is the sampling interval length, , and are the voltage sampling values ​​corresponding to the offset time. The sampling time The offset time, The sampling time The offset time, The sampling time The offset moment.

[0092] Step S202, calculating the first forgetting factor and the observation offset difference of the current recursive cycle.

[0093] Before step S202, the first forgetting factor, the error covariance matrix and the forgetting factor parameters of the first least squares model are initialized, and the convergence condition of the first linear parameter is set.

[0094] The calculation formula of the first forgetting factor and the observation offset difference is:

[0095] ,

[0096] ,

[0097] in, is the first forgetting factor of the kth recursive cycle, , and is the forgetting factor parameter, is a natural constant, is the sampling time interval.

[0098] Step S203: Calculate a first gain matrix according to the first forgetting factor and the observation offset difference.

[0099] The calculation formula of the first gain matrix is:

[0100] ,

[0101] ,

[0102] in, is the first gain matrix of the kth recursive cycle, is the error covariance matrix of the first least squares model in the kth recursive cycle, is the error covariance matrix of the first least squares model in the k-1th recursive period.

[0103] Step S204, calculating the first linear parameter of the current recursive cycle according to the observed offset difference, the first gain matrix, the first linear parameter of the previous recursive cycle and the voltage offset difference.

[0104] The calculation formula of the first linear parameter is:

[0105] ,

[0106] in, is the first linear parameter of the k-1th recursive cycle.

[0107] Step S205, determine whether the first linear parameter of the current recursive cycle meets the first convergence condition. If not, execute step S206; if yes, execute step S207.

[0108] The first convergence condition is that the standard deviation of the first linear parameter of the current recursive cycle in the preset sliding window is less than the preset convergence accuracy value. If the first convergence condition is met, the recursion is terminated. If the first convergence condition is not met, the next recursive cycle is entered.

[0109] The calculation formula of the standard deviation of the first linear parameter within the preset sliding window is:

[0110] ,

[0111] ,

[0112] in, is the mean value of the first linear parameter of the kth recursive period within the preset sliding window, is the preset sliding window length, is the i-th first linear parameter in the sliding window, is the standard deviation of the first linear parameter of the kth recursive period within the preset sliding window.

[0113] Step S206, adjusting the first iteration parameter, and taking the next recursion period as the current recursion period. Returning to step S202. The first iteration parameter is correlated with the first forgetting factor.

[0114] If the first convergence condition is not met, the first iteration parameter is adjusted, specifically, k=k+1, and then the process returns to step S202 to calculate the first forgetting factor of the next recursive cycle.

[0115] Step S207, determining whether the first linear parameter meets the waveform condition. If not, executing step S208; if meeting the waveform condition, executing step S209.

[0116] If the first convergence condition is met, it is determined whether the first linear parameter obtained by recursion meets the waveform condition. The waveform condition is specifically that the absolute value of the first linear parameter obtained by recursion is less than a preset linear parameter threshold. If the waveform condition is not met, the voltage sampling data is an abnormal waveform (critical square wave or square wave). If the waveform condition is met, the voltage sampling data is a non-abnormal waveform (exponential function wave).

[0117] Step S208, outputting the waveform recognition result of the abnormal waveform.

[0118] Step S209, outputting the waveform recognition result of the non-abnormal waveform.

[0119] Step S103, when the waveform identification result of the non-abnormal waveform is obtained, a variable forgetting factor recursive least squares algorithm is used to perform parameter identification processing on the voltage sampling data to obtain a first parameter identification result.

[0120] In step S103, when the waveform identification result of the non-abnormal waveform is obtained, the response steady-state parameters and response time parameters of the voltage sampling data are decoupled to obtain the corresponding least squares model, and the variable forgetting factor recursive least squares algorithm is used to convert the identification process of determining the response steady-state parameters and response time parameters of the voltage sampling data into a nonlinear unconstrained least squares optimization problem. The response steady-state parameters and response time parameters of the voltage sampling data are recursively deduced through the nonlinear least squares estimation algorithm, and then it is verified whether the recursively obtained response steady-state parameters and response time parameters meet the preset convergence conditions. When the preset convergence conditions are met, the algorithm recursion is terminated, and the last response steady-state parameters and response time parameters that meet the iteration conditions are output, and the response steady-state parameters and response time parameters are combined as the first parameter identification result.

[0121] like Figure 3 As shown, in some embodiments, step S103 may specifically include but is not limited to steps S301 to S316. Figure 3 These sixteen steps are introduced in detail.

[0122] Step S301, constructing a second least squares model and a third least squares model.

[0123] Among them, the second least squares model describes the linear relationship between the voltage sampling difference and the observed sampling difference, and the third least squares model describes the linear relationship between the voltage sampling value and the observed sampling difference. The voltage sampling difference and the observed sampling difference are both the differences between the voltage sampling values ​​corresponding to two groups of different sampling times.

[0124] The functional expression of the second least squares model is:

[0125] ,

[0126] ,

[0127] ,

[0128] in, is the voltage sampling difference of the kth recursive cycle, is the second observed sampling difference of the kth recursive cycle, is the second linear parameter of the kth recursive cycle, is a Gaussian white noise sequence, is the sampling interval length, , and The sampling time , and The corresponding voltage sampling value.

[0129] The functional expression of the third least squares model is:

[0130] ,

[0131] ,

[0132] in, is the voltage sampling difference of the kth recursive cycle, is the second observed sampling difference of the kth recursive cycle, is the third linear parameter of the kth recursive cycle, is a Gaussian white noise sequence.

[0133] Step S302, calculating the second forgetting factor and the second observation sampling difference of the current recursive cycle.

[0134] Before step S302, the second forgetting factor, the error covariance matrix and the forgetting factor parameters of the second least squares model are initialized, and the convergence conditions of the second linear parameters are set.

[0135] The calculation formula of the second forgetting factor and the second observation sampling difference is:

[0136] ,

[0137] ,

[0138] in, is the second forgetting factor of the kth recursive cycle, , and is the forgetting factor parameter.

[0139] Step S303: Calculate a second gain matrix according to the second forgetting factor and the second observation sampling difference.

[0140] The calculation formula of the second gain matrix is:

[0141] ,

[0142] ,

[0143] in, is the second gain matrix of the kth recursive cycle, is the error covariance matrix of the second least squares model in the kth recursive cycle, is the error covariance matrix of the second least squares model in the k-1th recursive cycle.

[0144] Step S304, calculating the second linear parameter of the current recursive cycle according to the second observed sampling difference, the second gain matrix, the second linear parameter of the previous recursive cycle and the voltage sampling difference.

[0145] The calculation formula of the second linear parameter is:

[0146] ,

[0147] in, is the second linear parameter of the k-1th recursive cycle.

[0148] Step S305: Calculate an estimated value of a response time parameter according to the second linear parameter of the current recursive cycle.

[0149] The estimated value of the response time parameter is calculated as:

[0150] ,

[0151] in, is the estimated value of the response time parameter of the kth recursive cycle.

[0152] Step S306, determining whether the estimated value of the response time parameter meets the second convergence condition. If it does not meet the second convergence condition, executing step S307; if it meets the second convergence condition, executing step S308.

[0153] The second convergence condition is that the standard deviation of the estimated value of the response time parameter of the current recursive cycle within the preset sliding window is less than the preset convergence accuracy value. If the second convergence condition is met, the recursion is terminated. If the second convergence condition is not met, the next recursive cycle is entered.

[0154] The calculation formula for the standard deviation of the estimated value of the response time parameter within the preset sliding window is:

[0155] ,

[0156] ,

[0157] in, is the mean value of the second linear parameter of the kth recursive period within the preset sliding window, is the preset sliding window length, is the estimated value of the i-th response time parameter in the sliding window, is the standard deviation of the estimated value of the response time parameter of the kth recursive cycle within the preset sliding window.

[0158] Step S307, adjusting the second iteration parameter, and taking the next recursion period as the current recursion period. Returning to step S302. The second iteration parameter is correlated with the second forgetting factor.

[0159] If the second convergence condition is not met, the second iteration parameter is adjusted, specifically, k=k+1, and then the process returns to step S302 to calculate the second forgetting factor of the next recursive cycle.

[0160] Step S308: output the estimated value of the response time parameter.

[0161] Step S309, calculating the third forgetting factor and the third observation sampling difference of the current recursive cycle.

[0162] Before step S309, the third forgetting factor, the error covariance matrix and the forgetting factor parameters of the third least squares model are initialized, and the convergence condition of the third linear parameter is set.

[0163] The calculation formula of the third forgetting factor and the third observation sampling difference is:

[0164] ,

[0165] ,

[0166] in, is the third forgetting factor of the kth recursive cycle, , and is the forgetting factor parameter.

[0167] Step S310, calculating a third gain matrix according to a third forgetting factor and a third observation sampling difference.

[0168] The calculation formula of the third gain matrix is:

[0169] ,

[0170] ,

[0171] in, is the third gain matrix of the kth recursive cycle, is the error covariance matrix of the third least squares model in the kth recursive cycle, is the error covariance matrix of the third least squares model in the k-1th recursive cycle.

[0172] Step S311, calculating the third linear parameter of the current recursive cycle according to the third observed sampling difference, the third gain matrix, the third linear parameter of the previous recursive cycle and the voltage sampling value.

[0173] The calculation formula of the third linear parameter is:

[0174] ,

[0175] in, is the third linear parameter of the k-1th recursive cycle.

[0176] Step S312: Calculate an estimated value of a response steady-state parameter according to the third linear parameter of the current recursive cycle.

[0177] The estimated values ​​of the steady-state parameters of the response are given by:

[0178] ,

[0179] in, is the estimated value of the steady-state parameter of the response in the kth recursive cycle, is the mean value of the third linear parameter of the kth recursive period within the preset sliding window, is the preset sliding window length, is the i-th third linear parameter in the sliding window.

[0180] Step S313, judging whether the estimated value of the response steady-state parameter meets the third convergence condition. If it does not meet the third convergence condition, executing step S314; if it meets the third convergence condition, executing step S315.

[0181] The third convergence condition is that the standard deviation of the estimated value of the response steady-state parameter of the current recursive cycle within the preset sliding window is less than the preset convergence accuracy value. If the third convergence condition is met, the recursion is terminated. If the third convergence condition is not met, the next recursive cycle is entered.

[0182] The calculation formula for the standard deviation of the estimated value of the response steady-state parameter within the preset sliding window is:

[0183] ,

[0184] in, is the standard deviation of the estimated value of the response steady-state parameter of the kth recursive cycle within the preset sliding window.

[0185] Step S314, adjusting the third iteration parameter, and taking the next recursion cycle as the current recursion cycle. Returning to step S310. The third iteration parameter is correlated with the third forgetting factor.

[0186] If the third convergence condition is not met, the third iteration parameter is adjusted, specifically, k=k+1, and then the process returns to step S310 to calculate the third forgetting factor of the next recursive cycle.

[0187] Step S315, outputting the estimated value of the response steady-state parameter.

[0188] Step S316: construct a measurement matrix using the estimated values ​​of the response steady-state parameters and the estimated values ​​of the response time parameters as the first parameter identification result.

[0189] After the recursion is completed, the estimated values ​​of the response time parameters and the estimated values ​​of the response steady-state parameters are used to construct the measurement matrix. The expression of the measurement matrix is:

[0190] ,

[0191] Where Z is the measurement matrix, is the estimated value of the response steady-state parameter of the voltage sampling data in the current half sampling period, is the estimated value of the steady-state parameter of the voltage sampling data in the neighbor half sampling period, is the estimated value of the response time parameter of the voltage sampling data in the current half sampling period, is the voltage sampling mean value of the voltage sampling data in the current half sampling period, It is the voltage sampling mean value of the voltage sampling data in the neighbor half sampling period.

[0192] It can be understood that the current half sampling period and the neighbor half sampling period constitute a sampling period. In the above insulation detection system, when the first switch S1 is closed, the second switch S2 is disconnected, so that the second voltage-dividing resistor R3 is connected to the high-voltage system of the electric vehicle. When the first switch S1 is disconnected, the second switch S2 is closed, so that the second sampling resistor R6 is connected to the high-voltage system of the electric vehicle. This cycle is repeated to form voltage sampling data with multiple sampling periods. Each sampling period consists of a first half sampling period and a second half sampling period. When the first half sampling period is the current half sampling period, the second half sampling period is the neighbor half sampling period. Conversely, when the second half sampling period is the current half sampling period, the first half sampling period is the neighbor half sampling period.

[0193] It should be noted that steps S302 to S308 are the process of recursively calculating the response time parameters, and steps S309 to S315 are the process of recursively calculating the response steady-state parameters. The process of recursively calculating the response time parameters and the process of recursively calculating the response steady-state parameters are performed synchronously. If one of the response time parameters and the response steady-state parameters ends the recursive process first, when the response steady-state parameter has not ended the recursion, the estimated value of the response steady-state parameter generated in the current recursive cycle is used to recursively calculate the estimated value of the response steady-state parameter of the same recursive cycle. When the response steady-state parameter ends the recursion, the estimated value of the response steady-state parameter obtained at the end of the recursion is used to recursively calculate the estimated value of the response steady-state parameter.

[0194] Step S104, when the waveform identification result of the abnormal waveform is obtained, parameter identification processing is performed on the steady-state region of the voltage sampling data to obtain a second parameter identification result.

[0195] In some embodiments, step S104 specifically includes: calculating the average voltage value of the voltage sampling data in the steady-state stage to obtain a steady-state voltage estimation value; using the steady-state voltage estimation value as the response steady-state parameter of the voltage sampling data, constructing an observation matrix as a second parameter identification result.

[0196] Specifically, since the Y capacitor cannot be identified at this time, in order to ensure that the identification of the insulation resistance is not affected at this time, the identification result of the Y capacitor is regarded as 0, and the steady-state voltage estimation value is used as the response steady-state parameter of the voltage sampling data to construct the observation matrix. The expression of the measurement matrix is:

[0197] ,

[0198] Where Z is the measurement matrix, is the voltage sampling mean value of the voltage sampling data in the steady-state stage of the current half sampling cycle, is the voltage sampling mean value of the voltage sampling data in the steady-state stage of the neighbor half sampling period.

[0199] Step S105, using the first parameter identification result or the second parameter identification result as the observed quantity, performing state quantity estimation processing on the state space model using the insulation resistor value and the Y capacitor value as the state quantity, to obtain the insulation resistor resistance estimation value and the Y capacitor capacitance estimation value.

[0200] like Figure 4 As shown, in some embodiments, step S105 may specifically include but is not limited to steps S401 to S403. Figure 4 These three steps are introduced in detail.

[0201] Step S401, constructing a state space model and an observation model.

[0202] In step S401, the state space model is constructed with the insulation resistance and the capacitance of the Y capacitor as state quantities, and the observation model is constructed with the first parameter identification result or the second parameter identification result as the observation quantity. The state space model and the observation model constitute a discrete system, and the expression of the discrete system is:

[0203] ,

[0204] ,

[0205] in, is the system state vector at the mth observation moment, is the system transfer function at the mth observation moment, is the process noise at the mth observation moment, is the resistance value of the positive electrode insulation resistance at the mth observation moment, is the estimated value of the negative electrode insulation resistance at the mth observation moment, is the estimated capacitance value of capacitor Y at the mth observation moment, is the system observation vector at the mth observation moment, is the system observation function at the mth observation moment, is the measurement noise at the mth observation moment, is the transposed matrix of the measurement matrix at the mth observation moment.

[0206] According to the above discrete system, the expression of the system observation function can be obtained as follows:

[0207] ,

[0208] in, is the system observation function at the mth observation moment.

[0209] Step S402, using an adaptive extended Kalman filter algorithm to predict the state quantity and state quantity error of the state space model to obtain a state quantity prediction result, and using the state quantity prediction result to predict the observation quantity and observation quantity error of the observation model to obtain an observation quantity prediction result.

[0210] An adaptive extended Kalman filter algorithm is used to linearize the system state model through the first-order Taylor expansion, and then the prediction and update of the Kalman filter are used to perform state estimation and error correction.

[0211] The Jacobian matrices of the linearized system transfer function and system observation function are:

[0212] ,

[0213] ,

[0214] ,

[0215] in, is the Jacobian matrix of the linearized system transfer function, is the prior estimate of the system state vector at the mth observation moment, = , is the a priori estimate of the positive electrode insulation resistance, is the a priori estimate of the negative electrode insulation resistance, is the a priori estimate of the equivalent Y capacitance, is the Jacobian matrix of the linearized system observation function, , .

[0216] The following is a detailed description of the process of using the adaptive extended Kalman filter algorithm.

[0217] Initialize the state vector, error covariance matrix, system process noise covariance matrix, and system measurement noise covariance matrix:

[0218] ,

[0219] ,

[0220] ,

[0221] ,

[0222] in, is the initial state vector, is the initial error covariance matrix, Initially, it is the system process noise covariance matrix, is the initial system measurement noise covariance matrix.

[0223] Update the prior estimate and prior error covariance matrix. The specific expressions are as follows:

[0224] ,

[0225] ,

[0226] in, is the error covariance matrix at the mth observation moment, is the error covariance matrix at the m-1th observation moment, is the Jacobian matrix of the linearized system transfer function at the m-1th observation moment, for The transposed matrix of is the system process covariance matrix at the m-1th observation moment.

[0227] Calculate the real-time estimation matrix of the new information. The specific expression is as follows:

[0228] ,

[0229] ,

[0230] in, is the real-time estimation matrix of new information, M is the window size, is the identified measurement matrix.

[0231] Calculate the Kalman gain and posterior state estimate. The specific expressions are as follows:

[0232] ,

[0233] ,

[0234] in, is the Kalman gain at the mth observation moment, is the posterior state estimate at the mth observation moment, is the system measurement covariance matrix at the m-1th observation moment.

[0235] Update the system process covariance matrix and the system measurement covariance matrix, the posterior covariance matrix, the specific expression is as follows:

[0236] ,

[0237] ,

[0238] ,

[0239] in, is the system process covariance matrix at the mth observation moment, is the system measurement covariance matrix at the mth observation moment, is the posterior covariance matrix at the mth observation moment.

[0240] Step S403, using the observed quantity prediction result to correct the state quantity prediction result to obtain a corrected state quantity prediction result, and determining the resistance estimation value of the insulation resistance and the capacitance estimation value of the Y capacitor according to the corrected state quantity prediction result.

[0241] In step S403, the optimal predicted value of the system state vector obtained in the above steps is used as the revised state quantity prediction result. The revised state quantity prediction result includes the resistance estimation value information of the insulation resistor and the capacitance estimation value information of the Y capacitor. By extracting information from the revised state quantity prediction result, the resistance estimation value of the insulation resistor and the capacitance estimation value of the Y capacitor can be obtained.

[0242] See also Figure 5 The embodiment of the present application also provides an electric vehicle high voltage system parameter identification device, which can implement the above electric vehicle high voltage system parameter identification method, and the device includes:

[0243] The first module 501 is used to obtain voltage sampling data obtained by sampling the insulation detection system; the voltage sampling data is voltage waveform data obtained by the insulation detection system performing periodic voltage sampling on the high-voltage system of the electric vehicle using an unbalanced bridge method, and the high-voltage system of the electric vehicle has insulation resistance and Y capacitance;

[0244] The second module 502 is used to use a variable forgetting factor recursive least squares algorithm to perform waveform recognition processing on the voltage sampling data to obtain a waveform recognition result of a non-abnormal waveform or an abnormal waveform;

[0245] The third module 503 is used to perform parameter identification processing on the voltage sampling data by using a variable forgetting factor recursive least squares algorithm when the waveform identification result of the non-abnormal waveform is obtained to obtain a first parameter identification result;

[0246] The fourth module 504 is used to perform parameter identification processing on the steady-state region of the voltage sampling data to obtain a second parameter identification result when the waveform identification result of the abnormal waveform is obtained;

[0247] The fifth module 505 is used to use the first parameter identification result or the second parameter identification result as the observed quantity to perform state quantity estimation processing on the state space model with the insulation resistance and the Y capacitor as the state quantity, so as to obtain the insulation resistance estimation value and the Y capacitor capacitance estimation value.

[0248] The specific implementation of the electric vehicle high-voltage system parameter identification device is basically the same as the specific implementation of the electric vehicle high-voltage system parameter identification method described above, and will not be repeated here.

[0249] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment.

[0250] Refer to the following Figure 6 The electronic device 600 according to this embodiment of the present disclosure is described. Figure 6 The electronic device 600 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0251] like Figure 6 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.

[0252] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps according to various exemplary embodiments of the present disclosure described in the electric vehicle high-voltage system parameter identification method section of this specification.

[0253] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0254] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0255] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0256] The electronic device 600 may also communicate with one or more external devices 600' (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0257] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned electric vehicle high-voltage system parameter identification method is implemented.

[0258] The electric vehicle high voltage system parameter identification method, device, equipment and storage medium provided in the embodiment of the present application use the unbalanced bridge method to perform periodic voltage sampling on the electric vehicle high voltage system having insulation resistance and Y capacitor, use the variable forgetting factor recursive least squares algorithm to perform voltage waveform identification processing on the sampled voltage sampling data, and according to the waveform identification result, when the waveform is normal, use the variable forgetting factor recursive least squares algorithm to perform parameter identification processing on the voltage sampling data, and when the waveform is abnormal, perform parameter identification processing on the steady-state region of the voltage sampling data, and then use the identification result as the observed quantity to perform state quantity estimation processing on the state space model with the insulation resistance value and the Y capacitor value as the state quantity, and obtain the estimated values ​​of both the insulation resistance value and the Y capacitor. The variable forgetting factor recursive least squares algorithm is used successively for voltage waveform identification and parameter identification, so that when an insulation fault occurs in the electric vehicle high voltage system, the insulation resistance value and the equivalent Y capacitor value can be quickly and accurately calculated, and the detection accuracy, response speed and robustness of the insulation resistance value can be effectively improved.

[0259] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the implementation of the present disclosure.

[0260] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0261] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program codes contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.

[0262] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0263] Those skilled in the art will appreciate that the above modules can be distributed in the device according to the description of the embodiment, or can be changed accordingly and only used in one or more devices different from the embodiment. The modules of the above embodiments can be combined into one module, or further divided into multiple sub-modules.

[0264] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0265] The exemplary embodiments of the present disclosure are specifically shown and described above. It should be understood that the present disclosure is not limited to the detailed structures, configurations or implementations described herein; on the contrary, the present disclosure is intended to cover various modifications and equivalent configurations included in the spirit and scope of the appended claims.

Claims

1. A method for identifying parameters of a high voltage system of an electric vehicle, characterized in that: include: Obtain voltage sampling data obtained by sampling the insulation detection system; The voltage sampling data is voltage waveform data obtained by the insulation detection system performing periodic voltage sampling on the electric vehicle high voltage system using an unbalanced bridge method, and the electric vehicle high voltage system has an insulation resistance and a Y capacitor; Using a variable forgetting factor recursive least squares algorithm, the voltage sampling data is subjected to waveform identification processing to obtain a waveform identification result of a non-abnormal waveform or an abnormal waveform; When the waveform identification result of the non-abnormal waveform is obtained, a variable forgetting factor recursive least squares algorithm is used to perform parameter identification processing on the voltage sampling data to obtain a first parameter identification result; When the waveform identification result of the abnormal waveform is obtained, parameter identification processing is performed on the steady-state region of the voltage sampling data to obtain a second parameter identification result; Taking the first parameter identification result or the second parameter identification result as an observation quantity, performing state quantity estimation processing on a state space model taking the resistance value of the insulation resistor and the capacitance value of the Y capacitor as state quantities, to obtain a resistance estimation value of the insulation resistor and a capacitance estimation value of the Y capacitor; The method of using a variable forgetting factor recursive least squares algorithm to perform parameter identification processing on the voltage sampling data to obtain a first parameter identification result includes: Constructing a second least squares model and a third least squares model; the second least squares model describes the linear relationship between the voltage sampling difference and the observation sampling difference, and the third least squares model describes the linear relationship between the voltage sampling value and the observation sampling difference, and the voltage sampling difference and the observation sampling difference are both the differences between the voltage sampling values ​​corresponding to two groups of different sampling moments; Calculate the second forgetting factor and the second observation sampling difference of the current recursive cycle; Calculating a second gain matrix according to the second forgetting factor and the second observation sampling difference; Calculate the second linear parameter of the current recursive cycle according to the second observed sampling difference, the second gain matrix, the second linear parameter of the previous recursive cycle and the voltage sampling difference; Calculating an estimated value of a response time parameter according to a second linear parameter of the current recursive cycle; Determining whether the estimated value of the response time parameter meets a second convergence condition; If the second convergence condition is not met, adjusting the second iteration parameter, taking the next recursive cycle as the current recursive cycle; returning to the step of calculating the second forgetting factor and the second observed sampling difference of the current recursive cycle; the second iteration parameter is correlated with the second forgetting factor; If the second convergence condition is met, outputting an estimated value of the response time parameter; Calculate the third forgetting factor and the third observation sampling difference of the current recursive cycle; Calculating a third gain matrix according to the third forgetting factor and the third observation sampling difference; Calculate the third linear parameter of the current recursive cycle according to the third observed sampling difference, the third gain matrix, the third linear parameter of the previous recursive cycle and the voltage sampling value; Calculating an estimated value of a response steady-state parameter according to the third linear parameter of the current recursive cycle; determining whether the estimated value of the response steady-state parameter meets a third convergence condition; If the third convergence condition is not met, adjusting the third iteration parameter, taking the next recursion cycle as the current recursion cycle; returning to the step of calculating the third forgetting factor and the third observation sampling difference of the current recursion cycle; the third iteration parameter is correlated with the third forgetting factor; If the third convergence condition is met, outputting the estimated value of the response steady-state parameter; constructing a measurement matrix using the estimated value of the response steady-state parameter and the estimated value of the response time parameter as the first parameter identification result; The performing parameter identification processing on the steady-state region of the voltage sampling data to obtain a second parameter identification result includes: Calculating an average voltage value of the voltage sampling data in a steady-state stage to obtain a steady-state voltage estimation value; The steady-state voltage estimation value is used as a response steady-state parameter of the voltage sampling data, and an observation matrix is ​​constructed as the second parameter identification result.

2. The electric vehicle high voltage system parameter identification method according to claim 1 is characterized in that: The method of using a variable forgetting factor recursive least squares algorithm to perform waveform recognition processing on the voltage sampling data to obtain a waveform recognition result of a non-abnormal waveform or an abnormal waveform includes: Constructing a first least squares model; the first least squares model describes the linear relationship between the voltage offset difference and the observed offset difference, the voltage offset difference and the observed offset difference are both the differences between the voltage sampling values ​​corresponding to two groups of different offset moments, and the offset moment is the fitting result of the sampling moment and the preset offset duration; Calculating the first forgetting factor of the current recursive cycle and the observed offset difference; Calculating a first gain matrix according to the first forgetting factor and the observation offset difference; Calculating the first linear parameter of the current recursive cycle according to the observed offset difference, the first gain matrix, the first linear parameter of the previous recursive cycle and the voltage offset difference; Determining whether the first linear parameter of the current recursive period meets the first convergence condition; If the first convergence condition is not met, adjusting the first iteration parameter, taking the next recursive cycle as the current recursive cycle; returning to the step of calculating the first forgetting factor and the observed offset difference of the current recursive cycle; the first iteration parameter is correlated with the first forgetting factor; If the first convergence condition is met, determining whether the first linear parameter meets the waveform condition; If the waveform condition is not met, the waveform recognition result of the abnormal waveform is output; If the waveform condition is met, a waveform recognition result of a non-abnormal waveform is output.

3. The electric vehicle high voltage system parameter identification method according to claim 2 is characterized in that: The functional expression of the first least squares model is: , , , in, is the voltage offset difference of the kth recursive cycle, is the observed offset difference of the kth recursive period, is the first linear parameter of the kth recursive cycle, is a Gaussian white noise sequence, is the offset duration, is the sampling interval length, , and are the voltage sampling values ​​corresponding to the offset time. The sampling time The offset time, The sampling time The offset time, The sampling time The offset moment.

4. The electric vehicle high voltage system parameter identification method according to claim 1, characterized in that: The method of taking the first parameter identification result or the second parameter identification result as an observation quantity and performing state quantity estimation processing on a state space model taking the resistance value of the insulation resistor and the capacitance value of the Y capacitor as state quantities to obtain the resistance estimation value of the insulation resistor and the capacitance estimation value of the Y capacitor includes: constructing the state space model and the observation model; Adopting an adaptive extended Kalman filter algorithm to predict the state quantity and state quantity error of the state space model to obtain a state quantity prediction result, and using the state quantity prediction result to predict the observation quantity and observation quantity error of the observation model to obtain an observation quantity prediction result; The state quantity prediction result is corrected using the observed quantity prediction result to obtain a corrected state quantity prediction result, and the resistance estimation value of the insulation resistor and the capacitance estimation value of the Y capacitor are determined according to the corrected state quantity prediction result.

5. The electric vehicle high voltage system parameter identification method according to claim 1, characterized in that: The electric vehicle high-voltage system includes a power battery, a positive electrode insulation resistor, a negative electrode insulation resistor, a first Y capacitor, a second Y capacitor and an electric chassis, wherein the positive electrode insulation resistor and the first Y capacitor are respectively connected between the positive electrode of the power battery and the electric chassis, and the negative electrode insulation resistor and the second Y capacitor are respectively connected between the negative electrode of the power battery and the electric chassis; The insulation detection system includes a first current limiting resistor, a second current limiting resistor, a first switch, a second switch, a first sampling resistor, a second sampling resistor, a first voltage dividing resistor and a second voltage dividing resistor. The first current limiting resistor and the first switch are connected in series and connected between the positive electrode of the power battery and the electric chassis. The second current limiting resistor and the second switch are connected in series and connected between the negative electrode of the power battery and the electric chassis. The first voltage dividing resistor and the first sampling resistor are connected in series and connected in parallel with the second current limiting resistor and the second switch. The second voltage dividing resistor and the second sampling resistor are connected in series and connected between the positive electrode of the power battery and the negative electrode of the power battery.

6. A device for identifying parameters of a high voltage system of an electric vehicle, characterized in that: include: The first module is used to obtain voltage sampling data obtained by sampling of the insulation detection system; The voltage sampling data is voltage waveform data obtained by the insulation detection system performing periodic voltage sampling on the electric vehicle high voltage system using an unbalanced bridge method, and the electric vehicle high voltage system has an insulation resistance and a Y capacitor; The second module is used to use a variable forgetting factor recursive least squares algorithm to perform waveform recognition processing on the voltage sampling data to obtain a waveform recognition result of a non-abnormal waveform or an abnormal waveform; The third module is used to perform parameter identification processing on the voltage sampling data by using a variable forgetting factor recursive least squares algorithm when a waveform identification result of a non-abnormal waveform is obtained to obtain a first parameter identification result; A fourth module is used to perform parameter identification processing on the steady-state region of the voltage sampling data to obtain a second parameter identification result when the waveform identification result of the abnormal waveform is obtained; a fifth module, configured to use the first parameter identification result or the second parameter identification result as an observed quantity, perform state quantity estimation processing on a state space model using the resistance value of the insulation resistor and the capacitance value of the Y capacitor as state quantities, and obtain an estimated resistance value of the insulation resistor and an estimated capacitance value of the Y capacitor; The method of using a variable forgetting factor recursive least squares algorithm to perform parameter identification processing on the voltage sampling data to obtain a first parameter identification result includes: Constructing a second least squares model and a third least squares model; the second least squares model describes the linear relationship between the voltage sampling difference and the observation sampling difference, and the third least squares model describes the linear relationship between the voltage sampling value and the observation sampling difference, and the voltage sampling difference and the observation sampling difference are both the differences between the voltage sampling values ​​corresponding to two groups of different sampling moments; Calculate the second forgetting factor and the second observation sampling difference of the current recursive cycle; Calculating a second gain matrix according to the second forgetting factor and the second observation sampling difference; Calculate the second linear parameter of the current recursive cycle according to the second observed sampling difference, the second gain matrix, the second linear parameter of the previous recursive cycle and the voltage sampling difference; Calculating an estimated value of a response time parameter according to a second linear parameter of the current recursive cycle; Determining whether the estimated value of the response time parameter meets a second convergence condition; If the second convergence condition is not met, adjusting the second iteration parameter, taking the next recursive cycle as the current recursive cycle; returning to the step of calculating the second forgetting factor and the second observed sampling difference of the current recursive cycle; the second iteration parameter is correlated with the second forgetting factor; If the second convergence condition is met, outputting an estimated value of the response time parameter; Calculate the third forgetting factor and the third observation sampling difference of the current recursive cycle; Calculating a third gain matrix according to the third forgetting factor and the third observation sampling difference; Calculate the third linear parameter of the current recursive cycle according to the third observed sampling difference, the third gain matrix, the third linear parameter of the previous recursive cycle and the voltage sampling value; Calculating an estimated value of a response steady-state parameter according to the third linear parameter of the current recursive cycle; determining whether the estimated value of the response steady-state parameter meets a third convergence condition; If the third convergence condition is not met, adjusting the third iteration parameter, taking the next recursion cycle as the current recursion cycle; returning to the step of calculating the third forgetting factor and the third observation sampling difference of the current recursion cycle; the third iteration parameter is correlated with the third forgetting factor; If the third convergence condition is met, outputting the estimated value of the response steady-state parameter; constructing a measurement matrix using the estimated value of the response steady-state parameter and the estimated value of the response time parameter as the first parameter identification result; The performing parameter identification processing on the steady-state region of the voltage sampling data to obtain a second parameter identification result includes: Calculating an average voltage value of the voltage sampling data in a steady-state stage to obtain a steady-state voltage estimation value; The steady-state voltage estimation value is used as a response steady-state parameter of the voltage sampling data, and an observation matrix is ​​constructed as the second parameter identification result.

7. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the electric vehicle high-voltage system parameter identification method according to any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the electric vehicle high voltage system parameter identification method according to any one of claims 1 to 5 is implemented.