CN-122018945-A - Firmware refreshing method for high-voltage component controller, whole vehicle controller, vehicle and medium
Abstract
The application provides a firmware flashing method of a high-voltage component controller, a whole vehicle controller, a vehicle and a medium, wherein the method is applied to the whole vehicle controller and comprises the following steps: and if the high-voltage component is in a high-voltage power supply state, a firmware refreshing enabling signal is sent to the high-voltage component controller. In the embodiment of the application, the whole vehicle controller sends the high-voltage component high-voltage power-on instruction to the battery controller, the battery controller supplies power to the high-voltage component at high voltage, after the precondition of firmware refreshing of the high-voltage component controller is met, a firmware refreshing enabling signal is sent to the high-voltage component controller to carry out firmware refreshing of the high-voltage component controller, the high-voltage power-on of the high-voltage component is realized through the whole vehicle controller and the battery controller, the flow is concise, the efficiency is improved, and the safety risk faced by operators is avoided.
Inventors
- TAO KE
- Hou Caihui
- WANG XIAOMENG
- BAI HAOTIAN
- LUO BIN
Assignees
- 上汽通用五菱汽车股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251211
Claims (10)
- 1. The firmware refreshing method for the high-voltage component controller is characterized by being applied to a whole vehicle controller and comprising the following steps of: If a firmware refreshing request is received, a high-voltage component high-voltage power-on instruction is sent to a battery controller, and the battery controller is used for supplying power to the high-voltage component at high voltage according to the high-voltage component high-voltage power-on instruction; And if the high-voltage component is in a high-voltage power supply state, sending a firmware refreshing enabling signal to a high-voltage component controller, wherein the high-voltage component controller is used for entering a firmware refreshing mode according to the firmware refreshing enabling signal.
- 2. The method as recited in claim 1, further comprising: If the high-voltage component is in a high-voltage power supply state and the working condition of the high-voltage component meets the preset safety alarm condition, a high-voltage power-down instruction of the high-voltage component is sent to the battery controller, and the battery controller is further used for powering down the high-voltage component under high voltage according to the high-voltage power-down instruction of the high-voltage component.
- 3. The method as recited in claim 1, further comprising: and if the high-voltage component controller is in the firmware refreshing mode and the working condition state of the high-voltage component meets the preset safety alarm condition, sending a firmware refreshing termination signal to the high-voltage component controller, wherein the high-voltage component controller is further used for exiting the firmware refreshing mode according to the firmware refreshing termination signal.
- 4. A method according to claim 3, further comprising: if the high-voltage component controller is in a firmware brushing mode and the working condition of the high-voltage component meets the preset safety alarm condition, a high-voltage power-down instruction of the high-voltage component is sent to the battery controller, and the battery controller is further used for powering up and powering down the high-voltage component according to the high-voltage power-down instruction of the high-voltage component.
- 5. The method of claim 1, further comprising, after sending a firmware flush enable signal to the high voltage component controller: obtaining a firmware brushing result of the high-voltage component controller; If the firmware of the high-voltage component controller is successfully written, a high-voltage component high-voltage power-down instruction is sent to the battery controller, and the battery controller is also used for powering down the high-voltage component according to the high-voltage component high-voltage power-down instruction and/or And if the firmware refreshing result of the high-voltage component controller is that the refreshing fails, sending the firmware refreshing enabling signal to the high-voltage component controller again.
- 6. The method of claim 5, wherein if the firmware flush result of the high voltage component controller is a failure, sending the firmware flush enable signal to the high voltage component controller again comprises: If the firmware refreshing result of the high-voltage component controller is that the refreshing fails and the refreshing retry number is greater than or equal to a preset retry number threshold, sending a high-voltage down instruction of the high-voltage component to the battery controller and/or And if the firmware refreshing result of the high-voltage component controller is that the refreshing fails and the refreshing retry number is smaller than a preset retry number threshold, sending the firmware refreshing enabling signal to the high-voltage component controller again.
- 7. The method of claim 1, wherein sending a high voltage component high voltage power-on instruction to the battery controller if a firmware flush request is received comprises: If a firmware refreshing request is received, the working condition state of the high-voltage component is obtained; And if the working condition state of the high-voltage component does not meet the preset firmware brushing condition, sending a high-voltage power-on instruction of the high-voltage component to the battery controller.
- 8. A vehicle controller, characterized in that the vehicle controller is configured to perform the method of any of claims 1 to 7.
- 9. A vehicle, characterized by comprising: vehicle control unit, high voltage component control unit and battery control unit, which is configured to perform the method according to any of claims 1-7.
- 10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program, when run, controls a device in which the computer readable storage medium is located to perform the method of any one of claims 1-7.
Description
Firmware refreshing method for high-voltage component controller, whole vehicle controller, vehicle and medium Technical Field The application relates to the technical field of vehicle control, in particular to a firmware flashing method of a high-voltage component controller, electronic equipment, a vehicle and a medium. Background The controller firmware refreshing refers to the process of writing a new firmware program into the controller through a specific communication interface, can be used for repairing software defects, optimizing performance or adding new functions, and is an important means for maintaining and upgrading electronic equipment. Different preconditions may exist for firmware flashing of different controllers, and when a high-voltage component controller in a new energy automobile performs firmware flashing, a corresponding high-voltage component is usually required to be in a high-voltage on-state. However, in the related art, the high-voltage power-on of the high-voltage component often needs to be manually triggered by an operator, so that the problems of complicated flow and low efficiency exist, and even potential safety hazards are brought to the operator and equipment. It should be noted that the information disclosed in the background section of the present application is only for enhancement of understanding of the general background of the present application and should not be taken as an admission or any form of suggestion that this information forms the prior art that is already known to a person skilled in the art. Disclosure of Invention The application provides a firmware brushing method for a high-voltage component controller, a whole vehicle controller, a vehicle and a medium, which are beneficial to solving the problems of complicated high-voltage power-on flow, low efficiency and potential safety hazard of the high-voltage component. In a first aspect, an embodiment of the present application provides a firmware flashing method for a high voltage component controller, which is applied to a vehicle controller, and the method includes: If a firmware refreshing request is received, a high-voltage component high-voltage power-on instruction is sent to a battery controller, and the battery controller is used for supplying power to the high-voltage component at high voltage according to the high-voltage component high-voltage power-on instruction; And if the high-voltage component is in a high-voltage power supply state, sending a firmware refreshing enabling signal to a high-voltage component controller, wherein the high-voltage component controller is used for entering a firmware refreshing mode according to the firmware refreshing enabling signal. In some possible implementations, the method further includes: If the high-voltage component is in a high-voltage power supply state and the working condition of the high-voltage component meets the preset safety alarm condition, a high-voltage power-down instruction of the high-voltage component is sent to the battery controller, and the battery controller is further used for powering down the high-voltage component under high voltage according to the high-voltage power-down instruction of the high-voltage component. In some possible implementations, the method further includes: and if the high-voltage component controller is in the firmware refreshing mode and the working condition state of the high-voltage component meets the preset safety alarm condition, sending a firmware refreshing termination signal to the high-voltage component controller, wherein the high-voltage component controller is further used for exiting the firmware refreshing mode according to the firmware refreshing termination signal. In some possible implementations, the method further includes: if the high-voltage component controller is in a firmware brushing mode and the working condition of the high-voltage component meets the preset safety alarm condition, a high-voltage power-down instruction of the high-voltage component is sent to the battery controller, and the battery controller is further used for powering up and powering down the high-voltage component according to the high-voltage power-down instruction of the high-voltage component. In some possible implementations, after sending a firmware flush enable signal to the high voltage component controller, further comprising: obtaining a firmware brushing result of the high-voltage component controller; If the firmware of the high-voltage component controller is successfully written, a high-voltage component high-voltage power-down instruction is sent to the battery controller, and the battery controller is also used for powering down the high-voltage component according to the high-voltage component high-voltage power-down instruction and/or And if the firmware refreshing result of the high-voltage component controller is that the refreshing fails, sending the firmware refreshing enabling signal