Insulation state detection method, control device, electronic device, vehicle and medium
By acquiring and analyzing the voltage change information of vehicle components and determining their insulation state, the insulation state detection error problem caused by voltage sampling interference is solved, and more reliable insulation state detection and better vehicle operation control are achieved.
Patent Information
- Application Number
- CN202411338165.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2025-04-11
AI Technical Summary
During the vehicle operation, the insulation state determined based on real-time voltage sampling data may cause errors due to the power on-off control of the load-end power switching device or the high-frequency fluctuation of the engine reverse voltage, resulting in the vehicle incorrectly reporting an insulation abnormality or operating failure.
By obtaining the current voltage data of the component to be inspected, the voltage change information is determined, and the insulation state of the component to be inspected is determined based on the current voltage data and voltage change information. This method makes the insulation state detection result correlate with the sampling voltage change in the current voltage sampling period, thereby avoiding errors caused by interference with voltage sampling.
This method can ensure the effectiveness and reliability of the insulation state detection results to a certain extent, avoid the vehicle incorrectly reporting insulation abnormalities or operational failures, and ensure the optimization of vehicle control and user driving experience.
Smart Images

Figure CN119805102A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to an insulation state detection method, a control device, an electronic device, a vehicle and a computer-readable storage medium. Background Art
[0002] During vehicle operation, the insulation status of components such as batteries is one of the important parameters to ensure the stable operation of the vehicle. In related technologies, the detection of insulation status is usually determined based on real-time voltage sampling data. However, when the power switch device at the load end has power-on and power-off control, or the engine's reverse voltage fluctuates at high frequency, the insulation status determined based on the real-time voltage sampling data may be erroneous, causing the vehicle to erroneously report insulation abnormalities or operating failures, thereby affecting the vehicle control and user driving experience. Summary of the invention
[0003] The present application provides an insulation state detection method, a control device, an electronic device, a vehicle and a computer-readable storage medium.
[0004] The present application provides a method for detecting an insulation state, comprising:
[0005] Acquire current voltage data of the component to be inspected, wherein the current voltage data includes sampled voltages at a plurality of consecutive time points in a current sampling period;
[0006] Determining voltage change information according to the current voltage data;
[0007] The insulation state of the component to be inspected is determined according to the current voltage data and the voltage change information.
[0008] In this way, in the implementation mode of the present application, the insulation status detection of the component to be inspected can be determined based on the current voltage data and voltage change information of the current voltage sampling period, so that the insulation status detection result can be related to the sampled voltage change in the current voltage sampling period, thereby avoiding the situation where the insulation status detection result obtained directly through the sampled voltage of the component to be inspected is incorrect when the voltage sampling is disturbed due to the power-on and power-off control of the power switching device of the component to be inspected, or the high-frequency fluctuation of the engine's back-injection voltage. This can ensure the effectiveness and reliability of the insulation status detection result to a certain extent, avoid the vehicle from erroneously reporting insulation abnormalities or operating failures to a certain extent, and ensure the control of the entire vehicle and the user's driving experience.
[0009] In certain embodiments of the present application, the voltage change information includes a voltage change trend, a trend maintenance time, a trend occurrence number, and a voltage change amplitude. Determining the voltage change information according to the current voltage data includes:
[0010] Determine the voltage change trend and the voltage change amplitude at each time point according to the sampled voltages at two previous and subsequent time points;
[0011] According to the voltage variation trend at each time point, the number of occurrences of the trend and the duration of the trend of each voltage variation trend are determined.
[0012] Thus, in the implementation mode of the present application, the voltage change trend, the trend maintenance time and the voltage change amplitude within the current sampling period can be determined according to the current voltage data to obtain the voltage change information.
[0013] In certain embodiments of the present application, determining the voltage change trend and the voltage change amplitude at each time point according to the sampled voltages at two preceding and succeeding time points includes:
[0014] According to the target interval and the first sampled voltage at the next time point, determining the first voltage change trend at the next time point to obtain the voltage change trend at each time point, wherein the target interval is determined according to the second sampled voltage at the previous time point and the second voltage change trend;
[0015] The voltage variation amplitude at a later time point is determined according to the first sampling voltage and the second sampling voltage to obtain the voltage variation amplitude at each time point.
[0016] Thus, in the embodiment of the present application, the voltage variation trend at a later time point can be determined based on the target interval determined by the sampled voltage at a previous time point, thereby ensuring the reliability and effectiveness of the voltage variation trend at the later time point.
[0017] In certain embodiments of the present application, the voltage change trend includes an upward trend and a downward trend. When the second voltage change trend is an upward trend, the lower limit of the target interval is the difference between the second sampling voltage and the first preset voltage, and the upper limit is the second preset voltage. When the second voltage change trend is a downward trend, the lower limit of the target interval is the third preset voltage, and the upper limit is the sum of the second sampling voltage and the fourth preset voltage.
[0018] In certain embodiments of the present application, when the second sampling voltage is in the target interval, the first voltage change trend is the same as the second voltage change trend; when the second sampling voltage is not in the target interval, the first voltage change trend is opposite to the second voltage change trend.
[0019] In certain embodiments of the present application, determining the insulation state of the component to be inspected according to the current voltage data and the voltage change information includes:
[0020] When the voltage change information satisfies a preset condition, the current insulation resistance value of the component to be inspected in the current sampling period is determined according to the current voltage data to obtain the insulation state.
[0021] Thus, in the embodiment of the present application, when the voltage change information meets the preset conditions, the current insulation resistance of the component to be inspected in the current sampling period can be determined according to the current voltage data, thereby obtaining the insulation state of the component to be inspected.
[0022] In certain embodiments of the present application, the voltage change information includes a voltage change trend, a trend maintenance time, a trend occurrence number and a voltage change amplitude. In the current sampling period, the trend occurrence number of a preset trend is greater than or equal to a preset quantity threshold, the first trend maintenance time of the preset trend is greater than a first duration threshold, the target voltage change amplitude is less than a fifth preset voltage, and the sum of the preset miscellaneous parameters of each second trend maintenance time is less than or equal to a preset threshold. The preset condition is met, the target voltage change amplitude is the voltage change amplitude at a target time point, the voltage change trend at the target time point is opposite to the preset trend, and the second trend maintenance time is the trend maintenance time before and after the longest first trend maintenance time.
[0023] In certain embodiments of the present application, when the second trend maintenance time is greater than or equal to the first preset maintenance time, the preset chaos parameter of the second trend maintenance time is the first parameter value; when the second trend maintenance time is greater than or equal to the second preset maintenance time, the preset chaos parameter of the second trend maintenance time is the second parameter value; when the second trend maintenance time is greater than or equal to the third preset maintenance time, the preset chaos parameter of the second trend maintenance time is the third parameter value; as the first preset maintenance time, the second preset maintenance time and the third preset maintenance time increase in sequence, the first parameter value, the second parameter value and the third parameter value increase in sequence.
[0024] In certain embodiments of the present application, determining the insulation state of the component to be inspected according to the current voltage data and the voltage change information includes:
[0025] When the voltage change information does not meet the preset condition, the current insulation resistance is determined according to the insulation resistance of the previous sampling period.
[0026] In this way, in the implementation mode of the present application, it is possible to avoid the situation where the current insulation resistance is determined by the first unit data when the voltage change information of the current voltage data does not meet the preset conditions and the reliability of the current voltage data is difficult to guarantee, thereby ensuring the validity and reliability of the current insulation resistance to a certain extent.
[0027] In certain embodiments of the present application, the method further comprises:
[0028] When the insulation resistance of the component to be inspected does not change within a preset time period, preset prompt information is fed back and / or the insulation state is set to a preset state.
[0029] Thus, in the implementation mode of the present application, when the insulation resistance of the component to be inspected does not change within a preset time period, a preset prompt message can be fed back and / or the insulation state of the component to be inspected can be set to a preset state, thereby ensuring the robust execution of insulation detection.
[0030] The embodiment of the present application provides a control device, including a transceiver unit and a processing unit;
[0031] The transceiver unit is configured to obtain current voltage data of the component to be inspected, wherein the current voltage data includes voltages at multiple consecutive time points in a current sampling period;
[0032] The processing unit is configured to determine voltage change information according to the current voltage data, and to determine the insulation state of the component to be inspected according to the current voltage data and the voltage change information.
[0033] An embodiment of the present application provides an electronic device, including the above-mentioned control device.
[0034] The present application provides a vehicle including the above-mentioned control device or electronic device.
[0035] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by one or more processors, the above-mentioned insulation state detection method is implemented.
[0036] The control device, electronic device, vehicle and computer-readable storage medium provided in the embodiments of the present application enable the insulation status detection of the component to be inspected to be determined based on the current voltage data and voltage change information of the current voltage sampling period, so that the insulation status detection result can be related to the sampled voltage change in the current voltage sampling period, thereby avoiding the situation where the insulation status detection result obtained directly through the sampled voltage of the component to be inspected is incorrect when the voltage sampling is disturbed due to the power-on and power-off control of the power switching device of the component to be inspected, or the high-frequency fluctuation of the engine's back-injection voltage. This can ensure the effectiveness and reliability of the insulation status detection result to a certain extent, avoid the vehicle from erroneously reporting insulation abnormalities or operating failures to a certain extent, and ensure the control of the entire vehicle and the user's driving experience.
[0037] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0039] Figure 1 is a schematic diagram of an insulation detection circuit;
[0040] Figure 2 A schematic flow chart of a method for detecting an insulation state in certain embodiments of the present application;
[0041] Figure 3 A schematic flow chart of a method for detecting an insulation state in certain embodiments of the present application;
[0042] Figure 4 A schematic diagram of application scenarios in certain embodiments of the present application;
[0043] Figure 5 A schematic diagram of application scenarios in certain embodiments of the present application;
[0044] Figure 6 A schematic flow chart of a method for detecting an insulation state in certain embodiments of the present application;
[0045] Figure 7 A schematic flow chart of a method for detecting an insulation state in certain embodiments of the present application;
[0046] Figure 8 A schematic flow chart of a method for detecting an insulation state in certain embodiments of the present application;
[0047] Fig. 9A schematic flow chart of a method for detecting an insulation state in certain embodiments of the present application;
[0048] Fig.10 It is a flowchart of a method for detecting an insulation state in certain embodiments of the present application. DETAILED DESCRIPTION
[0049] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.
[0050] During the operation of electrical equipment and vehicles, the insulation state is one of the important parameters to ensure the safe operation of electrical equipment and vehicles. Among them, the vehicle's battery management system (BMS) usually includes an insulation detection circuit, which is used to sample the voltage of components such as power batteries and estimate the insulation state of these components through voltage. It can be understood that the voltage and other data sampled by the insulation detection circuit are very important for insulation state estimation.
[0051] For a clearer explanation of the insulation condition estimation process, see Figure 1 , Figure 1 is a schematic diagram of the insulation detection circuit. Figure 1 As shown, when the voltage injection source is 1Vpower, formula (1) and formula (2) are constructed according to the current law to calculate the actual value of the injection source Vpower and IA.
[0052] Vpower / (R3+R2)=|VA-VB| / R3 (1)
[0053] Where VA is the sampled voltage of channel A (or sampling point A) when the voltage injection source is 1Vpower. VB is the sampled voltage of channel B (or sampling point B) when the voltage injection source is 1Vpower. VA and VB are sampled based on GND (ground terminal of the wire).
[0054] IA=VA / R4 (2)
[0055] And, when the voltage injection source is 2Vpower, formula (3) and formula (4) are constructed according to the current law to calculate the actual value of the injection source Vpower' and IA'. Among them, the third formula can be shown as follows, that is:
[0056] Vpower′(R3+R2)=|VA′-VB′| / R3 (3)
[0057] VA' is the sampled voltage of channel A (or sampling point A) when the voltage injection source is 1Vpower. VB' is the sampled voltage of channel B (or sampling point B) when the voltage injection source is 1Vpower. VA' and VB' are sampled based on GND (ground terminal of the wire).
[0058] IA′=VA′ / R4 (4)
[0059] Furthermore, the insulation resistance Riso can be calculated by formula (5), that is:
[0060] Riso=|Vpower-Vpower'| / |IA-IA'|-R1-R4 (5)
[0061] It is understandable that in Figure 1 In the insulation detection method shown, the sampling data of the two sampling points (i.e., A and B) in the circuit are the decisive inputs for insulation resistance calculation. However, when the power switch device at the load end is powered on and off, or the reverse voltage of the engine fluctuates at a high frequency, the voltage sampling will be disturbed. Therefore, when the sampling data under such working conditions is used for calculation, the insulation resistance estimation value will be biased, causing the vehicle to erroneously report an insulation alarm or a fault state, thereby affecting the vehicle control, emission indicators and user driving experience.
[0062] Furthermore, conventional insulation detection methods generally do not include a function for identifying whether the sampled data is interfered with, and such interference is difficult to identify through other controllers or message information, thus making it difficult to avoid the occurrence of unexpected errors in insulation status detection results.
[0063] Based on the above problems that may be encountered, please refer to Figure 2 , the embodiment of the present application provides a method for detecting an insulation state, comprising:
[0064] 01: Obtain the current voltage data of the component to be inspected, wherein the current voltage data includes the sampled voltages at multiple consecutive time points in the current sampling period;
[0065] 02: Determine voltage change information based on current voltage data;
[0066] 03: Determine the insulation status of the components to be inspected based on the current voltage data and voltage change information.
[0067] The embodiment of the present application provides a control device. The detection method of the insulation device of the embodiment of the present application can be implemented by the control device of the embodiment of the present application. Specifically, the control device includes a transceiver unit and a processing unit. Among them, the transceiver unit is configured to obtain the current voltage data of the component to be inspected, and the current voltage data includes the sampled voltages at multiple consecutive time points in the current sampling period. The processing unit is configured to determine the voltage change information based on the current voltage data, and determine the insulation state of the component to be inspected based on the current voltage data and the voltage change information.
[0068] Specifically, in the embodiment of the present application, the vehicle (or the control device in the vehicle) can detect the insulation of the vehicle through the insulation detection circuit (such as Figure 1 The voltage of the component to be inspected is detected at a fixed period by using a sensor (as shown) or other sensors to obtain the voltage of the component to be inspected at multiple consecutive time points in the current sampling period, which is the current voltage data mentioned above. Then, the change of the sampled voltage of the component to be inspected at multiple consecutive time points in the current sampling period can be determined based on the current voltage data. Finally, the insulation state of the component to be inspected can be determined based on the current voltage data and the voltage change information.
[0069] In this way, in the implementation mode of the present application, the insulation status detection of the component to be inspected can be determined based on the current voltage data and voltage change information of the current voltage sampling period, so that the insulation status detection result can be related to the sampled voltage change in the current voltage sampling period, thereby avoiding the situation where the insulation status detection result obtained directly through the sampled voltage of the component to be inspected is incorrect when the voltage sampling is disturbed due to the power-on and power-off control of the power switching device of the component to be inspected, or the high-frequency fluctuation of the engine's back-injection voltage. This can ensure the effectiveness and reliability of the insulation status detection result to a certain extent, avoid the vehicle from erroneously reporting insulation abnormalities or operating failures to a certain extent, and ensure the control of the entire vehicle and the user's driving experience.
[0070] It is understandable that in the implementation manner of the present application, the component to be inspected can be set according to actual conditions. For example, in one example, the component to be inspected is a vehicle-mounted power battery.
[0071] And, the sampling period in the implementation of the present application can also be set according to actual conditions. For example, in one example, the sampling period refers to the Vpower stage, which is a voltage injection stage of the insulation detection process, the Vpower stage is 3.75 seconds, and the time difference between the two time points before and after the sampling period is 200ms.
[0072] In an example, see again Figure 1 See also Figure 3 , Figure 3The flowchart of the method for detecting the insulation state in certain embodiments of the present application is shown in FIG. That is, when the insulation resistance Riso is calculated by the sampling voltage of sampling point A and the sampling voltage of sampling point B, the vehicle can obtain the sampling voltage of channel A (or sampling point A) and channel B (or sampling point B) every 200ms in each sampling cycle based on the voltage sampling signal sampled by the preset chip, and store the obtained sampling voltage to obtain Vpower_channelA[i] and Vpower_channelA[i].
[0073] It can also be understood that in the implementation of the present application, the voltage change information can be set according to the actual situation. For example, in one example, the voltage change information includes at least one of the voltage change trend, the trend maintenance time and the voltage change amplitude. Among them, the voltage change trend can indicate the direction of change of the sampled voltage at the next time point relative to the sampled voltage at the previous time point starting from the second time point of the current sampling cycle, such as rising and falling. The trend maintenance time can indicate the duration of the rising trend and the duration of the falling trend in the current sampling cycle. The voltage change amplitude can indicate the change of the sampled voltage at the next time point relative to the sampled voltage at the previous time point starting from the second time point of the current sampling cycle, such as the voltage rise amplitude and the voltage drop amplitude.
[0074] It is understandable that the voltage change information can reflect the interference of the external environment on the voltage sampling process, such as the interference of the power on and off control of the power switch device of the component to be tested on the voltage sampling process, and / or the interference of the high-frequency fluctuation of the reverse voltage of the engine on the voltage sampling process. Figure 1 The usage scenario of the insulation detection voltage shown in FIG. 1 is complex, and the sampling port itself has accuracy deviation, so the sampling voltage of the component to be inspected is difficult to show an ideal monotonic change.
[0075] In an example, ideally, the sample voltage of the component to be inspected is as follows: Figure 4 and Figure 5 As shown, Figure 4 and Figure 5 These are schematic diagrams of application scenarios in certain embodiments of the present application. Figure 4 and Figure 5 The vertical axis is used to indicate the magnitude of the sampled voltage, and the horizontal axis is used to indicate the sampling time (in units of 0.1 seconds). And, Figure 4 The line segment near the upper edge is the ideal change trend of the sampling voltage at sampling point A under 1.5MOhms. Figure 4 The line segment near the lower edge is the ideal change trend of the sampling voltage at sampling point A at 250kMOhms. Figure 5The line segment near the upper edge is the ideal change trend of the sampling voltage at sampling point B under 1.5MOhms. Figure 5 The line segment near the lower edge is the ideal variation trend of the sampling voltage at sampling point B at 250kMOhms.
[0076] It can also be understood that in the embodiment of the present application, the vehicle can determine the voltage change information according to the current voltage data and judge whether the voltage change information satisfies the following conditions: Figure 4 or Figure 5 The situation shown in the figure defines that the current voltage data is affected by external interference. Further, when the current voltage data is seriously affected by external interference, the current voltage data of the current sampling cycle can be regarded as invalid data, and the insulation state detection result of the previous sampling cycle is used in the current sampling cycle. On the contrary, when the current voltage data is slightly affected by external interference, the current voltage data of the current sampling cycle can be regarded as valid data, and the insulation state detection of the current sampling cycle is completed according to the current voltage data.
[0077] See also Figure 6 In certain embodiments of the present application, the voltage change information includes the voltage change trend, the trend maintenance time, the number of trend occurrences and the voltage change amplitude. According to the current voltage data, the above step 02 includes:
[0078] 020: According to the sampled voltages at two time points before and after, determine the voltage change trend and voltage change amplitude at each time point;
[0079] 021: According to the voltage change trend at each time point, determine the number of occurrences and the duration of each voltage change trend.
[0080] The processing unit of the embodiment of the present application is configured to determine the voltage change trend and voltage change amplitude at each time point based on the sampled voltages at two previous and subsequent time points, and to determine the number of trend occurrences and trend maintenance time of each voltage change trend based on the voltage change trend at each time point.
[0081] Specifically, in the implementation mode of the present application, after obtaining the sampled voltage at each time point in the current sampling period, the vehicle can determine the voltage change trend and voltage change amplitude, such as the rising trend and rising amplitude, at each time point starting from the second time point of the current sampling period, based on the change trend and change magnitude of the sampled voltage at the latter time point relative to the sampled voltage at the previous time point. And, based on the voltage change trend at each time point in the current sampling period, determine the number of occurrences and maintenance time of each change trend, such as the number of occurrences of the rising trend and the maintenance time after each occurrence of the rising trend.
[0082] Thus, in the implementation mode of the present application, the voltage change trend, the trend maintenance time and the voltage change amplitude within the current sampling period can be determined according to the current voltage data to obtain the voltage change information.
[0083] See also Figure 7 In some implementations of the present application, step 020 includes:
[0084] 0200: determining a first voltage change trend at a later time point according to a target interval and a first sampled voltage at a later time point to obtain a voltage change trend at each time point, wherein the target interval is determined according to a second sampled voltage at a previous time point and the second voltage change trend;
[0085] 0201: Determine a voltage variation amplitude at a later time point according to the first sampling voltage and the second sampling voltage to obtain a voltage variation amplitude at each time point.
[0086] The processing unit of the embodiment of the present application is configured to determine the first voltage change trend at the next time point based on the target interval and the first sampling voltage at the next time point to obtain the voltage change trend at each time point, and to determine the voltage change amplitude at the next time point based on the first sampling voltage and the second sampling voltage to obtain the voltage change amplitude at each time point. The target interval is determined based on the second sampling voltage at the previous time point and the second voltage change trend.
[0087] Specifically, in the implementation mode of the present application, the trend judgment condition at a later time point can be determined based on the sampling voltage at the previous time point, or in other words, according to the first sampling voltage at the previous time point, a target interval corresponding to the later time point is set, and according to the target interval and the second sampling voltage at the later time point, the voltage change trend at the later time point is determined, and the voltage change amplitude at the later time point can be determined by the difference between the first sampling voltage and the second sampling voltage.
[0088] It is understandable that due to the accuracy error of the sensor or sampling circuit, the voltage sampling value may continue to fluctuate. If the error of the actual sampling circuit is ignored, multiple change trends will appear or no effective change trend can be obtained. Therefore, the implementation method of the present application can determine a target interval based on the sampling voltage at the previous time point, so as to define the voltage change trend at the next time point by falling into the interval.
[0089] In one example, the voltage change trend includes an upward trend and a downward trend. When the second voltage change trend is an upward trend, the lower limit of the target interval is the difference between the second sampling voltage and the first preset voltage, and the upper limit is the second preset voltage. When the second voltage change trend is a downward trend, the lower limit of the target interval is the third preset voltage, and the upper limit is the sum of the second sampling voltage and the fourth preset voltage.
[0090] To more clearly illustrate the implementation of this application, please refer to Figure 8 , Figure 8 This is a flow chart of a method for detecting the insulation state in certain embodiments of the present application. That is, for the sampling voltage of any channel of sampling channel A and sampling channel B, starting from the second time point, the sampling voltage at the latter time point can be compared with the previous sampling voltage to obtain the voltage change trend at each time point.
[0091] Further, it can be understood that, within the current sampling cycle, the change trend at the first time point can be ignored. Also, since an initial rising and falling trend is required, the fluctuation caused by the voltage sampling accuracy of the sampling channel can be ignored, and thus, the change trend at the second time point can be directly obtained by the magnitude relationship between the sampling voltage at the second time point and the sampling voltage at the first time point, that is, when the sampling voltage at the second time point is greater than or equal to the sampling voltage at the first time point, the voltage change trend at the second time point is determined to be an upward trend, and when the sampling voltage at the second time point is less than the sampling voltage at the first time point, the voltage change trend at the second time point is determined to be a downward trend.
[0092] Then, starting from the third sampling point, the change trend is also determined, but the difference from the determination method at the second time point is that the sampling error is considered from the third sampling point. It can be understood that when the voltage sampling value is already in a stable state, but due to the accuracy error of the sampling circuit, the voltage sampling value continues to fluctuate. Therefore, if the sampling error is ignored, multiple change trends will appear or no effective change trend can be obtained. Therefore, the determination conditions at the third time point and each time point after the third time point, that is, the target interval, can be set according to the preset sampling error.
[0093] In one example, the voltage change trend includes an upward trend and a downward trend. When the second voltage change trend is an upward trend, the lower limit of the target interval is the difference between the second sampling voltage and the first preset voltage, and the upper limit is the second preset voltage. When the second voltage change trend is a downward trend, the lower limit of the target interval is the third preset voltage, and the upper limit is the sum of the second sampling voltage and the fourth preset voltage.
[0094] That is, if Figure 8As shown, for sampling channel A, when the previous time point is an upward trend, the target interval is (Vpower_channelA[1]-5mV, 5000mV), and when the previous time point is a downward trend, the target interval is (0mV, Vpower_channelA[1]+5mV). Among them, 5mV is the first preset voltage and the fourth preset voltage, 5000mV is the second preset voltage, and 0mV is the third preset voltage.
[0095] It can be understood that in the implementation manner of the present application, the first to fourth preset voltages can be set according to actual conditions.
[0096] It can also be understood that the target interval setting method for sampling channel B is similar to the target interval setting method for sampling channel A, and to avoid repetition, it will not be described here.
[0097] It is also understandable that the voltage change trend at each time point can be defined according to the target interval at each time point. For example, in one example, when the second sampled voltage is within the target interval, the first voltage change trend is the same as the second voltage change trend, and when the second sampled voltage is not within the target interval, the first voltage change trend is opposite to the second voltage change trend.
[0098] Finally, according to the target interval of each time point, determine the number of "upward" trends UpTrendCnt (i.e., the number of occurrences) in the Vpower stage (i.e., the sampling period), the number of "downward" trends DownTrendCnt, the maintenance time T_UpTrend[n] of the trend after each "upward" trend occurs, the maintenance time T_DownTrend[n] of the trend after each "downward" trend occurs, the film change amplitude V_UpTrend[n] of the trend after each "upward" trend occurs, and the voltage change amplitude V_DownTrend[n] of the trend after each "downward" trend occurs, thereby obtaining the voltage change information of the current sampling period, and then, according to the voltage change information, determine whether the current voltage data of the current sampling period is valid.
[0099] Thus, in the embodiment of the present application, the voltage variation trend at a later time point can be determined based on the target interval determined by the sampled voltage at a previous time point, thereby ensuring the reliability and effectiveness of the voltage variation trend at the later time point.
[0100] In certain embodiments of the present application, step 03 includes:
[0101] When the voltage change information meets the preset conditions, the current insulation resistance value of the component to be inspected in the current sampling period is determined according to the current voltage data to obtain the insulation status.
[0102] The processing unit of the embodiment of the present application is configured to determine the current insulation resistance of the component to be inspected in the current sampling period according to the current voltage data to obtain the insulation state when the voltage change information meets the preset conditions.
[0103] Specifically, in an embodiment of the present application, after the voltage change information of the sampled voltage of the component to be inspected in the current sampling period is determined based on the current voltage data, it can be determined whether the voltage change information meets the pre-set conditions. If so, the current voltage data of the current sampling period is considered valid. Therefore, the current insulation resistance of the component to be inspected in the current sampling period is calculated based on the current voltage data, thereby obtaining the insulation state of the component to be inspected in the current sampling period.
[0104] In one example, the current voltage data includes sampled voltages of at least two sampling points, such as Figure 1 The sampling voltage at sampling point A and the sampling voltage at sampling point B, and then the insulation resistance of the component to be tested can be calculated by the above formulas (1)-(5).
[0105] Thus, in the embodiment of the present application, when the voltage change information meets the preset conditions, the current insulation resistance of the component to be inspected in the current sampling period can be determined according to the current voltage data, thereby obtaining the insulation state of the component to be inspected.
[0106] It is understandable that in the implementation manner of the present application, the specific situation in which the voltage change information meets the preset conditions can be set according to the actual situation. For example, in one example, the voltage change information includes the voltage change trend, the trend maintenance time, the number of trend occurrences and the voltage change amplitude. In the current sampling period, the number of trend occurrences of the preset trend is greater than or equal to the preset quantity threshold, the first trend maintenance time of the preset trend is greater than the first duration threshold, the target voltage change amplitude is less than the fifth preset voltage, and the sum of the preset clutter parameters of each second trend maintenance time is less than or equal to the preset threshold. In this case, the preset condition is met, the target voltage change amplitude is the voltage change amplitude at the target time point, the voltage change trend at the target time point is opposite to the preset trend, and the second trend maintenance time is the trend maintenance time before and after the longest first trend maintenance time.
[0107] To more clearly illustrate the implementation of this application, please refer to Fig. 9 , Fig. 9The flowchart of the insulation state detection method in certain embodiments of the present application is shown. That is, after obtaining the number of "upward" trends UpTrendCnt (i.e., the number of occurrences), the number of "downward" trends DownTrendCnt, the duration of the trend after each "upward" trend T_UpTrend[n], the duration of the trend after each "downward" trend T_DownTrend[n], the amplitude of the voltage change V_UpTrend[n] of the trend after each "upward" trend, and the amplitude of the voltage change V_DownTrend[n] of the trend after each "downward" trend, the effective definition of the sampling voltage of the current Vpower stage can be determined based on these parameters.
[0108] Furthermore, based on the principle of the sampling circuit, the change trend direction of the current Vpower stage under ideal conditions is set, that is, the preset trend. It can be understood that if the preset trend of the current Vpower stage is "rising", but there may be long-term interference in the sampling process, resulting in the sampled voltage value gradually decreasing when it should be gradually increasing, and it is recognized as a valid "downward" trend, which ultimately leads to the error that the current voltage data is available, so the ideal trend direction of the current Vpower stage is preset.
[0109] Therefore, in the current Vpower phase, there is at least one voltage change trend that is the same as the preset trend. At the same time, it is detected whether the first trend maintenance time of the preset trend is greater than the first duration threshold.
[0110] For example, when the preset trend is "rising" and the first duration threshold is 84% T_Vpower (i.e., 84% of the current sampling period), among the n T_UpTrends in the current Vpower stage, the i-th T_UpTrend[i] is greater than 84% T_Vpower, i∈[0,n]. In one example, 84% T_Vpower corresponds to 16 time points. In other words, when the change trends of 16 consecutive time points are all rising, the first duration threshold is met.
[0111] In addition to detecting whether the first trend duration of the preset trend is greater than the first duration threshold, it is also detected whether there is a non-preset trend. For example, if the preset trend is "rising", it is detected whether the DownTrendCnt of the current Vpower stage is 0.
[0112] Further, it can be understood that "DownTrendCnt is 0" is an ideal situation, and a non-zero situation may occur in actual situations. Therefore, it can be determined whether the maximum value in V_DownTrend[n] is less than 5% of the "upward" trend voltage V_UpTrend[n]. It can be understood that 5% is only an example and can be set according to actual conditions.
[0113] Furthermore, except for the voltage change trend that is the same as the preset trend and lasts the longest, the durations of other voltage change trends that are the same as or opposite to the preset trend are judged accordingly.
[0114] For example, when the preset trend is "upward", excluding the maximum value T_UpTrend_Max in T_UpTrend[n], based on the n-1 T_UpTrends in T_UpTrend[n] and the n T_DownTrends in T_DownTrend[n], determine whether the sampling interference time before and after T_UpTrend_Max in the current Vpower stage is greater than or equal to 16% of T_Vpower, and the sampling interference time refers to a combination of one or more of the above n-1 T_UpTrends and n T_DownTrends.
[0115] It can be understood that the specific judgment method of the sampling interference time can be set according to the actual situation. For example, in one example, when the second trend maintenance time is greater than or equal to the first preset maintenance time, the preset chaotic parameter of the second trend maintenance time is the first parameter value, when the second trend maintenance time is greater than or equal to the second preset maintenance time, the preset chaotic parameter of the second trend maintenance time is the second parameter value, when the second trend maintenance time is greater than or equal to the third preset maintenance time, the preset chaotic parameter of the second trend maintenance time is the third parameter value, and as the first preset maintenance time, the second preset maintenance time and the third preset maintenance time increase in sequence, the first parameter value, the second parameter value and the third parameter value increase in sequence.
[0116] Specifically, for each T_UpTrend in T_UpTrend[n] and each T_DownTrend in T_DownTrend[n], determine whether the combination of n-1 T_UpTrends and one or more of the n T_DownTrends is greater than or equal to 5.33% (i.e., the first preset duration mentioned above), 10.66% (i.e., the second preset duration mentioned above), or 16% (i.e., the third preset duration mentioned above) of T_Vpower.
[0117] Further, if it is greater than or equal to 5.33% of T_Vpower, the Chaos_Value (i.e., the preset Chaos parameter) of the trend maintenance time (T_UpTrend or T_DownTrend) is set to 1 (i.e., the first parameter value). If it is greater than or equal to 10.66% of T_Vpower, the Chaos_Value of the trend maintenance time is set to 2 (i.e., the second parameter value). If it is greater than or equal to 16% of T_Vpower, the Chaos_Value of the trend maintenance time is set to 3 (i.e., the third parameter value).
[0118] Furthermore, the Chaos_Value of each T_UpTrend in the n-1 T_UpTrends and the Chaos_Value of each T_DownTrend in the n T_DownTrends are added together, and it is determined whether the sum of the Chaos_Values is greater than or equal to 3. If it is greater than or equal to 3, the sampled voltages in the current Vpower stage are invalid.
[0119] Therefore, when the sum of Chaos_Value is less than 3 (or whether the sampling interference time is less than 16% of T_Vpower), T_UpTrend[i] is greater than 84% T_Vpower, and the maximum value in V_DownTrend[n] is less than 5% of the "upward" trend voltage V_UpTrend[n], the sampling voltage of the current Vpower stage is determined to be valid.
[0120] On the contrary, when the sum of Chaos_Value is greater than or equal to 3, or T_UpTrend[i]≤84%T_Vpower, or the maximum value of V_DownTrend[n] is greater than or equal to 5% of the “upward” trend voltage V_UpTrend[n], it is determined that the sampling voltage in the current Vpower stage is invalid.
[0121] In certain embodiments of the present application, step 03 includes:
[0122] When the voltage change information does not meet the preset condition, the current insulation resistance is determined according to the insulation resistance of the previous sampling period.
[0123] The processing unit of the embodiment of the present application is configured to determine the current insulation resistance value according to the insulation resistance value of the previous sampling period when the voltage change information does not meet the preset conditions.
[0124] Specifically, in an embodiment of the present application, when the current voltage data of the current sampling cycle is invalid, the vehicle can continue to use the insulation resistance determination result of the previous sampling cycle, that is, discard the invalid current voltage data in the current sampling cycle, and use the insulation voltage obtained in the previous sampling cycle to the current sampling cycle.
[0125] To more clearly illustrate the implementation of this application, please refer to Fig.10 , Fig.10 This is a flow chart of the insulation state detection method in some embodiments of the present application. That is, when the sum of Chaos_Value is greater than or equal to 3, or T_UpTrend[i]≤84%T_Vpower, or the maximum value in V_DownTrend[n] is greater than or equal to 5% of the "upward" trend voltage V_UpTrend[n], it is determined that the sampled voltage in the current Vpower stage is invalid, and thus the "insulation resistance calculated by the sampled voltage in the current Vpower stage" can be abandoned or skipped, and the insulation resistance in the previous Vpower stage is used.
[0126] In this way, in the implementation mode of the present application, it is possible to avoid the situation where the current insulation resistance is determined by the first unit data when the voltage change information of the current voltage data does not meet the preset conditions and the reliability of the current voltage data is difficult to guarantee, thereby ensuring the validity and reliability of the current insulation resistance to a certain extent.
[0127] In addition, it can also prevent the battery system from deriving and reporting the wrong insulation status through the current voltage data in this case, thereby ensuring that the vehicle or electrical equipment remains in normal working condition. In addition, it can also prevent insulation status update errors, thereby preventing the negative impact of wrong insulation status on vehicle use or electrical equipment use, thereby enhancing the robustness of the insulation detection function and making the system with insulation detection function more stable.
[0128] In certain embodiments of the present application, the method further comprises:
[0129] When the insulation resistance of the component to be inspected does not change within a preset time period, a preset prompt message is fed back and / or the insulation state is set to a preset state.
[0130] The processing unit of the embodiment of the present application is configured to feedback preset prompt information and / or set the insulation state to a preset state when the insulation resistance value of the component to be inspected has not changed within a preset time period.
[0131] For more information, please refer again to Fig.10That is, since the vehicle or electrical system has requirements for the frequency of insulation status updates, and usually has an insulation status SNA (Signal not available) sending strategy, in the embodiment of the present application, the vehicle can report a preset prompt message to the control unit (such as the vehicle controller) in the vehicle and / or set the insulation status to a preset state such as the SNA state when it detects that the insulation resistance of the component to be inspected has not changed within a preset time period, or when the insulation resistance of multiple consecutive sampling periods is the insulation resistance of the previous sampling period, or when the insulation resistance is calculated for multiple consecutive sampling periods, to indicate that the insulation status detection function is abnormal.
[0132] Thus, in the implementation mode of the present application, when the insulation resistance of the component to be inspected does not change within a preset time period, a preset prompt message can be fed back and / or the insulation state of the component to be inspected can be set to a preset state, thereby ensuring the robust execution of insulation detection.
[0133] The embodiment of the present application further provides a computer-readable storage medium storing a computer program, and when the computer program is executed by one or more processors, the above-mentioned insulation state detection method is implemented.
[0134] In the description of this specification, the descriptions with reference to the terms "specifically", "further", "particularly", "understandably", etc. are intended to mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not intended to refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0135] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0136] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for detecting insulation status, characterized in that: include: Acquire current voltage data of the component to be inspected, wherein the current voltage data includes sampled voltages at a plurality of consecutive time points in a current sampling period; Determining voltage change information according to the current voltage data; The insulation state of the component to be inspected is determined according to the current voltage data and the voltage change information.
2. The method according to claim 1, characterized in that The voltage change information includes a voltage change trend, a trend maintenance time, a trend occurrence number, and a voltage change amplitude. The voltage change information is determined based on the current voltage data, including: Determine the voltage change trend and the voltage change amplitude at each time point according to the sampled voltages at two previous and subsequent time points; According to the voltage variation trend at each time point, the number of occurrences of the trend and the duration of the trend of each voltage variation trend are determined.
3. The method according to claim 2, characterized in that Determining the voltage change trend and the voltage change amplitude at each time point according to the sampled voltages at two preceding and succeeding time points includes: According to the target interval and the first sampled voltage at the next time point, determining the first voltage change trend at the next time point to obtain the voltage change trend at each time point, wherein the target interval is determined according to the second sampled voltage at the previous time point and the second voltage change trend; The voltage variation amplitude at a later time point is determined according to the first sampling voltage and the second sampling voltage to obtain the voltage variation amplitude at each time point.
4. The method according to claim 3, characterized in that The voltage change trend includes an upward trend and a downward trend. When the second voltage change trend is an upward trend, the lower limit of the target interval is the difference between the second sampling voltage and the first preset voltage, and the upper limit is the second preset voltage. When the second voltage change trend is a downward trend, the lower limit of the target interval is the third preset voltage, and the upper limit is the sum of the second sampling voltage and the fourth preset voltage.
5. The method according to claim 3, characterized in that: When the second sampling voltage is in the target interval, the first voltage variation trend is the same as the second voltage variation trend; when the second sampling voltage is not in the target interval, the first voltage variation trend is opposite to the second voltage variation trend.
6. The method according to claim 1, characterized in that The step of determining the insulation state of the component to be inspected according to the current voltage data and the voltage change information includes: When the voltage change information satisfies a preset condition, the current insulation resistance value of the component to be inspected in the current sampling period is determined according to the current voltage data to obtain the insulation state.
7. The method according to claim 6, characterized in that The voltage change information includes voltage change trend, trend maintenance time, trend occurrence number and voltage change amplitude. In the current sampling period, the number of trend occurrences of the preset trend is greater than or equal to the preset quantity threshold, the first trend maintenance time of the preset trend is greater than the first duration threshold, the target voltage change amplitude is less than the fifth preset voltage, and the sum of the preset miscellaneous parameters of each second trend maintenance time is less than or equal to the preset threshold, the preset condition is met, the target voltage change amplitude is the voltage change amplitude at the target time point, the voltage change trend at the target time point is opposite to the preset trend, and the second trend maintenance time is the trend maintenance time before and after the longest first trend maintenance time.
8. The method according to claim 7, characterized in that When the second trend maintenance time is greater than or equal to the first preset maintenance time, the preset chaos parameter of the second trend maintenance time is the first parameter value; when the second trend maintenance time is greater than or equal to the second preset maintenance time, the preset chaos parameter of the second trend maintenance time is the second parameter value; when the second trend maintenance time is greater than or equal to the third preset maintenance time, the preset chaos parameter of the second trend maintenance time is the third parameter value; the first preset maintenance time, the second preset maintenance time and the third preset maintenance time increase sequentially, and the first parameter value, the second parameter value and the third parameter value increase sequentially.
9. The method according to claim 6, characterized in that The step of determining the insulation state of the component to be inspected according to the current voltage data and the voltage change information includes: When the voltage change information does not meet the preset condition, the current insulation resistance is determined according to the insulation resistance of the previous sampling period.
10. The method according to claim 9, characterized in that The method further comprises: When the insulation resistance of the component to be inspected does not change within a preset time period, preset prompt information is fed back and / or the insulation state is set to a preset state.
11. A control device, characterized in that: including a transceiver unit and a processing unit; The transceiver unit is configured to obtain current voltage data of the component to be inspected, wherein the current voltage data includes voltages at multiple consecutive time points in a current sampling period; The processing unit is configured to determine voltage change information according to the current voltage data, and to determine the insulation state of the component to be inspected according to the current voltage data and the voltage change information.
12. An electronic device, characterized in that: Includes the control device as claimed in claim 11.
13. A vehicle, characterized in that: Comprising the device according to claim 11 or 12.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the method according to any one of claims 1 to 10 is implemented.