Vehicle electronic system, vehicle electronic system control method, relay device, and program
By forwarding and adjusting time information in the relay device, the time synchronization problem between different communication standard equipment is solved, and efficient and accurate time synchronization is achieved.
Patent Information
- Application Number
- JP2022155133
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-09-28
- Publication Date
- 2025-02-10
- Estimated Expiration
- 2042-09-28
AI Technical Summary
In the prior art, there is a system for lack of time synchronization between electronic devices with different communication standards connected to multiple communication networks.
By synchronizing time by using a relay device between the first electronic device of the first communication network and the second electronic device of the second communication network, the specific implementation method includes: the first electronic device receives the absolute time information of the GNSS, adjusts the internal time counter, the relay device receives and forwards the time information, and the second electronic device adjusts its time counter based on the received time information.
Time synchronization between electronic devices with different communication standards is achieved, unnecessary communication volume is reduced, and the accuracy and efficiency of time synchronization is improved.
Smart Images

Figure 0007628524000001 
Figure 0007628524000002 
Figure 0007628524000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a vehicle electronic system, a control method for a vehicle electronic system, a relay device, and a program. [Background technology]
[0002] 2. Description of the Related Art Relay devices connected to a communication network of a specific communication standard are known in the art. For example, Patent Document 1 discloses a relay device connected to an in-vehicle LAN using Ethernet (registered trademark). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-47163 A Summary of the Invention [Problem to be solved by the invention]
[0004] Incidentally, a relay device such as that described in Patent Document 1 may be connected to multiple communication networks with different communication standards. In this case, there is a demand for time synchronization between electronic devices that are connected to communication networks with different communication standards, but there has been no mechanism to meet this demand. The present invention has been made in consideration of the above-mentioned circumstances, and has an object to enable time synchronization between electronic devices that connect to communication networks using different communication standards. [Means for solving the problem]
[0005] One aspect of the present invention includes a first electronic device connected to a first communication network of a first communication standard, a second electronic device connected to a second communication network of a second communication standard, and a relay device connected to the first communication network and the second communication network, The second electronic device includes a second electronic device receiving unit that receives first time information indicating a time synchronized in the first communication network, a second electronic device clocking unit that measures time based on the first time information, and a second electronic device transmitting unit that transmits data to which second time information indicating the time clocked by the second electronic device clocking unit is added. The relay device includes a relay device transmitting unit that transmits the first time information to the second electronic device. a relay device receiving unit for receiving request information for requesting the addition of the second time information; and,the relay transmitting unit transmits the first time information to the second electronic device when the relay receiving unit receives the request information. Effect of the Invention
[0006] According to one aspect of the present invention, time synchronization can be performed between electronic devices that connect to communication networks using different communication standards. [Brief description of the drawings]
[0007] [Figure 1] FIG. 2 is a diagram showing a configuration of a vehicle electronic system. [Diagram 2] 2 is a block diagram showing configurations of a first ECU, a relay ECU, and a second ECU. FIG. [Diagram 3] 5 is a flowchart showing the operation of a relay ECU and a second ECU. [Figure 4] 4 is a flowchart showing operations of a first ECU, a relay ECU, and a second ECU. [Diagram 5] 4 is a flowchart showing an operation of a relay ECU. [Figure 6] 2 is a block diagram showing configurations of a first ECU, a relay ECU, and a second ECU. FIG. [Figure 7] 2 is a block diagram showing the configuration of a relay ECU and a second ECU. FIG. [Figure 8] FIG. 2 is a diagram for specifically explaining time synchronization. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] [1. First embodiment] First, the first embodiment will be described. FIG. 1 is a diagram showing a configuration of a vehicle electronic system 1. As shown in FIG. The vehicle electronic system 1 is a system applied to a vehicle V. The vehicle electronic system 1 includes an ECU (Electronic Control Unit) mounted on the vehicle V. The vehicle electronic system 1 may function as a system that controls the vehicle V.
[0009] The vehicle electronic system 1 includes a first ECU 2. The first ECU 2 is connected to a Global Navigation Satellite System (GNSS) sensor 3 and a Telematics Control Unit (TCU) 4. The first ECU 2 is connected to a relay ECU 7 via a first communication network 6. The first communication network 6 is an Ethernet standard communication network. The first ECU 2 corresponds to a "first electronic device" in the present disclosure. The relay ECU 7 corresponds to a "relay device" in the present disclosure. The Ethernet standard corresponds to a "first communication standard" in the present disclosure.
[0010] The relay ECU 7 relays transmission and reception of data between the first ECU 2 and the second ECU 9. The relay ECU 7 is time-synchronized with the first ECU 2. The relay ECU 7 and the first ECU 2 are time-synchronized, for example, by a synchronization method of gPTP (generalized Precision Time Protocol) defined by IEEE 802.1AS. The first communication network 6 and the second communication network 8 are connected to the relay ECU 7. The second communication network 8 is a communication network based on the CAN standard. The second ECU 9 is connected to the second communication network 8. The second ECU 9 corresponds to a "second electronic device" in the present disclosure. The CAN standard corresponds to a "second communication standard" in the present disclosure.
[0011] The second ECU 9 is an ECU that controls a sensor 10 such as a vehicle speed sensor and a device such as a V2X (Vehicle to Everything) communication device. In this embodiment, a case in which the sensor 10 is connected to the second ECU 9 and the second ECU 9 controls the sensor 10 is illustrated.
[0012] FIG. 2 is a block diagram showing the configurations of the first ECU 2, the relay ECU 7, and the second ECU 9. As shown in FIG. The first ECU 2 includes a first processor 20 such as a CPU (Central Processing Unit), a first memory 21, and a first communication unit 22.
[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.
[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 relay ECU 7 under the control of the first processor 20. To the first communication unit 22, a first communication bus 6 is connected.
[0015] The first processor 20 functions as a first communication unit 201, a second communication unit 202, an absolute time receiving unit 203, a first timing unit 204, and a first adjustment unit 205 by reading and executing the first control program 211 stored in the first memory 21.
[0016] The first communication unit 201 communicates with the relay ECU 7 via the first communication unit 22 .
[0017] The second communication unit 202 communicates with a server device (not shown) via the TCU 4 .
[0018] The absolute time receiving unit 203 receives absolute time information from the GNSS sensor 3. The absolute time information indicates absolute time. Absolute time is a time expressed as a formal number of seconds elapsed from a specific time in Coordinated Universal Time (UTC) (the actual number of seconds elapsed minus the leap seconds inserted and plus the leap seconds deleted), and refers to a highly accurate and shareable time.
[0019] The first clock unit 204 keeps time. For example, the first clock unit 204 operates as an RTC (Real Time Clock) to keep time. The time kept by the first clock unit 204 is adjusted by the first adjustment unit 205.
[0020] The first adjustment unit 205 adjusts the time kept by the first clock unit 204. When the absolute time receiving unit 203 receives absolute time information, the first adjustment unit 205 adjusts the time kept by the first clock unit 204 to the absolute time indicated by the received absolute time information.
[0021] The relay ECU 7 includes a relay processor 70 such as a CPU, a relay memory 71, and a relay communication unit 72. The relay processor 70 corresponds to the "processor" of the present disclosure.
[0022] The relay memory 71 is a storage device that stores programs and data executed by the relay processor 70. The relay memory 71 is configured by a non-volatile storage device such as a ROM. The relay memory 71 may include a volatile storage device such as a RAM that configures the work area of the relay processor 70. The relay memory 71 stores data processed by the relay processor 70 and a relay control program 711 executed by the relay processor 70. The relay control program 711 corresponds to the "program" of this disclosure.
[0023] The relay communication unit 72 includes hardware such as a communication circuit and a connector that conforms to the Ethernet standard, and communicates with the second ECU 9 under the control of the relay processor 70. The relay communication unit 72 also includes hardware such as a communication circuit and a connector that conforms to the CAN standard, and communicates with the second ECU 9 under the control of the relay processor 70.
[0024] The relay processor 70 reads out and executes a relay control program 711 stored in the relay memory 71 , thereby functioning as a relay transmitting unit 701 , a relay receiving unit 702 , a relay timing unit 703 , and a generating unit 704 . The relay transmitting unit 701 corresponds to the "relay device transmitting unit" in this disclosure. The relay receiving unit 702 corresponds to the "relay device receiving unit" in this disclosure.
[0025] The relay transmission unit 701 transmits information to the first ECU 2 and the second ECU 9 via the relay communication unit 72 .
[0026] The relay receiving unit 702 receives information from the first ECU 2 and the second ECU 9 via the relay communication unit 72 .
[0027] The relay clock unit 703 clocks the time. As described above, the relay ECU 7 and the first ECU 2 are time-synchronized by, for example, the gPTP synchronization method. Therefore, the time clocked by the relay clock unit 703 is synchronized with the time clocked by the first clock unit 204.
[0028] The generating unit 704 generates first time information J1 indicating the time measured by the relay clock unit 703. The generating unit 704 outputs the generated first time information J1 to the relay transmitting unit 701.
[0029] The second ECU 9 includes a second processor 90 such as a CPU, a second memory 91, and a second communication unit 92.
[0030] The second memory 91 is a storage device that stores programs and data executed by the second processor 90. The second memory 91 is configured by a non-volatile storage device such as a ROM. The second memory 91 may include a volatile storage device that configures a work area of the second processor 90, such as a RAM. The second memory 91 stores data processed by the second processor 90 and a second control program 911 executed by the second processor 90.
[0031] The second communication unit 92 includes hardware such as a communication circuit and a connector that comply with the CAN standard, and communicates with the relay ECU 7 under the control of the second processor 90.
[0032] The second processor 90 functions as a second transmitting unit 901, a second receiving unit 902, a second timing unit 903, and a second adjusting unit 904 by reading and executing a second control program 911 stored in the second memory 91. The second transmitting unit 901 corresponds to the "second electronic device transmitting unit" in this disclosure. The second receiving unit 902 corresponds to the "second electronic device receiving unit" in this disclosure. The second timing unit 903 corresponds to the "second electronic device timing unit" in this disclosure.
[0033] The second transmission unit 901 transmits information to the relay ECU 7 via the second communication unit 92 .
[0034] The second receiving unit 902 receives information from the relay ECU 7 via the second communication unit 92 .
[0035] The second clock unit 903 keeps time. For example, the second clock unit 903 operates as an RTC to keep time. The time kept by the second clock unit 903 is adjusted by the second adjustment unit 904.
[0036] The second adjustment unit 904 adjusts the time kept by the second clock unit 903 .
[0037] Next, the operation of the vehicle electronic system 1 according to this embodiment will be described. Fig. 3 is a flowchart showing the operations of the relay ECU 7 and the second ECU 9. The operations shown in Fig. 3 are related to time synchronization. In Fig. 3, a flowchart FA shows the operation of the relay ECU 7, and a flowchart FB shows the operation of the second ECU 9.
[0038] As shown in the flowchart FA, the generating unit 704 determines whether or not the period for transmitting the first time information J1 has arrived (step SA1).
[0039] If the generating unit 704 determines that the period for transmitting the first time information J1 has not arrived (step SA1: NO), it performs the determination of step SA1 again.
[0040] On the other hand, if the generating unit 704 determines that the period for transmitting the first time information J1 has arrived (step SA1: YES), it generates the first time information J1 (step SA2). The first time information J1 generated in step SA2 indicates the time being measured by the relay clock unit 703 when generation of the first time information J1 is started.
[0041] Next, the relay transmission unit 701 transmits the first time information J1 generated by the generation unit 704 to the second ECU 9 (step SA3).
[0042] As shown in the flow chart FB, the second receiving unit 902 receives the first time information J1 from the relay ECU 7 (step SB1).
[0043] Next, the second adjustment unit 904 adjusts the time kept by the second clock unit 903 to the time indicated by the first time information J1 received in step SB1 (step SB2). After the adjustment in step SB2, the second clock unit 903 keeps time based on the time indicated by the first time information J1 received in step SB1.
[0044] 3, the second ECU 9 can synchronize the time it keeps with the absolute time, and therefore the time it keeps with each ECU included in the vehicle electronic system 1 can be synchronized with the absolute time.
[0045] Fig. 4 is a flowchart showing the operations of the first ECU 2, the relay ECU 7, and the second ECU 9. The operations shown in Fig. 4 are performed when a detection value of the sensor 10 controlled by the second ECU 9 is transmitted to the outside of the vehicle V. In Fig. 4, a flowchart FC shows the operation of the first ECU 2, a flowchart FD shows the operation of the relay ECU 7, and a flowchart FE shows the operation of the second ECU 9.
[0046] As shown in the flowchart FE, the second transmission unit 901 determines whether or not a trigger for transmitting the sensor data J2 has occurred (step SE1). The sensor data J2 is data including a detection value of the sensor 10. An example of a trigger for transmitting the sensor data J2 is receiving a detection value from the sensor 10. The sensor data J2 corresponds to "data" in this disclosure.
[0047] If the second transmission unit 901 determines that a trigger for transmitting the sensor data J2 has not occurred (step SE1: NO), the second transmission unit 901 performs the determination of step SE1 again.
[0048] On the other hand, if the second transmission unit 901 determines that a trigger for transmitting the sensor data J2 has occurred (step SE1: YES), the second transmission unit 901 generates the sensor data J2 (step SE2).
[0049] Next, the second transmission unit 901 generates second time information J3 indicating the time measured by the second clock unit 903 (step SE3). The second time information J3 generated in step SE3 indicates the time measured by the second clock unit 903 when generation of the second time information J3 is started.
[0050] Next, the second transmission unit 901 adds the second time information J3 generated in step SE3 to the sensor data J2 generated in step SE2, and transmits the sensor data J2 generated in step SE2 to the relay ECU 7 (step SE4).
[0051] As shown in the flow chart FD, the relay receiver 702 receives the sensor data J2 to which the second time information J3 has been added from the second ECU 9 (step SD1).
[0052] Next, the relay transmission unit 701 transmits the sensor data J2, which has been received in step SD1 and to which the second time information J3 has been added, to the first ECU2 (step SD2).
[0053] As shown in the flowchart FC, the first communication unit 201 receives the sensor data J2 to which the second time information J3 has been added from the relay ECU 7 (step SC1).
[0054] Next, the second communication unit 202 transmits the sensor data J2, which has been received in step SC1 and to which the second time information J3 has been added, to the outside of the vehicle V (step SC2).
[0055] 4, the receiver of the sensor data J2 can determine at what time the detection value of the sensor 10 indicated by the sensor data J2 is the detection value. Therefore, the sensor data J2 that can be easily used by the external device of the vehicle V can be transmitted to the external device of the vehicle V. Examples of the external device of the vehicle V include a collection server that collects information from the vehicle V and an analysis server that analyzes the information received from the vehicle V.
[0056] [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 electronic system 1 of the first embodiment are denoted by the same reference numerals, and detailed description thereof will be omitted as appropriate.
[0057] In the first embodiment described above, the relay ECU 7 transmits the first time information J1 to the second ECU 9 every time a predetermined period arrives. In the second embodiment, when the relay ECU 7 receives first request information from an external device of the vehicle V via the first ECU 2, the relay ECU 7 starts transmitting the first time information J1. The first request information is information requesting the addition of time information to the sensor data J2. In the second embodiment, when the relay ECU 7 receives second request information from outside the vehicle V via the first ECU 2, the relay ECU 7 stops transmitting the first time information J1. The second request information is information requesting the stop of the addition of time information to the sensor data J2. The first request information corresponds to the "request information" in this disclosure.
[0058] The operation of the vehicle electronic system 1 according to the second embodiment will be described. FIG. 5 is a flowchart FF showing the operation of the relay ECU 7.
[0059] The relay receiver 702 determines whether or not the first request information has been received from the first ECU 2 (step SF1).
[0060] When the relay receiver 702 determines that the first request information has not been received from the first ECU 2 (step SF1: NO), the relay receiver 702 performs the determination of step SF1 again.
[0061] If the relay receiver 702 determines that the first request information has been received from the first ECU2 (step SF1: YES), the relay transmitter 701 starts transmitting the first time information J1 (step SF2).
[0062] When the second ECU 9 starts receiving the first time information J1, it adjusts the time kept by the second clock unit 903 to the time indicated by the received first time information J1, similar to the first embodiment. When the second ECU 9 starts receiving the first time information J1, it starts transmitting sensor data J2 to which second time information J3 has been added, similar to the first embodiment.
[0063] Next, the relay receiver 702 determines whether or not the second request information has been received (step SF3).
[0064] If the relay receiver 702 determines that the second request information has not been received from the first ECU 2 (step SF3: NO), the relay receiver 702 performs the determination of step SF3 again.
[0065] If the relay receiver 702 determines that the second request information has been received from the first ECU2 (step SF3: YES), the relay transmitter 701 stops transmitting the first time information J1 (step SF4).
[0066] Next, the relay transmitter 701 transmits stop information for stopping the transmission of the second time information J3 to the second ECU 9 (step SF5).
[0067] When the second ECU 9 receives the stop information, it transmits the sensor data J2 without adding the second time information J3, or stops transmitting the second time information J3 and the sensor data J2. After receiving the stop information, when the second ECU 9 receives the first time information J1 from the relay ECU 7, it transmits the sensor data J2 to which the second time information J3 has been added to the relay ECU 7.
[0068] [3. Third embodiment] Next, a third embodiment will be described. In the description of the third embodiment, the same components as those of the vehicle electronic system 1 of the first embodiment are denoted by the same reference numerals, and detailed description thereof will be omitted as appropriate.
[0069] The third embodiment is different from the first embodiment in the operation of the vehicle electronic system 1 related to time synchronization of the second ECU 9. FIG. 6 is a block diagram showing the configurations of the first ECU 2, the relay ECU 7, and the second ECU 9 according to the third embodiment.
[0070] Comparing FIG. 6 with FIG. 2, the relay processor 70 of the third embodiment further functions as a measurement unit 705. The measurement unit 705 measures the elapsed time. The elapsed time is the time that has elapsed since the generation of the first time information J1 is started until the generated first time information J1 is transmitted. The measurement unit 705 measures the elapsed time using a measurement means such as a counter.
[0071] Next, the operation of the vehicle electronic system 1 relating to time synchronization will be described. Fig. 7 is a flowchart showing the operations of the relay ECU 7 and the second ECU 9. The operations shown in Fig. 7 are related to time synchronization. In Fig. 7, a flowchart FG shows the operation of the relay ECU 7, and a flowchart FH shows the operation of the second ECU 9.
[0072] As shown in a flowchart FG, the generation unit 704 determines whether or not the period for transmitting the first time information J1 has arrived (step SG1).
[0073] If the generating unit 704 determines that the period for transmitting the first time information J1 has arrived (step SG1: NO), it performs the determination of step SG1 again.
[0074] On the other hand, if the generating unit 704 determines that the period for transmitting the first time information J1 has arrived (step SG1: YES), it starts generating the first time information J1 (step SG2).
[0075] Next, the measurement unit 705 starts measuring the elapsed time (step SG3).
[0076] Next, the relay transmission unit 701 transmits the first time information J1 generated by the generation unit 704 to the second ECU 9 (step SG4).
[0077] Next, the measurement unit 705 ends the measurement of the elapsed time (step SG5).
[0078] Next, the relay transmission unit 701 transmits elapsed time information J4 indicating the elapsed time measured by the measurement unit 705 to the second ECU 9 (step SG6).
[0079] As shown in the flow chart FH, the second receiving unit 902 receives the first time information J1 from the relay ECU 7 (step SH1).
[0080] Next, the second adjustment unit 904 adjusts the time kept by the second clock unit 903 to the time indicated by the first time information J1 received in step SH1 (step SH2). After the adjustment in step SH2, the second clock unit 903 keeps time based on the time indicated by the first time information J1 received in step SH1.
[0081] Next, the second receiving section 902 receives the elapsed time information J4 from the relay ECU 7 (step SH3).
[0082] Next, the second adjustment unit 904 adjusts the time kept by the second clock unit 903 to the elapsed time addition time (step SH4). The elapsed time addition time is the time obtained by adding the elapsed time indicated by the elapsed time information J4 received in step SH3 to the time kept by the second clock unit 903 based on the time adjusted in step SH2.
[0083] The time synchronization between the relay ECU 7 and the second ECU 9 will be specifically described with reference to Fig. 8. Fig. 8 is a diagram for specifically describing the time synchronization.
[0084] At timing T1, the generation unit 704 starts generating the first time information J1. Timing T1 is the timing when the time measured by the relay clock unit 703 is "t1".
[0085] At timing T2, the relay transmission unit 701 transmits the first time information J1, which started to be generated at timing T1, to the second ECU 9. Timing T2 is the timing when the time measured by the relay timing unit 703 is "t2". Time "t2" is the time advanced by Δt from time "t1". The first time information J1 transmitted at timing T2 indicates "t1", which is the time when generation started.
[0086] When the second receiving unit 902 receives the first time information J1 at timing T2, the second adjusting unit 904 of the second ECU 9 adjusts the time kept by the second timing unit 903 to the time "t1" indicated by the first time information J1 received by the second receiving unit 902. After this adjustment, the second timing unit 903 keeps time based on the time "t1".
[0087] At timing T3, the generation unit 704 of the relay ECU 7 transmits elapsed time information J4 to the second ECU 9. Timing T3 is the timing when the time measured by the relay timing unit 703 is time "t3". Time "t3" is a timing that is further advanced from time "t2". The elapsed time information J4 transmitted at timing T3 indicates an elapsed time of "Δt". In FIG. 8, "Δt" is the elapsed time obtained by subtracting time "t1" from time "t2".
[0088] When the second receiving unit 902 receives the elapsed time information J4 at timing T3, the second adjusting unit 904 of the second ECU 9 adjusts the time measured by the second clock unit 903 to time "t4+Δt". Time "t4+Δt" is the elapsed time addition time. Time "t4" indicates the time measured by the second clock unit 903 up to timing T3 based on the adjusted time "t1".
[0089] [4. Other embodiments] The above-described embodiments are merely examples and can be modified and applied in any manner.
[0090] In the above-described embodiment, there may be many ECUs other than the relay ECU 7 connected to the first communication network 6 in addition to the first ECU 2. Also, in the above-described embodiment, there may be many ECUs other than the relay ECU 7 connected to the second communication network 8 in addition to the second ECU 9.
[0091] In the above embodiment, the sensor data J2 is exemplified as data to which the second ECU 9 adds the second time information J3 and transmits it. However, the data to which the second ECU 9 adds the second time information J3 and transmits it is not limited to the sensor data J2, and may be data, information, and data indicating detection values output by a device connected to the second ECU 9, data, information, and data indicating detection values related to a device connected to the second ECU 9, data, information, and data indicating detection values related to the second ECU 9, and the like.
[0092] The first processor 20, the relay processor 70, and the second processor 90 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).
[0093] 2 and 6 are merely examples, 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.
[0094] In addition, the step units of the operations shown in Figures 3, 4, and 7 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 processing units may be further divided into more step units according to the processing contents. Furthermore, one step unit may be further divided to include more processing. Furthermore, the order of the steps may be appropriately changed within a range that does not impede the purpose of the present disclosure.
[0095] In addition, when the above-mentioned control method of the vehicle electronic system 1 is realized by 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. Similarly to the first control program 211, the relay control program 711 can be realized in a state in which the relay control program 711 is recorded on a portable information recording medium. Similarly to the first control program 211, the second control program 911 can be realized in a state in which the second control program 911 is recorded on a portable information recording medium.
[0096] [5. Configuration supported by the above embodiment] The above embodiment supports the following configurations.
[0097] (Configuration 1) A vehicle electronic system comprising a first electronic device connected to a first communication network of a first communication standard, a second electronic device connected to a second communication network of a second communication standard, and a relay device connected to the first communication network and the second communication network, wherein the relay device comprises a relay device transmitter unit that transmits first time information indicating a time synchronized in the first communication network to the second electronic device.
[0098] According to the vehicle electronic system of configuration 1, the second electronic device can synchronize with the time indicated by the first time information, so that the first electronic device connected to the first communication network and the second electronic device connected to the second communication network can perform time synchronization. Therefore, time synchronization can be performed between electronic devices that have different communication standards for the communication networks to which they are connected. Furthermore, according to the vehicle electronic system of configuration 1, the first electronic device and the second electronic device can be time synchronized by information transmission from the relay device, so there is no need for round-trip communication between the relay device and the second electronic device, and the amount of communication related to time synchronization can be reduced.
[0099] (Configuration 2) The second electronic device of the vehicle electronic system described in configuration 1 includes a second electronic device receiving unit that receives the first time information, a second electronic device timing unit that measures time based on the first time information, and a second electronic device transmitting unit that transmits data to which second time information indicating the time measured by the second electronic device timing unit is added.
[0100] According to the vehicle electronic system of configuration 2, time information synchronized between electronic devices that use different communication standards for the connected communication networks can be added to the data to be transmitted. This allows the data receiver to determine the time at which the transmitted data is transmitted. This makes it possible to transmit data that is easy for the data receiver to use.
[0101] (Configuration 3) The relay device includes a relay device receiving unit that receives request information requesting the addition of the second time information, and the relay device transmitting unit transmits the first time information to the second electronic device when the relay device receiving unit receives the request information.The vehicle electronic system described in configuration 2.
[0102] According to the vehicle electronic system of configuration 3, the first time information is transmitted when it is necessary to provide the second time information, so that unnecessary communication between the relay device and the second electronic device can be prevented, thereby reducing the amount of communication between the electronic devices in the vehicle electronic system.
[0103] (Configuration 4) A vehicle electronic system as described in Configuration 2 or Configuration 3, wherein the second electronic device transmitting unit stops transmitting the second time information when the second electronic device receiving unit receives stop information to stop transmitting the second time information.
[0104] According to the vehicle electronic system of configuration 4, since the transmission of the second time information can be stopped, unnecessary communication between the relay device and the second electronic device can be suppressed, and the amount of communication between the electronic devices in the vehicle electronic system can be reduced.
[0105] (Configuration 5) A vehicle electronic system described in any one of configurations 1 to 4, wherein the relay device transmission unit transmits the first time information and elapsed time information indicating the elapsed time from when generation of the first time information begins to when the generated first time information is transmitted to the second electronic device.
[0106] According to the vehicle electronic system of configuration 5, the time kept by the second electronic device can be adjusted taking into consideration the elapsed time from when generation of the first time information starts to when the first time information is transmitted, which allows for accurate time synchronization between electronic devices that are connected to communication networks using different communication standards.
[0107] (Configuration 6) The vehicle electronic system according to any one of configurations 1 to 5, wherein the first communication standard is an Ethernet (registered trademark) standard, and the second communication standard is a CAN standard.
[0108] According to the vehicle electronics system of configuration 6, time synchronization can be performed between electronic devices connected to an Ethernet standard communication network and electronic devices connected to a CAN standard communication network. Even if a CA standard communication network is adopted for the vehicle electronics system, time synchronization can be performed between electronic devices, so that it is possible to reduce the cost of the vehicle electronics system while achieving time synchronization between electronic devices connected to communication networks with different communication standards.
[0109] (Configuration 7) A vehicle electronic system described in any one of configurations 1 to 6, wherein the first electronic device is provided with an absolute time receiving unit that receives absolute time information indicating absolute time, and the time indicated by the first time information is the absolute time indicated by the absolute time information received by the absolute time receiving unit.
[0110] According to the vehicle electronic system of configuration 7, the synchronized time can be adjusted to absolute time between electronic devices that connect to communication networks using different communication standards.
[0111] (Configuration 8) A control method for a vehicle electronic system including a first electronic device connected to a first communication network of a first communication standard, a second electronic device connected to a second communication network of a second communication standard, and a relay device connected to the first communication network and the second communication network, wherein the relay device transmits first time information indicating a time synchronized in the first communication network to the second electronic device.
[0112] According to the control method for a vehicle electronic system of the eighth aspect, the same effects as those of the vehicle electronic system of the first aspect are achieved.
[0113] (Configuration 9) A relay device connected to a first communication network of a first communication standard to which a first electronic device is connected and a second communication network of a second communication standard to which a second electronic device is connected, the relay device comprising a relay device transmitter unit that transmits first time information indicating a time synchronized in the first communication network to the second electronic device.
[0114] The relay device of the ninth aspect provides the same effects as those of the vehicle electronic system of the first aspect.
[0115] (Configuration 10) A program that causes a processor of a relay device connected to a first communication network of a first communication standard to which a first electronic device is connected and a second communication network of a second communication standard to which a second electronic device is connected to function as a relay device transmitter that transmits first time information indicating a time synchronized in the first communication network to the second electronic device.
[0116] According to the program of aspect 10, the same effects as those of the vehicle electronic system of aspect 1 are achieved. [Explanation of symbols]
[0117] 1...vehicle electronic system, 2...first ECU (first electronic device), 3...GNSS sensor, 4...TCU, 6...first communication network, 7...relay ECU (relay device), 8...second communication network, 9...second ECU (second electronic device), 10...sensor, 20...first processor, 21...first memory, 22...first communication unit, 70...relay processor (processor), 71...relay memory, 72...relay communication unit, 90...second processor, 91...second memory, 92...second communication unit, 201...first communication unit, 202...second communication unit, 203...absolute time receiving unit, 204...first timer, 20 5...first adjustment unit, 211...first control program, 701...relay transmitting unit (relay device transmitting unit), 702...relay receiving unit (relay device receiving unit), 703...relay timing unit, 704...generation unit, 705...measurement unit, 711...relay control program (program), 901...second transmitting unit (second electronic device transmitting unit), 902...second receiving unit (second electronic device receiving unit), 903...second timing unit (second electronic device timing unit), 904...second adjustment unit, 911...second control program, J1...first time information, J2...sensor data (data), J3...second time information, V...vehicle.
Claims
1. a first electronic device connected to a first communication network of a first communication standard; a second electronic device connected to a second communication network of a second communication standard; a relay device connected to the first communication network and the second communication network, The second electronic device is a second electronic device receiving unit that receives first time information indicating a time synchronized in the first communication network; a second electronic device timekeeping unit that keeps time based on the first time information; a second electronic device transmitting unit that transmits data to which second time information indicating the time measured by the second electronic device clock unit is added, The relay device includes: a relay device transmitting unit that transmits the first time information to the second electronic device; a relay device receiving unit that receives request information requesting the addition of the second time information, the relay device transmitting unit transmits the first time information to the second electronic device when the relay device receiving unit receives the request information. Vehicle electronic systems.
2. The second electronic device transmission unit is When the second electronic device receiving unit receives stop information for stopping the transmission of the second time information, the transmission of the second time information is stopped. The vehicle electronics system of claim 1 .
3. the relay device transmitting unit transmits the first time information and elapsed time information indicating an elapsed time from a start of generation of the first time information to a transmission of the generated first time information to the second electronic device; A vehicle electronic system according to claim 1 or 2.
4. the first communication standard is an Ethernet standard; The second communication standard is the CAN standard.
3. A vehicle electronic system according to claim 1 or 2.
5. the first electronic device includes an absolute time receiving unit that receives absolute time information indicating absolute time; the time indicated by the first time information is the absolute time indicated by the absolute time information received by the absolute time receiving unit; 3. A vehicle electronic system according to claim 1 or 2.
6. A method for controlling a vehicle electronic system including a first electronic device connected to a first communication network of a first communication standard, a second electronic device connected to a second communication network of a second communication standard, and a relay device connected to the first communication network and the second communication network, The second electronic device is receiving first time information indicating a synchronized time in the first communication network; measuring time based on the first time information; Transmitting data to which second time information indicating the measured time has been added; The relay device is Transmitting the first time information to the second electronic device; receiving request information requesting the addition of the second time information; When the request information is received, the first time information is transmitted to the second electronic device. A method for controlling a vehicle electronic system.
7. A relay device connected to a first communication network of a first communication standard to which a first electronic device is connected and a second communication network of a second communication standard to which a second electronic device is connected, a relay device transmitting unit configured to transmit first time information indicating a time synchronized in the first communication network to the second electronic device; a relay device receiving unit for receiving request information for requesting addition of second time information indicating a time measured by the second electronic device based on the first time information, When the relay device receiving unit receives the request information, the relay device transmitting unit transmits the first time information to the second electronic device, which transmits data to which the second time information is added. Relay equipment.
8. A processor of a relay device connected to a first communication network of a first communication standard to which a first electronic device is connected and a second communication network of a second communication standard to which a second electronic device is connected, a relay device transmitting unit configured to transmit first time information indicating a time synchronized in the first communication network to the second electronic device; a relay device receiving unit that receives request information requesting the addition of second time information indicating a time measured by the second electronic device based on the first time information; When the relay device receiving unit receives the request information, the relay device transmitting unit transmits the first time information to the second electronic device, which transmits data to which the second time information is added. program.
Citation Information
Patent Citations
Environment monitoring system, and data collection device and data logger for use in this system
JP2005004529A
On-vehicle relay device, information processing system, relay device, information processing device, information processing method, and program
JP2019047163A
Gateway, Nodes, and Method for a Vehicle
US20150003443A1