Vehicle power management method, device and vehicle for over-the-air upgrade process
By cutting off the power to the ECU that supports ON-powered upgrades while the vehicle battery is in sleep mode, and maintaining the power supply while in ON-powered mode, the problems of battery consumption and upgrade interruption during scheduled upgrades are solved, ensuring the safety and success rate of OTA upgrades.
Patent Information
- Application Number
- CN202211590170.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-11
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2042-12-11
AI Technical Summary
In existing technologies, the unified power cut-off of the entire vehicle during scheduled upgrades leads to significant battery consumption and poses a risk of battery depletion. Furthermore, user actions during immediate upgrades may cause upgrade interruptions, affecting the success rate of upgrades.
When the vehicle is in battery sleep mode, power is cut off only to the electronic control unit that supports ON power upgrade, and the power status is maintained in ON power mode. Power management is achieved through the coordinated control of TBOX and BCM.
This reduces power consumption, avoids battery depletion, and ensures the security and upgrade success rate of the OTA system.
Smart Images

Figure CN115923697B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle control, and more particularly to a whole-vehicle power management method and device for an over-the-air upgrade process and a vehicle. BACKGROUND
[0002] When a user receives an over-the-air technology (OTA) upgrade push of a vehicle, the user can choose to upgrade immediately or schedule an idle time for the OTA upgrade in combination with a vehicle use period, thereby providing convenience for the user. When the vehicle is in a sleep state during the scheduled time period, how to wake up the vehicle for subsequent upgrade in combination with the requirements of various controllers of the vehicle and guarantee the success rate of immediate upgrade and scheduled upgrade are key to the design of an OTA system.
[0003] In the prior art, when scheduled upgrade is performed, the vehicle directly wakes up vehicle parts in an ON state through remote power-on and performs subsequent upgrade functions. However, when scheduled upgrade is performed, the vehicle is directly powered off for upgrade, which greatly consumes the battery and poses a risk of battery power supply for a fuel vehicle.
[0004] In addition, when the user chooses to upgrade immediately in the ON state, the user can also operate the vehicle power supply, which can cause misoperation and power-off, thereby interrupting the upgrade process of the parts and causing upgrade failure. SUMMARY
[0005] The present application provides a whole-vehicle power management method and device for an over-the-air upgrade process and a vehicle. When the vehicle is in a battery power sleep state, the vehicle is powered off only when there is an electronic control unit to be upgraded that supports only ON power upgrade, thereby greatly reducing power consumption, avoiding battery power supply, and ensuring the safety of the OTA system.
[0006] The present application provides a whole-vehicle power management method for an over-the-air upgrade process, comprising:
[0007] In response to the scheduled upgrade time arriving, it is determined whether the vehicle is in a battery power sleep state;
[0008] If yes, the whole-vehicle network is woken up, and it is determined whether there is an electronic control unit to be upgraded that supports only ON power upgrade;
[0009] If yes, a first power-off request signal is sent to a body control module, the body control module switches the whole-vehicle power supply from a local mode to a power-off mode, and the electronic control unit to be upgraded is upgraded in the power-off mode;
[0010] In response to the upgrade being completed, a second power-off request signal is sent to the body control module, the body control module switches the whole-vehicle power supply from the power-off mode to the local mode.
[0011] Preferably, if the vehicle is in the battery power sleep state and there is no to-be-upgraded electronic control unit supporting only ON power upgrade, the CAN network sleep is prohibited during the upgrade process; and in response to completion of the upgrade, the CAN network sleep is allowed.
[0012] Preferably, if the vehicle is in the ON power state and there is a to-be-upgraded electronic control unit supporting only ON power upgrade, the upgrade status message is continuously received and periodically forwarded to the body control module during the upgrade process, so that the body control module maintains the ON power state before the upgrade is completed.
[0013] 5Preferably, if the upgrade is not completed after a preset time from the wake-up of the whole vehicle network, the whole vehicle is controlled to enter the network sleep state.
[0014] Preferably, if the vehicle is in the ON power state and there is no to-be-upgraded electronic control unit supporting only ON power upgrade, no control is made on the power state during the upgrade process.
[0015] The application also provides a whole vehicle power management device for an over-the-air upgrade process, comprising a power state judgment module, an ON power demand judgment module, a first power-off module and a second power-off module.
[0016] The power state judgment module is configured to judge whether the vehicle is in the battery power sleep state in response to arrival of the scheduled upgrade time.
[0017] The ON power demand judgment module is configured to judge whether there is a to-be-upgraded electronic control unit supporting only ON power upgrade.
[0018] 5The first power-off module is configured to send a first power-off request signal to the body control module when the vehicle is in the battery power sleep state and there is a to-be-upgraded electronic control unit supporting only ON power upgrade, so that the body control module switches the whole vehicle power from the local mode to the power-off mode, and the to-be-upgraded electronic control unit is upgraded in the power-off mode.
[0019] The second power-off module is configured to send a second power-off request signal to the body control module in response to completion of the upgrade, so that the body control module switches the whole vehicle power from the power-off mode to the local mode.
[0020] Preferably, the whole vehicle power management device further comprises a network sleep control module, which is configured to prohibit the CAN network sleep during the upgrade process when the vehicle is in the battery power sleep state and there is no to-be-upgraded electronic control unit supporting only ON power upgrade, and allow the CAN network sleep after the upgrade is completed.
[0021] Preferably, the whole vehicle power management device further comprises a network sleep control module, which is configured to prohibit the CAN network sleep during the upgrade process when the vehicle is in the battery power sleep state and there is no to-be-upgraded electronic control unit supporting only ON power upgrade, and allow the CAN network sleep after the upgrade is completed.
[0022] Preferably, the vehicle power management device further includes a message forwarding module. This module is used to continuously receive upgrade status messages and periodically forward upgrade status messages during the upgrade process when the vehicle is in the ON power state and there is no electronic control unit to be upgraded that only supports ON power upgrades.
[0023] The system sends a status message to the body control module, ensuring that the body control module remains in the ON state until the upgrade is complete.
[0024] Preferably, the network hibernation control module is also used to control the vehicle to enter a network hibernation state when the vehicle is in a battery hibernation state and there is an electronic control unit that only supports ON power upgrades, and the upgrade is not completed after a preset time from the start of the self-wake-up of the vehicle network.
[0025] This application also provides a vehicle including a TBOX, the TBOX performing the above-described over-the-air upgrade process for vehicle power management.
[0026] Other features and advantages of this application will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0027] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments of the present application and, together with their description, serve to explain the principles of the present application.
[0028] Figure 1 A flowchart of the vehicle power management method for the over-the-air (OTA) upgrade process provided in this application;
[0029] Figure 2 A structural diagram of the vehicle power management device for the over-the-air (OTA) upgrade process provided in this application. Detailed Implementation
[0030] Various exemplary embodiments of this application will now be described in detail with reference to the accompanying drawings. It should be noted that:
[0031] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps described in these embodiments do not limit the scope of this application.
[0032] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the scope of this application and its application or use.
[0033] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, they should be considered part of the specification.
[0034] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as a limitation. Thus, other examples of the exemplary embodiments can have different values.
[0035] The application provides a whole vehicle power management method, device and vehicle for over-the-air upgrade process. The power-off process is performed only when there is an upgradeable electronic control unit (ECU) supporting only ON power upgrade when the vehicle is in a battery power hibernation state, which greatly reduces power consumption and avoids battery power supply, thereby ensuring the safety of the OTA system. In addition, during the upgrade process when the vehicle is in an ON power state, the power supply is controlled to remain in an ON power state, thereby ensuring the success rate of OTA upgrade.
[0036] As shown in Figure 1 The whole vehicle power management method for over-the-air upgrade process provided by the application comprises the following steps:
[0037] S110: The TBOX judges whether the vehicle is in a battery power hibernation state in response to the arrival of the scheduled upgrade time. If yes, S120 is performed; otherwise, the vehicle is in an ON power state, and S160 is performed.
[0038] S120: The TBOX wakes up the whole vehicle CAN network, so that the communication messages and network management messages can be normally sent. In addition, the TBOX judges whether there is an upgradeable ECU (Electronic Control Unit, ECU) supporting only ON power upgrade (hereinafter referred to as the first upgradeable ECU). If yes, S130 is performed; otherwise, S150 is performed.
[0039] It should be noted that the cloud stores the attributes of each ECU. If the ECU supports only ON power upgrade, the ON power identifier is included in the attributes of the ECU, i.e. the ECU needs to be upgraded after the whole vehicle is woken up by ON power. If the ECU supports upgrade under battery power after the CAN network is woken up, the OFF power identifier is included in the attributes of the ECU, i.e. the ECU can be upgraded without waking up the whole vehicle by ON power.
[0040] The vehicle end TBOX judges whether the upgradeable ECU supports only ON power upgrade according to the ECU attribute parameters issued by the cloud.
[0041] S130: The TBOX sends a first power-off request signal to the body control module (Body Control Module, BCM), so that the BCM switches the whole vehicle power supply from the local mode to the power-off mode, and the first upgradeable ECU is upgraded in the power-off mode.
[0042] For the ECU which only supports the ON power upgrade, the upgrade after the wake-up from the CAN network is realized by the way of the whole vehicle remote ON power cut. The BCM has the function of switching between the battery power mode (i.e. local mode) and the whole vehicle power ON mode (i.e. cut power mode). The local mode switching to the cut power mode is as follows:
[0043] Precondition: After the TBOX judges that the requirements are met (including successful authentication, OFF power state, Remote Keyless Entry (RKE) not detected, Electrical Park Brake (EPB) pulled up, in P or N gear, vehicle speed is 0, engine speed or motor speed is 0, security is set), the TBOX sends a first cut power request signal through the CAN bus.
[0044] State: After the BCM receives the first cut power request signal from the CAN bus, it first sends a cut power mode state signal, and then cuts the whole vehicle power to the ON power state.
[0045] Each ECU of the whole vehicle: After the ECU receives the first cut power request signal from the CAN bus, the ECU with sound and light is prepared for entering the remote silent mode, which is the state of keeping screen off, sound off and not unlocking. When each ECU jumps from the local mode to the cut power mode, it enters the remote silent mode. Thus, the minimum power consumption is ensured, and the problem of battery power supply unable to start the vehicle is avoided.
[0046] S140: In response to the completion of the upgrade, the TBOX sends a second cut power request signal to the BCM, so that the BCM switches the whole vehicle power from the cut power mode to the local mode.
[0047] The cut power mode switching to the local mode is as follows:
[0048] Precondition: In response to the completion of the upgrade, the OTA system sends a cut power exit instruction to the TBOX, and the TBOX sends a second cut power request signal to the BCM.
[0049] State: After the BCM receives the second cut power request signal, it first cuts the whole vehicle power to OFF, and then sends a local mode state signal to each ECU of the whole vehicle.
[0050] Each ECU of the whole vehicle: When the signal jumps from the cut power mode to the local mode, each ECU enters the local mode, and each ECU decides the working state according to its actual situation.
[0051] The TBOX periodically sends a message to the BCM. Preferably, if the BCM does not receive the message from the TBOX for more than a preset time (e.g. 5 minutes) since the last time it received the message from the TBOX, it means that an abnormality has occurred, and then the BCM automatically restores the local mode.
[0052] If the TBOX does not receive the exit power-off instruction from the OTA system after the preset time (for example, 1 hour) since the wake-up of the vehicle network, the TBOX actively sends a second power-off request signal to the BCM.
[0053] S150: The second ECU to be upgraded (hereinafter referred to as the second ECU to be upgraded) that supports the upgrade under the battery power after the wake-up of the CAN network can perform the normal upgrade process. The BCM does not control the power state during the upgrade of the second ECU to be upgraded.
[0054] Preferably, in step S150, before the start of the upgrade of the second ECU to be upgraded, the OTA system in the cloud prohibits the sleep of the CAN network by calling the TBOX interface. And in response to the completion of the upgrade, the OTA system allows the sleep of the CAN network by calling the TBOX interface, and then each ECU on the vehicle performs the sleep of the vehicle based on the network management.
[0055] Preferably, considering that there may be a failure problem in the network sleep interface, if the upgrade completion message from the OTA system is not received after the preset time (for example, 1 hour) since the wake-up of the vehicle network, the TBOX itself sends the network management sleep to control the vehicle to enter the network sleep state.
[0056] S160: When the vehicle is in the ON power state, that is, the vehicle is in use, the user can be reminded to upgrade through the display screen or voice. If the user chooses to upgrade immediately, the TBOX determines whether there is an ECU to be upgraded that only supports the upgrade under the ON power. If yes, S170 is executed; otherwise, S150 is executed.
[0057] S170: During the upgrade process, the TBOX continuously receives the upgrade state message from the OTA system in the cloud and periodically forwards the upgrade state message to the BCM, so that the BCM maintains the ON power state before the completion of the upgrade. And after the completion of the upgrade, the BCM does not control the power state.
[0058] Preferably, in step S170, in order to ensure that the power can remain in the wake-up state, during the upgrade process, the TBOX continuously receives the upgrade state message (including the start of the upgrade, the upgrade, the end of the upgrade, etc.) and periodically forwards the upgrade state message to the BCM, so that the BCM maintains the ON power state before the completion of the upgrade.
[0059] Preferably, in step S170, during the upgrade process, the messages other than the TBOX and the BCM are shielded, that is, other control units are prohibited from transmitting and receiving messages, which is used for process power supply and improves the upgrade success rate of the ECU that only supports the upgrade under the ON power.
[0060] Based on the above description, the application also provides a whole vehicle power management device for an over-the-air download upgrade process, which is suitable for a TBOX. Figure 2 As shown in the figure, the whole vehicle power management device includes a power state judgment module 210, an ON electricity demand judgment module 220, a first power-off module 230, and a second power-off module 240.
[0061] The power state judgment module 210 is used to judge whether the vehicle is in a battery electricity sleep state in response to the arrival of a scheduled upgrade time.
[0062] The ON electricity demand judgment module 220 is used to judge whether there is an upgradeable electronic control unit that only supports ON electricity upgrade.
[0063] The first power-off module 230 is used to send a first power-off request signal to the body control module to make the body control module switch the whole vehicle power supply from a local mode to a power-off mode when the vehicle is in a battery electricity sleep state and there is an upgradeable electronic control unit that only supports ON electricity upgrade, and the upgradeable electronic control unit is upgraded in the power-off mode.
[0064] The second power-off module 240 is used to send a second power-off request signal to the body control module to make the body control module switch the whole vehicle power supply from the power-off mode to the local mode in response to the completion of the upgrade.
[0065] Preferably, the whole vehicle power management device further includes a network sleep control module 250, which is used to prohibit CAN network sleep during the upgrade process and allow CAN network sleep after the completion of the upgrade when the vehicle is in a battery electricity sleep state and there is no upgradeable electronic control unit that only supports ON electricity upgrade.
[0066] Preferably, the whole vehicle power management device further includes a message forwarding module 260, which is used to continuously receive upgrade status messages and periodically forward the upgrade status messages to the body control module to make the body control module maintain the ON electricity state before the completion of the upgrade when the vehicle is in an ON electricity state and there is no upgradeable electronic control unit that only supports ON electricity upgrade.
[0067] Preferably, the network sleep control module 250 is further used to control the whole vehicle to enter a network sleep state when the upgrade is not completed after a preset time from the wake-up of the whole vehicle network when the vehicle is in a battery electricity sleep state and there is an upgradeable electronic control unit that only supports ON electricity upgrade.
[0068] Based on the above description, the application also provides a vehicle, which includes a TBOX, a BCM, and various ECUs, and the TBOX and the BCM implement the whole vehicle power management method of the over-the-air download upgrade process described above with the OTA system of the cloud.
[0069] The application performs power-off processing according to the attribute parameters of the ECU, greatly reduces power consumption, avoids battery feeding, and guarantees the safety of the OTA system. For the ECU that only supports ON electric upgrading, the wake-up strategy of the power state keeping during the ON electric upgrading ensures that the ECU upgrading environment is not damaged and the upgrading success rate is ensured. For the ECU that supports battery electric downgrading, the ECU can be powered off during the upgrading process, ensuring the minimum power consumption.
[0070] Although some specific embodiments of the application have been described in detail through examples, those skilled in the art should understand that the above examples are only for illustration, not for limiting the scope of the application. Those skilled in the art should understand that the above embodiments can be modified without departing from the scope and spirit of the application. The scope of the application is defined by the appended claims.
Claims
1. A method for managing power supply of a whole vehicle for an over-the-air upgrade procedure, characterized in that, The method comprises the following steps: in response to the arrival of the scheduled upgrade time, determining whether the vehicle is in a battery power hibernation state; if the vehicle is not in the battery power hibernation state, the vehicle is in an ON power state, and the user is reminded to upgrade through a display screen or voice; if the vehicle is in the battery power hibernation state, the entire vehicle network is woken up, and it is determined whether there is an electronic control unit to be upgraded that supports only ON power upgrade; if there is not, the electronic control unit to be upgraded that supports CAN network wake-up and upgrade under battery power is subjected to a normal upgrade process, and the power state is not controlled during the upgrade process; if there is, a first power-off request signal is sent to the body control module, so that the body control module switches the entire vehicle power supply from the local mode to the power-off mode, and the electronic control unit to be upgraded is upgraded in the power-off mode; in response to the completion of the upgrade of the electronic control unit to be upgraded that supports only ON power upgrade, a second power-off request signal is sent to the body control module, so that the body control module switches the entire vehicle power supply from the power-off mode to the local mode.
2. The method of whole vehicle power management for over-the-air upgrade procedures of claim 1, wherein, if the vehicle is in the battery power hibernation state, and there is no electronic control unit to be upgraded that supports only ON power upgrade, the CAN network is prohibited from hibernating during the upgrade process; in response to the completion of the upgrade, the CAN network is allowed to hibernate.
3. The method of whole vehicle power management for over-the-air upgrade procedures of claim 1, wherein, if the vehicle is in the ON power state, and there is an electronic control unit to be upgraded that supports only ON power upgrade, during the upgrade process, the upgrade state message is continuously received and periodically forwarded to the body control module, so that the body control module maintains the ON power state before the completion of the upgrade.
4. The method of whole vehicle power management for over-the-air upgrade procedures of claim 1, wherein, if the upgrade is not completed after a preset time since the wake-up of the entire vehicle network, the vehicle is controlled to enter a network hibernation state.
5. The whole vehicle power management apparatus of an over-the-air upgrade procedure, applied to the whole vehicle power management method of claim 1, characterized in that, The method comprises a power state determination module, an ON power demand determination module, a first power-off module, and a second power-off module; the power state determination module is configured to determine whether the vehicle is in a battery power hibernation state in response to the arrival of the scheduled upgrade time; the ON power demand determination module is configured to determine whether there is an electronic control unit to be upgraded that supports only ON power upgrade; the first power-off module is configured to send a first power-off request signal to the body control module when the vehicle is in the battery power hibernation state and there is an electronic control unit to be upgraded that supports only ON power upgrade, so that the body control module switches the entire vehicle power supply from the local mode to the power-off mode, and the electronic control unit to be upgraded is upgraded in the power-off mode; the second power-off module is configured to send a second power-off request signal to the body control module in response to the completion of the upgrade, so that the body control module switches the entire vehicle power supply from the power-off mode to the local mode.
6. The whole vehicle power management apparatus of over-the-air upgrade procedure according to claim 5, wherein, The method further comprises a network hibernation control module configured to prohibit the CAN network from hibernating during the upgrade process when the vehicle is in the battery power hibernation state and there is no electronic control unit to be upgraded that supports only ON power upgrade, and allow the CAN network to hibernate after the completion of the upgrade.
7. The whole vehicle power management apparatus of over-the-air upgrade procedure according to claim 5, wherein, The message forwarding module is further configured to, when the vehicle is in the ON electrical state and there is no to-be-upgraded electronic control unit supporting only the ON electrical upgrade, continuously receive the upgrade status message and periodically forward the upgrade status message to the body control module during the upgrade process, so that the body control module maintains the ON electrical state before the upgrade is completed.
8. The whole vehicle power management apparatus of over-the-air upgrade procedure according to claim 6, wherein, The network sleep control module is further configured to, when the vehicle is in the battery electrical sleep state and there is a to-be-upgraded electronic control unit supporting only the ON electrical upgrade, control the vehicle to enter the network sleep state when the upgrade is not completed after the preset time from the self-wakeup vehicle network.
9. A vehicle characterized by comprising: The TBOX performs the vehicle power management method of the over-the-air download upgrade process according to any one of claims 1-4.
Citation Information
Patent Citations
Vehicle OTA upgrading energy consumption estimation method and device and electronic equipment
CN114327560A
Power management method under abnormal condition of vehicle OTA upgrade
CN114816474A