JP2023110410A - Communication system, communication method, and program - Google Patents

Communication system, communication method, and program Download PDF

Info

Publication number
JP2023110410A
JP2023110410A JP2022011831A JP2022011831A JP2023110410A JP 2023110410 A JP2023110410 A JP 2023110410A JP 2022011831 A JP2022011831 A JP 2022011831A JP 2022011831 A JP2022011831 A JP 2022011831A JP 2023110410 A JP2023110410 A JP 2023110410A
Authority
JP
Japan
Prior art keywords
transmitter
time
reference signal
receiver
time information
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2022011831A
Other languages
Japanese (ja)
Inventor
一海 近藤
Kazumi Kondo
公二 竹内
Koji Takeuchi
明典 望月
Akinori Mochizuki
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries Ltd
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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP2022011831A priority Critical patent/JP2023110410A/en
Publication of JP2023110410A publication Critical patent/JP2023110410A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

To calculate delay time with high accuracy.SOLUTION: A transmitter of a communication system includes: a transmission unit which outputs a clock signal with a predetermined period; a reference signal receiving unit which receives a reference signal which is a basis for time, from a reference signal transmitter; a first time information generation unit which generates, based on the clock signal and the reference signal, first time information indicating a time in the transmitter; and a communication control unit which transmits a packet including the first time information. The receiver includes: a transmission unit which outputs a clock signal with a predetermined period; a reference signal receiving unit which receives the reference signal from the reference signal transmitter; a second time information generation unit which generates, based on the clock signal and the reference signal, second time information indicating a time in the transmitter; a communication control unit which receives the packet from the transmitter; and a delay time calculation unit which calculates delay time on the basis of the first time information included in the packet and the second time information.SELECTED DRAWING: Figure 5

Description

本開示は、通信システム、通信方法及びプログラムに関する。 The present disclosure relates to communication systems, communication methods, and programs.

複数の機器同士でデータを送受信する通信システムが知られている。このような通信システムでデータを送受信する際には、データの送信時に遅延が生じる場合がある。例えば特許文献1には、親局と子局とを有線で接続して、有線通信により子局から親局に時刻情報(疑似雑音符号)を送信して、親局が、時刻に関する情報に基づいて遅延時間を求める旨が記載されている。 A communication system is known in which data is transmitted and received between a plurality of devices. When transmitting and receiving data in such a communication system, a delay may occur during data transmission. For example, in Patent Document 1, a master station and a slave station are connected by wire, time information (pseudo-noise code) is transmitted from the slave station to the master station by wired communication, and the master station transmits the information based on the time information. It is described that the delay time is obtained by

特許第3107994号公報Japanese Patent No. 3107994

しかし、特許文献1のように子局から親局に時刻情報を送信する際にも遅延が生じるため、遅延時間を高精度に算出できないおそれがある。また、親局と子局とを有線接続しているため、例えば3台以上の機器間で情報通信して遅延時間を算出することができない可能性もある。 However, since a delay also occurs when time information is transmitted from a slave station to a master station as in Patent Document 1, there is a possibility that the delay time cannot be calculated with high accuracy. In addition, since the master station and slave stations are connected by wire, it may not be possible to calculate the delay time by communicating information between, for example, three or more devices.

本開示は、上述した課題を解決するものであり、遅延時間を高精度に算出可能な通信システム、通信方法及びプログラムを提供することを目的とする。 An object of the present disclosure is to solve the problems described above, and to provide a communication system, a communication method, and a program capable of calculating a delay time with high accuracy.

本開示に係る通信システムは、送信機と、前記送信機からパケットを受信する受信機とを有する通信システムであって、前記送信機は、所定周期のクロック信号を出力する発信部と、時刻の基準となる基準信号を基準信号送信機から受信する基準信号受信部と、前記クロック信号及び前記基準信号に基づき、前記送信機における時刻を示す第1時刻情報を生成する第1時刻情報生成部と、前記第1時刻情報を含むパケットを前記受信機に送信する通信制御部と、を含み、前記受信機は、所定周期のクロック信号を出力する発信部と、前記基準信号送信機から前記基準信号を受信する基準信号受信部と、前記クロック信号及び前記基準信号に基づき、前記受信機における時刻を示す第2時刻情報を生成する第2時刻情報生成部と、前記送信機から前記パケットを受信する通信制御部と、前記パケットに含まれる前記第1時刻情報と、前記第2時刻情報とに基づき、遅延時間を算出する遅延時間算出部と、を含む。 A communication system according to the present disclosure is a communication system having a transmitter and a receiver that receives packets from the transmitter, wherein the transmitter includes a transmission unit that outputs a clock signal with a predetermined period, and a time a reference signal receiver that receives a reference signal serving as a reference from a reference signal transmitter; and a first time information generator that generates first time information indicating time in the transmitter based on the clock signal and the reference signal. , a communication control unit configured to transmit a packet including the first time information to the receiver, the receiver including a transmission unit configured to output a clock signal having a predetermined period; a second time information generating unit that generates second time information indicating the time in the receiver based on the clock signal and the reference signal; and receives the packet from the transmitter a communication control unit; and a delay time calculation unit that calculates a delay time based on the first time information and the second time information included in the packet.

本開示に係る通信方法は、送信機と、前記送信機からパケットを受信する受信機とを用いた通信方法であって、前記送信機に、所定周期のクロック信号を出力させるステップと、前記送信機に、基準信号送信機から時刻の基準となる基準信号を受信させるステップと、前記クロック信号及び前記基準信号に基づき、前記送信機における時刻を示す第1時刻情報を生成するステップと、前記第1時刻情報を含むパケットを前記受信機に送信するステップと、前記受信機に、所定周期のクロック信号を出力させるステップと、前記受信機に、前記基準信号送信機からの前記基準信号を受信させるステップと、前記クロック信号及び前記基準信号に基づき、前記受信機における時刻を示す第2時刻情報を生成するステップと、前記受信機に、前記送信機から前記パケットを受信させるステップと、前記パケットに含まれる前記第1時刻情報と、前記第2時刻情報とに基づき、遅延時間を算出するステップと、を含む。 A communication method according to the present disclosure is a communication method using a transmitter and a receiver that receives packets from the transmitter, comprising: causing the transmitter to output a clock signal with a predetermined cycle; receiving a reference signal from a reference signal transmitter as a reference for time; generating first time information indicating the time in the transmitter based on the clock signal and the reference signal; transmitting a packet containing time information to the receiver; causing the receiver to output a clock signal having a predetermined period; and causing the receiver to receive the reference signal from the reference signal transmitter. generating second time information indicating the time in the receiver based on the clock signal and the reference signal; causing the receiver to receive the packet from the transmitter; and calculating a delay time based on the included first time information and the second time information.

本開示に係るプログラムは、送信機と、前記送信機からパケットを受信する受信機とを用いた通信方法をコンピュータに実行させるプログラムであって、前記送信機に、所定周期のクロック信号を出力させるステップと、前記送信機に、基準信号送信機から時刻の基準となる基準信号を受信させるステップと、前記クロック信号及び前記基準信号に基づき、前記送信機における時刻を示す第1時刻情報を生成するステップと、前記第1時刻情報を含むパケットを前記受信機に送信するステップと、前記受信機に、所定周期のクロック信号を発信させるステップと、前記受信機に、前記基準信号送信機からの前記基準信号を受信させるステップと、前記クロック信号及び前記基準信号に基づき、前記受信機における時刻を示す第2時刻情報を生成するステップと、前記受信機に、前記送信機から前記パケットを受信させるステップと、前記パケットに含まれる前記第1時刻情報と、前記第2時刻情報とに基づき、遅延時間を算出するステップと、を、コンピュータに実行させる。 A program according to the present disclosure is a program that causes a computer to execute a communication method using a transmitter and a receiver that receives packets from the transmitter, and causes the transmitter to output a clock signal with a predetermined cycle. causing the transmitter to receive a reference signal serving as a time reference from a reference signal transmitter; and generating first time information indicating time in the transmitter based on the clock signal and the reference signal. transmitting a packet containing the first time information to the receiver; causing the receiver to transmit a clock signal with a predetermined period; receiving a reference signal; generating second time information indicating time in the receiver based on the clock signal and the reference signal; and causing the receiver to receive the packet from the transmitter. and calculating a delay time based on the first time information and the second time information included in the packet.

本開示によれば、遅延時間を高精度に算出することができる。 According to the present disclosure, the delay time can be calculated with high accuracy.

図1は、第1実施形態に係る通信システムの模式的なブロック図である。FIG. 1 is a schematic block diagram of a communication system according to the first embodiment. 図2は、送信機の模式的なブロック図である。FIG. 2 is a schematic block diagram of a transmitter. 図3は、各信号の時間波形の一例を示す図である。FIG. 3 is a diagram showing an example of a time waveform of each signal. 図4は、受信機の模式的なブロック図である。FIG. 4 is a schematic block diagram of a receiver. 図5は、第1実施形態に係る送信機及び受信機の処理フローを説明するフローチャートである。FIG. 5 is a flow chart explaining the processing flow of the transmitter and receiver according to the first embodiment. 図6は、第2実施形態に係る受信機の模式的なブロック図である。FIG. 6 is a schematic block diagram of a receiver according to the second embodiment. 図7は、平均遅延時間の一例を示すグラフである。FIG. 7 is a graph showing an example of average delay times. 図8は、平均遅延時間の一例を示すグラフである。FIG. 8 is a graph showing an example of average delay times. 図9は、第2実施形態に係る処理フローを説明するフローチャートである。FIG. 9 is a flowchart for explaining the processing flow according to the second embodiment.

以下に添付図面を参照して、本開示の好適な実施形態を詳細に説明する。なお、この実施形態により本開示が限定されるものではなく、また、実施形態が複数ある場合には、各実施形態を組み合わせて構成するものも含むものである。 Preferred embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be noted that the present disclosure is not limited by this embodiment, and when there are a plurality of embodiments, the present disclosure also includes a combination of each embodiment.

(第1実施形態)
(通信システム)
図1は、第1実施形態に係る通信システムの模式的なブロック図である。図1に示すように、第1実施形態に係る通信システム100は、送信機10Aと受信機10Bとを有する。送信機10Aは、受信機10Bに対して、パケット通信方式でデータを送信し、受信機10Bは、送信機10Aからデータを受信する。以下、送信機10Aから受信機10Bに送信されるデータを、パケットPと記載する。本実施形態では、送信機10Aと受信機10Bとは、無線通信によりパケットPの送受信を行うが、通信方式は任意であってよく、例えば有線通信するものであってもよい。図1の例では、通信システム100は、送信機10Aと受信機10Bとを1つずつ有しているが、送信機10Aと受信機10Bとの数は任意であってよい。例えば、通信システム100は、複数の受信機10Bを有しており、送信機10Aから複数の受信機10BのそれぞれにパケットPを送信するものであってよい。また例えば、通信システム100は、複数の送信機10Aを有しており、複数の送信機10Aから受信機10BにパケットPを送信するものであってよい。
(First embodiment)
(Communications system)
FIG. 1 is a schematic block diagram of a communication system according to the first embodiment. As shown in FIG. 1, a communication system 100 according to the first embodiment has a transmitter 10A and a receiver 10B. The transmitter 10A transmits data to the receiver 10B using the packet communication method, and the receiver 10B receives data from the transmitter 10A. Data transmitted from the transmitter 10A to the receiver 10B will be referred to as a packet P hereinafter. In this embodiment, the transmitter 10A and the receiver 10B transmit and receive packets P by wireless communication, but any communication method may be used, for example, wired communication may be used. In the example of FIG. 1, the communication system 100 has one transmitter 10A and one receiver 10B, but the number of transmitters 10A and receivers 10B may be arbitrary. For example, the communication system 100 may have a plurality of receivers 10B, and transmit packets P from the transmitter 10A to each of the plurality of receivers 10B. Further, for example, the communication system 100 may include a plurality of transmitters 10A, and transmit packets P from the plurality of transmitters 10A to the receiver 10B.

送信機10A及び受信機10Bは、共通する機器である基準信号送信機Rから、時刻の基準となる基準信号SRを受信する。基準信号SRは、時刻の基準となる任意の信号であってよいが、本実施形態では、基準信号送信機Rによって生成される、所定周期のパルス状の信号である。送信機10A及び受信機10Bは、無線通信により、基準信号送信機Rから基準信号SRを受信する。ただし通信方式は任意であってよく、例えば送信機10A及び受信機10Bは、基準信号送信機Rと有線接続されており、有線通信により基準信号SRを受信してもよい。 The transmitter 10A and the receiver 10B receive a reference signal SR as a time reference from a reference signal transmitter R, which is a common device. The reference signal SR may be any signal that serves as a reference for time, but in this embodiment, it is a pulse-like signal with a predetermined cycle generated by the reference signal transmitter R. FIG. The transmitter 10A and the receiver 10B receive the reference signal SR from the reference signal transmitter R by wireless communication. However, any communication method may be used. For example, the transmitter 10A and the receiver 10B may be wired to the reference signal transmitter R and receive the reference signal SR through wired communication.

基準信号送信機Rは、基準信号SRを生成して送信する任意の機器であってよいが、本実施形態の例では、人工衛星であってよい。すなわち、本実施形態では、送信機10A及び受信機10Bは、GSNN(Grobal Navigation Satellite System)用の人工衛星から、基準信号SRを受信する。 The reference signal transmitter R may be any device that generates and transmits the reference signal SR, but in the example of this embodiment may be a satellite. That is, in this embodiment, the transmitter 10A and the receiver 10B receive the reference signal SR from the artificial satellite for GSNN (Global Navigation Satellite System).

(送信機)
図2は、送信機の模式的なブロック図である。図3は、各信号の時間波形の一例を示す図である。図2に示すように、送信機10Aは、発信部20Aと、基準信号受信部22Aと、分周部24Aと、通信部26Aと、記憶部28Aと、制御部30Aとを有する。
(Transmitter)
FIG. 2 is a schematic block diagram of a transmitter. FIG. 3 is a diagram showing an example of a time waveform of each signal. As shown in FIG. 2, the transmitter 10A has a transmitter 20A, a reference signal receiver 22A, a frequency divider 24A, a communication section 26A, a storage section 28A, and a controller 30A.

(発信部)
発信部20Aは、所定周期のクロック信号SCAを出力する。図3に示すように、クロック信号SCAは、所定周期のパルス状の信号である。本実施形態においては、発信部20Aは、一定周期のクロック信号SCAを出力する発振素子であり、例えば水晶振動子やセラミック発振子である。ただし、発信部20Aは、クロック信号SCAを出力する任意の素子であってよい。クロック信号SCAの周波数は、例えば12.8MHzであるが、クロック信号SCAの周波数や周期は任意であってよい。
(Transmitter)
20 A of transmission parts output the clock signal SCA of a predetermined period. As shown in FIG. 3, the clock signal SCA is a pulse signal with a predetermined cycle. In this embodiment, the transmission unit 20A is an oscillation element that outputs a clock signal SCA with a constant period, such as a crystal oscillator or a ceramic oscillator. However, the transmitter 20A may be any element that outputs the clock signal SCA. The frequency of the clock signal SCA is, for example, 12.8 MHz, but the frequency and period of the clock signal SCA may be arbitrary.

(基準信号受信部)
基準信号受信部22Aは、基準信号送信機Rから、基準信号SRを受信する。基準信号受信部22Aは、基準信号送信機Rから基準信号SRを受信可能なモジュールであり、例えば本実施形態では、GSNN受信機である。基準信号SRは、上述のように、所定周期のパルス状の信号である。基準信号SRの周期は任意であってよいが、本実施形態では、クロック信号SCAの周期より長い。
(reference signal receiver)
The reference signal receiver 22A receives the reference signal SR from the reference signal transmitter R. The reference signal receiver 22A is a module capable of receiving the reference signal SR from the reference signal transmitter R, and is, for example, a GSNN receiver in this embodiment. The reference signal SR is a pulse-like signal with a predetermined cycle, as described above. The period of the reference signal SR may be arbitrary, but in this embodiment it is longer than the period of the clock signal SCA.

(分周部)
分周部24Aには、基準信号受信部22Aが受信した基準信号SRと、発信部20Aから出力されたクロック信号SCAとが入力される。分周部24Aは、基準信号受信部22Aが受信した基準信号SRに基づいて、発信部20Aから出力されたクロック信号SCAを分周することで、所定周期の第1時刻信号STAを生成する。すなわち、分周部24Aは、基準信号SRに基づいてクロック信号SCAの周期(周波数)を変換して、第1時刻信号STAとする。分周部24Aは、クロック信号SCAを分周する分周器である。第1時刻信号STAは、所定周期のパルス状の信号である。第1時刻信号STAの周期は任意であってよいが、本実施形態では、クロック信号SCAの周期より長く、基準信号SRの周期より短い。
(divider)
The frequency divider 24A receives the reference signal SR received by the reference signal receiver 22A and the clock signal SCA output from the transmitter 20A. Based on the reference signal SR received by the reference signal receiving section 22A, the frequency dividing section 24A divides the frequency of the clock signal SCA output from the transmitting section 20A to generate the first time signal STA of a predetermined cycle. That is, the frequency dividing section 24A converts the cycle (frequency) of the clock signal SCA based on the reference signal SR to obtain the first time signal STA. The frequency divider 24A is a frequency divider that divides the frequency of the clock signal SCA. The first time signal STA is a pulse signal with a predetermined cycle. The period of the first time signal STA may be arbitrary, but in this embodiment, it is longer than the period of the clock signal SCA and shorter than the period of the reference signal SR.

図3に示すように、本実施形態では、分周部24Aは、基準信号SRに基づいて、クロック信号SCAを積算したカウントアップ信号SUを生成する。分周部24Aは、基準信号SRのパルスを受信したタイミングに対応するタイミング(図3の例では基準信号SRのパルスを受信したタイミングと同じタイミング)で、クロック信号SCAの積算を開始して、クロック信号SCAを積算したカウントアップ信号SUを生成する。すなわち、分周部24Aは、基準信号SRのパルスを受信したら、クロック信号SCAのパルスを受信する毎に、カウントアップ信号SUの信号強度を上昇させる。そして、分周部24Aは、カウントアップ信号SUの信号強度が閾値以上となったら、すなわちクロック信号SCAのパルスを所定数積算したら、カウントアップ信号SUの信号強度をリセットして、再度クロック信号SCAの積算を再開する。分周部24Aは、クロック信号SCAに基づいて、第1時刻信号STAを生成する。より詳しくは、分周部24Aは、クロック信号SCAの積算が開始されたタイミングから、カウントアップ信号SUがリセットされるまでのタイミングまでの期間に対応する周期の第1時刻信号STAを生成する。本実施形態の例では、分周部24Aは、クロック信号SCAの積算が開始されたタイミングからカウントアップ信号SUがリセットされるまでのタイミングまでを1/2周期とするように、第1時刻信号STAを生成する。 As shown in FIG. 3, in this embodiment, the frequency divider 24A generates the count-up signal SU by integrating the clock signal SCA based on the reference signal SR. The frequency dividing unit 24A starts accumulating the clock signal SCA at a timing corresponding to the timing at which the pulse of the reference signal SR is received (the same timing as the timing at which the pulse of the reference signal SR is received in the example of FIG. 3), A count-up signal SU is generated by integrating the clock signal SCA. That is, when the frequency divider 24A receives the pulse of the reference signal SR, it increases the signal strength of the count-up signal SU every time it receives the pulse of the clock signal SCA. Then, when the signal strength of the count-up signal SU becomes equal to or greater than the threshold value, that is, when a predetermined number of pulses of the clock signal SCA are accumulated, the frequency dividing section 24A resets the signal strength of the count-up signal SU and resets the clock signal SCA again. restarts integration. The frequency divider 24A generates the first time signal STA based on the clock signal SCA. More specifically, the frequency divider 24A generates the first time signal STA having a period corresponding to the period from the timing when the clock signal SCA starts to be accumulated until the count-up signal SU is reset. In the example of the present embodiment, the frequency dividing unit 24A divides the first time signal so that the period from the timing when the integration of the clock signal SCA is started to the timing when the count-up signal SU is reset is 1/2 cycle. Generate STA.

なお、分周部24Aは、基準信号SRの次のパルスが受信されたら、カウントアップ信号SUの信号強度をリセットしてから、クロック信号SCAの積算を再開する。すなわち、分周部24Aは、基準信号SRの次のパルスを受信したら、現在のカウントアップ信号SUの信号強度が閾値未満であっても、カウントアップ信号SUの信号強度を強制的にリセットして、クロック信号SCAの積算を再開する。これにより、基準信号SRを受信する毎に、第1時刻信号STAの周期を調整することができる。 When the next pulse of the reference signal SR is received, the frequency divider 24A resets the signal strength of the count-up signal SU and then restarts the integration of the clock signal SCA. That is, when the next pulse of the reference signal SR is received, the frequency divider 24A forcibly resets the signal strength of the count-up signal SU even if the current signal strength of the count-up signal SU is less than the threshold. , resumes the accumulation of the clock signal SCA. Thereby, the period of the first time signal STA can be adjusted each time the reference signal SR is received.

(通信部)
通信部26Aは、受信機10Bとデータの送受信を行うための通信モジュールであり、例えばアンテナやWiFi(登録商標)モジュールであってよい。なお、通信部26Aと基準信号受信部22Aとは、本実施形態の例では別々のハードウェアであるが、通信部26Aと基準信号受信部22Aとが1つのハードウェアであってもよい。
(communication department)
The communication unit 26A is a communication module for transmitting and receiving data to and from the receiver 10B, and may be an antenna or a WiFi (registered trademark) module, for example. Note that the communication unit 26A and the reference signal reception unit 22A are separate pieces of hardware in the example of this embodiment, but the communication unit 26A and the reference signal reception unit 22A may be one piece of hardware.

(記憶部)
記憶部28Aは、制御部30Aの演算内容やプログラムの情報などを記憶するメモリであり、例えば、RAM(Random Access Memory)と、ROM(Read Only Memory)と、HDD(Hard Disk Drive)などの外部記憶装置とのうち、少なくとも1つを含む。記憶部28Aが記憶する制御部30A用のプログラムは、送信機10Aが読み取り可能な記録媒体に記憶されていてもよい。
(storage unit)
The storage unit 28A is a memory that stores information such as the calculation content of the control unit 30A and program information. and at least one of a storage device. The program for the control unit 30A stored in the storage unit 28A may be stored in a recording medium readable by the transmitter 10A.

(制御部)
制御部30Aは、演算装置であり、例えばCPU(Central Processing Unit)などの演算回路を含む。制御部30Aは、第1時刻情報生成部32Aと通信制御部34Aとを含む。制御部30Aは、記憶部28Aからプログラム(ソフトウェア)を読み出して実行することで、第1時刻情報生成部32Aと通信制御部34Aとを実現して、それらの処理を実行する。なお、制御部30Aは、1つのCPUによってこれらの処理を実行してもよいし、複数のCPUを備えて、それらの複数のCPUで、処理を実行してもよい。また、第1時刻情報生成部32Aと通信制御部34Aとの処理の少なくとも一部を、ハードウェア回路で実現してもよい。また、制御部30Aは、発信部20A、基準信号受信部22A、及び分周部24Aなどの送信機10Aに含まれる機器を制御する機器制御部を含んでいてもよい。
(control part)
The control unit 30A is an arithmetic device and includes an arithmetic circuit such as a CPU (Central Processing Unit). The controller 30A includes a first time information generator 32A and a communication controller 34A. The control unit 30A reads out and executes a program (software) from the storage unit 28A to realize a first time information generation unit 32A and a communication control unit 34A, and executes these processes. Note that the control unit 30A may execute these processes by one CPU, or may be provided with a plurality of CPUs and may execute the processes by the plurality of CPUs. Also, at least part of the processing of the first time information generating section 32A and the communication control section 34A may be realized by hardware circuits. Also, the control section 30A may include a device control section that controls devices included in the transmitter 10A, such as the transmission section 20A, the reference signal reception section 22A, and the frequency division section 24A.

(第1時刻情報生成部)
第1時刻情報生成部32Aは、クロック信号SCA及び基準信号SRに基づき、送信機10Aにおける時刻を示す第1時刻情報を生成する。すなわち、第1時刻情報は、送信機10Aの内部時刻を示す。具体的には、第1時刻情報生成部32Aは、クロック信号SCA及び基準信号SRに基づいて分周部24Aにより生成された第1時間信号STAに基づき、第1時刻情報を生成する。第1時間信号STAは所定周期となるように生成された信号であるため、第1時刻情報生成部32Aは、第1時間信号STAに基づいて、すなわち例えば第1時間信号STAのパルスをカウントすることで、第1時刻情報を生成できる。第1時刻情報生成部32Aは、第1時間信号STAのパルスを逐次カウントすることで、第1時刻情報を逐次更新する。
(First time information generator)
32 A of 1st time information production|generation parts produce|generate the 1st time information which shows the time in 10 A of transmitters based on the clock signal SCA and the reference signal SR. That is, the first time information indicates the internal time of the transmitter 10A. Specifically, the first time information generator 32A generates first time information based on the first time signal STA generated by the frequency divider 24A based on the clock signal SCA and the reference signal SR. Since the first time signal STA is a signal generated to have a predetermined period, the first time information generator 32A counts pulses of the first time signal STA, for example, based on the first time signal STA. Thus, the first time information can be generated. The first time information generator 32A sequentially updates the first time information by sequentially counting the pulses of the first time signal STA.

(通信制御部)
通信制御部34Aは、通信部26Aを介して、第1時刻情報生成部32Aによって生成された第1時刻情報を含むパケットPを、受信機10Bに送信する。すなわち、通信制御部34Aは、パケットPに第1時刻情報を含ませて、第1時刻情報を含むパケットPを、受信機10Bに送信する。通信制御部34Aは、パケットPを送信する際の時刻を示す第1時刻情報を、すなわち最新の時刻を示す第1時刻情報を、パケットPに含ませて、受信機10Bに送信する。なお、パケットPは、第1時刻情報を含む任意の情報であってよく、例えば後述の第2実施形態に示すように、受信機10Bに所定の処理(アプリケーション)を実行させるためのアプリケーション情報を含むものであってよい。この場合、受信機10Bは、パケットPに含まれるアプリケーション情報を用いて、所定の処理を実行する。
(Communication control unit)
34 A of communication control parts transmit the packet P containing the 1st time information produced|generated by 32 A of 1st time information production|generation parts to the receiver 10B via 26 A of communication parts. That is, the communication control unit 34A includes the first time information in the packet P and transmits the packet P including the first time information to the receiver 10B. The communication control unit 34A includes the first time information indicating the time when the packet P is transmitted, that is, the first time information indicating the latest time, in the packet P and transmits the packet P to the receiver 10B. Note that the packet P may be arbitrary information including the first time information. may contain. In this case, the receiver 10B uses the application information included in the packet P to perform predetermined processing.

(受信機)
図4は、受信機の模式的なブロック図である。図4に示すように、受信機10Bは、発信部20Bと、基準信号受信部22Bと、分周部24Bと、通信部26Bと、記憶部28Bと、制御部30Bとを有する。
(Receiving machine)
FIG. 4 is a schematic block diagram of a receiver. As shown in FIG. 4, the receiver 10B has a transmission section 20B, a reference signal reception section 22B, a frequency division section 24B, a communication section 26B, a storage section 28B, and a control section 30B.

(発信部)
発信部20Bは、所定周期のクロック信号SCBを出力する。図3に示すように、クロック信号SCBは、所定周期のパルス状の信号である。本実施形態においては、発信部20Bは、一定周期のクロック信号SCBを出力する発振素子であり、例えば水晶振動子やセラミック発振子である。ただし、発信部20Bは、クロック信号SCBを出力する任意の素子であってよい。クロック信号SCBの周波数は、例えば12.8MHzであるが、クロック信号SCBの周波数や周期は任意であってよい。
(Transmitter)
The transmitter 20B outputs a clock signal SCB with a predetermined cycle. As shown in FIG. 3, the clock signal SCB is a pulse signal with a predetermined cycle. In this embodiment, the transmission unit 20B is an oscillation element that outputs a clock signal SCB with a constant period, such as a crystal oscillator or a ceramic oscillator. However, the transmitter 20B may be any element that outputs the clock signal SCB. The frequency of the clock signal SCB is, for example, 12.8 MHz, but the frequency and period of the clock signal SCB may be arbitrary.

(基準信号受信部)
基準信号受信部22Bは、基準信号送信機Rから、基準信号SRを受信する。基準信号受信部22Bは、基準信号送信機Rから基準信号SRを受信可能なモジュールであり、例えば本実施形態では、GSNN受信機である。基準信号SRの周期は任意であってよいが、本実施形態では、クロック信号SCBの周期より長い。
(reference signal receiver)
The reference signal receiver 22B receives the reference signal SR from the reference signal transmitter R. The reference signal receiver 22B is a module capable of receiving the reference signal SR from the reference signal transmitter R, and is, for example, a GSNN receiver in this embodiment. The period of the reference signal SR may be arbitrary, but in this embodiment it is longer than the period of the clock signal SCB.

(分周部)
分周部24Bには、基準信号受信部22Bが受信した基準信号SRと、発信部20Bから出力されたクロック信号SCBとが入力される。分周部24Bは、基準信号受信部22Bが受信した基準信号SRに基づいて、発信部20Bから出力されたクロック信号SCBを分周することで、所定周期の第2時刻信号STBを生成する。分周部24Bは、クロック信号SCBを分周する分周器である。第2時刻信号STBは、所定周期のパルス状の信号である。第2時刻信号STBの周期は任意であってよいが、本実施形態では、クロック信号SCBの周期より長く、基準信号SRの周期より短い。
(divider)
The frequency divider 24B receives the reference signal SR received by the reference signal receiver 22B and the clock signal SCB output from the transmitter 20B. Based on the reference signal SR received by the reference signal receiving section 22B, the frequency dividing section 24B divides the frequency of the clock signal SCB output from the transmitting section 20B to generate a second time signal STB having a predetermined cycle. The frequency divider 24B is a frequency divider that divides the frequency of the clock signal SCB. The second time signal STB is a pulse signal with a predetermined cycle. The period of the second time signal STB may be arbitrary, but in this embodiment, it is longer than the period of the clock signal SCB and shorter than the period of the reference signal SR.

図3に示すように、本実施形態では、分周部24Bは、基準信号SRに基づいて、クロック信号SCBを積算したカウントアップ信号SUを生成する。分周部24Bは、基準信号SRのパルスを受信したタイミングに対応するタイミング(図3の例では基準信号SRのパルスを受信したタイミングと同じタイミング)で、クロック信号SCBの積算を開始して、クロック信号SCBを積算したカウントアップ信号SUを生成する。すなわち、分周部24Bは、基準信号SRを受信したら、クロック信号SCBのパルスを受信する毎に、カウントアップ信号SUの信号強度を上昇させる。そして、分周部24Bは、カウントアップ信号SUの信号強度が閾値以上となったら、すなわちクロック信号SCBのパルスを所定数積算したら、カウントアップ信号SUの信号強度をリセットして、再度クロック信号SCBの積算を再開する。分周部24Bは、クロック信号SCBに基づいて、第2時刻信号STBを生成する。より詳しくは、分周部24Bは、クロック信号SCBの積算が開始されたタイミングから、カウントアップ信号SUがリセットされるまでのタイミングまでの期間に対応する周期の第2時刻信号STBを生成する。本実施形態の例では、分周部24Bは、クロック信号SCBの積算が開始されたタイミングからカウントアップ信号SUがリセットされるまでのタイミングまでを1/2周期とするように、第2時刻信号STBを生成する。 As shown in FIG. 3, in this embodiment, the frequency divider 24B generates the count-up signal SU by integrating the clock signal SCB based on the reference signal SR. The frequency divider 24B starts integrating the clock signal SCB at a timing corresponding to the timing at which the pulse of the reference signal SR is received (in the example of FIG. 3, the same timing as the timing at which the pulse of the reference signal SR is received). A count-up signal SU is generated by integrating the clock signal SCB. That is, when the frequency divider 24B receives the reference signal SR, it increases the signal strength of the count-up signal SU each time it receives a pulse of the clock signal SCB. Then, when the signal strength of the count-up signal SU becomes equal to or greater than the threshold value, that is, when a predetermined number of pulses of the clock signal SCB are accumulated, the frequency divider 24B resets the signal strength of the count-up signal SU, and resets the signal strength of the clock signal SCB again. restarts integration. The frequency divider 24B generates a second time signal STB based on the clock signal SCB. More specifically, the frequency dividing section 24B generates the second time signal STB with a period corresponding to the period from the timing when the clock signal SCB starts to accumulate until the count-up signal SU is reset. In the example of the present embodiment, the frequency dividing unit 24B divides the second time signal so that the period from the timing when the integration of the clock signal SCB is started to the timing when the count-up signal SU is reset is 1/2 cycle. Generate STB.

なお、分周部24Bは、基準信号SRの次のパルスを受信したら、カウントアップ信号SUの信号強度をリセットしてから、クロック信号SCBの積算を再開する。すなわち、分周部24Bは、基準信号SRの次のパルスを受信したら、現在のカウントアップ信号SUの信号強度が閾値未満であっても、カウントアップ信号SUの信号強度を強制的にリセットして、クロック信号SCBの積算を再開する。これにより、基準信号SRを受信する毎に、第2時刻信号STBの周期を調整することができる。 When the next pulse of the reference signal SR is received, the frequency dividing section 24B resets the signal strength of the count-up signal SU and then restarts the integration of the clock signal SCB. That is, when the next pulse of the reference signal SR is received, the frequency divider 24B forcibly resets the signal strength of the count-up signal SU even if the current signal strength of the count-up signal SU is less than the threshold. , resumes the integration of the clock signal SCB. Thereby, the period of the second time signal STB can be adjusted each time the reference signal SR is received.

(通信部)
通信部26Bは、送信機10Aとデータの送受信を行うための通信モジュールであり、例えばアンテナやWiFiモジュールであってよい。なお、通信部26Bと基準信号受信部22Bとは、本実施形態の例では別々のハードウェアであるが、通信部26Bと基準信号受信部22Bとが1つのハードウェアであってもよい。
(communication department)
The communication unit 26B is a communication module for transmitting and receiving data to and from the transmitter 10A, and may be an antenna or a WiFi module, for example. Note that the communication unit 26B and the reference signal reception unit 22B are separate pieces of hardware in the example of this embodiment, but the communication unit 26B and the reference signal reception unit 22B may be one piece of hardware.

(記憶部)
記憶部28Bは、制御部30Bの演算内容やプログラムの情報などを記憶するメモリであり、例えば、RAMと、ROMと、HDDなどの外部記憶装置とのうち、少なくとも1つ含む。記憶部28Bが記憶する制御部30B用のプログラムは、受信機10Bが読み取り可能な記録媒体に記憶されていてもよい。
(storage unit)
The storage unit 28B is a memory that stores information such as the calculation content and program information of the control unit 30B, and includes, for example, at least one of RAM, ROM, and an external storage device such as an HDD. The program for the control unit 30B stored in the storage unit 28B may be stored in a recording medium readable by the receiver 10B.

(制御部)
制御部30Bは、演算装置であり、例えばCPUなどの演算回路を含む。制御部30Bは、第2時刻情報生成部32Bと通信制御部34Bと遅延時間算出部36Bとを含む。制御部30Bは、記憶部28Bからプログラム(ソフトウェア)を読み出して実行することで、第2時刻情報生成部32Bと通信制御部34Bと遅延時間算出部36Bとを実現して、それらの処理を実行する。なお、制御部30Bは、1つのCPUによってこれらの処理を実行してもよいし、複数のCPUを備えて、それらの複数のCPUで、処理を実行してもよい。また、第2時刻情報生成部32Bと通信制御部34Bと遅延時間算出部36Bとの処理の少なくとも一部を、ハードウェア回路で実現してもよい。また、制御部30Bは、発信部20B、基準信号受信部22B、及び分周部24Bなどの受信機10Bに含まれる機器を制御する機器制御部を含んでいてもよい。
(control part)
The control unit 30B is an arithmetic device and includes an arithmetic circuit such as a CPU. The controller 30B includes a second time information generator 32B, a communication controller 34B, and a delay time calculator 36B. The control unit 30B implements the second time information generation unit 32B, the communication control unit 34B, and the delay time calculation unit 36B by reading out and executing a program (software) from the storage unit 28B, and executes these processes. do. Note that the control unit 30B may execute these processes by one CPU, or may be provided with a plurality of CPUs and may execute the processes by the plurality of CPUs. Moreover, at least part of the processing of the second time information generation unit 32B, the communication control unit 34B, and the delay time calculation unit 36B may be realized by hardware circuits. Further, the control section 30B may include a device control section that controls devices included in the receiver 10B such as the transmission section 20B, the reference signal reception section 22B, and the frequency division section 24B.

(第2時刻情報生成部)
第2時刻情報生成部32Bは、クロック信号SCB及び基準信号SRに基づき、受信機10Bにおける時刻を示す第2時刻情報を生成する。すなわち、第2時刻情報は、受信機10Bの内部時刻を示す。具体的には、第2時刻情報生成部32Bは、クロック信号SCB及び基準信号SRに基づいて分周部24Bにより生成された第2時間信号STBに基づき、第2時刻情報を生成する。第2時間信号STBは所定周期となるように生成された信号であるため、第2時刻情報生成部32Bは、第2時間信号STBに基づいて、すなわち例えば第2時間信号STBのパルスをカウントすることで、第2時刻情報を生成できる。第2時刻情報生成部32Bは、第2時間信号STBのパルスを逐次カウントすることで、第2時刻情報を逐次更新する。
(Second time information generator)
The second time information generator 32B generates second time information indicating the time in the receiver 10B based on the clock signal SCB and the reference signal SR. That is, the second time information indicates the internal time of the receiver 10B. Specifically, the second time information generator 32B generates the second time information based on the second time signal STB generated by the frequency divider 24B based on the clock signal SCB and the reference signal SR. Since the second time signal STB is a signal generated to have a predetermined period, the second time information generator 32B counts pulses of the second time signal STB, for example, based on the second time signal STB. Thus, the second time information can be generated. The second time information generator 32B sequentially updates the second time information by sequentially counting the pulses of the second time signal STB.

(通信制御部)
通信制御部34Bは、通信部26Bを介して、第1時刻情報を含むパケットPを、送信機10Aから受信する。
(Communication control unit)
The communication control unit 34B receives the packet P including the first time information from the transmitter 10A via the communication unit 26B.

(遅延時間算出部)
遅延時間算出部36Bは、送信機10Aから受信したパケットPに含まれる第1時刻情報と、第2時刻情報生成部32Bによって生成された第2時刻情報とに基づいて、遅延時間を算出する。遅延時間算出部36Bは、第1時刻情報が示す時刻と第2時刻情報が示す時刻との差分を、遅延時間として算出する。ここでの第1時刻情報が示す時刻は、送信機10AがパケットPを送信したタイミングに対応する時刻(すなわち例えば、送信機10Aにより測定された、パケットPが送信された時刻)であり、第2時刻情報が示す時刻は、受信機10BがパケットPを受信したタイミングに対応する時刻(すなわち例えば、受信機10Bにより測定された、パケットPを受信した時刻)である。従って、遅延時間とは、通信による遅延時間であるといえ、パケットPを送信機10Aから受信機10Bに送信するのに要する時間といえる。
(Delay time calculator)
The delay time calculator 36B calculates the delay time based on the first time information included in the packet P received from the transmitter 10A and the second time information generated by the second time information generator 32B. The delay time calculator 36B calculates the difference between the time indicated by the first time information and the time indicated by the second time information as the delay time. The time indicated by the first time information here is the time corresponding to the timing at which the transmitter 10A transmitted the packet P (that is, the time at which the packet P was transmitted, measured by the transmitter 10A, for example). 2 The time indicated by the time information is the time corresponding to the timing at which the receiver 10B received the packet P (that is, the time at which the packet P was received, measured by the receiver 10B, for example). Therefore, the delay time can be said to be the delay time due to communication, and can be said to be the time required to transmit the packet P from the transmitter 10A to the receiver 10B.

遅延時間算出部36Bは、算出した遅延時間を出力してよい。例えば、遅延時間算出部36Bは、算出した遅延時間を記憶部28Bに出力して記憶部28Bに記憶させたり、算出した遅延時間を外部の装置に送信したり、算出した遅延時間を図示しないディスプレイなどに出力したりしてよい。このように算出した遅延時間を出力することで、例えば通信環境の調整など、様々な用途に用いることが可能となる。 The delay time calculator 36B may output the calculated delay time. For example, the delay time calculation unit 36B outputs the calculated delay time to the storage unit 28B to be stored in the storage unit 28B, transmits the calculated delay time to an external device, or displays the calculated delay time on a display (not shown). and so on. By outputting the calculated delay time in this way, it can be used for various purposes such as adjustment of the communication environment.

(処理フロー)
以上説明した送信機10Aと受信機10Bの処理の処理フローを説明する。図5は、第1実施形態に係る送信機及び受信機の処理フローを説明するフローチャートである。図5に示すように、送信機10Aは、発信部20Aにより出力されたクロック信号SCAを取得し、基準信号受信部22Aにより基準信号送信機Rからの基準信号SRを取得する(ステップS10A)。そして、送信機10Aは、分周部24Aにより、基準信号SRに基づいてクロック信号SCAを分周して、第1時刻信号STAを生成し(ステップS12A)、第1時刻情報生成部32Aにより、第1時刻信号STAに基づいて第1時刻情報を生成する(ステップS14A)。送信機10Aは、通信制御部34Aにより、第1時刻情報を含むパケットPを、受信機10Bに送信する(ステップS16)。
(processing flow)
A processing flow of processing of the transmitter 10A and the receiver 10B described above will be described. FIG. 5 is a flow chart explaining the processing flow of the transmitter and receiver according to the first embodiment. As shown in FIG. 5, the transmitter 10A acquires the clock signal SCA output by the transmitter 20A, and acquires the reference signal SR from the reference signal transmitter R by the reference signal receiver 22A (step S10A). Then, the frequency divider 24A of the transmitter 10A divides the frequency of the clock signal SCA based on the reference signal SR to generate the first time signal STA (step S12A), and the first time information generator 32A First time information is generated based on the first time signal STA (step S14A). The transmitter 10A uses the communication control unit 34A to transmit the packet P including the first time information to the receiver 10B (step S16).

受信機10Bも、発信部20Bにより出力されたクロック信号SCBを取得し、基準信号受信部22Bにより基準信号送信機Rからの基準信号SRを取得して(ステップS10B)、分周部24Bにより、基準信号SRに基づいてクロック信号SCBを分周して、第2時刻信号STBを生成し(ステップS12B)、第2時刻情報生成部32Bにより、第2時刻信号STBに基づいて第2時刻情報を生成する(ステップS14B)。受信機10Bは、第2時刻情報を生成し、第1時刻情報を含むパケットPを受信したら、遅延時間算出部36Bにより、第1時刻情報と第2時刻情報とに基づいて、遅延時間を算出する(ステップS18)。 The receiver 10B also acquires the clock signal SCB output by the transmitter 20B, acquires the reference signal SR from the reference signal transmitter R by the reference signal receiver 22B (step S10B), and The clock signal SCB is frequency-divided based on the reference signal SR to generate the second time signal STB (step S12B), and the second time information is generated by the second time information generator 32B based on the second time signal STB. Generate (step S14B). The receiver 10B generates the second time information, and when the packet P including the first time information is received, the delay time calculator 36B calculates the delay time based on the first time information and the second time information. (step S18).

以上説明したように、本実施形態においては、送信機10Aが、基準信号送信機Rから受信した基準信号SRに基づいて第1時刻情報を生成し、受信機10Bも、同一の機器である基準信号送信機Rから受信した基準信号SRに基づいて、第2時刻情報を生成する。そして、受信機10Bは、送信機10Aから第1時刻情報を受信して、その第1時刻情報を、自身で生成した第2時刻情報と比較することで、遅延時間を算出する。すなわち、本実施形態においては、第1時刻情報と第2時刻情報とを、共通する機器から取得した基準信号SRにより同期することができるので、第1時刻情報と第2時刻情報とが、通信遅延などの原因でずれてしまうことを抑制できる。そのため、本実施形態によると、第1時刻情報と第2時刻情報とのずれを抑えて、遅延時間を高精度に算出することが可能となる。 As described above, in the present embodiment, the transmitter 10A generates the first time information based on the reference signal SR received from the reference signal transmitter R, and the receiver 10B is also the same device as the reference signal SR. Based on the reference signal SR received from the signal transmitter R, second time information is generated. Then, the receiver 10B receives the first time information from the transmitter 10A and compares the first time information with the second time information generated by itself to calculate the delay time. That is, in the present embodiment, since the first time information and the second time information can be synchronized by the reference signal SR obtained from a common device, the first time information and the second time information can be communicated. It is possible to suppress deviation due to delay or the like. Therefore, according to the present embodiment, it is possible to suppress the deviation between the first time information and the second time information and calculate the delay time with high accuracy.

(第2実施形態)
次に、第2実施形態について説明する。第2実施形態においては、パケットP毎の遅延時間から平均遅延時間を算出し、平均遅延時間に基づいて、パケットP毎にアプリケーションの実行開始タイミングを調整する点で、第1実施形態とは異なる。第2実施形態において、第1実施形態と構成が共通する箇所は、説明を省略する。
(Second embodiment)
Next, a second embodiment will be described. The second embodiment differs from the first embodiment in that the average delay time is calculated from the delay time of each packet P, and the application execution start timing is adjusted for each packet P based on the average delay time. . In the second embodiment, descriptions of parts having the same configuration as in the first embodiment are omitted.

(受信機)
図6は、第2実施形態に係る受信機の模式的なブロック図である。図6に示すように、第2実施形態の受信機10Baの制御部30Baは、第2時刻情報生成部32Bと、通信制御部34Bと、遅延時間算出部36Baと、実行部38Baとを含む。
(Receiving machine)
FIG. 6 is a schematic block diagram of a receiver according to the second embodiment. As shown in FIG. 6, the control section 30Ba of the receiver 10Ba of the second embodiment includes a second time information generation section 32B, a communication control section 34B, a delay time calculation section 36Ba, and an execution section 38Ba.

(パケットの送受信)
第2実施形態においては、送信機10Aの通信制御部34Aは、第1時刻情報及びアプリケーション情報を含むパケットPを、受信機10Baに送信する。アプリケーション情報とは、受信機10Baによる所定の処理(所定のアプリケーション)を実行するための情報である。例えば、受信機10Baが所定の処理として画像表示を行う場合には、アプリケーション情報は、画像データであってよい。ただし、受信機10Baが行う処理やアプリケーション情報は、これに限られず任意であってよい。
(Packet transmission/reception)
In the second embodiment, the communication control unit 34A of the transmitter 10A transmits a packet P including first time information and application information to the receiver 10Ba. Application information is information for executing a predetermined process (predetermined application) by the receiver 10Ba. For example, when the receiver 10Ba performs image display as a predetermined process, the application information may be image data. However, the processing and application information performed by the receiver 10Ba are not limited to this and may be arbitrary.

送信機10Aは、第1時刻情報及びアプリケーション情報が異なるパケットPを、受信機10Baに逐次送信する。受信機10Baの通信制御部34Bは、第1時刻情報及びアプリケーション情報を含むパケットPを、送信機10Aから逐次受信する。 The transmitter 10A sequentially transmits packets P with different first time information and application information to the receiver 10Ba. The communication control unit 34B of the receiver 10Ba sequentially receives packets P including the first time information and application information from the transmitter 10A.

(平均遅延時間の算出)
図7は、平均遅延時間の一例を示すグラフである。受信機10Baの遅延時間算出部36Baは、パケットPに含まれる第1時刻情報と、そのパケットPを受信したタイミングにおける第2時刻情報とに基づいて、そのパケットPについての遅延時間を算出する。遅延時間算出部36Baは、異なるタイミングで受信されたパケットP毎に、遅延時間を算出する。遅延時間算出部36Baは、パケットP毎の遅延時間に基づいて、すなわち算出した複数の遅延時間に基づいて、平均遅延時間を算出する。遅延時間算出部36Baは、パケットP毎の遅延時間に基づいた任意の方法で平均遅延時間を算出してよい。例えば、遅延時間算出部36Baは、パケットP毎の遅延時間の相加平均値を平均遅延時間として算出してもよいし、パケットP毎の遅延時間の相加平均値に対して、各遅延時間の標準偏差を加えた値を、平均遅延時間として算出してもよい。図7の線L1は、パケットP毎の遅延時間を示しており、線Lは、パケットP毎の遅延時間から算出された平均遅延時間を示している。
(Calculation of average delay time)
FIG. 7 is a graph showing an example of average delay times. The delay time calculator 36Ba of the receiver 10Ba calculates the delay time for the packet P based on the first time information included in the packet P and the second time information at the timing when the packet P was received. The delay time calculator 36Ba calculates a delay time for each packet P received at different timings. The delay time calculator 36Ba calculates the average delay time based on the delay time of each packet P, that is, based on the calculated plurality of delay times. The delay time calculator 36Ba may calculate the average delay time by any method based on the delay time of each packet P. For example, the delay time calculation unit 36Ba may calculate the arithmetic mean value of the delay time for each packet P as the average delay time, or calculate the arithmetic mean value of the delay time for each packet P as each delay time may be calculated as the average delay time. Line L1 in FIG. 7 indicates the delay time for each packet P, and line L indicates the average delay time calculated from the delay time for each packet P. In FIG.

(処理の実行)
実行部38Baは、パケットPに含まれるアプリケーション情報に基づき、所定の処理を実行する。すなわち例えば、実行部38Baは、アプリケーション情報としての画像データを用いて、所定の処理である画像表示を行う。
(Execution of processing)
Based on the application information included in the packet P, the execution unit 38Ba executes a predetermined process. That is, for example, the execution unit 38Ba performs image display, which is a predetermined process, using image data as application information.

図8は、平均遅延時間の一例を示すグラフである。実行部38Baは、逐次受信されるパケットPに含まれるアプリケーション情報を用いて、所定の処理に用いるアプリケーション情報を逐次更新することで、所定の処理を継続して実行する。すなわち、実行部38Baは、1つのパケットPに含まれるアプリケーション情報を用いた処理が終了したら、次のパケットPに含まれるアプリケーション情報を用いた処理に切り替えることで、処理を継続して実行する。この場合、実行部38Baは、それぞれのパケットPについて、パケットPを受信したタイミングから平均遅延時間だけ遅らせたタイミングで、そのパケットPに含まれるアプリケーション情報に基づいた処理を実行する。すなわち、実行部38Baは、パケットPを受信したタイミングから、共通する平均遅延時間だけ遅らせて、それぞれのパケットPに基づいた処理を開始する。従って、パケットP毎の処理開始タイミングの周期を一定として、例えば一部のパケットPの実行だけが遅れたりすることを抑制することが可能となるため、処理を適切に実行することが可能となる。なお、図8の線L2は、パケットP毎の遅延時間を指している。図8に示すように、実際のパケットPの遅延時間が平均遅延時間よりも短くても、パケットPを用いた処理を開始するタイミングを、平均遅延時間が経過するまで延期する。これにより、パケットP毎に遅延時間のばらつきがあったとしても、平均遅延時間という一定値を用いて処理の開始タイミングを設定することで、処理の開始タイミングの周期を一定にできる。なお、図8に示すように、遅延時間が平均遅延時間よりも長いパケットPについては、そのパケットPを用いた処理を行わなくてもよい。 FIG. 8 is a graph showing an example of average delay times. The executing unit 38Ba continuously executes the predetermined processing by sequentially updating the application information used for the predetermined processing using the application information included in the packets P that are sequentially received. That is, when the processing using the application information included in one packet P is completed, the executing unit 38Ba switches to the processing using the application information included in the next packet P, thereby continuing the processing. In this case, the execution unit 38Ba executes processing for each packet P based on the application information included in the packet P at a timing delayed from the timing at which the packet P is received by the average delay time. That is, the execution unit 38Ba starts processing based on each packet P with a delay of the common average delay time from the timing at which the packet P is received. Therefore, it is possible to prevent the execution of only some packets P from being delayed by fixing the cycle of the processing start timing for each packet P, so that the processing can be executed appropriately. . A line L2 in FIG. 8 indicates the delay time for each packet P. In FIG. As shown in FIG. 8, even if the actual delay time of packet P is shorter than the average delay time, the timing of starting processing using packet P is postponed until the average delay time has passed. As a result, even if there is variation in the delay time for each packet P, the cycle of the process start timing can be made constant by setting the process start timing using a constant value of the average delay time. Note that, as shown in FIG. 8, for a packet P whose delay time is longer than the average delay time, it is not necessary to perform processing using that packet P. FIG.

実行部38Baは、パケットPの遅延時間に基づいて、そのパケットPに含まれているアプリケーション情報を圧縮してもよい。この場合例えば、実行部38Baは、パケットPの遅延時間が平均遅延時間よりも長い場合に、そのパケットPに含まれるアプリケーション情報を圧縮してもよい。これにより、遅延時間が平均遅延時間よりも長いパケットPについても、圧縮することで処理に要する時間を短くすることができるため、そのパケットPを用いた処理を適切に行うことが可能となる。また例えば、実行部38Baは、パケットPの遅延時間が長いほど、アプリケーション情報の圧縮率を高くしてもよい。 The execution unit 38Ba may compress the application information included in the packet P based on the packet P delay time. In this case, for example, the execution unit 38Ba may compress the application information included in the packet P when the delay time of the packet P is longer than the average delay time. As a result, even a packet P whose delay time is longer than the average delay time can be shortened by compressing it, so that the packet P can be appropriately processed. Further, for example, the execution unit 38Ba may increase the compression rate of the application information as the delay time of the packet P increases.

(処理フロー)
以上説明した第2実施形態による処理のフローを説明する。図9は、第2実施形態に係る処理フローを説明するフローチャートである。図9に示すように、受信機10Baは、遅延時間算出部36Baにより、パケットPに含まれる第1時刻情報と、そのパケットPを受信したタイミングにおける第2時刻情報とに基づいて、遅延時間を算出する(ステップS20)。遅延時間算出部36Baは、算出した遅延時間のデータ量が所定以上であるかを判断し(ステップS22)、算出した遅延時間のデータ量が所定以上である場合に(ステップS22;Yes)、これまでに算出したパケットP毎の遅延時間に基づいて、平均遅延時間を算出する(ステップS24)。一方、算出した遅延時間のデータ量が所定以上でない場合(ステップS22;No)、ステップS20に戻り、次のパケットPにおける遅延時間の算出を続ける。なお、遅延時間のデータ量が所定以上であるとは、パケットP毎に算出した遅延時間の数が所定数以上であることを指してよい。以上のように平均遅延時間を算出するまでの期間は、イニシャライズ期間として、イニシャライズ期間に受信したパケットPを用いた処理(例えば画像表示)を実行しなくてもよい。また例えば、イニシャライズ期間においては、平均遅延時間を用いずに、パケットPを受信する毎に、そのパケットを用いた処理を開始させてもよい。
(processing flow)
The flow of processing according to the second embodiment described above will be described. FIG. 9 is a flowchart for explaining the processing flow according to the second embodiment. As shown in FIG. 9, the receiver 10Ba calculates the delay time based on the first time information included in the packet P and the second time information at the timing when the packet P is received by the delay time calculation unit 36Ba. Calculate (step S20). The delay time calculator 36Ba determines whether the amount of data of the calculated delay time is greater than or equal to a predetermined amount (step S22). An average delay time is calculated based on the delay time for each packet P calculated up to (step S24). On the other hand, if the data amount of the calculated delay time is less than the predetermined amount (step S22; No), the process returns to step S20 to continue calculating the delay time of the next packet P. FIG. It should be noted that the amount of delay time data being equal to or greater than a predetermined number may mean that the number of delay times calculated for each packet P is equal to or greater than a predetermined number. The period until the average delay time is calculated as described above is an initialization period, and processing (for example, image display) using the packet P received during the initialization period may not be executed. Further, for example, during the initialization period, the processing using the packet may be started each time the packet P is received without using the average delay time.

平均遅延時間を算出したら、受信機10Baは、以降に受信するパケットPについては、平均遅延時間に基づいて各パケットPの処理を開始するタイミングを設定する。すなわち、受信機10Baは、通信制御部34BによりパケットPを受信して(ステップS26)、実行部38Baにより、そのパケットPを用いた処理を開始するタイミングを、平均遅延時間だけ遅延させて、そのパケットPに含まれるアプリケーション情報に基づいた処理を実行する(ステップS28)。 After calculating the average delay time, the receiver 10Ba sets the timing to start processing each packet P based on the average delay time for packets P to be received thereafter. That is, the receiver 10Ba receives the packet P by the communication control unit 34B (step S26), and causes the execution unit 38Ba to delay the timing of starting processing using the packet P by the average delay time. A process based on the application information included in the packet P is executed (step S28).

その後、処理を終了する場合には(ステップS30;Yes)、本処理を終了する。一方、処理を終了せず(ステップS30;No)、かつ、平均遅延時間を算出してから所定時間が経過していない場合には(ステップS32;No)、ステップS26に戻り、次のパケットPを受信して、算出済みの平均遅延時間を用いて、処理を継続する。一方、平均遅延時間を算出してから所定時間が経過した場合(ステップS32;Yes)、ステップS20に戻り(すなわちイニシャライズ期間に戻り)、平均遅延時間を更新する。すなわち、本実施形態においては、所定時間が経過する毎に平均遅延時間を更新するため、通信環境の変化に適切に対応できる。ただし、平均遅延時間の更新処理は必須ではない。 After that, if the process is to be terminated (step S30; Yes), the process is terminated. On the other hand, if the process is not finished (step S30; No) and the predetermined time has not elapsed since the average delay time was calculated (step S32; No), the process returns to step S26, and the next packet P is received and processing is continued using the calculated average delay time. On the other hand, if the predetermined time has passed after calculating the average delay time (step S32; Yes), the process returns to step S20 (that is, returns to the initialization period) to update the average delay time. That is, in the present embodiment, since the average delay time is updated each time the predetermined time elapses, it is possible to appropriately respond to changes in the communication environment. However, updating the average delay time is not essential.

(効果)
以上説明したように、本開示に係る通信システム100は、送信機10Aと、送信機10AからパケットPを受信する受信機10Bとを有する。送信機10Aは、所定周期のクロック信号SCAを出力する発信部20Aと、時刻の基準となる基準信号SRを基準信号送信機Rから受信する基準信号受信部22Aと、クロック信号SCA及び基準信号SRに基づき、送信機10Aにおける時刻を示す第1時刻情報を生成する第1時刻情報生成部32Aと、第1時刻情報を含むパケットPを受信機10Bに送信する通信制御部34Aと、を含む。受信機10Bは、所定周期のクロック信号SCBを出力する発信部20Bと、基準信号SRを基準信号送信機Rから受信する基準信号受信部22Bと、クロック信号SCB及び基準信号SRに基づき、受信機10Bにおける時刻を示す第2時刻情報を生成する第2時刻情報生成部32Bと、送信機10AからパケットPを受信する通信制御部34Bと、パケットPに含まれる第1時刻情報と、第2時刻情報とに基づき、遅延時間を算出する遅延時間算出部36Bとを含む。
(effect)
As described above, the communication system 100 according to the present disclosure has a transmitter 10A and a receiver 10B that receives packets P from the transmitter 10A. The transmitter 10A includes a transmitter 20A that outputs a clock signal SCA with a predetermined cycle, a reference signal receiver 22A that receives a reference signal SR as a time reference from a reference signal transmitter R, a clock signal SCA and a reference signal SR. and a communication control unit 34A for transmitting a packet P including the first time information to the receiver 10B. The receiver 10B includes a transmitter 20B that outputs a clock signal SCB with a predetermined cycle, a reference signal receiver 22B that receives a reference signal SR from a reference signal transmitter R, and a receiver 10B based on the clock signal SCB and the reference signal SR. 10B, a communication control unit 34B that receives the packet P from the transmitter 10A, the first time information included in the packet P, and the second time and a delay time calculator 36B that calculates the delay time based on the information.

本開示に係る通信システム100によると、第1時刻情報と第2時刻情報とを、共通する機器から取得した基準信号SRにより同期することができるので、第1時刻情報と第2時刻情報とが、通信遅延などの原因でずれてしまうことを抑制できる。そのため、本実施形態によると、第1時刻情報と第2時刻情報とのずれを抑えて、遅延時間を高精度に算出することが可能となる。 According to the communication system 100 according to the present disclosure, the first time information and the second time information can be synchronized by the reference signal SR acquired from a common device, so that the first time information and the second time information are synchronized. , it is possible to suppress deviation due to communication delay or the like. Therefore, according to the present embodiment, it is possible to suppress the deviation between the first time information and the second time information and calculate the delay time with high accuracy.

送信機10Aは、送信機10A側の基準信号SRに基づいてクロック信号SCAを分周して、所定周期の第1時刻信号STAを生成する分周部24Aを更に含み、第1時刻情報生成部32Aは、第1時刻信号STAに基づき第1時刻情報を生成する。受信機10Bは、受信機10B側の基準信号SRに基づいてクロック信号SCBを分周して、所定周期の第2時刻信号STBを生成する分周部24Bを更に含み、第2時刻情報生成部32Bは、第2時刻信号STBに基づき第2時刻情報を生成する。本実施形態によると、基準信号SRに基づいて分周された第1時刻信号STAや第2時刻信号STBを用いることで、第1時刻情報と第2時刻情報とのずれを抑えて、遅延時間を高精度に算出することが可能となる。 The transmitter 10A further includes a frequency divider 24A that divides the frequency of the clock signal SCA based on the reference signal SR of the transmitter 10A to generate a first time signal STA having a predetermined period, and a first time information generator. 32A generates first time information based on the first time signal STA. The receiver 10B further includes a frequency divider 24B that divides the frequency of the clock signal SCB based on the reference signal SR on the receiver 10B side to generate a second time signal STB of a predetermined cycle, and a second time information generator. 32B generates second time information based on the second time signal STB. According to this embodiment, by using the first time signal STA and the second time signal STB frequency-divided based on the reference signal SR, the deviation between the first time information and the second time information is suppressed, and the delay time is reduced. can be calculated with high accuracy.

送信機10Aの基準信号受信部22A、及び受信機10Bの基準信号受信部22Bは、基準信号送信機Rとしての人工衛星から、基準信号SRを受信する。人工衛星から基準信号SRを受信することで、第1時刻情報と第2時刻情報とを適切に同期して、遅延時間を高精度に算出することが可能となる。 A reference signal receiver 22A of the transmitter 10A and a reference signal receiver 22B of the receiver 10B receive a reference signal SR from an artificial satellite as a reference signal transmitter R. By receiving the reference signal SR from the satellite, it is possible to appropriately synchronize the first time information and the second time information and calculate the delay time with high accuracy.

遅延時間算出部36Baは、異なるタイミングで受信されたパケットP毎に、遅延時間を算出し、それぞれの遅延時間に基づいて平均遅延時間を算出する。また、受信機10Bは、パケットPに含まれるアプリケーション情報に基づき、所定の処理を実行する実行部38Baを更に含み、実行部38Baは、パケットPを受信したタイミングから平均遅延時間だけ遅らせたタイミングで、アプリケーション情報に基づいた所定の処理を実行する。これにより、パケットP毎の処理を開始するタイミングの周期を一定として、処理を適切に実行することが可能となる。 The delay time calculator 36Ba calculates a delay time for each packet P received at different timings, and calculates an average delay time based on each delay time. Further, the receiver 10B further includes an execution unit 38Ba that executes predetermined processing based on the application information included in the packet P. , performs a predetermined process based on the application information. As a result, it is possible to appropriately execute the processing with a fixed period of the timing of starting the processing for each packet P. FIG.

実行部38Baは、遅延時間が長いほど、そのパケットPに含まれるアプリケーション情報の圧縮率を高くして、所定の処理を実行する。これにより、遅延時間が長いパケットPについても、適切に処理を実行できる。 The execution unit 38Ba increases the compression rate of the application information included in the packet P as the delay time increases, and executes the predetermined process. As a result, the packet P having a long delay time can also be appropriately processed.

本開示に係る通信方法は、送信機10Aと、送信機10AからパケットPを受信する受信機10Bとを用いる。本通信方法は、送信機10Aに、所定周期のクロック信号SCAを出力させるステップと、送信機10Aに、基準信号送信機Rから時刻の基準となる基準信号SRを受信させるステップと、クロック信号SCA及び基準信号SRに基づき、送信機10Aにおける時刻を示す第1時刻情報を生成するステップと、第1時刻情報を含むパケットPを受信機10Bに送信するステップと、受信機10Bに、所定周期のクロック信号SCBを出力させるステップと、受信機10Bに、基準信号送信機Rからの基準信号SRを受信させるステップと、クロック信号SCB及び基準信号SRに基づき、受信機10Bにおける時刻を示す第2時刻情報を生成するステップと、受信機10Bに、送信機10AからパケットPを受信させるステップと、パケットPに含まれる第1時刻情報と、第2時刻情報とに基づき、遅延時間を算出するステップと、を含む。本通信方法によると、遅延時間を高精度に算出できる。 A communication method according to the present disclosure uses a transmitter 10A and a receiver 10B that receives packets P from the transmitter 10A. This communication method includes the steps of causing the transmitter 10A to output a clock signal SCA with a predetermined cycle, causing the transmitter 10A to receive a reference signal SR serving as a time reference from a reference signal transmitter R, and the steps of causing the transmitter 10A to receive the clock signal SCA. and a step of generating first time information indicating the time in the transmitter 10A based on the reference signal SR; a step of transmitting a packet P including the first time information to the receiver 10B; a step of outputting the clock signal SCB; a step of causing the receiver 10B to receive the reference signal SR from the reference signal transmitter R; and a second time indicating the time in the receiver 10B based on the clock signal SCB and the reference signal SR. a step of generating information, a step of causing the receiver 10B to receive the packet P from the transmitter 10A, and a step of calculating the delay time based on the first time information and the second time information included in the packet P; ,including. According to this communication method, the delay time can be calculated with high accuracy.

以上、本開示の実施形態を説明したが、この実施形態の内容により実施形態が限定されるものではない。また、前述した構成要素には、当業者が容易に想定できるもの、実質的に同一のもの、いわゆる均等の範囲のものが含まれる。さらに、前述した構成要素は適宜組み合わせることが可能である。さらに、前述した実施形態の要旨を逸脱しない範囲で構成要素の種々の省略、置換又は変更を行うことができる。 Although the embodiments of the present disclosure have been described above, the embodiments are not limited by the contents of the embodiments. In addition, the components described above include those that can be easily assumed by those skilled in the art, those that are substantially the same, and those within the so-called equivalent range. Furthermore, the components described above can be combined as appropriate. Furthermore, various omissions, replacements, or modifications of components can be made without departing from the gist of the above-described embodiments.

10A 送信機
10B 受信機
20A、20B 発信部
22A、22B 基準信号受信部
24A、24B 分周部
32A 第1時刻情報生成部
32B 第2時刻情報生成部
34A、34B 通信制御部
100 通信システム
P パケット
R 基準信号送信機
SCA、SCB クロック信号
SR 基準信号
STA 第1時刻信号
STB 第2時刻信号
10A transmitter 10B receiver 20A, 20B transmitter 22A, 22B reference signal receiver 24A, 24B frequency divider 32A first time information generator 32B second time information generator 34A, 34B communication controller 100 communication system P packet R Reference signal transmitter SCA, SCB Clock signal SR Reference signal STA First time signal STB Second time signal

Claims (9)

送信機と、前記送信機からパケットを受信する受信機とを有する通信システムであって、
前記送信機は、
所定周期のクロック信号を出力する発信部と、
時刻の基準となる基準信号を基準信号送信機から受信する基準信号受信部と、
前記クロック信号及び前記基準信号に基づき、前記送信機における時刻を示す第1時刻情報を生成する第1時刻情報生成部と、
前記第1時刻情報を含むパケットを前記受信機に送信する通信制御部と、
を含み、
前記受信機は、
所定周期のクロック信号を出力する発信部と、
前記基準信号送信機から前記基準信号を受信する基準信号受信部と、
前記クロック信号及び前記基準信号に基づき、前記受信機における時刻を示す第2時刻情報を生成する第2時刻情報生成部と、
前記送信機から前記パケットを受信する通信制御部と、
前記パケットに含まれる前記第1時刻情報と、前記第2時刻情報とに基づき、遅延時間を算出する遅延時間算出部と、
を含む、
通信システム。
A communication system comprising a transmitter and a receiver for receiving packets from the transmitter,
The transmitter is
a transmitter that outputs a clock signal with a predetermined cycle;
a reference signal receiver that receives a reference signal that serves as a time reference from a reference signal transmitter;
a first time information generator that generates first time information indicating time in the transmitter based on the clock signal and the reference signal;
a communication control unit that transmits a packet including the first time information to the receiver;
including
The receiver is
a transmitter that outputs a clock signal with a predetermined cycle;
a reference signal receiver that receives the reference signal from the reference signal transmitter;
a second time information generator that generates second time information indicating time in the receiver based on the clock signal and the reference signal;
a communication control unit that receives the packet from the transmitter;
a delay time calculation unit that calculates a delay time based on the first time information and the second time information included in the packet;
including,
Communications system.
前記送信機は、前記送信機側の前記基準信号に基づいて前記クロック信号を分周して、所定周期の第1時刻信号を生成する分周部を更に含み、前記第1時刻情報生成部は、前記第1時刻信号に基づき前記第1時刻情報を生成し、
前記受信機は、前記受信機側の前記基準信号に基づいて前記クロック信号を分周して、所定周期の第2時刻信号を生成する分周部を更に含み、前記第2時刻情報生成部は、前記第2時刻信号に基づき前記第2時刻情報を生成する、請求項1に記載の通信システム。
The transmitter further includes a frequency divider that divides the frequency of the clock signal based on the reference signal of the transmitter to generate a first time signal having a predetermined period, wherein the first time information generator comprises , generating the first time information based on the first time signal;
The receiver further includes a frequency dividing unit that divides the frequency of the clock signal based on the reference signal on the receiver side to generate a second time signal having a predetermined period, wherein the second time information generating unit 2. The communication system according to claim 1, wherein said second time information is generated based on said second time signal.
前記送信機の前記基準信号受信部、及び前記受信機の前記基準信号受信部は、前記基準信号送信機としての人工衛星から、前記基準信号を受信する、請求項1又は請求項2に記載の通信システム。 3. The reference signal receiving unit of the transmitter and the reference signal receiving unit of the receiver according to claim 1, wherein the reference signal is received from an artificial satellite as the reference signal transmitter. Communications system. 前記遅延時間算出部は、異なるタイミングで受信された前記パケット毎に、前記遅延時間を算出し、それぞれの前記遅延時間に基づいて平均遅延時間を算出する、請求項1から請求項3のいずれか1項に記載の通信システム。 4. The delay time calculator according to any one of claims 1 to 3, wherein the delay time calculator calculates the delay time for each of the packets received at different timings, and calculates an average delay time based on the respective delay times. The communication system according to item 1. 前記遅延時間算出部は、所定の閾値時間が経過する毎に平均遅延時間を更新する、請求項4に記載の通信システム。 5. The communication system according to claim 4, wherein said delay time calculator updates the average delay time each time a predetermined threshold time elapses. 前記受信機は、前記パケットに含まれるアプリケーション情報に基づき、所定の処理を実行する実行部を更に含み、
前記実行部は、前記パケットを受信したタイミングから前記平均遅延時間だけ遅らせたタイミングで、前記アプリケーション情報に基づいた前記所定の処理を実行する、請求項4又は請求項5に記載の通信システム。
The receiver further includes an execution unit that executes predetermined processing based on the application information included in the packet,
6. The communication system according to claim 4, wherein said execution unit executes said predetermined processing based on said application information at a timing delayed by said average delay time from a timing at which said packet is received.
前記実行部は、前記遅延時間が長いほど、そのパケットに含まれる前記アプリケーション情報の圧縮率を高くして、前記所定の処理を実行する、請求項6に記載の通信システム。 7. The communication system according to claim 6, wherein the longer the delay time, the higher the compression ratio of the application information included in the packet, and the execution unit executes the predetermined process. 送信機と、前記送信機からパケットを受信する受信機とを用いた通信方法であって、
前記送信機に、所定周期のクロック信号を出力させるステップと、
前記送信機に、基準信号送信機から時刻の基準となる基準信号を受信させるステップと、
前記クロック信号及び前記基準信号に基づき、前記送信機における時刻を示す第1時刻情報を生成するステップと、
前記第1時刻情報を含むパケットを前記受信機に送信するステップと、
前記受信機に、所定周期のクロック信号を出力させるステップと、
前記受信機に、前記基準信号送信機からの前記基準信号を受信させるステップと、
前記クロック信号及び前記基準信号に基づき、前記受信機における時刻を示す第2時刻情報を生成するステップと、
前記受信機に、前記送信機から前記パケットを受信させるステップと、
前記パケットに含まれる前記第1時刻情報と、前記第2時刻情報とに基づき、遅延時間を算出するステップと、
を含む、
通信方法。
A communication method using a transmitter and a receiver that receives packets from the transmitter,
causing the transmitter to output a clock signal with a predetermined period;
causing the transmitter to receive a reference signal serving as a time reference from a reference signal transmitter;
generating first time information indicating time in the transmitter based on the clock signal and the reference signal;
transmitting a packet containing the first time information to the receiver;
causing the receiver to output a clock signal with a predetermined period;
causing the receiver to receive the reference signal from the reference signal transmitter;
generating second time information indicating time in the receiver based on the clock signal and the reference signal;
causing the receiver to receive the packets from the transmitter;
calculating a delay time based on the first time information and the second time information included in the packet;
including,
Communication method.
送信機と、前記送信機からパケットを受信する受信機とを用いた通信方法をコンピュータに実行させるプログラムであって、
前記送信機に、所定周期のクロック信号を出力させるステップと、
前記送信機に、基準信号送信機から時刻の基準となる基準信号を受信させるステップと、
前記クロック信号及び前記基準信号に基づき、前記送信機における時刻を示す第1時刻情報を生成するステップと、
前記第1時刻情報を含むパケットを前記受信機に送信するステップと、
前記受信機に、所定周期のクロック信号を発信させるステップと、
前記受信機に、前記基準信号送信機からの前記基準信号を受信させるステップと、
前記クロック信号及び前記基準信号に基づき、前記受信機における時刻を示す第2時刻情報を生成するステップと、
前記受信機に、前記送信機から前記パケットを受信させるステップと、
前記パケットに含まれる前記第1時刻情報と、前記第2時刻情報とに基づき、遅延時間を算出するステップと、
を、コンピュータに実行させる、
プログラム。
A program that causes a computer to execute a communication method using a transmitter and a receiver that receives packets from the transmitter,
causing the transmitter to output a clock signal with a predetermined period;
causing the transmitter to receive a reference signal serving as a time reference from a reference signal transmitter;
generating first time information indicating time in the transmitter based on the clock signal and the reference signal;
transmitting a packet containing the first time information to the receiver;
causing the receiver to transmit a clock signal with a predetermined period;
causing the receiver to receive the reference signal from the reference signal transmitter;
generating second time information indicating time in the receiver based on the clock signal and the reference signal;
causing the receiver to receive the packets from the transmitter;
calculating a delay time based on the first time information and the second time information included in the packet;
causes the computer to execute
program.
JP2022011831A 2022-01-28 2022-01-28 Communication system, communication method, and program Pending JP2023110410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022011831A JP2023110410A (en) 2022-01-28 2022-01-28 Communication system, communication method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022011831A JP2023110410A (en) 2022-01-28 2022-01-28 Communication system, communication method, and program

Publications (1)

Publication Number Publication Date
JP2023110410A true JP2023110410A (en) 2023-08-09

Family

ID=87546583

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022011831A Pending JP2023110410A (en) 2022-01-28 2022-01-28 Communication system, communication method, and program

Country Status (1)

Country Link
JP (1) JP2023110410A (en)

Similar Documents

Publication Publication Date Title
US9838196B2 (en) Synchronization apparatus, synchronization system, radio communication apparatus and synchronization method
US11050548B2 (en) Image transmission system, imaging terminal, display terminal, adjustment method, adjustment assistance method, and non-transitory computer-readable recording medium storing program
US20170195980A1 (en) Synchronizing clocks in a network
CN113055117A (en) Clock synchronization device and method of wireless distributed network
CN108400828B (en) Communication system and synchronization method
JP2017069669A (en) Time synchronizing device, base station device, and time synchronizing method
US20200382233A1 (en) Information processing apparatus and time synchronization method
JP6707209B1 (en) Time synchronization system, master device, slave device and program
JP6000503B1 (en) Network system, time master station, and time slave station
KR101704324B1 (en) Relay device, communication system and relay method
CN102986237B (en) Display device and display system
US11310026B2 (en) Communication system, communication device, and program
JP2023110410A (en) Communication system, communication method, and program
US20170117980A1 (en) Time synchronization for network device
CN112703705A (en) Communication device, communication system, communication method, and communication program
CN113204516A (en) Method and device for time synchronization of processors
JP2013168884A (en) Time synchronization system, time transmission apparatus, time reception apparatus, time synchronization method and program
US11294421B2 (en) Precision timing between systems
JP2022119409A (en) Information processing device
JP2024011842A (en) Information communication system and information communication device
KR101092850B1 (en) Clock frequency offset compensation method and apparatus for dsrc systems
CN116938374A (en) Time synchronization method, device, equipment, storage medium and vehicle
CN116436555A (en) Time synchronization method and device and distributed network equipment
JP2018137619A (en) Wireless device for synchronization
JP2011234212A (en) Task control device