Vehicle control device, vehicle system, update system
The vehicle control device coordinates ECU program updates by aggregating update states and receiving corresponding versions from a server, addressing the challenge of managing software status inconsistencies and enabling synchronized updates for data collection and application programs.
Patent Information
- Application Number
- JP2021002608
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-01-12
- Publication Date
- 2024-09-12
- Estimated Expiration
- 2041-01-12
AI Technical Summary
Existing vehicle control systems face challenges in managing software status of ECUs, particularly when updating data collection and application programs via OTA, leading to difficulties in coordinating updates and understanding the software status of each ECU.
A vehicle control device that aggregates update states of programs executed by ECUs and sends this information to an update server, allowing coordinated updates of ECU applications and data collection programs by receiving corresponding update versions from the server.
Enables collective management of software updates across ECUs, ensuring that application and data collection programs are updated in sync, thereby maintaining software status consistency and facilitating user customization of data collection processes.
Smart Images

Figure 0007550060000006 
Figure 0007550060000001 
Figure 0007550060000007
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for updating a program executed by a vehicle control device that controls the operation of a vehicle. [Background technology]
[0002] Vehicle control devices (Electronic Control Units: ECUs) that control vehicles are interconnected in an in-vehicle network. In recent years, it has become common for vehicle systems that make up the in-vehicle network to be connected to a communication network, and for the vehicle and the center to send and receive data and programs in both directions. Examples of sending data from the center to the vehicle include FOTA (Firmware On The Air) for updating ECU programs, updating map data for car navigation systems, and distributing music data. An example of sending data from a vehicle to a center is uploading vehicle part diagnostic information to the center, reporting the diagnostic information to a dealer at the center, and replacing vehicle parts (parts management).
[0003] The following Patent Document 1 describes an example in which the driving conditions of a vehicle are collected inside the vehicle and the collected logs are uploaded to a center. In this document, the center distributes a data collection program to the vehicle, thereby changing the collection function of the vehicle. In this document, the log collection conditions, log collection frequency, upload transmission frequency, etc. can be changed.
[0004] As information collection from vehicles progresses, there is an increasing demand to collect information that cannot be collected by current vehicle functions. For example, car navigation information and infotainment information can be used for marketing. In order to collect information that cannot be collected normally, such as route information from car navigation systems and the number of times music has been played, it is necessary to update the data collection functions of vehicles. For example, the desired data can be collected by adding application functions to the ECU from which data is to be collected via OTA and outputting the calculation results to CAN (Controller Area Network).
[0005] In other words, by adding ECU application functions via OTA, even information that vehicles have not previously collected can be sent to the center. This allows the vehicle to collect logs for applications such as delivery company route information and taxi operation information for each customer, and send them to the center, which then analyzes the information. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2018-055191 A Summary of the Invention [Problem to be solved by the invention]
[0007] When collecting new information from a vehicle, the application may lack the functions necessary to output the new information. In this case, in order for the vehicle to collect the new information, not only must the data collection program be updated, but the calculation program for adding application functions must also be updated at the same time. In this case, both the ECU in which the application is installed and another ECU in which the data collection function is installed are updated via OTA.
[0008] As the data items collected from vehicles become more customized through OTA, it becomes difficult to grasp the software status of each ECU installed in the vehicle. Therefore, technology is required that can easily manage the software status, such as the software version and free ROM capacity, of the ECU installed in the vehicle.
[0009] When updating the data collection program and ECU application at the center via OTA, it is necessary to coordinate these updates. Therefore, it is required to ensure that the software status management information in the vehicle and the center is consistent, and to use this information to coordinate and update the ECU application and data collection program.
[0010] The present invention has been made in consideration of the above-mentioned problems, and has an object to provide a program update technology that can easily manage the software status of an ECU and update an ECU application and a data collection program in cooperation by aligning management information for the software status in the vehicle and at the center. [Means for solving the problem]
[0011] The vehicle control device of the present invention aggregates a first update state of a first program executed by the vehicle control device and a second update state of a second program executed by a second vehicle control device and transmits them to an update server, receives an updated version program corresponding to the first update state and an updated version program corresponding to the second update state from the update server, and performs update processing. Effect of the Invention
[0012] According to the vehicle control device of the present invention, it is possible to collectively manage the update status of the software installed in each vehicle control device. Furthermore, it is possible to update the application program and the data collection program corresponding to the update status in a coordinated manner. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a system configuration diagram of an update system according to a first embodiment. [Diagram 2] FIG. 2 is a configuration diagram of a vehicle system equipped in a vehicle 1. [Diagram 3] 4 is a flowchart illustrating a procedure in which the ECU 13 collects data from each ECU. [Figure 4]An example of configuration data 1382 is shown below. [Diagram 5] FIG. 13 is a diagram for explaining a procedure for creating configuration data 1382. [Figure 6] FIG. 2 is a configuration diagram of a data center 2. [Figure 7] 13 is a flowchart for explaining a procedure in which the data center 2 updates the collection program 1371 and the calculation program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] <Embodiment 1> In the first embodiment of the present invention, it is assumed that data in a vehicle is collected and the data log is uploaded to a center. When a required function is lacking in an ECU application, the update system according to the first embodiment provides a means for updating the data collection program and the application in cooperation with each other.
[0015] FIG. 1 is a system configuration diagram of an update system according to the first embodiment. The update system is a system that updates a program executed by an ECU mounted on a vehicle 1. The update system is configured so that the vehicle 1, a data center 2, and a mobile phone 3 can communicate with each other via a base station 4. The driver of the vehicle 1 can customize data items to be collected on the vehicle 1 via the mobile phone 3. The data center 2 is configured by, for example, a server computer.
[0016] The driver specifies on the mobile phone 3 which data of the vehicle 1 is to be collected for purposes such as marketing and telematic insurance. At the data center 2, the collection service unit 21 consolidates the data collection items specified on the mobile phone 3. The collection service unit 21 passes the collection requirements corresponding to the collection items to the OTA service unit 23. The OTA service unit 23 analyzes the collection requirements and creates a data collection program and an ECU application (hereinafter referred to as a calculation program) corresponding to the vehicle model of the vehicle 1 from the OTA program database 24. The OTA service unit 23 distributes the created program to the vehicle 1 by OTA. The log 22 is data collected from the vehicle, and is provided to and utilized by marketing and telematic insurance service applications.
[0017] The vehicle 1 is equipped with a communication unit 12 (TCU), an ECU 13, and an ECU 14 on an in-vehicle network 11. The ECU 13 can collect various data of the vehicle 1 by a collection function unit 131. The ECU 14 executes a calculation program that implements applications such as infotainment and car navigation. The programs executed by each ECU are updated by the OTA function of the data center 2. For example, the ECU 14 calculates driving route information under certain conditions and outputs it onto the in-vehicle network 11. The ECU 13 records the driving route information every minute and transmits it to the data center 2 every three hours. The in-vehicle network 11 is a communication network such as a CAN (Control Area Network) bus.
[0018] 2 is a configuration diagram of a vehicle system provided in the vehicle 1. The vehicle system is configured by connecting a communication unit 12, an ECU 13, an ECU 14, an ECU 15, an ECU 16, etc. onto an in-vehicle network 11 (for example, a CAN network).
[0019] The ECU 13 collects update status of the software of each ECU, and also collects data items that indicate the status of the vehicle 1. The ECU 13 includes an interface unit 132 and a collection function unit 131. The interface unit 132 is a communication interface that communicates with other devices via the in-vehicle network 11. The collection function unit 131 includes the following.
[0020] The collection unit 1331 collects data on the in-vehicle network 11. The collected log 1332 is data that has been collected by the collection unit 1331. The calculation unit 1341 processes and calculates the log collected by the collection unit 1331 based on a specific format or condition. The log 1342 is data that has been calculated by the calculation unit 1341 and is data to be transmitted to the data center 2. The output unit 135 outputs the log 1342 at a specific frequency or period, and the RAM (Random Access Memory) 136 temporarily stores data. The non-volatile ROM (Read Only Memory) 137 stores programs and data even after the power supply to the ECU 13 is cut off. The non-volatile ROM 137 stores a collection program 1371 and a calculation program 1372. The collection program 1371 is a program that implements a collection method and a data output method. The calculation program 1372 is a program that implements data format conversion, calculation procedures, and the like. Configuration data 1382 (hereinafter abbreviated as config data 1382) describes update states such as software versions of all ECUs in vehicle 1. Diagnosis management unit 1381 collects config data 1382 from each ECU. The collected logs, logs, and config data are stored in a data storage means as non-volatile data such as an SD card so that the contents are retained even after power is cut off to ECU 13.
[0021] The ECU 14 includes an interface unit 141 with the in-vehicle network 11, a calculation unit 142, a RAM 143, a non-volatile ROM 144, and a diagnosis unit 145. The non-volatile ROM 144 stores a calculation program 1441 that implements an application provided by the ECU 14. The diagnosis unit 145 collects faults and information in the ECU 14, and responds in response to a fault command. The diagnosis management unit 1381 also includes the same functions as the diagnosis unit 145.
[0022] When updating a program by OTA, the ROM provided in each ECU is a double bank. A double bank is a mechanism in which two program areas are prepared, one of which is enabled and used, and the remaining one is rewritten by OTA, and then the enabled area is switched. In the first embodiment, the calculation programs 1372 and 1441 and the collection program 1371 have a double bank configuration, although they are omitted in FIG. 2.
[0023] 3 is a flowchart for explaining a procedure in which the ECU 13 collects data from each ECU. The ECU 14, ECU 15, and ECU 16 each execute a calculation program installed therein, and output the calculation result (processing result) to the in-vehicle network 11 (S11). In the ECU 13, the collection unit 1331 executes the collection program 1371 to collect data on the in-vehicle network 11 and accumulates the collected log 1332 (S12). In the ECU 13, the calculation unit 1341 executes the calculation program 1372 to perform format conversion and calculation on the collected log 1332, and generate the log 1342 (S13). In the ECU 13, the output unit 135 transmits the log 1342 to the data center 2 at a transmission frequency described in the collection rule (S14).
[0024] Each of the ECUs 13 to 16 has a calculation unit (calculation program). When adding a function to the ECUs 14 to 16 (changing the data items to be collected), it is necessary to change the calculation programs of these ECUs. When changing only the processing calculation such as changing the format without changing the data items to be collected, it is sufficient to change the calculation program in the ECU 13.
[0025] When a new collection function is added to the existing collection function of the collection function unit 131 (for example, a data item to be collected is added), it may be necessary to update not only the collection program 1371 but also the calculation program of the ECU to be collected. For example, this corresponds to a case where the calculation program needs a new function to output a data item to be collected. When the calculation program of each ECU is updated by customizing the vehicle 1 in this way, if the update state of the software of all ECUs of the vehicle 1 is not correctly grasped, there is a concern that each program will be updated by an inappropriate program that does not match the ECU hardware configuration. Alternatively, when updating the collection program 1371 and updating the calculation program of each ECU, there is a concern that an updated program that is not consistent between the collection program 1371 and the calculation program will be updated. Therefore, in the present embodiment 1, the software in the vehicle 1 is centrally managed by the ECU 13. The configuration data 1382 is data that holds the centralized management information.
[0026] FIG. 4 shows an example of configuration data 1382. FIG. 4 holds the ECU hardware ID, program ID, CAN database number, free CAN ID, and free ROM capacity. If multiple applications are installed in the ECU microcomputer, multiple program IDs are recorded. As the ECU software becomes more customized, some functions may consume CAN IDs by outputting new CAN data items. Or, the amount of free ROM capacity consumed may change due to program updates. Therefore, in FIG. 4, free CAN IDs and free ROM capacity are also held. It is possible to determine whether or not a new program can be installed based on these data items.
[0027] 5 is a diagram for explaining a procedure for creating the configuration data 1382. The diagnostic management unit 1381 includes a diagnostic CAN command map 1383 in which diagnostic commands for inquiring about software update states of all ECUs (ECUs 14 to 16 in FIG. 5) in the vehicle 1 are described. The diagnostic management unit 1381 issues diagnostic commands 1384 on the in-vehicle network 11 in sequence based on the diagnostic CAN command map 1383. The diagnostic unit 145 of the target ECU (for example, ECU 14) creates software configuration information as shown in FIG. 4, similar to the failure information, and returns the software configuration information to the ECU 13 as a response to the diagnostic command 1384. The diagnostic management unit 1381 can create the configuration data 1382 by similarly collecting software configuration information from all ECUs.
[0028] The contents of the diagnostic command may differ for each ECU, so they may be defined for each ECU. Destination information for each ECU may be described along with the diagnostic command. Diagnostic commands do not necessarily need to be newly developed to implement the present invention, and commands that inquire about software versions, free ROM space, and the like in existing fault diagnosis procedures may be used. However, while conventional diagnostic commands are used to individually diagnose each ECU, the diagnostic commands of the present invention differ from conventional commands in that they are used not only for conventional diagnosis but also for collecting configuration data 1382.
[0029] 6 is a configuration diagram of the data center 2. The data center 2 includes a communication unit 25 that communicates with other devices via the base station 4, a collection service unit 21, and an OTA service unit 23.
[0030] The collection service unit 21 identifies requirements needed by a function for collecting a data item, based on the data collection item specified by the driver on the mobile phone 3. The collection service unit 21 includes a collection server unit 211, a customer database 212, a vehicle model function database 213, a collection requirements unit 214, a log analysis unit 215, and an analysis result 216.
[0031] The customer database 212 manages basic information about customers (drivers who use mobile phone 3 in FIG. 1) and collection items that have been set in the past. The vehicle model function database 213 holds unique collection function IDs for both standard collectable data items for each vehicle model and data items that can be collected by extension.
[0032] The collection server unit 211 operates as a web server accessed by the collection application 31 of the mobile phone 3. The driver specifies the model of the vehicle 1 on the mobile phone 3 and inquires about collectable data items from the data center 2. In response to a request from the mobile phone 3, the collection server unit 211 refers to the vehicle model function database 213 and responds with a list of data items that the vehicle 1 can collect as standard and data items that can be collected by extension. The driver specifies the data items that he wants to collect in the vehicle 1 on the mobile phone 3.
[0033] The collection requirement unit 214 acquires a collection function ID capable of collecting the data item designated by the driver from the vehicle model function database 213. The collection requirement unit 214 outputs the collection function ID to the OTA service unit 23 together with the customer ID and vehicle model ID of the driver stored in the customer database 212.
[0034] The log 22 is an accumulation of log data transferred from the vehicle. The log analysis unit 215 analyzes the log 22 and outputs the analysis result 216. For example, the analysis result 216 can be passed to a service that requires customer analysis, such as a marketing service or a telematic insurance service, and the analysis result 216 can be utilized in the service.
[0035] The OTA service unit 23 distributes an updated program to the vehicle 1. The OTA service unit 23 includes a collection request analysis unit 231, configuration data 232, a vehicle ECU software database 233, an OTA program generation unit 234, the OTA program database 24, a customer database 236, and an OTA distribution unit 237.
[0036] The configuration data 232 is configuration data 1382 held by the vehicle 1 and received from the vehicle 1. The vehicle ECU software database 233 holds collectable data items for each software version of each ECU equipped in the vehicle 1. For the collection program 1371, collectable data items are held for each version of the collection program 1371. For the calculation program equipped in each ECU, data items that can be output to the in-vehicle network 11 are held for each version of the calculation program.
[0037] The collection request analysis unit 231 identifies a function capable of collecting the data items desired by the driver, based on the collection function ID received from the collection service unit 21. The collection request analysis unit 231 acquires program IDs as program versions (both the collection program 1371 and the calculation program) capable of collecting the data items desired by the driver, from the vehicle ECU software database 233, based on the collection function ID and the program IDs of each ECU held in the configuration data 232. The collection request analysis unit 231 outputs the acquired IDs of each program to the OTA program generation unit 234.
[0038] The OTA program database 24 holds each version of the program (both the collection program 1371 and the calculation program). Each version of each program is uniquely identified by a program ID. The program is not necessarily limited to a standalone program, but may be a module that implements a specific function.
[0039] The OTA program generation unit 234 acquires an updated version of each program by referring to the OTA program database 24 using the ID of the collection program 1371 as the program ID and the ID of the calculation program of each ECU, and generates a program to be distributed to the vehicle 1 by OTA using the updated version. If the OTA program database 24 holds program modules, the program to be distributed to the vehicle 1 may be generated by combining the modules.
[0040] The customer database 236 holds security information (e.g., electronic signature) for each driver. The OTA distribution unit 237 refers to the customer database 236, adds a security mechanism corresponding to the driver of the vehicle 1, and distributes the program generated by the OTA program generation unit 234 to the vehicle 1.
[0041] Fig. 7 is a flow chart for explaining the procedure for updating the collection program 1371 and the calculation program by the data center 2. Each step in Fig. 7 will be explained below.
[0042] (Figure 7: Step S701) The driver of the vehicle 1 uses the collection application 31 of the mobile phone 3 to specify the data items that the vehicle 1 should collect. He or she can also specify collection conditions such as collection time intervals. The data items and collection conditions are collectively referred to as collection conditions below.
[0043] (FIG. 7: Step S702) The collection server unit 211 acquires the collection conditions from the mobile phone 3. The collection requirement unit 214 identifies a collection function ID that can collect the data items specified by the collection conditions, and outputs the customer information and the collection function ID to the OTA service unit 23.
[0044] (FIG. 7: Steps S703 to S704) The collection request analysis unit 231 identifies the vehicle 1 from the customer information, and requests the vehicle 1 to transfer the configuration data 1382 to the data center 2 (S703). The collection function unit 131 transfers the latest configuration data 1382 in the vehicle 1 to the data center 2 (S704). As a result, the configuration data 1382 held by the vehicle 1 and the configuration data 232 held by the data center 2 match.
[0045] (Figure 7: Step S705) The collection request analysis unit 231 acquires the program ID of the collection program 1371 and the program ID of the calculation program of each ECU from the vehicle ECU software database 233 based on the collection function ID and the configuration data 232. The collection request analysis unit 231 transmits these program IDs to the OTA program generation unit 234.
[0046] (Figure 7: Step S706) The OTA program generation unit 234 creates a program (an updated version of each program) to be distributed by OTA, based on the program ID of the collection program 1371 and the program ID of the calculation program of each ECU, by referring to the OTA program database 24. The OTA program may be a full-area update or a differential update.
[0047] (Figure 7: Step S707) The OTA distribution unit 237 simultaneously distributes the collection program 1371 and updated versions of the calculation programs of each ECU to the vehicle 1 by the OTA function.
[0048] (Figure 7: Step S708) Each ECU in the vehicle 1 updates its software using the updated program distributed by the OTA function. The collection function unit 131 updates the configuration data 1382. The diagnosis management unit 1381 periodically updates the configuration data 1382, separate from this step.
[0049] (Figure 7: Steps S709 to S710) The collection function unit 131 transmits the collected logs to the collection server unit 211 (S709). The log analysis unit 215 analyzes the collected logs and accumulates the analysis results (S710).
[0050] <First embodiment: Summary> The ECU 13 according to the first embodiment collects configuration data 1382 describing the update state of the programs in each ECU, obtains updated programs corresponding to each update state described in the configuration data 1382 from the data center 2, and updates the programs with the updated programs. The other ECUs also update their calculation programs with the updated programs received from the data center 2. Appropriate program updates are realized by managing the software states, such as the software versions and free ROM capacity, of all ECUs mounted on the vehicle 1 in a consistent manner in the vehicle 1 and the data center 2. Furthermore, the ECU 13 centrally manages the software states of all ECUs, so that the calculation programs of each ECU and the collection program 1371 of the ECU 13 can be generated in cooperation with each other.
[0051] The ECU 13 according to the first embodiment issues a diagnostic command 1384 onto the in-vehicle network 11 based on the diagnostic CAN command map 1383, and the ECU that receives the diagnostic command 1384 returns a software state as a response to the diagnostic command 1384. This makes it possible to aggregate the software state of each ECU as configuration data 1382 on the ECU 13.
[0052] In the ECU 13 according to the first embodiment, the collection program 1371 is configured to be able to change at least one of the frequency of collecting data from each ECU, the data items to be collected, and the frequency of transmitting the collected data to the data center 2 for each version of the collection program 1371. This allows the user to freely customize the data collection process performed in the vehicle 1. For example, it is possible to release a function suppressed in the current ECU provided in the vehicle 1, add a new function, and then add a collection condition linked to the function. By customizing and acquiring the information of the vehicle 1, various information on the vehicle 1 can be utilized in external services such as a telematic insurance service and a marketing service.
[0053] In the update system according to the first embodiment, the user of the vehicle 1 customizes data collection items via the mobile phone 3, and the data center 2 generates a calculation program and a collection program 1371 capable of collecting the customized data items and transmits them to the vehicle 1. This allows the user to freely customize the data items to be collected on the vehicle 1 while updating the calculation programs and collection programs 1371 of the ECUs provided in the vehicle 1 in a coordinated manner.
[0054] <Embodiment 2> In the first embodiment, it has been described that the calculation program of each ECU and the collection program 1371 are updated in a coordinated manner. However, these do not necessarily need to be updated at the same time, and any one of the following may be updated.
[0055] (Update example 1) Collection program 1371 and one of the ECU's calculation programs (Update example 2) Collection program 1371 and calculation program on ECU13 (Update example 3) Collection program 1371 (Update example 4) Collected program 1371 and any two or more ECU calculation programs (part of the ECUs on vehicle 1)
[0056] Each ECU can also suppress the program update if the program cannot be updated, for example, when there is insufficient free space in the ROM. When the update is suppressed, the vehicle 1 notifies the data center 2 of the suppression. Furthermore, the OTA service unit 23 can also notify the user of the mobile phone 3 of the suppression via the collection service unit 21.
[0057] <Modifications of the present invention> The present invention is not limited to the above-described embodiment, and includes various modified examples. For example, the above-described embodiment has been described in detail to clearly explain the present invention, and is not necessarily limited to those including all of the configurations described. In addition, it is possible to replace a part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. In addition, it is possible to add, delete, or replace a part of the configuration of each embodiment with another configuration.
[0058] In the above embodiment, it has been described that the collection program 1371 is updated for the ECU 13, and the calculation programs for the other ECUs (e.g., ECU 14) are updated in conjunction with the collection program 1371. In an actual system, the format of the data items to be collected may change when the calculation programs of the other ECUs are updated, and this may necessitate changing the format conversion process performed by the calculation program 1372. Therefore, the calculation program 1372 may be updated in conjunction with the collection program 1371 and each calculation program.
[0059] In the above embodiment, it has been described that the diagnosis management unit 1381 collects the configuration data 1382 from the ECU 14, and the collection unit 1331 and the collection program 1371 collect various data items (vehicle data) of the vehicle 1, but these processes may be integrated into one program. For example, one program may be implemented as the collection function unit 131, and the program may collect the configuration data 1382 and the vehicle data. In other words, as long as the ECU 13 executes these processes, the division of roles between the programs may be arbitrary.
[0060] In the above embodiment, the data items collected by the collection function unit 131 are not limited to the software state of the ECU equipped in the vehicle 1, and may be any data items that represent the state of the vehicle 1. For example, data representing the state of devices such as sensors and actuators controlled by the target ECU can be collected from the target ECU. In addition, as illustrated, information such as the driving route of the vehicle 1 can be collected from a car navigation ECU, and information related to the driver's preferences can be collected from an infotainment ECU.
[0061] In the above embodiment, at least one of the calculation program and the collection program 1371 may be different for each vehicle model (manufacturer, model number, etc.) of the vehicle 1. In this case, the vehicle model function database 213 may define collectable data items, etc. for each vehicle model, and the vehicle ECU software database 233 may be configured so that the program ID corresponding to the collection function ID is different for each vehicle model.
[0062] In the above embodiment, collectable data items may differ for each model of vehicle 1. Furthermore, constraint conditions for data collection may be defined, such as data items that cannot be collected simultaneously. These constraint conditions may be defined, for example, in vehicle model function database 213. When a user selects a data item related to the constraint conditions on mobile phone 3, a response to that effect may be sent to mobile phone 3 via collection server unit 211, or a selection screen configured so that such a data item cannot be selected from the beginning may be provided from collection server unit 211 to mobile phone 3.
[0063] In the above embodiment, when the data center 2 distributes the updated programs of each ECU to the vehicle 1, the data center 2 may distribute the programs directly to each ECU, or the data center 2 may specify only the destination ECU, and the gateway device in the vehicle 1 may receive the updated programs of each ECU. In the latter case, the updated programs are distributed to each ECU via the gateway device.
[0064] In the above embodiments, the ECU (ECU 13 in the embodiment) that collects various data of vehicle 1 may be a control device that controls any function of vehicle 1, and does not necessarily have to be an ECU that has the role of overseeing other ECUs.
[0065] In the above embodiment, each calculation function unit provided in each ECU and data center 2 can be configured by hardware such as a circuit device that implements these functions, or can be configured by a calculation device executing software that implements these functions. They can also be configured by a combination of hardware and software. For example, the collection unit 1331, the calculation unit 1341, the diagnosis management unit 1381, the collection service unit 21, and the OTA service unit 23 can be configured by hardware, software, or a combination of these. Among these function units, the function units that accumulate data (e.g., the collection log 1332, the log 1342, the configuration data 1382, the log 22, and each DB) may be configured as a part of the calculation function unit, or only the data part may be implemented separately from the calculation function unit. [Explanation of symbols]
[0066] 1: Vehicle 11: In-vehicle network 12:TCU 13: ECU 131: Collection Function Division 1331: Collection Department 1341: Arithmetic unit 135: Output section 136:RAM 1371: Collection Program 1372: Calculation program 1381: Diagnostic Management Department 1382: Config data 14: ECU 142: Arithmetic section 145: Diagnostics Department 1441: Calculation program 2: Data Center 21: Collection Services Department 22: Log 23: OTA Service Department 24: OTA program database 3: Mobile phone 4:Base station
Claims
1. A vehicle control device for controlling an operation of a vehicle, A program storage unit that stores a program that implements functions provided by the vehicle control device; A calculation unit for executing the program; a configuration data storage unit for storing configuration data representing an update state of the program; Equipped with The program storage unit stores the following programs: A calculation program implementing a calculation function provided by the vehicle control device; a collection program including a process of collecting second program update status data representing an update status of a second program implemented in a second vehicle control device from the second vehicle control device mounted in the vehicle; It stores the calculation unit aggregates the configuration data and the second program update status data and transmits the aggregated data to a server that distributes updates to the program; The computing unit receives an update of the program corresponding to the configuration data from the server, The computing unit updates the program stored in the program storage unit with an updated version of the program received from the server, The vehicle control device further includes a diagnostic command map that describes a diagnostic command used to diagnose whether or not the second vehicle control device has a malfunction and destination information of the diagnostic command, the collection program causes the calculation unit to execute a step of requesting the second program update state data by transmitting the diagnostic command to the second vehicle control device according to the diagnostic command map; The collection program causes the calculation unit to execute a step of aggregating a response to the diagnostic command into the configuration data as the second program update status data. A vehicle control device comprising:
2. A vehicle control device for controlling an operation of a vehicle, A program storage unit that stores a program that implements functions provided by the vehicle control device; A calculation unit for executing the program; a configuration data storage unit for storing configuration data representing an update state of the program; Equipped with The program storage unit stores the following programs: A calculation program implementing a calculation function provided by the vehicle control device; a collection program including a process of collecting second program update status data representing an update status of a second program implemented in a second vehicle control device from the second vehicle control device mounted in the vehicle; It stores the calculation unit aggregates the configuration data and the second program update status data and transmits the aggregated data to a server that distributes updates to the program; The computing unit receives an update of the program corresponding to the configuration data from the server, The computing unit updates the program stored in the program storage unit with an updated version of the program received from the server, the collection program causes the calculation unit to execute a step of collecting vehicle data representing a state of the vehicle; The collection program causes the calculation unit to execute a step of transmitting the collected vehicle data to the server. A vehicle control device comprising:
3. the collection program implements a frequency for collecting the vehicle data, items to be collected as the vehicle data, and a frequency for transmitting the vehicle data to the server; The calculation unit updates at least one of the frequency of collecting the vehicle data, the items to be collected as the vehicle data, and the frequency of transmitting the vehicle data to the server, in the collection program, with an updated version of the program.
3. The vehicle control device according to claim 2.
4. A vehicle control device according to any one of claims 1 to 3. a second vehicle control device mounted on the vehicle; Equipped with The second vehicle control device receives an updated version of the second program corresponding to the configuration data from the server, The second vehicle control device updates the second program with an updated version of the second program received from the server. A vehicle system comprising:
5. A vehicle control device that controls the operation of a vehicle. a second vehicle control device mounted on the vehicle; Equipped with The vehicle control device includes: A program storage unit that stores a program that implements functions provided by the vehicle control device; A calculation unit for executing the program; a configuration data storage unit for storing configuration data representing an update state of the program; Equipped with The program storage unit stores the following programs: A calculation program implementing a calculation function provided by the vehicle control device; a collection program including a process of collecting second program update status data representing an update status of a second program implemented in a second vehicle control device from the second vehicle control device mounted in the vehicle; It stores the calculation unit aggregates the configuration data and the second program update status data and transmits the aggregated data to a server that distributes updates to the program; The computing unit receives an update of the program corresponding to the configuration data from the server, The computing unit updates the program stored in the program storage unit with an updated version of the program received from the server, The second vehicle control device receives an updated version of the second program corresponding to the configuration data from the server, The second vehicle control device updates the second program with an updated version of the second program received from the server, the collection program defines items to be collected as vehicle data representing a state of the vehicle, The second program implements a step of providing the vehicle data; The calculation unit updates items to be collected as the vehicle data in the collection program with an updated version of the program, The second vehicle control device updates the second program with an update version of the second program so as to implement a step of providing the item updated by the update version of the program. A vehicle system comprising:
6. An update system for updating a program executed by a vehicle control device mounted on a vehicle, comprising:
6. The vehicle system according to claim 4 or 5, The server, having The server transmits an updated version of the program to the vehicle control device and transmits an updated version of the second program to the second vehicle control device.
13. An update system comprising:
7. An update system for updating a program executed by a vehicle control device mounted on a vehicle, comprising: A vehicle system and a server are included. The vehicle system includes: A vehicle control device that controls the operation of the vehicle; a second vehicle control device mounted on the vehicle; Equipped with The vehicle control device includes: A program storage unit that stores a program that implements functions provided by the vehicle control device; A calculation unit for executing the program; a configuration data storage unit for storing configuration data representing an update state of the program; Equipped with The program storage unit stores the following programs: A calculation program implementing a calculation function provided by the vehicle control device; a collection program including a process of collecting second program update status data representing an update status of a second program implemented in a second vehicle control device from the second vehicle control device mounted in the vehicle; It stores the computing unit aggregates the configuration data and the second program update status data and transmits the aggregated data to the server that distributes updates to the program; The computing unit receives an update of the program corresponding to the configuration data from the server, The computing unit updates the program stored in the program storage unit with an updated version of the program received from the server, The second vehicle control device receives an updated version of the second program corresponding to the configuration data from the server, The second vehicle control device updates the second program with an updated version of the second program received from the server, the server transmits an updated version of the program to the vehicle control device and transmits an updated version of the second program to the second vehicle control device; the collection program is configured to cause the calculation unit to execute a step of collecting vehicle data representing a state of the vehicle; The server receives an item request from a user terminal that specifies items to be collected as the vehicle data; The server transmits the collection program, which implements a step of collecting the items specified by the item request as the vehicle data, to the vehicle control device as an updated version of the program.
13. An update system comprising:
8. When the server receives the item request, the server transmits a configuration data request to the vehicle control device to request the vehicle control device to transmit the configuration data; The server identifies an update state of the program using the configuration data received from the vehicle control device in response to the configuration data request; the server generates the collection program including a step of collecting the items specified by the item request as the vehicle data in accordance with the identified update state of the program and the items specified by the item request; The server transmits the generated collection program to the vehicle control device as an updated version of the program.
8. The update system according to claim 7.
9. The server identifies an update state of the second program by using the configuration data received from the vehicle control device in response to the configuration data request; the server generates the second program including a step of providing the item specified by the item request as the vehicle data in accordance with the identified update state of the second program and the item specified by the item request; The server transmits the generated second program to the second vehicle control device as an updated version of the second program.
9. The update system according to claim 8.
10. the server includes a database for storing an updated version of the collection program for each combination of the items that the collection program can collect; The server obtains from the database an update of the collection program capable of collecting all of the items specified by the item request; The server transmits the acquired update version of the collected program to the vehicle control device as an update version of the program.
8. The update system according to claim 7.
11. The server transmits an updated version of the second program to the second vehicle control device together with the updated version of the program, The second vehicle control device updates the second program with the received update version of the second program, thereby updating the second program in conjunction with the update of the program in the vehicle control device.
8. The update system according to claim 6 or 7.
Citation Information
Patent Citations
Information processing system
JP2010282385A
Program update system for vehicle
JP2011148398A
Data collection system
JP2018055191A
Update controller, software update system, and update control method
JP2019036251A
Monitoring device, monitoring program, and monitoring method
WO2020111090A1
Cited By
High-reliability engine electronic control unit and redundancy control method thereof
CN122613825A
