Software flashing control method for extended-range electric vehicle

By introducing the VCU_ProgEna status judgment mechanism into new energy vehicles, the security risk problem in software flash operations is solved, ensuring that software updates are performed under safe conditions, improving the safety and reliability of extended-range electric vehicles, and preventing the entire vehicle from being damaged. Risk of driving and damage to high-voltage components.

CN118733084APending Publication Date: 2024-10-01ZHEJIANG UFO AUTOMOBILE MFG CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410833677.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

There are safety risks in the software flashing operation of new energy vehicles, especially in improper scenarios, which may lead to vehicle driving risks or damage to high-voltage system components. Existing technology cannot effectively solve this problem.

Method used

By introducing the VCU_ProgEna status judgment mechanism in extended-range electric vehicles, it is ensured that software operations are allowed only when specific conditions are met, including identity verification, underlying software control and program flash interactive control, ensuring software updates in safe scenarios.

Benefits of technology

It effectively prevents vehicle driving risks or high-voltage component damage caused by software flashing in unsafe scenarios, improves the safety and reliability of software flashing, and ensures driving safety and the protection of vehicle parts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733084A_ABST
    Figure CN118733084A_ABST
Patent Text Reader

Abstract

The invention discloses a software flashing control method for an extended-range electric vehicle, which comprises the following steps of: S10, turning on a key to an ON gear or awakening a network, and then selecting online flashing or remote flashing; step S20, identity verification is carried out through the upper computer or the TBOX and the VCU, if the identity verification is passed, the next step is carried out, and if the identity verification is not passed, the identity verification is repeated; step S30, the underlying software performs judgment according to the state of the interface variable VCUProgEna of the application layer software; according to the method, risk points possibly existing in software flashing under the actual vehicle using scene of the extended-range electric vehicle customer are fully considered, software operation is released under the condition that all related conditions are met, software updating operation is not allowed when any condition is not met, and the software updating efficiency is improved. The situation that software flashing in a special scene causes driving risks of the whole vehicle or key high-voltage system parts are damaged is prevented, and it is fully guaranteed that software flashing of the VCU is carried out on the premise that driving safety and whole vehicle part safety are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of new energy vehicles, and in particular, relates to a software flashing control method for an extended-range electric vehicle. Background Art

[0002] Compared with traditional fuel vehicles, new energy commercial vehicles are equipped with vehicle control units (hereinafter referred to as "VCU"). Traditional fuel vehicles generally use the engine control unit to analyze the driver's intentions and do not have the ability to flash remotely.

[0003] For new energy commercial vehicles, the traditional fuel powertrain is replaced by the three-electric system, and other traditional mechanical components of the vehicle are also upgraded to electrification, such as electric power steering, wire control braking, etc. The vehicle architecture and performance are more complex. VCU not only has the online flashing function, but also has the remote flashing capability. Remote flashing can greatly reduce after-sales maintenance costs.

[0004] However, whether it is online flashing or remote flashing, if the safety of the operating scenario is not carefully considered, it will lead to greater safety risks and pose certain dangers to components and driving safety. Summary of the invention

[0005] The present invention provides a software flashing control method for an extended-range electric vehicle, which solves the problems raised in the above-mentioned background technology.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is: a software flashing control method for an extended-range electric vehicle, comprising:

[0007] Step S10, the key is turned on or the network is awakened, and then online flashing or remote flashing is selected;

[0008] Step S20, identity verification is performed between the host computer or TBOX and the VCU. If the identity verification passes, the next step is performed. If the identity verification fails, the identity verification is repeated.

[0009] Step S30, the bottom layer software will make a judgment based on the state of the interface variable VCU_ProgEna of the application layer software, 0 represents Enable, 1 represents Disable, if it is 0, proceed to the next step, if it is 1, repeat the judgment;

[0010] Step S40, VCU bottom layer software controls entering the boot program;

[0011] Step S50, performing program flashing interactive control;

[0012] Step S60, complete flashing and power off.

[0013] Preferably, the step S30 includes the following steps:

[0014] Step S31, determine whether the actual speed of the APU generator is less than 50 rpm, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0015] Step S32, determine whether the actual power generation of the APU is less than 0.1kW, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0016] Step S33, determine whether the actual engine speed is less than 50 rpm, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0017] Step S34, determine whether the vehicle speed is less than 3kph, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0018] Step S35, determine whether the gear is in N gear, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0019] Step S36, determining whether the main positive relay and the main negative relay in the high-voltage system battery pack are disconnected, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0020] Step S37, determine whether the all-in-one internal main positive relay is disconnected, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0021] Step S38, determine whether the battery system is in a ready or charging complete state, if not, VCU_ProgEna is assigned a value of 1, if yes, VCU_ProgEna is assigned a value of 0.

[0022] The beneficial effects of adopting the above technical solution are:

[0023] 1. The present invention fully considers the possible risks of software flashing in the actual vehicle usage scenarios of extended-range electric vehicle customers, and releases the software operation only when all relevant conditions are met. If any condition is not met, the software update operation is not allowed, so as to prevent software flashing in special scenarios from causing driving risks of the whole vehicle or damaging key high-voltage system components, and fully ensure that the software flashing of the VCU is carried out under the premise of driving safety and the safety of vehicle components.

[0024] 2. The application layer software will monitor and determine the status parameters of the relevant components of the extended-range electric vehicle based on the configuration characteristics of the extended-range electric vehicle to ensure the safe operation of the extended-range electric vehicle in actual operating scenarios and prevent the software from being accidentally started and flashed in unsafe scenarios, resulting in various possible dangerous situations such as high voltage on the entire vehicle, loss of power, sudden ejection of the vehicle, or damage to high-voltage components. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is the overall flow chart provided by the present invention;

[0026] Figure 2 It is a specific flow chart for judging the VCU_ProgEna status; DETAILED DESCRIPTION

[0027] The specific implementation methods of the present invention are further explained in detail below by describing the embodiments with reference to the accompanying drawings, with the aim of helping those skilled in the art to have a more complete, accurate and in-depth understanding of the concept and technical solution of the present invention and facilitating its implementation.

[0028] Embodiment 1:

[0029] Specifically, Figure 1 to Figure 2 As shown, a software flashing control method for an extended-range electric vehicle includes:

[0030] Step S10, the key is turned on or the network is awakened, and then online flashing or remote flashing is selected;

[0031] Step S20, identity verification is performed between the host computer or TBOX and the VCU. If the identity verification passes, the next step is performed. If the identity verification fails, the identity verification is repeated.

[0032] Step S30, the bottom layer software will make a judgment based on the state of the interface variable VCU_ProgEna of the application layer software, 0 represents Enable, 1 represents Disable, if it is 0, proceed to the next step, if it is 1, repeat the judgment;

[0033] Step S40, VCU bottom layer software controls entering the boot program;

[0034] Step S50, performing program flashing interactive control;

[0035] Step S60, complete flashing and power off.

[0036] It should be noted that there are two ways to flash VCU software. One is online, that is, engineers flash the host computer on the vehicle site through software. The host computer software is connected to the CAN line of the vehicle-side OBD port through a laptop and flashing hardware, and then communicates with the VCU hardware on the vehicle. The host computer software and the VCU hardware interact through the UDS-related flashing control service to achieve online software flashing.

[0037] The other is remote flashing, which uses wireless communication technology and the Internet of Vehicles platform to communicate wirelessly between the cloud platform and the vehicle, and finally realizes flashing and updating. The specific implementation steps are: the Internet of Vehicles platform remotely issues instructions to the on-board remote terminal (hereinafter referred to as "TBOX"). After receiving the platform instructions, TBOX wakes up the VCU (the low-voltage battery is in a connected state) through a network management message. After receiving the network management message, the VCU is awakened after detecting a jump voltage at the CAN line port. After the underlying software recognizes the hardware jump level, the CAN control unit passes the wake-up signal to the underlying software. The underlying software controls the VCU software to initialize and run, and the VCU is immediately awakened for remote flashing control interaction.

[0038] In addition, the interactive control processes of VCU online flash interactive control and remote flash interactive control are basically the same after the VCU is awakened, and are both implemented based on UDS-related service control.

[0039] The step S30 comprises the following steps:

[0040] Step S31, determine whether the actual speed of the APU generator is less than 50 rpm, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0041] Step S32, determine whether the actual power generation of the APU is less than 0.1kW, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0042] Step S33, determine whether the actual engine speed is less than 50 rpm, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0043] Step S34, determine whether the vehicle speed is less than 3kph, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0044] Step S35, determine whether the gear is in N gear, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0045] Step S36, determining whether the main positive relay and the main negative relay in the high-voltage system battery pack are disconnected, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0046] Step S37, determine whether the all-in-one internal main positive relay is disconnected, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination;

[0047] Step S38, determine whether the battery system is in a ready or charging complete state, if not, VCU_ProgEna is assigned a value of 1, if yes, VCU_ProgEna is assigned a value of 0.

[0048] It should be noted that the application layer software will monitor and determine the status parameters of relevant components of the extended-range electric vehicle based on the configuration characteristics of the extended-range electric vehicle, so as to ensure the safe operation of the extended-range electric vehicle in actual operating scenarios and prevent the software from being accidentally started and flashed in unsafe scenarios, resulting in various possible dangerous situations such as high voltage on the entire vehicle, loss of power, sudden ejection of the vehicle or damage to high-voltage components.

[0049] In this embodiment, compared with pure electric vehicles, the extended-range electric vehicle is equipped with a range extender (hereinafter referred to as "APU"). The APU is composed of an engine, a generator, an engine controller EMS and a generator controller GCU. The whole vehicle has a parking power generation mode. When the whole vehicle is stationary, the user can choose to turn on the parking power generation function. At this time, if the software is flashed, the APU will shut down abnormally, causing confusion to the user and affecting the car experience. At the same time, the large back electromotive force caused by the abnormal high voltage will also impact the power devices of the power generation control unit. In severe cases, it will cause damage to the high-voltage components, affecting the high-voltage safety and customer's use of the car.

[0050] In addition, for extended-range electric vehicles, in addition to the need for conventional vehicle speed monitoring, it is also necessary to monitor the APU-related status to prevent unexpected problems caused by software upgrades when special operating conditions of extended-range electric vehicles are triggered. The application layer software will monitor the APU generator operating speed in real time. When the APU generator is actually less than 50rpm, and the actual power generation power of the APU is less than 0.1kW, and the actual engine speed is less than 50rpm, and the vehicle speed is less than 3kph, and the gear is in N gear, and the main positive relay inside the high-voltage system battery pack is disconnected, the positive and negative relays are disconnected, and the multi-in-one internal main positive relay is disconnected, and the battery system is in the ready or charging completed state, if the above conditions are met, then the VCU application layer will assign the interface VCU_ProgEna to 0, otherwise VCU_ProgEna will be kept at 1, and the underlying software will control the program to enter boot when it determines that VCU_ProgEna is in the Enable state.

[0051] Embodiment 2:

[0052] The present invention conducts in-depth research and comprehensive consideration on the risk points that may occur during the software flashing process of extended-range electric vehicles. In the actual use scenarios of extended-range electric vehicles, customers may need to perform software update operations for various reasons. However, improper software flashing may bring serious safety hazards and the risk of damage to the entire vehicle. Therefore, the present invention is committed to providing a safe and reliable software flashing mechanism to ensure that software operations are released only when all relevant conditions are met.

[0053] Specifically, the present invention will first conduct a comprehensive check on the current state of the extended-range electric vehicle, including but not limited to factors such as battery power, vehicle location, and vehicle status. Only when these factors meet the conditions for software flashing will the system allow the software update operation. For example, the battery power must be maintained above a certain level to ensure that there will be no interruption of operation or system abnormality due to insufficient power during the software flashing process; the vehicle location needs to be in a safe and stable place to avoid software updates during driving or in complex environments to reduce potential risks.

[0054] In addition, the present invention also takes into account various abnormal situations that may occur during the software flashing process. If any condition is not met, the system will not allow the software update operation to be performed, thereby avoiding software flashing failure or vehicle damage caused by misoperation or system errors. For example, if the system detects that the vehicle is driving or there are other safety hazards, the software flashing operation will be terminated immediately and a corresponding prompt message will be sent to the user.

[0055] In this way, the present invention fully ensures that the software flashing of the VCU (vehicle control unit) is carried out under the premise of driving safety and vehicle component safety. In practical applications, this mechanism can greatly reduce the risk of vehicle driving or the possibility of damage to key high-voltage system components caused by software flashing, and improve the safety and reliability of extended-range electric vehicles.

[0056] Taking a specific case as an example, a customer was using an extended-range electric vehicle. Due to the improper vehicle location (parked on a steep hillside) and low battery power, when trying to perform a software update operation, the system detected that these conditions were not met, so the software flash request was rejected and a corresponding prompt message was sent to the customer. After understanding the reason, the customer moved the vehicle to flat ground and charged it to a suitable power level, and then tried the software update again. At this time, the system successfully released the operation and successfully completed the software flash. This case fully demonstrates the effectiveness and reliability of the present invention in practical applications.

[0057] At the same time, the present invention has also verified its effectiveness through a large amount of experimental data and actual use data. In a large number of tests, the system successfully identified and prevented multiple potential software flashing risk events, avoiding possible vehicle failures or safety accidents. These experimental data and actual use data further prove the superior performance of the present invention in ensuring the safety of software flashing for extended-range electric vehicles.

[0058] In summary, the present invention fully considers the possible risks of software flashing in the actual use scenarios of extended-range electric vehicle customers, releases software operations when all relevant conditions are met, and blocks software update operations when any conditions are not met, thereby fully ensuring that the software flashing of the VCU is carried out under the premise of driving safety and vehicle component safety. This innovative mechanism not only improves the safety and reliability of extended-range electric vehicles, but also provides users with a more convenient and safe software update experience.

[0059] The present invention is described above by way of example in conjunction with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-mentioned method. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention; or the above-mentioned concept and technical solution of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.

Claims

1. A software flashing control method for an extended-range electric vehicle, characterized in that: include: Step S10, the key is turned on or the network is awakened, and then online flashing or remote flashing is selected; Step S20, identity verification is performed between the host computer or TBOX and the VCU. If the identity verification passes, the next step is performed. If the identity verification fails, the identity verification is repeated. Step S30, the bottom layer software will make a judgment based on the state of the interface variable VCU_ProgEna of the application layer software, 0 represents Enable, 1 represents Disable, if it is 0, proceed to the next step, if it is 1, repeat the judgment; Step S40, VCU bottom layer software controls entering the boot program; Step S50, performing program flashing interactive control; Step S60, complete flashing and power off.

2. A software flashing control method for an extended-range electric vehicle according to claim 1, characterized in that: The step S30 comprises the following steps: Step S31, determine whether the actual speed of the APU generator is less than 50 rpm, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination; Step S32, determine whether the actual power generation of the APU is less than 0.1kW, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination; Step S33, determine whether the actual engine speed is less than 50 rpm, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination; Step S34, determine whether the vehicle speed is less than 3kph, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination; Step S35, determine whether the gear is in N gear, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination; Step S36, determining whether the main positive relay and the main negative relay in the high-voltage system battery pack are disconnected, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination; Step S37, determine whether the all-in-one internal main positive relay is disconnected, if not, VCU_ProgEna is assigned a value of 1, if yes, proceed to the next step of determination; Step S38, determine whether the battery system is in a ready or charging complete state, if not, VCU_ProgEna is assigned a value of 1, if yes, VCU_ProgEna is assigned a value of 0.