JPH03192934A - Response signal sampling method - Google Patents
Response signal sampling methodInfo
- Publication number
- JPH03192934A JPH03192934A JP1331211A JP33121189A JPH03192934A JP H03192934 A JPH03192934 A JP H03192934A JP 1331211 A JP1331211 A JP 1331211A JP 33121189 A JP33121189 A JP 33121189A JP H03192934 A JPH03192934 A JP H03192934A
- Authority
- JP
- Japan
- Prior art keywords
- response signal
- timing
- sampled
- signal
- sample timing
- 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.)
- Granted
Links
Landscapes
- Small-Scale Networks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、周期的に発生するタイミング信号を子局へ送
り、このタイミング信号に促されて子局より返送されて
くる応答信号を、そのタイミング信号に対し所定時間遅
れたサンプルタイミングにてサンプリングする応答信号
サンプリング方法に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention sends a periodically generated timing signal to a slave station, and responds to the response signal that is returned from the slave station in response to the timing signal. The present invention relates to a response signal sampling method for sampling at a sample timing delayed by a predetermined time with respect to a timing signal.
従来より、第2図に示すように、親局1より伸びた伝送
路りに子局としての通信インターフェイス2−1〜L、
を各個に接続し、これら通信インターフェイス2−1〜
2−hでの情報を、親局1からの送信要求に応答して返
送するようにした通信システムが知られている。Conventionally, as shown in FIG. 2, communication interfaces 2-1 to 2-L, which serve as slave stations, are connected to a transmission path extending from a master station 1.
are connected to each of these communication interfaces 2-1 to 2-1.
A communication system is known in which information sent in 2-h is returned in response to a transmission request from the master station 1.
通信インターフェイス2−t〜2.、.1は、温度セン
サ、湿度センサ、煙センサ、防犯センサ等のセンサ部2
−0〜2−1とドライバ・レシーバ部2−12〜2−.
.tとを備え、センサ部2−8〜2−0にて検出した情
報を応答データとし、この応答データを親局1からの送
信要求に応じて返送する。Communication interface 2-t~2. ,. 1 is a sensor section 2 such as a temperature sensor, humidity sensor, smoke sensor, security sensor, etc.
-0 to 2-1 and driver/receiver sections 2-12 to 2-.
.. t, uses the information detected by the sensor units 2-8 to 2-0 as response data, and returns this response data in response to a transmission request from the master station 1.
第3図(a)は親局1が通信インターフェイス2〜2−
7へ送るタイミング信号(同期信号)TXを示し、この
タイミング信号TXは所定周期T、にて発生する。すな
わち、親局lにより指定された通信インターフェイスが
、周期的に発生し送られてくるタイミング信号TXの立
ち下がりエツジ毎に、その応答データの各ビットを応答
信号として親局lへ返送する。親局lでは、通信インタ
ーフェイスからの応答データを受信データRXとして受
信しく第3図(b))、この受信データRXの各ビット
すなわち各応答信号のレベルを、そのタイミング信号T
Xの立ち下がりエツジに対し所定時間t1だけ遅れたサ
ンプルタイミングPlにてサンプリングする。In FIG. 3(a), the master station 1 uses communication interfaces 2 to 2-.
This timing signal TX is generated at a predetermined period T. That is, the communication interface specified by the master station 1 returns each bit of the response data as a response signal to the master station 1 at every falling edge of the periodically generated and sent timing signal TX. The master station 1 receives response data from the communication interface as reception data RX (Fig. 3(b)), and changes the level of each bit of this reception data RX, that is, the level of each response signal, to its timing signal T.
Sampling is performed at a sample timing Pl delayed by a predetermined time t1 with respect to the falling edge of X.
しかしながら、このような従来のサンプリング方法によ
ると、例えば指定された通信インターフェイスと親局l
との伝送距離が長い場合、第3図(b)に−点鎖線で示
すように、親局1への応答信号が大きく遅れて入力され
ることがある。このような場合、親局lでは、その応答
信号のレベルを通常のサンプルタイミングP、にてサン
プリングすることができず、信穎性の低下を招くもので
あった。However, according to such conventional sampling methods, for example, a specified communication interface and a master station
If the transmission distance between the main station 1 and the main station 1 is long, the response signal to the master station 1 may be input with a large delay, as shown by the dashed line in FIG. 3(b). In such a case, the master station I cannot sample the level of the response signal at the normal sampling timing P, resulting in a decrease in reliability.
本発明はこのような課題を解決するためになされたもの
で、最初にサンプリングされるべき所定の応答信号をサ
ンプルタイミングP、にてサンプリングすることができ
なかった場合、以降、タイミング信号TXの発生周期を
伸ばすと共に、サンプルタイミングPlに対し所定時間
遅れた第2のサンプルタイミングP、を定め、この第2
のサンプルタイミングPRでも応答信号のサンプリング
を行うようにしたものである。The present invention has been made to solve such problems, and when a predetermined response signal that should be sampled first cannot be sampled at sample timing P, the generation of timing signal TX is In addition to extending the period, a second sample timing P delayed by a predetermined time with respect to the sample timing Pl is determined.
The response signal is also sampled at the sample timing PR.
したがってこの発明によれば、最初にサンプリングされ
るべき所定の応答信号として例えばスタートビットをサ
ンプリングすることができなかった場合、以降、タイミ
ング信号TXの発生周期が伸びると共に、第1のサンプ
ルタイミングP、に加えて、第2のサンプルタイミング
P、でも応答信号のサンプリングが行われる。Therefore, according to the present invention, if, for example, the start bit cannot be sampled as a predetermined response signal to be sampled first, the generation period of the timing signal TX is lengthened and the first sample timing P, In addition, the response signal is sampled at the second sampling timing P.
以下、本発明に係る応答信号サンプリング方法を詳細に
説明する。Hereinafter, the response signal sampling method according to the present invention will be explained in detail.
第1図(alおよび伽)はこの応答信号サンプリング方
法の一実施例を説明するためのタイムチャートであり、
従来方法として示した第3図(a)およびib)に対応
する。FIG. 1 (al and ka) is a time chart for explaining one embodiment of this response signal sampling method,
This corresponds to FIGS. 3(a) and ib) shown as the conventional method.
すなわち、今、指定された通信インターフェイスと親局
との伝送距離が長く、親局への応答信号が大きく遅れて
入力されるものとする。この場合、親局では、最初にサ
ンプリングされるべき所定の応答信号としてrlJレベ
ルのスタートビット(#ST)を、通常のサンプルタイ
ミングpt (第3図に示す38点)にてサンプリン
グしようとする。しかし、親局への応答信号が大きく遅
れて入力されることから、通常のサンプルタイミングP
+では、スタートビットを検出することができない。That is, it is assumed that the transmission distance between the designated communication interface and the master station is long, and a response signal to the master station is input with a large delay. In this case, the master station attempts to sample the rlJ level start bit (#ST) as a predetermined response signal to be sampled first at the normal sampling timing pt (38 points shown in FIG. 3). However, since the response signal to the master station is input with a long delay, the normal sample timing P
+, the start bit cannot be detected.
この場合、親局では、タイミング信号TXの発生周期を
伸ばしてT2とすると共に、通常のサンプルタイミング
P+に対して所定時間t、たけ遅れた第2のサンプルタ
イミングPg (第3図に示すす3点)を定め、この
第2のサンプルタイミングP!でも応答信号のサンプリ
ングを行う、なお、本実施例においては、タイミング信
号TXの通常の発生周期TIを1ビツトとし、この1ビ
ツトに対し半ビット伸ばした1、5ビツトを発生周期T
2としている。また、サンプルタイミングP、に対し半
ビット遅れた時点として、第2のサンプルタイミングP
!を定めている。In this case, the master station extends the generation period of the timing signal TX to T2, and also sets a second sample timing Pg delayed by a predetermined time t with respect to the normal sample timing P+ (see Figure 3). point), and this second sample timing P! However, in this embodiment, the normal generation period TI of the timing signal TX is assumed to be 1 bit, and this 1 bit is extended by half a bit to obtain the generation period T.
It is set at 2. In addition, the second sample timing P is a time point delayed by half a bit with respect to the sample timing P.
! has been established.
すなわち、本実施例によるサンプリング方法によれば、
上記第2のサンプルタイミングP8にてrHJレベルの
スタートビットを検出し、以降、T!なる発生周期のタ
イミング信号TXの基に、通常のサンプルタイミングP
、に加えて第2のサンプルタイミングPgでも応答信号
のサンプリングを行い、サンプルタイミングP、でのサ
ンプリングレベルとサンプルタイミングP1でのサンプ
リングレベルとの論理和を正しいサンプリングレベルと
して採用することにより、親局への応答信号が大きく遅
れて入力される場合であっても、その応答信号の確実な
サンプリングが可能となり、従来の方法に比してその信
幀性が大きく向上する。That is, according to the sampling method according to this embodiment,
The rHJ level start bit is detected at the second sample timing P8, and thereafter, T! Based on the timing signal TX with the generation period, the normal sample timing P
, the response signal is sampled at the second sampling timing Pg in addition to , and the logical sum of the sampling level at sample timing P and the sampling level at sample timing P1 is adopted as the correct sampling level. Even if a response signal is input with a large delay, the response signal can be reliably sampled, and its reliability is greatly improved compared to conventional methods.
なお、第1のサンプルタイミングPIにてスタートビッ
トを検出し得ない場合、第2のサンプルタイミングP2
での応答信号のサンプリングレベルを常に正しいものと
して採用してもよいが、サンプルタイミングP1でのサ
ンプリングレベルとの論理和をとることにより、例えば
、途中でその応答信号の入力の遅れが復旧したとしても
、またその応答信号の入力の遅れがサンプルタイミング
P、およびP2を前後する微妙な遅れであったとしても
、確実かつ正確なサンプリング結果を得ることができる
ようになる。Note that if the start bit cannot be detected at the first sample timing PI, the second sample timing P2
The sampling level of the response signal at P1 may be always adopted as the correct one, but by calculating the logical sum with the sampling level at sample timing P1, for example, if the input delay of the response signal is recovered midway, Also, even if the delay in the input of the response signal is a slight delay before and after the sample timings P and P2, reliable and accurate sampling results can be obtained.
以上説明したよ・うに本発明による応答信号サンプリン
グ方法によると、最初にサンプリングされるべき所定の
応答信号をサンプルタイミングP。As explained above, according to the response signal sampling method according to the present invention, a predetermined response signal to be sampled first is sampled at the sample timing P.
にてサンプリングすることができなかった場合、以降、
タイミング信号TXの発止周期を伸ばすと共に、サンプ
ルタイミングP、に対し所定時間遅れた第2のサンプル
タイミングP8を定め、この第2のサンプルタイミング
pgでも応答信号のサンプリングを行うようにしたので
、その応答信号の確実なサンプリングが可能となり、従
来の方法に比してその信鯨性が大きく向上する。If it is not possible to sample at
In addition to extending the generation period of the timing signal TX, a second sample timing P8 is set that is delayed by a predetermined time with respect to the sample timing P, and the response signal is sampled at this second sample timing pg as well. It becomes possible to reliably sample the response signal, and its reliability is greatly improved compared to conventional methods.
第1図は本発明に係る応答信号サンプリング方法の一実
施例を説明するためのタイミング信号TXと受信データ
RXとの関係を示すタイムチャート、第2図は各個に接
続した通信インターフェイスでの情報を親局からの送信
要求に応答して返送するようにした通信システムを示す
図、第3図は従来の応答信号サンプリング方法を説明す
るためのタイミング信号TXと受信データRXとの関係
を示すタイムチャートである。FIG. 1 is a time chart showing the relationship between the timing signal TX and the received data RX to explain an embodiment of the response signal sampling method according to the present invention, and FIG. 2 is a time chart showing the relationship between the timing signal TX and the received data RX, and FIG. FIG. 3 is a time chart showing the relationship between timing signal TX and received data RX to explain the conventional response signal sampling method. It is.
Claims (1)
イミング信号に促されて子局より返送されてくる応答信
号を、そのタイミング信号に対し所定時間遅れたサンプ
ルタイミングにてサンプリングする応答信号サンプリン
グ方法において、最初にサンプリングされるべき所定の
応答信号を前記サンプルタイミングにてサンプリングす
ることができなかった場合、以降、前記タイミング信号
の発生周期を伸ばすと共に、前記サンプルタイミングに
対し所定時間遅れた第2のサンプルタイミングを定め、
この第2のサンプルタイミングでも応答信号のサンプリ
ングを行うようにしたことを特徴とする応答信号サンプ
リング方法。A response signal sampling method in which a periodically generated timing signal is sent to a slave station, and a response signal prompted by the timing signal and returned from the slave station is sampled at a sample timing delayed by a predetermined time with respect to the timing signal. In this case, if the predetermined response signal that should be sampled first cannot be sampled at the sample timing, the generation cycle of the timing signal is lengthened, and the second response signal delayed by a predetermined time with respect to the sample timing is Determine the sample timing of
A response signal sampling method characterized in that the response signal is sampled at this second sampling timing as well.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1331211A JPH0750893B2 (en) | 1989-12-22 | 1989-12-22 | Response signal sampling method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1331211A JPH0750893B2 (en) | 1989-12-22 | 1989-12-22 | Response signal sampling method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03192934A true JPH03192934A (en) | 1991-08-22 |
| JPH0750893B2 JPH0750893B2 (en) | 1995-05-31 |
Family
ID=18241140
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1331211A Expired - Lifetime JPH0750893B2 (en) | 1989-12-22 | 1989-12-22 | Response signal sampling method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0750893B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5777408B2 (en) * | 2011-05-30 | 2015-09-09 | キヤノン株式会社 | Fused polycyclic compound and organic light emitting device using the same |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63110848A (en) * | 1986-10-29 | 1988-05-16 | Nec Corp | Coding signal input system |
-
1989
- 1989-12-22 JP JP1331211A patent/JPH0750893B2/en not_active Expired - Lifetime
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63110848A (en) * | 1986-10-29 | 1988-05-16 | Nec Corp | Coding signal input system |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0750893B2 (en) | 1995-05-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6535926B1 (en) | Time synchronization system for industrial control network using global reference pulses | |
| US20030123491A1 (en) | Method and system for time synchronization | |
| CN113301508A (en) | Aircraft position estimation and deception detection method | |
| JPH08256161A (en) | Time information synchronizing system for network | |
| EP1335520A1 (en) | Multiplex bus system with duty cycle correction | |
| CN107666360B (en) | Train system time synchronization control method and device | |
| JPH03192934A (en) | Response signal sampling method | |
| US20050041765A1 (en) | Synchronization of data-processing units | |
| WO2025140670A1 (en) | Clock synchronization method and system, and electronic device and storage medium | |
| CN110535550A (en) | Clock synchronization method, device, equipment and storage medium | |
| JPH03503352A (en) | wireless transceiver | |
| CN120049992B (en) | Sensor timing synchronization method and system in local area network | |
| CN120568465B (en) | High-speed refresh positioning method and system based on wireless signal processing | |
| CN117295039B (en) | A time synchronization device and method in a device | |
| JP3139480B2 (en) | Time distribution system using time division communication method | |
| Mehmed et al. | Deterministic ethernet: Addressing the challenges of asynchronous sensing in sensor fusion systems | |
| JP3218690B2 (en) | Time synchronization method for data transmission system | |
| JPH05268213A (en) | FM multiplex broadcast receiver | |
| JPS6015179B2 (en) | Signal synchronization method | |
| JP3590675B2 (en) | Method of synchronizing counter of slave unit in distributed system by serial communication | |
| CN118784134A (en) | Time calibration method for sensor data, vehicle controller and vehicle | |
| CN121966779A (en) | A method, system, and application for multi-source redundant time synchronization in an intelligent driving system. | |
| CN121603138A (en) | Synchronization method and equipment for network system time synchronization | |
| CN121750132A (en) | Vehicle time synchronization methods, devices, storage media, and vehicles | |
| CN117749333A (en) | Double-channel-based data packet multi-beat retransmission redundancy communication design method |