WO2010004768A1 - 通信装置、通信システム及び通信方法 - Google Patents

通信装置、通信システム及び通信方法 Download PDF

Info

Publication number
WO2010004768A1
WO2010004768A1 PCT/JP2009/003253 JP2009003253W WO2010004768A1 WO 2010004768 A1 WO2010004768 A1 WO 2010004768A1 JP 2009003253 W JP2009003253 W JP 2009003253W WO 2010004768 A1 WO2010004768 A1 WO 2010004768A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
time
transmission
time difference
communication
Prior art date
Application number
PCT/JP2009/003253
Other languages
English (en)
French (fr)
Inventor
高田広章
倉地亮
宮下之宏
Original Assignee
国立大学法人名古屋大学
株式会社オートネットワーク技術研究所
住友電装株式会社
住友電気工業株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 国立大学法人名古屋大学, 株式会社オートネットワーク技術研究所, 住友電装株式会社, 住友電気工業株式会社 filed Critical 国立大学法人名古屋大学
Priority to DE112009001527.1T priority Critical patent/DE112009001527B4/de
Priority to US12/990,732 priority patent/US8626869B2/en
Publication of WO2010004768A1 publication Critical patent/WO2010004768A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/407Bus networks with decentralised control
    • H04L12/413Bus networks with decentralised control with random access, e.g. carrier-sense multiple-access with collision detection [CSMA-CD]
    • H04L12/4135Bus networks with decentralised control with random access, e.g. carrier-sense multiple-access with collision detection [CSMA-CD] using bit-wise arbitration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/44Star or tree networks

Definitions

  • the present invention relates to a communication system that transmits and receives data between a plurality of communication devices.
  • the present invention relates to a communication device that can specify a generation point of received data with a simple configuration, a communication system including the communication device, and a communication method.
  • each data When data is processed by exchanging data whose contents change from moment to moment between a plurality of communication devices, each data has a valid period.
  • the control performed by the ECU in the field of the in-vehicle LAN is related to safety, there is a possibility that a problem may occur if extremely old data is used.
  • Patent Document 1 discloses a technique for minimizing data arriving after the arrival deadline time by a configuration in which each ECU controls transmission and reception of data in the order according to the priority based on the arrival deadline time of data.
  • the arrival deadline time is an absolute time
  • each ECU transmits data with a shorter time until the arrival deadline time using a time measurement unit that measures a synchronized reference time. I have to do it.
  • each ECU is configured to measure a synchronized reference time, so that each ECU receives data generation times measured by other communication devices, thereby generating data. Can be accurately recognized.
  • each communication device performs a process of matching the time measured by its own clocking means with a reference time transmitted from one communication device, or each communication device has GPS (Global Positioning System)
  • GPS Global Positioning System
  • the present invention has been made in view of such circumstances, and the generation time point of data received from another communication device can be determined with a simple configuration without synchronizing the time measured by the time measuring means included in each communication device. It is an object of the present invention to provide a communication device that can be specified accurately, a communication system including the communication device, and a communication method.
  • a communication apparatus comprising: a timing unit; a communication unit that transmits and receives data; and a transmission availability determination unit that determines whether data can be transmitted by the communication unit.
  • the communication means receives the data with the time difference information added thereto, the means for specifying the reception start time based on the time measured by the time measuring means, and the data generation time based on the time difference information and the reception start time.
  • a specifying means for specifying when the communication means receives the data with the time difference information added thereto, the means for specifying the reception start time based on the time measured by the time measuring means, and the data generation time based on the time difference information and the reception start time.
  • a specifying means for specifying for specifying.
  • the time measuring means acquires a data transmission start time, the acquired transmission start time, and the generation of the data Means for obtaining a time difference between time points, and time difference information indicating the obtained time difference is added to the data that has started transmission.
  • a communication device includes a determination unit that determines a transmission start time point for transmitting data, a unit that determines a time difference between the determined transmission start time point and the generation time point, and time difference information indicating the calculated time difference.
  • Means for adding to the data means for determining whether or not the transmission start time determined by the determination means has been reached, and when determining that the transmission start time has been reached, Means for attempting to transmit the data and the time difference information added to the data by the communication means, and when the transmission availability determination means determines that the transmission is not possible, It is characterized by re-determining, re-determining the time difference and trying transmission again.
  • the communication device When the communication device according to the fourth aspect of the invention receives the data to which the time difference information is added by the communication device, the communication device further transfers the data to another communication device by the communication device, and the data specified by the specifying device. Means for obtaining a time difference between the generation time of the data and the data transfer start time, and means for using the time difference information indicating the obtained time difference as time difference information added to the data to be transferred.
  • a communication system is a communication system including a plurality of communication devices each including a time measuring unit, a communication unit that transmits and receives data, and a transmission availability determination unit that determines whether data can be transmitted by the communication unit.
  • Each communication device has a time difference between a generation time point at which data is generated and a time difference between a transmission start time point at which transmission is determined by the transmission permission determination unit and transmission of the data is started.
  • Means for adding time difference information indicating to the data means for specifying a reception start time based on the time measured by the time measuring means, when the data to which the time difference information is added is received by the communication means, the time difference information and the reception And a specifying means for specifying a data generation time based on the start time.
  • a communication method in which a communication device comprising a time measuring means and a communication means for transmitting and receiving data determines whether or not data can be transmitted by the communication means,
  • the communication device determines that transmission is possible
  • the communication device starts data transmission, acquires the transmission start time of the data by the timing unit, and the acquired transmission start time and the data are generated.
  • a time difference between the generation points is obtained, and time difference information indicating the obtained time difference is added to the data that has been transmitted and transmitted.
  • a communication method in which a communication device comprising a time measuring means and a communication means for transmitting / receiving data determines whether or not data can be transmitted by the communication means,
  • the communication apparatus determines a transmission start time point for transmitting data, obtains a time difference between the determined transmission start time point and a generation time point when the data is generated, and sets time difference information indicating the obtained time difference as the data And determines whether or not the determined transmission start time has been reached, and if it is determined that the transmission start time has been reached, the communication means transmits the data and the time difference information added to the data. If it is determined that the transmission of the data is impossible, the transmission start point for starting the next transmission is re-determined, the time difference is re-determined, and the transmission is retried.
  • time difference information indicating a time difference between a generation time when data is generated and a transmission start time at which the transmission of the data is actually possible and transmission is started is added to the data. Is done. If the time difference from the start of transmission to the start of reception can be ignored, the time point past the time difference indicated by the time difference information from the reception start time point is the time when the data is generated.
  • the transmission start time when data transmission is determined to be possible and data transmission is started is obtained, and the time difference from the data generation time is obtained.
  • a time difference is obtained based on information on the accurate transmission start time at which transmission is actually started, and is added to the data being transmitted and transmitted.
  • the data transmission start time is determined in advance, the time difference between the determined transmission start time and the data generation time is obtained in advance, and the time difference information is added to the data.
  • the time difference represented by the time difference information already added to the data being transmitted is accurate. If it is determined that transmission is not possible and transmission is not started, the transmission start time is re-determined in accordance with the next transmission opportunity, time difference information is obtained again, and transmission is attempted. Thereby, even when it is difficult to add time difference information to the data being transmitted, it is possible to add time difference information that can specify an accurate generation time point with a simple configuration.
  • the communication device that has received the data determines the accurate data generation time based on the time measured by its own time measuring means based on the time difference information received together. It becomes possible to specify.
  • the present invention it is possible to accurately specify the generation time point of data to be transmitted / received with a simple configuration without synchronizing the time measured by the time measuring means provided in each communication device.
  • FIG. 1 is a configuration diagram showing a configuration of an in-vehicle communication system in a first embodiment.
  • 4 is a flowchart illustrating an example of a communication processing procedure in which the control unit of the ECU according to the first embodiment generates data and transmits the data together with time difference information.
  • 6 is a flowchart illustrating an example of processing in which a control unit of an ECU or a control unit of a relay device in Embodiment 1 receives data and specifies a generation time point.
  • 6 is a flowchart illustrating an example of a communication processing procedure when the control unit of the relay device in Embodiment 1 transfers data.
  • FIG. 6 is a flowchart illustrating an example of a communication processing procedure in which a control unit of an ECU according to Embodiment 2 generates data and transmits the data together with time difference information.
  • 10 is a flowchart illustrating an example of a communication processing procedure when the control unit of the relay apparatus according to the second embodiment transfers data.
  • FIG. 1 is a configuration diagram showing the configuration of the in-vehicle communication system in the first embodiment.
  • the in-vehicle communication system according to the first embodiment includes ECUs 1, 1,... That are communication devices that transmit and receive data, relay devices 2a, 2b,. ,... And relay devices 2a, 2b,..., And communication lines 3a, 3b,.
  • the ECUs 1, 1,... Are connected to different communication lines 3a, 3b,.
  • the relay device 2a is connected to both the communication lines 3a and 3b, and relays data transmission / reception between the ECUs 1, 1,... Connected to the communication lines 3a and 3b, respectively.
  • the relay device 2b is connected to both the communication lines 3b and 3c, and relays data transmission and reception between the ECUs 1, 1,... Connected to the communication lines 3b and 3c, respectively.
  • Each of the ECUs 1, 1,... Communicates via a control unit 10 that controls the operation of each component, a storage unit 11 that stores data necessary for control, a time measuring unit 12, and communication lines 3a, 3b,.
  • the communication control part 13 which controls this is provided.
  • the control unit 10 of the ECU 1 receives power supplied from a power supply device such as a vehicle battery and an alternator (not shown) to control the operation of each component.
  • a power supply device such as a vehicle battery and an alternator (not shown) to control the operation of each component.
  • the storage unit 11 uses a volatile memory, and the control unit 10 is relayed by various information generated in the course of processing, measured values represented by signals input from sensors or relay devices 2a, 2b,.
  • the stored data is temporarily stored in the storage unit 11.
  • Time measuring unit 12 measures the passage of time by counting at a predetermined frequency.
  • the time measuring unit 12 measures an elapsed time from a predetermined reference time.
  • the reference time point in the time measuring unit 12 may be a time point at which power is supplied, or an arbitrary time (for example, UTC; Coordinated Universal Time).
  • the control unit 10 acquires time information at an arbitrary timing from the time measuring unit 12. Note that the time indicated by the time information acquired by the control unit 10 from the time measuring unit 12 is a local time in each of the ECUs 1, 1,... And does not need to be synchronized.
  • the communication control unit 13 has a network controller function and realizes communication via any one of the communication lines 3a, 3b,.
  • the ECUs 1, 1,... And the relay devices 2a, 2b,... Transmit and receive data in accordance with a CAN (Controller-Area-Network) protocol. Therefore, the communication control unit 12 transmits and receives data via the communication lines 3a and 3b based on the CAN protocol.
  • the control unit 10 of the ECU 1 connected to the communication line 3a monitors the communication status on the communication line 3a by the communication control unit 12, determines whether or not it can transmit data, and can transmit it. Send data in case.
  • one ECU 1 connected to the communication line 3a communicates when the other ECUs 1, 1,...
  • any one of the ECUs 1, 1,... And the relay device 2a connected to the communication line 3a tries to start data transmission at the same time, any one can preferentially transmit data by arbitration. It is. Specifically, an arbitration field for arbitration is included in the header added to the head of data transmitted / received according to the CAN protocol, and arbitration is performed on the communication line 3a by a bit string in the arbitration field. Only one ECU 1 or relay device 2a that has won the arbitration can continue transmission. Further, when any of the ECUs 1, 1,... Connected to the communication line 3a and the relay device 2a transmit data via the communication line 3a, the other ECUs 1, 1 connected to the communication line 3a. ,... Or the relay apparatus 2a simultaneously receives data.
  • the ECUs 1, 1,... Configured as described above are devices that can transmit data including numerical information of various physical quantities such as measured values, calculated values, and control values, or can be controlled by a microcomputer such as an engine and a brake.
  • a microcomputer such as an engine and a brake.
  • one ECU 1 connected to the communication line 3a functions as an ABS (Antilock Brake System) and is connected to a sensor (not shown) that detects the rotational speed (wheel speed) of the wheel.
  • the ECU 1 controls the brake based on the wheel speed detected via the sensor during braking of the vehicle, and also uses the measured value of the wheel speed as data to communicate with the other ECUs 1, 1,... And the relay device 2a via the communication line 3a. Send to.
  • the ECUs 1, 1,... Transmit data including numerical information of various physical quantities such as measured values, calculated values, control values, etc., when data is generated, for example, when wheel speed measured values are detected via sensors. Information for identification is added after the data and transmitted. Specifically, the control unit 10 of the ECUs 1, 1,... Adds time difference information representing a time difference from the generation time point to the data transmission start time point. Further, when it is necessary for the ECUs 1, 1,... That have received the data to refer to the generation time of the received data, the time difference information added to the data is used to indicate the time point before the time difference indicated by the time difference information from the reception start time point. It is specified as the generation time.
  • the relay device 2a includes a control unit 20 that controls the operation of each component, a storage unit 21 that stores various types of information, a timing unit 22, and a communication unit 23 connected to the communication lines 3a and 3b.
  • the internal configuration of the relay devices 2b, 2c,... Is the same as the internal configuration of the relay device 2a, and detailed description thereof is omitted.
  • the control unit 20 uses an MPU (Micro Processing Unit) and is configured to receive power from a power supply device (not shown) such as an alternator of a vehicle or a battery to control the operation of each component.
  • MPU Micro Processing Unit
  • the storage unit 21 temporarily stores data received from the ECUs 1, 1,... Using a volatile memory. Various kinds of information generated and used in the process of the control unit 20 are stored in the storage unit 21.
  • Time measuring unit 22 measures the passage of time by counting at a predetermined frequency.
  • the timer unit 22 measures an elapsed time from a predetermined reference time.
  • the reference time point may be a time point at which power is supplied, or may be an arbitrary time (for example, UTC), like the time measuring unit 12 in the ECUs 1, 1,.
  • the control unit 20 acquires time information at an arbitrary timing from the time measuring unit 22.
  • the time represented by the time information acquired from the timer unit 22 is the local time in the relay devices 2a, 2b,..., And the timer units 22 and timer units of the other relay devices 2a, 2b,. 12 need not be synchronized.
  • the communication unit 23 realizes data transmission / reception with the ECUs 1, 1,... Connected via the communication lines 3a, 3b,. That is, data is transmitted and received according to the CAN protocol.
  • the communication unit 23 has a plurality of ports and can connect to different communication lines 3a, 3b,... To transmit and receive data.
  • the control unit 20 of the relay device 2a connected to the communication lines 3a and 3b monitors the communication status on the communication line 3a by the communication unit 23, determines whether or not it can transmit data, and can transmit the data. If so, data is transmitted via the communication line 3a.
  • the relay device 2a monitors the communication status on the communication line 3b by the communication unit 23, determines whether or not it can transmit data, and if it can transmit data, the data is transmitted via the communication line 3b. Send. Note that the communication unit 23 can simultaneously perform transmission and reception through different ports.
  • the control unit 20 of the relay apparatuses 2a, 2b,... Configured as described above transfers data received from the ECUs 1, 1,... Via the communication unit 23 from other ports to the other ECUs 1, 1,.
  • time difference information for specifying the generation time point of the data that is added to the data and transmitted is also transferred.
  • the control unit 20 transfers the time difference information after changing it. Specifically, the control unit 20 adds the time difference from the reception start time to the transfer start time to the time difference indicated by the time difference information added to the received data to obtain the time difference from the generation time to the transfer start time, The time difference information added to the data to be transferred is changed to time difference information indicating the obtained time difference and then transferred.
  • FIG. 2 is a flowchart illustrating an example of a communication processing procedure in which the control unit 10 of the ECUs 1, 1,... In Embodiment 1 generates data and transmits the data together with time difference information.
  • the flowchart shown below shows the process by the control part 10 of one ECU1 connected to the communication line 3a. The processing by the control unit 10 of the other ECUs 1, 1,.
  • the control unit 10 detects a measurement value via a sensor, obtains a calculated value triggered by receiving other data, or obtains a control value to be controlled. Data including numerical information on the physical quantity is generated (step S11). At this time, the control unit 10 acquires the time point when the data is generated, that is, the data generation time point (Tc (0) ) by the time measuring unit 12 (step S12).
  • a number is shown on the shoulder of the algebra representing each time point information, such as the data generation time point (Tc (0) ) in step S12 described above.
  • the number is an arbitrary natural number (k) for explaining which device is the time information represented by the local time, and corresponds to the number of data relays. For example, “0 (zero)” at the data generation time point (Tc (0) ) in step S12 indicates that the time information is represented by the local time in the device in which the data is generated (the data starting device). Show. Note that the number shown on the shoulder does not have to be included in the transmitted / received time difference information.
  • the control unit 10 attempts to transmit the data generated in step S11 by the communication control unit 13, and determines whether or not the transmission start is successful (step S13).
  • the control unit 10 has failed to start transmission because another ECU 1, 1,... Connected to the communication line 3a or the relay device 2a is communicating, or has started transmission of data but lost to arbitration. (S13: NO), the process returns to step S13 and waits until transmission can be started. In this case, the control unit 10 receives the data transmitted from the other ECUs 1, 1,... Or the relay device 2a by the communication control unit 13.
  • the transmission start time (Ts (0) ) is acquired by the time measuring unit 12 (step S14). Strictly speaking, the transmission start time (Ts (0) ) indicates the transmission time at the end of the arbitration field.
  • control unit 10 obtains a time difference based on information on the accurate transmission start time (Ts (0) ) at which transmission is actually started, and is added to the data being transmitted and transmitted.
  • the communication control unit 13 when transmitting data, the communication control unit 13 adds header information including an arbitration field to the head of the data and adds trailer information indicating the end of data transmission to the end of the data.
  • the header information includes the length from the header information to the end of the trailer information. Therefore, the time difference information is defined so as to be represented by a field having a predetermined length following the specific numerical information of the data. Arbitrary numerical information is entered in advance in the field representing the time difference information.
  • the communication control unit 13 is configured to be able to rewrite the field representing the time difference information after the data transmission is started.
  • Transmission start time controller 10 upon successful start of the transmission by the communication control unit 13 (Ts (0)) the time difference to get the (Td (0)) from the calculated, the communication control unit 13 for two hours difference information To rewrite. This makes it possible to add time difference information during transmission.
  • FIG. 3 is a flowchart showing an example of a process in which the control unit 10 of the ECUs 1, 1,... Or the control unit 20 of the relay devices 2a, 2b,.
  • the flowchart shown below shows processing by one ECU 10 connected to the communication line 3b.
  • the control unit 10 determines whether or not reception of data is started by the communication control unit 13 (in the case of processing by the control unit 20 of the relay devices 2a and 2b, the communication unit 23) (step S21). When it is determined that the reception of data has not started (S21: NO), the control unit 10 returns the process to step S21.
  • the control unit 10 of the ECU 1 connected to the communication line 3b can specify the generation time point of the data generated and transmitted by the ECU 1 connected to the communication line 3a, for example. Since the time difference information is a time difference from when data is actually generated to when transmission is actually started, the time point after the time difference from the reception start time is an accurate data generation time. Note that the numerical information k in the description of the flowchart of FIG. 3 corresponds to the number of relays from the device that generated the data.
  • FIG. 4 is a flowchart illustrating an example of a communication processing procedure when the control unit 20 of the relay apparatuses 2a, 2b,... In the first embodiment transfers data.
  • the control unit 20 of one relay device 2a connected to the communication lines 3a and 3b receives data received from the ECU 1 connected to the communication line 3a and is connected to the communication line 3b.
  • the processing when transferring to each device is shown.
  • the processing when transmitting data transmitted from any of the devices connected to the communication line 3b to the ECUs 1, 1,... Connected to the communication line 3a is the same.
  • the control unit 20 determines whether or not reception of data is started by a port connected to the communication line 3a of the communication unit 23 (step S31). When it is determined that the data reception has not started (S31: NO), the control unit 20 returns the process to step S31, monitors the connected communication line 3a, and waits until the data reception starts. .
  • the control unit 20 acquires the reception start time (Tm (k) ) by the time measuring unit 22 (step S32). The control unit 20 determines whether or not the reception of data has been completed (step S33). If it is determined that the data has not been completed (S33: NO), the process returns to step S33.
  • control unit 20 When the control unit 20 detects the trailer information by the communication unit 23 and determines that the reception of the data has been completed (S33: YES), the control unit 20 indicates the time difference (Td (k-1) ) added to the received data. Time difference information is extracted (step S34).
  • the control unit 20 communicates data transmission.
  • the unit 23 tries to determine whether or not transmission has been successfully started (step S35).
  • the control unit 20 fails to start transmission because another ECU 1, 1,... Connected to the communication line 3b or the relay device 2b is communicating, or has started transmission of data but lost to arbitration. If it is determined (S35: NO), the process returns to step S35 and waits until transmission can be started.
  • the control unit 20 has succeeded in starting the transmission because the other ECUs 1, 1,... Connected to the communication line 3b and the relay device 2b are not communicating and have started transmission of data and won arbitration. If it is determined (S35: YES), the transmission start time (Ts (k) ) is acquired by the time measuring unit 22 (step S36).
  • the control unit 20 adds a time difference (Td (k-1) ) indicated by the received time difference information to a time difference between the transmission start time (Ts (k) ) and the reception start time (Tm (k) ).
  • Td (k-1) Td (k-1) + (Ts (k) -Tm (k) )) is calculated (step S37), and the time difference information indicating the time difference (Td (k) ) is added to the data being transmitted. 23 (step S38), the transmission is completed, and the process is terminated.
  • the communication unit 23 performs a communication process according to the CAN protocol, and the process of adding time information in step S38 is performed as follows in the same manner as the communication control unit 13.
  • the time difference information is represented by a field having a predetermined length following the specific numerical information of the data, and the control unit 20 puts arbitrary numerical information in advance in the field representing the time difference information.
  • the communication unit 23 is configured to be able to rewrite the field representing the time difference information after starting transmission.
  • the control unit 20 calculates the acquired by the time difference the transmission start time upon successful start of the transmission (Ts (k)) by the communication unit 23 (Td (k)), rewrite the communication unit 23 two hours difference information To instruct.
  • FIG. 5 shows that the generation time point of data transmitted / received by the ECUs 1, 1,... And the relay devices 2a, 2b,. It is explanatory drawing which shows the process performed. FIG. 5 shows that time has passed downward. Note that the explanatory diagram of FIG. 5 shows an example in which data is generated by the ECU 1 connected to the communication line 3a and is transferred by the relay devices 2a, 2b,.
  • the generation time point acquired by the ECU 1 is Tc (0) .
  • the relay device 2a transfers the data received from the ECU 1 to the ECUs 1, 1,... Connected to the communication line 3b and the relay device 2b.
  • the control unit 20 of the relay device 2a acquires the transmission start time Ts (1) successful start of the transmission by the communication unit 23, a transmission start time Ts (1 ) And the generation time Tc (1) of the data, that is, the time difference Td (0) added to the received data, the reception start time Tm (1) and the transmission start time Ts (1) in itself.
  • the time difference information indicating the time difference Td (1) obtained by adding the time differences between the two is added and transmitted.
  • the ECUs 1, 1,... Connected to the communication line 3b When the ECUs 1, 1,... Connected to the communication line 3b receive the data transferred by the relay device 2a, they start receiving the time difference Td (1) indicated by the added time difference information and the data itself. Based on the time Tm (2) , the data generation time Tc (2) in the local time of the ECU 1 itself can be specified.
  • the ECU 1 that has received the data relayed (transferred) k times also includes the time difference Td (k ⁇ 1) indicated by the added time difference information and the time Tm (k) at which the data reception starts.
  • Td (k ⁇ 1) indicated by the added time difference information
  • Tm (k) the time difference indicated by the time difference information added to the received data
  • Tc (k) the time difference between the data generation time and the transmission (reception) start time represented by a predetermined frequency. is there. Therefore, even many times relayed data, the time difference Td than the reception start time point Tm (k) (k-1 ) minute predated time Tc (k) is the data generation time.
  • the timekeeping unit 12 of the ECUs 1, 1,... And the timekeeping unit 22 of the relay devices 2a, 2b,... are expressed in local time in each device even though they are not synchronized with reference to a predetermined absolute time. It is possible to specify the generation time. That is, as shown in FIG. 5, even if Tc (0) , Tc (1), and Tc (k) are represented by different numerical values, the generation times Tc (0) , Tc ( 1) and Tc (k) correspond to simultaneous points as shown in FIG.
  • the control unit 10 of the ECUs 1, 1,... And the control unit 20 of the relay devices 2a, 2b,... Acquire the transmission start time and add it to the data being transmitted when the transmission is successfully started. It was set as the structure to do.
  • a transmission start time is determined in advance, and transmission is attempted after obtaining time difference information to be added to data.
  • the configuration of the in-vehicle communication system in the second embodiment is the same as that in the first embodiment except for the details of the processing by the control unit 10 of the ECUs 1, 1,... And the details of the processing by the control unit 20 of the relay devices 2a, 2b,. It is the same.
  • the same reference numerals are assigned to components common to the first embodiment, and detailed description thereof is omitted, and details of processing by the control unit 10 of the ECUs 1, 1,..., Which are different points, and relay devices 2a, 2b, Details of the processing by the control unit 20 will be described with reference to a flowchart.
  • FIG. 6 is a flowchart illustrating an example of a communication processing procedure in which the control unit 10 of the ECUs 1, 1,... In Embodiment 2 generates data and transmits the data together with time difference information.
  • the flowchart shown below shows the process by the control part 10 of one ECU1 connected to the communication line 3a. The processing by the control unit 10 of the other ECUs 1, 1,.
  • the same processing steps as those shown in the flowchart of FIG. 2 in the first embodiment are given the same step numbers, and detailed description thereof is omitted.
  • the control unit 10 adds time difference information indicating the calculated time difference (Td (0) ) to the generated data (step S43), and compared with the time measurement by the time measurement unit 12, the transmission start time (Ts determined in step S41). It is determined whether or not (0) ) has been reached (step S44). If the control unit 10 determines that the transmission start time (Ts (0) ) has not been reached (S44: NO), the process returns to step S44.
  • control unit 10 determines that the transmission start time (Ts (0) ) has been reached (S44: YES)
  • the communication control unit 13 attempts to transmit the data generated in S11, and whether or not the transmission start is successful. Is determined (step S45).
  • the control unit 10 has failed to start transmission because another ECU 1, 1,... Connected to the communication line 3a or the relay device 2a is communicating, or has started transmission of data but lost to arbitration. (S45: NO), the process returns to step S41 to re-determine the transmission start time (Ts (0) ) for the next transmission attempt.
  • control unit 10 determines that the other ECUs 1, 1,... And the relay device 2a are not communicating, start transmission of data, and have succeeded in arbitration, thereby successfully starting transmission (S45: YES). , The transmission is continued to complete the transmission, and the process is terminated.
  • the transmission start time added to the data is a predetermined time, but when the transmission is successfully started, the actual transmission start time is reached.
  • specification of the generation time by the control unit 10 of the ECUs 1, 1,... That receives the data or the control unit 20 of the relay apparatuses 2, 2,... is shown in the flowchart of FIG. This process is performed. Therefore, even when the data generation time point is specified based on the time difference information indicating the time difference (Td (0) ) in the processing procedure shown in the flowchart of FIG. 6, it is possible to correctly specify the data generation time point. is there.
  • FIG. 7 is a flowchart illustrating an example of a communication processing procedure when the control unit 20 of the relay apparatuses 2a, 2b,... In the second embodiment transfers data.
  • the control unit 20 of one relay device 2a connected to the communication lines 3a and 3b receives data received from the ECU 1 connected to the communication line 3a and is connected to the communication line 3b.
  • the processing when transferring to each device is shown.
  • the processing when transmitting data transmitted from any of the devices connected to the communication line 3b to the ECUs 1, 1,... Connected to the communication line 3a is the same.
  • the control unit 20 After extracting the time difference information indicating the time difference (Td (k-1) ) added from the received data (S34), the control unit 20 uses the communication line 3b via a port where the received data is different from the received port. When the data is to be transferred to the ECUs 1, 1,... Connected to the relay device 3b, the following processing is performed.
  • the control unit 20 adds time difference information indicating the calculated time difference (Td (k) ) to the generated data (step S53), and compared with the time measurement by the time measurement unit 12, the transmission start time (Ts determined in step S51). (k) ) It is determined whether or not (step S54). When the control unit 20 determines that the transmission start time (Ts (k) ) has not been reached (S54: NO), the control unit 20 returns the process to step S54.
  • the control unit 20 When it is determined that the transmission start time (Ts (k) ) has been reached (S54: YES), the control unit 20 attempts to transmit data by the communication unit 23, and determines whether the transmission has been successfully started (step S54). S55). The control unit 20 fails to start transmission because another ECU 1, 1,... Connected to the communication line 3b or the relay device 2b is communicating, or has started transmission of data but lost to arbitration. (S55: NO), the process returns to step S51 to re-determine the transmission start time (Ts (k) ) for the next transmission attempt.
  • control unit 20 determines that the other ECUs 1, 1,... And the relay device 2b are not communicating, or have started transmission of data and have succeeded in arbitration, and thus have successfully started transmission (S55: YES) ).
  • the transmission is continued to complete the transmission, and the process is terminated.
  • the transmission start time point added to the data is a predetermined time point, but when the transmission (transfer) is successfully started, the actual transmission start time point is reached. Therefore, even when the data generation time point is specified based on the time difference information indicating the time difference (Td (k) ) calculated by the processing procedure shown in the flowchart of FIG. It is possible to specify.
  • data is generated including time difference information in advance and transmission or transfer is attempted.
  • the communication control unit 13 and the communication unit 23 do not have to perform a process of rewriting the field representing the data time difference information during transmission.
  • the time difference information indicating the time difference obtained from the time information acquired from the time measuring unit 12 of the ECUs 1, 1,... Or the time measuring unit 22 of the relay devices 2a, 2b,. did.
  • the time difference information transmitted and received together with the data may be defined so as to indicate a time difference expressed in nanosecond units, for example.
  • the timings in the timing units 12 of the ECUs 1, 1,... And the timing units 22 of the relay apparatuses 2a, 2b that is, even when the time measuring unit 12 in the ECU 1 connected to the communication line 3a measures time at 600 MHz and the time measuring unit 22 in the relay device 2a measures time at 3 GHz, the time difference information is transmitted and received in nanosecond units, and is controlled.
  • the unit 10 or the control unit 20 can be converted into the same unit as the time information that can be acquired from the time measuring units 12 and 22.
  • the communication lines 3a, 3b,... In the first and second embodiments are configured to be communication lines conforming to the CAN protocol.
  • the present invention does not limit communication via the communication lines 3a, 3b,... According to CAN.
  • a configuration capable of transmitting and receiving data based on a protocol such as LIN (Local Interconnect Network) or FlexRay (registered trademark) may be used.
  • LIN Local Interconnect Network
  • FlexRay registered trademark
  • the ECUs 1, 1,... And the relay devices 2a, 2b,... are connected to the communication lines 3a, 3b,.
  • a plurality of devices cannot transmit data at the same time, and when one device starts transmitting data, the other devices communicate with the communication lines 3a, 3b. ,... Were monitored simultaneously, and the time difference between the transmission start time and the reception start time could be ignored.
  • the present invention is not limited to this, and a configuration in which the time difference between the transmission start time and the reception start time is not zero may be employed. This is not a problem when there is little influence on the accuracy required for the generation time point of data to be specified.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

 簡易な構成で受信したデータの生成時点を特定することができる通信装置、該通信装置を含む通信システム及び通信方法を提供する。  ECU1はデータを送信する際に、データが生成された生成時点(Tc(0) )と、実際にデータの送信を開始した送信開始時点(Ts(0) )との間の時間差(Td(0) =Ts(0) -Tc(0) )を示す時間差情報を送信する。中継装置2aはデータを転送する際に、受信したデータに付加されていた時間差(Td(0) )に、自身が当該データの受信を開始した時点(Tm(1) )と送信(転送)を開始した時点(Ts(1) )との時間差を加算した時間差(Td(1) )を示す時間差情報を付加して送信する。データを受信したECU1は、データの受信を開始した時点(Tm(k) )よりも時間差情報が示す時間差(Td(k-1) )前の時点(Tc(k) =Tm(k) -Td(k-1) )をデータの生成時点と特定する。

Description

通信装置、通信システム及び通信方法
 本発明は、複数の通信装置間でデータを送受信する通信システムに関する。特に、受信したデータの生成時点を簡易な構成により特定することができる通信装置、該通信装置を含む通信システム及び通信方法に関する。
 近年では、複数の通信装置を接続し、各通信装置に夫々機能を割り振って相互にデータを交換し、連携して多様な処理を行なわせるシステムが各分野で利用されている。例えば、車両に配される車載LAN(Local Area Network)の分野では、通信装置としてECU(電子制御装置;Electronic Control Unit)を用い、各ECUに夫々特化させた処理を行なわせて相互にデータを交換することにより、システムとして多様な機能を実現させている。
 内容が時々刻々と変化するようなデータを複数の通信装置間で交換して処理を行なう場合、各データには有効期間がある。車載LANの分野でECUが行なう制御が安全面に関する場合、極端に古いデータが用いられると問題となる可能性がある。
 特許文献1には、データの到着期限時刻に基づく優先度に従った順に各ECUがデータの送受信を制御する構成により、到着期限時刻を超えて到着するデータを最小とする技術が開示されている。特許文献1に開示されている技術では、到着期限時刻は絶対時刻とし、各ECUは同期された基準時刻を計測する時刻計測手段を用いて到着期限時刻までの時間が短いデータほど優先的に送信するようにしてある。
特開2007-295081号公報
 特許文献1に示すように、各ECUが同期された基準時刻を計測する構成とすることにより、各ECUは他の通信装置で計測されたデータの生成時刻を共に受信することで、データが生成された時点を正確に認識することができる。
 相互に接続される通信装置が備えるタイマーなどの計時手段により計測される時間を同期するための方法は、種々の方法がある。しかしながら、時間を同期させるためには、各通信装置が自身の計時手段により計測される時間を一の通信装置から送信される基準時刻に合わせる処理を行なう構成、又は、各通信装置がGPS(Global Positioning System)受信機能を備える構成等が必要となる。
 本発明は斯かる事情に鑑みてなされたものであり、各通信装置が備える計時手段によって計測される時間を同期させることなしに、簡易な構成で他の通信装置から受信したデータの生成時点を正確に特定することができる通信装置、該通信装置を含む通信システム及び通信方法を提供することを目的とする。
 第1発明に係る通信装置は、計時手段と、データの送受信を行なう通信手段と、該通信手段によるデータの送信の可否を判断する送信可否判断手段とを備える通信装置において、データが生成された生成時点、及び、前記送信可否判断手段により可の判断がされて前記データの送信を開始する送信開始時点の間の時間差を求める手段と、求めた時間差を示す時間差情報を前記データに付加する手段と、時間差情報が付加されたデータを前記通信手段により受信した場合、受信開始時点を前記計時手段による計時に基づき特定する手段と、前記時間差情報及び前記受信開始時点に基づき、データの生成時点を特定する特定手段とを備えることを特徴とする。
 第2発明に係る通信装置は、前記送信可否判断手段が送信可であると判断した場合、前記計時手段によりデータの送信開始時点を取得する手段と、取得した送信開始時点、及び前記データの生成時点の間の時間差を求める手段とを備え、求めた時間差を示す時間差情報を、送信を開始している前記データに付加するようにしてあることを特徴とする。
 第3発明に係る通信装置は、データを送信する送信開始時点を決定する決定手段と、決定した送信開始時点、及び前記生成時点の間の時間差を求める手段と、求めた時間差を示す時間差情報を前記データに付加する手段と、前記決定手段が決定した送信開始時点に到達したか否かを前記計時手段による計時に基づき判断する手段と、前記送信開始時点に到達したと判断した場合に、前記通信手段による前記データ及び該データに付加されている時間差情報の送信を試みる手段とを備え、前記送信可否判断手段が不可と判断した場合、前記決定手段により次に送信を開始する送信開始時点を再決定し、時間差を求め直して送信を再度試みるようにしてあることを特徴とする。
 第4発明に係る通信装置は、時間差情報が付加されたデータを前記通信手段により受信した場合、前記データを更に他の通信装置へ前記通信手段により転送する手段と、前記特定手段により特定したデータの生成時点、及びデータの転送開始時点の間の時間差を求める手段と、求めた時間差を示す時間差情報を、転送するデータに付加される時間差情報とする手段とを備えることを特徴とする。
 第5発明に係る通信システムは、計時手段と、データの送受信を行なう通信手段と、該通信手段によるデータの送信の可否を判断する送信可否判断手段とを備える通信装置を複数含む通信システムにおいて、各通信装置は、データが生成された生成時点、及び、前記送信可否判断手段により可の判断がされて前記データの送信を開始する送信開始時点の間の時間差を求める手段と、求めた時間差を示す時間差情報を前記データに付加する手段と、時間差情報が付加されたデータを前記通信手段により受信した場合、受信開始時点を前記計時手段による計時に基づき特定する手段と、前記時間差情報及び前記受信開始時点に基づき、データの生成時点を特定する特定手段とを備えることを特徴とする。
 第6発明に係る通信方法は、計時手段と、データの送受信を行なう通信手段とを備える通信装置が、該通信手段によるデータの送信の可否を判断し、送信可と判断した場合に前記データを送信する方法において、前記通信装置は、送信可と判断した場合、データの送信を開始し、前記計時手段により前記データの送信開始時点を取得し、取得した送信開始時点、及び前記データが生成された生成時点の間の時間差を求め、求めた時間差を示す時間差情報を、送信を開始している前記データに付加して送信することを特徴とする。
 第7発明に係る通信方法は、計時手段と、データの送受信を行なう通信手段とを備える通信装置が、該通信手段によるデータの送信の可否を判断し、送信可と判断した場合に前記データを送信する方法において、前記通信装置は、データを送信する送信開始時点を決定し、決定した送信開始時点及び前記データが生成された生成時点の時間差を求め、求めた時間差を示す時間差情報を前記データに付加し、決定した送信開始時点に到達したか否かを判断し、送信開始時点に到達したと判断した場合、前記通信手段による前記データ及び該データに付加されている時点差情報の送信を試み、前記データの送信を不可と判断した場合、次に送信を開始する送信開始時点を再決定し、時間差を求め直して送信を再度試みることを特徴とする。
 第1発明及び第5発明では、データが生成された生成時点、及び、前記データの送信が実際に可能となって送信が開始される送信開始時点の間の時間差を示す時間差情報がデータに付加される。送信開始から受信開始までの時間差が無視できれば、受信開始時点よりも時間差情報が示す時間差の分過去の時点が、データが生成された時点である。
 第2発明及び第6発明では、送信可と判断されてデータの送信が開始された送信開始時点が取得され、前記データの生成時点との時間差が求められる。これにより、実際に送信が開始された正確な送信開始時点の情報に基づき時間差が求められ、送信中のデータに付加されて送信される。
 第3発明及び第7発明では、データの送信開始時点を予め決定しておき、決定した送信開始時点と前記データの生成時点との時間差が予め求められて時間差情報がデータに付加される。送信開始時点に到達して送信が試みられ、送信可と判断されて送信が開始された場合、送信中のデータに既に付加されている時間差情報が表わす時間差は正確である。送信不可と判断されて送信が開始されない場合は、次の送信の機会に合わせて送信開始時点が再決定され、時間差情報が再び求められて送信が試みられる。これにより、送信中のデータに時間差情報を付加することが困難な場合でも簡易な構成で正確な生成時点を特定可能な時間差情報を付加することができる。
 第4発明では、他の通信装置から受信したデータを転送する場合も、転送を行なう通信装置における計時手段に基づいて、データの生成時点から転送開始までの時間差が求められて付加される。これにより、複数の通信装置を介してデータが転送される場合も、データを受信した通信装置は共に受信する時間差情報に基づき自身の計時手段により計測される時間に基づく正確なデータの生成時点を特定することが可能となる。
 本発明による場合、各通信装置が備える計時手段により測定される時間を同期させることなしに、送受信されるデータの生成時点を簡易な構成により正確に特定することができる。
実施の形態1における車載通信システムの構成を示す構成図である。 実施の形態1におけるECUの制御部がデータを生成し、時間差情報と共に送信する通信処理手順の一例を示すフローチャートである。 実施の形態1におけるECUの制御部又は中継装置の制御部がデータを受信して生成時点を特定する処理の一例を示すフローチャートである。 実施の形態1における中継装置の制御部がデータを転送する際の通信処理手順の一例を示すフローチャートである。 実施の形態1におけるECU及び中継装置により送受信されたデータの生成時点が、いずれのECU又は中継装置でも正しく特定される過程を示す説明図である。 実施の形態2におけるECUの制御部がデータを生成し、時間差情報と共に送信する通信処理手順の一例を示すフローチャートである。 実施の形態2における中継装置の制御部がデータを転送する際の通信処理手順の一例を示すフローチャートである。
 1 ECU
 10 制御部
 12 計時部
 13 通信制御部
 2a,2b,… 中継装置
 20 制御部
 22 計時部
 23 通信部
 3a,3b,… 通信線
 以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。なお、以下の実施の形態1及び2では、車両に配されて相互にデータの送受信を行なう複数のECUを含む車載通信システムに本発明を適用した場合を例に挙げて説明する。
 (実施の形態1)
 図1は、実施の形態1における車載通信システムの構成を示す構成図である。実施の形態1における車載通信システムは、データを送受信する通信装置であるECU1,1,…と、ECU1,1,…間のデータの送受信を中継する中継装置2a,2b,…と、ECU1,1,…及び中継装置2a,2b,…間を接続する通信線3a,3b,…とを含む。
 ECU1,1,…は異なる通信線3a,3b,…に夫々バス型に接続されている。中継装置2aは通信線3a,3bの両方と接続されており、通信線3a,3bに夫々接続されているECU1,1,…間のデータの送受信を中継するようにしてある。同様に中継装置2bは、通信線3b,3cの両方と接続されており、通信線3b,3cに夫々接続されているECU1,1,…間のデータの送受信を中継する。
 ECU1,1,…は夫々、各構成部の動作を制御する制御部10と、制御に必要なデータを記憶する記憶部11と、計時部12と、通信線3a,3b,…を介した通信を制御する通信制御部13とを備える。
 ECU1の制御部10は、図示しない車両のバッテリー、オルタネータ等の電力供給装置から電力の供給を受けて各構成部の動作を制御するようにしてある。
 記憶部11は揮発性のメモリを利用し、制御部10は処理の過程で発生する各種情報、後述するようにセンサから入力された信号が表す測定値又は中継装置2a,2b,…によって中継されたデータを一時的に記憶部11に記憶する。
 計時部12は、所定の周波数で計数することによって時間の経過を測定する。例えば計時部12は、所定の基準時点からの経過時間を測定している。計時部12における基準時点は電力の供給を受けた時点でもよいし、任意の時刻(例えばUTC;Coordinated Universal Time)でもよい。制御部10は、計時部12から任意のタイミングでの時間情報を取得する。なお、制御部10が計時部12から取得する時間情報が表わす時間は、ECU1,1,…夫々におけるローカルタイムであって同期されている必要がない。
 通信制御部13は、ネットワークコントローラの機能を有して通信線3a,3b,…のいずれかを介した通信を実現する。なお、ECU1,1,…及び中継装置2a,2b,…間ではCAN(Controller Area Network)のプロトコルに順じてデータを送受信するようにしてある。したがって通信制御部12は、CANプロトコルに基づき通信線3a,3bを介してデータを送受信する。例えば通信線3aに接続されているECU1の制御部10は、通信制御部12により通信線3aにおける通信状況をモニタし、自身がデータを送信可能であるか否かを判断し、送信可能である場合にデータを送信する。具体的には、通信線3aに接続されている一のECU1は、同様に通信線3aに接続されている他のECU1,1,…又は中継装置2aがデータを送信していない場合に、通信制御部12によりデータを送信することができる。なお、通信線3aに接続されているECU1,1,…及び中継装置2aのいずれか複数が同時にデータの送信を開始しようとした場合、調停によっていずれかが優先的にデータを送信することが可能である。具体的には、CANプロトコルに準じて送受信されるデータの先頭に付加されるヘッダ中に、調停のためのアービトレーションフィールドが含まれており、アービトレーションフィールド内のビット列により通信線3aにおける調停が行なわれ、調停に勝った一のECU1又は中継装置2aのみが送信を継続することができる。また、通信線3aに接続されているECU1,1,…及び中継装置2aのいずれかが通信線3aを介してデータを送信している場合、通信線3aに接続されている他のECU1,1,…又は中継装置2aは同時にデータを受信する。
 このように構成されるECU1,1,…は測定値、計算値、制御値等の各種物理量の数値情報を含むデータの送信又はエンジン、ブレーキ等のマイクロコンピュータによる制御が可能な装置である。例えば、通信線3aに接続されている一のECU1はABS(Antilock Brake System)として機能し、車輪の回転速度(車輪速)を検知する図示しないセンサと接続されている。このECU1は、車両の制動時にセンサを介して検知した車輪速に基づいてブレーキを制御すると共に、車輪速の測定値をデータとして通信線3aを介して他のECU1,1,…及び中継装置2aへ送信する。
 そしてECU1,1,…は測定値、計算値、制御値等の各種物理量の数値情報を含むデータを送信するに際し、データの生成時点、例えばセンサを介して車輪速の測定値を検知した時点を特定するための情報をデータの後ろに付加して送信する。詳細には、ECU1,1,…の制御部10は、生成時点からデータの送信開始時点までの時間差を表わす時間差情報を付加する。また、データを受信したECU1,1,…は受信したデータの生成時点を参照する必要がある場合、データに付加されている時間差情報を用い受信開始時点から時間差情報が表わす時間差分前の時点を生成時点と特定して用いる。
 中継装置2aは、各構成部の動作を制御する制御部20と、各種情報を記憶する記憶部21と、計時部22と、通信線3a及び3bに接続される通信部23とを備える。中継装置2b,2c,…の内部構成は中継装置2aの内部構成と同様であるので詳細な説明を省略する。
 制御部20はMPU(Micro Processing Unit)を利用し、図示しない車両のオルタネータ、バッテリー等の電力供給装置から電力の供給を受けて各構成部の動作を制御するように構成してある。
 記憶部21は、揮発性のメモリを利用し、ECU1,1,…から受信したデータを一時的に記憶する。また、制御部20の処理の過程で発生して用いられる各種情報が記憶部21に記憶される。
 計時部22は、所定の周波数で計数することによって時間の経過を測定する。例えば計時部22は、所定の基準時点からの経過時間を測定している。基準時点は、ECU1,1,…における計時部12同様に、電力の供給を受けた時点でもよいし、任意の時刻(例えばUTC)でもよい。制御部20は、計時部22から任意のタイミングでの時間情報を取得する。計時部22から取得される時間情報が表わす時間は、中継装置2a,2b,…におけるローカルタイムであって、他の中継装置2a,2b,…及びECU1,1,…の計時部22及び計時部12と同期されている必要がない。
 通信部23は、通信線3a,3b,…を介して接続しているECU1,1,…とのデータの送受信を実現する。即ち、CANプロトコルに準じてデータを送受信する。なお、通信部23は、複数のポートを有して夫々異なる通信線3a,3b,…に接続しデータを送受信することが可能である。通信線3a,3bに接続されている中継装置2aの制御部20は、通信部23により通信線3aにおける通信状況をモニタし、自身がデータを送信可能であるか否かを判断し、送信可能である場合に通信線3aを介してデータを送信する。同様に、中継装置2aは、通信部23により通信線3bにおける通信状況をモニタし、自身がデータを送信可能であるか否かを判断し、送信可能である場合に通信線3bを介してデータを送信する。なお、通信部23は異なるポートによる送受信を同時に実行可能である。
 このように構成される中継装置2a,2b,…の制御部20は、通信部23を介してECU1,1,…から受信したデータを、受信ポートと異なるポートから他のECU1,1,…へ転送するに際し、データに付加して送信されているデータの生成時点を特定するための時間差情報も転送する。ただし制御部20は時間差情報を変更してから転送する。具体的には、制御部20は受信したデータに付加されている時間差情報が示す時間差に、受信開始時点から転送開始時点までの時間差を加算して生成時点から転送開始時点までの時間差を求め、転送するデータに付加されている時間差情報を、求めた時間差を示す時間差情報に変更してから転送する。
 図2は、実施の形態1におけるECU1,1,…の制御部10がデータを生成し、時間差情報と共に送信する通信処理手順の一例を示すフローチャートである。なお、以下に示すフローチャートは、通信線3aに接続されている一のECU1の制御部10による処理を示す。他のECU1,1,…の制御部10による処理も同様である。
 制御部10は、センサを介して測定値を検知した場合、他のデータを受信したことを契機に算出した計算値が得られた場合、又は、制御対象の制御値が得られた場合、各種物理量の数値情報を含むデータを生成する(ステップS11)。この際に制御部10は、データを生成した時点、即ちデータ生成時点(Tc(0) )を計時部12により取得する(ステップS12)。
 なお、以下の説明では上述のステップS12におけるデータ生成時点(Tc(0) )のように各時点情報を表わす代数の肩に数字を示す。当該数字は、いずれの装置におけるローカルタイムで表わされた時間情報であるかを説明するための任意の自然数(k)であり、データの中継回数に相当する。例えば、ステップS12におけるデータ生成時点(Tc(0) )の「0(ゼロ)」は、データが生成された装置(データの起点の装置)におけるローカルタイムで表わされた時間情報であることを示す。なお肩に示される数字は、送受信される時間差情報に含まれなくてよい。
 制御部10は、ステップS11で生成したデータの送信を通信制御部13により試み、送信開始に成功したか否かを判断する(ステップS13)。制御部10は、通信線3aに接続されている他のECU1,1,…又は中継装置2aが通信中であるか、又はデータの送信を開始したが調停に負けたことによって送信開始に失敗したと判断した場合(S13:NO)、処理をステップS13へ戻して送信を開始できるまで待機する。制御部10は、この場合他のECU1,1,…又は中継装置2aから送信されるデータを通信制御部13により受信する。
 制御部10は、他のECU1,1,…及び中継装置2aが通信中でなく、データの送信を開始し且つ調停に勝ったことによって送信開始に成功したと判断した場合(S13:YES)、送信開始時点(Ts(0) )を計時部12により取得する(ステップS14)。厳密には、送信開始時点(Ts(0) )はアービトレーションフィールドの終端の送信時点を示す。
 制御部10は、送信開始時点(Ts(0) )とデータの生成時点(Tc(0) )との間の時間差(Td(0) =Ts(0) -Tc(0) )を算出し(ステップS15)、時間差(Td(0) )を示す時間差情報を送信中のデータに通信制御部13により付加し(ステップS16)、送信を完了させて処理を終了する。
 このように、制御部10は実際に送信が開始された正確な送信開始時点(Ts(0) )の情報に基づき時間差が求められ、送信中のデータに付加されて送信される。
 なお、通信制御部13がCANプロトコルに準じて通信処理を行なう場合、ステップS16における時間差情報の付加は以下のような処理によって実現させる。通信制御部13は、データを送信するに際し、データの先頭にアービトレーションフィールドを含むヘッダ情報を付加し、末尾にデータ送信終了を示すトレイラ情報を付加して送信する。ヘッダ情報にはヘッダ情報からトレイラ情報の末尾までの長さも含む。そこで、時間差情報はデータの具体的な数値情報に続く所定の長さのフィールドによって表わすように規定しておく。時間差情報を表わすフィールドには予め任意の数値情報を入れておく。そして通信制御部13により、データの送信を開始してから時間差情報を表わすフィールドの書き換えが可能に構成する。制御部10は通信制御部13により送信の開始に成功した時点で送信開始時点(Ts(0) )を取得して時間差(Td(0) )を算出してから、通信制御部13に時間差情報を書き換えるように指示する。これにより、送信中の時間差情報の付加が可能となる。
 図3は、実施の形態1におけるECU1,1,…の制御部10又は中継装置2a,2b,…の制御部20がデータを受信して生成時点を特定する処理の一例を示すフローチャートである。以下に示すフローチャートは、通信線3bに接続されている一のECU10による処理を示す。他のECU1,1,…及び中継装置2a,2b,…の制御部20による処理も同様である。
 制御部10は、通信制御部13(中継装置2a,2bの制御部20による処理の場合は通信部23)によりデータの受信を開始したか否かを判断する(ステップS21)。制御部10は、データの受信を開始していないと判断した場合(S21:NO)、処理をステップS21へ戻す。
 制御部10は、データの受信を開始したと判断した場合(S21:YES)、受信開始時点(Tm(k) )を計時部12により取得する(ステップS22)。そして制御部10は、ステップS21で受信を開始したデータに付加されている時間差(Td(k-1) )を示す時間差情報を抽出し(ステップS23)、抽出した時間差情報が示す時間差(Td(k-1) )及びステップS22で取得した受信開始時点(Tm(k) )により、自身のローカルタイムで表わすデータの生成時点(Tc(k) =Tm(k) -Td(k-1) )を算出し(ステップS24)、データの生成時点の特定処理を終了する。
 これにより、通信線3bに接続されているECU1の制御部10は、例えば通信線3aに接続されているECU1で生成されて送信されたデータの生成時点を特定することができる。時間差情報は、実際にデータが生成されてから実際に送信が開始されるまでの時間差であるから、受信開始時点から時間差分遡った時点はデータの正確な生成時点である。なお、図3のフローチャートの説明における数値情報kは、データが生成された装置からの中継回数に相当している。
 図4は、実施の形態1における中継装置2a,2b,…の制御部20がデータを転送する際の通信処理手順の一例を示すフローチャートである。なお、以下に示すフローチャートは、通信線3a,3bに接続されている一の中継装置2aの制御部20が、通信線3aに接続されているECU1から受信するデータを、通信線3bに接続されている各装置へ転送する際の処理を示す。通信線3bに接続されている装置のいずれかから送信されたデータを通信線3aに接続されているECU1,1,…へ送信する際の処理も同様である。また、他の中継装置2b,2c,…の制御部20による処理も同様である。
 制御部20は、通信部23が有する通信線3aに接続するポートによりデータの受信を開始したか否かを判断する(ステップS31)。制御部20は、データの受信を開始していないと判断した場合(S31:NO)、処理をステップS31へ戻し、接続している通信線3aをモニタしてデータの受信を開始するまで待機する。
 制御部20は、データの受信を開始したと判断した場合(S31:YES)、受信開始時点(Tm(k) )を計時部22により取得する(ステップS32)。制御部20は、データの受信を完了したか否かを判断し(ステップS33)、完了していないと判断した場合は(S33:NO)、処理をステップS33へ戻す。
 制御部20は、通信部23によりトレイラ情報を検知してデータの受信を完了したと判断した場合(S33:YES)、受信したデータに付加されている時間差(Td(k-1) )を示す時間差情報を抽出する(ステップS34)。
 そして制御部20は、受信したデータが、受信したポートとは異なるポートにより通信線3bに接続されているECU1,1,…及び中継装置3bへ転送すべきデータである場合、データの送信を通信部23により試み、送信開始に成功したか否かを判断する(ステップS35)。制御部20は、通信線3bに接続されている他のECU1,1,…又は中継装置2bが通信中であるか、又はデータの送信を開始したが調停に負けたことによって送信開始に失敗したと判断した場合(S35:NO)、処理をステップS35へ戻して送信を開始できるまで待機する。
 制御部20は、通信線3bに接続されている他のECU1,1,…及び中継装置2bが通信中でなく、データの送信を開始し、且つ調停に勝ったことによって送信開始に成功したと判断した場合(S35:YES)、送信開始時点(Ts(k) )を計時部22により取得する(ステップS36)。
 制御部20は、送信開始時点(Ts(k) )と受信開始時点(Tm(k) )との時間差に、受信した時間差情報が示す時間差(Td(k-1) )を加算した時間差(Td(k) =Td(k-1) +(Ts(k) -Tm(k) ))を算出し(ステップS37)、時間差(Td(k) )を示す時間差情報を送信中のデータに通信部23により付加し(ステップS38)、送信を完了させて処理を終了する。
 なお、通信部23がCANプロトコルに準じて通信処理を行ない、ステップS38において時間情報を付加する処理は、通信制御部13と同様に以下のように行なう構成とする。時間差情報はデータの具体的な数値情報に続く所定の長さのフィールドによって表わされ、制御部20は時間差情報を表わすフィールドには予め任意の数値情報を入れておく。通信部23は、送信を開始してから時間差情報を表わすフィールドを書き換えることが可能な構成とする。制御部20は通信部23により送信の開始に成功した時点で送信開始時点(Ts(k) )を取得して時間差(Td(k) )を算出してから、通信部23に時間差情報を書き換えるように指示する。
 図5は、実施の形態1におけるECU1,1,…及び中継装置2a,2b,…により送受信されたデータの生成時点が、いずれのECU1,1,…又は中継装置2a,2b,…でも正しく特定される過程を示す説明図である。図5では、下方に向けて時間が経過していることを示している。なお、図5の説明図は、通信線3aに接続されているECU1でデータが生成され、中継装置2a,2b,…によってデータが転送される場合を例に示している。
 通信線3aに接続されているECU1でデータが生成された際に、ECU1で取得された生成時点はTc(0) である。ECU1から生成されたデータは、ECU1におけるローカルタイムでTs(0) の時点で送信が開始され、この際に付加される時間差情報が示す時間差はTd(0) =Ts(0) -Tc(0) である。
 通信線3aに接続されているECU1と中継装置2aとはバス型に接続されており、CANプロトコルに準じてデータを送受信している。したがって、ECU1が自身におけるローカルタイムでTs(0) の時点でデータの送信の開始に成功している場合、中継装置2aは同時に、中継装置2a自身におけるローカルタイムでTm(1) の時点で受信を開始している。なお、中継装置2aの制御部20は、受信したデータに付加されている時間差情報が示す時間差Td(0) に基づき、自身のローカルタイムにおけるデータの生成時点をTc(1) =Tm(1) -Td(0) と特定することが可能である。
 中継装置2aは、ECU1から受信したデータを通信線3bに接続されているECU1,1,…及び中継装置2bへ転送する。その際、上述の図4のフローチャートに示したように中継装置2aの制御部20は、通信部23によって送信の開始に成功した送信開始時点Ts(1) を取得し、送信開始時点Ts(1) とデータの生成時点Tc(1) との時間差、即ち、受信したデータに付加されていた時間差Td(0) に、自身における受信開始時点Tm(1) と送信開始時点Ts(1) との間の時間差を加算した時間差Td(1) を示す時間差情報を付加して送信する。
 通信線3bに接続されているECU1,1,…は中継装置2aによって転送されたデータを受信した場合、付加されている時間差情報が示す時間差Td(1) と、自身がデータの受信を開始した時点Tm(2) とに基づき、ECU1自身のローカルタイムでのデータの生成時点Tc(2) を特定することができる。
 同様にして、k回中継(転送)されたデータを受信したECU1も、付加されている時間差情報が示す時間差Td(k-1) と、自身がデータの受信を開始した時点Tm(k) とに基づき、ECU1自身のローカルタイムでのデータの生成時点Tc(k) を特定することができる。何度中継されたデータであっても、受信されるデータに付加されている時間差情報が示す時間差は、所定の周波数で表わされたデータ生成時点と送信(受信)開始時点と間の時間差である。したがって、何度中継されたデータであっても、受信開始時点Tm(k) よりも時間差Td(k-1) 分遡った時点Tc(k) がデータ生成時点である。
 このように、ECU1,1,…の計時部12及び中継装置2a,2b,…の計時部22における計時が、所定の絶対時刻を基準に同期されていなくとも、各装置におけるローカルタイムで表わした生成時点を特定することが可能である。つまり、図5に示すようにTc(0) 、Tc(1) 及びTc(k) が夫々異なる数値によって表わされていたとしても、各装置で特定された生成時点Tc(0) 、Tc(1) 及びTc(k) は図5に示すように同時点に相当する。
 (実施の形態2)
 実施の形態1では、ECU1,1,…の制御部10及び中継装置2a,2b,…の制御部20は、送信の開始に成功した場合に送信開始時点を取得して送信中のデータに付加する構成とした。これに対し実施の形態2では、予め送信開始時点を決定しておき、データに付加する時間差情報を求めてから送信を試みる構成とする。
 実施の形態2における車載通信システムの構成は、ECU1,1,…の制御部10による処理の詳細及び中継装置2a,2b,…の制御部20による処理の詳細以外は、実施の形態1における構成と同様である。以下、実施の形態1と共通する構成については同一の符号を付して詳細な説明を省略し、相違点であるECU1,1,…の制御部10による処理の詳細及び中継装置2a,2b,…の制御部20による処理の詳細について、フローチャートを参照して説明する。
 図6は、実施の形態2におけるECU1,1,…の制御部10がデータを生成し、時間差情報と共に送信する通信処理手順の一例を示すフローチャートである。なお、以下に示すフローチャートは、通信線3aに接続されている一のECU1の制御部10による処理を示す。他のECU1,1,…の制御部10による処理も同様である。また、以下に示すフローチャートに示す処理手順の内、実施の形態1における図2のフローチャートに示した処理手順と共通する処理手順には同一のステップ番号を付し、詳細な説明を省略する。
 制御部10は、データ生成時点(Tc(0) )を計時部12により取得した後(S12)、送信を開始する予定時間、即ち送信開始時点(Ts(0) )を決定する(ステップS41)。そして制御部10は、予定として決定した送信開始時点(Ts(0) )とデータ生成時点(Tc(0) )との時間差(Td(0) =Ts(0) -Tc(0) )を算出する(ステップS42)。
 制御部10は、算出した時間差(Td(0) )を示す時間差情報を生成したデータに付加し(ステップS43)、計時部12による計時と比較して、ステップS41で決定した送信開始時点(Ts(0) )に到達したか否かを判断する(ステップS44)。制御部10は、送信開始時点(Ts(0) )に到達していないと判断した場合(S44:NO)、処理をステップS44へ戻す。
 制御部10は、送信開始時点(Ts(0) )に到達したと判断した場合(S44:YES)、S11で生成したデータの送信を通信制御部13により試み、送信開始に成功したか否かを判断する(ステップS45)。制御部10は、通信線3aに接続されている他のECU1,1,…又は中継装置2aが通信中であるか、又はデータの送信を開始したが調停に負けたことによって送信開始に失敗したと判断した場合(S45:NO)、処理をステップS41へ戻して次に送信を試みる送信開始時点(Ts(0) )を決定し直す。
 制御部10は、他のECU1,1,…及び中継装置2aが通信中でなく、データの送信を開始し、且つ調停に勝ったことによって送信開始に成功したと判断した場合(S45:YES)、送信を継続して送信を完了させ、処理を終了する。
 この場合にデータに付加される送信開始時点は予め決定した時点であるが、送信の開始に成功した場合には、実際の送信開始時点となる。実施の形態2においても、データを受信したECU1,1,…の制御部10又は中継装置2,2,…の制御部20による生成時点の特定は、実施の形態1の図3のフローチャートに示した処理によって行なわれる。したがって、図6のフローチャートに示した処理手順で時間差(Td(0) )を示す時間差情報に基づきデータの生成時点を特定する場合であっても、正しくデータの生成時点を特定することが可能である。
 図7は、実施の形態2における中継装置2a,2b,…の制御部20がデータを転送する際の通信処理手順の一例を示すフローチャートである。なお、以下に示すフローチャートは、通信線3a,3bに接続されている一の中継装置2aの制御部20が、通信線3aに接続されているECU1から受信するデータを、通信線3bに接続されている各装置へ転送する際の処理を示す。通信線3bに接続されている装置のいずれかから送信されたデータを通信線3aに接続されているECU1,1,…へ送信する際の処理も同様である。また、他の中継装置2b,2c,…の制御部20による処理も同様である。
 また、以下に示すフローチャートに示す処理手順の内、実施の形態1における図4のフローチャートに示した処理手順と共通する処理手順には同一のステップ番号を付し、詳細な説明を省略する。
 制御部20は、受信したデータから付加されている時間差(Td(k-1) )を示す時間差情報を抽出した後(S34)、受信したデータが、受信したポートとは異なるポートにより通信線3bに接続されているECU1,1,…及び中継装置3bへ転送すべきデータである場合は以下の処理を行なう。
 制御部20は、送信(転送)を開始する予定時間、即ち送信開始時点(Ts(k) )を決定する(ステップS51)。そして制御部10は、予定として決定した送信開始時点(Ts(k) )と受信開始時点(Tm(k) )との時間差に、受信した時間差情報が示す時間差(Td(k-1) )を加算した時間差(Td(k) =Td(k-1) +(Ts(k) -Tm(k) ))を算出する(ステップS52)。
 制御部20は、算出した時間差(Td(k) )を示す時間差情報を生成したデータに付加し(ステップS53)、計時部12による計時と比較して、ステップS51で決定した送信開始時点(Ts(k) )に到達したか否かを判断する(ステップS54)。制御部20は、送信開始時点(Ts(k) )に到達していないと判断した場合(S54:NO)、処理をステップS54へ戻す。
 制御部20は、送信開始時点(Ts(k) )に到達したと判断した場合(S54:YES)、データの送信を通信部23により試み、送信開始に成功したか否かを判断する(ステップS55)。制御部20は、通信線3bに接続されている他のECU1,1,…又は中継装置2bが通信中であるか、又はデータの送信を開始したが調停に負けたことによって送信開始に失敗したと判断した場合(S55:NO)、処理をステップS51へ戻して次に送信を試みる送信開始時点(Ts(k) )を決定し直す。
 制御部20は、他のECU1,1,…及び中継装置2bが通信中でなく、又はデータの送信を開始し、且つ調停に勝ったことによって送信開始に成功したと判断した場合(S55:YES)、送信を継続して送信を完了させ、処理を終了する。
 これにより、データに付加される送信開始時点は予め決定した時点であるが、送信(転送)の開始に成功した場合には、実際の送信開始時点となる。したがって、図7のフローチャートに示した処理手順で算出される時間差(Td(k) )を示す時間差情報に基づきデータの生成時点を特定する場合であっても、各装置で正しくデータの生成時点を特定することが可能である。
 実施の形態2では予め時間差情報も含めてデータを生成してから送信又は転送を試みる構成とした。これにより、通信制御部13及び通信部23は、送信中にデータの時間差情報を表わすフィールドを書き換える処理を行なわなくてもよい。
 なお、実施の形態1及び2では、ECU1,1,…の計時部12又は中継装置2a,2b,…の計時部22から取得された時間情報から得られる時間差を示す時間差情報を送受信する構成とした。しかしながら、データと共に送受信する時間差情報を例えばナノ秒単位で表わした時間差を示すように規定してもよい。この場合、ECU1,1,…の計時部12及び中継装置2a,2b,…の計時部22における計時が同じ周波数で計数していなくともよい。即ち、通信線3aに接続されているECU1における計時部12が600MHzで計時し、中継装置2aにおける計時部22が3GHzで計時する構成としても、時間差情報をナノ秒単位に直して送受信し、制御部10又は制御部20は、各計時部12,22から取得できる時間情報と同じ単位に変換可能である。
 また、実施の形態1及び2における通信線3a,3b,…はCANプロトコルに準じた通信線である構成とした。しかしながら、本発明は通信線3a,3b,…を介した通信をCANに準ずるとは限定しない。例えば、車載通信システムに含まれる通信装置に適用する場合であれば、LIN(Local Interconnect Network)、FlexRay(登録商標)等のプロトコルに基づきデータの送受信が可能な構成としてもよい。
 また、実施の形態1及び2では、ECU1,1,…及び中継装置2a,2b,…は通信線3a,3b,…に夫々バス型に接続する構成とした。これにより、通信線3a、3b,…を介した通信では、同時に複数の装置がデータを送信することができず、且つ一の装置がデータの送信を開始すると他の装置は通信線3a,3b,…をモニタすることによって同時に受信し、送信開始時点と受信開始時点との時間差が無視できた。しかしながら、本発明はこれに限らず、送信開始時点と受信開始時点との時間差がゼロでない接続形態とする構成であってもよい。特定すべきデータの生成時点に対して求められる精度への影響が少ない場合は問題とならない。
 なお、開示された実施の形態は、全ての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上述の説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。

Claims (7)

  1.  計時手段と、データの送受信を行なう通信手段と、該通信手段によるデータの送信の可否を判断する送信可否判断手段とを備える通信装置において、
     データが生成された生成時点、及び、前記送信可否判断手段により可の判断がされて前記データの送信を開始する送信開始時点の間の時間差を求める手段と、
     求めた時間差を示す時間差情報を前記データに付加する手段と、
     時間差情報が付加されたデータを前記通信手段により受信した場合、受信開始時点を前記計時手段による計時に基づき特定する手段と、
     前記時間差情報及び前記受信開始時点に基づき、データの生成時点を特定する特定手段と
     を備えることを特徴とする通信装置。
  2.  前記送信可否判断手段が送信可であると判断した場合、前記計時手段によりデータの送信開始時点を取得する手段と、
     取得した送信開始時点、及び前記データの生成時点の間の時間差を求める手段と
     を備え、
     求めた時間差を示す時間差情報を、送信を開始している前記データに付加するようにしてあること
     を特徴とする請求項1に記載の通信装置。
  3.  データを送信する送信開始時点を決定する決定手段と、
     決定した送信開始時点、及び前記生成時点の間の時間差を求める手段と、
     求めた時間差を示す時間差情報を前記データに付加する手段と、
     前記決定手段が決定した送信開始時点に到達したか否かを前記計時手段による計時に基づき判断する手段と、
     前記送信開始時点に到達したと判断した場合に、前記通信手段による前記データ及び該データに付加されている時間差情報の送信を試みる手段と
     を備え、
     前記送信可否判断手段が不可と判断した場合、前記決定手段により次に送信を開始する送信開始時点を再決定し、時間差を求め直して送信を再度試みるようにしてあること
     を特徴とする請求項1に記載の通信装置。
  4.  時間差情報が付加されたデータを前記通信手段により受信した場合、前記データを更に他の通信装置へ前記通信手段により転送する手段と、
     前記特定手段により特定したデータの生成時点、及びデータの転送開始時点の間の時間差を求める手段と、
     求めた時間差を示す時間差情報を、転送するデータに付加される時間差情報とする手段と
     を備えることを特徴とする請求項1乃至3のいずれかに記載の通信装置。
  5.  計時手段と、データの送受信を行なう通信手段と、該通信手段によるデータの送信の可否を判断する送信可否判断手段とを備える通信装置を複数含む通信システムにおいて、
     各通信装置は、
     データが生成された生成時点、及び、前記送信可否判断手段により可の判断がされて前記データの送信を開始する送信開始時点の間の時間差を求める手段と、
     求めた時間差を示す時間差情報を前記データに付加する手段と、
     時間差情報が付加されたデータを前記通信手段により受信した場合、受信開始時点を前記計時手段による計時に基づき特定する手段と、
     前記時間差情報及び前記受信開始時点に基づき、データの生成時点を特定する特定手段と
     を備えることを特徴とする通信システム。
  6.  計時手段と、データの送受信を行なう通信手段とを備える通信装置が、該通信手段によるデータの送信の可否を判断し、送信可と判断した場合に前記データを送信する方法において、
     前記通信装置は、
     送信可と判断した場合、データの送信を開始し、
     前記計時手段により前記データの送信開始時点を取得し、
     取得した送信開始時点、及び前記データが生成された生成時点の間の時間差を求め、
     求めた時間差を示す時間差情報を、送信を開始している前記データに付加して送信する
     ことを特徴とする通信方法。
  7.  計時手段と、データの送受信を行なう通信手段とを備える通信装置が、該通信手段によるデータの送信の可否を判断し、送信可と判断した場合に前記データを送信する方法において、
     前記通信装置は、
     データを送信する送信開始時点を決定し、
     決定した送信開始時点及び前記データが生成された生成時点の時間差を求め、
     求めた時間差を示す時間差情報を前記データに付加し、
     決定した送信開始時点に到達したか否かを判断し、
     送信開始時点に到達したと判断した場合、前記通信手段による前記データ及び該データに付加されている時点差情報の送信を試み、
     前記データの送信を不可と判断した場合、次に送信を開始する送信開始時点を再決定し、
     時間差を求め直して送信を再度試みる
     ことを特徴とする通信方法。
PCT/JP2009/003253 2008-07-10 2009-07-10 通信装置、通信システム及び通信方法 WO2010004768A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DE112009001527.1T DE112009001527B4 (de) 2008-07-10 2009-07-10 Kommunikationsvorrichtung, Kommunikationssystem und Kommunikationsverfahren
US12/990,732 US8626869B2 (en) 2008-07-10 2009-07-10 Communication apparatus, communication system, and communication method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2008180684A JP2010021804A (ja) 2008-07-10 2008-07-10 通信装置、通信システム及び通信方法
JP2008-180684 2008-07-10

Publications (1)

Publication Number Publication Date
WO2010004768A1 true WO2010004768A1 (ja) 2010-01-14

Family

ID=41506892

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/003253 WO2010004768A1 (ja) 2008-07-10 2009-07-10 通信装置、通信システム及び通信方法

Country Status (4)

Country Link
US (1) US8626869B2 (ja)
JP (1) JP2010021804A (ja)
DE (1) DE112009001527B4 (ja)
WO (1) WO2010004768A1 (ja)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6174479B2 (ja) * 2013-12-25 2017-08-02 一般財団法人電力中央研究所 センサ端末のカウンタの同期方法、同期装置及び同期プログラム

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003179584A (ja) * 2001-12-12 2003-06-27 Yaskawa Electric Corp ネットワークシステムの同期方法
JP2007101457A (ja) * 2005-10-07 2007-04-19 Mitsubishi Electric Corp 送信装置及び受信装置及び時刻通知方法及び時刻設定方法
WO2007105471A1 (ja) * 2006-03-07 2007-09-20 Nec Corporation 資源情報管理装置、システム、方法、及びプログラム

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4894823A (en) 1986-02-28 1990-01-16 American Telephone And Telegraph Company Time stamping for packet system nodes
JPH11261611A (ja) * 1998-03-12 1999-09-24 Mitsubishi Electric Corp 送信用バスインタフェース装置
US7046638B1 (en) * 2000-10-12 2006-05-16 Robert Bosch Gmbh Wireless access to closed embedded networks
CN1906909B (zh) * 2004-01-07 2010-06-02 松下电器产业株式会社 数据接收装置
JP4311210B2 (ja) 2004-01-19 2009-08-12 株式会社デンソー 車両リアルタイム制御システム、送信ecuおよび受信ecu
JP2007295081A (ja) 2006-04-21 2007-11-08 Auto Network Gijutsu Kenkyusho:Kk 電子制御ユニットおよびフレーム優先度設定方法
US9442158B2 (en) * 2007-06-13 2016-09-13 Keysight Technologies, Inc. Method and a system for determining between devices a reference time for execution of a task thereon
US8854924B2 (en) * 2007-10-29 2014-10-07 Agilent Technologies, Inc. Method, a device and a system for executing an action at a predetermined time

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003179584A (ja) * 2001-12-12 2003-06-27 Yaskawa Electric Corp ネットワークシステムの同期方法
JP2007101457A (ja) * 2005-10-07 2007-04-19 Mitsubishi Electric Corp 送信装置及び受信装置及び時刻通知方法及び時刻設定方法
WO2007105471A1 (ja) * 2006-03-07 2007-09-20 Nec Corporation 資源情報管理装置、システム、方法、及びプログラム

Also Published As

Publication number Publication date
US8626869B2 (en) 2014-01-07
DE112009001527T9 (de) 2012-06-21
JP2010021804A (ja) 2010-01-28
DE112009001527T5 (de) 2011-04-14
DE112009001527B4 (de) 2022-05-25
US20110047244A1 (en) 2011-02-24

Similar Documents

Publication Publication Date Title
US7171579B2 (en) Method and device for exchanging data between at least two stations connected via a bus system
JP5664799B2 (ja) 通信システム及び通信方法
JP4824662B2 (ja) 多数のバスのサイクルタイムを同期させる方法と装置及び対応するバスシステム
US10491530B2 (en) Communication system and communication device
CN102150396A (zh) 数据通信网络系统
JP2007060400A (ja) 通信タイミング制御方法および通信タイミング制御システム
US20090292434A1 (en) Method for Synchronising Components of a Motor Vehicle Brake System and Electronic Brake Control System
JP7006335B2 (ja) 車載通信システム、車載通信方法、およびプログラム
JP5110998B2 (ja) 分配装置、通信システム及び通信方法
JP5190901B2 (ja) 通信装置、通信システム及び通信方法
US7096295B2 (en) Method and device for generating program interruptions in users of a bus system, and bus system
WO2010004768A1 (ja) 通信装置、通信システム及び通信方法
JP2007184833A (ja) 車両用通信制御ユニットおよび車両用通信制御システム
CN115362642A (zh) 用于在通信总线系统的单元之间执行时间同步的方法和系统
JP5007904B2 (ja) 通信システム及び通信方法
US7730240B2 (en) Method for controlling the access times to a system bus and communication module
JP5009715B2 (ja) 車載通信システム及び分配装置
CN112583678B (zh) 接收方装置、发送方装置以及用于时钟同步的方法
JP4732926B2 (ja) 電子制御ユニット
US7802150B2 (en) Ensuring maximum reaction times in complex or distributed safe and/or nonsafe systems
KR100597436B1 (ko) 무선 1394 시스템의 사이클 타임 동기화 장치 및 그 방법
US12003613B2 (en) Method for synchronizing time in an ethernet-based network
JP5030614B2 (ja) 車載通信システム及び車載通信方法
US20220271913A1 (en) Method for synchronizing time in an ethernet-based network
JP2010124333A (ja) 中継装置、通信システム及び中継方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09794215

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 12990732

Country of ref document: US

RET De translation (de og part 6b)

Ref document number: 112009001527

Country of ref document: DE

Date of ref document: 20110414

Kind code of ref document: P

122 Ep: pct application non-entry in european phase

Ref document number: 09794215

Country of ref document: EP

Kind code of ref document: A1