Electronic control device and software updating method
The electronic control device and method ensure successful software updates in vehicle storage devices by initiating updates only when the power supply voltage is sufficient and employing voltage drop suppression techniques, addressing the risk of voltage drops and maintaining device operation.
Patent Information
- Application Number
- JP2023048454
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-10-07
AI Technical Summary
Software updates in vehicle storage devices are prone to failure due to voltage drops when electric devices start up during the update process, especially when the vehicle is running, as the power supply voltage may fall below the required threshold.
An electronic control device and method that includes an execution device to initiate software updates only when the power supply voltage is above a specified operation permission voltage and employs voltage drop suppression techniques to prevent voltage drops during the update process, prioritizing the activation of electric devices based on their importance.
This approach prevents power supply voltage from falling below the updateable threshold during software updates, ensuring successful completion while allowing electric devices to operate, including those necessary for vehicle functionality.
Smart Images

Figure 2024137082000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an electronic control unit mounted on a vehicle and a software updating method for updating software in a storage device provided in the vehicle. [Background technology]
[0002] Patent Document 1 discloses a method for updating software stored in the memory of a portable information device such as a mobile phone. In this method, when the power supply voltage of the portable information terminal is equal to or higher than a voltage threshold, updating of the software in the memory is permitted. On the other hand, when the power supply voltage is lower than the voltage threshold, updating of the software in the memory is prohibited. The voltage threshold is set to a voltage higher than the terminal voltage of the portable information terminal. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2005-286502 A Summary of the Invention [Problem to be solved by the invention]
[0004] Consider the case where the above-mentioned update method is applied to updating software of a storage device provided in a vehicle. The vehicle is equipped with a plurality of electrically-driven devices that are operated by power supplied from the vehicle's power source. In the vehicle, an update of the software of the storage device is started on the condition that the voltage of the power source is equal to or higher than a voltage threshold. If the software is updated while the vehicle is running, the electrically-driven devices may start up during the update. When the electrically-driven devices start up, the voltage of the power source drops. If the voltage of the power source falls below the termination voltage due to the start-up of such electrically-driven devices, the software update may fail.
[0005] One method to prevent the power supply voltage from falling below the termination voltage during software updates is to set a voltage threshold that is sufficiently higher than the termination voltage. However, in this case, the power supply voltage is less likely to exceed the voltage threshold, which reduces the opportunities for software updates. [Means for solving the problem]
[0006] The electronic control device for solving the above problem is a device mounted on a vehicle equipped with a power source and a plurality of electrically-driven devices that are operated by power supplied from the power source. The electronic control device includes an execution device and a storage device that stores software executed by the execution device. When a power supply voltage, which is the voltage of the power source, is equal to or higher than an operation permission voltage that is higher than an updatable voltage of the electronic control device, the execution device starts an update process for updating the software of the storage device, and when a request is made to operate at least one of the electrically-driven devices while the software of the storage device is being updated, executes a voltage drop suppression process for suppressing a drop in the power supply voltage.
[0007] A software update method for solving the above problem is a method for updating software of a storage device provided in a vehicle. The vehicle includes an electric device and an electronic control device that are operated by power supplied from a power source of the vehicle. The software update method includes the steps of: causing an update processing unit to start updating the software of the storage device when a power supply voltage that is the voltage of the power supply is equal to or higher than an operation permission voltage that is higher than an updatable voltage of the electronic control device; and causing a voltage drop suppression unit to suppress a drop in the power supply voltage when a request is made to operate the electric device while the update processing unit is updating the software of the storage device. Effect of the Invention
[0008] To prevent a power supply voltage from falling below an updatable voltage of an electronic control device during software update while suppressing a decrease in opportunities for software update. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a schematic diagram showing a vehicle equipped with an electronic control device according to a first embodiment and a data center installed outside the vehicle. [Diagram 2] FIG. 2 is a block diagram showing a functional configuration when updating software of the electronic control unit shown in FIG. [Diagram 3] FIG. 3 is a table showing the priority order when starting electrically-powered devices. [Figure 4] FIG. 4 is a flowchart showing a process flow when updating software. [Diagram 5] FIG. 5 is a flowchart showing a process for suppressing a drop in the power supply voltage. [Figure 6] FIG. 6 is a flowchart showing a part of a process flow for suppressing a drop in the power supply voltage in the electronic control device of the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] (First embodiment) Hereinafter, a first embodiment of an electronic control device and a software update method will be described with reference to Fig. 1 to Fig. 5. In this specification, the electronic control device is referred to as "ECU." "ECU" is an abbreviation of "Electronic Control Unit."
[0011] FIG. 1 illustrates a vehicle 10 and a data center 100 provided outside the vehicle 10 . <Data Center> The data center 100 is configured to be able to transmit and receive various types of information to and from the vehicle 10 via the external vehicle network 200. That is, the data center 100 transmits and receives various types of information to and from the vehicle 10 by wireless communication.
[0012] As will be described in detail later, the vehicle 10 includes a plurality of ECUs. When update software for updating the software in the storage device of any of the plurality of ECUs is prepared, the data center 100 transmits the update software to the vehicle 10 via the external vehicle network 200. Among the plurality of ECUs mounted on the vehicle, the ECU whose software is to be updated is referred to as the "update target ECU."
[0013] <Vehicle> The vehicle 10 includes a power source 11 and a plurality of electrically-powered devices. Each of the plurality of electrically-powered devices operates by receiving power from the power source 11. For example, the power source 11 is a battery that supplies charged electricity as power.
[0014] The plurality of electric devices include a plurality of comfort devices 21 and a plurality of driving electric devices 22. The comfort devices 21 are electric devices mounted on the vehicle 10 for the purpose of improving the comfort of the passengers of the vehicle 10. For example, the plurality of comfort devices include an air conditioner, a power window device, a seat adjustment device, a seat heater, and an audio system.
[0015] The electric devices for traveling are electric devices necessary for traveling the vehicle 10. For example, the multiple electric devices for traveling include a brake device, a drive device (such as an engine or a traveling motor) of the vehicle 10, an electric parking device, an electric power steering device, and lights.
[0016] The vehicle 10 includes a communication device 30, an information processing device 40, a plurality of ECUs 50, and a power supply voltage detection unit 60. The communication device 30, the information processing device 40, and the plurality of ECUs 50 each operate by receiving power from a power source 11.
[0017] The communication device 30 is an interface on the vehicle side for transmitting and receiving information to and from the data center 100 . The information processing device 40 is configured to be able to communicate with the communication device 30 via a local network 31. The local network 31 is a network for transmitting and receiving information only between the information processing device 40 and the communication device 30.
[0018] The information processing device 40 includes an execution device 41, a storage device 42, and a storage device 43. For example, the execution device 41 is a CPU, the storage device 42 is a non-volatile memory, and the storage device 43 is a volatile memory. The storage device 42 stores software executed by the execution device 41. The storage device 43 temporarily stores information transmitted from the communication device 30 via the local network 31. That is, when the data center 100 transmits information identifying the ECU to be updated and software for updating to the vehicle 10, the communication device 30 receives the information transmitted by the data center 100. Then, the communication device 30 transmits the received information to the information processing device 40 via the local network 31. Then, the execution device 41 of the information processing device 40 stores the information received via the local network 31, i.e., the information identifying the ECU to be updated and software for updating, in the storage device 43.
[0019] The power supply voltage detection unit 60 detects the voltage generated by the power supply 11, i.e., the voltage of the power supply 11. The power supply voltage detection unit 60 then outputs the detected voltage as the power supply voltage VBT to the global network 33. This allows the multiple ECUs 50 electrically connected to the global network 33 to each obtain the power supply voltage VBT. The power supply voltage detection unit 60 is provided in, for example, a power supply management device that manages the charging state of the power supply 11.
[0020] <ecu> Each of the multiple ECUs 50 is configured to be able to communicate with the information processing device 40 via a global network 33. The global network 33 is an in-vehicle network that allows transmission and reception of information between the information processing device 40 and the multiple ECUs 50. For example, the global network 33 is a CAN bus. CAN is an abbreviation for "Controller Area Network."
[0021] Each of the multiple ECUs 50 includes an execution device 51, a first storage device 52, and a second storage device 53. For example, the execution device 51 is a CPU, and the first storage device 52 and the second storage device 53 are non-volatile memories. The first storage device 52 stores multiple types of software executed by the execution device 51. The second storage device 53 stores tables, maps, and the like that the execution device 51 refers to when executing the software.
[0022] <Functional configuration of the execution device> As shown in Fig. 2, when the execution device 51 of the ECU 50 receives from the information processing device 40 a notice that the execution device 51 is an ECU to be updated, the execution device 51 functions as an update processing unit M11 that updates the software AP in the first storage device 52. In Fig. 2, the storage unit in which the software AP to be updated is written is referred to as the "storage unit M15". In this embodiment, a part of the first storage device 52 corresponds to the storage unit M15. The update processing unit M11 receives update software from the information processing device 40. The update processing unit M11 then updates the software AP by writing the received update software to the storage unit M15.
[0023] When the execution device 51 is updating the software AP, it functions as a voltage drop suppression unit M13 that suppresses a drop in the power supply voltage VBT, which is the voltage of the power supply 11. The voltage drop suppression unit M13 suppresses a drop in the power supply voltage VBT by referring to the priority order table TL.
[0024] In addition, when the execution device 51 functions as the update processing unit M11, a series of processes executed by the execution device 51 corresponds to the "update process". When the execution device 51 functions as the voltage drop suppression unit M13, a series of processes executed by the execution device 51 corresponds to the "voltage drop suppression process".
[0025] The priority order table TL will be described with reference to Fig. 3. The priority order table TL is stored in the second storage device 53. In Fig. 3, the number of electrically-driven devices operated by power supply from the power source 11 is 10, but this is an example, and the actual number of electrically-driven devices is not necessarily 10. In the example shown in Fig. 3, among the multiple electrically-driven devices, the electrically-driven device 22A, the electrically-driven device 22B, the electrically-driven device 22C, the electrically-driven device 22D, and the electrically-driven device 22E are electrically-driven devices for traveling. In addition, the electrically-driven device 21A, the electrically-driven device 21B, the electrically-driven device 21C, the electrically-driven device 21D, and the electrically-driven device 21E are comfort devices.
[0026] In the priority order table TL, a priority order for starting is set for each of the electric devices 22A-22E, 21A-21E. Specifically, the priority order of the electric devices 22A-22E corresponding to the traveling electric devices is higher than the priority order of the electric devices 21A-21E corresponding to the comfort devices. Furthermore, a priority order is set among the electric devices 22A-22E corresponding to the traveling electric devices. Similarly, a priority order is set among the electric devices 21A-21E corresponding to the comfort devices.
[0027] <Update process> The update process will be described with reference to Fig. 4. The execution device 51 repeatedly executes the update process for each predetermined control cycle. The execution device 51 functions as an update processing unit M11 to execute a plurality of steps S11 to S21 constituting the update process.
[0028] In step S11, the execution device 51 determines whether or not the software AP in its first storage device 52 is ready to be updated. For example, when the execution device 51 is notified that update software is stored in the storage device 43 of the information processing device 40, the execution device 51 determines that the software is ready to be updated. If the execution device 51 determines that the update is ready (S11: YES), the process proceeds to step S13. On the other hand, if the execution device 51 determines that the update is not ready (S11: NO), the execution device 51 temporarily ends the update process.
[0029] In step S13, the execution device 51 judges whether the power supply voltage VBT is equal to or higher than the operation permission voltage VP of the ECU 50. The operation permission voltage VP is set to a voltage higher than the updateable voltage VE of the ECU 50. The updateable voltage VE is a lower limit of the voltage at which the execution device 51 can execute the software rewrite function or a voltage slightly higher than the lower limit. For example, when the execution device 51 is a CPU, the updateable voltage VE is set based on a reset voltage at which the CPU becomes inoperable or a designed operation guaranteed voltage. In this case, the updateable voltage VE may be set to a voltage higher by a predetermined deviation than the reset voltage at which the execution device 51 can execute the software rewrite function or the designed operation guaranteed voltage. When the software AP update is started, the power consumption in the ECU 50 increases, so the power supply voltage VBT drops. At this time, if the power supply voltage VBT before the software AP update is not very high, the power supply voltage VBT may fall below the updateable voltage VE during the software AP update. If the power supply voltage VBT falls below the updateable voltage VE, the ECU 50 may not operate normally. If the ECU 50 does not operate normally, the update of the software AP may fail. Therefore, the operation permission voltage VP is set as a criterion for determining whether or not the power supply voltage VBT may become less than the updateable voltage VE during the update of the software AP. When the power supply voltage VBT is less than the operation permission voltage VP, it is considered that the power supply voltage VBT may become less than the updateable voltage VE during the update of the software AP. On the other hand, when the power supply voltage VBT is equal to or greater than the operation permission voltage VP, it is considered that the power supply voltage VBT is less likely to become less than the updateable voltage VE during the update of the software AP. Therefore, when the power supply voltage VBT is equal to or greater than the operation permission voltage VP (S13: YES), the execution unit 51 shifts the process to step S15. On the other hand, when the power supply voltage VBT is less than the operation permission voltage VP (S13: NO), the execution unit 51 temporarily ends the update process. That is, when the power supply voltage VBT is less than the operation permission voltage VP, the execution unit 51 does not update the software AP.
[0030] In step S15, the execution unit 51 starts updating the software AP. That is, the execution unit 51 starts updating the software AP when the power supply voltage VBT is equal to or higher than the operation permission voltage VP. Therefore, step S15 corresponds to a step of causing the update processing unit M11 to start updating the software AP.
[0031] When updating the software AP, the execution unit 51 requests the information processing device 40 to transmit the update software. Then, the execution unit 51 writes the update software received from the information processing device 40 to the first storage device 52. When the execution unit 51 starts updating the software AP, the process proceeds to step S17.
[0032] In step S17, the execution unit 51 determines whether the update of the software AP is complete. If the execution unit 51 determines that the update is complete (S17: YES), the execution unit 51 temporarily ends the update process. On the other hand, if the execution unit 51 determines that the update is not complete (S17: NO), the execution unit 51 proceeds to step S19.
[0033] In step S19, the execution unit 51 determines whether the power supply voltage VBT is equal to or lower than the updatable voltage VE. If the power supply voltage VBT is equal to or lower than the updatable voltage VE (S19: YES), the execution unit 51 shifts the process to step S21. If the power supply voltage VBT is higher than the updatable voltage VE (S19: NO), the execution unit 51 shifts the process to step S17. In this case, the execution unit 51 continues updating the software AP.
[0034] In step S21, the execution unit 51 stops updating the software AP, and then the execution unit 51 temporarily ends the update process. <Voltage drop suppression processing> The voltage drop suppression process will be described with reference to Fig. 5. The execution device 51 repeatedly executes the voltage drop suppression process for each predetermined control cycle. Steps S31 to S53 constituting the voltage drop suppression process are executed by the execution device 51 functioning as the voltage drop suppression unit M13.
[0035] In step S31, the execution unit 51 determines whether or not the software AP in the first storage device 52 is being updated. If the software AP is being updated (S31: YES), the execution unit 51 proceeds to step S35. On the other hand, if the software AP is not being updated (S31: NO), the execution unit 51 proceeds to step S33.
[0036] In step S33, the execution unit 51 releases the prohibition on operation of the comfort devices 21. As a result, if there is a comfort device 21 whose operation has been prohibited because the software AP is being updated, that comfort device 21 starts up. Then, the execution unit 51 temporarily ends the voltage drop suppression process.
[0037] In step S35, the execution unit 51 determines whether or not there is a request to operate the comfort device 21. If the execution unit 51 determines that there is a request to operate the comfort device 21 (S35: YES), the execution unit 51 shifts the process to step S37. On the other hand, if the execution unit 51 determines that there is no request to operate the comfort device 21 (S35: NO), the execution unit 51 shifts the process to step S39.
[0038] In step S37, the execution device 51 prohibits the operation of the comfort device 21. Specifically, the execution device 51 notifies the other ECU 50 that controls the comfort device 21 that the operation of the comfort device 21 is prohibited. As a result, the comfort device 21 is not started, and a drop in the power supply voltage VBT is suppressed. Therefore, step S37 corresponds to a step of causing the voltage drop suppression unit M13 to suppress a drop in the power supply voltage VBT. After that, the execution device 51 transitions the process to step S39.
[0039] In this case, the execution unit 51 prohibits new operation of the comfort device 21. In other words, the execution unit 51 permits the continuation of operation of the comfort device 21 that has been operating before the update of the software AP was started.
[0040] In step S39, the execution unit 51 determines whether or not there is a request to operate the traveling electric device 22. If the execution unit 51 determines that there is a request to operate the traveling electric device 22 (S39: YES), the execution unit 51 proceeds to step S41. On the other hand, if the execution unit 51 determines that there is no request to operate the traveling electric device 22 (S39: NO), the execution unit 51 temporarily ends the voltage drop suppression process.
[0041] In step S41, the execution unit 51 determines whether or not there is a request to operate multiple electric traveling devices 22. If there is a request to operate multiple electric traveling devices 22 (S41: YES), the execution unit 51 shifts the process to step S45. On the other hand, if there is a request to operate only one electric traveling device 22 (S41: NO), the execution unit 51 shifts the process to step S43.
[0042] In step S43, the execution unit 51 permits the start of the electric traveling device 22 for which there is a request to operate. Specifically, the execution unit 51 notifies the other ECU 50 that controls the electric traveling device 22 of the permission to start the device. Then, the execution unit 51 temporarily ends the voltage drop suppression process.
[0043] In step S45, the execution unit 51 sets the count M to 1. In the following step S47, the execution unit 51 permits the start of the Mth electric device among the N traveling electric devices 22 for which an operation request has been made. Specifically, the execution unit 51 notifies the other ECU 50 that controls the Mth electric device that the start-up is permitted. Here, the count M indicates the level of priority. Specifically, the count M represents the priority among the N traveling electric devices 22 for which an operation request has been made. Therefore, when the count M is 1, the execution unit 51 permits the start of the traveling electric device 22 with the highest priority among the N traveling electric devices 22 for which an operation request has been made. On the other hand, when the count M is 2, the execution unit 51 permits the start of the traveling electric device 22 with the second highest priority among the N traveling electric devices 22.
[0044] Then, in step S49, the execution unit 51 judges whether or not the start-up of the Mth electric device is completed. When the electric device is started, an inrush current flows through the electric device, so that the power supply voltage VBT drops significantly temporarily and then rises. Therefore, the execution unit 51 can judge whether or not the start-up of the Mth electric device is completed by, for example, monitoring such a change in the power supply voltage VBT. The execution unit 51 may also be configured to determine that the start-up of the Mth electric device is completed by receiving a notification that the start-up of the Mth electric device is completed from the other ECU 50 that controls the Mth electric device. At this time, the other ECU 50 that controls the Mth electric device may be configured to notify that the start-up is completed when a predetermined time has elapsed since the start-up of the Mth electric device. When the execution unit 51 judges that the start-up of the Mth electric device is completed (S49: YES), the process proceeds to step S51. On the other hand, if the execution device 51 determines that the start-up of the Mth electrically-driven device has not been completed (S49: NO), it repeats the determination in step S49 until it can determine that the start-up has been completed.
[0045] In step S51, the execution unit 51 increments the count M by 1. In the next step S53, the execution unit 51 determines whether or not the count M is greater than the number of operation requests N. If the count M is greater than the number of operation requests N, it is assumed that all of the N traveling electric devices 22 for which an operation request has been made have been started. On the other hand, if the count M is equal to or less than the number of operation requests N, it is assumed that among the N traveling electric devices 22 for which an operation request has been made, there is at least one traveling electric device 22 that has not yet been started. Therefore, if the count M is greater than the number of operation requests N (S53: YES), the execution unit 51 temporarily ends the voltage drop suppression process. On the other hand, if the count M is equal to or less than the number of operation requests N (S53: NO), the execution unit 51 transitions the process to step S47.
[0046] That is, when the execution unit 51 is requested to operate N electric devices 22 for traveling, the execution unit 51 permits the start of the electric device 22 for traveling with the highest priority among the N electric devices for traveling. Then, after the electric device 22 for traveling is started, the execution unit 51 permits the start of the electric device 22 for traveling with the next highest priority. The electric device 22 for traveling with the highest priority is designated as the "first electric device", and the electric device 22 for traveling with the next highest priority is designated as the "second electric device". At this time, the execution unit 51 permits the start of the first electric device, and permits the start of the second electric device after the first electric device is started. Therefore, a series of processes from step S45 to step S53 corresponds to a step of causing the voltage drop suppression unit M13 to suppress a drop in the power supply voltage VBT.
[0047] <Actions and Effects of the Present Embodiment> (1-1) When the first storage device 52 is ready to update the software AP, the execution device 51 starts updating the software AP on condition that the power supply voltage VBT is equal to or higher than the operation permission voltage VP. When updating the software AP in this manner, the execution device 51 suppresses a drop in the power supply voltage VBT by executing a voltage drop suppression process. Therefore, the power supply voltage VBT is less likely to fall below the update-enabled voltage VE during the update of the software AP.
[0048] Here, if a voltage sufficiently higher than the updateable voltage VE is set as the operation permission voltage VP, the power supply voltage VBT will not fall below the updateable voltage VE during the update of the software AP even without executing the voltage drop suppression process. However, if the operation permission voltage VP is made high, the power supply voltage VBT will not easily exceed the operation permission voltage VP, and there will be fewer opportunities to update the software AP.
[0049] In this regard, the ECU 50 executes a voltage drop suppression process during the update of the software AP. Therefore, the ECU 50 does not need to set the operation permission voltage VP so high. Therefore, the ECU 50 can suppress the power supply voltage VBT from falling below the update-enabled voltage VE during the update of the software AP while suppressing a decrease in opportunities to update the software AP.
[0050] (1-2) When an electrically-driven device is started, an inrush current flows through the electrically-driven device, causing a temporary drop in the power supply voltage VBT. Therefore, if multiple electrically-driven devices are started simultaneously while updating the software AP, the power supply voltage VBT may drop significantly, causing the power supply voltage VBT to fall below the updateable voltage VE. Therefore, when a request to start multiple electric propulsion devices 22 is made while updating the software AP, the execution unit 51 of the ECU 50 starts the multiple electric propulsion devices 22 one by one in sequence. Specifically, the execution unit 51 is configured to preferentially start the electric propulsion device 22 with a higher priority. This allows the ECU 50 to prevent the power supply voltage VBT from falling below the updateable voltage VE while updating the software AP.
[0051] Furthermore, in the vehicle 10, since the electric drive unit 22 can be operated even while the software AP is being updated, the ECU 50 can update the software AP even while the vehicle 10 is running. In this respect, too, the ECU 50 can increase the opportunities for updating the software AP.
[0052] (1-3) While the vehicle 10 is traveling, it is less necessary to operate the comfort device 21 compared to the traveling electric device 22. Therefore, when the ECU 50 is in the middle of updating the software AP and a request is made to start the comfort device 21, the ECU 50 suppresses a drop in the power supply voltage VBT by prohibiting the start of the comfort device 21. This allows the ECU 50 to suppress a failure in updating the software AP due to the comfort device 21 being started.
[0053] Second embodiment A second embodiment of an ECU and a software update method will be described with reference to Fig. 6. In the second embodiment, a part of the contents of the voltage drop suppression process is different from that of the first embodiment. In the following description, the parts different from the first embodiment will be mainly described, and the same reference numerals will be used to designate the same members as those in the first embodiment, and duplicated description will be omitted.
[0054] <Voltage drop suppression processing> FIG. 6 shows a part of the voltage drop suppression process executed by the ECU 50 of this embodiment.
[0055] When the execution device 51 determines that the software AP in the first storage device 52 is being updated (S31: YES) and that there is a request to operate the comfort device 21 (S35: YES), the execution device 51 transitions the process to step S361.
[0056] In step S361, the execution unit 51 determines whether or not there is a plurality of comfort devices 21 for which an activation request has been made. If there are a plurality of comfort devices 21 for which an activation request has been made (S361: YES), the execution unit 51 shifts the process to step S363. On the other hand, if there is only one comfort device 21 for which an activation request has been made (S361: NO), the execution unit 51 shifts the process to step S367.
[0057] In step S363, the execution unit 51 permits the activation of only the comfort device 21 with the highest priority among the multiple comfort devices 21 for which activation has been requested. Specifically, the execution unit 51 notifies the other ECUs 50 that control the comfort device 21 with the highest priority that activation of the comfort device 21 is permitted. On the other hand, the execution unit 51 notifies the other ECUs 50 that control comfort devices 21 other than the comfort device 21 with the highest priority that activation of the comfort device 21 is prohibited. Then, the execution unit 51 transitions the process to step S365.
[0058] In step S365, the executing unit 51 determines whether or not the start-up of the comfort device 21 has been completed. For example, the executing unit 51 determines whether or not the start-up of the comfort device 21 has been completed by monitoring a change in the power supply voltage VBT caused by the start-up of the comfort device 21. Alternatively, for example, the executing unit 51 may determine that the start-up of the comfort device 21 has been completed by receiving a notification from another ECU 50 that the start-up of the comfort device 21 has been completed. When the executing unit 51 determines that the start-up of the comfort device 21 has been completed (S365: YES), the executing unit 51 shifts the process to step S39. On the other hand, when the executing unit 51 determines that the start-up of the comfort device 21 has not been completed (S365: NO), the executing unit 51 repeatedly executes the determination in step S365 until it can determine that the start-up has been completed.
[0059] In step S367, the execution unit 51 permits the start of the comfort device 21 for which an operation request has been made. Specifically, the execution unit 51 notifies the other ECU 50 that controls the comfort device 21 that the operation of the comfort device 21 is permitted. Then, the execution unit 51 transitions the process to step S365.
[0060] In this embodiment, when a request is made to operate a plurality of comfort devices 21 while the software AP is being updated, the execution device 51 starts only the comfort device 21 with the highest priority among the plurality of comfort devices 21. In other words, when a request is made to operate a plurality of comfort devices 21 while the software AP is being updated, the execution device 51 prohibits the start-up of the comfort device with the lowest priority among the plurality of comfort devices 21.
[0061] <Actions and Effects of the Present Embodiment> In this embodiment, in addition to the same actions and effects as the effects (1-1) and (1-2) of the first embodiment, the following effects can be further obtained.
[0062] (2-1) When a request to start a plurality of comfort devices 21 is made while the software AP is being updated, the execution device 51 of the ECU 50 in this embodiment starts only one of the plurality of comfort devices 21. Specifically, the execution device 51 starts only the comfort device 21 with the highest priority among the plurality of comfort devices 21. By thus limiting the number of comfort devices 21 to be operated, the ECU 50 can suppress a drop in the power supply voltage VBT during the update of the software AP.
[0063] (2-2) In this embodiment, the comfort device 21 can be operated even while the software AP is being updated. This allows the ECU 50 to update the software AP while suppressing a decrease in the comfort of the passengers of the vehicle 10.
[0064] (Example of change) The above-described embodiments may be modified as follows: The above-described embodiments and the following modifications may be combined with each other to the extent that they are not technically inconsistent.
[0065] In the second embodiment, when a request is made to start up the comfort device 21 and the electric device for traveling 22, the execution device 51 starts up the comfort device 21 and then starts up the electric device for traveling 22 in the voltage drop suppression process. However, the execution device 51 may start up the comfort device 21 and then start up the electric device for traveling 22.
[0066] In the second embodiment, when a request is made to operate a plurality of comfort devices 21, the execution device 51 may prohibit the activation of only the comfort device with the lowest priority among the plurality of comfort devices 21 in the voltage drop suppression process. In this case, when a request is made to operate, for example, three or more comfort devices 21, the execution device 51 permits the activation of the comfort device 21 with the highest priority and the comfort device 21 with the second highest priority. Note that even when a plurality of comfort devices 21 are to be activated, the execution device 51 permits the activation of the plurality of comfort devices 21 one by one in order.
[0067] In the second embodiment, when the execution device 51 is requested to operate a plurality of comfort devices 21, the execution device 51 may start a comfort device 21 other than the comfort device 21 having the highest priority, as long as only a portion of the plurality of comfort devices 21 is started in the voltage drop suppression process.
[0068] In the first embodiment, when a request is made to operate the comfort device 21, the execution device 51 prohibits the start of the comfort device 21 regardless of whether a request is made to operate the electric device for traveling 22, but this is not limited to the above. For example, when a request is made to operate the comfort device 21 and the operation of the electric device for traveling 22 is not requested, the execution device 51 may permit the start of the comfort device 21. However, when a request is made to operate multiple comfort devices 21, the execution device 51 permits the start of the multiple comfort devices 21 one by one.
[0069] The execution device 51 does not need to distinguish between the electric device for traveling 22 and the comfort device 21. In this case, when a request is made to operate a plurality of electric devices including the electric device for traveling 22 and the comfort device 21, the execution device 51 permits the start of the plurality of electric devices one by one in sequence in the voltage drop suppression process. As shown in FIG. 3, the priority of the comfort device is lower than the priority of the electric device for traveling. Therefore, the comfort device 21 starts after the start of all electric devices for traveling 22 that have been requested to be operated is completed.
[0070] The ECU 50 may be a multi-core processor having multiple processor cores. In this case, when updating the software AP, a first processor core among the multiple processor cores may function as a first execution device that executes the update process, and a second processor core may function as a second execution device that executes the voltage drop process. That is, the first execution device functions as the update processing unit M11, and the second execution device functions as the voltage drop suppression unit M13.
[0071] In the above embodiments, the execution device 51 of the ECU to be updated also functions as the update processing unit M11 and the voltage drop suppression unit M13, but this is not limited thereto. For example, the execution device 51 of the ECU to be updated may also function as the update processing unit M11, while an execution device of a device other than the ECU to be updated may function as the voltage drop suppression unit M13. For example, the execution device 41 of the information processing device 40 may function as the voltage drop suppression unit M13. In this case, the storage device 42 of the information processing device 40 is caused to store a priority order table TL as shown in FIG. 3.
[0072] In the above embodiments, the power supply voltage detection unit 60 is provided separately from the ECU 50, but this is not limited thereto. The power supply voltage detection unit 60 may be provided in the ECU 50. For example, the power supply voltage detection unit 60 may be configured in the ECU 50 to detect the voltage of a power supply line connected to supply power from the power supply 11 to the ECU 50 as the power supply voltage VBT, and the power supply voltage VBT detected by the power supply voltage detection unit 60 may be transmitted to the execution device 51 using a signal line. Alternatively, the power supply voltage detection unit 60 may be provided in the execution device 51 so that the execution device 51 can directly detect the voltage of the power supply line as the power supply voltage VBT.
[0073] The ECU 50 is not limited to having a CPU and a ROM and executing software processing. That is, the ECU 50 may have any one of the following configurations (a), (b), and (c).
[0074] (a) The ECU 50 includes one or more processors that execute various processes according to a computer program. The processor includes a CPU and memory such as RAM and ROM. The memory stores program codes or instructions that are configured to cause the CPU to execute processes. The memory, i.e., computer-readable media, includes any available media that can be accessed by a general-purpose or special-purpose computer.
[0075] (b) The ECU 50 includes one or more dedicated hardware circuits that execute various processes. Examples of the dedicated hardware circuits include application specific integrated circuits, i.e., ASIC and FPGA. ASIC is an abbreviation for "Application Specific Integrated Circuit." FPGA is an abbreviation for "Field Programmable Gate Array."
[0076] (c) The ECU 50 includes a processor that executes some of the various processes in accordance with a computer program, and a dedicated hardware circuit that executes the remaining processes among the various processes.
[0077] <Other technical ideas> The technical ideas that can be understood from the above-described embodiments and modified examples will be described below. (Supplementary Note 1) A control device that is mounted on a vehicle including a power source, a plurality of electrically-driven devices that are operated by power supplied from the power source, and a storage device, and that updates software stored in the storage device, an update processing unit that starts updating the software of the storage unit when a power supply voltage that is a voltage of the power supply is equal to or higher than an operation permission voltage that is higher than an updateable voltage of the control device; a voltage drop suppression unit that executes a voltage drop suppression process to suppress a drop in the power supply voltage when a request is made to operate at least one of the plurality of electric devices while the software of the memory unit is updated.
[0078] (Note 2) It is preferable that the control device is configured to include at least one ECU. The term "at least one" used herein means "one or more" of the desired options. As an example, the term "at least one" used herein means "only one option" or "both of two options" if the number of options is two. As another example, the term "at least one" used herein means "only one option" or "any combination of two or more options" if the number of options is three or more. [Explanation of symbols]
[0079] 10…Vehicle 11...Power supply 21, 21A-21E…Comfort equipment (examples of electric equipment) 22, 22A to 22E...Traveling electric device (an example of an electric device) 50…ECU (electronic control unit) 51...Execution device 52...1st storage device 53…Second storage device M11…Update processing section M13: Voltage drop suppression section< / ecu>
Claims
1. An electronic control device mounted on a vehicle including a power source and a plurality of electrically-driven devices that are operated by power supplied from the power source, An execution device and a storage device storing software to be executed by the execution device, The execution device is When a power supply voltage, which is a voltage of the power supply, is equal to or higher than an operation permission voltage that is higher than an updateable voltage of the electronic control device, an update process is started to update the software of the storage device; When a request is made to operate at least one of the plurality of electrically-driven devices while the software of the storage device is being updated, a voltage drop suppression process is executed to suppress a drop in the power supply voltage. Electronic control unit.
2. When a request is made to operate the plurality of electrically-driven devices while the software of the storage device is being updated, the execution device permits the start-up of a first electrically-driven device among the plurality of electrically-driven devices in the voltage drop suppression process, and permits the start-up of a second electrically-driven device after the start-up of the first electrically-driven device. The electronic control device according to claim 1 .
3. Priorities are set for the plurality of electrically-driven devices; When a request is made to operate the plurality of electrically-driven devices while the software of the storage device is being updated, the execution device permits the start of the electrically-driven device having the highest priority among the plurality of electrically-driven devices in the voltage drop suppression process, and permits the start of the electrically-driven device having the next highest priority after the first electrically-driven device has been started. The electronic control device according to claim 1 .
4. the plurality of powered devices includes a plurality of comfort devices; When a request is made to operate the plurality of comfort devices while the software of the storage device is being updated, the execution device prohibits the start-up of at least one of the plurality of comfort devices in the voltage drop suppression process. The electronic control device according to any one of claims 1 to 3.
5. Priorities are set for the plurality of comfort devices; When the execution device is requested to operate the plurality of comfort devices while updating the software of the storage device, the execution device prohibits the activation of the comfort device having the lowest priority among the plurality of comfort devices in the voltage drop suppression process. The electronic control device according to claim 4.
6. the plurality of powered devices includes a plurality of comfort devices; Priorities are set for the plurality of comfort devices; When a request is made to operate the plurality of comfort devices while the software of the storage device is being updated, the execution device permits activation of only the comfort device having the highest priority among the plurality of comfort devices in the voltage drop suppression process. The electronic control device according to any one of claims 1 to 3.
7. A software updating method for updating software of a storage device provided in a vehicle, comprising: The vehicle includes an electric device and an electronic control device that are operated by power supplied from a power source of the vehicle, When a power supply voltage, which is a voltage of the power supply, is equal to or higher than an operation permission voltage that is higher than an update-enabled voltage of the electronic control device, causing an update processing unit to start updating the software of the storage device; and when a request is made to operate the electrically-powered device while the software of the storage device is being updated by the update processing unit, causing a voltage drop suppression unit to suppress a drop in the power supply voltage. How to update software.
Citation Information
Patent Citations
Portable information equipment, program rewriting method, and program
JP2005286502A
