Vehicle Control Systems
By enabling independent compatibility and consistency determination within vehicle control devices, the system addresses delays in reflecting matching results, ensuring timely and efficient vehicle control operations.
Patent Information
- Application Number
- JP2020080557
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-04-30
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2040-04-30
AI Technical Summary
Existing vehicle control systems require external center devices for consistency determination of electronic control devices, leading to delays in reflecting matching determination results in vehicle control.
Electronic control devices within the vehicle perform compatibility and consistency determination processes independently, allowing them to assess whether their control program versions satisfy compatibility conditions without external intervention.
This approach reduces the time required for determining compatibility and enables immediate implementation of vehicle controls, even when only one of the control devices is updated, thereby enhancing the efficiency of vehicle operations.
Smart Images

Figure 0007532874000004 
Figure 0007532874000007 
Figure 0007532874000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a vehicle control system including a plurality of electronic control devices. [Background technology]
[0002] Patent Document 1 describes an example of a system in which a center device installed outside the vehicle manages control programs stored in the memories of multiple electronic control devices mounted on a vehicle. That is, in this system, version information, which is information related to the version of the control program, is transmitted from each electronic control device to the center device. The center device executes a consistency determination process for determining whether or not the versions of the control programs of each electronic control device are consistent based on the received results. Then, when the execution of the consistency determination process does not determine that the versions of the control programs of each electronic control device are consistent, the center device transmits a notice of an abnormality to the vehicle. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2020-27623 A Summary of the Invention [Problem to be solved by the invention]
[0004] In the above system, a center device that executes the consistency determination process is provided outside the vehicle. Therefore, when the control program of at least one of the electronic control devices is updated, the result of the consistency determination process is transmitted to each electronic control device by transmitting and receiving various information between the vehicle and the center device. In other words, it takes time for the result of the consistency determination process to be reflected in the vehicle control. [Means for solving the problem]
[0005] A vehicle control system for solving the above problems includes a first electronic control unit and a second electronic control unit capable of communicating with each other. The first electronic control unit and the second electronic control unit each have a memory for storing a control program and a version of the control program, execute a consistency determination process for determining whether or not a combination of the version of the control program of the first electronic control unit and the version of the control program of the other electronic control unit satisfies a predetermined consistency condition, and execute a process for cooperating with each other when the determination result satisfies the consistency condition. When the control program of the first electronic control unit has been updated while the control program of the second electronic control unit has not been updated, and when a specific state in which the consistency condition is satisfied in the consistency determination process of the first electronic control unit is reached, the consistency determination process of the second electronic control unit determines that the consistency condition is satisfied.
[0006] According to the above configuration, each electronic control device executes a consistency determination process for determining whether a combination of the version of its own control program and the version of the control program of another electronic control device satisfies a consistency condition, so that each electronic control device can know whether the consistency condition is satisfied without going through a center device outside the vehicle.
[0007] In addition, the control program may be updated in the first electronic control device, but not in the second electronic control device. In this case, even if the combination of the version of the control program of the second electronic control device and the version of the control program of the first electronic control device satisfies the compatibility condition, the second electronic control device may not determine that the compatibility condition is satisfied because it is unable to grasp the updated version of the control program of the first electronic control device. In this regard, in the above configuration, when it is determined that the compatibility condition is satisfied by the compatibility determination process of the first electronic control device, it is determined that the compatibility condition is satisfied by the compatibility determination process of the second electronic control device. This makes it possible to suppress the occurrence of an event in which the combination of the version of the control program of the second electronic control device and the version of the control program of the first electronic control device satisfies the compatibility condition, but the second electronic control device does not determine that the compatibility condition is satisfied. [Brief description of the drawings]
[0008] [Figure 1] 1 is a block diagram showing a control system according to a first embodiment and a braking device controlled by the control system; [Diagram 2] 1A and 1B are diagrams showing the recorded contents of a memory. [Diagram 3] 3 is a flowchart illustrating a series of processes executed by an electronic control device of the control system. [Figure 4] 13A and 13B are schematic diagrams showing how the control program is updated. [Diagram 5] FIG. 13 is a schematic diagram showing a state in which a control program is updated in only one electronic control unit. [Figure 6] 10 is a flowchart illustrating a series of processes executed by an electronic control device in a control system according to a second embodiment. [Figure 7] 10 is a flowchart illustrating a series of processes executed by an electronic control device in a control system according to a third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] (First embodiment) A first embodiment of a vehicle control system will be described below with reference to FIGS. FIG. 1 illustrates a control system 100 and an example of an in-vehicle device controlled by the control system 100. In this embodiment, the control system 100 controls a braking device 10, which is an example of an in-vehicle device. The braking device 10 includes a hydraulic pressure generating device 11 that generates hydraulic pressure according to the operation of a braking operation member 111 such as a brake pedal, and a braking actuator 12 that operates to individually adjust braking forces applied to a plurality of wheels 20 provided on the vehicle. The vehicle includes a braking mechanism 21 for each wheel 20. The hydraulic pressure in a wheel cylinder 211 of each braking mechanism 21 can be adjusted by the operation of the braking device 10. Then, each braking mechanism 21 applies a braking force to the wheel 20 according to the hydraulic pressure in the wheel cylinder 211.
[0010] The control system 100 includes a plurality of electronic control devices that can communicate with each other. Of the electronic control devices, the electronic control device 50 controls the hydraulic pressure generating device 11, and the electronic control device 60 controls the brake actuator 12. Each of the electronic control devices 50, 60 includes a CPU and a memory in which the control programs executed by the CPU and the like are stored. In the following description, the CPU of the electronic control device 50 is referred to as "CPU 51," and the memory of the electronic control device 50 is referred to as "memory 52." Similarly, the CPU of the electronic control device 60 is referred to as "CPU 61," and the memory of the electronic control device 60 is referred to as "memory 62."
[0011] A plurality of vehicle controls are prepared as vehicle controls for operating the braking device 10. Examples of the vehicle controls include antilock brake control, traction control, anti-skid control, and regenerative cooperative control. The memories 52, 62 of the electronic control devices 50, 60 store control programs for each vehicle control. For example, when a first vehicle control among the vehicle controls is performed, the CPU 51 of the electronic control device 50 executes the control program for the first vehicle control stored in the memory 52, and the CPU 61 of the electronic control device 60 executes the control program for the first vehicle control stored in the memory 62. The first vehicle control is performed by the cooperation of the electronic control devices 50, 60, and the braking device 10 can be operated.
[0012] The details of the contents stored in the memories 52 and 62 will be described with reference to Fig. 2. Fig. 2(a) illustrates the contents stored in the memory 52, and Fig. 2(b) illustrates the contents stored in the memory 62. Note that it is assumed here that first vehicle control, second vehicle control, and third vehicle control can be implemented as the vehicle control.
[0013] The memory 52 stores a control program PCA1 as a control program for controlling the first vehicle, a control program PCA2 as a control program for controlling the second vehicle, and a control program PCA3 as a control program for controlling the third vehicle. The memory 62 stores a control program PCB1 as a control program for controlling the first vehicle, a control program PCB2 as a control program for controlling the second vehicle, and a control program PCB3 as a control program for controlling the third vehicle.
[0014] Furthermore, the memory 52 stores a self version which is a version of the control program PCA1 in association with the control program PCA1. The memory 52 stores a self version which is a version of the control program PCA2 in association with the control program PCA2. The memory 52 stores a self version which is a version of the control program PCA3 in association with the control program PCA3. In the example shown in FIG. 2, "AA1" is stored in the memory 52 as a self version in association with the control program PCA1. "BA1" is stored in the memory 52 as a self version in association with the control program PCA2. "CA1" is stored in the memory 52 as a self version in association with the control program PCA3.
[0015] The memory 62 stores a self version, which is a version of the control program PCB1, in association with the control program PCB1. The memory 62 stores a self version, which is a version of the control program PCB2, in association with the control program PCB2. The memory 62 stores a self version, which is a version of the control program PCB3, in association with the control program PCB3. In the example shown in FIG. 2, "AB1" is stored in the memory 62 as a self version in association with the control program PCB1. "BB1" is stored in the memory 62 as a self version in association with the control program PCB2. "CB1" is stored in the memory 62 as a self version in association with the control program PCB3.
[0016] Also, memory 52 stores a partner-matching version and a self-matching version in association with its own control program. Similarly, memory 62 stores a partner-matching version and a self-matching version in association with its own control program. A partner-matching version is a version of the partner's control program that matches with a self version, which is a version of its own control program. A self-matching version is a version of its own control program that matches with a version of the partner's control program.
[0017] In this embodiment, the other party from the viewpoint of the electronic control device 50 is the electronic control device 60, and the other party from the viewpoint of the electronic control device 60 is the electronic control device 50. In addition, in the following description, the control program stored in one's own memory is sometimes referred to as "one's own control program", and the control program stored in the other party's memory is sometimes referred to as "other party's control program".
[0018] 2, version AB1 of the control program PCB1 of the electronic control device 60 that is compatible with version AA1 (own version) of its own control program PCA1 is stored in the memory 52 as the compatible version. Version BB1 of the control program PCB2 of the electronic control device 60 that is compatible with version BA1 (own version) of its own control program PCA2 is stored in the memory 52 as the compatible version. Version CB1 of the control program PCB3 of the electronic control device 60 that is compatible with version CA1 (own version) of its own control program PCA3 is stored in the memory 52 as the compatible version.
[0019] 2, version AA1 of the control program PCA1 of the electronic control device 60 (partner), which is consistent with version AB1 of the control program PCB1 of the electronic control device 60 (partner), is stored in the memory 62 as a self-matching version. Version BA1 of the control program PCA2 of the electronic control device 60 (partner), which is consistent with version BB1 of the control program PCB2 of the electronic control device 60 (partner), is stored in the memory 62 as a self-matching version. Version CA1 of the control program PCA3 of the electronic control device 60 (partner), which is consistent with version CB1 of the control program PCB3 of the electronic control device 60 (partner), is stored in the memory 62 as a self-matching version.
[0020] 2, version AA1 of the control program PCA1 of the electronic control device 50 that is compatible with version AB1 (own version) of its own control program PCB1 is stored in the memory 52 as the compatible version. Version BA1 of the control program PCA2 of the electronic control device 50 that is compatible with version BB1 (own version) of its own control program PCB2 is stored in the memory 52 as the compatible version. Version CA1 of the control program PCA3 of the electronic control device 50 that is compatible with version CB1 (own version) of its own control program PCB3 is stored in the memory 52 as the compatible version.
[0021] 2, version AB1 of the control program PCB1 of the electronic control device 50 (partner), which is consistent with version AA1 of the control program PCA1 of the electronic control device 50 (partner), is stored in the memory 62 as a self-matching version. Version BB1 of the control program PCB2 of the electronic control device 50 (partner), which is consistent with version BA1 of the control program PCA2 of the electronic control device 50 (partner), is stored in the memory 62 as a self-matching version. Version CB1 of the control program PCB3 of the electronic control device 50 (partner), which is consistent with version CA1 of the control program PCA3 of the electronic control device 50 (partner), is stored in the memory 62 as a self-matching version.
[0022] The control programs stored in the memories 52, 62 may be updated when a predetermined update permission condition is satisfied. When a control program is updated, the self version, the partner-matching version, and the self-matching version stored in the memories 52, 62 in association with the control program to be updated are also updated. For example, when the control program PCA1 for the first vehicle control in the memory 52 is updated, in addition to the control program PCA1, the self version, the partner-matching version, and the self-matching version associated with the control program PCA1 are updated.
[0023] Incidentally, the above-mentioned update permission condition may be, for example, that the vehicle is stopped. Depending on the update contents of the control programs, both of the control programs of the electronic control devices 50, 60 may be updated, or only one of the control programs of the electronic control devices 50, 60 may be updated. When updating either of the control programs of the electronic control devices 50, 60, the control programs are updated in order. Therefore, if the update permission condition is not satisfied during the update, it may be possible to update the control programs of some of the electronic control devices but not the remaining electronic control devices.
[0024] Therefore, in this embodiment, the electronic control unit 50 executes a consistency determination process to determine whether or not a combination of the version of its own control program and the version of the control program of the counterpart electronic control unit 60 satisfies a consistency condition. The electronic control unit 60 also executes a consistency determination process to determine whether or not a combination of the version of its own control program and the version of the control program of the counterpart electronic control unit 50 satisfies a consistency condition. Then, when both of the following conditions (A) and (B) are satisfied, the implementation of vehicle control is permitted. On the other hand, when at least one of the conditions (A) and (B) is not satisfied, the implementation of vehicle control is not permitted. (A) The electronic control device 50 executes a consistency determination process to determine that the consistency conditions are met. (B) The electronic control device 60 executes a matching determination process to determine that the matching conditions are met.
[0025] The permission or non-permission of such implementation is determined for each vehicle control. That is, when both of the conditions (A) and (B) are satisfied with respect to the control program for the first vehicle control, the implementation of the first vehicle control is permitted. On the other hand, when at least one of the conditions (A) and (B) is not satisfied, the implementation of the first vehicle control is not permitted. When both of the conditions (A) and (B) are satisfied with respect to the control program for the second vehicle control, the implementation of the second vehicle control is permitted. On the other hand, when at least one of the conditions (A) and (B) is not satisfied, the implementation of the second vehicle control is not permitted. When both of the conditions (A) and (B) are satisfied with respect to the control program for the third vehicle control, the implementation of the third vehicle control is permitted. On the other hand, when at least one of the conditions (A) and (B) is not satisfied, the implementation of the third vehicle control is not permitted.
[0026] Next, a flow of a series of processes executed by the electronic control units 50, 60 to determine whether or not to permit execution of vehicle control will be described with reference to Fig. 3. For example, this series of processes is executed as part of an initial process when the drive switch of the vehicle is turned on.
[0027] In step S11, the electronic control units 50, 60 execute a process of transmitting and receiving version information. That is, the electronic control units 50, 60 transmit the version of their own control program, i.e., their own version, to the other party. At this time, the own version associated with the control program for the first vehicle control, the own version associated with the control program for the second vehicle control, and the own version associated with the control program for the third vehicle control are transmitted. In addition, the electronic control units 50, 60 request the other party (the other electronic control unit) for the version of the other party's control program.
[0028] Next, in step S12, the electronic control unit 50, 60 determines whether the transmission and reception process is complete. If both the transmission of the version of each of its own control programs is complete and the reception of the version of each of the other control programs is complete, the electronic control unit 50, 60 determines that the transmission and reception process is complete (S12: YES) and proceeds to the next step S13. On the other hand, if at least one of the transmission of the version of each of its own control programs is complete and the reception of the version of each of the other control programs is complete, the electronic control unit 50, 60 does not determine that the transmission and reception process is complete (S12: NO). In this case, the electronic control unit 50, 60 repeats the determination in step S12 until it can determine that the transmission and reception process is complete.
[0029] In the next step S13, the electronic control unit 50, 60 sets "1" as the number N. When "1" is set as the number N, a consistency determination process is executed for the control program for the first vehicle control. When "2" is set as the number N, a consistency determination process is executed for the control program for the second vehicle control. When "3" is set as the number N, a consistency determination process is executed for the control program for the third vehicle control. When the number N is set in this manner, the electronic control unit 50, 60 executes the consistency determination process.
[0030] That is, the electronic control devices 50, 60 perform self-matching judgment processing of the matching judgment processing. In the first step S14, the electronic control devices 50, 60 judge whether or not it has been judged that the matching condition is satisfied for themselves. The electronic control devices 50, 60 judge whether or not the matching condition is satisfied based on the partner matching version stored in the memory 52, 62 in association with their own control program and the version of the partner's control program. The "partner matching version stored in the memory in association with their own control program" refers to the partner matching version for the other electronic control device stored in their own memory. Also, the "version of the partner's control program" here refers to the version of the control program received from the partner by executing the transmission and reception processing.
[0031] Here, a case where "1" is set as the number N will be described. The electronic control device 50 judges whether or not the version of the control program PCB1 of the other party is included in the other party matching version stored in the memory 52 in association with the control program PCA1. When the version of the control program PCB1 of the other party is included, the electronic control device 50 judges that the matching condition is satisfied for itself. The electronic control device 60 judges whether or not the version of the control program PCA1 of the other party is included in the other party matching version stored in the memory 62 in association with the control program PCB1. When the version of the control program PCA1 of the other party is included, the electronic control device 60 judges that the matching condition is satisfied for itself. Note that the contents of the judgment when a value other than "1" is set as the number N are the same as when "1" is set as the number N. Therefore, the explanation of the case where a value other than "1" is set as the number N will be omitted.
[0032] In step S14, if it is determined that the matching condition is satisfied for the electronic control device 50, 60 itself (YES), the electronic control device 50, 60 proceeds to the next step S15. On the other hand, if it is not determined that the matching condition is satisfied for the electronic control device 50, 60 itself (NO in S14), the electronic control device 50, 60 proceeds to step S16, which will be described later.
[0033] In step S15, the electronic control units 50, 60 determine that they are consistent, and then the electronic control units 50, 60 end the self-matching determination process. In step S16, the electronic control units 50, 60 determine whether or not they have determined that the matching condition is not satisfied for themselves.
[0034] Here, a case where "1" is set as the number N will be described. When the version of the control program PCB1 of the other party (electronic control device 60) is older than any of the other party matching versions stored in the memory 52 in association with the control program PCA1 of the electronic control device 50, the electronic control device 50 determines that the matching condition is not satisfied for itself. On the other hand, when the version of the control program PCB1 of the other party is newer than any of the other party matching versions stored in the memory 52 in association with the control program PCA1 of the electronic control device 50, the electronic control device 50 does not determine that the matching condition is not satisfied for itself. Also, when the version of the control program PCA1 of the other party (electronic control device 50) is older than any of the other party matching versions stored in the memory 62 in association with the control program PCB1 of the electronic control device 60, the electronic control device 60 determines that the matching condition is not satisfied for itself. On the other hand, when the version of the control program PCA1 of the other party is newer than any of the other party matching versions stored in the memory 62 in association with the control program PCB1 of the electronic control device 60, the electronic control device 60 does not determine that the matching condition is not satisfied for itself. Note that the contents of the determination when a value other than "1" is set as the number N are the same as when "1" is set as the number N. Therefore, the explanation of the case where a value other than "1" is set as the number N is omitted.
[0035] In step S16, if it is determined that the matching condition is not satisfied for the electronic control device 50, 60 itself (YES), the electronic control device 50, 60 proceeds to the next step S17. On the other hand, if it is not determined that the matching condition is satisfied for the electronic control device 50, 60 itself (NO in S16), the electronic control device 50, 60 proceeds to step S18, which will be described later.
[0036] In step S17, the electronic control units 50, 60 themselves determine that there is a mismatch, and then the electronic control units 50, 60 end the self-matching determination process. In step S18, the electronic control unit 50, 60 determines that its own consistency / inconsistency is unknown. This is because it is not determined that the consistency condition is satisfied for itself, nor is it determined that the consistency condition is not satisfied for itself. This may occur when the control program of the other control unit has been updated, but the electronic control unit's own control program has not been updated. Then, the electronic control unit 50, 60 ends the self-consistency determination process.
[0037] When the self-matching determination process is completed, the electronic control unit 50, 60 performs a partner matching determination process. In the first step S19, the electronic control unit 50, 60 determines whether or not it has been determined that the matching condition is satisfied for the partner. The electronic control unit 50, 60 determines whether or not the matching condition is satisfied based on the self version and the self-matching version stored in the memory 52, 62 in association with its own control program.
[0038] Here, a case where "1" is set as the number N will be described. The electronic control device 50 judges whether or not the self-version, which is the version of its own control program PCA1, is included in the self-matching version that is matched with the version of the control program PCB1 of the other party (electronic control device 60). Then, when the self-version is included, the electronic control device 50 judges that the matching condition is satisfied with respect to the other party. Also, the electronic control device 60 judges whether or not the self-version, which is the version of its own control program PCB1, is included in the self-matching version that is matched with the version of the control program PCA1 of the other party (electronic control device 50). Then, when the self-version is included, the electronic control device 60 judges that the matching condition is satisfied with respect to the other party. Note that the contents of the judgment when a value other than "1" is set as the number N are the same as when "1" is set as the number N. Therefore, a description of the case where a value other than "1" is set as the number N will be omitted.
[0039] In step S19, when it is determined that the matching condition is satisfied for the other party (YES), the electronic control unit 50, 60 proceeds to the next step S20. On the other hand, when it is not determined that the matching condition is satisfied for the other party (S19: NO), the electronic control unit 50, 60 proceeds to step S21, which will be described later.
[0040] In step S20, the electronic control units 50, 60 determine that the other electronic control units 50, 60 are matched with each other, and then the electronic control units 50, 60 end the match determination process. In step S21, the electronic control units 50, 60 determine whether or not it has been determined that the matching condition is not satisfied with respect to the other party.
[0041] Here, a case where "1" is set as the number N will be described. When the version of the control program PCA1 of the electronic control device 50 is not included in the self-matching version that is matched with the version of the control program PCB1 of the other party (electronic control device 60), the electronic control device 50 judges that the matching condition is not satisfied with respect to the other party. On the other hand, when the self-matching version itself that is matched with the version of the control program PCB1 of the other party does not exist, the electronic control device 50 does not judge that the matching condition is not satisfied with respect to the other party. Also, when the version of the control program PCB1 of the electronic control device 60 is not included in the self-matching version that is matched with the version of the control program PCA1 of the other party (electronic control device 50), the electronic control device 60 judges that the matching condition is not satisfied with respect to the other party. On the other hand, when the self-matching version itself that is matched with the version of the control program PCA1 of the other party does not exist, the electronic control device 60 does not judge that the matching condition is not satisfied with respect to the other party. Note that the contents of the judgment when a value other than "1" is set as the number N are the same as when "1" is set as the number N. Therefore, the explanation of the case where a value other than "1" is set as the number N will be omitted.
[0042] In step S21, when it is determined that the matching condition is not satisfied for the other party (YES), the electronic control devices 50, 60 proceed to the next step S22. On the other hand, when it is not determined that the matching condition is not satisfied for the other party (S21: NO), the electronic control devices 50, 60 proceed to step S23 described later.
[0043] In step S22, the electronic control units 50, 60 determine that the other unit is incompatible, and then the electronic control units 50, 60 end the other unit compatibility determination process. In step S23, the electronic control unit 50, 60 determines that the compatibility / incompatibility of the other device is unknown. This is because the electronic control unit 50, 60 does not determine that the compatibility condition is met for the other device, nor does it determine that the compatibility condition is not met for the other device. This may occur when the electronic control unit's own control program has been updated, but the other device's control program has not been updated. Then, the electronic control unit 50, 60 ends the compatibility determination process for the other device.
[0044] When the partner matching determination process is completed, the electronic control unit 50, 60 shifts the process to step S24. In step S24, the electronic control unit 50, 60 notifies the partner of the determination result in the partner matching determination process. Subsequently, in step S25, the electronic control unit 50, 60 determines whether or not a notification of the determination result has been received from the partner. If the notification has not been received yet (S25: NO), the electronic control unit 50, 60 repeats the determination in step S25 until the notification is received from the partner. On the other hand, if the notification has been received from the partner (S25: YES), the electronic control unit 50, 60 performs a determination change process. That is, in step S26, the electronic control unit 50, 60 performs a re-determination based on the notification received from the partner. Even if the electronic control unit 50, 60 determines in step S18 that its own matching / inmatching is unknown, when the notification received from the partner is a notification indicating matching, the electronic control unit 50, 60 determines that the matching condition is satisfied. In other words, even if the electronic control devices 50 and 60 have not determined that the matching conditions are met through their own matching judgment processing, if the judgment result received from another electronic control device (partner) is that the matching conditions are met through the partner matching judgment processing in the other electronic control device, the electronic control devices will determine that the matching conditions are met.
[0045] If the electronic control units 50, 60 determine in step S15 that they themselves are consistent, they determine that the consistency condition is met regardless of the content of the notification received from the other party.
[0046] On the other hand, if the electronic control devices 50, 60 determine in step S17 that there is a mismatch, they do not determine that the matching condition is met, regardless of the content of the notification received from the other party.
[0047] Then, the electronic control units 50 and 60 notify the other party of the result of the re-determination, i.e., the result of the determination as to whether or not the matching condition is satisfied by the other party. When the electronic control units 50 and 60 receive the result of the re-determination by the other party, they end the determination change process.
[0048] When the determination change process is completed, the electronic control unit 50, 60 proceeds to the next step S27. In step S27, the electronic control unit 50, 60 determines whether or not both of the above conditions (A) and (B) are satisfied. If both of the conditions (A) and (B) are satisfied (S27: YES), the electronic control unit 50, 60 proceeds to the next step S28. In step S28, the electronic control unit 50, 60 permits the implementation of the vehicle control corresponding to the number N. If the number N is set to "1", the electronic control unit 50, 60 permits the implementation of the first vehicle control. Then, the electronic control unit 50, 60 proceeds to step S30, which will be described later. On the other hand, in step S27, if at least one of the conditions (A) and (B) is not satisfied (NO), the electronic control unit 50, 60 proceeds to the next step S29. In step S29, the electronic control unit 50, 60 does not permit the implementation of the vehicle control corresponding to the number N. If "1" is set as the number N, the electronic control units 50, 60 do not permit the implementation of the first vehicle control. Then, the electronic control units 50, 60 proceed to the next step S30.
[0049] In step S30, the electronic control unit 50, 60 judges whether the number N is equal to the judgment number Nth. In this embodiment, the judgment number Nth is set to "3". If the number N is smaller than the judgment number Nth (S30: NO), the electronic control unit 50, 60 proceeds to the next step S31. In step S31, the electronic control unit 50, 60 increments the number N by "1". Then, the electronic control unit 50, 60 proceeds to the above-mentioned step S14. On the other hand, in step S30, if the number N is equal to the judgment number Nth (YES), the electronic control unit 50, 60 has been able to set permission / prohibition of implementation for all vehicle controls, and therefore ends the series of processes.
[0050] Next, the operation and effect of this embodiment will be described with reference to Fig. 4 and Fig. 5. Here, the consistency / inconsistency of the control program of the first vehicle control will be described. The consistency / inconsistency of the control program of the vehicle controls other than the first vehicle control will be omitted because it is the same as the first vehicle control.
[0051] First, with reference to FIGS. 4(a) and 4(b), a case in which both the control program PCA1 of the electronic control unit 50 and the control program PCB1 of the electronic control unit 60 related to the first vehicle control are updated will be described.
[0052] The electronic control device 50 transmits version AA2 of its own control program PCA1 to the electronic control device 60. Similarly, the electronic control device 60 transmits version AB2 of its own control program PCB1 to the electronic control device 50. Then, the electronic control device 50 receives version AB2 of the control program PCB1 of the electronic control device 60. The electronic control device 60 also receives version AA2 of the control program PCA1 of the electronic control device 50. When the transmission and reception process is executed in this manner, a consistency determination process is executed in each of the electronic control devices 50, 60.
[0053] In the electronic control device 50, the self-matching determination process determines that the control program PCA1 is matched with itself because the version AB2 of the control program PCB1 of the counterpart (electronic control device 60) is included in the counterpart-matching versions AB1, AB2 stored in the memory 52 in association with the control program PCA1. Next, in the counterpart-matching determination process, the self-matching versions AA1, AA2 for the version AB2 of the control program PCB1 stored in the memory 52 in association with the control program PCA1 include the version AA2 of the control program PCA1 of the electronic control device 50, so that the control program PCA1 is matched with the counterpart. Then, a notification that the control program PCA1 is matched with the counterpart is sent to the electronic control device 60.
[0054] Similarly, in the electronic control device 60, the self-matching determination process determines that the control program PCB1 is matched with itself because the version AA2 of the control program PCA1 of the counterpart (electronic control device 50) is included in the counterpart-matching versions AA1 and AA2 stored in the memory 62 in association with the control program PCB1. Next, in the counterpart-matching determination process, the self-matching versions AB1 and AB2 for the version AA2 of the control program PCA1 stored in the memory 62 in association with the control program PCB1 include the version AB2 of the control program PCB1 of the electronic control device 60, so that the control program PCB1 is matched with the counterpart. Then, a notification that the control program PCB1 is matched with the counterpart is sent to the electronic control device 50.
[0055] In such a case, even if the judgment change process is performed in either of the electronic control devices 50, 60, the judgment result does not change. As a result, it is possible to determine that both of the above conditions (A) and (B) are satisfied in each of the electronic control devices 50, 60. That is, in this embodiment, each of the electronic control devices 50, 60 can determine whether or not the compatibility condition is satisfied with respect to each other's control programs without going through a center device outside the vehicle. Therefore, it is possible to suppress the time it takes for the judgment result of whether or not the compatibility condition is satisfied to be reflected in the vehicle control.
[0056] In this case, execution of the first vehicle control is permitted in either of the electronic control devices 50, 60. Therefore, when the conditions for executing the first vehicle control are met while the vehicle is traveling, the first vehicle control can be executed by operating the braking device 10 through cooperation of the electronic control devices 50, 60.
[0057] Next, referring to Figs. 4(a) and (b), a case will be described in which the control program PCA1 is updated in the electronic control device 50, but the control program PCB2 is not updated in the electronic control device 60. When updating the control programs in the electronic control devices 50, 60, the control program of the first electronic control device is updated first, and the control program of the second electronic control device is updated after the update is completed. Therefore, even if the latest control programs are individually prepared in the electronic control devices 50, 60, an event may occur in which the control program is updated in the first electronic control device, but not in the second electronic control device. In the example described here, the electronic control device 50 corresponds to the first electronic control device, and the electronic control device 60 corresponds to the second electronic control device.
[0058] The electronic control device 50 transmits version AA2 of its own control program PCA1 to the electronic control device 60. In addition, the electronic control device 60 transmits version AB1 of its own control program PCB1 to the electronic control device 50. Then, the electronic control device 50 receives version AB1 of the control program PCB1 of the other party (electronic control device 60). In addition, the electronic control device 60 receives version AA2 of the control program PCA1 of the other party (electronic control device 50). When the transmission and reception process is executed in this manner, a consistency determination process is executed in each of the electronic control devices 50, 60.
[0059] In the electronic control device 50, the self-matching determination process determines that the control program PCA1 is matched with itself because the version AB1 of the control program PCA1 of the counterpart (electronic control device 60) is included in the counterpart-matching versions AB1 and AB2 stored in the memory 52 in association with the control program PCA1. Next, in the counterpart-matching determination process, the self-matching versions AA1 and AA2 for the version AB1 of the control program PCB1 stored in the memory 52 in association with the control program PCA1 include the version AA2 of the control program PCA1 of the electronic control device 50, so that the control program PCA1 is matched with the counterpart. Then, a notification that the control program is matched with the counterpart is sent to the electronic control device 60.
[0060] Meanwhile, the electronic control device 60 also performs a self-matching determination process. In the self-matching determination process, the version AA2 of the control program PCA1 of the counterpart (electronic control device 50) is not included in the counterpart matching version AA1 stored in the memory 62 in association with the control program PCB1. Moreover, the version AA2 of the control program PCA1 received from the electronic control device 50 is newer than the counterpart matching version AA1. Therefore, it is determined that the matching / inconsistency of the control program PCA1 itself is unknown. Furthermore, the electronic control device 60 performs a counterpart matching determination process. In this case, the memory 62 does not contain a self-matching version for the version AA2 of the counterpart control program PCA1. Therefore, in the counterpart matching determination process, it is determined that the matching / inconsistency of the counterpart is unknown. Then, a notification that the matching / inconsistency of the counterpart is unknown is transmitted to the electronic control device 50.
[0061] In such a case, the electronic control unit 50 in which the control program PCA1 has been updated is able to determine that both of the above conditions (A) and (B) are satisfied, regardless of the contents of the notification from the electronic control unit 60. Therefore, the electronic control unit 50 is permitted to execute the first vehicle control.
[0062] On the other hand, the electronic control unit 60 receives a notification from the electronic control unit 50 that the matching is established. Therefore, in the judgment change process, the electronic control unit 60 determines that the matching condition is satisfied for itself. Therefore, the electronic control unit 60 also knows that both of the above conditions (A) and (B) are satisfied. As a result, the electronic control unit 60 is also permitted to perform the first vehicle control. Therefore, the first vehicle control can be performed by operating the braking device 10 through cooperation between the electronic control units 50, 60.
[0063] That is, even if the control program PCA1 of the electronic control device 50 is updated and the control program PCB1 of the electronic control device 60 is not updated, when the electronic control device 50 determines that the matching condition is satisfied in the electronic control device 60, the electronic control device 60 also determines that the matching condition is satisfied. Therefore, even if the control program is updated in only one of the electronic control devices 50, 60, it is possible to increase the opportunities for performing vehicle control.
[0064] In the above case, in the electronic control device 50, the version AB1 of the control program PCB1 of the electronic control device 60 is included in the counterpart matching versions AB1, AB2 stored in the memory 52 in association with the control program PCA1. Therefore, the electronic control device 60 also determines that the matching condition is satisfied by the judgment change process. However, in some cases, in the electronic control device 50, the version AB1 of the control program PCB1 of the electronic control device 60 may not be included in the counterpart matching versions stored in the memory 52 in association with the control program PCA1. In this case, the version of the control program PCB1 of the electronic control device 60 is older than the version of the control program PCA1 of the electronic control device 50, so the counterpart is determined to be inconsistent. As a result, even if the judgment change process is performed in the electronic control device 60, the electronic control device 60 does not determine that the matching condition is satisfied. Therefore, at least one of the above conditions (A) and (B) is not satisfied, so that the implementation of the first vehicle control is not permitted. In this case, even if the situation requires the implementation of the first vehicle control during vehicle running, the first vehicle control is not implemented.
[0065] 5, there are cases where only the control program PCA1 of the electronic control device 50 is prepared as the latest version among the electronic control device 50 and the electronic control device 60. In this case, the control program PCA1 has been updated in the electronic control device 50, but the control program PCB2 has not been updated in the electronic control device 60. Even in this case, the electronic control device 50 corresponds to the first electronic control device, and the electronic control device 60 corresponds to the second electronic control device.
[0066] Even if the electronic control unit 60 determines that it is incompatible with itself or that its own compatibility / incompatibility is unknown by the self-matching determination process, if the electronic control unit 50 determines that it is compatible with the other party by the other party's match-matching determination process, the electronic control unit 60 determines that the compatibility condition is satisfied by the determination change process. In this case, if the electronic control unit 50 determines that it is compatible with itself by the self-matching determination process, both of the above conditions (A) and (B) are satisfied, and the first vehicle control is permitted to be performed. On the other hand, if the electronic control unit 50 determines that it is incompatible with the other party or that its compatibility / incompatibility is unknown by the other party's match-matching determination process, the electronic control unit 60 may not determine that the compatibility condition is satisfied in the determination change process. Therefore, in such a case, at least one of the above conditions (A) and (B) is not satisfied, and the first vehicle control is not permitted to be performed.
[0067] Second embodiment Next, a second embodiment of a vehicle control system will be described with reference to Fig. 6. In the following description, differences from the first embodiment will be mainly described, and the same reference numerals will be used to designate the same or corresponding members as those in the first embodiment, and duplicated description will be omitted.
[0068] In this embodiment, each of the memories 52 and 62 stores a control program, a self version which is a version of the control program, and a partner-compatible version in association with each other, but the self-compatible version does not necessarily have to be stored.
[0069] A flow of a series of processes executed by the electronic control units 50, 60 to determine whether or not to permit execution of vehicle control will be described with reference to Fig. 6. For example, this series of processes is executed as part of an initial process when the drive switch of the vehicle is turned on.
[0070] In step S51, the electronic control unit 50, 60 executes the same transmission / reception process as in step S11. In the next step S52, the electronic control unit 50, 60 determines whether the transmission / reception process is completed, as in step S12. If the transmission / reception process has not been completed (S52: NO), the electronic control unit 50, 60 repeats the determination in step S52 until the transmission / reception process is completed. On the other hand, if the transmission / reception process is completed (S52: YES), the electronic control unit 50, 60 proceeds to the next step S53. In step S53, the electronic control unit 50, 60 sets the number N to "1" as in step S13.
[0071] Next, in step S54, the electronic control unit 50, 60 performs a first determination process to determine whether or not the matching condition is satisfied based on the partner matching version stored in the memory 52, 62 in association with the control program of the electronic control unit 50, 60 and the version of the control program of the partner. In the first determination process, the electronic control unit 50, 60 determines that the matching condition is satisfied when the version of the control program of the partner is included in the partner matching version stored in the memory 52, 62 in association with the control program of the electronic control unit 50, 60. On the other hand, in the first determination process, the electronic control unit 50, 60 does not determine that the matching condition is satisfied when the version of the control program of the partner is not included in the partner matching version stored in the memory 52, 62 in association with the control program of the electronic control unit 50, 60. Then, when it is determined that the matching condition is satisfied (S54: YES), the electronic control unit 50, 60 proceeds to the next step S55.
[0072] In step S55, the electronic control units 50, 60 themselves determine that there is consistency, and the electronic control units 50, 60 then proceed to step S60, which will be described later. On the other hand, if it is not determined in step S54 that the matching condition is satisfied (NO), the electronic control unit 50, 60 proceeds to the next step S56. If the control program of the other party has been updated but the control program of the electronic control unit 50, 60 has not been updated, the matching condition may not be satisfied. In step S56, the electronic control unit 50, 60 determines whether the version of the control program of the other party is newer than the version of the electronic control unit's own control program. If the version of the control program of the other party is older than the version of the electronic control unit's own control program (S56: NO), the electronic control unit 50, 60 proceeds to the next step S57. On the other hand, if the version of the control program of the other party is newer than the version of the electronic control unit's own control program (S56: YES), the electronic control unit 50, 60 proceeds to step S58, which will be described later.
[0073] In step S57, the electronic control units 50, 60 determine that they are inconsistent, and the electronic control units 50, 60 proceed to step S60, which will be described later. In step S58, the electronic control unit 50, 60 judges whether or not a notification has been received from the other party. The notification received here is the judgment result of consistency / inconsistency on the other party's side. That is, a series of processes are also executed on the other party's side. Then, when the other party executes step S60 described later, a notification is transmitted from the other party. For example, the electronic control unit 50 receives the judgment result of the first judgment process in the electronic control unit 60 as a notification. If a notification has not yet been received from the other party (S58: NO), the electronic control unit 50, 60 repeats the judgment of step S58 until a notification is received. On the other hand, if a notification has been received from the other party (S58: YES), the electronic control unit 50, 60 transitions to the next step S59.
[0074] In step S59, the electronic control units 50 and 60 judge whether or not the other party is consistent based on the notification from the other party. For example, the electronic control unit 50 judges whether or not the processing of step S55 has been executed as a result of the first judgment processing of the electronic control unit 60. If the other party is consistent (S59: YES), the electronic control units 50 and 60 move the processing to the above-mentioned step S55. That is, when the version of the control program of the other party is newer than the version of the control program of the electronic control unit 50 and 60, if it is determined that the other party satisfies the consistency condition, the electronic control units 50 and 60 also judge that the consistency condition is satisfied. That is, in this embodiment, a "second judgment processing" is configured in which, even if the first judgment processing does not determine that the consistency condition is satisfied, if the compatibility judgment processing of the other party determines that the consistency condition is satisfied, the electronic control units 50 and 60 also judge that the consistency condition is satisfied.
[0075] On the other hand, if there is a mismatch in the other party's control program (S59: NO), the electronic control units 50, 60 transition to the process in step S57 described above. That is, even if the version of the other party's control program is newer than the version of the control program of the electronic control unit 50, 60, if the other party has not determined that the matching condition is satisfied, the electronic control unit 50, 60 does not determine that the matching condition is satisfied either.
[0076] In step S60, the electronic control unit 50, 60 notifies the other party of the determination result of the consistency determination process, which is the result of the processes in steps S54 to S57. Next, in step S61, the electronic control unit 50, 60 determines whether or not the determination result of the consistency determination process at the other party has been received as a notification from the other party. If the notification has not yet been received from the other party (S61: NO), the electronic control unit 50, 60 repeats the determination in step S61 until a notification is received. On the other hand, if a notification has been received from the other party (S61: YES), the electronic control unit 50, 60 transitions to the next step S62.
[0077] In step S62, the electronic control unit 50, 60 judges whether or not both of the above conditions (A) and (B) are satisfied, similar to step S27. If both of the conditions (A) and (B) are satisfied (S62: YES), the electronic control unit 50, 60 shifts the process to the next step S63. In step S63, the electronic control unit 50, 60 permits the implementation of the vehicle control corresponding to the number N, similar to step S28. Then, the electronic control unit 50, 60 shifts the process to step S65, which will be described later. On the other hand, in step S62, if at least one of the conditions (A) and (B) is not satisfied (NO), the electronic control unit 50, 60 shifts the process to the next step S64. In step S64, the electronic control unit 50, 60 does not permit the implementation of the vehicle control corresponding to the number N, similar to step S29. Then, the electronic control unit 50, 60 shifts the process to the next step S65.
[0078] In step S65, the electronic control unit 50, 60 judges whether the number N is equal to the judgment number Nth. If the number N is smaller than the judgment number Nth (S65: NO), the electronic control unit 50, 60 proceeds to the next step S66. In step S66, the electronic control unit 50, 60 increments the number N by "1". Then, the electronic control unit 50, 60 proceeds to the above-mentioned step S54. On the other hand, if the number N is equal to the judgment number Nth in step S65 (YES), the electronic control unit 50, 60 has been able to set permission / prohibition of implementation for all vehicle controls, and therefore ends the series of processes.
[0079] Next, the operation and effect of this embodiment will be described. Here, the consistency and inconsistency of the control program of the first vehicle control will be described. The consistency and inconsistency of the control program of the vehicle controls other than the first vehicle control will be omitted because they are the same as those of the first vehicle control.
[0080] The electronic control device 50 transmits the version of its own control program PCA1 to the electronic control device 60. Similarly, the electronic control device 60 transmits the version of its own control program PCB1 to the electronic control device 50. The electronic control device 50 then receives the version of the control program PCB1 of the electronic control device 60. The electronic control device 60 also receives the version of the control program PCA1 of the electronic control device 50. When the transmission and reception process is executed in this manner, a consistency determination process is executed in each of the electronic control devices 50, 60.
[0081] In the electronic control device 50, a first determination process is performed to determine whether or not the version of the control program PCB1 of the electronic control device 60 is included in the counterpart matching version stored in the memory 52 in association with the control program PCA1. When the version of the control program PCB1 of the electronic control device 60 is included, the electronic control device 50 determines that the version of the control program PCB1 of the electronic control device 60 is consistent with itself since the compatibility condition is satisfied. Then, a notification that the version of the control program PCA1 of the electronic control device 50 is consistent with itself is sent to the electronic control device 60. Similarly, the electronic control device 60 also performs a first determination process. When the version of the control program PCA1 of the electronic control device 50 is included in the counterpart matching version stored in the memory 62 in association with the control program PCB1, the electronic control device 50 determines that the version of the control program PCB1 of the electronic control device 50 is consistent with itself since the compatibility condition is satisfied. Then, a notification that the version of the control program PCB1 of the electronic control device 50 is consistent with itself is sent to the electronic control device 50.
[0082] In this case, both of the above conditions (A) and (B) are satisfied even if the second determination process is not performed in both of the electronic control devices 50 and 60. In other words, each of the electronic control devices 50 and 60 can recognize that both of the conditions (A) and (B) are satisfied, and therefore is permitted to perform the first vehicle control.
[0083] Incidentally, although the control program PCA1 is updated in the electronic control device 50, the control program PCB1 may not be updated in the electronic control device 60. In this case, the electronic control device 50 corresponds to the first electronic control device, and the electronic control device 60 corresponds to the second electronic control device.
[0084] A consistency determination process is executed in each of the electronic control devices 50 and 60. When the electronic control device 50, in which the control program PCA1 has been updated, determines by the execution of the first determination process that the electronic control device 50 itself (the electronic control device 50) satisfies the consistency condition, the electronic control device 50 transmits a notification to the electronic control device 60 that the consistency is established.
[0085] On the other hand, the electronic control device 60, whose control program PCB1 has not been updated, does not know of the existence of the latest version of the control program PCA1 of the electronic control device 50, and therefore does not determine that it (the electronic control device 60) satisfies the matching condition by performing the first determination process. However, when the electronic control device 60 receives a notification from the electronic control device 50 indicating that the electronic control device 50 is in a matching state, the electronic control device 60 also determines that it (the electronic control device 60) satisfies the matching condition. Then, the electronic control device 60 transmits a notification to the electronic control device 50 indicating that it is in a matching state.
[0086] Then, each of the electronic control units 50, 60 can recognize that both of the above conditions (A) and (B) are satisfied, and therefore the implementation of the first vehicle control is permitted. Therefore, it is possible to increase the opportunities for implementing the first vehicle control.
[0087] However, in the electronic control device 50, the first determination process may not determine that the matching condition is satisfied by itself (the electronic control device 50). In this case, a notification that the matching is not satisfied is sent to the electronic control device 60. Therefore, the electronic control device 60 does not determine that the matching condition is satisfied by itself (the electronic control device 60). As a result, both conditions (A) and (B) are not satisfied, and therefore the implementation of the first vehicle control is not permitted.
[0088] Third embodiment Next, a third embodiment of the control system will be described with reference to Fig. 7. In the following description, differences from the second embodiment will be mainly described, and the same reference numerals will be used to designate the same or corresponding components as those in each embodiment, and duplicated description will be omitted.
[0089] A flow of a series of processes executed by the electronic control units 50, 60 to determine whether or not to permit execution of vehicle control will be described with reference to Fig. 7. For example, this series of processes is executed as part of an initial process when the drive switch of the vehicle is turned on.
[0090] In step S81, the electronic control unit 50, 60 executes the same transmission / reception process as in step S11. In the next step S82, the electronic control unit 50, 60 determines whether the transmission / reception process is completed, as in step S12. If the transmission / reception process has not been completed (S82: NO), the electronic control unit 50, 60 repeats the determination in step S82 until the transmission / reception process is completed. On the other hand, if the transmission / reception process is completed (S82: YES), the electronic control unit 50, 60 proceeds to the next step S83. In step S83, the electronic control unit 50, 60 sets the number N to "1" as in step S13.
[0091] Next, in step S84, the electronic control units 50 and 60 execute a pre-diagnosis process to diagnose whether or not a combination of the version of their own control program and the version of the other control program satisfies the compatibility condition. In the pre-diagnosis process, a diagnosis is made based on the other compatibility version stored in their own memory and the version of the other control program. For example, the electronic control unit 50 diagnoses that the compatibility condition is satisfied when the version of the other (electronic control unit 60) control program is included in the other compatibility version stored in the memory 52 in association with their own control program. On the other hand, the electronic control unit 50 diagnoses that the compatibility condition is not satisfied when the version of the other (electronic control unit 60) control program is not included in the other compatibility version stored in the memory 52 in association with their own control program.
[0092] If the electronic control unit 50, 60 diagnoses that the matching condition is not satisfied (S84: NO), the electronic control unit 50, 60 ends the preliminary diagnosis process and proceeds to the next step S85. On the other hand, if the electronic control unit 50, 60 diagnoses that the matching condition is satisfied (S84: YES), the electronic control unit 50, 60 ends the preliminary diagnosis process and proceeds to step S86, which will be described later.
[0093] In step S85, the electronic control unit 50, 60 retransmits the version of its own control program to the other party in the version notification process. That is, when the electronic control unit 50, 60 diagnoses that the matching condition is not satisfied by the preliminary diagnosis process, it transmits the version of its own control program to the other party (the other electronic control unit). Then, the electronic control unit 50, 60 proceeds to step S88, which will be described later.
[0094] In step S86, the electronic control units 50 and 60 create a correction version in the version notification process. The correction version is a version that is determined to satisfy the consistency condition by the consistency determination process in the other party. For example, if the control program is updated in the electronic control unit 50 but not in the electronic control unit 60, the electronic control unit 50 sets the version of the control program before the update as the correction version. On the other hand, if the control program in each electronic control unit 50 and 60 is the latest version, the electronic control unit 50 sets the current version of the control program as the correction version. Next, in step S87, the electronic control units 50 and 60 send the correction version created in step S86 to the other party as the version of their own control program in the version notification process. Then, the electronic control units 50 and 60 proceed to step S88, which will be described later.
[0095] In step S88, the electronic control unit 50, 60 judges whether or not the version of the control program has been received again from the other party. If the version has not been received again (S88: NO), the electronic control unit 50, 60 repeats the judgment of step S88 until the version of the control program has been received again. On the other hand, if the version of the control program has been received again (S88: YES), the electronic control unit 50, 60 proceeds to the next step S90.
[0096] In step S90, the electronic control units 50, 60 execute a consistency determination process. That is, the electronic control units 50, 60 determine that the consistency condition is satisfied if the version of the control program of the other party that has been re-received is included in the partner consistency version stored in the memory 52, 62 in association with the electronic control unit's own control program. On the other hand, the electronic control units 50, 60 do not determine that the consistency condition is satisfied if the version of the control program of the other party that has been re-received is not included in the partner consistency version stored in the memory 52, 62 in association with the electronic control unit's own control program.
[0097] Next, in step S92, the electronic control unit 50, 60 notifies the other party of the determination result of its own consistency determination process. Next, in step S93, the electronic control unit 50, 60 determines whether or not the determination result of the other party's consistency determination process has been received as a notification from the other party. If the notification has not yet been received from the other party (S93: NO), the electronic control unit 50, 60 repeats the determination in step S93 until a notification is received. On the other hand, if a notification has been received from the other party (S93: YES), the electronic control unit 50, 60 transitions to the next step S94.
[0098] In step S94, the electronic control unit 50, 60 judges whether or not both of the above conditions (A) and (B) are satisfied, similar to step S27. If both of the conditions (A) and (B) are satisfied (S94: YES), the electronic control unit 50, 60 shifts the process to the next step S95. In step S95, the electronic control unit 50, 60 permits the implementation of the vehicle control corresponding to the number N, similar to step S28. Then, the electronic control unit 50, 60 shifts the process to step S97, which will be described later. On the other hand, in step S94, if at least one of the conditions (A) and (B) is not satisfied (NO), the electronic control unit 50, 60 shifts the process to the next step S96. In step S96, the electronic control unit 50, 60 does not permit the implementation of the vehicle control corresponding to the number N, similar to step S29. Then, the electronic control unit 50, 60 shifts the process to the next step S97.
[0099] In step S97, the electronic control unit 50, 60 judges whether the number N is equal to the judgment number Nth. If the number N is smaller than the judgment number Nth (S97: NO), the electronic control unit 50, 60 proceeds to the next step S98. In step S98, the electronic control unit 50, 60 increments the number N by "1". Then, the electronic control unit 50, 60 proceeds to the above-mentioned step S84. On the other hand, if the number N is equal to the judgment number Nth in step S97 (YES), the electronic control unit 50, 60 has been able to set permission / prohibition of implementation for all vehicle controls, and therefore ends the series of processes.
[0100] Next, the operation and effect of this embodiment will be described. Here, the consistency and inconsistency of the control program of the first vehicle control will be described. The consistency and inconsistency of the control program of the vehicle controls other than the first vehicle control will be omitted because they are the same as those of the first vehicle control.
[0101] The electronic control unit 50 transmits the version of its own control program PCA1 to the electronic control unit 60. In addition, the electronic control unit 60 transmits the version of its own control program PCB1 to the electronic control unit 50. The electronic control unit 50 then receives the version of the control program PCB1 of the electronic control unit 60. In addition, the electronic control unit 60 receives the version of the control program PCA1 of the electronic control unit 50. When the transmission and reception process is executed in this manner, a pre-diagnosis process is executed in each of the electronic control units 50, 60.
[0102] In the electronic control device 50, if the version of the control program PCB1 of the electronic control device 60 is included in the counterpart matching version stored in the memory 52 in association with the control program PCA1, the electronic control device 50 itself is diagnosed as satisfying the matching condition. Then, a correction version is created. For example, if the version of the control program PCA1 of the electronic control device 50 is "AA2" and the version of the control program PCB1 of the electronic control device 60 is "AB1", when "AA2" is transmitted to the electronic control device 50, the matching judgment process of the electronic control device 60 does not judge that the matching condition is satisfied (see FIG. 2). If the version of the control program PCB1 of the electronic control device 60 is "AB1", when "AA1" is transmitted to the electronic control device 50, the matching judgment process of the electronic control device 60 judges that the matching condition is satisfied. Therefore, in such a case, the correction version is set to "AA1" in the version notification process of the electronic control device 50. Then, in the version notification process, the created correction version is notified to the electronic control device 60 as the version of the control program PCA1 of the electronic control device 50.
[0103] Furthermore, in the electronic control device 60, if the version of the control program PCA1 of the electronic control device 50 is included in the counterpart matching versions stored in the memory 62 in association with the control program PCB1, the electronic control device 60 itself is diagnosed as satisfying the matching condition. Then, in the version notification process executed subsequently, a corrected version is created, and the corrected version is notified to the electronic control device 50 as the version of the control program PCB1 of the electronic control device 60. On the other hand, the electronic control device 60 may be diagnosed as not satisfying the matching condition. In this case, the version notification process resends the current version of the control program PCB1 to the electronic control device 50.
[0104] When the electronic control device 50 re-receives a version of the control program PCB1 from the electronic control device 60, a consistency determination process is executed. That is, when the re-received version is included in the partner consistency versions stored in the memory 52 in association with the electronic control device 50's own control program PCA1, the electronic control device 50 determines that the consistency condition is satisfied. On the other hand, when the re-received version is not included in the partner consistency versions stored in the memory 52 in association with the electronic control program PCA1, the electronic control device 50 does not determine that the consistency condition is satisfied.
[0105] In addition, the electronic control device 60 also executes a consistency determination process when it re-receives a version of the control program PCA1 from the electronic control device 50. That is, in the electronic control device 60, when the re-received version is included in the partner consistency versions stored in the memory 62 in association with its own control program PCB1, it is determined that the consistency condition is satisfied. On the other hand, when the re-received version is not included in the partner consistency versions stored in the memory 62 in association with its own control program PCB1, it is not determined that the consistency condition is satisfied.
[0106] Here, although the control program PCA1 is updated in the electronic control device 50, the control program PCB1 may not be updated in the electronic control device 60. In this case, the pre-diagnosis process in the electronic control device 50 may diagnose that the matching condition is satisfied, while the pre-diagnosis process in the electronic control device 60 may diagnose that the matching condition is not satisfied. Then, since the pre-diagnosis process in the electronic control device 50 diagnoses that the matching condition is satisfied, the correction version is transmitted to the electronic control device 60 as the version of the control program PCA1 in the version notification process. As a result, even if the pre-diagnosis process in the electronic control device 60 diagnoses that the matching condition is not satisfied, the matching determination process determines that the matching condition is satisfied.
[0107] Furthermore, in the electronic control device 50 that is diagnosed as satisfying the matching condition in the preliminary diagnosis process, it is determined in the matching determination process that the matching condition is satisfied. Then, both of the above conditions (A) and (B) are satisfied. Therefore, in each of the electronic control devices 50, 60, the implementation of the first vehicle control is permitted. Therefore, even if the control program PCB1 has not been updated in the electronic control device 60, the first vehicle control can be implemented while the vehicle is traveling. In other words, the opportunities for implementing the first vehicle control can be increased.
[0108] On the other hand, if the control program PCA1 is updated in the electronic control device 50 but the control program PCB1 is not updated in the electronic control device 60, the electronic control devices 50, 60 may be diagnosed as not satisfying the matching condition in the preliminary diagnosis process. In this case, the electronic control device 50 retransmits the version of the actual control program PCA1 to the electronic control device 60 in the version notification process, and the electronic control device 60 retransmits the version of the actual control program PCB1 to the electronic control device 50 in the version notification process. Therefore, in neither of the electronic control devices 50, 60 is it determined in the matching determination process that the matching condition is satisfied. Therefore, the implementation of the first vehicle control is not permitted.
[0109] Now, in a situation where new control programs are prepared for each of the electronic control devices 50 and 60 as shown in FIG. 4, a case is considered in which the control program PCA1 is updated first in the electronic control device 50 and then the control program PCB1 is updated in the electronic control device 60. In this case, the series of processes shown in FIG. 7 may be executed in a state where the control program PCA1 is updated in the electronic control device 50. Then, it is assumed that the electronic control device 50 is diagnosed as satisfying the matching condition in the preliminary diagnosis process. According to this embodiment, even if the control program PCB1 has already been updated in the electronic control device 60, the electronic control device 50 creates a correction version in the version notification process. In this case, the version of the control program PCA1 stored in its own memory 52 becomes the correction version. Then, this correction version is notified to the electronic control device 50 as the version of the control program PCA1. That is, the version of the control program PCA1 stored in its own memory 52 is notified to the electronic control device 60. On the other hand, if the control program PCB1 has not yet been updated in the electronic control device 60, a version different from the version of the control program PCA1 stored in the electronic control device 50's own memory 52 is created as a corrected version in the version notification process in the electronic control device 50. Then, this corrected version is notified to the electronic control device 50 as the version of the control program PCA1. Therefore, even in both cases, the consistency determination process determines that the consistency condition is satisfied in each of the electronic control devices 50 and 60. Therefore, since both of the above conditions (A) and (B) are satisfied, the implementation of the first vehicle control is permitted.
[0110] (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 no technical contradiction occurs.
[0111] In the first embodiment, when the self-matching judgment process judges that the two devices are matched, it is judged that the match condition is met regardless of the result of the other device's matched judgment process. On the other hand, when the self-matching judgment process judges that the two devices are inconsistent or that match / inconsistency is unclear, the judgment change process is carried out taking into account the result of the other device's matched judgment process. In other words, when the other device's matched judgment process judges that the two devices are matched, it is judged that the match condition is met by the judgment change process. However, the content of the matched judgment process is not limited to this.
[0112] For example, when it is determined that there is consistency by the consistency determination control of the other party, it may be determined that the consistency condition is satisfied regardless of the result of the self-consistency determination process of the other party. In this case, when it is determined that there is inconsistency or that the consistency / inconsistency is unclear by the consistency determination control of the other party, it is preferable to carry out the determination change process taking into consideration the result of the self-consistency determination process of the other party. For example, even if it is determined that there is inconsistency or that the consistency / inconsistency is unclear by the consistency determination control of the other party, when it is determined that there is consistency by the consistency determination process of the other party, it may be determined that the consistency condition is satisfied. Even in this case, it is possible to obtain the same effect as the first embodiment.
[0113] The control system may include three or more electronic control devices. When vehicle control is performed by cooperation between three or more electronic control devices, a determination as to whether or not the matching condition is satisfied is performed for each electronic control device. When it is determined that the matching condition is satisfied in each electronic control device, the execution of the vehicle control is permitted.
[0114] The control system may be embodied in a system that controls other in-vehicle devices other than the braking system, such as a steering system or a hybrid system of a vehicle.
[0115] In the control system, when neither of the above conditions (A) nor (B) is satisfied, the vehicle control may be limited in function rather than being prohibited from being executed. For example, only the control functions that can be executed without using the functions of the other party or information from the other party may be executed. [Explanation of symbols]
[0116] 10...braking device 50,60...Electronic control device 51,61…CPU 52,62…Memory 100…Control system
Claims
1. A first electronic control unit and a second electronic control unit capable of communicating with each other are provided, In a vehicle control system, the first electronic control unit and the second electronic control unit each have a memory for storing a control program and a version of the control program, execute a consistency determination process for determining whether a combination of the version of the control program of the first electronic control unit and the version of the control program of the other electronic control unit satisfies a predetermined consistency condition, and execute a process for cooperating with each other when the determination result satisfies the consistency condition, When the control program is updated in the first electronic control device while the control program is not updated in the second electronic control device, and when the first electronic control device is in a specific state in which the matching condition is satisfied in the matching determination process, the second electronic control device is configured to determine that the matching condition is satisfied in the matching determination process. A vehicle control system comprising:
2. When the specific state is reached, the second electronic control unit acquires the version of the control program of the first electronic control unit and a determination result of the consistency determination process executed by the first electronic control unit, and executes the consistency determination process based on the acquired information. The vehicle control system according to claim 1 .
3. The memories of the first electronic control unit and the second electronic control unit each store a matching version of the control program of the other electronic control unit that is matching with the version of the control program of the first electronic control unit and the second electronic control unit, The first electronic control unit, in the consistency determination process in the specific state, determining whether the matching condition is satisfied based on a version of the control program of the second electronic control unit and the counterpart matching version for the second electronic control unit stored in the memory of the second electronic control unit; The second electronic control unit, in the consistency determination process when the specific state is present, a first determination process for determining whether or not the matching condition is satisfied based on the partner matching version for the first electronic control unit stored in the memory of the first electronic control unit and the version of the control program of the first electronic control unit; Even if it is not determined in the first determination process that the matching condition is satisfied, if it is determined in the matching determination process of the first electronic control unit that the matching condition is satisfied, a second determination process is executed to determine that the matching condition is satisfied. The vehicle control system according to claim 2 .
4. The first electronic control unit and the second electronic control unit are storing in the memory a matching version of the control program of the other electronic control unit that is matching with the version of the control program of the electronic control unit itself; Executing a pre-diagnosis process for diagnosing whether the matching condition is satisfied based on the matching version for the other electronic control unit stored in the memory of the other electronic control unit and the version of the control program of the other electronic control unit; When it is determined in the preliminary diagnosis process of the electronic control device that the matching condition is not satisfied, the electronic control device transmits the version of the control program of the electronic control device to the other electronic control device. When it is determined in the preliminary diagnosis process of the electronic control device that the matching condition is satisfied, the electronic control device transmits a corrected version of the control program of the electronic control device to the other electronic control device as the version of the control program of the electronic control device. When the second electronic control unit is in the specific state, the second electronic control unit determines in its own matching determination process whether or not the matching condition is satisfied based on the correction version transmitted from the first electronic control unit and the counterpart matching version for the first electronic control unit stored in its own memory. The vehicle control system according to claim 1 .
5. The memory of the first electronic control unit and the second electronic control unit includes: a matching version, which is a version of the control program of the other electronic control device that matches the version of the control program of the electronic control device itself; a self-matching version, which is a version of the control program of the electronic control device itself that matches the version of the control program of the other electronic control device; The first electronic control unit and the second electronic control unit, in the matching determination process thereof, a self-matching determination process for determining whether or not the matching condition is satisfied based on the matching version for the other electronic control device stored in the memory of the self-matching device and the version of the control program of the other electronic control device; a matching determination process for determining whether the matching condition is satisfied based on the self-matching version stored in the memory of the other electronic control unit and the version of the control program of the other electronic control unit, and notifying the other electronic control unit of the result of the determination; Even if it is not determined in the self-matching determination process that the matching condition is satisfied, if it is determined in the partner matching determination process of the other electronic control unit that the matching condition is satisfied, a determination change process is executed to determine whether the matching condition is satisfied. The vehicle control system according to claim 1 .
6. the control program stored in the memory of the first electronic control unit and the second electronic control unit is a program for performing vehicle control by cooperation between the first electronic control unit and the second electronic control unit, When it is determined that the matching condition is satisfied in both the first electronic control unit and the second electronic control unit, execution of vehicle control by cooperation between the first electronic control unit and the second electronic control unit is permitted. A vehicle control system according to any one of claims 1 to 5.
7. A plurality of vehicle controls are provided as vehicle controls performed by the first electronic control unit and the second electronic control unit in cooperation with each other, The memory of the first electronic control unit and the second electronic control unit stores the control program and the version of the control program for each vehicle control. The vehicle control system according to claim 6.
Citation Information
Patent Citations
Operation information management system
JP1997305384A
Electronic control unit system, and software consistency check system in electronic control unit system
JP2019159399A
Electronic control unit system, and electronic control method
JP2019159400A
Electronic control unit system, and software consistency check system in electronic control unit system
JP2019159401A
Vehicle information communication system
JP2020027623A
