JPS61218227A - Divided pulse sending circuit - Google Patents

Divided pulse sending circuit

Info

Publication number
JPS61218227A
JPS61218227A JP60059823A JP5982385A JPS61218227A JP S61218227 A JPS61218227 A JP S61218227A JP 60059823 A JP60059823 A JP 60059823A JP 5982385 A JP5982385 A JP 5982385A JP S61218227 A JPS61218227 A JP S61218227A
Authority
JP
Japan
Prior art keywords
counter
pulse signal
pulse
circuit
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
JP60059823A
Other languages
Japanese (ja)
Other versions
JPH0612877B2 (en
Inventor
Hiroshige Sakahara
坂原 広重
Satoshi Sakurai
聡 桜井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60059823A priority Critical patent/JPH0612877B2/en
Publication of JPS61218227A publication Critical patent/JPS61218227A/en
Publication of JPH0612877B2 publication Critical patent/JPH0612877B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Of Direct Current Motors (AREA)

Abstract

PURPOSE:To absorb a timing error of a pulse signal before and after stopping by providing an up-down counter, a decoder and a reset circuit. CONSTITUTION:In selecting an output pulse from a waveform shaping circuit 3 when a DC motor 1 is driven, e.g., clockwise as a '+' pulse signal, the output pulse from the circuit 3 when the DC motor 1 is driven counter clockwise is a '-' direction pulse signal, and pulse numbers are added or subtracted by inputting the said direction signals respectively to an up terminal 62 or a down terminal 63 of a counter 6. When a binary code outputted from the counter 6 subject to addition or subtraction is coincident with a binary code present in a decoder 7, a pulse signal is outputted from the decoder 7, an output level of a monostable multivibrator 81 is inverted and a pulse signal is outputted via a NAND circuit 82, an output level of a monostable multivibrator 83 is inverted to reset the counter 6 and the binary code outputted from the counter restores to 0.

Description

【発明の詳細な説明】 〔概 要〕 電動機に直結されたエンコーダの出力パルスを1/Nに
デバイドして送出する回路であって、電動機を途中で停
止させ再始動した際に発生する、停止の前後におけるデ
バイドパルスのタイミング誤差を吸収する機能を具えた
回路である。
[Detailed Description of the Invention] [Summary] This is a circuit that divides the output pulse of an encoder directly connected to a motor to 1/N and sends it out, and it is used to divide the output pulse of an encoder directly connected to a motor and send it out. This circuit has the function of absorbing the timing error of the divide pulse before and after.

〔産業上の利用分野〕[Industrial application field]

本発明はパターン認識装置に係り、特に検出ヘッドと被
測定パターンの相対位置を移動させる、電動機の回転量
から距離を算出する基準となるパルスを送出するデバイ
ドパルス送出回路に関する。
The present invention relates to a pattern recognition device, and more particularly to a divide pulse sending circuit that sends out a pulse that moves the relative position of a detection head and a pattern to be measured and serves as a reference for calculating a distance from the amount of rotation of an electric motor.

各種電子機器の人力装置として用いられるキーボードは
、オペレータを始めとして不特定多数の目に触れる部分
であり、情報の入力はキーボードを構成する押釦スイッ
チ毎に嵌挿された、キートップに表示されている文字や
記号に基づいて行われる。したがって情報入力の基準と
なるキートップの配列違いは絶対に許されない。しかる
にキートップに表示された文字や記号の配列はキーボー
ドの機種毎に異なり、同時に文字や記号の大きさ、字体
、線の太さ等もキーボードの機種毎に異なる。
Keyboards, which are used as manual devices for various electronic devices, are visible to an unspecified number of people including operators, and information input is displayed on the key tops inserted into each push button switch that makes up the keyboard. This is done based on the characters and symbols that exist. Therefore, it is absolutely unacceptable to have a different arrangement of the key tops, which are the basis for inputting information. However, the arrangement of characters and symbols displayed on the key tops differs depending on the keyboard model, and at the same time, the size, font, line thickness, etc. of the characters and symbols also differ depending on the keyboard model.

そこでキーボードの製造工程においてパターン認識装置
を用い、キーボード1台毎に文字や記号の配列を検査し
ているが、検査の途中で不良を検出した場合に一旦停止
して不良個所や不良内容の表示を行い、再スタートによ
って次の検査を続行する等の方法が取り入れられている
Therefore, pattern recognition equipment is used in the keyboard manufacturing process to inspect the arrangement of characters and symbols on each keyboard, but if a defect is detected during the inspection, the inspection is stopped and the defect location and details are displayed. Methods have been adopted, such as performing a test and restarting the test to continue the next test.

しかし検出ヘッドまたは被被測定パターンを搭載する移
動ステージと、それを移動させる電動機はベルト等の伝
導機構を介して接続されており、検出ヘッドからの情報
は電動機に直結されたエンコーダの出力パルスに従って
出力される。かかる伝導機構を有する装置において電動
機を一旦停止させると、電動機はベルト等の張力によっ
て逆方向に回動し、電動機を再スタートさせてもベルト
等の張力が復旧するまでの間はステージの移動が行われ
ない。しかるにエンコーダからはパルス信号が出力され
ており、この間におけるパルス信号によって検出ヘッド
から情報が出力されると、情報を出力するダイミングに
ずれが生じる。
However, the moving stage on which the detection head or pattern to be measured is mounted and the electric motor that moves it are connected via a transmission mechanism such as a belt, and information from the detection head is transmitted according to the output pulses of an encoder directly connected to the electric motor. Output. In a device with such a transmission mechanism, once the electric motor is stopped, the electric motor will rotate in the opposite direction due to the tension of the belt, etc., and even if the electric motor is restarted, the stage will not move until the tension of the belt, etc. is restored. Not done. However, a pulse signal is output from the encoder, and if information is output from the detection head due to the pulse signal during this period, a shift occurs in the dimming for outputting the information.

したがってかかる動力の伝導機構を有するパターン認識
装置は、電動機を途中で停止させ再始動した際に発生す
る、停止の前後におけるパルス信号のタイミング誤差を
吸収する機能を具えていなければならない。
Therefore, a pattern recognition device having such a power transmission mechanism must have a function to absorb timing errors in pulse signals before and after stopping, which occur when the electric motor is stopped midway and restarted.

〔従来の技術〕[Conventional technology]

第3図は従来方式によるデバイドバルス送出回路の一例
を示す回路図である。
FIG. 3 is a circuit diagram showing an example of a conventional divide pulse sending circuit.

図において直流電動機1に直結されたエンコーダ2の出
力パルスは、波形整形回路3で整形されOR回路4を経
由してカウンタ5に入力されるー。カウンタ5にはデバ
イド条件を設定されており、カウンタ5は設定されたデ
バイド条件に従ってデバイドパルスを出力する。例えば
デバイド条件N−3であればカウンタ5に入力される3
個のパルス信号に対し、カウンタ5から1個のデバイド
パルスが出力される。
In the figure, output pulses from an encoder 2 directly connected to a DC motor 1 are shaped by a waveform shaping circuit 3 and input to a counter 5 via an OR circuit 4. A divide condition is set in the counter 5, and the counter 5 outputs a divide pulse according to the set divide condition. For example, if the divide condition is N-3, 3 is input to the counter 5.
One divide pulse is output from the counter 5 for each pulse signal.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来方式のデバイドバルス送出回路では直流電動機の回
転方向に関係なく、エンコーダから出力されたパルス信
号はカウンタによって加算される。
In the conventional divided pulse sending circuit, the pulse signals output from the encoder are added by a counter regardless of the rotational direction of the DC motor.

したがって途中で停止した直流電動機がベルト等の張力
によって逆方向に回動し、再スタートによってベルト等
の張力が復旧するまでの間にエンコーダから出力された
パルス信号も、カウンタによって加算されデバイドパル
スが出力される。即ち停止の前後においてデバイドパル
スのタイミングに誤差を生じるという問題があった。
Therefore, the pulse signal output from the encoder during the period when the DC motor that stopped midway rotates in the opposite direction due to the tension of the belt, etc. and the tension of the belt, etc. is restored by restarting is also added by the counter and the divided pulse is Output. That is, there is a problem in that an error occurs in the timing of the divide pulse before and after the stop.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明になるデバイドパルス送出回路の原理ブ
ロック図を示す。
FIG. 1 shows a block diagram of the principle of a divided pulse sending circuit according to the present invention.

上記問題点はパルス信号を入力するとバイナリコードを
出力するアップダウンカウンタ(以下カウンタと称する
)6と、カウンタ6から入力されるバイナリコードが、
予め設定されているバイナリコードに合致するとパルス
信号を出力するデコーダ7と、デコーダ7から出力され
るパルス信号によってカウンタ6をリセットする、リセ
ット回路8を具えてなる本発明のデバイドバルス送出回
路によって解決される。
The above problem is that the up/down counter (hereinafter referred to as counter) 6 outputs a binary code when a pulse signal is input, and the binary code input from the counter 6 is
The problem is solved by the divided pulse sending circuit of the present invention, which includes a decoder 7 that outputs a pulse signal when it matches a preset binary code, and a reset circuit 8 that resets the counter 6 using the pulse signal output from the decoder 7. be done.

〔作用〕[Effect]

第1図においてカウンタ6には(+)方向のパルス信号
と(−)方向のパルス信号が入力されており、(+)方
向のパルス信号が入力するとアップカウンタによって加
算され、加算されたパルスの数がバイナリコードで出力
される。そしてデコーダ7に例えばデバイド条件N=3
を示すバイナリコードが予め設定されており、カウンタ
6に(+)方向のパルス信号が3個入力されると、デコ
ーダ7からリセット回路8を経由して外部にパルス信号
が出力されると共に、リセット回路8によってカウンタ
6がリセットされる。
In FIG. 1, a pulse signal in the (+) direction and a pulse signal in the (-) direction are input to the counter 6. When a pulse signal in the (+) direction is input, it is added by the up counter, and the added pulse is The number is output in binary code. Then, for example, divide condition N=3 is applied to the decoder 7.
A binary code indicating this is set in advance, and when three pulse signals in the (+) direction are input to the counter 6, a pulse signal is output from the decoder 7 to the outside via the reset circuit 8, and a reset is performed. The counter 6 is reset by the circuit 8.

一方(−)方向のパルス信号が入力するとそれまでのパ
ルスの数からダウンカウンタによって減算され、減算さ
れたパルスの数がバイナリコードで出力される。例えば
カウンタ6として24進のカウンタを使用し、(+)方
向のパルスを2個入力した後(−)方向のパルスを10
個入力したとすると、カウンタ6から出力されるバイナ
リコードは8を表すコードになり、その間デコーダ7に
予め設定されているN=3を示すバイナリコードとは合
致せず、デコーダ7からパルス信号か出力されることは
ない。したがってその間カウンタ6がリセットされるこ
ともない。
On the other hand, when a pulse signal in the (-) direction is input, it is subtracted from the number of pulses up to that point by a down counter, and the subtracted number of pulses is output as a binary code. For example, use a 24-base counter as counter 6, input 2 pulses in the (+) direction, and then input 10 pulses in the (-) direction.
If N = 3 is input, the binary code output from the counter 6 becomes a code representing 8, which does not match the binary code representing N = 3 set in advance in the decoder 7, and the pulse signal from the decoder 7 is It is never output. Therefore, the counter 6 is not reset during that time.

かかる状態から再び(+)方向のパルス信号が入力する
とアンプカウンタによって加算され、加算されたパルス
の数がバイナリコードで出力される。しかし初期値が8
を表すバイナリコードであり、(+)方向のパルス信号
が11個入力されるまでデコーダ7からパルス信号か出
力されることはない。即ち(−)方向のパルス信号が入
力する前の状態に戻った後、その点から再度(+)方向
のパルス信号の加算が始まり、カウンタ6から出力され
るバイナリコードが、デコーダ7に予め設定されている
N=3を示すバイナリコードに合致すると、デコーダ7
からリセット回路8を経由して外部にパルス信号が出力
されると共に、リセット回路8によってカウンタ6がリ
セットされる。
When a pulse signal in the (+) direction is input again from this state, it is added up by the amplifier counter, and the added number of pulses is output as a binary code. However, the initial value is 8
The decoder 7 will not output a pulse signal until 11 pulse signals in the (+) direction are input. That is, after returning to the state before the (-) direction pulse signal was input, the addition of the (+) direction pulse signal starts again from that point, and the binary code output from the counter 6 is set in the decoder 7 in advance. If it matches the binary code indicating N=3, the decoder 7
A pulse signal is outputted to the outside via the reset circuit 8, and the counter 6 is reset by the reset circuit 8.

したがってかかるデバイドパルス送出回路を用いること
によって、途中で停止した直流電動機がベルト等の張力
によって逆方向に回動し、再スタートによってベルト等
の張力が復旧するまでの間にエンコーダからパルス信号
が出力されても、カウンタによってパルス数の加算、減
算が正確に行われ、停止の前後において生じるデバイド
パルスのタイミング誤差を無くすことができる。
Therefore, by using such a divided pulse sending circuit, a DC motor that has stopped midway rotates in the opposite direction due to the tension of the belt, etc., and a pulse signal is output from the encoder until the tension of the belt, etc. is restored by restarting. Even if the pulse number is stopped, the counter can accurately add and subtract the number of pulses, and it is possible to eliminate the timing error of the divide pulse that occurs before and after the stop.

〔実施例〕〔Example〕

以下添付図により本発明の実施例について説明する。第
2図は本発明になるデバイドパルス送出回路の一実施例
を示す回路図であり、全図を通し同じ対象物は同一記号
で表している。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 2 is a circuit diagram showing an embodiment of the divided pulse sending circuit according to the present invention, and the same objects are represented by the same symbols throughout the figures.

図において直流電動機1に直結されたエンコーダ2の出
力パルスは、波形整形回路3で整形されデバイドバルス
送出回路に入力される。デバイドパルス送出回路は24
進のカウンタ6とデコーダ7とリセット回路8を具え、
24進カウンタ6の出力端子QA、 QB、 QCSQ
Dはそれぞれデコーダ7の入力端子A、B、C,Dに接
続されている。またリセット回路8は単安定マルチパイ
プレーク(以下単安定マルチと称する)81とNAND
回路82からなるパルス信号出力部、および単安定マル
チ83とNOR回路84からなるリセット信号出力部か
ら構成されており、NOR回路84から出力されるリセ
ット信号はカウンタ6のリセット回路61に入力される
In the figure, output pulses from an encoder 2 directly connected to a DC motor 1 are shaped by a waveform shaping circuit 3 and input to a divide pulse sending circuit. The divide pulse sending circuit is 24
It is equipped with a decimal counter 6, a decoder 7, and a reset circuit 8,
Output terminals QA, QB, QCSQ of 24-decimal counter 6
D are connected to input terminals A, B, C, and D of the decoder 7, respectively. In addition, the reset circuit 8 is a monostable multipipe rake (hereinafter referred to as monostable multi) 81 and a NAND
It consists of a pulse signal output section consisting of a circuit 82 and a reset signal output section consisting of a monostable multi 83 and a NOR circuit 84, and the reset signal output from the NOR circuit 84 is input to the reset circuit 61 of the counter 6. .

例えば直流電動機1が時計廻り方向に回転したときの、
波形整形回路3からの出力パルスを(+)方向のパルス
信号とすれば、直流電動機1が反時計廻り方向に回転し
たときの、波形整形回路3からの出力パルスは(−)方
向のパルス信号であり、これをそれぞれカウンタ6のア
ンプ端子62またはダウン端子63に入力することによ
りパルス数の加算、減算の計算が行われる。そして加算
、減算されカウンタ6から出力されるバイナリコードが
、デコーダ7に予め設定されているバイナリコードに合
致するとデコーダ7からパルス信号が出力され、単安定
マルチ81の出力レベルが反転してNAND回路82を
介し外部にパルス信号が出力されると共に、単安定マル
チ83の出力レベルが反転してカウンタ6がリセットさ
れ、カウンタから出力されるバイナリコードはOに復帰
する。
For example, when the DC motor 1 rotates clockwise,
If the output pulse from the waveform shaping circuit 3 is a pulse signal in the (+) direction, the output pulse from the waveform shaping circuit 3 when the DC motor 1 rotates counterclockwise is a pulse signal in the (-) direction. By inputting these to the amplifier terminal 62 or down terminal 63 of the counter 6, addition and subtraction of the number of pulses is performed. Then, when the binary code outputted from the counter 6 after addition and subtraction matches the binary code preset in the decoder 7, a pulse signal is outputted from the decoder 7, and the output level of the monostable multi 81 is inverted and the NAND circuit At the same time, the pulse signal is outputted to the outside via 82, the output level of the monostable multi 83 is inverted, the counter 6 is reset, and the binary code output from the counter returns to O.

したがって本発明になるデバイドパルス送出回路は途中
で停止した直流電動機が逆方向に回動し、再スタートに
よって復旧するまでの間にエンコーダからパルス信号を
出力しても、停止の前後において生じるデバイドパルス
のタイミング誤差を無くすことができる。
Therefore, in the divided pulse sending circuit of the present invention, even if a DC motor that has stopped midway rotates in the opposite direction and outputs a pulse signal from the encoder until the DC motor is restarted and restarted, the divided pulse that occurs before and after the stop is generated. timing errors can be eliminated.

〔発明の効果〕〔Effect of the invention〕

上述の如く本発明によれば電動機を途中で停止させ再始
動した際に発生する、停止の前後におけるパルス信号の
タイミング誤差を吸収する機能を具えたパターン認識装
置を提供することができる。
As described above, according to the present invention, it is possible to provide a pattern recognition device having a function of absorbing the timing error of the pulse signal before and after the stop, which occurs when the electric motor is stopped midway and restarted.

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

第1図は本発明になるデバイドバルス送出回路の原理ブ
ロック図、 第2図は本発明の一実施例を示す回路図、第3図は従来
方式の一例を示す回路図、である。図において 1は直流電動機、   2はエンコーダ、3は波形整形
回路、 6はアップダウンカウンタ、 7はデコーダ、     8はリセット回路、61はリ
セット端子、  62はアンプ端子、63はダウン端子
、   81.83は単安定マルチ、82はNAND回
路、    84はNOR回路、QA、QB、 QC,
QDはカウンタの出力端子、A、B、C,Dはデコーダ
の入力端子、をそれぞれ表す。 ント、子6日H/1原工8Lフ゛℃、77臣■率1閉 ト梵σ助笑炭例 不2酊
FIG. 1 is a principle block diagram of a divide pulse sending circuit according to the present invention, FIG. 2 is a circuit diagram showing an embodiment of the present invention, and FIG. 3 is a circuit diagram showing an example of a conventional system. In the figure, 1 is a DC motor, 2 is an encoder, 3 is a waveform shaping circuit, 6 is an up/down counter, 7 is a decoder, 8 is a reset circuit, 61 is a reset terminal, 62 is an amplifier terminal, 63 is a down terminal, 81.83 is monostable multi, 82 is NAND circuit, 84 is NOR circuit, QA, QB, QC,
QD represents the output terminal of the counter, and A, B, C, and D represent the input terminals of the decoder, respectively. 6th day, child 6 days H/1 original factory 8L ゛℃, 77 ministers rate 1 closed site Sanskrit σsuke charcoal unprecedented 2 drunkenness

Claims (1)

【特許請求の範囲】 パルス信号を入力するとバイナリコードを出力するアッ
プダウンカウンタ(6)と、 該アップダウンカウンタ(6)から入力されるバイナリ
コードが、予め設定されているコードに合致するとパル
ス信号を出力する デコーダ(7)と、 該デコーダ(7)から出力されるパルス信号によって該
アップダウンカウンタ(6)をリセットする、リセット
回路(8)を具えてなることを特徴とするデバイドパル
ス送出回路。
[Claims] An up/down counter (6) that outputs a binary code when a pulse signal is input, and a pulse signal when the binary code input from the up/down counter (6) matches a preset code. A divide pulse sending circuit comprising: a decoder (7) that outputs a pulse signal; and a reset circuit (8) that resets the up/down counter (6) using a pulse signal output from the decoder (7). .
JP60059823A 1985-03-25 1985-03-25 Divide pulse transmission circuit Expired - Lifetime JPH0612877B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60059823A JPH0612877B2 (en) 1985-03-25 1985-03-25 Divide pulse transmission circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60059823A JPH0612877B2 (en) 1985-03-25 1985-03-25 Divide pulse transmission circuit

Publications (2)

Publication Number Publication Date
JPS61218227A true JPS61218227A (en) 1986-09-27
JPH0612877B2 JPH0612877B2 (en) 1994-02-16

Family

ID=13124331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60059823A Expired - Lifetime JPH0612877B2 (en) 1985-03-25 1985-03-25 Divide pulse transmission circuit

Country Status (1)

Country Link
JP (1) JPH0612877B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5811340U (en) * 1981-07-15 1983-01-25 株式会社日立製作所 Arbitrary frequency generator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5811340U (en) * 1981-07-15 1983-01-25 株式会社日立製作所 Arbitrary frequency generator

Also Published As

Publication number Publication date
JPH0612877B2 (en) 1994-02-16

Similar Documents

Publication Publication Date Title
US4714913A (en) Quadrature phase signal processor
JPS61218227A (en) Divided pulse sending circuit
JPS592107A (en) Interface apparatus
JPH061279B2 (en) Digital speed detector
JPH074990A (en) Method for detecting absolute position in encoder apparatus
JPH04346069A (en) Speed signal generating circuit
KR910001846B1 (en) Checking machine of velocity of motor
JPS5430053A (en) Pointer inspecting device having erroe checking functions
JPS6038658A (en) Speed detecting apparatus
SU994916A2 (en) Device for registering remote discrete displacements
SU737899A1 (en) Device for automatic measuring of statistical characteristics of digital instrument random errors
SU489079A1 (en) Device for interfacing an automated control system with an operator
JP2501814Y2 (en) Analog signal input device
JPS5994011A (en) Detection of position
JPS5820180B2 (en) Speed distortion detection method
JPS58120167A (en) Detection of speed
KR100252079B1 (en) Apparatus for detecting position
JPH05248893A (en) Backup type absolute position encoder
SU1537206A1 (en) Method of determining tremor
KR830000901B1 (en) Improved transducer signal device
SU932519A1 (en) Graphic information readout device
SU993456A1 (en) Pulse synchronization device
JPS6457174A (en) Speed signal detector
JPS6091268A (en) Rotary speed and direction detecting apparatus
JPS5943788B2 (en) Electronics