JPS6066366A - Method for detecting pulse train - Google Patents

Method for detecting pulse train

Info

Publication number
JPS6066366A
JPS6066366A JP17453183A JP17453183A JPS6066366A JP S6066366 A JPS6066366 A JP S6066366A JP 17453183 A JP17453183 A JP 17453183A JP 17453183 A JP17453183 A JP 17453183A JP S6066366 A JPS6066366 A JP S6066366A
Authority
JP
Japan
Prior art keywords
timer
pulse train
period
pulse
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.)
Granted
Application number
JP17453183A
Other languages
Japanese (ja)
Other versions
JPH061595B2 (en
Inventor
Yasuhiko Okuyama
奥山 泰彦
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.)
Tokyo Sanyo Electric Co Ltd
Sanyo Electric Co Ltd
Sanyo Denki Co Ltd
Original Assignee
Tokyo Sanyo Electric Co Ltd
Sanyo Electric Co Ltd
Sanyo Denki Co 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 Tokyo Sanyo Electric Co Ltd, Sanyo Electric Co Ltd, Sanyo Denki Co Ltd filed Critical Tokyo Sanyo Electric Co Ltd
Priority to JP17453183A priority Critical patent/JPH061595B2/en
Publication of JPS6066366A publication Critical patent/JPS6066366A/en
Publication of JPH061595B2 publication Critical patent/JPH061595B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To prevent a pulse train from incorrect recognition and to improve the recognition percentage of data by correcting the pulse train reproduced from a tape or the like and having dispersion to the pulse train included in a recongnition allowable range at the detection of pulse train in a sampling period. CONSTITUTION:A pulse train reproduced from a tape is supplied to an input deciding means 1. The means 1 decides wherther the level of the input is logical ''1'' or logical ''0''. At the logical ''1'' level, a control signal DEH is supplied to the 1st timer means 2, an output means 3, the 2nd timer means 4, and the 3rd timer means 5. The operation of the means 1 is controlled by the 3rd timer means 5 and the means 1 operates during the operation of the 3rd timer, i.e. for a period T3 from timer start to timer end. Thus, the input pulse train is converted into a pulse train included in the recognition allowable range at a sampling period t0, so that the pulse train can be prevented from incorrect recognition.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、テープレコーダ等に於いて、テープに記録さ
れた時刻あるいはインデックス等のデータを表わすパル
ス列を検出するパルス列検出方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention relates to a pulse train detection method for detecting a pulse train representing data such as time or index recorded on a tape in a tape recorder or the like.

(ロ)従来技術 近年、留守番電話や口述記録用テープレコーダ(ディク
テイティングマシン)等に於いて、その記録した日時や
内容のインデックス等を共に記録しておき、再生時にそ
のデータを読み出して表示する機能が実現されている。
(B) Prior art In recent years, answering machines, dictating machines, etc. record the date and time of recording, as well as an index of the contents, and read out and display the data during playback. Function has been realized.

テープに記録されるデータは、第1図に示される如く、
スタートビットパルスS、〜S、と、同期ピットパルス
Pl、P2.P3・・・と、同期ビソトハルスP、、 
P2. P、・・・との間に存在する4ビツトのデータ
ビットパルスD。−D、、D、〜D7.・・・とから成
るパルス列で記録され、再生の際には、8個のスタート
ビットパルスS、〜S6を検出することによって、次に
来るパルスがデータを含むパルスであることを認識し、
同期ビットパルスPs 、Pg、Pg・・・間のデータ
を読み取る。
The data recorded on the tape is as shown in Figure 1.
Start bit pulses S, ~S, and synchronous pit pulses Pl, P2 . P3... and synchronized Bisothohals P...
P2. A 4-bit data bit pulse D exists between P, . -D,,D,~D7. ..., and during playback, by detecting eight start bit pulses S, ~S6, it is recognized that the next pulse is a pulse containing data,
Read data between synchronization bit pulses Ps, Pg, Pg...

従来、パルス列を検出する場合には、パルス列の周期T
の約l/程度の周期t。でサンプリング0 を行いパルス列の信号の立ち上がりあるいは立ち下がり
を検出する。例えば、第2図(a)で示されるパルス列
が到来したとすると、周期t。のサンプリングによって
同期ビットP、の立ち上がりが検出されると1周期t。
Conventionally, when detecting a pulse train, the period T of the pulse train is
A period t of about l/degree. Sampling is performed at 0 to detect the rising or falling edge of the pulse train signal. For example, if the pulse train shown in FIG. 2(a) arrives, the period t. When the rising edge of the synchronization bit P is detected by sampling, one cycle t occurs.

で減算されるタイマ一手段に「9」をセントすると共に
、フラグに1″をセットする。ここで、第2図(b)は
タイマ一手段の動作を示すタイミングであり、第2図(
C)はフラグの内容を示す図である。そして、「9」が
セットされたタイマ一手段は、サンプリングの周期t。
"9" is set in the timer means to be subtracted by the timer means, and 1'' is set in the flag.Here, FIG. 2(b) shows the timing of the operation of the timer means, and FIG.
C) is a diagram showing the contents of the flag. The timer means set to "9" indicates the sampling period t.

毎に「1」が減算され、その結果rOJとなったとき、
即ち、9t0の期間が経過すると、フラグの内容°゛1
”を同期ビットP1のパルスとして認識すると共に、フ
ラグをリセットし、タイマ一手段に再び「9」をセット
する。そして、9toの期間が経過すると、フラグの内
容”0”をデータビットD。のパルスとして認識すると
共に、タイマ一手段に「9」をセットする。従って、タ
イマ一手段は周期t。毎に減算されるが、rOJになる
前に、データビットD、のパルスの立ち上がりが検出さ
れると、そのとき、フラグに1″がセットされると共に
、タイマ一手段に「9」が再セットされる。更に、9 
t’o経過したとき、フラグの内容+1 、 +1がデ
ータビットD1のパルスとして認識される。以下、同様
の動作によってパルス列のパルスが検出される。
When "1" is subtracted for each time and the result is rOJ,
That is, after the period of 9t0 has elapsed, the contents of the flag ゛1
" is recognized as a pulse of the synchronization bit P1, the flag is reset, and the timer means is set to "9" again. Then, when the period 9to has elapsed, the content of the flag is set to "0" as data bit D. It is recognized as a pulse, and "9" is set in the timer means. Therefore, the timer means has a period t. However, if the rising edge of the pulse of data bit D is detected before rOJ is reached, the flag is set to 1'' and the timer is reset to 9. be done. Furthermore, 9
When t'o has elapsed, the contents of the flag +1, +1 are recognized as a pulse of data bit D1. Thereafter, the pulses of the pulse train are detected by the same operation.

ところが、テープからパルス列を読み出す場合、テープ
速度のバラツキ等によって、パルス列の周期が短期的に
±6%、長期的に±3%程度ばらつくため、正確なサン
プリング周期t。でサンプリングすると、完全にパルス
列を検出することができず、認識率が低〒する不都合が
あった。例えば、パルス列の中心周期Tが62.5ms
であるとき、短期的なバラツキの範囲は58.75m5
≦T≦66.25m5であり、長期的なバラツキの範囲
は、60.6 ms =’r=64.37 msである
。一方、第3図に示す如く、′1”のパルスが連続して
いる場合、認識できる範囲は、次のパルスの立ち上がり
がAで示される期間内、即ち、10to≦T〈ist、
、例えばサンプリングの周期t0が6.1 msの場合
には、6177154 T(109,8計である。
However, when reading a pulse train from a tape, the cycle of the pulse train varies by approximately ±6% in the short term and ±3% in the long term due to variations in tape speed, etc., so it is difficult to obtain an accurate sampling period t. If the pulse train was sampled with , the pulse train could not be completely detected, resulting in a low recognition rate. For example, the center period T of the pulse train is 62.5ms
, the range of short-term variation is 58.75m5
≦T≦66.25 m5, and the range of long-term variation is 60.6 ms ='r=64.37 ms. On the other hand, as shown in FIG. 3, when pulses of '1' are continuous, the range that can be recognized is within the period where the rising edge of the next pulse is indicated by A, that is, 10to≦T<ist,
, for example, when the sampling period t0 is 6.1 ms, it is 6177154 T (109,8 total).

また、第4図に示す如く、′0″のデータが連続してい
る場合、認識できる範囲は、後の同期ビットパルスの立
ち上がりがBで示される範囲であり、5X9io≦5T
49x6t。となり、toが6.17715のとき認識
許容範囲は、54.9ms≦T (65,88msであ
る。従って、“1”が連続した場合には、バラツキ範囲
が認識許容範囲を越えてしまうのである。
In addition, as shown in FIG. 4, when data of '0' is continuous, the range that can be recognized is the range where the rising edge of the subsequent synchronization bit pulse is indicated by B, and 5X9io≦5T
49x6t. Therefore, when to is 6.17715, the recognition tolerance range is 54.9ms≦T (65.88ms. Therefore, if "1" continues, the variation range exceeds the recognition tolerance range. .

(ハ)発明の目的 本発明は、上述した点に鑑みて為され、中心周期より短
かいn 1 uのパルスが到来したときには、このパル
スを中心周期の長さに補正し、11011の場合には認
識許容範囲の下限近くに補正することによって、入力さ
れたパルス列を認識許容範囲内に入るように補正し、誤
認識を防止するパルス列検出方法を提供するものである
(C) Purpose of the Invention The present invention has been made in view of the above points, and when a pulse n 1 u shorter than the center period arrives, this pulse is corrected to the length of the center period, and in the case of 11011 The present invention provides a pulse train detection method that corrects an input pulse train to be within the recognition permissible range by correcting it to near the lower limit of the recognition permissible range, thereby preventing erroneous recognition.

に)発明の構成 本発明は、中心周期T。±Δ丁の範囲のバラツキを有す
るパルス列を検出する方法に於いて、動作状態にある入
力判定手段によって前記パルス列が第1のレベルである
か、あるいは、第2のレベルであるかを判定し、第1の
レベルであるとき、第1のタイマ一手段を動作させ、該
第1のタイマ一手段で作成される時間T。が周期となる
第1のレベルのパルスを出力し、前記第2のレベルであ
るとき、第2のタイマ一手段を動作させ、該第2のタイ
マ一手段で作成される周期T。より短い時間tを周期と
する第2のレベルを出力することにより、周期力T。−
△Tの第1のレベルのパルスが周期T。のパルスに補正
され、該補正による遅れが第2のレベルの周期tで補正
されたパルス列を作成し、該パルス列を所定の周期のサ
ンプリングパルスでサンプリングして検出する構成であ
る。
B) Structure of the Invention The present invention has a central period T. In a method for detecting a pulse train having a variation in a range of ±Δ, determining whether the pulse train is at a first level or a second level by an input determining means in an operating state, When at the first level, a first timer means is operated, and a time T is generated by the first timer means. outputs a pulse of a first level having a period, and when the pulse is at the second level, operates a second timer means, and generates a period T by the second timer means. The periodic force T is output by outputting a second level whose period is a shorter time t. −
The first level pulse of ΔT has a period T. The configuration is such that a pulse train is created in which the delay due to the correction is corrected to a period t of a second level, and the pulse train is sampled and detected using a sampling pulse of a predetermined period.

(ホ)実施例 第5図は本発明の実施例を示すブロック図である。テー
プから再生されたパルス列は、入力判定手段(1)に印
加され、入力判定手段(1)は動作状態に於いて、入力
されたパルス列のレベルが第1のレベル、論理II I
 IIであるか、あるいは、第2のレベル、論理″0″
であるか否かを判定し、1”のレベルが印加されたとき
には、制御信号DEHを第1のタイマ一手段(2)、出
力手段(3)、第2のタイマ一手段(4)、及び、第3
のタイマ一手段(5)に印加し、一方、°0“のレベル
が印加されたときには、制御信号DELを第2のタイマ
一手段(4)に印加する。この入力判定手段(1)の動
作は、第3のタイマ一手段(5)によって制御され、第
3のタイマ一手段(5)がタイマー動作している間、即
ち、タイマースタートからタイマー終了までの時間T、
の開動作する。
(E) Embodiment FIG. 5 is a block diagram showing an embodiment of the present invention. The pulse train reproduced from the tape is applied to the input determining means (1), and the input determining means (1), in the operating state, determines that the level of the input pulse train is the first level, logic II I
II or second level, logic "0"
When a level of 1'' is applied, the control signal DEH is sent to the first timer means (2), the output means (3), the second timer means (4), and , 3rd
On the other hand, when the level of °0'' is applied, the control signal DEL is applied to the second timer means (4).The operation of this input determination means (1) is controlled by the third timer means (5), and while the third timer means (5) is operating, that is, the time T from the timer start to the timer end,
Opening operation.

第1のタイマ一手段(2)は中心周期T。を作成するタ
イマーであり、中心周期の約 イの時間を作成するT1
 タイマー(6)とT2タイマー(7)とから成る。即
ち、中心周期T。はT1 タイマー(6)の時間T、と
T、タイマー(7)の時間T2との和となっている。T
、タイマー(6)は入力判定手段(1)から制御信号D
EHが出力されたとき動作を開始し、T7時間後に出力
される出力信号によってT2タイマー(7)の動作を開
始させる。またT、タイマー(6)の出力は出力手段(
3)に印加され、制御信号DEHが印加されたとき、1
”のレベルを出力する出力手段(3)を制御し、その出
力″1”を0”に変える。
The first timer means (2) has a center period T. T1 is a timer that creates a time of approximately A of the central period.
It consists of a timer (6) and a T2 timer (7). That is, the central period T. is the sum of T1, the time T of the timer (6), and T2, the time T2 of the timer (7). T
, the timer (6) receives the control signal D from the input determining means (1).
The operation starts when EH is output, and the operation of the T2 timer (7) is started by the output signal output after T7 time. In addition, the output of T and the timer (6) is output by the output means (
3) and when the control signal DEH is applied, 1
It controls the output means (3) that outputs the level of ``1'' and changes the output ``1'' to 0.

即ち、T1タイマー(6)は、1“のパルスを出カスる
期間を決定するものである。T2タイマー(7)の出力
は第3のタイマ一手段(5)に印加され、入力判定手段
(1)から制御信号DEHが出力されてからT。
That is, the T1 timer (6) determines the period during which a 1" pulse is output. The output of the T2 timer (7) is applied to the third timer means (5), and the input determination means ( T after the control signal DEH is output from 1).

時間後、再び入力判定手段(1)を動作させるために、
第3のタイマ一手段(5)を動作させる。第3のタイマ
一手段(5)は、そのタイマー動作中、入力判定手段(
1)を動作状態にするが、制御信号DEHが出力される
とその出力によってリセットされタイマー動作を停止ず
ろ。
After a period of time, in order to operate the input determination means (1) again,
The third timer means (5) is operated. The third timer means (5), during the timer operation, input determination means (5).
1) is activated, but when the control signal DEH is output, it is reset and the timer operation is stopped.

一方、第2のタイマ一手段(4)は、入力判定手段(1
)が動作中、パルス列のN OIIを検出しているとき
出力される制御信号DELによって制御され、制御信号
DELが印加されたときタイマー動作を開始17、パル
ス列の“0”′のデータに対応して出力されるII O
IIの最低期間tを作成するものである。第2のタイマ
一手段(4)の出力は第3のタイマ一手段(5)に印加
され、を時間後パルス列の判定を行うために第3のタイ
マ一手段(5)のタイマー動作を開始させろ。また、第
2のタイマ一手段(4)の動作中に、入力判定手段(1
)がパルス列のII I IIを検出して制御信号DE
Hが出力されると、第2のタイマ一手段(4)はりセッ
トされタイマー動作を停止する。
On the other hand, the second timer means (4) input determination means (1
) is in operation, it is controlled by the control signal DEL that is output when detecting the N OII of the pulse train, and when the control signal DEL is applied, the timer operation is started. IIO outputted by
This is to create the minimum period t of II. The output of the second timer means (4) is applied to the third timer means (5) to start the timer operation of the third timer means (5) in order to judge the pulse train after a period of time. . Also, during the operation of the second timer means (4), the input determination means (1
) detects the pulse train II II II and outputs the control signal DE.
When H is output, the second timer means (4) is set and stops the timer operation.

第5図に示された実施例に於いて、中心周期T。In the embodiment shown in FIG. 5, the center period T.

より長い周期Tのパルス列が印加された場合の動作を第
6図を参照して説明する。第6図(atはパルス列の波
形図、第6図(blは第3のタイマ一手段(5)の動作
期間、即ち、入力判定手段(1)の動作期間を示すタイ
ミング、第6図(C>はT1タイマー(6)の動作を示
すタイミング、第6図(d)はT2タイマー(7)の動
作を示すタイミング、第6図(elは第2のタイマ一手
段(4)の動作を示すタイミング、第6図(f)は出力
手段(3)の出力を示す波形図である。
The operation when a pulse train with a longer period T is applied will be explained with reference to FIG. FIG. 6 (at is a waveform diagram of a pulse train, FIG. 6 is a timing diagram showing the operation period of the third timer means (5), that is, the operation period of the input determination means (1), FIG. 6 (C > indicates the timing of the operation of the T1 timer (6), FIG. 6(d) indicates the timing of the operation of the T2 timer (7), and FIG. 6 (el indicates the operation of the second timer means (4) Timing: FIG. 6(f) is a waveform diagram showing the output of the output means (3).

先ず、第6図囚のタイミングに於いて入力判定手段(1
)の動作期間中に、パルス列入方が1”となると、入力
判定手段(1)は制御信号DEHを出方する。この制御
信号DEHの出力により、出力手段(3)は”1”を出
方し、T1タイマー(6)はタイマー動作を開始し、ま
た、第2のタイマ一手段(4)及び第3のタイマ一手段
(5)はりセットされ、タイマー動作を停止する。従っ
て、入力判定手段(1)の動作も停止する−0そして、
T、時間経過すると、T、タイマー(6)の出力により
出方手段(3)は1”の出力を”0″に変え、また、T
2タイマー(7)はタイマー動作を開始する。第6図(
Blのタイミングに於いて、T2タイマー(7)がカウ
ントアツプするとその出方により第3のタイマー(5)
がタイマー動作を開始し、入力判定手段(1)を動作状
態とする。このとき、周期はT>Toであるため、パル
ス列の信号はl Ol″であり、入力判定手段(1)は
匍↓御信号DELを出力する。これにより、第2のタイ
マ一手段(4)のタイマー動作が開始される。第6図(
clに於いて、パルス列の信号が1”となると、前述と
同様の動作により、出力手段(3)は1”を出力し、第
2のタイマ一手段(4)及び第3のタイマ一手段(5)
はり七ソトされ、一方、T1タイマー(6)は動作を開
始する。
First, at the timing shown in Figure 6, the input determination means (1
), when the pulse train input becomes 1", the input determination means (1) outputs the control signal DEH. By outputting this control signal DEH, the output means (3) outputs "1". The T1 timer (6) starts the timer operation, and the second timer means (4) and the third timer means (5) are set and stop the timer operation. The operation of the determining means (1) also stops -0, and
When time T has elapsed, the output means (3) changes the output of 1" to "0" by the output of the timer (6), and
2 timer (7) starts timer operation. Figure 6 (
At the timing of Bl, when the T2 timer (7) counts up, the third timer (5)
starts the timer operation and puts the input determination means (1) into the operating state. At this time, since the period is T>To, the pulse train signal is lOl'', and the input determination means (1) outputs the control signal DEL.Thereby, the second timer means (4) The timer operation starts. As shown in Fig. 6 (
At cl, when the pulse train signal becomes 1'', the output means (3) outputs 1'' by the same operation as described above, and the second timer one means (4) and the third timer one means ( 5)
Meanwhile, the T1 timer (6) starts operating.

そして、第6図(D)に於いて、T、時間が経過すると
同様に第3のタイマ一手段(5)及び第2のタイマ一手
段(4)がタイマー動作を開始する。そして、第3のタ
イマ一手段(5)が時間T3を計時する期間内にパルス
列が1”とならない場合、即ち、パルス列で示されるデ
 タが「0」のとき、入力判定手段(1)はT5時間経
過すると不動作状態となる。一方、第2のタイマ一手段
(4)はタイマー動作を持続しており、第6図(Elの
タイミングに於いて、中心周期T。より短く設定された
時間t′IJ″−経過すると、その出力によって、第3
のタイマ一手段(5)のタイマー動作を開始させ、入力
判定手段(1)を動作状態とする。このとき、パルス列
の信号は“O′”であるため入力判定手段(1)は制御
信号DELを出力し、第2のタイマ一手段(4)を再び
動作状態とする。入力判定手段(1)の動作中、第6図
(F′1のタイミングに於いて、パルス列の信号が1″
となると、前述した第6図(3)及び(0と同様の動作
を行う。
Then, in FIG. 6(D), when time T has elapsed, the third timer means (5) and the second timer means (4) start the timer operation in the same way. If the pulse train does not become 1" within the period in which the third timer means (5) measures time T3, that is, when the data indicated by the pulse train is "0", the input determination means (1) After T5 time has elapsed, it becomes inactive. On the other hand, the second timer means (4) continues the timer operation, and as shown in FIG. Depending on the output, the third
The timer operation of the timer means (5) is started, and the input determination means (1) is brought into operation. At this time, since the pulse train signal is "O'", the input determining means (1) outputs the control signal DEL, and the second timer means (4) is brought into operation again. During the operation of the input determining means (1), the pulse train signal is 1'' at the timing shown in FIG. 6 (F'1).
In this case, the same operations as in (3) and (0) in FIG. 6 described above are performed.

第6図で示される如く、パルス列の周期Tが中心周期T
。より長い場合には、出力手段(3)から出力される信
号は、立ち上がりがパルス列と同期し、周期が等しい信
号となる。即ち、印加されたパルス列がそのまま出力さ
れたのと等価である。
As shown in FIG. 6, the period T of the pulse train is the center period T
. If it is longer, the signal output from the output means (3) will be a signal whose rising edge is synchronized with the pulse train and whose period is equal. In other words, this is equivalent to outputting the applied pulse train as is.

一方、第7図は、パルス列の周期Tが中心周期Toより
短い場合であり、第7図(a)〜第7図(flは第6図
の(a)〜(flと同様である。第7図(a)の如く、
1”のパルスが連続して到来するとき1例えば、スター
トビットパルスSl、S2.Ss・・・の場合、先ず、
入力判定手段(1jを常時動作状態にしておく。
On the other hand, FIG. 7 shows a case where the period T of the pulse train is shorter than the center period To, and FIGS. As shown in Figure 7 (a),
When pulses of 1" arrive successively 1. For example, in the case of start bit pulses Sl, S2, Ss..., first,
The input determination means (1j is kept in an operating state at all times.

そこで、パルスS1が′1”になると、入力判定手段(
1)から制御信号DEHが出力され、制御信号DBHに
より、出力手段(3)は1″を出力し、T。
Therefore, when the pulse S1 becomes '1', the input determination means (
A control signal DEH is output from 1), and in response to the control signal DBH, the output means (3) outputs 1'', and T.

タイマー(6)は動作を開始する。T7時間経過すると
T、タイマー(6)の出力により出力手段(3)は1”
の出力を0”に変え、T2タイマー(7)はタイマー動
作を開始する。そして、12時間、即ち、T、タイマー
(6)の動作からT、時間が経過すると、T2タイマー
(7)の出力により第3のタイマ一手段(5)が動作し
入力判定手段(1)が動作状態となる。ここで、パルス
列の信号はパルスS2によってすでに1”となっている
ため、入力判定手段(1)は動作と同時に制御信号D 
E Hを出力する。従って、制御信号DEHにより第3
のタイマ一手段(5)は直ちにリセットされ、動作を停
止する。同時にT、タイマー(6)はタイマー動作を開
始する。以下、同様の動作を行うことにより、出力手段
(3)からは周期T。のパルス列が出力されろ。ところ
が、この場合には、入力されたパルス列と出力されたパ
ルス列とは周期がT。−Tだけ差があるため、出力され
たパルス列はスタートビットパルス8個を出力するまで
に7(T、−T)の遅れが生じる。
The timer (6) starts operating. When T7 time elapses, the output means (3) becomes 1" due to the output of the timer (6).
The output of the T2 timer (7) is changed to 0'', and the T2 timer (7) starts its timer operation.Then, when 12 hours have passed since the operation of the timer (6), the output of the T2 timer (7) is changed to 0''. As a result, the third timer means (5) operates and the input determination means (1) becomes operational.Here, since the pulse train signal has already become 1'' due to the pulse S2, the input determination means (1) is the control signal D at the same time as the operation.
Output EH. Therefore, the third
The timer means (5) is immediately reset and stops operating. At the same time, the timer (6) starts its timer operation. Thereafter, by performing similar operations, the period T is output from the output means (3). A pulse train of is output. However, in this case, the period of the input pulse train and the output pulse train is T. Since there is a difference of -T, the output pulse train has a delay of 7 (T, -T) until eight start bit pulses are output.

第8図は、スタートビットパルスS6、同期ビットパル
スP、及びデータビットパルスD。を出力する場合のタ
イミング図であり、(a)〜(flで示されるタイミン
グは第6図及び第7図の(aS〜(f)が示すものと同
一である。前述した如く、スタートビットパルスS、が
出力される時点では、入力されたパルス列と出力された
パルス列との間には? (To −T )の遅れが生じ
ている。しかし、スタートビットパルスS6と同期ビッ
トパルスP、との間には、必ず、1周期分のブランクが
あり、また、データビットD。−D、の4ビツトで表わ
されるデータがBCDコードである場合には、必ずその
中に「0」のデータが1以上台まれるので、そのブラン
クと「0」のデータビットパルスの期間に於いて、遅れ
が補正されろ。即ち、第8図に於いて、スタートピント
パルスS6の立ち上がりから7(ToT)遅れて入力判
定手段(1)が1”を判定し、1″を出力した時点から
T。期間が経過すると、T2タイマー(7)の出力によ
って第3のタイマ一手段(5)がタイマー動作を開始し
、動作状態となった入力判定手段(1)からは制御信号
DELが出力され、第2のタイマ一手段(7)のタイマ
ー動作が開始される。そして、第3のタイマ一手段(5
)がタイマー動作を終了するまでの期間T、の間、パル
ス列の信号は0”であるため、第2のタイマ一手段(4
)はタイマー動作を継続し、を時間後、第2のタイマ一
手段(4)の出力によって、再び、第3のタイマ一手段
(5)を動作させ、入力判定手段(1)を動作状態とす
る。このとき、パルス列は同期ビットパルスP1が到来
しているため、入力判定手段(1)は動作開始と同時に
制御信号DEHな出力する。その後の動作は前述したと
おりである。従って、第2のタイマ一手段(4)で作成
される時間tは、パルス列の周期Tより短く設定されて
いるため、同期ビットパルスP、の立ち上がりと出力パ
ルスとの遅れは、8 (To−T)−(’r−t)とな
り、遅れが減少される。同様に、データビットパルスD
。が”0″の場合にもT−tの時間だけ短くなるため遅
れが減少するのである。
FIG. 8 shows a start bit pulse S6, a synchronization bit pulse P, and a data bit pulse D. This is a timing diagram when outputting a start bit pulse, and the timings shown by (a) to (fl) are the same as those shown by (aS to (f)) in FIGS. 6 and 7. As mentioned above, the start bit pulse At the time when S is output, there is a delay of ? (To - T) between the input pulse train and the output pulse train.However, the delay between the start bit pulse S6 and the synchronization bit pulse P is There is always a blank for one cycle in between, and if the data represented by the four data bits D.-D is a BCD code, there is always one period of "0" data in it. Therefore, the delay must be corrected in the period of the blank and "0" data bit pulses.In other words, in FIG. From the time when the input determination means (1) determines 1'' and outputs 1'', T. When the period elapses, the third timer means (5) starts the timer operation by the output of the T2 timer (7). The control signal DEL is output from the input determination means (1) which is in the operating state, and the timer operation of the second timer means (7) is started.Then, the timer operation of the second timer means (7) is started.
) until the timer operation ends, the pulse train signal is 0'', so the second timer means (4
) continues the timer operation, and after a period of time, the third timer means (5) is operated again by the output of the second timer means (4), and the input determination means (1) is set to the operating state. do. At this time, since the synchronization bit pulse P1 has arrived in the pulse train, the input determining means (1) outputs the control signal DEH at the same time as the start of operation. The subsequent operations are as described above. Therefore, since the time t created by the second timer means (4) is set shorter than the period T of the pulse train, the delay between the rise of the synchronization bit pulse P and the output pulse is 8 (To- T)-('r-t), and the delay is reduced. Similarly, data bit pulse D
. Even when is "0", the delay is reduced because the time Tt is shortened.

そこで、中心周期62.5msのパルス列をサンプリン
グ周波数6.1+rLsで検出する場合、第1のタイマ
一手段(2)で作成される時間T。を62.5ynsと
し、また、第2のタイマ一手段(4)で作成される時間
tを、N OI+のパルスを検出する許容範囲の最小値
54.9msより55 @sに設定すると、第6図で示
された如く、パルス列の周期Tが中心周期T。より+3
%程度長い場合には、そのパルス列と同じ周期の出力が
得られ、また、第7図及び第8図で示された如く、パル
ス列の周期Tが中心周期T。より−3%短い場合には、
出力は1”のパルスが62.5 ms K” O”の周
期は55m5に補正されて出力されるのである。このと
き、スタートビットパルスS8の後の最大遅れは、8 
(To T ) = 15.2 msとなるが、同期ビ
ットパルスP、に於いては、8(To−T) (T−t
)=9.6msと短縮される。更に、データビットパル
スD。が0″の場合には、その遅れは、9(T、−T)
−2(T−t)= 5.9 msとなり更に短縮される
Therefore, when detecting a pulse train with a center period of 62.5 ms at a sampling frequency of 6.1+rLs, the time T created by the first timer means (2). is set to 62.5 yns, and the time t created by the second timer means (4) is set to 55@s, which is the minimum value of 54.9 ms of the allowable range for detecting the NOI+ pulse. As shown in the figure, the period T of the pulse train is the center period T. More +3
%, an output with the same period as the pulse train is obtained, and as shown in FIGS. 7 and 8, the period T of the pulse train is the center period T. If it is -3% shorter than
The output is a 1" pulse with a period of 62.5 ms K"O" corrected to 55 m5. At this time, the maximum delay after the start bit pulse S8 is 8
(To T ) = 15.2 ms, but in the synchronization bit pulse P, 8 (To-T) (T
)=9.6ms. Additionally, a data bit pulse D. If is 0'', the delay is 9(T, -T)
-2(T-t)=5.9 ms, which is further shortened.

従って、出力手段(3)から出力されるパルス列のバラ
ツキ範囲は、′1″のパルスの場合で62.5m54T
≦64.37m5.0”の場合で、55 @s≦T≦6
4.37@sとなり、サンプリング周期が6.1msの
場合の許容範囲内に入っている。
Therefore, the variation range of the pulse train output from the output means (3) is 62.5m54T in the case of a '1'' pulse.
If ≦64.37m5.0”, 55 @s≦T≦6
The result is 4.37@s, which is within the allowable range when the sampling period is 6.1 ms.

また、第5図に示された実施例の動作は、マイクロコン
ピュータによって実現することもできる。
Further, the operation of the embodiment shown in FIG. 5 can also be realized by a microcomputer.

この場合、パルス列の信号が1″となったことを検出す
るのは、マイクロコンピュータの割り込み入力端子にパ
ルス列を印加し、割り込みの要求の有無によって行い、
パルス列の1”に対応する処理は、割り込み処理によっ
て行う。
In this case, detecting that the pulse train signal has become 1'' is done by applying the pulse train to the interrupt input terminal of the microcomputer and checking whether or not there is an interrupt request.
Processing corresponding to 1'' of the pulse train is performed by interrupt processing.

第9図(at(blはマイクロコンピュータのプログラ
ムの動作を示すフロー図であり、第9図(a)はメイン
プログラムの動作、第9図(blは割り込み処理プログ
ラムの動作を示す。第9図(alに於いて、マイクロコ
ンピュータの動作が開始すると、先ずRAM(ランダム
・アクセス・メモリ)等の初期設定を行い、また、割り
込みを禁止するINTMSKをリセットし、割り込み可
能状態とする。次いで、T1タイマー、T2タイマー、
T3タイマー及びtタイマーのタイマ一時間の終了を検
出する。TIタイマー及びT2タイマーは第5図に示さ
れた第1のタイマ一手段(2)であり、T、タイマーは
第3のタイマ一手段(5)、tタイマーは第2のタイマ
一手段(4)に相当する。T、タイマーのタイマー動作
の終了が検出されると、パルス列を出力するマイクロコ
ンピュータの出力ボートをO”とし、T2タイマーのタ
イマー動作をスタートさせる。また、Ttタイマーのタ
イマー動作終了、あるいは、tタイマーのタイマー動作
終了が検出された場合には、T3タイマー及びtタイマ
ーのタイマー動作をスタートさせ、次いでINTMSK
をリセットして割り込み可能な状態とする。一方、T3
タイマーのタイマー動作終了が検出されるとINTMS
Kをセットし割り込み禁止状態とする。この様に、メイ
ンプログラムでは、各タイマーの動作終了を常に監視し
、その終了を検出して対応する動作を行う。また、第9
図(a)の動作中、割り込みが許可されるのは、初期設
定後と、T、−タイマーの終了後、あるいは、tタイマ
ーの終了後からT、タイマーの終了が検出されるまでの
T3期間である。この期間内に割り込み入力端子に′1
”の信号が印加されると、割り込みがかかり、第9図(
blに示す割り込み処理が実行される。
FIG. 9(at(bl) is a flow diagram showing the operation of the program of the microcomputer. FIG. 9(a) is a flow diagram showing the operation of the main program. (In T1, when the microcomputer starts operating, it first initializes the RAM (random access memory), etc., and also resets INTMSK, which disables interrupts, to enable interrupts. Next, T1 timer, T2 timer,
Detects the end of one hour of the T3 timer and t timer. The TI timer and the T2 timer are the first timer means (2) shown in FIG. 5, the T timer is the third timer means (5), and the t timer is the second timer means (4). ). When the end of the timer operation of the T and timer is detected, the output port of the microcomputer that outputs the pulse train is set to "O", and the timer operation of the T2 timer is started. When the end of the timer operation is detected, the timer operation of the T3 timer and the t timer is started, and then the INTMSK
Reset to enable interrupts. On the other hand, T3
INTMS when the end of the timer operation is detected.
Set K to disable interrupts. In this manner, the main program constantly monitors the end of each timer's operation, detects the end, and performs the corresponding operation. Also, the 9th
During the operation shown in Figure (a), interrupts are permitted only after the initial setting and after the end of the T,-timer, or during the T3 period from the end of the t timer until the end of the T, timer is detected. It is. ’1 to the interrupt input pin within this period.
” signal is applied, an interrupt occurs and the state shown in Figure 9 (
Interrupt processing indicated by bl is executed.

第9図(blに於ける割り込み処理では、T、タイマー
及びtタイマーのリセットを行い、タイマー動作をスト
ップさせる一方、T、タイマーのタイマー動作をスター
トさせ、パルス列を出力する出力ボートを1″とし、更
に、INTMSKをセット12て割り込みを禁止する。
Figure 9 (In the interrupt processing in bl, T, timer and t timer are reset and the timer operation is stopped, while the timer operation of T and timer is started and the output port for outputting the pulse train is set to 1''. , Furthermore, INTMSK is set to 12 to disable interrupts.

この様に、マイクロコンピュータに於いては、割り込み
入力端子にパルス列を印加1.、第9図(a)(blで
示された動作を行うプログラムを実行することによって
、第5図の実施例と全く同じ動作を行わせることができ
、人力されたパルス列がサンプリング周期1oで認識で
きる許容範囲内のパルス列に変換されるものである。
In this way, in a microcomputer, a pulse train is applied to the interrupt input terminal. By executing the program that performs the operation shown in FIG. 9(a) (bl), it is possible to perform exactly the same operation as in the embodiment shown in FIG. The pulse train is converted into a pulse train within an acceptable range.

(へ)発明の効果 上述の如く、本発明によれば、テープ等から再生された
バラツキを有するパルス列をサンプリング周期t。で検
出する場合の認識許容範囲内に入るパルス列に補正する
ことにより、パルス列の誤認識が防止できるものであり
、留守番電話や口述記録用テープレコーダ等に配録され
たデータの認識率が向上し、商品的価値及び信頼性が向
上する利点を有している。
(f) Effects of the Invention As described above, according to the present invention, a pulse train having variations reproduced from a tape or the like is sampled at a sampling period t. By correcting the pulse train so that it falls within the permissible recognition range when detected by the system, erroneous recognition of the pulse train can be prevented, and the recognition rate of data recorded on answering machines, dictation tape recorders, etc. can be improved. , it has the advantage of improving commercial value and reliability.

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

第1図はパルス列を示す波形図、第2図(a)(b)(
clハハパル列を検出する方法を示すタイミング図、第
3図及び第4図は第2図(a)(bl (clの方法で
パルス列を検出する際の許容範囲を説明するためのタイ
ミング図、第5図は本発明の実施例を示すブロック図、
第6図(a)(bl(cl(dl(el(f)、第7図
(a)(b)(cl (d)(elげ)及び第8図(a
l(bl(cMd)(el(flは第5図に示された実
施例の動作を示すタイミング図、第9図(at (b)
はマイクロコンピュータで本発明を実施する際の動作を
示すフロー図である。 (1)・・・入力判定手段、 (2)・・・第1のタイ
マ一手段、(3)・・・出力手段、 (4)・・・第2
のタイマ一手段、 (5)・・・第3のタイマ一手段、
 (6)・・・T、タイマー、(7)・・・T、タイマ
ー。 第1図 第3図 第11 fil 第5図 第G図
Figure 1 is a waveform diagram showing a pulse train, Figure 2 (a), (b) (
Figures 3 and 4 are timing diagrams showing a method for detecting a cl haha pulse train. FIG. 5 is a block diagram showing an embodiment of the present invention,
Fig. 6(a)(bl(cl(dl(el(f)), Fig. 7(a)(b)(cl(d)(el) and Fig. 8(a)
l(bl(cMd)(el(fl) is a timing diagram showing the operation of the embodiment shown in FIG. 5, FIG. 9(at (b)
1 is a flow diagram showing the operation when implementing the present invention in a microcomputer. (1)...Input determination means, (2)...First timer means, (3)...Output means, (4)...Second
a timer means, (5)...a third timer means,
(6)...T, timer, (7)...T, timer. Figure 1 Figure 3 Figure 11 fil Figure 5 Figure G

Claims (1)

【特許請求の範囲】[Claims] 1、中心周期T。±へTの範囲のバラツキを有するパル
ス列を検出する方法に於いて、動作状態にある入力判定
手段によって前記パルス列が第1のレベルであるか、あ
るいは、第2のレベルであるかを判定し、第1のレベル
であるとき、第1のタイマ一手段を動作させ、該第1の
タイマ一手段で作成されろ時間l1loが周期となる第
1のレベルのパルスを出力し、前記第2のレベルである
とき、第2のタイマ一手段を動作させ、該第2のタイマ
一手段で作成される周期T0より短い時間tを周期とす
る第2のレベルを出力することにより、To−△Tの第
1のレベルのパルスが周期T。のパルスに補正され、該
補正による遅れが第2のレベルの周期tで補正されたパ
ルス列を作成し、該パルス列を所定の周期のサンプリン
グパルスでサンプリングして検出するパルス列検出方法
1. Central period T. In a method for detecting a pulse train having a variation in a range of ± to T, determining whether the pulse train is at a first level or a second level by an input determining means in an operating state, When the level is at the first level, a first timer means is operated to output a first level pulse having a period of time l1lo created by the first timer means, and when the timer is at the second level. , by operating the second timer means and outputting a second level whose period is a time t shorter than the period T0 created by the second timer means, To-△T is determined. The first level pulse has a period T. A pulse train detection method includes creating a pulse train in which the delay due to the correction is corrected to a period t of a second level, and sampling and detecting the pulse train with a sampling pulse having a predetermined period.
JP17453183A 1983-09-20 1983-09-20 Pulse train detection method Expired - Lifetime JPH061595B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17453183A JPH061595B2 (en) 1983-09-20 1983-09-20 Pulse train detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17453183A JPH061595B2 (en) 1983-09-20 1983-09-20 Pulse train detection method

Publications (2)

Publication Number Publication Date
JPS6066366A true JPS6066366A (en) 1985-04-16
JPH061595B2 JPH061595B2 (en) 1994-01-05

Family

ID=15980154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17453183A Expired - Lifetime JPH061595B2 (en) 1983-09-20 1983-09-20 Pulse train detection method

Country Status (1)

Country Link
JP (1) JPH061595B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8932145B2 (en) 2011-08-31 2015-01-13 Iomic Inc. Golf club grip

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8932145B2 (en) 2011-08-31 2015-01-13 Iomic Inc. Golf club grip

Also Published As

Publication number Publication date
JPH061595B2 (en) 1994-01-05

Similar Documents

Publication Publication Date Title
US4053944A (en) Microprocessor controlled signal pattern detector
DE3463976D1 (en) Disturbances detecting and recording system
US3805286A (en) Tape velocity detector
JPS6066366A (en) Method for detecting pulse train
JPH02257417A (en) Method for recording and detecting servo information for positioning magnetic head
JPH0470712B2 (en)
US5870365A (en) Start ID recording system for use in a digital audio information recording apparatus
JP3017090B2 (en) Method and apparatus for generating head switching signal for VCR
US5210727A (en) Compact disk players
JPS6058719A (en) Method for detecting pulse train
JPS5943860B2 (en) Frame synchronization signal detection circuit
JP2643888B2 (en) Buffer link unit for data recorder
SU1297052A1 (en) Signature analyzer
JP2720501B2 (en) Magnetic disk drive
SU1298786A1 (en) Device for checking equipment operation and downtime
SU575653A1 (en) Device for interfacing digital computer with external store
SU771711A1 (en) Device for reproducing phase-modulated signals
SU1016829A1 (en) Device for checking digital data recording and reproduction validity
SU1490692A1 (en) Device for measuring start-stop characteristics of magnetic recorders
SU1243028A1 (en) Method of quality contrl of magnetic recording of pulse signals
JPS6339990B2 (en)
JPH11126412A (en) Rotation type storage device
SU1282211A1 (en) Device for checking magnetic tape recorder
KR960005532A (en) How to determine the disk type
KR970017235A (en) Method and device for self diagnosis of optical pickup system