Disclosure of Invention
In order to solve the problem that the flexibility of fault detection of a vehicle in the prior art is low, the embodiment of the invention provides a fault detection and maintenance method and device of the vehicle and a storage medium. The technical scheme is as follows:
in a first aspect, a method for fault detection and repair of a vehicle is provided, the method comprising:
when the vehicle is not started, receiving a preset awakening instruction;
awakening the control module according to the awakening instruction;
based on the awakened control module, carrying out fault detection on the vehicle to obtain detection information;
judging whether fault information exists in the detection information or not according to the detection information;
and when fault information exists in the detection information, maintaining the fault corresponding to the fault information.
Optionally, the receiving a preset wake-up instruction includes:
receiving a wake-up instruction sent by a mobile terminal outside a vehicle;
or when the vehicle is charged by the vehicle-mounted charger, receiving a wake-up instruction triggered by the vehicle-mounted charger;
or periodically receiving a wake-up command sent by a timer of the vehicle.
Optionally, the control module is a VCU of the vehicle control unit, and the waking up of the control module according to the wake-up instruction includes:
activating a minimum control system of the vehicle according to the wake-up instruction so that the minimum control system can work normally, wherein the minimum control system comprises: the VCU, the DC converter DCDC, the motor controller MCU and the power management controller BMS.
Optionally, the awakened control module performs fault detection on the vehicle to obtain detection information, where the fault detection includes:
and based on the awakened control module, carrying out fault detection on the storage battery, the battery pack and the motor of the vehicle to obtain detection information.
Optionally, after the fault corresponding to the fault information is repaired, the method further includes:
acquiring maintenance information;
and sending the detection information, the fault information and the maintenance information to a mobile terminal located outside the vehicle.
In a second aspect, there is provided a failure detection and repair apparatus for a vehicle, the apparatus comprising: a control module;
the control module is used for receiving a preset awakening instruction when the vehicle is not started;
the control module is also used for waking up the control module according to the wake-up instruction;
the control module is also used for carrying out fault detection on the vehicle based on the awakened control module to obtain detection information;
the control module is further used for judging whether fault information exists in the detection information according to the detection information;
and the control module is also used for maintaining the fault corresponding to the fault information when the fault information exists in the detection information.
Optionally, the control module is further configured to receive a wake-up instruction sent by a mobile terminal located outside the vehicle;
or when the vehicle is charged by the vehicle-mounted charger, receiving a wake-up instruction triggered by the vehicle-mounted charger;
or periodically receiving a wake-up command sent by a timer of the vehicle.
Optionally, the control module is a vehicle control unit VCU,
the control module is further configured to activate a minimum control system of the vehicle according to the wake-up instruction, so that the minimum control system can work normally, where the minimum control system includes: the VCU, the DC converter DCDC, the motor controller MCU and the power management controller BMS.
Optionally, the control module is further configured to obtain maintenance information;
and sending the detection information, the fault information and the maintenance information to a mobile terminal located outside the vehicle.
In a third aspect, a storage medium is provided having instructions that, when executed by a control module of a vehicle, enable the control module to perform a method of fault detection and repair of the vehicle, the method comprising:
when the vehicle is not started, receiving a preset awakening instruction;
awakening the control module according to the awakening instruction;
based on the awakened control module, carrying out fault detection on the vehicle to obtain detection information;
judging whether fault information exists in the detection information or not according to the detection information;
and when fault information exists in the detection information, maintaining the fault corresponding to the fault information.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a fault detection and maintenance method, a fault detection and maintenance device and a storage medium of a vehicle, wherein a preset awakening instruction is received when the vehicle is not started; the control module is awakened according to the awakening instruction; based on the awakened control module, carrying out fault detection on the vehicle to obtain detection information, and according to the detection information; judging whether fault information exists in the detection information or not; when fault information exists in the detection information, the fault corresponding to the fault information is maintained, so that when the vehicle is not started, the fault detection can be performed on the vehicle in advance, when the vehicle has the fault, the corresponding maintenance can be performed on the fault, the flexibility of the fault detection of the vehicle is improved, and the driving experience of a driver is better.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
An embodiment of the present invention provides a method for detecting and maintaining a fault of a vehicle, as shown in fig. 1, fig. 1 is a flowchart of the method for detecting and maintaining a fault of a vehicle according to the embodiment of the present invention, where the method for detecting and maintaining a fault of a vehicle may include:
step 101, receiving a preset awakening instruction when the vehicle is not started.
And 102, awakening the control module according to the awakening instruction.
And 103, carrying out fault detection on the vehicle based on the awakened control module to obtain detection information.
And step 104, judging whether fault information exists in the detection information or not according to the detection information.
And 105, when the fault information exists in the detection information, maintaining the fault corresponding to the fault information.
In summary, in the fault detection and maintenance method for the vehicle provided by the embodiment of the invention, when the vehicle is not started, the preset wake-up instruction is received; the control module is awakened according to the awakening instruction; based on the awakened control module, carrying out fault detection on the vehicle to obtain detection information, and according to the detection information; judging whether fault information exists in the detection information or not; when fault information exists in the detection information, the fault corresponding to the fault information is maintained, so that the vehicle can be subjected to fault detection in advance when not started, and when the vehicle has the fault, the fault can be maintained correspondingly, so that the flexibility of the fault detection of the vehicle is improved.
Referring to fig. 2-1, fig. 2-1 is a flowchart of another method for detecting and maintaining a fault of a vehicle according to an embodiment of the present invention, where the method for detecting and maintaining a fault of a vehicle may include:
step 201, when the vehicle is not started, receiving a preset wake-up instruction.
The vehicle is not started, which means that the vehicle is in an idle state or in a charging state, the idle state refers to a state (such as a sleep state or a power-off state) in which each module in the vehicle does not work, and the charging state refers to a state in which an external power source charges the vehicle.
In practical application, please refer to fig. 2-2, where fig. 2-2 is a block diagram of a vehicle according to an embodiment of the present invention, the vehicle may include: the Battery pack comprises a vehicle-mounted terminal 01, a control module 03, a vehicle-mounted charger 04, a timer 05, a power management controller (English: Battery management system; BMS for short) and a Battery pack A. The battery pack A is formed by connecting a plurality of sub-batteries in series, and the BMS can detect parameters such as voltage of each sub-battery.
When the vehicle is not started, there are various realizable manners for receiving the preset wake-up instruction, and the embodiment of the present invention is schematically described by taking the following three realizable manners as examples:
in a first implementation manner, the vehicle-mounted terminal 01 of the vehicle may establish a wireless connection with the mobile terminal 02 located outside the vehicle in advance through a mobile network, where the vehicle-mounted terminal 01 may be a driving computer or a smart terminal establishing a connection with the mobile terminal, and the mobile terminal 02 may be a smart phone, a computer, a wearable device, and the like of the driver of the vehicle. When the vehicle is not started, the vehicle-mounted terminal 01 of the vehicle may receive the wake-up command sent by the mobile terminal 02, and the vehicle-mounted terminal 01 may send the received wake-up command to the control module 03 of the vehicle.
In a second implementation manner, when the external power source charges the vehicle, the current output by the external power source charges the vehicle through the vehicle-mounted charger 04, and the vehicle-mounted charger 04 can provide the parameters of the battery pack a through the BMS to automatically adjust the charging current and the charging voltage, so that the battery pack a can automatically complete the charging process. When the vehicle is charged by the vehicle-mounted charger 04, the vehicle-mounted charger 04 may further trigger the wake-up instruction, and send the triggered wake-up instruction to the control module 03 of the vehicle.
In a third implementation, when the vehicle is not started, the timer 05 of the vehicle may periodically issue a wake-up command to the control module 03. For example, the sending period of the wake-up instruction may be 24 hours, the timer 05 may continuously detect a duration after the timer 05 sends the wake-up instruction last time when the vehicle is in the idle state, determine whether the duration is equal to 24 hours by using a first determining module 031 in the control module 03, and if the duration is equal to 24 hours, send the wake-up instruction to the control module 03 by the timer 05; if the duration is not equal to the duration of the 24-hour timer 05, the duration of the timer 05 after the last wake-up command is sent is continuously detected. It should be noted that, in fig. 2-2, the example that the timer 05 and the first determining module 031 are both disposed in the control module 03 is schematically illustrated, in practical applications, the timer 05 may also be disposed outside the control module 03, and the first determining module 031 may also be disposed in the timer 05, which is not described in detail herein in this embodiment of the present invention.
And 202, activating a minimum control system of the vehicle according to the awakening instruction so that the minimum control system can work normally.
Optionally, as shown in fig. 2-2, the control module 03 may be a Vehicle Control Unit (VCU), and the Vehicle may further include: a minimum control system 06, the minimum control system 06 may include: the VCU, the DCDC, the MCU and the BMS CAN carry out command interaction through a Control Area Network (CAN) bus. It should be noted that the vehicle can be inspected and repaired while the minimum system 06 is operating properly.
In practical applications, as shown in fig. 2-2, when the vehicle is not started, the control module 03 of the vehicle may receive different control commands, which may include: a wake-up command or another control command, for example, the another control command may be a command for controlling the air conditioner to be turned on, so when the control module 03 receives the control command, it needs to determine whether the control command is the wake-up command by the second determining module 032, and if the control command is the wake-up command, the minimum control system 06 of the vehicle is activated by the activating module 033 in the VCU; if the control command is not the wake-up command, the control module 03 of the vehicle performs other control actions, for example, when the control command is a command for controlling the air conditioner to be turned on, the control module 03 controls the air conditioner of the vehicle to be turned on.
And step 203, carrying out fault detection on the vehicle based on the awakened control module to obtain detection information.
In the embodiment of the present invention, when the vehicle is detected in step 203, a plurality of components of the vehicle may be detected, and a parameter of each component may be obtained. As shown in fig. 2-2, the plurality of components may include: the battery B, the battery pack A and the motor M of the vehicle are detected, for example, different detection modes are required to detect different parts of the vehicle, and the embodiment of the invention is schematically illustrated in the following three aspects:
in the first aspect, when detecting the battery B, the intelligent management module 034 in the VCU sends a detection instruction to the battery B, the battery B can detect its own voltage according to the detection instruction, at this time, the detection information may be a voltage value of the battery B, and the battery B may feed back the detection information to the intelligent management module 034.
In a second aspect, when detecting the battery pack a, the intelligent management module 034 in the VCU sends a detection instruction to the BMS, the BMS can detect the voltage and temperature of each sub-battery in the battery pack a according to the detection instruction, the detection information at this time can be the voltage value and temperature value of each sub-battery in the battery pack a, and the BMS can feed back the detection information to the intelligent management module 034.
In the third aspect, when detecting the motor M, the intelligent management module 034 in the VCU sends a detection instruction to the MCU, the MCU can detect the temperature of the motor M according to the detection instruction, at this time, the detection information can be the temperature value of the motor M, and the MCU can feed back the detection information to the intelligent management module 034 through the MCU.
And step 204, judging whether fault information exists in the detection information or not according to the detection information.
Illustratively, when there is failure information in the detection information, step 205 is executed; when there is no failure information in the detection information, step 207 is executed.
In the embodiment of the present invention, as shown in fig. 2-2, after the vehicle is detected and the detection information is obtained, the detection information can be fed back to the intelligent management module 034 in the VCU, and whether fault information exists in the detection information can be determined by the intelligent management module 034. For example, since different parts of the vehicle need to be detected, the manner of determining whether the fault information exists in the detection information is also different, and the embodiment of the present invention is schematically illustrated in the following three aspects:
on the first hand, when the detection information is the voltage value of the storage battery B, the intelligent management module 034 may determine whether the detected voltage value of the storage battery B is smaller than the normal operating voltage value of the storage battery B, and when the detected voltage value of the storage battery B is smaller than the normal operating voltage value of the storage battery B, determine that there is fault information in the detection information; when it is detected that the voltage value of the battery B is not less than the normal operating voltage value of the storage battery B, it is determined that there is no failure information in the detection information.
In a second aspect, when the detection information is the voltage value and the temperature value of each sub-battery in the battery pack a, the intelligent management module 034 may determine whether the detected voltage value of each sub-battery is smaller than the normal operating voltage value of the sub-battery, and determine whether the detected temperature value of each sub-battery matches the normal operating temperature value of the sub-battery, and when the detected voltage value of any sub-battery is smaller than the normal operating voltage value of the sub-battery, or the detected temperature value of any sub-battery does not match the normal operating temperature value of the sub-battery, determine that there is fault information in the detection information; and when the voltage value of each sub-battery is detected to be not smaller than the normal working voltage value of the sub-battery and the temperature value of each sub-battery is detected to be matched with the normal working temperature value of the sub-battery, determining that no fault information exists in the detection information.
In a third aspect, when the detection information is the temperature of the motor M, the intelligent management module 034 may determine whether the detected temperature value of the motor M matches the normal operating temperature value of the motor M, and when the detected temperature value of the motor M does not match the normal operating temperature value of the motor M, determine that the fault information exists in the detection information; and when the temperature of the motor M is matched with the normal working temperature value of the motor M, determining that no fault information exists in the detection information.
And step 205, maintaining the fault corresponding to the fault information.
In the embodiment of the present invention, as shown in fig. 2-2, when there is fault information in the detection information, a fault corresponding to the fault information may be repaired by the minimum control system 06.
As an example, since a fault existing in a vehicle is different, and therefore, a way of repairing the fault is also different, the embodiment of the present invention is schematically illustrated in the following four aspects:
on the first hand, when the fault corresponding to the fault information is the fault that the voltage value of the storage battery B is smaller than the normal working voltage value of the storage battery B, the intelligent management module 034 can send a maintenance signal to the BMS, so that the BMS can control the battery pack a to charge the storage battery B, and in the process that the battery pack a charges the storage battery B, the high-voltage alternating current output by the battery pack a is charged to the storage battery B after being converted into low-voltage direct current through the DCDC, so that the voltage value of the storage battery B is recovered to be normal.
In a second aspect, when the fault corresponding to the fault information is a fault in which the voltage value of any sub-battery in the battery pack a is smaller than the normal operating voltage value of the sub-battery, the intelligent management module 034 may send a maintenance signal to the BMS, so that the BMS may control the sub-battery with the normal voltage in the battery pack a to charge the sub-battery, and the voltage value of the sub-battery is recovered to be normal.
In a third aspect, when the fault corresponding to the fault information is a fault that the temperature value of any sub-battery in the battery pack a is not matched with the normal operating voltage value of the sub-battery, the intelligent management module 034 may send a maintenance signal to the BMS, so that the BMS may control the disconnection of any sub-battery, thereby ensuring that other sub-batteries of the battery pack a can normally operate.
In a fourth aspect, when the fault corresponding to the fault information is a fault in which the temperature value of the motor M is not matched with the temperature value of the normal operation of the motor M, if the temperature value of the motor M is greater than the temperature value of the normal operation of the motor M, the intelligent management module 034 may control the cold water pump of the vehicle to operate, so that the temperature of the motor M is reduced; if the temperature value of the motor M is smaller than the temperature value of the normal work of the motor M, the intelligent management module 034 can control the hot water pump of the vehicle to work, so that the temperature of the motor M is increased, and the normal work of the motor M is further ensured.
It should be noted that, in the embodiment of the present invention, only when the temperature of the motor M is not matched with the temperature of the motor M during normal operation, corresponding maintenance is performed on the motor M for schematic illustration, in practical applications, other faults may occur in the motor, and a maintenance signal may be sent to the MCU, so that the self-repairing function of the motor M is started, and the fault occurring in the motor M is repaired.
And step 206, obtaining maintenance information.
Optionally, the repair information may include repair success information and repair failure information. For example, as shown in fig. 2-2, after the fault corresponding to the fault information is repaired, the vehicle may be subjected to fault detection again to obtain new detection information, and when the fault information does not exist in the new detection information, the intelligent management module 034 may generate the repair success information; when there is still fault information in the new detection information, the intelligent management module 034 may generate maintenance failure information.
Step 207, sending detection information, fault information and maintenance information to the mobile terminal located outside the vehicle.
For example, as shown in fig. 2-2, the smart management module 034 may transmit detection information, failure information, and maintenance information to the in-vehicle terminal 01, and the in-vehicle terminal 01 may transmit the detection information, the failure information, and the maintenance information to the mobile terminal 02 located outside the vehicle.
In practical application, when no fault information exists in the detection information, the intelligent management module 034 may generate an identifier indicating that no fault exists in the vehicle, where the identifier indicating that no fault exists in the vehicle is used to prompt a driver that no fault exists in the vehicle, send the identifier and the detection information to the vehicle-mounted terminal 01, and send the identifier and the detection information to the mobile terminal 01 through the vehicle-mounted terminal 02.
When the detection information contains fault information and the fault maintenance corresponding to the fault information is successful, the intelligent management module 034 may generate maintenance success information, and send the detection information, the fault information and the maintenance success information to the vehicle-mounted terminal 01, and then send the detection information, the fault information and the maintenance success information to the mobile terminal 01 through the vehicle-mounted terminal 02.
When fault information exists in the detection information and fault maintenance corresponding to the fault information fails, the intelligent management module 034 can generate maintenance failure information and an identifier for manual maintenance, the identifier for manual prompt is used for prompting a driver to manually maintain the fault of the vehicle, and the identifier, the detection information, the fault information and the maintenance failure information are sent to the vehicle-mounted terminal 02 and then sent to the mobile terminal 01 through the vehicle-mounted terminal 02, and at the moment, a maintenance person can manually maintain the corresponding fault in the maintenance failure information.
It should be noted that, the sequence of the steps of the method for detecting and maintaining a fault of a vehicle according to the embodiment of the present invention may be appropriately adjusted, and the steps may be increased or decreased according to the circumstances.
In summary, in the fault detection and maintenance method for the vehicle provided by the embodiment of the invention, when the vehicle is not started, the preset wake-up instruction is received; the control module is awakened according to the awakening instruction; based on the awakened control module, carrying out fault detection on the vehicle to obtain detection information, and according to the detection information; judging whether fault information exists in the detection information or not; when fault information exists in the detection information, the fault corresponding to the fault information is maintained, so that when the vehicle is not started, the fault detection can be performed on the vehicle in advance, when the vehicle has the fault, the corresponding maintenance can be performed on the fault, the flexibility of the fault detection of the vehicle is improved, and the driving experience of a driver is better.
The embodiment of the invention also provides a fault detection and maintenance device of a vehicle, which comprises: and a control module.
The control module is used for receiving a preset awakening instruction when the vehicle is not started.
The control module is also used for waking up the control module according to the wake-up instruction.
The control module is also used for carrying out fault detection on the vehicle based on the awakened control module to obtain detection information.
The control module is further used for judging whether fault information exists in the detection information or not according to the detection information.
The control module is further used for maintaining the fault corresponding to the fault information when the fault information exists in the detection information.
In summary, the fault detection and maintenance device for the vehicle provided in the embodiment of the present invention receives the preset wake-up command when the vehicle is not started; the control module is awakened according to the awakening instruction; based on the awakened control module, carrying out fault detection on the vehicle to obtain detection information, and according to the detection information; judging whether fault information exists in the detection information or not; when fault information exists in the detection information, the fault corresponding to the fault information is maintained, so that the vehicle can be subjected to fault detection in advance when not started, and when the vehicle has the fault, the fault can be maintained correspondingly, so that the flexibility of the fault detection of the vehicle is improved.
Optionally, the control module is further configured to receive a wake-up instruction sent by a mobile terminal located outside the vehicle; or when the vehicle is charged by the vehicle-mounted charger, receiving an awakening instruction triggered by the vehicle-mounted charger; or periodically receiving a wake-up command sent by a timer of the vehicle.
Optionally, the control module is a vehicle control unit VCU, and the control module is further configured to activate a minimum control system of the vehicle according to the wake-up instruction, so that the minimum control system can normally operate, where the minimum control system includes: VCU, direct current converter DCDC, motor controller MCU and power management controller BMS.
Optionally, the control module is further configured to perform fault detection on a storage battery, a battery pack, and a motor of the vehicle based on the awakened control module, so as to obtain detection information.
Optionally, the control module is further configured to obtain maintenance information; and sending the detection information, the fault information and the maintenance information to a mobile terminal positioned outside the vehicle.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
In summary, the fault detection and maintenance device for the vehicle provided in the embodiment of the present invention receives the preset wake-up command when the vehicle is not started; the control module is awakened according to the awakening instruction; based on the awakened control module, carrying out fault detection on the vehicle to obtain detection information, and according to the detection information; judging whether fault information exists in the detection information or not; when fault information exists in the detection information, the fault corresponding to the fault information is maintained, so that when the vehicle is not started, the fault detection can be performed on the vehicle in advance, when the vehicle has the fault, the corresponding maintenance can be performed on the fault, the flexibility of the fault detection of the vehicle is improved, and the driving experience of a driver is better.
The embodiment of the invention also provides a vehicle, and the fault detection and maintenance device of the vehicle is integrated in the VCU of the vehicle. Alternatively, the vehicle may be a new energy automobile. The structure of the vehicle can refer to fig. 2-2, and the embodiment of the invention is not described in detail.
Embodiments of the present invention further provide a storage medium, where instructions in the storage medium, when executed by a control module of a vehicle, enable the control module to perform the method for detecting and repairing a fault of the vehicle provided in the foregoing embodiments, for example, the method may include:
and when the vehicle is not started, receiving a preset awakening instruction.
And awakening the control module according to the awakening instruction.
And based on the awakened control module, carrying out fault detection on the vehicle to obtain detection information.
And judging whether fault information exists in the detection information or not according to the detection information.
And when the fault information exists in the detection information, maintaining the fault corresponding to the fault information.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.