OTA update apparatus and method thereof
View Patent ↗An over-the-air (OTA) update apparatus includes a communication device that receives data for an OTA update of software for vehicle from a server and a processor that calculates an expected update current consumed by a controller loaded into a vehicle in an additional OTA update proceeding subsequently, based on current consumption consumed in an OTA update of the controller, determines an update factor to be proportional to the expected update current, and proceeds with the additional OTA update based on that the update factor is less than or equal to a predetermined threshold.
1. An over-the-air (OTA) update apparatus, comprising:
a communication device configured to receive, from a server, data for an OTA update of a vehicle; and
a processor configured to:
calculate an expected update current to be consumed by a controller implemented in the vehicle for performing an additional OTA update, based on current consumption consumed in an OTA update of the controller,
determine an update factor to be proportional to the expected update current, and
performing, based on the determined update factor being less than or equal to a predetermined threshold, the additional OTA update.
2. The OTA update apparatus of claim 1 , wherein the processor is configured to:
obtain unit current consumption consumed by the controller in units of preset time within an OTA update duration,
obtain an average value of the unit current consumption, and
calculate representative current consumption during the OTA update duration to determine the update factor.
3. The OTA update apparatus of claim 2 , wherein the processor is configured to:
calculate an average value of the representative current consumption for each of a plurality of OTA update durations, and
determine the update factor to be proportional to the average value of the representative current consumption.
4. The OTA update apparatus of claim 3 , wherein the processor is configured to assign a weight to representative current consumption for a latest OTA update duration among the plurality of OTA update durations to determine the update factor.
5. The OTA update apparatus of claim 2 , wherein the processor is configured to
determine noise based on a magnitude of the representative current consumption according to a battery temperature, and
remove the noise in a process of determining the update factor.
6. The OTA update apparatus of claim 2 , wherein the processor is configured to:
determine noise based on a magnitude of the representative current consumption according to a magnitude of update data, and
remove the noise in a process of determining the update factor.
7. The OTA update apparatus of claim 1 , wherein the processor is configured to:
calculate a time taken to perform the OTA update, and
determine the update factor to be proportional to the calculated time.
8. The OTA update apparatus of claim 1 , wherein the processor is configured to:
calculate an average of time taken to perform the OTA update during each of a plurality of OTA update durations to obtain an expected update time, and
determine the update factor to be proportional to the expected update time.
9. The OTA update apparatus of claim 1 , wherein the processor is configured to, based on a first controller and a second controller implemented in the vehicle being updated in parallel, determine a greater value between a representative current value of a first controller and a representative current value of a second controller, as the expected update current.
10. The OTA update apparatus of claim 1 , wherein the processor is configured to:
determine, based on a first controller and a second controller implemented in the vehicle being updated in parallel, a greater value between a time taken to perform an update of a first controller and a time taken to perform an update of a second controller, as an expected update time, and
determine the update factor to be proportional to the expected update time.
11. An over-the-air (OTA) update method, comprising:
calculating an expected update current to be consumed by a controller implemented in a vehicle for performing an additional OTA update, based on current consumption consumed in an OTA update of the controller;
determining an update factor to be proportional to the calculated expected update current; and
performing, based on the update factor being less than or equal to a predetermined threshold, the additional OTA update.
12. The OTA update method of claim 11 , wherein calculating the expected update current includes:
obtaining unit current consumption consumed by the controller in units of preset time within an OTA update duration,
obtaining an average value of the unit current consumption, and
calculating representative current consumption during the OTA update duration.
13. The OTA update method of claim 12 , wherein determining the update factor includes:
calculating an average value of the representative current consumption for each of a plurality of OTA update durations, and
determining the update factor to be proportional to the average value of the representative current consumption.
14. The OTA update method of claim 13 , wherein determining the update factor includes:
assigning a weight to representative current consumption for a latest OTA update duration among the plurality of OTA update durations.
15. The OTA update method of claim 12 , wherein determining the update factor includes:
determining noise based on a magnitude of the representative current consumption according to a battery temperature.
16. The OTA update method of claim 12 , wherein determining the update factor includes:
determining noise based on a magnitude of the representative current consumption according to a magnitude of update data.
17. The OTA update method of claim 11 , wherein determining the update factor includes:
calculating a time taken to perform the OTA update, and
determining the update factor to be proportional to the calculated time.
18. The OTA update method of claim 11 , wherein determining the update factor includes:
calculating an average of times taken to perform the OTA update during each of a plurality of OTA update durations to obtain an expected update time, and
determining the update factor to be proportional to the expected update time.
19. The OTA update method of claim 11 , wherein calculating the expected update current includes:
determining, based on a first controller and a second controller implemented in the vehicle being updated in parallel, a greater value between a representative current value of a first controller and a representative current value of a second controller, as the expected update current.
20. The OTA update method of claim 11 , wherein the determining of the update factor includes:
determining, based on a first controller and a second controller implemented in the vehicle being updated in parallel, a greater value between a time taken to perform an update of a first controller and a time taken to perform an update of a second controller, as an expected time taken, and
determining the update factor to be proportional to the expected time taken.