JP3192925B2 - Serial data converter - Google Patents

Serial data converter

Info

Publication number
JP3192925B2
JP3192925B2 JP15728895A JP15728895A JP3192925B2 JP 3192925 B2 JP3192925 B2 JP 3192925B2 JP 15728895 A JP15728895 A JP 15728895A JP 15728895 A JP15728895 A JP 15728895A JP 3192925 B2 JP3192925 B2 JP 3192925B2
Authority
JP
Japan
Prior art keywords
serial data
time
input
data
output
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.)
Expired - Fee Related
Application number
JP15728895A
Other languages
Japanese (ja)
Other versions
JPH098780A (en
Inventor
文義 村瀬
政昭 滝
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 Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP15728895A priority Critical patent/JP3192925B2/en
Publication of JPH098780A publication Critical patent/JPH098780A/en
Application granted granted Critical
Publication of JP3192925B2 publication Critical patent/JP3192925B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、シリアルデータの入
力信号を異なるプロトコルの信号等に変換するシリアル
データ変換装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial data converter for converting an input signal of serial data into a signal of a different protocol or the like.

【0002】[0002]

【従来の技術】シリアルデータを伝送するとき、送受信
装置間でプロトコルが異なる場合がある。このようなと
き、両装置の間でプロトコル変換を行うシリアルデータ
変換装置が必要となる。
2. Description of the Related Art When transmitting serial data, the protocol may be different between the transmitting and receiving apparatuses. In such a case, a serial data converter for performing protocol conversion between the two devices is required.

【0003】図6は従来一般的なシリアルデータ変換装
置の構成図である。同図において、入力インタフェース
部1に投入されたシリアルデータは、データ変換部2で
変換を受け、出力インタフェース部3から出力される。
FIG. 6 is a block diagram of a conventional general serial data converter. In FIG. 1, serial data input to an input interface unit 1 is converted by a data conversion unit 2 and output from an output interface unit 3.

【0004】このシリアルデータ変換装置によれば、所
定のプロトコル(aと表記)のシリアルデータ(Aと表
記)を入力し、データ変換部2でデータフォーマット等
のプロトコルの変換処理を行った後、そのまま出力イン
タフェース部3から別のプロトコル(bと表記)のシリ
アルデータ(Bと表記)として出力する。このため、シ
リアルデータBの出力タイミングは、シリアルデータ変
換装置の処理速度や内部タイミングに依存する。
According to this serial data conversion device, after inputting serial data (denoted by A) of a predetermined protocol (denoted by a) and performing conversion processing of a protocol such as a data format by the data conversion unit 2, The data is output as it is from the output interface unit 3 as serial data (denoted by B) of another protocol (denoted by b). Therefore, the output timing of the serial data B depends on the processing speed and the internal timing of the serial data converter.

【0005】図7は図6のシリアルデータ変換装置にお
ける入出力動作の一例を示すタイミングチャートであ
る。同図に示す通り、周期taで入力されるシリアルデ
ータAのうち、例えば入力データAn はデータ変換時間
w1 後に出力データBn として出力される。また、入
力データAn+1 はデータ変換時間tw2後に出力データB
n+1 として出力される。
FIG. 7 is a timing chart showing an example of an input / output operation in the serial data converter of FIG. As shown in the figure, of the serial data A input at a cycle ta, for example, input data An is output as output data Bn after a data conversion time tw1 . Further, the input data A n + 1 becomes the output data B after the data conversion time t w2.
Output as n + 1 .

【0006】[0006]

【発明が解決しようとする課題】この従来のシリアルデ
ータ変換装置によれば、主に2つの課題が考えられる。
According to the conventional serial data conversion device, there are mainly two problems.

【0007】(1)出力が非同期になる たとえシリアル入力データAが正時刻に同期したタイミ
ングの周期(ta )で入力インタフェース部1に入力さ
れても、シリアルデータBは正時刻からデータ受信時間
及びデータ変換時間(twn)を経て出力される結果、通
常、その出力周期tbnはta に一致しなくなる。またそ
の周期も、刻々変動する変換時間に従って変動する。
(1) The output becomes asynchronous Even if the serial input data A is input to the input interface unit 1 at a timing cycle (t a ) synchronized with the correct time, the serial data B is not transferred from the correct time to the data reception time. and data conversion time (t wn) is the resulting output through a normally output period t bn will not match the t a. Further, the period also fluctuates according to the ever-changing conversion time.

【0008】(2)変換遅延が発生する データ変換時間(twn)が必要な以上、出力されるデー
タは入力されるデータに対して遅延する。しかし実際に
は、例えば出力データをもとにレーダを制御してロケッ
トを追尾するような場合、シリアルデータ変換装置にリ
アルタイム性が要求される。
(2) A Conversion Delay Occurs The output data is delayed with respect to the input data because the data conversion time ( twn ) is necessary. However, in practice, for example, when a rocket is tracked by controlling a radar based on output data, a real-time property is required for the serial data converter.

【0009】これらの課題に鑑み、本発明の目的は、変
換後のデータの出力タイミングを調整して時刻同期を行
うとともに、データ変換による遅延を捕償するシリアル
データ変換装置を提供することにある。
In view of these problems, an object of the present invention is to provide a serial data conversion device which adjusts the output timing of converted data to perform time synchronization and compensates for delay due to data conversion. .

【0010】[0010]

【課題を解決するための手段】本発明のシリアルデータ
変換装置は、シリアルデータを入力する入力インタフェ
ース手段と、入力されたシリアルデータに所定の変換を
加えるデータ変換手段と、データ変換された後のデータ
をシリアルデータとして出力する出力インタフェース手
段と、上記出力インタフェース手段の出力周期が一定と
なるように、入力されたシリアルデータが該装置内部に
保持される合計の時間である内部保持時間を調整する調
整手段とを備える。
According to the present invention, there is provided a serial data conversion apparatus comprising: an input interface means for inputting serial data; a data conversion means for applying a predetermined conversion to the input serial data ; data
Output interface that outputs data as serial data
And the output cycle of the output interface means is constant.
So that the input serial data is
Key to adjust the internal hold time, which is the total time held
Adjusting means .

【0011】本発明はさらに、前記内部保持時間のとる
べき値を所定保持時間と定義するとき、この所定保持時
間を設定する設定手段を有する。
The present invention further comprises a setting means for setting the predetermined holding time when the value to be taken for the internal holding time is defined as a predetermined holding time.

【0012】本発明はさらに、時刻を計測する手段を有
し、別の態様では、外部から時刻を入力する手段を有す
る。
The present invention further comprises means for measuring time, and in another aspect, means for externally inputting time.

【0013】また本発明は、入力されたシリアルデータ
が該装置内部に保持されている間に、続いて入力される
べきシリアルデータを予測し、この予測結果に従って既
に入力されたデータを補正する補正手段を備える。
According to the present invention, while the input serial data is held in the apparatus, the serial data to be subsequently input is predicted, and the input data is corrected according to the prediction result. Means.

【0014】[0014]

【作用】本発明のシリアルデータ変換装置では、シリア
ルデータが入力され、まず所定の変換が行われる。それ
と前後して、入力されたシリアルデータが該装置内部に
保持される合計時間(内部保持時間)が操作され、デー
タの出力タイミングが調整される。この後、データがシ
リアルデータとして出力される。
In the serial data converter of the present invention, serial data is input and firstly, a predetermined conversion is performed. Before or after that, the total time (internal holding time) during which the input serial data is held inside the device is manipulated, and the data output timing is adjusted. Thereafter, the data is output as serial data.

【0015】また本発明では、内部保持時間のとるべき
値として所定保持時間が設定される。入力された各シリ
アルデータの内部保持時間は、一様に前記所定保持時間
に一致するよう、伸長される。
In the present invention, a predetermined holding time is set as a value to be taken for the internal holding time. The internal holding time of each input serial data is expanded so as to uniformly match the predetermined holding time.

【0016】また本発明では、計測された時刻に基づい
て出力タイミングが調整され、別の態様では、外部から
入力された時刻に基づいて出力タイミングが調整され
る。
In the present invention, the output timing is adjusted based on the measured time, and in another aspect, the output timing is adjusted based on the time inputted from outside.

【0017】さらに本発明では、入力されたシリアルデ
ータが該装置内部に保持されている間に、つぎに入力さ
れるべきシリアルデータが予測され、その予測結果に近
づくよう、すでに装置内にあるデータが補正される。
Further, according to the present invention, while the input serial data is held in the apparatus, the serial data to be input next is predicted, and the data already in the apparatus is approximated to the prediction result. Is corrected.

【0018】このとき、連続して入力された2つのシリ
アルデータの変化をもとに、一次の外挿近似によってつ
ぎのデータが予測される。
At this time, the next data is predicted by a first-order extrapolation based on the change of two serial data input continuously.

【0019】別の態様では、入力された3つ以上のシリ
アルデータの変化に対して最小二乗法が適用され、つぎ
のデータが予測される。
In another aspect, the least squares method is applied to changes in three or more input serial data, and the next data is predicted.

【0020】[0020]

【実施例】実施例1. 本発明の好適な実施例を図面を参照しながら
説明する。
[Embodiment 1 ] Preferred embodiments of the present invention will be described with reference to the drawings.

【0021】図1は実施例1に係るシリアルデータ変換
装置の構成図である。同図において従来と同じ構成には
同じ符号を与えて説明を省略する。実施例1で新たな構
成は以下の通りである。
FIG. 1 is a configuration diagram of the serial data converter according to the first embodiment. In the figure, the same reference numerals are given to the same components as those in the related art, and the description is omitted. The new configuration in the first embodiment is as follows.

【0022】(1)入力データを後述の方法で補正し、
変換遅延を補償する遅延時間補償部4 (2)シリアルデータ入力時刻から出力時刻までの経過
時間、すなわちデータを何らかの形でシリアルデータ変
換装置内部に保持している合計の時間を「内部保持時
間」と定義するとき、この時間として所望の時間(以下
「所定保持時間」という)を設定する所定保持時間設定
部5 (3)内部保持時間が所定保持時間に一致するよう、現
実の内部保持時間を調整し、出力タイミング信号20を
発生する内部保持時間調整部6 (4)前記出力タイミング信号20を契機(トリガ)と
して、変換後データの出力を許可する出力タイミング調
整部7 ここでは、所定保持時間設定部5による所定保持時間が
tに設定されているものとする。所定保持時間は、スイ
ッチにより容易に設定、変更、微調整可能とすることが
できる。つまり、このスイッチをハードウエアで実現す
る場合、ロータリースイッチやディップスイッチ等で時
間を指定すればよいし、ソフトウエアで実現する場合
は、レジスタに値を設定することで指定が可能となる。
(1) Input data is corrected by a method described later,
The delay time compensator 4 for compensating for the conversion delay (2) The elapsed time from the input time of the serial data to the output time, that is, the total time during which the data is held in the serial data converter in some form is referred to as “internal holding time” A predetermined holding time setting unit 5 that sets a desired time (hereinafter, referred to as “predetermined holding time”) as this time. (3) The actual internal holding time is set so that the internal holding time matches the predetermined holding time. An internal holding time adjusting unit 6 that adjusts and generates an output timing signal 20 (4) an output timing adjusting unit 7 that permits output of converted data by using the output timing signal 20 as a trigger. It is assumed that the predetermined holding time by the setting unit 5 is set to t. The predetermined holding time can be easily set, changed, and fine-tuned by a switch. That is, when this switch is realized by hardware, the time may be specified by a rotary switch or a dip switch, and when realized by software, the time can be specified by setting a value in a register.

【0023】ここでまず、遅延時間補償部4を除く構成
による動作を説明する。(データは遅延時間補償部4を
素通りすると仮定する。) 入力インタフェース部1から入力されたプロトコルaの
シリアル入力データAに対し、データ変換部2にてフォ
ーマット等のプロトコル変換を行う。このとき、いずれ
の入力データについても、その内部保持時間が所定保持
時間tと一致するように、内部保持時間調整部6で時間
を伸長し、両者が一致した瞬間に出力タイミング信号2
0を出力タイミング調整部7へ出力する。従って、所定
保持時間tは、変換遅延等、不可避的に発生する遅延時
間の最大値を超えるように設定すべきである。
First, the operation of the configuration excluding the delay time compensating unit 4 will be described. (It is assumed that the data passes through the delay time compensator 4.) The data converter 2 performs protocol conversion such as format on the serial input data A of the protocol a input from the input interface 1. At this time, the internal holding time adjusting section 6 extends the time so that the internal holding time of any of the input data coincides with the predetermined holding time t.
0 is output to the output timing adjustment unit 7. Therefore, the predetermined holding time t should be set so as to exceed the maximum value of the delay time inevitably generated such as the conversion delay.

【0024】一方、出力タイミング調整部7は、出力タ
イミング信号20を契機としてデータを出力インタフェ
ース部3へ出力する。出力タイミング調整部7は、例え
ば、出力タイミング信号20をクロックとするフリップ
フロップ回路とすればよい。この後、出力インタフェー
ス部3よりプロトコルbのシリアルデータBが出力され
る。
On the other hand, the output timing adjusting section 7 outputs data to the output interface section 3 in response to the output timing signal 20. The output timing adjustment unit 7 may be, for example, a flip-flop circuit using the output timing signal 20 as a clock. Thereafter, the output interface unit 3 outputs the serial data B of the protocol b.

【0025】図2は実施例1の入出力動作の一例を示す
タイミングチャートである。周期taで入力されるシリ
アルデータAのうち、例えば入力データAn はプロトコ
ル変換され遅延時間tw 後に出力データBn として出力
される。また、入カデータAn+1 も同様にプロトコル変
換され遅延時間tw後に出力データBn+1 として出力さ
れる。このtwが所定保持時間tであり、これが一定で
あるため、シリアルデータBの出力周期はシリアルデー
タAの入力周期と同一となり、同期関係が維持される。
このように、内部保持時間を調整することにより、課題
(1)を解決することができる。
FIG. 2 is a timing chart showing an example of the input / output operation of the first embodiment. Of serial data A inputted at the period ta, for example, an input data A n it is outputted as the output data B n after protocol conversion by the delay time t w. Further, the converted input Kadeta A n + 1 is similarly protocol is output after the delay time tw as output data B n + 1. This tw is the predetermined holding time t, which is constant, so that the output cycle of the serial data B is the same as the input cycle of the serial data A, and the synchronous relationship is maintained.
Thus, the problem (1) can be solved by adjusting the internal holding time.

【0026】つづいて、遅延時間補償部4の動作を説明
する。
Next, the operation of the delay time compensator 4 will be described.

【0027】遅延時間補償部4は、入力データに発生す
べき変化を予測(換言すれば、次の入力データを予測)
して装置内部で処理中のデータを補正し、見かけの内部
保持時間を0にするものである。すなわち、データを内
部に保持している間に入力データは変化すると考えられ
るため、それ以前の変化の様子から予想される変化をプ
ロトコル変換後のデータに加え、遅延による影響をなく
すものである。補償後のデータは出力タイミング調整部
7へ与えられる。
The delay time compensating unit 4 predicts a change to be generated in the input data (in other words, predicts the next input data).
Then, the data being processed in the apparatus is corrected, and the apparent internal holding time is set to zero. That is, since it is considered that the input data changes while the data is held internally, a change expected from the state of the change before that is added to the data after the protocol conversion, thereby eliminating the influence of the delay. The compensated data is supplied to the output timing adjustment unit 7.

【0028】図3は実施例1における遅延補償動作を示
す図である。ここでは変化の予測を最も単純な一次の外
挿近似で行っている。すなわち、入力データAが時間的
に変化する連続的なデータであり、時刻Tn に有効な入
力データをAn とした場合、まずこれをデータ変換部2
でAn ’へ変換し、つづいて、 Δ=An ’−An-1 ’ をAn ’に加え、これをTn+1 における予測値Bn+1
する。図3でいえば、Bn+1 はAn ’とAn-1 ’を結ぶ
接線上にくる。このために遅延時間補償部4は、連続し
て入力される2つのシリアルデータを一時的に保持する
メモリと、これらのデータの差分Δを計算する減算器、
およびこの差分をAn ’に加える加算器を持つものとす
る。
FIG. 3 is a diagram showing a delay compensation operation in the first embodiment. Here, the change is predicted by the simplest linear extrapolation approximation. That is, if the input data A is continuous data that changes with time and the input data valid at the time T n is A n , the input data A is first converted to the data conversion unit 2.
In A n 'is converted to, subsequently, Δ = A n' 'the A n' -A n-1 addition, this is the predicted value B n + 1 in T n + 1. In FIG. 3, B n + 1 is on the tangent connecting An ′ and An−1 ′. To this end, the delay time compensating unit 4 includes a memory for temporarily storing two serial data that are continuously input, a subtractor for calculating a difference Δ between these data,
And an adder for adding this difference to A n '.

【0029】こうした補正によって見かけの遅延がなく
なるため、遅延時間(Tn −Tn-1)の補償が実現され
る。出力データBn の出力完了タイミングは時刻Tn
一致するよう、出力タイミングが調整される。かかる遅
延補償の結果、前述の課題(2)の解決も可能となる。
Since such an correction eliminates an apparent delay, compensation for the delay time (T n -T n -1 ) is realized. Output completion timing of the output data B n is to match the time T n, the output timing is adjusted. As a result of the delay compensation, the above-mentioned problem (2) can be solved.

【0030】なお、本実施例では一次近似を用いたが、
3以上のAi から最小二乗法によってBn を予測しても
よい。この場合は、前記メモリとして容量の大きなもの
を、また、前記減算器の代わりに最小二乗の計算を行う
演算器を設ければよい。
Although the first-order approximation is used in this embodiment,
It may be predicted to B n by the least square method from 3 or more A i. In this case, a memory having a large capacity may be provided as the memory, and an arithmetic unit for performing least square calculation may be provided instead of the subtractor.

【0031】実施例2.実施例1では内部保持時間が一
定となるようにデータの出力タイミングを調整したが、
実施例2では時刻計測用の内部時計によってタイミング
調整を行う。すなわち実施例2では、内部時計の時刻に
同期して変換後データを出力することより、実施例1同
様の効果を得る。実施例2は遅延時間の補償を目的とす
る。
Embodiment 2 FIG . In the first embodiment, the data output timing is adjusted so that the internal holding time is constant.
In the second embodiment, the timing is adjusted by an internal clock for measuring time. That is, in the second embodiment, the same effect as in the first embodiment is obtained by outputting the converted data in synchronization with the time of the internal clock. Embodiment 2 aims at compensation of delay time.

【0032】図4は実施例2に係るシリアルデータ変換
装置の構成図である。同図における新たな構成は、正し
く時刻合わせされた内部時計8と、データの入力から出
力までに実際にかかってる内部保持時間を算出する内部
保持時間算出部9である。その他は実施例1と同様であ
る。
FIG. 4 is a configuration diagram of a serial data converter according to the second embodiment. The new configuration in the figure is an internal clock 8 whose time has been correctly adjusted, and an internal holding time calculator 9 that calculates an internal holding time actually applied from data input to data output. Others are the same as the first embodiment.

【0033】同図において、内部時計8により、変換後
のデータの出力タイミングを定間隔の時刻に同期させ、
出力タイミング信号20を出力タイミング調整部7へ出
力する。内部保持時間算出部9は、データの入力時刻と
内部時計8が指示する出力時刻から実際の内部保持時間
を算出し、遅延時間補償部4へ出力する。ここで、内部
保持時間を相殺すべく、変換後のデータに対して実施例
1同様の補償を行い、補償後のデータを出力タイミング
調整部7へ出力する。出力タイミング調整部7は、内部
時計8から通知される出力タイミング信号20を契機と
してデータを出力インタフェース部3へ送る。
In FIG. 3, the output timing of the converted data is synchronized with a fixed time by the internal clock 8,
The output timing signal 20 is output to the output timing adjustment unit 7. The internal holding time calculator 9 calculates the actual internal holding time from the data input time and the output time indicated by the internal clock 8, and outputs it to the delay time compensator 4. Here, in order to cancel the internal holding time, the same compensation as in the first embodiment is performed on the converted data, and the compensated data is output to the output timing adjustment unit 7. The output timing adjusting unit 7 sends data to the output interface unit 3 triggered by the output timing signal 20 notified from the internal clock 8.

【0034】図5は実施例2の入出力動作の一例を示す
タイミングチャートである。シリアルデータAのうち、
例えば入力データAn はプロトコル変換され時刻T0
データBn として出力される。また、入力データAn+1
も同様に変換され時刻T1 にデータBn+1 として出力さ
れる。このとき、シリアルデータBの出力タイミングは
正時刻Tnと同期がとれており、シリアルデータAの入
力タイミングに依存しない。
FIG. 5 is a timing chart showing an example of the input / output operation of the second embodiment. Of the serial data A,
For example, the input data A n is output as the data B n at time T 0 is converted protocol. Also, input data A n + 1
Is similarly converted and output as data B n + 1 at time T 1 . At this time, the output timing of the serial data B is synchronized with the normal time Tn, and does not depend on the input timing of the serial data A.

【0035】なお本実施例では、出力タイミングを内部
時計8によって調整したが、この代わりに定間隔の通知
が可能な外部時刻信号を用いてもよい。この場合は、図
4の内部時計8の代わりに、外部時刻信号を入力する外
部時刻インタフェース部(図示せず)を設ければよい。
特に、シリアルデータ変換装置がすでに割り込みタイマ
ー(PIT)やリアルタイムクロック(RTC)等を持
つ場合、この構成の実現は容易かつ効率的である。
In the present embodiment, the output timing is adjusted by the internal clock 8. However, an external time signal capable of notifying at regular intervals may be used instead. In this case, an external time interface unit (not shown) for inputting an external time signal may be provided instead of the internal clock 8 in FIG.
In particular, when the serial data converter already has an interrupt timer (PIT), a real-time clock (RTC), and the like, the realization of this configuration is easy and efficient.

【0036】[0036]

【発明の効果】以上のように、この発明によれば、変換
後データに対し変換遅延補償を行い入力データと同一タ
イミングで出力するので、データ変換に伴う変換遅延、
インタフェースタイミング等の変化を考慮せずにすみ、
シリアルデータ変換装置の出力データである変換後デー
タを変換前データと同様に扱うことができる。
As described above, according to the present invention, the converted data is compensated for the conversion delay and output at the same timing as the input data.
No need to consider changes in interface timing, etc.
The converted data, which is the output data of the serial data converter, can be handled in the same way as the pre-conversion data.

【0037】本発明のシリアルデータ変換装置によれ
ば、データの出力タイミングが調整されるため、出力を
同期化することができる。このため、変換後データの時
刻同期が必要な装置を後段に接続する際に好都合であ
る。
According to the serial data converter of the present invention, the output timing of data is adjusted, so that the output can be synchronized. This is convenient when a device that requires time synchronization of converted data is connected to the subsequent stage.

【0038】また本発明では、所定保持時間を設定する
ことができるため、後段に接続される装置の仕様に合わ
せたデータ変換が可能となる。
Further, according to the present invention, since the predetermined holding time can be set, data conversion can be performed in accordance with the specifications of the device connected at the subsequent stage.

【0039】また本発明では、出力の同期化を装置の持
つ計時手段で行うことができるため、同期化の精度が高
い。
According to the present invention, the output can be synchronized by the timekeeping means of the apparatus, so that the synchronization accuracy is high.

【0040】別の態様では、外部から入力された時刻に
基づいて出力タイミングが調整されるため、本装置自身
は計時手段を持つ必要がなく、設計の簡便化に寄与す
る。
In another aspect, the output timing is adjusted based on the time inputted from the outside, so that the present apparatus itself does not need to have time measuring means, which contributes to simplification of design.

【0041】さらに本発明では、データの補正によって
見かけ上の遅延時間をなくすことができるため、リアル
タイム性を要求されるシリアルデータ変換装置に最適で
ある。
Further, according to the present invention, since an apparent delay time can be eliminated by correcting data, the present invention is most suitable for a serial data converter requiring real-time performance.

【0042】このとき、連続して入力された2つのシリ
アルデータの変化のみでデータの変化を予測することが
でき、設計が容易である。
At this time, a change in data can be predicted only by a change in two serial data input continuously, which facilitates design.

【0043】別の態様では、入力された3つ以上のシリ
アルデータの変化からデータの変化を予測するため、予
測の精度が高い。
In another aspect, a change in data is predicted from a change in three or more input serial data, so that the prediction accuracy is high.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 実施例1に係るシリアルデータ変換装置の構
成図である。
FIG. 1 is a configuration diagram of a serial data conversion device according to a first embodiment.

【図2】 実施例1の入出力動作の一例を示すタイミン
グチャートである。
FIG. 2 is a timing chart illustrating an example of an input / output operation according to the first embodiment.

【図3】 実施例1における遅延補償動作の一例を示す
図である。
FIG. 3 is a diagram illustrating an example of a delay compensation operation according to the first embodiment.

【図4】 実施例2に係るシリアルデータ変換装置の構
成図である。
FIG. 4 is a configuration diagram of a serial data conversion device according to a second embodiment.

【図5】 実施例2の入出力動作を示すタイミングチャ
ートである。
FIG. 5 is a timing chart illustrating an input / output operation according to the second embodiment.

【図6】 従来一般的なシリアルデータ変換装置の構成
図である。
FIG. 6 is a configuration diagram of a conventional general serial data converter.

【図7】 図6のシリアルデータ変換装置における入出
力動作の一例を示すタイミングチャートである。
7 is a timing chart showing an example of an input / output operation in the serial data converter of FIG.

【符号の説明】[Explanation of symbols]

1 入力インタフェース部、2 データ変換部、3 出
力インタフェース部、4 遅延時間補償部、5 所定保
持時間設定部、6 内部保持時間調整部、7出力タイミ
ング調整部、8 内部時計、9 内部保持時間算出部、
10 外部時刻インタフェース部。
1 input interface unit, 2 data conversion unit, 3 output interface unit, 4 delay time compensating unit, 5 predetermined holding time setting unit, 6 internal holding time adjusting unit, 7 output timing adjusting unit, 8 internal clock, 9 internal holding time calculation Department,
10 External time interface unit.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 7/00 H03M 7/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04L 7/00 H03M 7/00

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 シリアルデータを入力する入力インタフ
ェース手段と、入力されたシリアルデータに所定の変換
を加えるデータ変換手段と、データ変換された後のデー
タをシリアルデータとして出力する出力インタフェース
手段と、上記出力インタフェース手段の出力周期が一定
となるように、入力されたシリアルデータが該装置内部
に保持される合計の時間である内部保持時間を調整する
調整手段とを備えたことを特徴とするシリアルデータ変
換装置。
An input interface means for inputting serial data, a data conversion means for applying a predetermined conversion to the input serial data, and a data after the data conversion.
Output interface that outputs data as serial data
Means and the output cycle of the output interface means are constant
So that the input serial data is
Adjust the internal hold time, which is the total time held in
A serial data conversion device comprising an adjustment unit .
【請求項2】 請求項1に記載のシリアルデータ変換装
置において、前記内部保持時間のとるべき所望の値を所
定保持時間と定義するとき、該装置はこの所定保持時間
を設定する設定手段を有し、前記調整手段は、入力され
た各シリアルデータの内部保持時間を伸長することによ
り、その時間を一様に前記所定保持時間に一致させるこ
とを特徴とするシリアルデータ変換装置。
2. The serial data conversion device according to claim 1, wherein when a desired value to be taken by said internal holding time is defined as a predetermined holding time, said device has a setting means for setting said predetermined holding time. A serial data conversion device, wherein the adjusting means extends the internal holding time of each input serial data so that the time uniformly matches the predetermined holding time.
【請求項3】 請求項1に記載のシリアルデータ変換装
置において、該装置はさらに、時刻を計測する手段を有
し、前記調整手段は、計測された時刻に基づいて内部保
持時間を調整することを特徴とするシリアルデータ変換
装置。
3. The serial data converter according to claim 1, further comprising means for measuring a time, wherein said adjusting means stores an internal time based on the measured time.
A serial data converter for adjusting the holding time .
【請求項4】 請求項1に記載のシリアルデータ変換装
置において、該装置はさらに、外部から時刻を入力する
手段を有し、前記調整手段は、入力された時刻に基づい
内部保持時間を調整することを特徴とするシリアルデ
ータ変換装置。
4. The serial data converter according to claim 1, further comprising means for externally inputting a time, wherein said adjusting means adjusts the internal holding time based on the input time . A serial data converter.
【請求項5】 請求項1〜4のいずれかに記載のシリア
ルデータ変換装置において、該装置はさらに、入力され
たシリアルデータが該装置内部に保持されている間に、
続いて入力されるべきシリアルデータを予測し、この予
測結果に従って既に入力されたデータを補正する補正手
段を備えたことを特徴とするシリアルデータ変換装置。
5. The serial data conversion device according to claim 1, wherein said serial data conversion device further comprises:
A serial data conversion apparatus comprising: a correcting unit that predicts serial data to be subsequently input and corrects already input data according to the prediction result.
【請求項6】 請求項5に記載のシリアルデータ変換装
置において、前記補正手段は、連続して入力された2つ
のシリアルデータの変化をもとに、一次の外挿近似によ
って予測を行うことを特徴とするシリアルデータ変換装
置。
6. The serial data conversion device according to claim 5, wherein said correction means performs prediction by linear extrapolation based on a change in two serial data input continuously. Characteristic serial data converter.
【請求項7】 請求項5に記載のシリアルデータ変換装
置において、前記補正手段は、入力された3つ以上のシ
リアルデータの変化に対して最小二乗法を適用し、予測
を行うことを特徴とするシリアルデータ変換装置。
7. The serial data converter according to claim 5, wherein the correction means performs prediction by applying a least squares method to a change of three or more input serial data. Serial data converter.
JP15728895A 1995-06-23 1995-06-23 Serial data converter Expired - Fee Related JP3192925B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15728895A JP3192925B2 (en) 1995-06-23 1995-06-23 Serial data converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15728895A JP3192925B2 (en) 1995-06-23 1995-06-23 Serial data converter

Publications (2)

Publication Number Publication Date
JPH098780A JPH098780A (en) 1997-01-10
JP3192925B2 true JP3192925B2 (en) 2001-07-30

Family

ID=15646385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15728895A Expired - Fee Related JP3192925B2 (en) 1995-06-23 1995-06-23 Serial data converter

Country Status (1)

Country Link
JP (1) JP3192925B2 (en)

Also Published As

Publication number Publication date
JPH098780A (en) 1997-01-10

Similar Documents

Publication Publication Date Title
US5940458A (en) Method and compensating for time error of time/frequency generator using global positioning system
US20230185327A1 (en) Maintaining the correct time when counter values are transferred between clock domains
JP3192925B2 (en) Serial data converter
JP3534457B2 (en) Signal generator
JPH06318189A (en) Method for synchronizing first frame set corresponding to first processor with second frame set corresponding to second processor
US6763401B2 (en) Direct memory access controller
US6760798B1 (en) Interface mechanism and method for interfacing a real-time clock with a data processing circuit
KR101991864B1 (en) Method and apparatus of correcting clock frequency of eliminating error in converting sub-nano second into nano second unit
US20240039819A1 (en) Circuit and Method for Timestamp Filtering with Input/Output Format Conversion
US20240048469A1 (en) Circuit and Method for Timestamp Jitter Reduction
JP2666724B2 (en) Time calibration device
JP3487055B2 (en) Input signal synchronization processor
JP2006148691A (en) Distortion compensation device
US20240039822A1 (en) Circuit and Method for Timestamp Filtering with RLS Filter
JPH0844457A (en) Master/slave information processor
JPH07301685A (en) Clock circuit
JP2959505B2 (en) Data transmission circuit
JP3252298B2 (en) Sampling rate converter
JP4225741B2 (en) DTMF signal generator
JP2537194B2 (en) Zero correction circuit for digital / synchronous converter
JPH066618Y2 (en) Electronic receiver
JPH08129428A (en) Clock signal supply system
JP2000201129A (en) Guard interval correlator and its correlation acquiring method
CN114513273A (en) Method and device for realizing PTP chip clock module
TW202321935A (en) Synchronization correction method, master device and slave device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees