Insulation detection method, device, control equipment and automobile
By introducing relays and voltage-dividing resistors into the insulation detection circuit of electric vehicles, and controlling the sampling mode and reporting cycle according to working conditions, the problem of low stability of insulation detection in electric vehicles is solved, and fast and accurate insulation fault reporting and anti-interference are achieved. Improvement of capabilities.
Patent Information
- Application Number
- CN202010818087.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-14
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-08-14
AI Technical Summary
The insulation detection method of electric vehicles is not very stable and takes a long time, and is easily affected by interference and leads to false alarms.
An insulation detection method is adopted, by introducing the main positive relay, the main negative relay and the high-voltage bus-to-ground insulation resistance into the vehicle's insulation detection circuit, and controlling the insulation detection relay to periodically close and disconnect according to the vehicle's working conditions, and collect Voltage data is used to calculate the insulation resistance of the high-voltage bus to ground, and different sampling modes and reporting periods are used to improve detection accuracy and anti-interference capabilities.
It realizes rapid reporting of insulation faults, improves the accuracy and anti-interference ability of insulation resistance calculation, prevents false alarms, and improves customer experience.
Smart Images

Figure CN114076878B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobiles, and in particular to an insulation detection method, device, control equipment and automobile. Background Art
[0002] At present, the insulation test of electric vehicles usually adopts the passive bridge method required by the national standard. Although this method has high stability, the calculation and reporting of insulation resistance are relatively slow, generally taking 30 seconds to 1 minute. Active insulation generally uses signal transmission to perform insulation detection, and the insulation fault reporting speed is fast, generally within 1 second to 5 seconds. The disadvantage is that the stability is relatively poor, and it is easy to be affected by Y capacitors, high-voltage components or motor electromagnetic interference, resulting in false alarms. Summary of the invention
[0003] The embodiments of the present invention provide an insulation detection method, an apparatus, a control device and an automobile, which are used to solve the problem that the insulation detection method of an electric vehicle in the prior art is not stable or takes a long time.
[0004] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0005] According to one aspect of the present invention, there is provided an insulation detection method, which is applied to an insulation detection circuit of a vehicle, wherein the insulation detection circuit comprises a main positive relay, a main negative relay and a high-voltage busbar-to-ground insulation resistance connected to a power supply of the vehicle, and further comprises an insulation detection relay and a voltage dividing resistor for insulation detection, wherein the insulation detection method comprises:
[0006] According to the working condition of the vehicle, the vehicle is controlled to enter a corresponding sampling mode; wherein the working condition is different, and the corresponding sampling mode is different;
[0007] Controlling the insulation detection relay to periodically close and open according to the sampling mode, and collecting voltage data; wherein the voltage data includes a sampling voltage of the positive pole of the power supply to the ground and a sampling voltage of the negative pole of the power supply to the ground;
[0008] The insulation resistance of the high-voltage busbar to ground is calculated according to the voltage data.
[0009] Optionally, controlling the vehicle to enter a corresponding sampling mode according to the working condition of the vehicle includes:
[0010] When the vehicle mode is the driving mode, if the vehicle speed is greater than the preset speed or the acceleration is greater than the preset acceleration, the vehicle is controlled to enter the first voltage sampling mode; otherwise, the vehicle is controlled to enter the second voltage sampling mode;
[0011] When the vehicle mode is the charging mode, the main negative relay is closed and the main positive relay is disconnected, the vehicle is controlled to enter the first voltage sampling mode.
[0012] Optionally, controlling the insulation detection relay to periodically close and open according to the sampling mode and collecting voltage data includes:
[0013] Controlling the first relay and the second relay in the insulation detection relay to close;
[0014] After the first relay and the second relay are closed for a first preset time, collecting the voltage of the first resistor in the voltage-dividing resistor as the first voltage, collecting the voltage of the second resistor in the voltage-dividing resistor as the second voltage, and controlling the second relay to be disconnected;
[0015] After the second relay is disconnected for a second preset time, collecting the voltage of the first resistor as a third voltage, and controlling the second relay to close and the first relay to disconnect;
[0016] After the second relay is closed and the first relay is opened for the second preset time, collecting the voltage of the second resistor as a fourth voltage;
[0017] Repeat the above steps;
[0018] The sum of the first preset time and the second preset time is the switching period of the insulation detection relay, and the switching periods of different sampling modes are different.
[0019] Optionally, controlling the vehicle to enter a corresponding sampling mode according to the working condition of the vehicle includes:
[0020] When the vehicle is powered on and the main negative relay is closed, the vehicle is controlled to enter the third voltage sampling mode;
[0021] After closing the main positive relay, the vehicle is powered on, and the vehicle is controlled to enter the first voltage sampling mode or the second voltage sampling mode according to the vehicle mode and vehicle status;
[0022] The switching period of the first voltage sampling mode is greater than the switching period of the second voltage sampling mode, and the switching period of the second voltage sampling mode is greater than the switching period of the third voltage sampling mode.
[0023] Optionally, calculating the insulation resistance of the high-voltage bus to ground according to the voltage data includes:
[0024] When the first voltage is greater than the second voltage, the resistance value of the second insulation resistance in the high-voltage bus-to-ground insulation resistance is calculated according to a first functional relationship among the first voltage, the second voltage, the third voltage, and the first resistance; otherwise, the resistance value of the first insulation resistance in the high-voltage bus-to-ground insulation resistance is calculated according to a second functional relationship among the first voltage, the second voltage, the fourth voltage, and the second resistance;
[0025] The first resistor is connected in parallel with the first insulation resistor, and the second resistor is connected in parallel with the second insulation resistor.
[0026] Optionally, the insulation detection method further includes:
[0027] Reporting the resistance values of the first insulation resistor and the second insulation resistor at every preset reporting period;
[0028] The preset reporting period is an integer multiple of the sum of the first preset time and two of the second preset times.
[0029] Optionally, the insulation detection method further includes:
[0030] The preset reporting period is adjusted according to the resistance values of the first insulation resistor and the second insulation resistor.
[0031] Optionally, adjusting the preset reporting period according to the resistance values of the first insulation resistor and the second insulation resistor includes:
[0032] When the resistance of any one of the first insulation resistance and the second insulation resistance is less than or equal to the first preset resistance, adjusting the preset reporting period to the first reporting period;
[0033] When the resistance values of the first insulation resistor and the second insulation resistor are both greater than the first preset resistance value, adjusting the preset reporting period to a second reporting period;
[0034] The first reporting period is smaller than the second reporting period.
[0035] Optionally, the insulation detection method further includes:
[0036] Monitor the bus voltage change amplitude, and when the bus voltage change amplitude is greater than a voltage threshold, stop reporting the resistance values of the first insulation resistor and the second insulation resistor.
[0037] Optionally, the insulation detection method further includes:
[0038] When the resistance of any one of the first insulation resistor and the second insulation resistor is less than a second preset resistance, an insulation fault is reported.
[0039] According to another aspect of the present invention, an insulation detection device is provided, which is applied to an insulation detection circuit of a vehicle, wherein the insulation detection circuit includes a main positive relay, a main negative relay and a high-voltage bus-to-ground insulation resistance connected to a power supply of the vehicle, and also includes an insulation detection relay and a voltage-dividing resistor for insulation detection. The insulation detection device includes:
[0040] A mode selection module, used to control the vehicle to enter a corresponding sampling mode according to the working condition of the vehicle; wherein the corresponding sampling mode is different for different working conditions;
[0041] A control processing module, used to control the insulation detection relay to periodically close and open according to the sampling mode, and collect voltage data; wherein the voltage data includes a sampling voltage of the positive electrode of the power supply to the ground and a sampling voltage of the negative electrode of the power supply to the ground;
[0042] An insulation calculation module calculates the insulation resistance of the high-voltage bus to ground based on the voltage data.
[0043] According to another aspect of the present invention, a control device is provided, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the insulation detection method as described above is implemented.
[0044] According to another aspect of the present invention, a vehicle is provided, comprising the insulation detection device as described above.
[0045] The beneficial effects of the present invention are:
[0046] The above solution adopts different voltage sampling strategies for different vehicle scenarios, which can quickly report insulation faults. It improves the accuracy of vehicle insulation resistance calculation, has a fast reporting time, strong anti-interference ability, can prevent false alarms, and thus improve customer experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A schematic diagram showing an insulation detection method provided by an embodiment of the present invention;
[0048] Figure 2 A schematic diagram showing an insulation detection principle provided by an embodiment of the present invention;
[0049] Figure 3 It shows the timing diagram of insulation detection by traditional bridge method;
[0050] Figure 4 A sampling timing diagram of the insulation detection method provided by an embodiment of the present invention is shown;
[0051] Figure 5 A waveform diagram showing a sampling voltage provided by an embodiment of the present invention;
[0052] Figure 6 A schematic diagram showing insulation detection of a slow-charging preheating closing main negative relay provided by an embodiment of the present invention;
[0053] Figure 7 A schematic diagram showing insulation detection of a fast-charging preheating closing main negative relay provided by an embodiment of the present invention;
[0054] Figure 8 A schematic diagram showing bus voltage variation under rapid acceleration conditions provided by an embodiment of the present invention;
[0055] Fig. 9 A flow chart showing an insulation detection method provided by an embodiment of the present invention;
[0056] Fig.10 A schematic diagram of an insulation detection device provided in an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0057] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0058] Aiming at the problem that the insulation detection method of an electric vehicle has low stability or takes a long time, the present invention provides an insulation detection method, a device, a control device and an automobile.
[0059] like Figure 1 As shown, one embodiment of the present invention provides an insulation detection method, which is applied to an insulation detection circuit of a vehicle, wherein the insulation detection circuit includes a main positive relay Kp, a main negative relay Kn and a high-voltage bus-to-ground insulation resistance connected to a power supply of the vehicle, and also includes an insulation detection relay and a voltage-dividing resistor for insulation detection. The insulation detection method includes:
[0060] S11: Controlling the vehicle to enter a corresponding sampling mode according to the working condition of the vehicle; wherein the corresponding sampling mode is different for different working conditions;
[0061] S12: Control the insulation detection relay to periodically close and open according to the sampling mode, and collect voltage data; wherein the voltage data includes a sampling voltage of the positive electrode of the power supply to the ground and a sampling voltage of the negative electrode of the power supply to the ground;
[0062] S13: Calculate the insulation resistance of the high-voltage busbar to ground according to the voltage data.
[0063] It should be noted that the main positive relay Kp and the main negative relay Kn are respectively the positive relay and the negative relay of the vehicle power battery system, and both operate according to the power-on timing requirements of the vehicle. The embodiment of the present invention adopts different sampling modes for different working conditions of the vehicle, so that the vehicle insulation resistance (i.e., the insulation resistance of the high-voltage bus to the ground) can be calculated more timely and accurately.
[0064] Specifically, Figure 2 As shown, the insulation detection circuit includes: a first insulation resistor Rp connected between the positive pole of the power supply and the ground, a second insulation resistor Rn connected between the negative pole of the power supply and the ground, a first equivalent capacitor C1 connected in parallel with the first insulation resistor Rp, and a second equivalent capacitor C2 connected in parallel with the second insulation resistor Rn.
[0065] It should be noted that the insulation resistance of the high-voltage bus to the ground includes a first insulation resistance Rp and a second insulation resistance Rn, wherein the first insulation resistance Rp represents the insulation resistance of the positive pole of the high-voltage bus to the electric chassis; the second insulation resistance Rn represents the insulation resistance of the negative pole of the high-voltage bus to the electric chassis; the first equivalent capacitance C1 is the equivalent Y capacitance of the positive bus to the electric chassis, and the second equivalent capacitance C2 is the equivalent Y capacitance of the negative bus to the electric chassis, wherein the value of the first equivalent capacitance C1 is estimated by the sum of the Y capacitance of the positive pole of all components of the high-voltage system to the electric chassis, and the value of the second equivalent capacitance C2 is estimated by the sum of the Y capacitance of the negative pole of all components of the high-voltage system to the electric chassis.
[0066] The insulation detection circuit also includes: a first resistor R0, a second resistor R0', a first voltage-dividing resistor R1, a second voltage-dividing resistor R3, a first sampling resistor R2 and a second sampling resistor R4; wherein, the first resistor R0 is connected in parallel with the first insulation resistor Rp, the first voltage-dividing resistor R1 and the first sampling resistor R2 are connected in series and then connected in parallel with the first insulation resistor Rp, and a first end of the first insulation resistor Rp and a first end of the first resistor R0 are connected to a first end of the first voltage-dividing resistor R1; the second resistor R0' is connected in parallel with the second insulation resistor Rn, the second voltage-dividing resistor R3 and the second sampling resistor R4 are connected in series and then connected in parallel with the second insulation resistor Rn, and a first end of the second insulation resistor Rn and a first end of the second resistor R0' are connected to a first end of the second voltage-dividing resistor R3.
[0067] It should be noted that the first resistor R0, the second resistor R0', the first voltage-dividing resistor R1, the second voltage-dividing resistor R3, the first sampling resistor R2 and the second sampling resistor R4 are detection resistors of the insulation detection circuit, and their resistance values are all known values; the first resistor R0 and the second resistor R0' may also be known variable resistors;
[0068] A first relay S1 and a second relay S2; wherein the first end of the first relay S1 is respectively connected to the first end of the first insulation resistor Rp and the first end of the first voltage-dividing resistor R1, the second end of the first relay S1 is connected to the first end of the first resistor R0, the first end of the second relay S2 is respectively connected to the first end of the second insulation resistor Rn and the first end of the second voltage-dividing resistor R3, and the second end of the second relay S2 is connected to the first end of the second resistor R0'.
[0069] It should be noted that the first relay S1 and the second relay S2 are insulation detection relays, and their opening and closing are controlled by a controller.
[0070] A main positive relay Kp and a main negative relay Kn; wherein the main positive relay Kp is connected between the first end of the first voltage-dividing resistor R1 and the first end of the first equivalent capacitor C1, the first end of the first voltage-dividing resistor R1 is connected to the positive electrode of the power supply, and the second end of the first equivalent capacitor C1 is grounded; the main negative relay Kn is connected between the second end of the second sampling resistor R4 and the second end of the second equivalent capacitor C2, the second end of the second sampling resistor R4 is connected to the negative electrode of the power supply, and the first end of the second equivalent capacitor C2 is grounded.
[0071] Next, the vehicle insulation detection function of the traditional bridge method is briefly introduced as follows: Usually, it is necessary to measure the first sampling voltage Up and the second sampling voltage Un; wherein the first sampling voltage Up is the voltage sampling value across R2, and the second sampling voltage Un is the voltage sampling value across R4;
[0072] When the vehicle is powered on at high voltage, after the power battery system closes the main negative relay Kn, if the insulation of the high voltage system is normal, the current will pass through the positive electrode of the power supply via (R0 / / (R1+R2)) or (R1+R2), and flow through the second equivalent capacitor C2 to the negative electrode of the power supply to form a loop to charge the second equivalent capacitor C2. The measured values of the first sampling voltage Up and the second sampling voltage Un collected after the circuit reaches a steady state are used for insulation resistance estimation; wherein, (R0 / / (R1+R2)) represents the equivalent resistance of the first voltage-dividing resistor R1 and the first sampling resistor R2 connected in series and then connected in parallel with the first resistor R0 when the first relay S1 is closed; (R1+R2) represents the equivalent resistance of the first voltage-dividing resistor R1 and the first sampling resistor R2 connected in series when the first relay S1 is disconnected;
[0073] Similarly, if the main positive relay Kp is closed first, the current will pass through the positive electrode of the power supply, through the first equivalent capacitor C1, through (R0' / / (R3+R4)) or (R3+R4), and then to the negative electrode of the power supply to form a loop to charge the first equivalent capacitor C1. After reaching a steady state, the measured values of the first sampling voltage Up and the second sampling voltage Un collected are used to estimate the insulation resistance; wherein, (R0' / / (R3+R4)) represents the equivalent resistance of the second voltage-dividing resistor R3 and the second sampling resistor R4 connected in series and then connected in parallel with the first resistor R0 when the second relay S2 is closed; (R3+R4) represents the equivalent resistance of the second voltage-dividing resistor R3 and the second sampling resistor R4 connected in series when the second relay S2 is disconnected.
[0074] It should be noted that the time required for the circuit to reach a steady state can be calculated using the first formula, which is:
[0075] t1=3RC=3max((R1+R2)C2, (R3+R4)C1)
[0076] The timing requirements of traditional bridge insulation detection are as follows: Figure 3 As shown, when the main positive relay Kp and the main negative relay Kn are in a closed state, and the first equivalent capacitor C1 and the second equivalent capacitor C2 reach a steady state, when the first relay S1 and the second relay S2 are periodically opened or closed, at the moment when the first relay S1 and the second relay S2 are opened or closed, the first equivalent capacitor C1 and the second equivalent capacitor C2 will be charged and discharged again, and the measured values of the first sampling voltage Up and the second sampling voltage Un after the circuit reaches a steady state are used for insulation resistance estimation;
[0077] According to the maximum design margin, the time required for the circuit to reach a steady state can be calculated by the second formula, where the initial voltage of the first equivalent capacitor C1 and the second equivalent capacitor C2 is 0V:
[0078] t2=3RC=3max((R0 / / (R1+R2))C2, (R0' / / (R3+R4))C1)
[0079] According to the calculation results of the first and second formulas above, the controller responsible for insulation detection needs to perform insulation estimation on the measured values of the first sampling voltage Up and the second sampling voltage Un after the circuit has fully reached a steady state; according to the circuit response stabilization time T=3RC, the smaller R is, the shorter the time required for the circuit to reach stability. This method of insulation resistance calculation and reporting is relatively slow, generally taking 30 seconds to 1 minute.
[0080] Different from the above traditional bridge method, the insulation detection method provided in one embodiment of the present invention is optimized and improved on the basis of the bridge method, and different voltage sampling strategies are adopted for different vehicle scenarios: for example, before the vehicle is powered on and during the charging preheating process, only the main negative relay Kn is closed for insulation detection. Since the insulation resistance of the whole vehicle can be monitored without connecting high voltage, it can not only improve safety but also ensure the safety of passengers; in view of the situation where insulation failures are prone to occur during dynamic driving and charging and cause customer complaints, the strategy of increasing the switching cycle of the insulation detection relay or adjusting the insulation resistance reporting cycle of the vehicle is adopted to improve the stability of the sampled voltage data, thereby preventing the generation of false alarms.
[0081] Specifically, the insulation detection method provided in one embodiment of the present invention is described as follows:
[0082] First of all, considering that the vehicle's battery pack cannot be charged normally due to low temperature, the battery pack is generally heated to a temperature suitable for charging before charging; that is, when the electric vehicle is slow charging or fast charging, if the battery pack temperature is too low, there will be a pre-heating condition. At this time, the charging pile is connected to the heating circuit of the entire vehicle, and there is high voltage, but the main positive relay Kp and main negative relay Kn of the battery pack are in the disconnected state, and the insulation of the external heating circuit cannot be detected, and there is a risk of electric shock.
[0083] Therefore, one embodiment of the present invention provides a control strategy for monitoring the insulation resistance of the entire vehicle under the battery preheating condition as follows:
[0084] like Figure 6-7 As shown, during the battery preheating condition, the main negative relay Kn is closed and the main positive relay Kp is opened to monitor the insulation performance between the external charging pile and the vehicle heating circuit.
[0085] Optionally, controlling the vehicle to enter a corresponding sampling mode according to the working condition of the vehicle includes:
[0086] When the vehicle mode is the driving mode, if the vehicle speed is greater than the preset speed or the acceleration is greater than the preset acceleration, the vehicle is controlled to enter the first voltage sampling mode; otherwise, the vehicle is controlled to enter the second voltage sampling mode;
[0087] When the vehicle mode is the charging mode, the main negative relay Kn is closed and the main positive relay Kp is disconnected, the vehicle is controlled to enter the first voltage sampling mode.
[0088] It should be noted that after closing the main positive relay Kp, the vehicle is powered on; at this time, the vehicle mode and vehicle status are used to select the mode to control the vehicle. The voltage sampling mode can be switched to adapt to changes in vehicle operating conditions by monitoring vehicle speed and acceleration during dynamic driving, thereby preventing false alarms.
[0089] Optionally, controlling the insulation detection relay to periodically close and open according to the sampling mode and collecting voltage data includes:
[0090] Controlling the first relay S1 and the second relay S2 in the insulation detection relay to close;
[0091] After the first relay S1 and the second relay S2 are closed for a first preset time, the voltage of the first resistor R0 in the voltage-dividing resistor is collected as the first voltage, the voltage of the second resistor R0' in the voltage-dividing resistor is collected as the second voltage, and the second relay S2 is controlled to be disconnected;
[0092] After the second relay S2 is disconnected for a second preset time, collecting the voltage of the first resistor R0 as the third voltage, and controlling the second relay S2 to be closed and the first relay S1 to be disconnected;
[0093] After the second relay S2 is closed and the first relay S1 is opened for the second preset time, collecting the voltage of the second resistor R0' as a fourth voltage;
[0094] Repeat the above steps;
[0095] The sum of the first preset time and the second preset time is the switching period of the insulation detection relay, and the switching periods of different sampling modes are different.
[0096] Optionally, controlling the vehicle to enter a corresponding sampling mode according to the working condition of the vehicle includes:
[0097] When the vehicle is powered on and the main negative relay Kn is closed, the vehicle is controlled to enter the third voltage sampling mode;
[0098] After closing the main positive relay Kp, the vehicle is powered on, and the vehicle is controlled to enter the first voltage sampling mode or the second voltage sampling mode according to the vehicle mode and vehicle status;
[0099] The switching period of the first voltage sampling mode is greater than the switching period of the second voltage sampling mode, and the switching period of the second voltage sampling mode is greater than the switching period of the third voltage sampling mode.
[0100] That is to say, the first voltage sampling mode is a slow voltage sampling mode, which is suitable for charging mode and high-speed dynamic mode of the whole vehicle; at this time, the sampling voltage is stable and the calculation accuracy is the highest; in contrast, the second voltage sampling mode is an adaptive voltage sampling mode, which is suitable for static non-charging mode and low-speed mode after the whole vehicle is powered on at high voltage; at this time, the sampling voltage is relatively stable and the calculation accuracy is high; the third voltage sampling mode is a fast voltage sampling mode, which is used to detect the vehicle insulation resistance of the whole vehicle when only the main negative relay Kn is closed before the whole vehicle is powered on; at this time, since the high-voltage circuit of the vehicle is not connected and there is no voltage fluctuation, this fast voltage sampling mode can be used to detect the insulation resistance of the whole vehicle, but the calculation accuracy is low. According to one embodiment of the present invention, the range of the insulation resistance calculation value is 0 to 4Mohm, and the switching period of the first voltage sampling mode can be set to more than 10s; the switching period of the second voltage sampling mode is not less than the time T when the voltage can be sampled stably (i.e., △U / △T<△U2 / △T, △U2 is a calibration value); the switching period of the third voltage sampling mode can be set to less than 1s.
[0101] In more detail, since the insulation detection reporting cycle of the traditional bridge method is as long as 1min to 3min, the traditional bridge method cannot monitor the insulation resistance before the vehicle is powered on due to customer experience and the need for rapid power-on of the entire vehicle. The insulation detection method provided in the embodiment of the present invention can perform active insulation rapid reporting and monitor the insulation resistance of the entire vehicle, thereby realizing insulation monitoring before the entire vehicle is powered on. The specific control strategy is as follows:
[0102] First, the waiting time based on circuit response is cancelled and voltage sampling is performed directly; that is, before the vehicle is powered on, the insulation detection is performed when the main negative relay Kn is closed and the main positive relay (Kp) is still in the disconnected state;
[0103] Secondly, when the sampling voltage change rate of △U / △T is less than the calibration value, the voltage data is sampled directly; Figure 5 As shown, △U1 / △T>△U2 / △T, when △U / △T<△U2 / △T, sampling starts; wherein △U2 is used to represent the stable value of the sampling voltage waveform, which can be set to a calibration value, that is, sampling starts when the sampling voltage is less than U2;
[0104] Understandably, Figure 5 The angle of the middle slope can represent the size of △U / △T, that is, the smaller the angle, the more stable the voltage is, which meets the sampling requirements; the larger the angle, the faster the voltage changes, which is not conducive to sampling.
[0105] Finally, the insulation resistance of the high-voltage busbar to ground is calculated according to the voltage data sampling result.
[0106] Since the switching cycle of the insulation detection relay is shorter, that is, the switching frequency of the first relay S1 and the second relay S2 is faster, the sampling voltage peak is sharper and the voltage accuracy is worse; conversely, the slower the switching frequency of the first relay S1 and the second relay S2, the more stable the sampling voltage; the switching frequency of the first relay S1 and the second relay S2 can be set to about 1 second, then the entire sampling cycle can be completed within 5 seconds and the insulation resistance of the whole vehicle can be reported, which is relatively fast and can avoid causing customer complaints.
[0107] In addition, if Figure 8 As shown in the figure, under dynamic conditions, if a sudden acceleration condition occurs, the bus voltage will change rapidly and cause fluctuations, thereby affecting the insulation detection accuracy and possibly causing false alarms. At this time, in order to increase the sampling voltage accuracy, the vehicle can be controlled to enter the slow voltage sampling mode, that is, the switching period is increased from 1s to 5s to 10s (or other calibrated values of more than 10s), so as to ensure the accuracy of insulation detection.
[0108] Optionally, calculating the insulation resistance of the high-voltage bus to ground according to the voltage data includes:
[0109] When the first voltage is greater than the second voltage, the resistance value of the second insulation resistor Rn in the high-voltage bus-to-ground insulation resistance is calculated according to a first functional relationship among the first voltage, the second voltage, the third voltage, and the first resistor R0; otherwise, the resistance value of the first insulation resistor Rp in the high-voltage bus-to-ground insulation resistance is calculated according to a second functional relationship among the first voltage, the second voltage, the fourth voltage, and the second resistor R0';
[0110] The first resistor R0 is connected in parallel with the first insulation resistor Rp, and the second resistor R0 ′ is connected in parallel with the second insulation resistor Rn.
[0111] The insulation detection method provided by one embodiment of the present invention is based on the insulation calculation sampling voltage waveform of the adaptive function, and its sampling timing is different from the traditional bridge method insulation detection, such as Figure 4 As shown:
[0112] The insulation detection method needs to collect 4 voltage values, namely, a first voltage V1, a second voltage V2, a third voltage V1Ln and a fourth voltage V2Ln; wherein, the first voltage V1 and the third voltage V1Ln respectively represent the sampling voltage of the positive pole of the power supply to the ground under different conditions, and the second voltage V2 and the fourth voltage V2Ln respectively represent the sampling voltage of the negative pole of the power supply to the ground under different conditions; here, different conditions refer to different opening and closing states of the first relay S1 and the second relay S2.
[0113] Specifically, the sampling timing of the insulation detection method is as follows:
[0114] First, the first relay S1 and the second relay S2 are closed simultaneously, and after a first preset time, the first voltage V1 and the second voltage V2 are collected;
[0115] Secondly, the second relay S2 is disconnected, and after a second preset time, the third voltage V1Ln is collected;
[0116] Again, the second relay S2 is closed and the first relay S1 is opened, and after the second preset time, the fourth voltage V2Ln is collected;
[0117] Finally, the magnitude relationship between the first voltage V1 and the second voltage V2 is compared:
[0118] If the first voltage V1 is greater than the second voltage V2, it means that the resistance of the first insulation resistor Rp is greater than the resistance of the second insulation resistor Rn; if the second voltage V2 is greater than the first voltage V1, it means that the resistance of the second insulation resistor Rn is greater than the resistance of the first insulation resistor Rp.
[0119] It can be understood that the insulation performance of the vehicle is determined by the smaller of the two resistances in the insulation resistance of the high-voltage bus to the ground. Therefore, when calculating the insulation resistance of the high-voltage bus to the ground based on the collected voltage data, we can only calculate the smaller one of the first insulation resistance (Rp) and the second insulation resistance (Rn); that is, when the first voltage is greater than the second voltage, the resistance value of the second insulation resistance Rn in the insulation resistance of the high-voltage bus to the ground can be calculated based on the first functional relationship between the first voltage, the second voltage and the third voltage:
[0120] The first functional relationship is:
[0121] Otherwise, the resistance value of the first insulation resistance Rp in the high-voltage busbar-to-ground insulation resistance may be calculated according to a second functional relationship among the first voltage, the second voltage, and the fourth voltage:
[0122] The second functional relationship is:
[0123] Wherein, Rn represents the resistance value of the second insulation resistor Rn; Rp represents the resistance value of the first insulation resistor Rp; R0 represents the resistance value of the first resistor R0; R0′ represents the resistance value of the second resistor R0′; V1 represents the first voltage; V2 represents the second voltage; V 1ln Represents the third voltage; V 2ln represents a fourth voltage.
[0124] It can be seen from the above that a complete voltage data sampling can be completed after each first preset time and two second preset times; that is, the sampling period is the sum of the first preset time and the two second preset times.
[0125] Optionally, the insulation detection method further includes:
[0126] Reporting the resistance values of the first insulation resistor Rp and the second insulation resistor Rn at every preset reporting period;
[0127] The preset reporting period is an integer multiple of the sum of the first preset time and two of the second preset times.
[0128] It should be noted that the preset reporting period (i.e., the vehicle's insulation resistance reporting period) can be calculated and output after N sampling periods, where N is a calibration value; that is, the first preset time and the second preset time can be calibrated and set according to the specific vehicle, and can also be set according to the specific situation to perform insulation calculation and report the vehicle's entire insulation resistance (i.e., the resistance values of the first insulation resistance Rp and the second insulation resistance Rn) based on the sampled voltage data after a certain number of sampling periods.
[0129] By using the above-mentioned insulation resistance reporting cycles of different layers, false insulation reports can be prevented.
[0130] Optionally, the insulation detection method further includes:
[0131] The preset reporting period is adjusted according to the resistance values of the first insulation resistor Rp and the second insulation resistor Rn.
[0132] Optionally, adjusting the preset reporting period according to the resistance values of the first insulation resistor Rp and the second insulation resistor Rn includes:
[0133] When the resistance of any one of the first insulation resistor Rp and the second insulation resistor Rn is less than or equal to the first preset resistance, adjusting the preset reporting period to the first reporting period;
[0134] When the resistance values of the first insulation resistor Rp and the second insulation resistor Rn are both greater than the first preset resistance value, adjusting the preset reporting period to a second reporting period;
[0135] The first reporting period is smaller than the second reporting period.
[0136] It can be understood that if any one of the first insulation resistance Rp and the second insulation resistance Rn calculated by detection is small, the risk of insulation failure of the vehicle is large, and the preset reporting period can be adjusted to a shorter time interval; and when both the first insulation resistance Rp and the second insulation resistance Rn are large, the risk of insulation failure of the vehicle in a short period of time is small, so the preset reporting period can be adjusted to a longer time interval; wherein, the first preset resistance value, the first reporting period and the second reporting period can be calibrated according to the specific situation of the vehicle. According to one embodiment of the present invention, the first preset resistance value can be set to 500ohm / V, the first reporting period can be set to 30s, and the second reporting period can be set to 1min.
[0137] Through the above method, in order to address the situation where insulation failures are prone to occur during dynamic driving and charging and cause customer complaints, a strategy of increasing the switching cycle of the insulation detection relay or adjusting the vehicle's insulation resistance reporting cycle (i.e., the preset reporting cycle) is adopted to improve the stability of the sampled voltage data, thereby preventing the occurrence of false alarms.
[0138] In addition, the insulation detection method provided in one embodiment of the present invention can also monitor the intermediate state of insulation aging. When the resistance of any one of the first insulation resistance Rp and the second insulation resistance Rn is less than the insulation aging threshold, the user is prompted that the battery pack of the vehicle has insulation aging; wherein the insulation aging threshold is a calibrated value, for example, it can be set to 1150Kohm.
[0139] Optionally, the insulation detection method further includes:
[0140] Monitor the bus voltage change amplitude, and when the bus voltage change amplitude is greater than the voltage threshold, stop reporting the resistance values of the first insulation resistor Rp and the second insulation resistor Rn.
[0141] In other words, the peak voltage can be filtered out through voltage filtering. When the bus voltage changes too much, insulation function detection is not performed and reporting is stopped.
[0142] Optionally, the insulation detection method further includes:
[0143] When the resistance of any one of the first insulation resistor Rp and the second insulation resistor Rn is less than the second preset resistance, an insulation fault is reported.
[0144] It should be noted that in fault mode, vehicle charging or high voltage may be prohibited.
[0145] It should also be noted that if an insulation fault is detected before the vehicle is powered on, the user may be prompted to manually cycle the power on and off several times to try to eliminate the fault; if the fault cannot be eliminated after the attempt and lasts for more than 5 minutes, the insulation fault will be reported, prompting the user that the vehicle needs maintenance.
[0146] The process of insulation control method is as follows Fig. 9 As shown, the vehicle switches between three insulation control strategies (i.e., fast voltage sampling mode, slow voltage sampling mode, and adaptive voltage sampling mode) according to different vehicle operating conditions (such as power-on condition, charging condition, static and low-speed condition, and high-speed dynamic condition, etc.); the insulation control method has been tested on a real vehicle, and can take into account the advantages of both the passive bridge method and the active signal method for insulation detection, and has the stability of the bridge method and the rapidity of the active insulation detection method.
[0147] like Fig. 9 As shown, it is a flow chart of the insulation detection method provided by an embodiment of the present invention:
[0148] S901: Start;
[0149] S902: When the vehicle is powered on and the main negative relay Kn is closed, execute S903;
[0150] S903: Control the vehicle to enter a fast voltage sampling mode (ie, a third voltage sampling mode), and calculate the resistance value of the first insulation resistor Rp or the second insulation resistor Rn by collecting voltage data;
[0151] S904: Determine whether there is an insulation fault according to the calculation result in S903; if yes, execute S905; if no, execute S906;
[0152] S905: Report insulation fault, and prompt the customer to try to power on again to eliminate the fault;
[0153] S906: After closing the main positive relay Kp, the vehicle is powered on, and then S907 is executed;
[0154] S907: Read the vehicle mode of the vehicle; when the vehicle mode is driving mode, execute S908; when the vehicle mode is charging mode, execute S911;
[0155] S908: When the vehicle mode is the driving mode, determine whether the vehicle speed is greater than a preset speed or the acceleration is greater than a preset acceleration; if yes, execute S909; if no, execute S910;
[0156] S909: Control the vehicle to enter a slow voltage sampling mode (ie, a first voltage sampling mode), and calculate the resistance value of the first insulation resistor Rp or the second insulation resistor Rn by collecting voltage data;
[0157] S910: Control the vehicle to enter an adaptive voltage sampling mode (ie, a second voltage sampling mode), and calculate the resistance value of the first insulation resistor Rp or the second insulation resistor Rn by collecting voltage data;
[0158] S911: When the vehicle mode is the charging mode, the main positive relay Kp is disconnected and S909 is executed;
[0159] S912: Determine whether there is an insulation fault; if yes, execute S913; if no, execute S907;
[0160] S913: Report insulation fault.
[0161] In the embodiment of the present invention, different voltage sampling strategies are adopted for different scenarios of the vehicle, so that insulation faults can be reported quickly; the anti-interference capability of the vehicle insulation detection function is enhanced, the accuracy of the insulation resistance calculation of the whole vehicle is improved, the reporting time is fast, false alarms can be prevented, and the customer experience is improved.
[0162] like Fig.10 As shown, an embodiment of the present invention further provides an insulation detection device, which is applied to an insulation detection circuit of a vehicle, wherein the insulation detection circuit includes a main positive relay Kp, a main negative relay Kn and a high-voltage bus-to-ground insulation resistance connected to a power supply of the vehicle, and also includes an insulation detection relay and a voltage-dividing resistor for insulation detection. The insulation detection device includes:
[0163] The mode selection module 101 is used to control the vehicle to enter a corresponding sampling mode according to the working condition of the vehicle; wherein the corresponding sampling mode is different for different working conditions;
[0164] The control processing module 102 is used to control the insulation detection relay to periodically close and open according to the sampling mode, and collect voltage data; wherein the voltage data includes a sampling voltage of the positive electrode of the power supply to the ground and a sampling voltage of the negative electrode of the power supply to the ground;
[0165] The insulation calculation module 103 calculates the insulation resistance of the high-voltage bus to the ground according to the voltage data.
[0166] It should be noted that the main positive relay Kp and the main negative relay Kn are respectively the positive relay and the negative relay of the vehicle power battery system, and both operate according to the power-on timing requirements of the vehicle. The embodiment of the present invention adopts different sampling modes for different working conditions of the vehicle, so that the vehicle insulation resistance (i.e., the insulation resistance of the high-voltage bus to the ground) can be calculated more timely and accurately.
[0167] Optionally, the mode selection module 101 includes:
[0168] The first control submodule is used to control the vehicle to enter the first voltage sampling mode if the vehicle speed is greater than a preset speed or the acceleration is greater than a preset acceleration when the vehicle mode is the driving mode; otherwise, control the vehicle to enter the second voltage sampling mode;
[0169] The second control submodule is used to control the vehicle to enter the first voltage sampling mode when the vehicle mode is the charging mode, the main negative relay Kn is closed and the main positive relay Kp is disconnected.
[0170] It should be noted that after closing the main positive relay Kp, the vehicle is powered on; at this time, the vehicle mode and vehicle status are used to select which mode the vehicle is controlled to enter.
[0171] Optionally, the control processing module 102 includes:
[0172] A third control submodule, used for controlling the first relay S1 and the second relay S2 in the insulation detection relay to close;
[0173] A first processing submodule, configured to collect a voltage of a first resistor R0 in the voltage-dividing resistor as a first voltage, collect a voltage of a second resistor R0' in the voltage-dividing resistor as a second voltage, and control the second relay S2 to be disconnected after the first relay S1 and the second relay S2 are closed for a first preset time;
[0174] A second processing submodule, configured to collect the voltage of the first resistor R0 as a third voltage after the second relay S2 is disconnected for a second preset time, and control the second relay S2 to be closed and the first relay S1 to be disconnected;
[0175] A third processing submodule, configured to collect a voltage of the second resistor R0' as a fourth voltage after the second relay S2 is closed and the first relay S1 is opened for the second preset time;
[0176] The fourth control submodule is used to repeatedly execute:
[0177] Controlling the first relay S1 and the second relay S2 in the insulation detection relay to close;
[0178] After the first relay S1 and the second relay S2 are closed for a first preset time, the voltage of the first resistor R0 in the voltage-dividing resistor is collected as the first voltage, the voltage of the second resistor R0' in the voltage-dividing resistor is collected as the second voltage, and the second relay S2 is controlled to be disconnected;
[0179] After the second relay S2 is disconnected for a second preset time, collecting the voltage of the first resistor R0 as the third voltage, and controlling the second relay S2 to be closed and the first relay S1 to be disconnected;
[0180] After the second relay S2 is closed and the first relay S1 is opened for the second preset time, collecting the voltage of the second resistor R0' as a fourth voltage;
[0181] The sum of the first preset time and the second preset time is the switching period of the insulation detection relay, and the switching periods of different sampling modes are different.
[0182] Optionally, the mode selection module 101 includes:
[0183] The fifth control submodule is used to control the vehicle to enter the third voltage sampling mode when the main negative relay Kn is powered on and closed;
[0184] The sixth control submodule is used to control the vehicle to enter the first voltage sampling mode or the second voltage sampling mode according to the vehicle mode and vehicle status after the main positive relay Kp is closed and the vehicle is powered on;
[0185] The switching period of the first voltage sampling mode is greater than the switching period of the second voltage sampling mode, and the switching period of the second voltage sampling mode is greater than the switching period of the third voltage sampling mode.
[0186] Optionally, the insulation calculation module 103 includes:
[0187] an insulation calculation submodule, for calculating the resistance value of the second insulation resistor Rn in the insulation resistance of the high-voltage bus to ground according to a first functional relationship among the first voltage, the second voltage, the third voltage and the first resistor R0 when the first voltage is greater than the second voltage; otherwise, calculating the resistance value of the first insulation resistor Rp in the insulation resistance of the high-voltage bus to ground according to a second functional relationship among the first voltage, the second voltage, the fourth voltage and the second resistor R0';
[0188] The first resistor R0 is connected in parallel with the first insulation resistor Rp, and the second resistor R0 ′ is connected in parallel with the second insulation resistor Rn.
[0189] It can be understood that the insulation performance of the vehicle is determined by the smaller of the two resistances in the insulation resistance of the high-voltage bus to the ground. Therefore, when calculating the insulation resistance of the high-voltage bus to the ground based on the collected voltage data, we can only calculate the smaller one of the first insulation resistance (Rp) and the second insulation resistance (Rn); that is, when the first voltage is greater than the second voltage, the resistance value of the second insulation resistance Rn in the insulation resistance of the high-voltage bus to the ground can be calculated based on the first functional relationship between the first voltage, the second voltage and the third voltage:
[0190] The first functional relationship is:
[0191] Otherwise, the resistance value of the first insulation resistance Rp in the high-voltage busbar-to-ground insulation resistance may be calculated according to a second functional relationship among the first voltage, the second voltage, and the fourth voltage:
[0192] The second functional relationship is:
[0193] Wherein, Rn represents the resistance value of the second insulation resistor Rn; Rp represents the resistance value of the first insulation resistor Rp; R0 represents the resistance value of the first resistor R0; R0′ represents the resistance value of the second resistor R0′; V1 represents the first voltage; V2 represents the second voltage; V 1ln Represents the third voltage; V 2ln represents a fourth voltage.
[0194] It can be seen from the above that a complete voltage data sampling can be completed after each first preset time and two second preset times; that is, the sampling period is the sum of the first preset time and the two second preset times.
[0195] Optionally, the insulation detection device further includes:
[0196] An insulation reporting module, used for reporting the resistance values of the first insulation resistor Rp and the second insulation resistor Rn at every preset reporting period;
[0197] The preset reporting period is an integer multiple of the sum of the first preset time and two of the second preset times.
[0198] It should be noted that the preset reporting period (i.e., the vehicle's insulation resistance reporting period) can be calculated and output after N sampling periods, where N is a calibration value; that is, the first preset time and the second preset time can be calibrated and set according to the specific vehicle, and can also be set according to the specific situation to calculate the insulation and report the vehicle's entire insulation resistance (i.e., the resistance values of the first insulation resistance Rp and the second insulation resistance Rn) after a certain number of sampling periods based on the sampled voltage data.
[0199] By using the above-mentioned insulation resistance reporting cycles of different layers, false insulation reports can be prevented.
[0200] Optionally, the insulation detection device further includes:
[0201] The cycle adjustment module is used to adjust the preset reporting cycle according to the resistance values of the first insulation resistor Rp and the second insulation resistor Rn.
[0202] Optionally, the period adjustment module includes:
[0203] A first adjustment submodule, configured to adjust the preset reporting period to a first reporting period when the resistance of any one of the first insulation resistor Rp and the second insulation resistor Rn is less than or equal to a first preset resistance;
[0204] A second adjustment submodule, configured to adjust the preset reporting period to a second reporting period when the resistance values of the first insulation resistor Rp and the second insulation resistor Rn are both greater than the first preset resistance value;
[0205] The first reporting period is smaller than the second reporting period.
[0206] It can be understood that if any one of the first insulation resistance Rp and the second insulation resistance Rn calculated by detection is small, the risk of insulation failure of the vehicle is large, and the preset reporting period can be adjusted to a shorter time interval; and when both the first insulation resistance Rp and the second insulation resistance Rn are large, the risk of insulation failure of the vehicle in a short period of time is small, so the preset reporting period can be adjusted to a longer time interval; wherein, the first preset resistance value, the first reporting period and the second reporting period can be calibrated according to the specific situation of the vehicle. According to one embodiment of the present invention, the first preset resistance value can be set to 500ohm / V, the first reporting period can be set to 30s, and the second reporting period can be set to 1min.
[0207] Optionally, the insulation detection device further includes:
[0208] The voltage monitoring module is used to monitor the bus voltage change amplitude, and when the bus voltage change amplitude is greater than the voltage threshold, stop reporting the resistance values of the first insulation resistor Rp and the second insulation resistor Rn.
[0209] In other words, the peak voltage can be filtered out through voltage filtering. When the bus voltage changes too much, insulation function detection is not performed and reporting is stopped.
[0210] Optionally, the insulation detection device further includes:
[0211] The fault reporting module is used to report an insulation fault when the resistance of any one of the first insulation resistor Rp and the second insulation resistor Rn is less than a second preset resistance.
[0212] It should be noted that in fault mode, vehicle charging or high voltage may be prohibited.
[0213] It should also be noted that if an insulation fault is detected before the vehicle is powered on, the user may be prompted to manually cycle the power on and off several times to try to eliminate the fault; if the fault cannot be eliminated after the attempt and lasts for more than 5 minutes, the insulation fault will be reported, prompting the user that the vehicle needs maintenance.
[0214] In the embodiment of the present invention, different voltage sampling strategies are adopted for different scenarios of the vehicle, so that insulation faults can be reported quickly; the anti-interference capability of the vehicle insulation detection function is enhanced, the accuracy of the insulation resistance calculation of the whole vehicle is improved, the reporting time is fast, false alarms can be prevented, and the customer experience is improved.
[0215] An embodiment of the present invention further provides a control device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the insulation detection method as described above is implemented.
[0216] An embodiment of the present invention further provides a car, comprising the insulation detection device as described above.
[0217] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles described in the present invention. These improvements and modifications are also within the scope of protection of the present invention.
Claims
1. An insulation detection method, applied to an insulation detection circuit of a vehicle, wherein the insulation detection circuit comprises a main positive relay (Kp), a main negative relay (Kn) and a high-voltage busbar-to-ground insulation resistance connected to a power supply of the vehicle, and further comprises an insulation detection relay and a voltage-dividing resistor for insulation detection, characterized in that: The insulation detection method comprises: According to the working condition of the vehicle, the vehicle is controlled to enter a corresponding sampling mode; wherein the working condition is different, and the corresponding sampling mode is different; Controlling the insulation detection relay to periodically close and open according to the sampling mode, and collecting voltage data; wherein the voltage data includes a sampling voltage of the positive pole of the power supply to the ground and a sampling voltage of the negative pole of the power supply to the ground; Calculating the insulation resistance of the high-voltage busbar to ground according to the voltage data; Wherein, controlling the vehicle to enter a corresponding sampling mode according to the working condition of the vehicle includes: When the vehicle mode is the driving mode, if the vehicle speed is greater than the preset speed or the acceleration is greater than the preset acceleration, the vehicle is controlled to enter the first voltage sampling mode; otherwise, the vehicle is controlled to enter the second voltage sampling mode, the switching period of the first voltage sampling mode is greater than the switching period of the second voltage sampling mode, the first voltage sampling mode is a slow voltage sampling mode, and the second voltage sampling mode is an adaptive voltage sampling mode; When the vehicle mode is the charging mode, the main negative relay (Kn) is closed and the main positive relay (Kp) is disconnected, the vehicle is controlled to enter the first voltage sampling mode; The step of controlling the insulation detection relay to periodically close and open according to the sampling mode and collecting voltage data includes: Controlling a first relay (S1) and a second relay (S2) in the insulation detection relay to close; After the first relay (S1) and the second relay (S2) are closed for a first preset time, the voltage of the first resistor (R0) in the voltage-dividing resistor is collected as the first voltage, the voltage of the second resistor (R0') in the voltage-dividing resistor is collected as the second voltage, and the second relay (S2) is controlled to be disconnected; After the second relay (S2) is disconnected for a second preset time, collecting the voltage of the first resistor (R0) as a third voltage, and controlling the second relay (S2) to be closed and the first relay (S1) to be disconnected; After the second relay (S2) is closed and the first relay (S1) is opened for the second preset time, collecting the voltage of the second resistor (R0') as a fourth voltage; Repeating the step of controlling the first relay (S1) and the second relay (S2) in the insulation detection relay to close, until the step of collecting the voltage of the second resistor (R0') as the fourth voltage after the second relay (S2) is closed and the first relay (S1) is disconnected for the second preset time; The sum of the first preset time and the second preset time is the switching period of the insulation detection relay, and the switching periods of different sampling modes are different.
2. The insulation detection method according to claim 1, characterized in that: According to the working condition of the vehicle, controlling the vehicle to enter a corresponding sampling mode includes: When the vehicle is powered on and the main negative relay (Kn) is closed, the vehicle is controlled to enter the third voltage sampling mode; After closing the main positive relay (Kp), the vehicle is powered on, and the vehicle is controlled to enter the first voltage sampling mode or the second voltage sampling mode according to the vehicle mode and vehicle status; Wherein, the switching period of the second voltage sampling mode is greater than the switching period of the third voltage sampling mode.
3. The insulation detection method according to claim 1, characterized in that: The step of calculating the insulation resistance of the high-voltage busbar to ground according to the voltage data comprises: When the first voltage is greater than the second voltage, the resistance value of the second insulation resistance (Rn) in the insulation resistance of the high-voltage bus to the ground is calculated according to a first functional relationship among the first voltage, the second voltage, the third voltage and the first resistor (R0); otherwise, the resistance value of the first insulation resistance (Rp) in the insulation resistance of the high-voltage bus to the ground is calculated according to a second functional relationship among the first voltage, the second voltage, the fourth voltage and the second resistor (R0'); The first resistor (R0) is connected in parallel with the first insulation resistor (Rp), and the second resistor (R0') is connected in parallel with the second insulation resistor (Rn).
4. The insulation detection method according to claim 3, characterized in that: The insulation detection method further comprises: Reporting the resistance values of the first insulation resistor (Rp) and the second insulation resistor (Rn) at every preset reporting period; The preset reporting period is an integer multiple of the sum of the first preset time and two of the second preset times.
5. The insulation detection method according to claim 4, characterized in that: The insulation detection method further comprises: The preset reporting period is adjusted according to the resistance values of the first insulation resistor (Rp) and the second insulation resistor (Rn).
6. The insulation detection method according to claim 5, characterized in that: The adjusting the preset reporting period according to the resistance values of the first insulation resistor (Rp) and the second insulation resistor (Rn) includes: When the resistance of any one of the first insulation resistance (Rp) and the second insulation resistance (Rn) is less than or equal to a first preset resistance, adjusting the preset reporting period to a first reporting period; When the resistance values of the first insulation resistor (Rp) and the second insulation resistor (Rn) are both greater than the first preset resistance value, adjusting the preset reporting period to a second reporting period; The first reporting period is smaller than the second reporting period.
7. The insulation detection method according to claim 4, characterized in that: The insulation detection method further comprises: Monitor the bus voltage change amplitude, and when the bus voltage change amplitude is greater than a voltage threshold, stop reporting the resistance values of the first insulation resistor (Rp) and the second insulation resistor (Rn).
8. The insulation detection method according to claim 4, characterized in that: The insulation detection method further comprises: When the resistance of any one of the first insulation resistor (Rp) and the second insulation resistor (Rn) is less than a second preset resistance, an insulation fault is reported.
9. An insulation detection device, applied to an insulation detection circuit of a vehicle, the insulation detection circuit comprising a main positive relay (Kp), a main negative relay (Kn) and a high-voltage busbar-to-ground insulation resistance connected to a power supply of the vehicle, and also comprising an insulation detection relay and a voltage-dividing resistor for insulation detection, characterized in that: The insulation detection device comprises: A mode selection module, used to control the vehicle to enter a corresponding sampling mode according to the working condition of the vehicle; wherein the corresponding sampling mode is different for different working conditions; A control processing module, used to control the insulation detection relay to periodically close and open according to the sampling mode, and collect voltage data; wherein the voltage data includes a sampling voltage of the positive electrode of the power supply to the ground and a sampling voltage of the negative electrode of the power supply to the ground; An insulation calculation module, for calculating the insulation resistance of the high-voltage busbar to ground according to the voltage data; Wherein, the mode selection module includes: A first control submodule is used for controlling the vehicle to enter a first voltage sampling mode when the vehicle mode is a driving mode, if the vehicle speed is greater than a preset speed or the acceleration is greater than a preset acceleration; otherwise, controlling the vehicle to enter a second voltage sampling mode, the switching period of the first voltage sampling mode is greater than the switching period of the second voltage sampling mode, the first voltage sampling mode is a slow voltage sampling mode, and the second voltage sampling mode is an adaptive voltage sampling mode; A second control submodule is used to control the vehicle to enter a first voltage sampling mode when the vehicle mode is a charging mode, the main negative relay (Kn) is closed and the main positive relay (Kp) is disconnected; Wherein, the control processing module includes: A third control submodule, used for controlling the first relay (S1) and the second relay (S2) in the insulation detection relay to close; a first processing submodule, configured to collect a voltage of a first resistor (R0) in the voltage-dividing resistor as a first voltage, collect a voltage of a second resistor (R0') in the voltage-dividing resistor as a second voltage, and control the second relay (S2) to be disconnected after the first relay (S1) and the second relay (S2) are closed for a first preset time; a second processing submodule, configured to collect the voltage of the first resistor (R0) as a third voltage after the second relay (S2) is disconnected for a second preset time, and control the second relay (S2) to be closed and the first relay (S1) to be disconnected; a third processing submodule, configured to collect the voltage of the second resistor (R0') as a fourth voltage after the second relay (S2) is closed and the first relay (S1) is opened for the second preset time; The fourth control submodule is used to repeatedly execute: Controlling a first relay (S1) and a second relay (S2) in the insulation detection relay to close; After the first relay (S1) and the second relay (S2) are closed for a first preset time, the voltage of the first resistor (R0) in the voltage-dividing resistor is collected as the first voltage, the voltage of the second resistor (R0') in the voltage-dividing resistor is collected as the second voltage, and the second relay (S2) is controlled to be disconnected; After the second relay (S2) is disconnected for a second preset time, collecting the voltage of the first resistor (R0) as a third voltage, and controlling the second relay (S2) to be closed and the first relay (S1) to be disconnected; After the second relay (S2) is closed and the first relay (S1) is opened for the second preset time, collecting the voltage of the second resistor (R0') as a fourth voltage; The sum of the first preset time and the second preset time is the switching period of the insulation detection relay, and the switching periods of different sampling modes are different.
10. A control device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that: When the processor executes the program, the insulation detection method according to any one of claims 1 to 8 is implemented.
11. A car, characterized in that: Comprising the insulation detection device as claimed in claim 9.
