Control device, control system, control method, and control program

The control system addresses ECU software update challenges by storing software before updates and using a proxy to maintain functionality, ensuring cost-effective and uninterrupted ECU operations.

JP2024167552AActive Publication Date: 2024-12-04YAZAKI CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023083707
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-22
Publication Date
2024-12-04
Estimated Expiration
2043-05-22

AI Technical Summary

Technical Problem

Existing single bank ECU software updates in vehicles face issues where the software cannot be stored during the update process, leading to potential failures and interruptions in ECU functionality, especially when updates fail.

Method used

A control system and method that includes a storage mechanism to store ECU software before updating, allowing for backup and restoration, and a proxy processing unit to maintain functionality during updates, ensuring seamless operation even in single bank configurations.

Benefits of technology

Enables low-cost software updates for ECUs without interrupting vehicle functions, allowing successful restoration in case of update failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024167552000001_ABST
    Figure 2024167552000001_ABST
Patent Text Reader

Abstract

To update software of a control device at low cost.SOLUTION: A second control device 200 connected to a first control device 100 via a first communication network CN1 updates the software of the first control device 100. The second control device 200 acquires the software of the first control device 100 from the first control device 100 before the software update of the first control device 100 is started, and stores the acquired software in a storage unit 220 of the second control device 200.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device, a control system, a control method, and a control program. [Background technology]

[0002] One method for updating software in an ECU (Electronic Control Unit) that controls electrical components of a vehicle is a method using wireless communication (OTA (Over The Air) update). For example, Patent Document 1 discloses a method for updating ECU software in a zone-based control system using an OTA update. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2022-160927 A Summary of the Invention [Problem to be solved by the invention]

[0004] There are single bank and dual bank configurations for software updates, with the single bank configuration being less expensive. However, if an ECU is updated with a single bank configuration, the ECU software before the update cannot be stored in the ECU during the ECU software update, and if the ECU software update fails, the ECU software cannot be restored. Also, if an ECU is updated with a single bank configuration, the ECU functions cannot be executed during the ECU software update.

[0005] Therefore, an object of the present invention is to update the software of a control device at low cost. [Means for solving the problem]

[0006] In order to solve the above problem, a control device according to one embodiment of the present invention is a second control device having a memory unit and a control unit, and connected to a first control device via a first communication network, wherein the control unit has an update processing unit that updates the software of the first control device, and a software acquisition processing unit that acquires the software of the first control device from the first control device before the update of the software of the first control device begins, and stores the acquired software in the memory unit.

[0007] A control system according to an embodiment of the present invention includes a plurality of first control devices and the second control device connected to the plurality of first control devices via the first communication network.

[0008] A control system according to an embodiment of the present invention includes a plurality of the second control devices and a third control device connected to the plurality of second control devices via a second communication network.

[0009] A control method according to one embodiment of the present invention is a control method executed by a second control device connected to a first control device via a first communication network, and includes an update processing step of updating software of the first control device, and a software acquisition processing step of acquiring the software of the first control device from the first control device before starting the update of the software of the first control device, and storing the acquired software in a memory unit of the second control device.

[0010] A control program according to an embodiment of the present invention causes a computer to execute the above control method. Effect of the Invention

[0011] According to the present invention, it is possible to update the software of the control device at low cost. [Brief description of the drawings]

[0012] [Figure 1]FIG. 1 illustrates a control system according to an embodiment of the present invention. [Diagram 2] FIG. 1 illustrates a first control device 100. [Diagram 3] FIG. 2 is a diagram showing a second control device 200. [Figure 4] 2 is a diagram showing a control unit 210 of a second control device 200. FIG. [Diagram 5] FIG. 11 is a diagram showing an example of a processing operation executed by a control unit 210 of a second control device 200 when update data for software of the first control device 100 exists in another device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] <Control system> Fig. 1 is a diagram showing a control system according to an embodiment of the present invention. The control system according to this embodiment includes a first control device 100, a second control device 200, and a third control device 300. The control system according to this embodiment is, for example, a zone-based control system for a vehicle M. In this case, the first control device 100, the second control device 200, and the third control device 300 are installed inside the vehicle M as shown in Fig. 1.

[0014] Devices such as a load L, an input device ID (e.g., a switch), and a sensor SE are connected to the first control device 100. The first control device 100 outputs information (e.g., a control signal for the load L) to the devices connected to the first control device 100. The first control device 100 also receives information (e.g., information input to the input device ID and a sensor signal from the sensor SE) from the devices connected to the first control device 100.

[0015] When the control system is a zone-based control system for a vehicle M, the load L is an electrical component of the vehicle M, such as a motor, a heater, or a light of the vehicle. In this case, for example, when the load L is a motor, the first control device 100 is an ECU for controlling the motor, when the load L is a heater, the first control device 100 is an ECU for controlling the heater, and when the load L is a light, the first control device 100 is an ECU for controlling the light.

[0016] The second control device 200 is connected to one or more first control devices 100 via a first communication network CN1, and the second control device 200 and the first control device 100 connected to the second control device 200 communicate with each other using the first communication network CN1. The second control device 200 transmits information (for example, information for controlling the first control device 100 or the load L connected to the first control device 100) to the first control device 100 connected to the second control device 200 using, for example, the first communication network CN1. In addition, the second control device 200 receives information (for example, information stored in the first control device 100 or information input to the first control device 100) from the first control device 100 connected to the second control device 200 using, for example, the first communication network CN1.

[0017] When the control system is a zone-based control system for the vehicle M, the second control device 200 is a zone ECU. In the zone-based control system, the vehicle M is divided into a plurality of areas, and one zone ECU is arranged in each of the plurality of areas. In each of the plurality of areas, the zone ECU manages an ECU for controlling a load L arranged in the area. In this case, the communication standard of the first communication network CN1 is, for example, Ethernet (registered trademark), CAN (Controller Area Network), MOST (Media Oriented System Transport), or FlexRay. When the second control device 200 is a zone ECU, devices such as the load L, an input device ID, and a sensor SE may be connected to the second control device 200.

[0018] The third control device 300 is connected to a plurality of second control devices 200 via a second communication network CN2 different from the first communication network CN1, and the third control device 300 and the second control device 200 communicate with each other using the second communication network CN2. The third control device 300 transmits information (for example, information for controlling the second control device 200, the first control device 100, and the load L connected to the first control device 100, and software for the second control device 200 and data for updating the software for the first control device 100) to the second control device 200 using the second communication network CN2. In addition, the third control device 300 receives information (for example, information stored in the second control device 200 or the first control device 100, and information received by the second control device 200 from the first control device 100) from the second control device 200 using the second communication network CN2.

[0019] When the control system is a zone-based control system of the vehicle M, the third control device 300 is a central ECU. In this case, the communication standard of the second communication network CN2 is, for example, Ethernet (registered trademark).

[0020] The third control device 300 is connected to an external device ED via a third communication network CN3 different from the first communication network CN1 and the second communication network CN2, and the third control device 300 and the external device ED communicate using the third communication network CN3.

[0021] When the control system is a zone-based control system for the vehicle M, the external device ED is installed outside the vehicle M. In this case, the third communication network CN3 is, for example, a communication network including wireless communication RC (for example, a mobile phone communication network or a short-range wireless communication (for example, Wi-Fi (registered trademark) or Bluetooth (registered trademark))) and the Internet IN, and the third control device 300 is connected to the Internet IN via, for example, the wireless communication RC.

[0022] <First control device 100> 2 is a diagram showing a first control device 100. The first control device 100 controls a load L connected to the first control device 100. The first control device 100 has a control unit 110, a storage unit 120, a communication unit 130, an input unit 140, and an output unit 150.

[0023] The control unit 110 is an information processing device configured by a computer. The storage unit 120 is a storage device for storing information such as a memory. The communication unit 130 is a communication device for transmitting and receiving information to and from the second control device 200 via the first communication network CN1. The input unit 140 is a device for receiving input of an input device ID and information from the sensor SE. The output unit 150 is a device for outputting information to the load L.

[0024] The control unit 110 controls the load L connected to the first control device 100. The control unit 110 controls the load L by outputting, from the output unit 150, information based on information received using communication by the communication unit 130 (e.g., information transmitted from another first control device, the second control device 200, the third control device 300, or an external device) or information input to the input unit 140 (e.g., information from an input device ID or a sensor SE connected to the input unit 140), for example.

[0025] The control unit 110 transmits information input to the input unit 140 (for example, an input device ID connected to the input unit 140 or information from a sensor SE) to other devices (other first control devices 100, second control devices 200, third control devices 300, and external devices ED) using communication via the communication unit 130.

[0026] The storage unit 120 stores software (software of the first control unit 100) that enables the control unit 110 to execute the functions of the first control unit 100, including the above-mentioned controls.

[0027] In addition to the software of the first control device 100, the storage unit 120 also stores software (substitution software) that cooperates with the second control device 200 and allows the second control device 200, described later, to substitute for the functions of the first control device 100. The control unit 110 uses this substitution software to disable the software of the first control device 100 stored in the storage unit 120 while the second control device 200, described later, is substituting for the functions of the first control device 100.

[0028] <Second control device 200> 3 is a diagram showing the second control device 200. The second control device 200 has a control unit 210, a storage unit 220, a first communication unit 230, and a second communication unit 240.

[0029] The control unit 210 is an information processing device configured by a computer. The storage unit 220 is a storage device for storing information such as a memory. The storage unit 220 is, for example, a memory having a plurality of banks. The first communication unit 230 is a communication device for transmitting and receiving information to and from the first control device 100 via the first communication network CN1. The second communication unit 240 is a communication device for transmitting and receiving information to and from other devices (for example, the third control device 300, the external device ED, another second control device 200, and the first control device 100 connected to the other second control device 200) via the second communication network CN2.

[0030] 4 is a diagram showing the control unit 210 of the second control device 200. The control unit 210 has an update data acquisition processing unit 211, a software acquisition processing unit 212, and an update processing unit 213.

[0031] If update data for the software of the first control device 100 connected to the second control device 200 exists in another device (for example, the third control device 300 or the external device ED), the update data acquisition processing unit 211 acquires the update data using communication by the second communication unit 240, and stores the acquired update data in the storage unit 220. When acquiring update data from the external device ED, the update data acquisition processing unit 211 acquires the update data from the external device ED via the third communication network CN3, the third control device 300, and the second communication network CN2.

[0032] When update data is acquired by the update data acquisition processing unit 211, the software acquisition processing unit 212 acquires software of the first control unit 100 corresponding to the update data from the first control unit 100 using communication via the first communication unit 230, and stores the acquired software in the memory unit 220.

[0033] When update data for the software of the first control device 100 is stored in the storage unit 220, the update processing unit 213 uses the update data to update the software of the first control device 100 that corresponds to the update data.

[0034] When the process of updating the software of the first control device 100 is completed, the update processing unit 213 checks whether or not the software update of the first control device 100 has been successful. For example, if activation of the updated software in the first control device 100 is successful, the update processing unit 213 determines that the software update of the first control device 100 has been successful, and if activation of the updated software in the first control device 100 is not successful, the update processing unit 213 determines that the software update of the first control device 100 has not been successful.

[0035] If the update of the software of the first control device 100 is successful, the update processing unit 213 erases the software of the first control device 100 and the update data stored in the storage unit 220.

[0036] If the update of the software of the first control device 100 is not successful, the update processing unit 213 installs the software of the first control device 100 stored in the storage unit 220 in the first control device 100. After the installation of the first control device 100 is completed, if the installation of the first control device 100 is successful, the update processing unit 213 erases the software and update data of the first control device 100 stored in the storage unit 220, and if the installation of the first control device 100 is not successful, the update processing unit 213 starts the installation of the software of the first control device 100 stored in the storage unit 220 in the first control device 100 again.

[0037] At this time, for example, if activation of the software after installation in the first control device 100 is successful, the update processing unit 213 determines that the installation of the software in the first control device 100 is successful, and if activation of the software after installation in the first control device 100 is not successful, the update processing unit 213 determines that the installation of the software in the first control device 100 is not successful.

[0038] Thus, in this embodiment, before the update of the first control device 100 is started, the software of the first control device 100 before being updated is stored in the storage unit 220 of the second control device 200. Therefore, in this embodiment, when the update of the first control device 100 is not successful, it is possible to restore the software of the first control device 100 to the state before the update by using the software of the first control device 100 stored in the storage unit 220 of the second control device 200. In particular, in this embodiment, even if the software update of the first control device 100 is performed in a single bank configuration, that is, even if the software of the first control device 100 before the update cannot be stored in the storage unit 120 of the first control device 100 during the software update of the first control device 100, it is possible to restore the software of the first control device 100 to the state before the update by using the software of the first control device 100 stored in the storage unit 220 of the second control device 200 when the update of the first control device 100 is not successful.

[0039] 4, the control unit 210 of the second control device 200 according to this embodiment further includes a substitute processing unit 214. While the update processing unit 213 is updating the software of the first control device 100, the substitute processing unit 214 substitutes for the functions of the first control device 100 using the software of the first control device stored in the storage unit 220. At this time, it is preferable that the update processing unit 213 starts updating the software of the first control device 100 after the substitute processing unit 214 starts substituting for the functions of the first control device 100.

[0040] The proxy processing unit 214 controls the load L connected to the first control device 100 instead of the control unit 110 of the first control device 100. At this time, the proxy processing unit 214 acquires information input to the input unit 140 of the first control device 100 (for example, information from an input device ID or a sensor SE connected to the input unit 140) using communication by the first communication unit 230, and controls the load L by outputting information based on the acquired information from the output unit 150 of the first control device 100 to the load L. In addition, the proxy processing unit 214 controls the load L by outputting information based on information received by the first communication unit 230 or the second communication unit 240 (for example, information transmitted from another first control device, another second control device 200, a third control device, or an external device ED) from the output unit 150 to the load L.

[0041] For this reason, in this embodiment, even if the software update of the first control device 100 is performed in a single bank configuration, it is possible to execute the functions of the first control device 100 during the software update of the first control device 100. In other words, in this embodiment, even if the software update of the first control device 100 is performed in a single bank configuration, that is, even if the software of the first control device 100 before the update cannot be stored in the storage unit 120 of the first control device 100 during the software update of the first control device 100, it is possible to update the software of the first control device 100 without interrupting the function of the first control device 100.

[0042] At this time, if the software update of the first control device 100 is successful after the software update process of the first control device 100 is completed, the substitute processing unit 214 ends the substitute function of the first control device 100. Also, if the software update of the first control device 100 is not successful after the software update process of the first control device 100 is completed, the substitute processing unit 214 substitutes the function of the first control device 100 while the software stored in the storage unit 220 is being installed in the first control device 100 by the update processing unit 213. Then, after the software stored in the storage unit 220 is successfully installed in the first control device 100, the substitute processing unit 214 ends the substitute function of the first control device 100.

[0043] Then, after the substitution processing unit 214 has completed substitution of the functions of the first control device 100, the update processing unit 213 erases the software of the first control device 100 stored in the storage unit 220.

[0044] In the case where the control system is a zone-type control system of the vehicle M, if the software of the first control device 100 is stored in the storage unit 220 by the software acquisition processing unit 212 when the ignition power of the vehicle M is off, the substitute processing unit 214 may not immediately start to substitute the function of the first control device 100, but may start to substitute the function of the first control device 100 after the ignition power of the vehicle M is turned on. In other words, if the software of the first control device 100 is stored in the storage unit 220 by the software acquisition processing unit 212, the substitute processing unit 214 may check whether the ignition power of the vehicle M is on. If the ignition power of the vehicle M is off, the substitute processing unit 214 may not start to substitute the function of the first control device 100, and if the ignition power of the vehicle M is on, the substitute processing unit 214 may start to substitute the function of the first control device 100.

[0045] <Processing operations executed in the second control device 200> FIG. 5 is a diagram showing an example of a processing operation executed by the control unit 210 of the second control device 200 when software update data for the first control device 100 exists in another device.

[0046] The update data acquisition processing unit 211 acquires the update data from another device using communication by the second communication unit 240, and stores the acquired update data in the storage unit 220 (step S501).

[0047] When update data is acquired by the update data acquisition processing unit 211, the software acquisition processing unit 212 acquires software for the first control unit 100 corresponding to the update data from the first control unit 100 using communication via the first communication unit 230, and stores the acquired software in the memory unit 220 (step S502).

[0048] When the software of the first control device 100 is stored in the memory unit 220 by the software acquisition processing unit 212, the proxy processing unit 214 begins to proxy the functions of the first control device 100 using the software of the first control device 100 stored in the memory unit 220 (step S503).

[0049] When the substitution processing unit 214 starts taking over the functions of the first control device 100, the update processing unit 213 starts updating the software of the first control device 100 using the update data stored in the memory unit 220 (step S504).

[0050] When the software update of the first control device 100 is completed (step S505, YES), the update processing unit 213 checks whether the software update of the first control device 100 has been successful (step S506).

[0051] If the software update of the first control device 100 is successful (step S506, YES), the proxy processing unit 214 terminates the proxy function of the first control device 100 (step S507), and the update processing unit 213 erases the software and update data of the first control device 100 stored in the memory unit 220 (step S508).

[0052] If the software update of the first control device 100 is not successful (step S506, NO), the update processing unit 213 installs the software of the first control device 100 stored in the storage unit 220 in the first control device 100 (step S509). If the software installation of the first control device 100 is successful (step S510, YES), the proxy processing unit 214 ends the proxy function of the first control device 100 (step S507), and the update processing unit 213 erases the software of the first control device 100 and the update data stored in the storage unit 220 (step S508). If the software installation of the first control device 100 is not successful (step S510, NO), the update processing unit 213 installs the software of the first control device 100 stored in the storage unit 220 in the first control device 100 again (step S509).

[0053] In the case where the control system is a zone-type control system of the vehicle M, if it is found that the update software of the first control device 100 exists in another device when the ignition power of the vehicle M is off, the control unit 210 may execute only the processes of steps S501 and S502 while the ignition power of the vehicle M is off, and execute the processes of steps S503 to S508 after the ignition power of the vehicle M is turned on. That is, in this case, in the above step S503, the substitute processing unit 214 may start to substitute for the functions of the first control device 100 using the software of the first control device 100 stored in the storage unit 220 when the ignition power of the vehicle M is turned on.

[0054] The present invention has been described above in terms of preferred embodiments thereof. Although the present invention has been described herein with reference to specific examples, various modifications and variations can be made to these examples without departing from the spirit and scope of the present invention as set forth in the claims. [Explanation of symbols]

[0055] 100 First control device 110 Control section 120 Storage section 130 Communications Department 140 Input section 150 Output section 200 Second control device 210 Control section 211 Update data acquisition processing unit 212 Software Acquisition Processing Unit 213 Update processing section 214 Substitute Processing Unit 300 Third control device

Claims

1. A second control device having a storage unit and a control unit, and connected to the first control device via a first communication network, The control unit is an update processing unit that updates software of the first control device; A second control device having a software acquisition processing unit that acquires software for the first control device from the first control device before a software update for the first control device begins and stores the acquired software in the memory unit.

2. The second control device according to claim 1, wherein the control unit has a substitute processing unit that substitutes for the functions of the first control device by using the software of the first control device stored in the memory unit while the software of the first control device is being updated.

3. The control unit further includes an update data acquisition processing unit that acquires update data for the software of the first control unit if the software update data exists in another device, and stores the acquired update data in the storage unit; the software acquisition processing unit, when the update data is acquired by the update data acquisition processing unit, acquires software for the first control device from the first control device and stores the acquired software in the storage unit; The second control device according to claim 1, wherein the update processing unit starts updating the software of the first control device using the update data acquired by the update data acquisition processing unit once the software of the first control device is stored in the memory unit.

4. The second control device according to claim 1 , wherein the update processing unit installs the software stored in the storage unit into the first control device if the software update of the first control device is unsuccessful.

5. The control unit further includes an update data acquisition processing unit that acquires update data for the software of the first control unit if the update data exists in another device; the software acquisition processing unit, when the update data is acquired by the update data acquisition processing unit, acquires software for the first control device from the first control device and stores the acquired software in the storage unit; When the software of the first control device is stored in the storage unit, the substitution processing unit substitutes for a function of the first control device by using the software of the first control device stored in the storage unit; The second control device according to claim 2, wherein the update processing unit starts updating the software of the first control device using the update data acquired by the update data acquisition processing unit once the substitution processing unit has begun to substitute for the functions of the first control device.

6. the first control device and the second control device are installed inside a vehicle, The second control device according to claim 1 , wherein the external device is installed outside the vehicle.

7. A plurality of first control devices; A control system comprising: a second control device according to claim 1 , connected to the plurality of first control devices via the first communication network.

8. A second control device according to any one of claims 1 to 5; a third control device connected to the plurality of second control devices via a second communication network.

9. A control method executed by a second control device connected to a first control device via a first communication network, comprising: an update processing step of updating software of the first control device; A control method comprising: a software acquisition processing step of acquiring the software of the first control device from the first control device before starting an update of the software of the first control device, and storing the acquired software in a memory unit of the second control device.

10. A control program that causes a computer to execute the control method according to claim 9.

Citation Information

Patent Citations

  • Software update device, method, program and vehicle

    JP2022012834A

  • Vehicle control device

    JP2022023738A

  • Updating method for in-vehicle software and in-vehicle system

    JP2022160927A

  • Control apparatus for vehicle

    US20220024472A1