Vehicle control system and control method for vehicle control system

The vehicle control system addresses inaccuracies in time synchronization by generating and transmitting elapsed time information, allowing precise synchronization between electronic devices with reduced communication frequency.

JP7588121B2Active Publication Date: 2024-11-21HONDA MOTOR CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022155131
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-09-28
Publication Date
2024-11-21
Estimated Expiration
2042-09-28

AI Technical Summary

Technical Problem

Existing time synchronization methods do not account for the elapsed time from the generation of a timing synchronization message until its transmission, leading to inaccuracies in time synchronization between electronic devices.

Method used

A vehicle control system that includes a first electronic device and a second electronic device, where the first device generates and transmits time information along with elapsed time information, and the second device adjusts its time measurement based on this information, and transmits adjustment completion information when connected to a different communication bus.

Benefits of technology

Enables precise time synchronization between electronic devices by considering elapsed time, reducing communication frequency and ensuring accurate synchronization across the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007588121000001
    Figure 0007588121000001
  • Figure 0007588121000002
    Figure 0007588121000002
  • Figure 0007588121000003
    Figure 0007588121000003
Patent Text Reader

Abstract

To enable accurate time synchronization between electronic devices (2, 7).SOLUTION: A vehicle control system (1) includes a first electronic device (2) and a second electronic device (7). The first electronic device (1) includes a first timer (203), a generation unit (204) for generating time information (J1) indicating the time measured by the first timer (203), and a first transmitting unit (201) for transmitting the time information (J1) to the second electronic device (7) and transmitting elapsed time information (J2) indicating the elapsed time from the start of generation of the time information (J1) until transmitting the time information (J1), to the second electronic device (7). The second electronic device (7) includes a second timer (703), a receiver (702), and an adjustment unit (704) for adjusting the time measured by the second timer (703), on the basis of the time information (J1) and the elapsed time information (J2) received by the receiver (702).SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a vehicle control system, and Vehicle control system control method law Regarding. [Background technology]

[0002] Conventionally, there are known techniques for time synchronization between electronic devices. For example, Patent Document 1 discloses a technique for time synchronization between a master control device and a slave control device. In Patent Document 1, the master control device transmits a timing synchronization message that stores a global time to the slave control device, and the slave control device sets the time based on the global time extracted from the timing synchronization message. [Prior art documents] [Patent documents]

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

[0004] However, the technique described in Patent Document 1 does not take into account the time elapsed from the start of generation of the timing synchronization message to the transmission of the timing synchronization message, so there is room for improvement in the accuracy of time synchronization. The present invention has been made in consideration of the above-mentioned circumstances, and has an object to enable accurate time synchronization between electronic devices. [Means for solving the problem]

[0005] One aspect of the present invention includes a first electronic device and a second electronic device connected to the first electronic device, the first electronic device including a first clocking unit, a generation unit that generates time information indicating a time clocked by the first clocking unit, and a first transmission unit that transmits the time information generated by the generation unit to the second electronic device and also transmits elapsed time information to the second electronic device that indicates an elapsed time from when the generation unit starts generating the time information to when the generation unit transmits the generated time information, the second electronic device including a second clocking unit, a receiving unit that receives the time information and the elapsed time information, and an adjustment unit that adjusts the time clocked by the second clocking unit based on the time information and the elapsed time information received by the receiving unit, a second transmission unit that, when the electronic device is not connected to a communication bus different from the communication bus connecting the first electronic device, transmits adjustment completion information indicating that the time adjustment is completed after adjusting the time measured by the second clock unit to the first electronic device, and does not transmit the adjustment completion information to the first electronic device when the electronic device is connected to a communication bus different from the communication bus connecting the first electronic device. A vehicle control system. Effect of the Invention

[0006] According to one aspect of the present invention, time synchronization can be performed with high accuracy between electronic devices. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a diagram illustrating a configuration of a vehicle control system. [Diagram 2] FIG. 2 is a block diagram showing the configuration of a central ECU and a connection ECU. [Diagram 3] 4 is a flowchart showing the operation of a central ECU and a connection ECU. [Figure 4] FIG. 11 is a diagram for specifically explaining time synchronization. [Diagram 5] 4 is a flowchart showing the operation of a connection ECU. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] [1. First embodiment] First, the first embodiment will be described. FIG. 1 is a diagram showing the configuration of a vehicle control system 1 that controls a vehicle V. The vehicle control system 1 is a system that controls the vehicle V. The vehicle control system 1 includes a central ECU (Electronic Control Unit) 2 that performs overall control and information processing of the vehicle V. The central ECU 2 executes OTA (Over The Air) management. The OTA management includes control related to a process of downloading an update program for an in-vehicle device included in the vehicle V from a server outside the vehicle, and a process of applying the downloaded update program to the in-vehicle device. The central ECU 2 corresponds to the "first electronic device" and the "electronic device" in the present disclosure.

[0009] The central ECU 2 is connected to the zone ECU 4 via a first communication bus 3. The first communication bus 3 is a communication bus that complies with the CAN standard. The zone ECU 4 controls the end ECU 6 that is connected to it via a second communication bus 5. The second communication bus 5 is a communication bus that complies with the CAN standard, just like the first communication bus 3. When the end ECU 6 is used as a reference, the second communication bus 5 is a communication bus to which the central ECU 2 is connected via the zone ECU 4 and the first communication bus 3. On the other hand, when the zone ECU 4 is used as a reference, the second communication bus 5 is a communication bus to which the central ECU 2 is not connected.

[0010] Examples of the end ECU 6 include a VSA (Vehicle Stability Assist) device, a drive device that drives the vehicle V, an air conditioning device, and an ESL (Electronic Steering Lock). Note that the end ECU 6 is not limited to these examples and may be any ECU that has a clock function as described later.

[0011] 1, the central ECU 2 is connected to a zone ECU 4 via a first communication bus 3, and is connected to an end ECU 6 via the first communication bus 3, the zone ECU 4, and a second communication bus 5. Therefore, in the following description, when the zone ECU 4 and the end ECU 6 are referred to collectively without distinction, they are referred to as "connection ECUs" and are assigned the number "7." The connection ECU 7 corresponds to the "second electronic device" and the "other electronic device" in the present disclosure.

[0012] FIG. 2 is a block diagram showing the configuration of the central ECU 2 and the connection ECU 7. As shown in FIG. The central ECU 2 includes a first processor 20 such as a CPU (Central Processing Unit), a first memory 21, and a first communication unit 22. The first processor 20 corresponds to the "processor" in the present disclosure.

[0013] The first memory 21 is a storage device that stores programs and data executed by the first processor 20. The first memory 21 is configured by a non-volatile storage device such as a ROM (Read Only Memory). The first memory 21 may include a volatile storage device that configures a work area of ​​the first processor 20, such as a RAM (Random Access Memory). The first memory 21 stores data processed by the first processor 20 and a first control program 211 executed by the first processor 20. The first control program 211 corresponds to the "program" in this disclosure.

[0014] The first communication unit 22 includes hardware such as a communication circuit and a connector that comply with the CAN standard, and communicates with the connection ECU 7 under the control of the first processor 20. To the first communication unit 22, a first communication bus 3 is connected.

[0015] The first processor 20 functions as a first transmitting unit 201, a first receiving unit 202, a first timing unit 203, a generating unit 204, and a measuring unit 205 by reading and executing a first control program 211 stored in the first memory 21. The first clock unit 203 corresponds to the "clock unit" in this disclosure. The first transmission unit 201 corresponds to the "transmission unit" in this disclosure.

[0016] The first transmission unit 201 transmits information to the connection ECU 7 via the first communication unit 22 .

[0017] The first receiving unit 202 receives information from the connection ECU 7 via the first communication unit 22 .

[0018] The first clock unit 203 keeps time. For example, the first clock unit 203 operates as an RTC (Real Time Clock) and keeps time of the current time.

[0019] The generating unit 204 generates time information J1 indicating the time measured by the first clocking unit 203. The generating unit 204 outputs the generated time information J1 to the first transmitting unit 201. The first transmitting unit 201 transmits the time information J1 received from the generating unit 204 to the connected ECU 7.

[0020] The measurement unit 205 measures the elapsed time. The elapsed time is the time that has elapsed from when generation of the time information J1 starts until the generated time information J1 is transmitted. The measurement unit 205 measures the elapsed time using a measurement means such as a counter.

[0021] The connection ECU 7 includes a second processor 70 such as a CPU, a second memory 71, and a second communication unit 72. The second memory 71 corresponds to the "storage unit" in this disclosure.

[0022] The second memory 71 is a storage device that stores programs and data executed by the second processor 70. The second memory 71 is configured by a non-volatile storage device such as a ROM. The second memory 71 may include a volatile storage device that configures a work area of ​​the second processor 70, such as a RAM. The second memory 71 stores data processed by the second processor 70 and a second control program 711 executed by the second processor 70.

[0023] The second communication unit 72 includes hardware such as a communication circuit and a connector that comply with the CAN standard, and communicates with the central ECU 2 under the control of the second processor 70. When the connecting ECU 7 is a zone ECU 4, the second communication unit 72 is connected to the first communication bus 3 and communicates with the central ECU 2 via the first communication bus 3. When the connecting ECU 7 is an end ECU 6, the second communication unit 72 is connected to the second communication bus 5 and communicates with the central ECU 2 via the first communication bus 3, the zone ECU 4, and the second communication bus 5.

[0024] When the connecting ECU 7 is a zone ECU 4, the second communication unit 72 is connected to the second communication bus 5 in addition to the first communication bus 3. When the connecting ECU 7 is an end ECU 6, the second communication unit 72 is connected to the second communication bus 5.

[0025] The second processor 70 reads out and executes a second control program 711 stored in the second memory 71, thereby functioning as a second transmitting unit 701, a second receiving unit 702, a second timing unit 703, and an adjusting unit 704. The second receiving unit 702 corresponds to the "receiving unit" in this disclosure.

[0026] The second transmission unit 701 transmits information to the central ECU 2 via the second communication unit 72 .

[0027] The second receiving unit 702 receives information from the central ECU 2 via the second communication unit 72 .

[0028] The second clock unit 703 keeps time. For example, the second clock unit 703 operates as an RTC to keep time. The time kept by the second clock unit 703 is adjusted by the adjustment unit 704.

[0029] The adjustment unit 704 adjusts the time kept by the second clock unit 703. The time adjustment by the adjustment unit 704 will be described with reference to FIGS.

[0030] Next, the operation of the vehicle control system 1 according to this embodiment will be described. Fig. 3 is a flowchart showing the operation of the central ECU 2 and the connection ECU 7. The operation shown in Fig. 3 is related to time synchronization. In Fig. 3, a flowchart FA shows the operation of the central ECU 2, and a flowchart FB shows the operation of the connection ECU 7.

[0031] As shown in a flowchart FA, the generating unit 204 determines whether or not a trigger for generating the time information J1 has occurred (step SA1). An example of the trigger is the arrival of a predetermined period.

[0032] If the generating unit 204 determines that a trigger for generating the time information J1 has not occurred (step SA1: NO), it performs the determination in step SA1 again.

[0033] On the other hand, if the generating unit 204 determines that a trigger for generating the time information J1 has occurred (step SA1: YES), the generating unit 204 starts generating the time information J1 (step SA2).

[0034] Next, the measurement unit 205 starts measuring the elapsed time (step SA3).

[0035] Next, the first transmission unit 201 transmits the time information J1 generated by the generation unit 204 to the connected ECU 7 (step SA4).

[0036] Next, the measurement unit 205 ends the measurement of the elapsed time (step SA5).

[0037] Next, the first transmission unit 201 transmits, to the connected ECU 7, elapsed time information J2 indicating the elapsed time measured by the measurement unit 205 (step SA6).

[0038] As shown in the flowchart FB, the second receiving unit 702 receives the time information J1 from the central ECU 2 (step SB1).

[0039] Next, the adjustment unit 704 adjusts the time kept by the second clock unit 703 to the time indicated by the time information J1 received in step SB1 (step SB2). After the adjustment in step SB2, the second clock unit 703 keeps time based on the time indicated by the time information J1 received in step SB1.

[0040] Next, the second receiving unit 702 receives the elapsed time information J2 from the central ECU 2 (step SB3).

[0041] Next, the adjustment unit 704 adjusts the time measured by the second clock unit 703 to the elapsed time addition time (step SB4). The elapsed time addition time is the time obtained by adding the elapsed time indicated by the elapsed time information J2 received in step SB3 to the time measured by the second clock unit 703 based on the time adjusted in step SB2.

[0042] The time synchronization between the central ECU 2 and the connection ECU 7 will be specifically described with reference to Fig. 4. Fig. 4 is a diagram for specifically describing the time synchronization.

[0043] At timing T1, the generation unit 204 of the central ECU 2 starts generating time information J1. Timing T1 is the timing when the time measured by the first timer unit 203 is "t1".

[0044] At timing T2, the first transmission unit 201 transmits time information J1, which started generation at timing T1, to the connected ECU 7. Timing T2 is the timing when the time measured by the first timing unit 203 is "t2". Time "t2" is the time advanced by Δt from time "t1". The time information J1 transmitted at timing T2 indicates "t1", which is the time when generation started.

[0045] When the second receiving unit 702 receives the time information J1 at timing T2, the adjustment unit 704 of the connection ECU 7 adjusts the time kept by the second clock unit 703 to the time "t1" indicated by the time information received by the second receiving unit 702. After this adjustment, the second clock unit 703 starts clocking based on the time "t1".

[0046] At timing T3, the generation unit 204 of the central ECU 2 transmits elapsed time information J2 to the connected ECU 7. Timing T3 is the timing when the time measured by the first timing unit 203 is time "t3". Time "t3" is a timing that is further advanced from time "t2". The elapsed time information J2 transmitted at timing T3 indicates an elapsed time of "Δt". In FIG. 4, "Δt" is the elapsed time obtained by subtracting time "t1" from time "t2".

[0047] When the second receiving unit 702 receives the elapsed time information J2 at timing T3, the adjustment unit 704 of the connection ECU 7 adjusts the time measured by the second clock unit 703 to time "t4+Δt". Time "t4+Δt" is the elapsed time addition time. Time "t4" indicates the time measured by the second clock unit 703 up to timing T3, based on the adjusted time "t1".

[0048] Next, the operation of the connection ECU 7 when the time measured by the second clock unit 703 is adjusted to the elapsed time addition time will be described. Fig. 5 is a flowchart showing the operation of the connection ECU 7. The operation shown in Fig. 5 is started when the adjustment unit 704 adjusts the time measured by the second clock unit 703 to the elapsed time addition time.

[0049] The second transmission unit 701 judges whether or not a communication bus different from the communication bus connecting to the central ECU 2 is connected (step SC1). As described above, when the end ECU 6 is used as a reference, the second communication bus 5 is connected to the central ECU 2 via the zone ECU 4 and the first communication bus 3. On the other hand, when the zone ECU 4 is used as a reference, the second communication bus 5 is not connected to the central ECU 2. Therefore, the judgment in step SC1 is, in other words, a judgment as to whether or not the end ECU 6 is itself. The judgment in step SC1 is performed, for example, by referring to data that records whether or not a communication bus different from the communication bus connecting to the central ECU 2 is connected. This data is stored in the second memory 71.

[0050] When the second transmission unit 701 determines that a communication bus different from the communication bus connecting the central ECU 2 is connected (step SC1: YES), the second transmission unit 701 ends this process. In other words, when the subject of the operation in FIG. 5 is the zone ECU 4, the second transmission unit 701 makes an affirmative determination in step SC1.

[0051] On the other hand, when it is determined that a communication bus different from the communication bus connecting to the central ECU 2 is not connected (step SC1: NO), the second transmission unit 701 transmits adjustment completion information to the central ECU 2 (step SC2). The adjustment completion information is information indicating that the time adjustment is completed. When the operating subject of FIG. 5 is the end ECU 6, the second transmission unit 701 makes a negative determination in step SC1 and transmits the adjustment completion information.

[0052] 5 allows the central ECU 2 to know that time synchronization in the end ECU 6 has been completed. In the vehicle control system 1, the ECUs are connected in the following order: central ECU 2, zone ECU 4, end ECU 6. Therefore, when time synchronization is completed in the end ECU 6, it can be considered that time synchronization is completed in the entire system. Therefore, when the end ECU 6 transmits adjustment completion information to the central ECU 2, the central ECU 2 can know whether or not time synchronization is completed in the entire system.

[0053] [2. Second embodiment] Next, a second embodiment will be described. In the description of the second embodiment, the same components as those of the vehicle control system 1 of the first embodiment are denoted by the same reference numerals, and detailed description thereof will be omitted where appropriate.

[0054] In the second embodiment, the connection ECU 7 stores the received elapsed time information J2, and performs time synchronization based on the stored elapsed time information J3.

[0055] In the second embodiment, when the second receiving unit 702 receives the elapsed time information J2 from the central ECU2, the second receiving unit 702 stores the received elapsed time information J2 in the second memory 71. Then, when the elapsed time information J2 is stored in the second memory 71, the second transmitting unit 701 transmits stop information to the central ECU2. The stop information is information for stopping the transmission of the elapsed time information J2. When the central ECU2 receives the stop information, the measurement unit 205 stops measuring the elapsed time. Also, when the central ECU2 receives the stop information, the first transmitting unit 201 transmits the time information J1 but does not transmit the elapsed time information J2 even if a trigger for generating the time information J1 occurs.

[0056] After transmitting the stop information, i.e., after storing the elapsed time information J2, when the second receiving unit 702 re-receives the time information J1 from the central ECU 2, the adjustment unit 404 adjusts the time measured by the second timing unit 203 based on the re-received time information J1 and the elapsed time information J2 stored in the second memory 71, as in the first embodiment.

[0057] 3. Other embodiments The above-described embodiments are merely examples and can be modified and applied in any manner.

[0058] In the above-described embodiment, the connection ECU 7 is exemplified as the "second electronic device" of the present disclosure. However, the "second electronic device" of the present disclosure may be an ECU that is directly connected to the central ECU 2 and is not connected to any ECU other than the central ECU 2. Examples of this ECU include an IVI (In-Vehicle Infotainment) ECU, a rear camera, a touch panel, a meter panel, a TCU (Telematics Control Unit), and a V2X (Vehicle to Everything) communication device.

[0059] In the above embodiment, the number of zone ECUs 4 connected to the central ECU 2 is one, but the number of zone ECUs 4 connected to the central ECU 2 may be more than one. The same applies to the end ECUs 6.

[0060] In the above-described second embodiment, once the central ECU 2 transmits the elapsed time information J2, the elapsed time information J2 is not transmitted again. In another embodiment, when a trigger for generating the time information J1 occurs a predetermined number of times or more, the stop due to the stop information may be canceled, and the measurement of the elapsed time and the transmission of the elapsed time information J2 may be re-executed. In this configuration, when the connection ECU 7 receives the elapsed time information J2 again, the connection ECU 7 adjusts the time measured by the second timer 703 based on the most recently received elapsed time information J2, and updates the elapsed time information J2 stored in the second memory 71 to the most recently received elapsed time information J2.

[0061] The first processor 20 and the second processor 70 may be configured with multiple processors or may be configured with a single processor. These processors may be hardware programmed to realize the above-mentioned functional units. In this case, these processors are configured with, for example, an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

[0062] 1 is an example, and the specific implementation form is not particularly limited. In other words, it is not necessarily required to implement hardware corresponding to each unit, and it is of course possible to implement a configuration in which one processor executes a program to realize the functions of each unit. Also, some of the functions realized by software in the above-mentioned embodiment may be implemented by hardware, or some of the functions realized by hardware may be implemented by software.

[0063] In addition, the step units of the operation shown in Fig. 3 are divided according to the main processing contents, and the present disclosure is not limited by the manner in which the processing units are divided or the names thereof. The operation may be divided into more step units according to the processing contents. Furthermore, one step unit may be divided so as to include more processing. Furthermore, the order of the steps may be appropriately changed within a range that does not interfere with the purpose of the present disclosure.

[0064] In addition, when the above-mentioned control method of the vehicle control system 1 is realized using a processor, the program executed by the processor can be configured in the form of a recording medium or a transmission medium for transmitting the program. That is, the first control program 211 can be realized in a state in which the first control program 211 is recorded on a portable information recording medium. Examples of the information recording medium include magnetic recording media such as hard disks, optical recording media such as CDs, and semiconductor storage devices such as USB (Universal Serial Bus) memories and SSDs (Solid State Drives), but other recording media can also be used. In addition, the second control program 711 can be realized in a state in which the second control program 711 is recorded on a portable information recording medium, similar to the first control program 211.

[0065] [4. Configuration supported by the above embodiment] The above embodiment supports the following configurations.

[0066] (Configuration 1) A vehicle control system comprising a first electronic device and a second electronic device connected to the first electronic device, wherein the first electronic device comprises a first timing unit, a generation unit that generates time information indicating a time measured by the first timing unit, and a first transmission unit that transmits the time information generated by the generation unit to the second electronic device and also transmits elapsed time information to the second electronic device indicating the elapsed time from when the generation unit starts generating the time information to when the generated time information is transmitted, and the second electronic device comprises a second timing unit, a receiving unit that receives the time information and the elapsed time information, and an adjustment unit that adjusts the time measured by the second timing unit based on the time information and the elapsed time information received by the receiving unit.

[0067] According to the vehicle control system of configuration 1, the time kept by the second electronic device can be adjusted taking into consideration the elapsed time from when generation of the time information starts until the time information is transmitted, so that time synchronization can be performed with high precision between the electronic devices. Also, according to the vehicle control system of configuration 1, time synchronization between the electronic devices is performed with high precision by transmitting information from the first electronic device, so round-trip communication between the electronic devices is not required, and the frequency of communication related to time synchronization can be reduced.

[0068] (Configuration 2) The adjustment unit adjusts the time measured by the second timing unit based on the time obtained by adding together the time indicated by the time information and the elapsed time indicated by the elapsed time information.

[0069] According to the vehicle control system of configuration 2, the time measured by the second clock unit is adjusted based on the time obtained by adding together the time indicated by the time information and the elapsed time indicated by the elapsed time information, so that the time measured by the second electronic device can be synchronized with high accuracy with the time measured by the first electronic device. Thus, time synchronization can be performed more accurately between the electronic devices.

[0070] (Configuration 3) The second electronic device includes a memory unit that stores the elapsed time information received by the receiving unit, and the adjustment unit, when the receiving unit receives the time information after receiving the elapsed time information, adjusts the time measured by the second timing unit based on the time information received by the receiving unit and the elapsed time information stored in the memory unit, in a vehicle control system described in configuration 1 or configuration 2.

[0071] According to the vehicle control system of configuration 3, by storing the elapsed time information received from the first electronic device, the next and subsequent time synchronizations can be performed with high accuracy by only receiving the time information. Therefore, the time synchronization can be performed with high accuracy between the electronic devices, and the frequency of communication between the electronic devices can be reduced.

[0072] (Configuration 4) A vehicle control system described in any one of configurations 1 to 3, wherein the second electronic device is provided with a second transmission unit that, when the second electronic device is not connected to a communication bus different from the communication bus connecting to the first electronic device, transmits adjustment completion information to the first electronic device indicating that the time adjustment has been completed after adjusting the time measured by the second timing unit.

[0073] According to the vehicle control system of configuration 4, the second electronic device transmits adjustment completion information to the first electronic device, so that the first electronic device can grasp the timing at which time synchronization is completed for the entire system.

[0074] (Configuration 5) The vehicle control system according to any one of configurations 1 to 4, wherein the first electronic device and the second electronic device communicate in accordance with the CAN standard.

[0075] According to the vehicle control system of configuration 5, even when the first electronic device and the second electronic device communicate with each other according to the CAN standard, the electronic devices can perform time synchronization with high accuracy. Therefore, the cost of the vehicle control system can be reduced while the electronic devices can perform time synchronization with high accuracy.

[0076] (Configuration 6) A control method for a vehicle control system comprising a first electronic device and a second electronic device connected to the first electronic device, wherein the first electronic device generates time information indicating a time measured by the first electronic device, the first electronic device transmits the generated time information to the second electronic device, the first electronic device transmits elapsed time information indicating the elapsed time from when the first electronic device starts generating the time information to when the first electronic device transmits the generated time information, the second electronic device receives the time information and the elapsed time information, and the second electronic device adjusts the time measured based on the received time information and the elapsed time information.

[0077] According to the control method of the vehicle control system of the sixth aspect, the same effects as those of the vehicle control system of the first aspect are achieved.

[0078] (Configuration 7) An electronic device provided in a vehicle, the electronic device comprising: a timing unit; a generation unit that generates time information indicating the time measured by the timing unit; and a transmission unit that transmits the time information generated by the generation unit to another electronic device and also transmits elapsed time information indicating the elapsed time from when the generation unit starts generating the time information to when the generation unit transmits the generated time information to the other electronic device.

[0079] According to the electronic device of configuration 7, the other electronic devices can adjust the time they keep by taking into account the elapsed time between when they start generating the time information and when they transmit the time information, thereby enabling accurate time synchronization between the electronic devices.

[0080] (Configuration 8) A program that causes a processor of an electronic device equipped in a vehicle to function as a timing unit, a generation unit that generates time information indicating the time measured by the timing unit, and a transmission unit that transmits the time information generated by the generation unit to another electronic device and also transmits elapsed time information indicating the elapsed time from when the generation unit starts generating the time information to when the generated time information is transmitted to the other electronic device.

[0081] According to the program of configuration 8, the same effect as the electronic device of configuration 7 is achieved. [Explanation of symbols]

[0082] 1...vehicle control system, 2...central ECU (first electronic device, electronic device), 3...first communication bus, 4...zone ECU (second electronic device, other electronic device), 5...second communication bus, 6...terminal ECU (second electronic device, other electronic device), 7...connection ECU (second electronic device, other electronic device), 20...first processor (processor), 21...first memory, 22...first communication unit, 70...second processor, 71...second Memory (storage unit), 72...second communication unit, 201...first transmission unit (transmission unit), 202...first receiving unit, 203...first timing unit (timing unit), 204...generation unit, 205...measurement unit, 211...first control program (program), 701...second transmission unit, 702...second receiving unit (receiving unit), 703...second timing unit, 704...adjustment unit, 711...second control program, J1...time information, J2...elapsed time information, V...vehicle.

Claims

1. A first electronic device and a second electronic device connected to the first electronic device, The first electronic device is A first timing unit; a generation unit that generates time information indicating the time measured by the first clock unit; a first transmission unit that transmits the time information generated by the generation unit to the second electronic device, and transmits elapsed time information indicating an elapsed time from when the generation unit starts generating the time information to when the generation unit transmits the generated time information to the second electronic device, The second electronic device is A second timing unit; a receiving unit for receiving the time information and the elapsed time information; an adjustment unit that adjusts the time kept by the second clock unit based on the time information and the elapsed time information received by the receiving unit; a second transmission unit that, when the electronic device is not connected to a communication bus different from the communication bus connecting to the first electronic device, transmits adjustment completion information indicating that the time adjustment is completed after adjusting the time measured by the second clock unit to the first electronic device, and does not transmit the adjustment completion information to the first electronic device when the electronic device is connected to a communication bus different from the communication bus connecting to the first electronic device. Vehicle control system.

2. The adjustment unit is adjusting the time kept by the second clock unit based on a time obtained by adding up the time indicated by the time information and the elapsed time indicated by the elapsed time information; The vehicle control system of claim 1 .

3. the second electronic device includes a storage unit configured to store the elapsed time information received by the receiving unit, When the receiving unit receives the time information after the storage unit stores the elapsed time information, the adjustment unit adjusts the time measured by the second clock unit based on the time information received by the receiving unit and the elapsed time information stored in the storage unit.

3. A vehicle control system according to claim 1 or 2.

4. The first electronic device and the second electronic device communicate with each other according to the CAN standard.

3. A vehicle control system according to claim 1 or 2.

5. A control method for a vehicle control system including a first electronic device and a second electronic device connected to the first electronic device, comprising: the first electronic device generates time information indicating a time measured by the first electronic device; The first electronic device transmits the generated time information to the second electronic device; the first electronic device transmits to the second electronic device elapsed time information indicating an elapsed time from when the first electronic device starts generating the time information to when the first electronic device transmits the generated time information; the second electronic device receives the time information and the elapsed time information; the second electronic device adjusts the time it keeps based on the received time information and the elapsed time information; when the second electronic device is not connected to a communication bus different from the communication bus connecting the second electronic device to the first electronic device, after adjusting the time to be kept, transmits adjustment completion information indicating that the time adjustment has been completed to the first electronic device; When the second electronic device is connected to a communication bus different from a communication bus connecting the second electronic device to the first electronic device, the adjustment completion information is not transmitted to the first electronic device. A control method for a vehicle control system.

Citation Information

Patent Citations

  • Time synchronization device

    JP1997083608A

  • Wireless device and base station system

    JP2017050730A

  • Master control device and synchronous communication system using the same

    JP2019125916A

  • Data Sensor Coordination Using Time Synchronization in a Multi-Bus Controller Area Network System

    US20120140861A1

  • Sensor system for vehicle

    US20210237669A1