JPH0479199B2 - - Google Patents
Info
- Publication number
- JPH0479199B2 JPH0479199B2 JP62179229A JP17922987A JPH0479199B2 JP H0479199 B2 JPH0479199 B2 JP H0479199B2 JP 62179229 A JP62179229 A JP 62179229A JP 17922987 A JP17922987 A JP 17922987A JP H0479199 B2 JPH0479199 B2 JP H0479199B2
- Authority
- JP
- Japan
- Prior art keywords
- frequency
- input signal
- pulse
- sampling
- section
- 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 - Lifetime
Links
Landscapes
- Selective Calling Equipment (AREA)
- Small-Scale Networks (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、周波数によるポーリング/セレク
テイング方式を用いたデータ送信装置に関するも
のである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transmitting device using a frequency-based polling/selecting method.
第5図に示すように、遠隔地にある複数の端末
1を独立して駆動することによつてデータを収集
する場合、共通の制御線2を設け、各端末1に対
してそれぞれ異なる特定の周波数の信号を制御部
3から送出した時にその特定の周波数に対応する
端末1が動作するように構成することが一般的に
行われる。
As shown in FIG. 5, when collecting data by independently driving a plurality of terminals 1 in remote locations, a common control line 2 is provided, and each terminal 1 is connected to a different specific control line. Generally, when a frequency signal is sent from the control unit 3, the terminal 1 corresponding to that specific frequency operates.
そして、これらの各端末1における周波数の識
別は、従来、メカニカルフイルタ等を用いて行わ
れていた。 Conventionally, frequency identification in each of these terminals 1 has been performed using a mechanical filter or the like.
上記のような従来のメカニカルフイルタ等を用
いた周波数識別回路では応答周波数が変わる毎に
部品の変更を行わなければならず、コストの低減
化を図ることができなかつた。また、共通の部品
を用いることができないため、故障時等のために
周波数の種類分だけ予備品を備えておく必要があ
るという問題点があつた。
In the conventional frequency identification circuit using a mechanical filter or the like as described above, parts have to be changed every time the response frequency changes, making it impossible to reduce costs. Furthermore, since common parts cannot be used, there is a problem in that it is necessary to have spare parts for each type of frequency in case of failure.
この発明は、かかる問題点を解決するためにな
されたもので、部品の共通化を図つたデータ送信
装置を得ることを目的とする。 The present invention was made to solve this problem, and an object of the present invention is to provide a data transmitting device that uses common parts.
この発明に係るデータ送信装置は、ポーリング
方式により、割り当てられた自己の周波数を設定
するための周波数設定部と;サンプリングパルス
により入力信号のパルスの変化点を検出し、その
変化点からサンプリングパルスを自己の周波数に
より定められた所定数(N回)計数し、該入力信
号のパルスの中央点とするパルス頭出し手段と、
該パルス頭出し手段により検出された入力信号の
パルスの中央点から前記周波数設定部で設定され
た周波数に対応した周期で前記入力信号のパルス
のサンンプリングを行い、取り込んだレベルが前
記中央点のレベルと異なる場合に、エラーを出力
するサンプリングレベル判定手段と、前記周波数
設定部で設定された周波数に対応した測定時間を
計時するタイマ手段と、1回の測定時間毎に、前
記周波数設定部で設定された周波数に対応したエ
ラー限界値と、前記サンプリングレベル判定手段
から出力されたエラーのカウンント値との比較を
行い、前記エラーのカウント値が前記エラー限界
値よりも小である場合に、前記設定された周波数
と判別し、トリガを出力する演算処理手段を備え
た制御部と;入力信号が検出されたときに、前記
制御部を起動する入力信号検出部と;外部からの
データを取り込むデータインタフエース部と;前
記制御部からのトリガを受けて前記データインタ
フエース部に電源を投入するスイツチング回路
と;前記データインタフエース部からの出力を送
信する送信回路とを備えたものである。
The data transmitting device according to the present invention includes a frequency setting section for setting its own assigned frequency using a polling method; detecting a changing point of a pulse of an input signal using a sampling pulse; and detecting a changing point of a pulse of an input signal using a sampling pulse; Pulse cue means that counts a predetermined number (N times) determined by its own frequency and sets the center point of the pulse of the input signal;
The pulses of the input signal are sampled at a period corresponding to the frequency set by the frequency setting section from the center point of the pulse of the input signal detected by the pulse cueing means, and the acquired level is at the center point. a sampling level determination means for outputting an error when the frequency is different from the level; a timer means for measuring a measurement time corresponding to the frequency set by the frequency setting section; The error limit value corresponding to the set frequency is compared with the error count value output from the sampling level determination means, and if the error count value is smaller than the error limit value, the a control unit that includes arithmetic processing means that determines a set frequency and outputs a trigger; an input signal detection unit that activates the control unit when an input signal is detected; data that imports data from the outside. The device includes an interface section; a switching circuit that turns on power to the data interface section in response to a trigger from the control section; and a transmitting circuit that transmits the output from the data interface section.
この発明においては、入力信号が検出されると
入力信号検出部により制御部が起動され、制御部
内のパルス頭出し手段が入力信号のパルスの山ま
たは谷の中心部分を検出し、サンプリングレベル
判定手段は、この時点からサンプリングを開始す
るとともに、取り込んだレベルが基準値と異なる
場合にエラーを出力する。また、タイマ手段によ
る計時がタイムアウトとなつた時、演算処理手段
はエラー限界値とエラーのカウント値との比較を
行い、エラーのカウント値がエラー限界値よりも
小である場合に周波数の一致を示すトリガを出力
する。そして、このトリガがスイツチング回路に
供給されると、データインタフエース部に電源が
投入されてデータの取り込みが行われ、この出力
が送信回路により送信される。
In this invention, when the input signal is detected, the control section is activated by the input signal detection section, the pulse cue means in the control section detects the central part of the peak or valley of the pulse of the input signal, and the sampling level determination means starts sampling from this point, and outputs an error if the captured level differs from the reference value. Furthermore, when the timer means times out, the arithmetic processing means compares the error limit value and the error count value, and determines that the frequencies match if the error count value is smaller than the error limit value. Outputs the trigger shown. Then, when this trigger is supplied to the switching circuit, power is turned on to the data interface section, data is taken in, and this output is transmitted by the transmitting circuit.
第1図はこの発明のデータ送信装置の一実施例
の構成を示す図である。この図において、10は
フイルタ回路、11はパルス波形を生成するリミ
ツタアンプ、12は入力信号検出部、13は、例
えばデイツプスイツチを用いた周波数設定部、1
4はCPUを用いた制御部で、パルス頭出し手段,
サンプリングレベル判定手段,タイマ手段および
演算処理手段を備えている。15は定電圧回路、
16はインタフエース、17はスイツチング回
路、18はデータインタフエース部、19は送信
回路である。
FIG. 1 is a diagram showing the configuration of an embodiment of a data transmitting device of the present invention. In this figure, 10 is a filter circuit, 11 is a limiter amplifier that generates a pulse waveform, 12 is an input signal detection section, 13 is a frequency setting section using, for example, a dip switch, 1
4 is a control unit using a CPU, which includes pulse cue means,
It includes a sampling level determination means, a timer means, and an arithmetic processing means. 15 is a constant voltage circuit;
16 is an interface, 17 is a switching circuit, 18 is a data interface section, and 19 is a transmitting circuit.
次に動作について説明する。 Next, the operation will be explained.
フイルタ回路10は、入力信号検出部12によ
つて入力信号が検出された時に起動される制御部
14が、周波数設定部13で設定された周波数と
入力信号の周波数が同一か否かの判別を行い、同
一であると判別した場合にのみトリガを送出して
スイツチング回路17を起動する。これによりデ
ータインタフエース部18が動作可能となる。そ
して、データインタフエース部18で検出された
データは送信回路19,インタフエース16を介
して外部へと送出される。 The filter circuit 10 has a control unit 14 activated when an input signal is detected by the input signal detection unit 12 to determine whether the frequency set by the frequency setting unit 13 and the frequency of the input signal are the same. and only when it is determined that they are the same, a trigger is sent out to activate the switching circuit 17. This enables the data interface unit 18 to operate. The data detected by the data interface unit 18 is sent to the outside via the transmitting circuit 19 and the interface 16.
ここで、制御部14による周波数の判別(フイ
ルタ動作)について説明する。 Here, frequency discrimination (filter operation) by the control unit 14 will be explained.
まず、入力信号検出部12の出力を受けると制
御部14内のパルス頭出し手段が起動し、第2図
に示すように、入力パルスの小きざみなサンプリ
ングを行つてレベル変動の少ない、例えばパルス
山(または谷)のほぼ中心を検出する。具体的に
は第3図aのフローチヤートに示すように、M回
のレベル判定を行つてパルスの変化点であるパル
スの立ち上がりを検出したあと、その立ち上がり
点からあらかじめ周波数設定部13で設定されて
いる周波数に対応して記憶されている回数(N
回)レベル判定を行つて、入力信号が割り当てら
れた自己の周波数のとき、パルスの山のほぼ中央
となる中央点をパルス頭出し手段により検出す
る。そしてこの時点で第3図bのフローチヤート
に示されるサンプリングレベル判定手段,タイマ
手段および演算処理手段を実現するためのプログ
ラムのステツプ(2)以降が実行されるようになる。 First, upon receiving the output of the input signal detection section 12, the pulse cue means in the control section 14 is activated, and as shown in FIG. Detect approximately the center of a mountain (or valley). Specifically, as shown in the flowchart of FIG. 3a, after detecting the rising edge of the pulse, which is the changing point of the pulse, by performing M level determinations, the frequency is set in advance by the frequency setting unit 13 from that rising point. The number of times (N
(3) Level determination is performed, and when the input signal is at the assigned own frequency, the pulse cue means detects the center point that is approximately the center of the pulse peak. At this point, steps (2) and subsequent steps of the program for realizing the sampling level determining means, timer means, and arithmetic processing means shown in the flowchart of FIG. 3B are executed.
ここでは、サンプリングレベル判定手段とは、
パルスの山(または谷)のほぼ中心から設定され
た周波数と等しい周波数(または周期が整数倍)
で入力信号のサンプリングを行い、取り込んだレ
ベルが“H”か“L”かの判定を行う手段であ
る。 Here, the sampling level determination means is
A frequency equal to the frequency set from approximately the center of the peak (or valley) of the pulse (or the period is an integral multiple)
This is a means for sampling an input signal and determining whether the input level is "H" or "L".
この実施例では、上記のようにパルス頭出し手
段によりパルスの山(“H”)の中心を始点として
サンプリングを行つているので、少なくとも周波
数設定部13で設定された周波数の信号が入力さ
れた場合、取り込まれるレベルは、例えば第4図
aに示すように時間の経過によらず常に基準値
“H”となるはずである。 In this embodiment, as described above, sampling is performed using the center of the pulse peak ("H") as the starting point by the pulse cue means, so that at least a signal of the frequency set by the frequency setting section 13 is input. In this case, the level taken in should always be the reference value "H" regardless of the passage of time, as shown in FIG. 4a, for example.
また、演算処理手段とは、第4図bに示すよう
に、取り込まれるレベルが常に“H”とならない
場合には、その都度、これをエラーとしてカウン
トしておき、タイマ手段によつて1回の測定時間
が終了した時点でエラーのカウント値があらかじ
め設定されたエラー限界値よりも小さい場合に設
定された周波数と、同一の周波数であると判別し
てトリガを出力する手段である。 In addition, as shown in Figure 4b, the arithmetic processing means means that when the input level is not always "H", each time this occurs, it is counted as an error, and the timer means is used to process the error once. When the error count value is smaller than a preset error limit value at the end of the measurement time, the frequency is determined to be the same as the set frequency, and a trigger is output.
次に、サンプリングレベル判定手段,タイマ手
段および演算処理手段を実現するための第3図b
に示したフローチヤートについて説明する。 Next, FIG.
The flowchart shown in will be explained.
ステツプ(1)で上述したようなパルス頭出しが行
われたのち、サンプリングが開始される(ステツ
プ(2))。そして、そのレベルが“H”であれば、
第3図aに示したようなサブルーチンによつて1
周期分遅延を行う(ステツプ(5))とともに、タイ
マのカウント値をインクリメントする(ステツプ
(6))。 After the above-mentioned pulse search is performed in step (1), sampling is started (step (2)). And if the level is “H”,
1 by a subroutine as shown in Figure 3a.
At the same time, the timer count value is incremented (step (5)).
(6)).
一方、ステツプ(2)で“H”でないと判定されれ
ばステツプ(4)に進み、エラーのカウント値をイン
クリメントしたのちステツプ(5)に進む。 On the other hand, if it is determined in step (2) that the level is not "H", the process proceeds to step (4), where the error count value is incremented, and then the process proceeds to step (5).
そして、ステツプ(7)でタイムアウトと判定され
るまでステツプ(2)〜ステツプ(6)を繰り返し、ステ
ツプ(7)でタイムアウトと判定されればステツプ(8)
へ進み、エラー数のカウント値がエラー限界値よ
り大であるか否かが判定される。そして、大であ
ると判定されなければトリガを出力する。すなわ
ち、特定の周波数に対してのみフイルタとして動
作することになる。 Then, steps (2) to (6) are repeated until a timeout is determined in step (7), and if a timeout is determined in step (7), step (8) is executed.
Then, it is determined whether the count value of the number of errors is greater than the error limit value. Then, if it is not determined that the value is large, a trigger is output. In other words, it operates as a filter only for specific frequencies.
したがつて、第1図に示したこの発明のデータ
送信装置を第5図に示したシステムに適用した場
合、各端末1内のデータ送信装置が同一の構成の
ものでよくなるため、部品の共通化が図れ、コス
トの低減も可能になるうえ、メンテナンスも容易
になる。また、CPUを用いてソフト的に処理で
きるので、小型化が図れ、低周波のクロツクでも
短い判別時間を実現でき、消費電力を低く抑える
ことができる。 Therefore, when the data transmission device of the present invention shown in FIG. 1 is applied to the system shown in FIG. This makes it possible to reduce costs, and also makes maintenance easier. In addition, since processing can be performed in software using a CPU, it is possible to achieve miniaturization, short determination times can be achieved even with a low frequency clock, and power consumption can be kept low.
ポーリング方式により、割り当てられた自己の
周波数を設定するための周波数設定部と;サンプ
リングパルスにより入力信号のパルスの変化点を
検出し、その変化点からサンプリングパルスを自
己の周波数により定められた所定数(N回)計数
し、該入力信号のパルスの中央点とするパルス頭
出し手段と、該パルス頭出し手段により検出され
た入力信号のパルスの中央点から前記周波数設定
部で設定された周波数に対応した周期で前記入力
信号のパルスのサンンプリングを行い、取り込ん
だレベルが前記中央点のレベルと異なる場合に、
エラーを出力するサンプリングレベル判定手段
と、前記周波数設定部で設定された周波数に対応
した測定時間を計時するタイマ手段と、1回の測
定時間毎に、前記周波数設定部で設定された周波
数に対応したエラー限界値と、前記サンプリング
レベル判定手段から出力されたエラーのカウンン
ト値とを比較を行い、前記エラーのカウント値が
前記エラー限界値よりも小である場合に、前記設
定された周波数と判別し、トリガを出力する演算
処理手段を備えた制御部と;入力信号が検出され
たときに、前記制御部を起動する入力信号検出部
と;外部からのデータを取り込むデータインタフ
エース部と;前記制御部からのトリガを受けて前
記データインタフエース部に電源を投入するスイ
ツチング回路と;前記データインタフエース部か
らの出力を送信する送信回路とを備えたので、周
波数の判別が能動的に行われ、それぞれ異なる周
波数の入力信号に対応して動作するデータ送信装
置を全て同一の部品で構成することができるた
め、コストが低減化され、メンテナンスも容易に
なるという効果がある。
A frequency setting section for setting the assigned own frequency using a polling method; detects a changing point of the input signal pulse using a sampling pulse, and sends a sampling pulse from that changing point to a predetermined number determined by the own frequency; (N times) and sets the center point of the pulse of the input signal as the center point of the pulse of the input signal; The pulses of the input signal are sampled at the corresponding period, and if the captured level is different from the level at the center point,
sampling level determination means for outputting an error; timer means for timing a measurement time corresponding to the frequency set by the frequency setting section; and timer means for measuring a measurement time corresponding to the frequency set by the frequency setting section for each measurement time. The error limit value is compared with the error count value output from the sampling level determining means, and if the error count value is smaller than the error limit value, the frequency is determined to be the set frequency. and a control section including an arithmetic processing means for outputting a trigger; an input signal detection section for activating the control section when an input signal is detected; a data interface section for taking in data from the outside; Since it includes a switching circuit that turns on power to the data interface section in response to a trigger from the control section; and a transmitting circuit that transmits the output from the data interface section, frequency discrimination is actively performed. , the data transmitting devices that operate in response to input signals of different frequencies can all be constructed from the same parts, which has the effect of reducing costs and facilitating maintenance.
第1図はこの発明のデータ送信装置の一実施例
の構成を示した図、第2図は頭出し動作を説明す
るための図、第3図a,bは動作を説明するため
のフローチヤート、第4図a,bはサンプリング
の一例を説明するための図、第5図はデータ収集
システムを説明するための模式図である。
図中、1は端末、2は制御線、3は制御部、1
0はフイルタ回路、11はリミツタアンプ、12
は入力信号検出部、13は周波数設定部、14は
制御部、15は定電圧回路、16はインタフエー
ス部、17はスイツチング回路、18はデータイ
ンタフエース部、19は送信回路である。
FIG. 1 is a diagram showing the configuration of an embodiment of the data transmitting device of the present invention, FIG. 2 is a diagram for explaining the cue operation, and FIGS. 3 a and b are flowcharts for explaining the operation. , FIGS. 4a and 4b are diagrams for explaining an example of sampling, and FIG. 5 is a schematic diagram for explaining a data collection system. In the figure, 1 is a terminal, 2 is a control line, 3 is a control unit, 1
0 is a filter circuit, 11 is a limiter amplifier, 12
13 is an input signal detection section, 13 is a frequency setting section, 14 is a control section, 15 is a constant voltage circuit, 16 is an interface section, 17 is a switching circuit, 18 is a data interface section, and 19 is a transmission circuit.
Claims (1)
周波数により駆動するポーリング方式を用いてデ
ータ送信装置において、前記ポーリング方式によ
り、割り当てられた自己の周波数を設定するため
の周波数設定部13と;サンプリングパルスによ
り入力信号のパルスの変化点を検出し、その変化
点からサンプリングパルスを自己の周波数により
定められた所定数(N回)計数し、該入力信号の
パルスの中央点とするパルス頭出し手段と、該パ
ルス頭出し手段により検出された入力信号のパル
スの中央点から前記周波数設定部で設定された周
波数に対応した周期で前記入力信号のパルスのサ
ンプリングを行い、取り込んだレベルが前記中央
点のレベルと異なる場合に、エラーを出力するサ
ンプリングレベル判定手段と、前記周波数設定部
で設定された周波数に対応した測定時間を計時す
るタイマ手段と、1回の測定時間毎に、前記周波
数設定部で設定された周波数に対応したエラー限
界値と、前記サンプリングレベル判定手段から出
力されたエラーのカウント値との比較を行い、前
記エラーのカウント値が前記エラー限界値よりも
小である場合に、前記設定された周波数と判別
し、トリガを出力する演算処理手段を備えた制御
部14と;入力信号が検出されたときに、前記制
御部を起動する入力信号検出部12と;外部から
のデータを取り込むデータインタフエース部18
と;前記制御部からのトリガを受けて前記データ
インタフエース部に電源を投入するスイツチング
回路17と;前記データインタフエース部からの
出力を送信する送信回路19とを備えたことを特
徴とするデータ送信装置。1. A frequency setting unit 13 connected to the control unit 3 and configured to set its own frequency allocated by the polling scheme in a data transmitting device using a polling scheme driven by a frequency sent from the control unit; Pulse cueing that detects the changing point of the input signal pulse using a sampling pulse, counts the sampling pulse a predetermined number (N times) determined by its own frequency from the changing point, and sets the center point of the input signal pulse. sampling the pulses of the input signal at a period corresponding to the frequency set by the frequency setting section from the center point of the pulse of the input signal detected by the pulse cueing means, and the captured level is set at the center point of the input signal. a sampling level determining means for outputting an error when the level differs from the level of the point; a timer means for measuring a measurement time corresponding to the frequency set in the frequency setting section; The error limit value corresponding to the frequency set by the section is compared with the error count value output from the sampling level determination means, and if the error count value is smaller than the error limit value, , a control unit 14 equipped with an arithmetic processing means that discriminates from the set frequency and outputs a trigger; an input signal detection unit 12 that activates the control unit when an input signal is detected; Data interface section 18 that imports data
A switching circuit 17 for turning on power to the data interface section in response to a trigger from the control section; and a transmitting circuit 19 for transmitting an output from the data interface section. Transmitting device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62179229A JPS6424593A (en) | 1987-07-20 | 1987-07-20 | Data transmitter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62179229A JPS6424593A (en) | 1987-07-20 | 1987-07-20 | Data transmitter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6424593A JPS6424593A (en) | 1989-01-26 |
| JPH0479199B2 true JPH0479199B2 (en) | 1992-12-15 |
Family
ID=16062198
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62179229A Granted JPS6424593A (en) | 1987-07-20 | 1987-07-20 | Data transmitter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6424593A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0413398A (en) * | 1990-04-30 | 1992-01-17 | Nippon Signal Co Ltd:The | Position information collection device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5741059A (en) * | 1980-08-23 | 1982-03-06 | Tamura Electric Works Ltd | Frequency discriminating system |
-
1987
- 1987-07-20 JP JP62179229A patent/JPS6424593A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6424593A (en) | 1989-01-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7796719B2 (en) | Signal detection apparatus and method thereof | |
| US9025959B2 (en) | Universal systems and methods for determining an incoming carrier frequency and decoding an incoming signal | |
| US4622481A (en) | Digital envelope detection circuit | |
| JP3392751B2 (en) | Remote control device | |
| JPH0479199B2 (en) | ||
| JP3068358B2 (en) | Image forming apparatus having fan motor failure detecting means and image forming apparatus | |
| EP0110893B1 (en) | Process and device for detecting frequency variations | |
| JP2702773B2 (en) | Data monitoring device | |
| KR890004415B1 (en) | Received data processing method of infrared signal | |
| JP4240741B2 (en) | Pulse signal receiver | |
| JP3097084B2 (en) | Horizontal sync frequency discrimination circuit | |
| JP2821438B2 (en) | Microcomputer | |
| SU1626403A1 (en) | Device for detecting validity loss during digital data transmission via communication lines | |
| JPS6222874Y2 (en) | ||
| JP2584052B2 (en) | Communication device | |
| JP3301771B2 (en) | Input pulse detection method | |
| JP2961750B2 (en) | Microcomputer | |
| JPH0141943B2 (en) | ||
| JP2745759B2 (en) | Read / write head for article identification system | |
| JPH0783284B2 (en) | Receiver | |
| JPH01149170U (en) | ||
| JPS62151037A (en) | Receiving device for power line carrier | |
| JPH0426578B2 (en) | ||
| JPS62152250A (en) | Communicating speed detecting system | |
| JPH04360334A (en) | Start-stop synchronization reception circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |