Current sensor diagnosis method, device, vehicle and storage medium

By obtaining the voltage difference and precharge resistance value when the vehicle is powered on at high voltage to determine the detection current value, and comparing the current value collected by the current sensor, the problem of current sensor diagnosis is solved, and the effectiveness of the current sensor and the safety of the vehicle are improved.

CN112462315BActive Publication Date: 2024-10-18CHINA FAW CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011337896.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-25
Publication Date
2024-10-18
Estimated Expiration
2040-11-25

AI Technical Summary

Technical Problem

It is difficult to diagnose the validity of the output value of the current sensor with the existing technology, resulting in potential safety hazards for vehicle use.

Method used

By obtaining the voltage difference between the battery voltage and the capacitor voltage in the precharge high-voltage circuit when the vehicle is powered on at high voltage, and combining the precharge resistance value to determine the detection current value, the sampling current value collected by the current sensor is compared with the detection current value to determine Current sensor status.

Benefits of technology

The effectiveness of the current sensor value is improved, the safety of vehicle use is enhanced, and the hidden danger of failure is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112462315B_ABST
    Figure CN112462315B_ABST
Patent Text Reader

Abstract

The present invention discloses a current sensor diagnosis method, device, vehicle and storage medium, wherein the method comprises: obtaining the voltage difference between the battery voltage and the capacitor voltage in the pre-charged high-voltage circuit when the whole vehicle is powered on at high voltage; determining the detection current value by the voltage difference and the pre-charge resistor value in the pre-charged high-voltage circuit; and comparing the sampled current value collected by the current sensor with the detection current value to determine the state of the current sensor. In the embodiment of the present invention, the detection current value of the detection current sensor is determined by the voltage difference value of the pre-charged high-voltage circuit and the pre-charge resistor value, thereby realizing the current value validity diagnosis of the current sensor, improving the accuracy of the current collection of the current sensor in the vehicle, and enhancing the driving safety of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of automatic control technology, and in particular to a current sensor diagnosis method, device, vehicle and storage medium. Background Art

[0002] With the development of new energy vehicles, more and more devices in vehicles use current, so current sensors that detect current have become an important factor in ensuring vehicle safety. Current sensors can be divided into Hall current sensors and shunt sensors according to the sampling principle. Among them, Hall current sensors use the Hall principle to sample the voltage value induced by current, and shunt sensors use the voltage difference generated by a resistor with a known resistance value to sample.

[0003] At present, the diagnosis methods of current sensors generally include zero drift fault detection, short circuit to ground fault detection and short circuit to power supply fault detection. For example, when the high-voltage circuit is disconnected, the actual current is 0A. If the current value collected by the current sensor exceeds a certain threshold compared with 0A, it is considered that the current sensor has a zero drift fault; when the voltage value returned by the current sensor is constant at 0V, it is considered that the current sensor has a short circuit to ground fault; when the voltage value returned by the current sensor is constant at the output voltage, it is considered that the current sensor has a short circuit to power supply fault. However, it is difficult for existing diagnostic methods to diagnose the validity of the output value of the current sensor itself. Summary of the invention

[0004] The present invention provides a current sensor diagnosis method, device, vehicle and storage medium to achieve fault diagnosis of the current sensor, improve the validity of the circuit sensor value in the vehicle, and improve the safety of vehicle use.

[0005] In a first aspect, an embodiment of the present invention provides a current sensor diagnosis method, the method comprising:

[0006] When the vehicle is powered on at high voltage, the voltage difference between the battery voltage and the capacitor voltage in the pre-charged high voltage circuit is obtained;

[0007] Determine the detection current value by the voltage difference and the pre-charge resistor value in the pre-charge high voltage circuit;

[0008] The sampled current value collected by the current sensor is compared with the detected current value to determine the state of the current sensor.

[0009] In a second aspect, an embodiment of the present invention provides a device, the device comprising:

[0010] The voltage difference module is used to obtain the voltage difference between the battery voltage and the capacitor voltage in the pre-charged high-voltage circuit when the vehicle is powered on at high voltage;

[0011] A current determination module, used to determine a detection current value according to the voltage difference and a pre-charge resistor in the pre-charge high voltage circuit;

[0012] The diagnosis execution module is used to compare the sampled current value collected by the current sensor with the detection current value to determine the state of the current sensor.

[0013] In a third aspect, an embodiment of the present invention provides a vehicle, the vehicle comprising:

[0014] one or more controllers;

[0015] a memory for storing one or more programs,

[0016] When the one or more programs are executed by the one or more controllers, the one or more processors implement the current sensor diagnosis method as described in any one of the embodiments of the present invention;

[0017] The pre-charging high-voltage circuit includes at least one pre-charging resistor, a battery and a capacitor, and is used to limit the power-on current of the entire vehicle to prevent damage to the vehicle circuit.

[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a controller, implements a current sensor diagnostic method as described in any one of the embodiments of the present invention.

[0019] The embodiment of the present invention obtains the voltage difference between the battery voltage and the capacitor voltage of the pre-charged high-voltage circuit when the whole vehicle is powered on at high voltage, determines the detection current value by the voltage difference and the pre-charge resistor value, and compares the detection current value with the collected current value collected by the current sensor to diagnose whether the current value of the current sensor is correct, thereby improving the effectiveness of the current sensor value and improving the safety of vehicle use. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a flow chart of a current sensor diagnosis method provided by Embodiment 1 of the present invention;

[0021] Figure 2 is a structural schematic diagram of a pre-charging high voltage circuit provided in Embodiment 1 of the present invention;

[0022] Figure 3 is a flow chart of a current sensor diagnosis method provided by Embodiment 2 of the present invention;

[0023] Figure 4 This is a schematic diagram of energy flow during vehicle driving provided by Embodiment 2 of the present invention;

[0024] Figure 5This is a schematic diagram of energy flow during a vehicle charging process provided by Embodiment 2 of the present invention;

[0025] Figure 6 is a structural schematic diagram of a current sensor diagnosis method provided by Embodiment 3 of the present invention;

[0026] Figure 7 It is a structural schematic diagram of a vehicle provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0027] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention are shown in the accompanying drawings, rather than all structures. In addition, the embodiments of the present invention and the features in the embodiments may be combined with each other without conflict.

[0028] Embodiment 1

[0029] Figure 1 is a flow chart of a current sensor diagnostic method provided by Embodiment 1 of the present invention. The embodiment of the present invention can be applied to diagnosing the current sensor in a vehicle. The method can be executed by a current sensor diagnostic device, which can be implemented by software and / or hardware methods. Figure 1 , the method specifically comprises the following steps:

[0030] Step 110: When the vehicle is powered on at high voltage, a voltage difference between a battery voltage and a capacitor voltage in a pre-charged high voltage circuit is obtained.

[0031] In an embodiment of the present invention, the vehicle may be a vehicle including a current sensor. When the vehicle is working, the current sensor disposed inside the vehicle may collect current. The vehicle may be provided with a pre-charged high-voltage circuit. Figure 2 is a schematic diagram of a pre-charging high voltage circuit provided in Embodiment 1 of the present invention, see Figure 2 The pre-charge high-voltage circuit may include a pre-charge relay, a pre-charge resistor, a main positive relay, a main negative relay, a battery and a capacitor. After the main negative relay and the pre-charge relay are closed, the battery, the pre-charge resistor and the capacitor may form a first-order RC circuit.

[0032] Specifically, when the vehicle is powered on at high voltage, the main negative relay and the pre-charge relay in the pre-charge voltage circuit are closed, and the voltage value at the battery in the pre-charge high voltage circuit can be measured as the battery voltage and the voltage value at the capacitor can be measured as the capacitor voltage. The difference between the measured battery voltage and the capacitor voltage can be used as the voltage difference.

[0033] Step 120: Determine the detection current value according to the voltage difference and the resistance value of the pre-charge resistor in the pre-charge high voltage circuit.

[0034] The resistance value of the pre-charging resistor may be the resistance value of the pre-charging resistor in the pre-charging high voltage circuit, and the resistance value is a fixed value and can be obtained in advance.

[0035] In the embodiment of the present invention, the voltage difference between the capacitor voltage and the battery voltage in the pre-charge high-voltage circuit may be associated with the pre-charge resistance value, and the associated relationship may represent the instantaneous current value I of the pre-charge high-voltage circuit when it is closed. 0 =△U / R, where I 0 It can be an instantaneous current value, △U can be a voltage difference, R can be a pre-charge resistance value, the voltage difference and the pre-charge resistance value can be substituted into the correlation relationship to obtain the instantaneous current value, and the instantaneous current value can be used as the detection current value. It can be understood that since the correlation relationship in the pre-charge high-voltage circuit is a physical relationship, the obtained detection current value can truly reflect the current in the pre-charge high-voltage circuit, and can be used to diagnose the effectiveness of the current sensor value.

[0036] Step 130: Compare the sampled current value collected by the current sensor with the detected current value to determine the state of the current sensor.

[0037] The sampled current value may be a current value collected by a current sensor in the vehicle.

[0038] Specifically, the sampled current value collected by the current sensor can be obtained after the pre-charging high-voltage current is closed, and the sampled current value can be compared with the detection current value. If the sampled current value is different from the detection current value, it can be determined that the current sensor is in a fault state and the corresponding sampled current value is invalid. If the sampled current value is the same as the detection current value, it can be determined that the current sensor is in a normal state and the corresponding sampled current value is valid.

[0039] The embodiment of the present invention obtains the voltage difference between the battery voltage and the capacitor voltage in the pre-charging high-voltage circuit during the high-voltage power-on process of the whole vehicle, determines the detection current value in the pre-charging high-voltage circuit based on the pre-charging resistor and the above-mentioned voltage difference, and compares the collected current value and the detection current value of the current sensor to determine the current sensor state, thereby realizing the diagnosis of the numerical validity of the current sensor, improving the comprehensiveness of the current sensor diagnosis, and reducing the safety hazards of vehicle use.

[0040] Embodiment 2

[0041] Figure 3 is a flow chart of a current sensor diagnostic method provided by Embodiment 2 of the present invention. This embodiment of the present invention is a specific implementation of the above-mentioned embodiment of the invention. Figure 3The method provided in the embodiment of the present invention specifically includes the following steps:

[0042] Step 210: During the process of high-voltage power-on of the entire vehicle, control the target relay in the pre-charge high-voltage circuit to close to form a first-order resistor-capacitor circuit.

[0043] The target relay may be a control device for controlling the closing of the pre-charged high-voltage circuit, and the target relay may include one or more relays, such as a pre-charge relay and a main negative relay in the pre-charged high-voltage circuit. The first-order resistor-capacitor circuit may be a circuit composed of a resistor and a capacitor connected in series, and the first-order resistor-capacitor may include a pre-charge resistor and a capacitor.

[0044] In the embodiment of the present invention, when the high voltage of the whole vehicle is controlled to be powered on, the pre-charged high voltage circuit can be controlled to be closed by the controller in the whole vehicle. At this time, the battery, capacitor, pre-charge resistor, capacitor and other devices in the whole vehicle circuit can constitute a typical first-order resistor-capacitor circuit. The capacitor voltage Uc=Ub*(1-e -τt ), there is a battery current Ib=I 0 *e -τt , where time constant τ = 1 / RC, I 0 can be the closing moment t 0 The current value at the moment is I0 = △U / R. △U is the difference between the battery voltage Ub and the capacitor voltage Uc.

[0045] Step 220: respectively measure the battery voltage and the capacitor voltage in the first-order resistor-capacitor circuit, and determine the voltage difference between the battery voltage and the capacitor voltage.

[0046] In the embodiment of the present invention, the voltage value on both sides of the battery in the first-order resistor-capacitor circuit can be measured as the battery voltage and the voltage value on both sides of the capacitor can be measured as the capacitor voltage, and the difference between the battery voltage and the capacitor voltage can be measured as the voltage difference.

[0047] Step 230: determine the detection current value according to the voltage difference and the resistance value of the pre-charge resistor in the pre-charge high voltage circuit.

[0048] Step 240: taking the maximum current value collected by the current sensor within the preset closing time of the target relay as the sampled current value.

[0049] Specifically, since the relay has an action time of about 30ms and the current sensor has a sampling delay, the maximum value of the current values ​​collected within a period of time when the target relay is closed can be used as the sampled current value, which can reduce the impact of the current sensor acquisition error on the current sensor numerical validity diagnosis.

[0050] Step 250: Compare the sampled current value with the detected current value to determine the current difference.

[0051] Specifically, a difference operation may be performed between the sampled current value and the detected current value, and the operation result may be used as the battery difference value.

[0052] Step 260: If the current difference is greater than the diagnostic current threshold, it is determined that the current sensor is in a fault state; otherwise, it is determined that the current sensor is in a normal state.

[0053] In an embodiment of the present invention, the current difference can be compared with the diagnostic current threshold. When the calculation result is greater than the current threshold, it can be considered that the sampled current value is not equal to the detection current value, and the current sensor is in a fault state; when the calculation result is less than or equal to the diagnostic current threshold, it can be considered that the sampled current value is equal to the detection current value, and the current sensor is in a normal state, wherein the diagnostic current threshold can be an extremely small value close to zero, which can be set based on the current size of the vehicle circuit.

[0054] Step 270: diagnose the current sensor status by sampling the battery power corresponding to the current value.

[0055] The battery power may be the output power of the battery, and the current power may be determined by sampling the current value.

[0056] In an embodiment of the present invention, the battery power corresponding to the battery can be determined by sampling the current value and the battery voltage, and it can be judged whether the battery power determined by the current sensor meets the requirements of the whole vehicle power. If the battery power meets the requirements of the whole vehicle power, it is further judged that the current sensor is in a normal state. If the battery power does not meet the requirements of the whole vehicle power, it is further judged that the current sensor is in a fault state.

[0057] The embodiment of the present invention controls the pre-charge high-voltage circuit to form a first-order resistor-capacitor circuit during the high-voltage power-on process of the whole vehicle, measures the voltages at both ends of the battery and the capacitor respectively and determines the voltage difference, determines the detection current value by the voltage difference and the resistance value of the pre-charge resistor, uses the maximum current value collected within the preset closing time of the target relay as the sampling current value, determines the current difference between the detection current value and the sampling current value, and when the current difference is greater than the diagnostic current threshold, the current sensor is in a fault state and the sampling current value is invalid, otherwise, the current sensor is in a normal state and the current value is valid, and further determines the battery power by the sampling current value to determine whether the current sensor is in a fault state, thereby realizing the numerical validity diagnosis of the current sensor, improving the reliability of the current sensor, and reducing the safety hazards of the whole vehicle.

[0058] Further, based on the above-mentioned embodiment of the invention, the diagnosing the state of the current sensor by the battery power corresponding to the sampled current value includes:

[0059] The product of the sampled current value and the battery voltage is taken as the battery power; when it is determined that the vehicle is in a driving state, the motor power and the vehicle load power are obtained; if the battery power is not equal to the sum of the battery power and the vehicle load power, it is determined that the circuit sensor is faulty.

[0060] In an embodiment of the present invention, the product of the sampled current value and the battery voltage can be used as the battery power, wherein the battery voltage can be measured in advance. Since the vehicle power can be different in different states, the vehicle state can be judged first. When the vehicle is in a driving state, the battery power output by the battery can be the maximum power of the vehicle, and the motor power and the vehicle load power can be obtained. If the sum of the motor power and the vehicle fault power is not equal to the battery power, it is determined that the sampled current value collected by the current sensor is invalid, and the current sensor is faulty. It can be understood that the motor power can be the power to drive the vehicle, and the vehicle load power can be the total power of loads such as air conditioners, decorative lights, and audio lights in the vehicle.

[0061] In an exemplary embodiment, Figure 4 This is a schematic diagram of energy flow during vehicle driving provided by Embodiment 2 of the present invention. Figure 4 When the vehicle is started, the battery power in the vehicle is equal to the sum of the motor power and other load powers. The sum of the motor power and other load powers, as well as the battery current It and the battery voltage Ut can be obtained. If |It*Ut-(motor power+other load power)|>P1 is detected, the current sensor fault can be determined, where P1 can be a value close to zero.

[0062] Further, based on the above-mentioned embodiment of the invention, the diagnosing the state of the current sensor by the battery power corresponding to the sampled current value includes:

[0063] The product of the sampled current value and the battery voltage is taken as the battery power; when it is determined that the vehicle is in a charging state, the charger power and the vehicle load power are obtained; if the charger power is not equal to the sum of the battery power and the vehicle load power, it is determined that the circuit sensor is faulty.

[0064] In the embodiment of the present invention, the product of the sampled current value and the battery voltage can be used as the battery power, wherein the battery voltage can be measured in advance. Since the vehicle power can be different in different states, the vehicle state can be judged first. When the vehicle is in a charging state, the charger power can be the sum of the battery power and the vehicle load power. The battery power can be determined by the product of the sampled current value and the battery voltage. If the sum of the battery power and the vehicle load power is not equal to the charger power, it can be determined that the current sensor is faulty.

[0065] In an exemplary embodiment, Figure 5This is a schematic diagram of energy flow during vehicle charging provided by the second embodiment of the present invention, see Figure 5 , when the vehicle is charging, there is a formula: charger power = battery power + sum of other load powers. Obtain the sum of charger power and other load powers, battery current It, and battery voltage Ut. If |It*Ut-(charger power-other load power)|>P2 is detected, the current sensor fault can be determined, where P2 can be a value close to zero. It can be understood that the vehicle driving state and the vehicle charging process can be comprehensively considered to detect the current sensor. For example, when the vehicle is in the driving state, when the current sensor fault is preliminarily determined, trigger condition 1 can be recorded and saved in a non-volatile memory. If it does not occur after N power-on cycles, the historical record is cleared. Correspondingly, when the vehicle is in the charging state, when the current sensor fault is preliminarily determined, trigger condition 2 can be recorded and saved in a non-volatile memory. If it does not occur after N power-on cycles, the historical record is cleared. When trigger condition 1 and trigger condition 2 are stored at the same time, the final determination of the current sensor fault can be made.

[0066] Furthermore, based on the above-mentioned embodiments of the invention, at least one of the motor power, charger power and vehicle load power is obtained through vehicle bus communication.

[0067] In the embodiment of the present invention, the motor power, the charger power and the vehicle load power can be obtained through the vehicle bus communication.

[0068] Embodiment 3

[0069] Figure 6 3 is a schematic diagram of a current sensor diagnostic method provided by the third embodiment of the present invention, which can execute the current sensor diagnostic method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. The device can be implemented by software and / or hardware, and specifically includes: a voltage difference module 310, a current determination module 320 and a diagnosis execution module 330.

[0070] The voltage difference module 310 is used to obtain the voltage difference between the battery voltage and the capacitor voltage in the pre-charged high-voltage circuit when the vehicle is powered on at high voltage.

[0071] The current determination module 320 is used to determine the detection current value according to the voltage difference and the resistance value of the pre-charge resistor in the pre-charge high voltage circuit.

[0072] The diagnosis execution module 330 is used to compare the sampled current value collected by the current sensor with the detection current value to determine the state of the current sensor.

[0073] In the embodiment of the present invention, the voltage difference between the battery voltage and the capacitor voltage of the pre-charged high-voltage circuit is obtained through the voltage difference module when the whole vehicle is powered on at high voltage. The current determination module determines the detection current value according to the voltage difference and the pre-charge resistor value. The diagnosis execution module compares the detection current value with the collected current value collected by the current sensor to diagnose whether the current value of the current sensor is correct, thereby improving the effectiveness of the current sensor value and improving the safety of vehicle use.

[0074] Further, based on the above-mentioned embodiment of the invention, the voltage difference module 310 includes:

[0075] The circuit control unit is used to control the target relay in the pre-charged high-voltage circuit to close to form a first-order resistor-capacitor circuit during the high-voltage power-on process of the whole vehicle.

[0076] The voltage difference unit is used to measure the battery voltage and the capacitor voltage in the first-order resistor-capacitor circuit respectively, and determine the voltage difference between the battery voltage and the capacitor voltage.

[0077] Further, based on the above-mentioned embodiment of the invention, the diagnosis execution module 330 includes:

[0078] The current sampling unit is used to use the maximum current value collected by the current sensor within the preset closing time of the target relay as the sampled current value.

[0079] The difference determination unit is used to compare the sampled current value with the detected current value to determine the current difference.

[0080] The state determination unit is used to determine that the current sensor is in a fault state if the current difference is greater than a diagnostic current threshold, and otherwise, determine that the current sensor is in a normal state.

[0081] Furthermore, based on the above-mentioned embodiments of the invention, the present invention further includes:

[0082] The redundant diagnosis unit is used to diagnose the state of the current sensor according to the battery power corresponding to the sampled current value.

[0083] Furthermore, based on the above-mentioned embodiments of the invention, the redundant diagnostic unit includes: a driving diagnostic subunit, used to take the product of the sampled current value and the battery voltage as the battery power; when it is determined that the whole vehicle is in a driving state, the motor power and the vehicle load power are obtained; if the battery power is not equal to the sum of the motor power and the vehicle load power, it is determined that the current sensor is faulty.

[0084] Furthermore, based on the above-mentioned embodiments of the invention, the redundant diagnostic unit also includes: taking the product of the sampled current value and the battery voltage as the battery power; when determining that the whole vehicle is in a charging state, obtaining the charger power and the vehicle load power; if the charger power is not equal to the sum of the battery power and the vehicle load power, determining that the current sensor is faulty.

[0085] Furthermore, based on the above-mentioned embodiments of the invention, at least one of the motor power, charger power and vehicle load power is obtained through vehicle bus communication.

[0086] Embodiment 4

[0087] Figure 7 is a schematic diagram of the structure of a vehicle provided by the fourth embodiment of the present invention, such as Figure 7 As shown, the vehicle includes a processor 70, a memory 71, an input device 72 and an output device 73; the number of processors 70 in the vehicle can be one or more. Figure 7 A processor 70 is taken as an example; the processor 70, the memory 71, the input device 72 and the output device 73 in the vehicle can be connected by a bus or other means. Figure 7 The example of connecting through bus is taken in the following.

[0088] The memory 71 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the current sensor diagnostic method in the embodiment of the present invention (for example, the voltage difference module 310, the current determination module 320 and the diagnosis execution module 330 in the current sensor diagnostic device). The processor 70 executes various functional applications and data processing of the vehicle by running the software programs, instructions and modules stored in the memory 71, that is, realizing the above-mentioned current sensor diagnostic method.

[0089] The memory 71 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 71 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some examples, the memory 71 may further include a memory remotely arranged relative to the processor 70, and these remote memories may be connected to the vehicle via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0090] The input device 72 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the vehicle. The output device 73 may include a display device such as a display screen.

[0091] The pre-charging high-voltage circuit 74 includes at least one pre-charging resistor 741, a battery 742 and a capacitor 743, and is used to limit the power-on current of the entire vehicle to prevent damage to the vehicle circuit.

[0092] Embodiment 5

[0093] Embodiment 5 of the present invention further provides a storage medium including computer executable instructions, wherein the computer executable instructions are used to execute a current sensor diagnosis method when executed by a computer processor, the method comprising:

[0094] When the vehicle is powered on at high voltage, the voltage difference between the battery voltage and the capacitor voltage in the pre-charged high voltage circuit is obtained;

[0095] Determine the detection current value by the voltage difference and the pre-charge resistor value in the pre-charge high voltage circuit;

[0096] The sampled current value collected by the current sensor is compared with the detected current value to determine the state of the current sensor.

[0097] Of course, the computer executable instructions of a storage medium containing computer executable instructions provided in an embodiment of the present invention are not limited to the method operations described above, and can also execute related operations in the current sensor diagnosis method provided in any embodiment of the present invention.

[0098] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0099] It is worth noting that in the embodiment of the above-mentioned current sensor diagnostic device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0100] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A current sensor diagnostic method, characterized in that: The method comprises: When the vehicle is powered on at high voltage, the voltage difference between the battery voltage and the capacitor voltage in the pre-charged high voltage circuit is obtained; Determine the detection current value by the voltage difference and the pre-charge resistor value in the pre-charge high voltage circuit; Comparing the sampled current value collected by the current sensor with the detected current value to determine the state of the current sensor; The method further comprises: diagnosing the state of the current sensor according to the battery power corresponding to the sampled current value; The step of obtaining the voltage difference between the battery voltage and the capacitor voltage in the pre-charged high-voltage circuit when the vehicle is powered on at high voltage includes: During the process of high-voltage power-on of the whole vehicle, controlling the target relay in the pre-charge high-voltage circuit to close to form a first-order resistor-capacitor circuit; Respectively measuring a battery voltage and a capacitor voltage in the first-order resistor-capacitor circuit, and determining a voltage difference between the battery voltage and the capacitor voltage; The sampling current value collected by the current sensor is compared with the detection current value to determine the state of the current sensor, including: The maximum current value collected by the current sensor within the preset closing time of the target relay is used as the sampled current value; Comparing the sampled current value with the detected current value to determine a current difference; If the current difference is greater than the diagnostic current threshold, the current sensor is determined to be in a fault state; otherwise, the current sensor is determined to be in a normal state; The diagnosing the current sensor state by the battery power corresponding to the sampled current value includes: The product of the sampled current value and the battery voltage is taken as the battery power; When determining that the vehicle is in a driving state, obtaining the motor power and the vehicle load power; If the battery power is not equal to the sum of the motor power and the vehicle load power, it is determined that the current sensor is faulty; When determining that the vehicle is in a charging state, obtaining the charger power and the vehicle load power; If the charger power is not equal to the sum of the battery power and the vehicle load power, it is determined that the current sensor is faulty.

2. The current sensor diagnosis method according to claim 1, characterized in that: At least one of the motor power, charger power and vehicle load power is obtained through vehicle bus communication.

3. A current sensor diagnostic device, characterized in that: Used to execute the current sensor diagnosis method according to any one of claims 1-2, the device comprises: The voltage difference module is used to obtain the voltage difference between the battery voltage and the capacitor voltage in the pre-charged high-voltage circuit when the vehicle is powered on at high voltage; A current determination module, used to determine a detection current value according to the voltage difference and a pre-charge resistor in the pre-charge high voltage circuit; A diagnosis execution module, used for comparing a sampled current value collected by a current sensor with the detection current value to determine a state of the current sensor; The voltage difference module further includes: a redundant diagnosis unit, configured to diagnose the current sensor state through the battery power corresponding to the sampled current value; The driving diagnosis subunit is used to use the product of the sampled current value and the battery voltage as the battery power; when it is determined that the whole vehicle is in a driving state, obtain the motor power and the vehicle load power; if the battery power is not equal to the sum of the motor power and the vehicle load power, determine that the current sensor is faulty; use the product of the sampled current value and the battery voltage as the battery power; when it is determined that the whole vehicle is in a charging state, obtain the charger power and the vehicle load power; if the charger power is not equal to the sum of the battery power and the vehicle load power, determine that the current sensor is faulty.

4. A vehicle, characterized in that: The vehicle comprises: one or more controllers; a memory for storing one or more programs, When the one or more programs are executed by the one or more controllers, the one or more processors implement the current sensor diagnosis method as described in any one of claims 1-2; The pre-charging high-voltage circuit includes at least one pre-charging resistor, a battery and a capacitor, and is used to limit the power-on current of the entire vehicle to prevent damage to the vehicle circuit.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the controller, the current sensor diagnosis method as described in any one of claims 1-2 is implemented.

Citation Information

Patent Citations

  • Method for checking proper method of operation of current sensor

    CN103180749A