JPS6325390B2 - - Google Patents
Info
- Publication number
- JPS6325390B2 JPS6325390B2 JP55125464A JP12546480A JPS6325390B2 JP S6325390 B2 JPS6325390 B2 JP S6325390B2 JP 55125464 A JP55125464 A JP 55125464A JP 12546480 A JP12546480 A JP 12546480A JP S6325390 B2 JPS6325390 B2 JP S6325390B2
- Authority
- JP
- Japan
- Prior art keywords
- detection
- flip
- signal
- flop
- circuit
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 26
- 238000003708 edge detection Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 6
- 230000007257 malfunction Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/10—Image acquisition
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Conveying Record Carriers (AREA)
- Character Input (AREA)
Description
【発明の詳細な説明】
本発明は、光学式文字読取装置等に於て、帳票
を検出する帳票検出回路に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a form detection circuit for detecting a form in an optical character reading device or the like.
一般的に、光学式文字読取装置に於いては、帳
票を走らせながら読取りを行わせるため、走行路
内の帳票の制御が必要である。そのために、帳票
が走行路内の所定の場所を通過するときに、光学
的に帳票を検出した信号を取出す帳票検出回路を
有している。帳票の長さや位置を検知するため、
この帳票検出回路により帳票の前縁および後縁を
正確に知る必要がある。 Generally, in an optical character reading device, since reading is performed while the form is running, it is necessary to control the form within the running path. To this end, the vehicle includes a form detection circuit that outputs a signal that optically detects a form when the form passes a predetermined location on the travel path. To detect the length and position of the form,
This form detection circuit needs to accurately determine the leading and trailing edges of the form.
従来の帳票検出回路は、単に帳票が走行路内の
所定の場所に設けた受光素子をおおつた時、論理
“0”、そうでない時論理“1”となる(その逆も
ある)信号を発生する回路であつた。 Conventional form detection circuits simply generate a signal that becomes logic "0" when the form covers a light-receiving element installed at a predetermined location on the travel path, and becomes logic "1" otherwise (and vice versa). The circuit was designed to do this.
しかし、フアイルパンチ穴付帳票を検出させた
場合、穴の位置によつては、穴が受光素子上を通
過してフアイルパンチ穴を検出し、誤作動する場
合が多々あつた。このため、ほとんどの装置は帳
票のパンチ穴位置を制限していた。従つて、既脹
票での光学式読取装置の適用が不可能となつた
り、新規に帳票を作成しなければならなかつたり
等のわずらわしさを伴い、汎用性に欠ける欠点が
あつた。 However, when a document with a file punch hole is detected, depending on the position of the hole, the hole often passes over the light receiving element and the file punch hole is detected, resulting in a malfunction. For this reason, most devices limit the punch hole positions on forms. Therefore, it is not possible to apply the optical reading device to existing slips, it is necessary to create new slips, etc., which is troublesome, and there is a drawback that the method lacks versatility.
本発明は、従来の上記事情に鑑みてなされたも
のであり、本発明の目的は、波形修正回路を付加
することにより、受光素子がフアイルパンチ穴を
検出しても、帳票の前縁および後縁のみに対応し
た信号を出力し、帳票の穴で誤作動することな
く、帳票の穴の位置によつて適用が制限されず、
汎用性のある帳票検出回路を提供することにな
る。 The present invention has been made in view of the above-mentioned conventional circumstances, and an object of the present invention is to add a waveform correction circuit so that even if the light-receiving element detects a file punch hole, the leading edge and rear edge of the form can be fixed. It outputs a signal that corresponds only to the edges, does not malfunction due to holes in the form, and is not limited in application by the position of the hole in the form.
This provides a versatile form detection circuit.
本発明によれば、相対的に移動する帳票を検出
する検出素子と、この検出素子からの前記帳票の
前縁の検出信号に応答して第1の状態にセツトさ
れ、前記帳票に設けられた穴の検出終了信号に応
答して第2の状態にリセツトされる第1のフリツ
プフロツプと、前記検出素子からの検出信号を反
転させるインバータ回路と、このインバータ回路
を介して前記検出素子から与えられる前記帳票に
設けられた穴の検出開始信号に応答して第1のフ
リツプフロツプの出力をセツトし前記インバータ
回路を介して前記検出素子から与えられる前記帳
票の後縁検出信号に応答してリセツトされる第2
のフリツプフロツプと、前記第1および第2のフ
リツプフロツプからの否定出力の論理和をとるゲ
ート回路とを含むことを特徴とする帳票検出回路
が得られる。 According to the present invention, there is provided a detection element for detecting a relatively moving form; a first flip-flop that is reset to a second state in response to a hole detection end signal; an inverter circuit that inverts the detection signal from the detection element; and an inverter circuit that inverts the detection signal from the detection element through the inverter circuit. The output of the first flip-flop is set in response to a detection start signal for a hole provided in a form, and the output of the first flip-flop is reset in response to a trailing edge detection signal of the form provided from the detection element via the inverter circuit. 2
There is obtained a form detection circuit characterized in that it includes a flip-flop, and a gate circuit that takes the logical sum of negative outputs from the first and second flip-flops.
次に本発明を実施例の図面を参照して説明す
る。 Next, the present invention will be explained with reference to drawings of embodiments.
第1図は本発明の一実施例のブロツク図で、光
源1からの光を受ける受光素子2からの信号をホ
トアンプAMPが増巾して論理信号PHを出力す
る。(従来の帳票検出回路は、これら光源1と受
光素子2とホトアンプAMPから構成されてい
た。)帳票3が光源1と受光素子2の間を走行し、
論理信号PHは帳票3が受光素子2をおおつた
時、“1”それ以外の時は“0”となる信号で選
択回路SELに入力される。波形修正回路CORは
論理信号PHを入力し、パンチ穴による波形のみ
だれを修正し、出力が選択回路SELの他の入力と
なる。 FIG. 1 is a block diagram of an embodiment of the present invention, in which a photoamplifier AMP amplifies a signal from a light receiving element 2 that receives light from a light source 1 and outputs a logic signal PH. (The conventional form detection circuit was composed of the light source 1, the light receiving element 2, and the photoamplifier AMP.) The form 3 runs between the light source 1 and the light receiving element 2,
The logic signal PH is input to the selection circuit SEL as a signal that becomes "1" when the form 3 covers the light receiving element 2, and "0" otherwise. The waveform correction circuit COR inputs the logic signal PH, corrects the distortion of the waveform due to the punched hole, and the output becomes the other input of the selection circuit SEL.
又、切替回路SWは、選択回路SELの2入力の
いずれかを選択して出力として取り出すためのセ
レクト信号を帳票3に合せて出力する。これは手
動による切替スイツチ回路やプログラムにより自
動的に切換信号を出力させる回路からなり、第4
図に示すような走行方向5へ送られる帳票3′に
設けられたパンチ穴4が受光素子2上を通るとき
は、波形修正回路CORからの信号を選択し、パ
ンチ穴4が受光素子2上を通らないとき、または
帳票1にパンチ穴4がないときは論理信号PHを
選択し、それぞれを選択回路SELから出力させ
る。 Further, the switching circuit SW outputs a selection signal for selecting one of the two inputs of the selection circuit SEL and taking it out as an output in accordance with the form 3. This consists of a manual changeover switch circuit and a circuit that automatically outputs a changeover signal using a program.
When the punched hole 4 provided in the form 3' sent in the traveling direction 5 passes over the light receiving element 2 as shown in the figure, the signal from the waveform correction circuit COR is selected and the punched hole 4 passes over the light receiving element 2. When the punch hole 4 does not pass through the punch hole 4, or when the form 1 does not have the punch hole 4, the logic signal PH is selected and each is outputted from the selection circuit SEL.
第2図は波形修正回路CORの詳細を示したブ
ロツク図である。フリツプフロツプF1は、クロ
ツク入力端子CP1に論理信号PHが供給され、入
力端子D1に、自からの反転出力が接続され、リ
セツト端子MR1にリセツト信号R1が入力され
る。インバータ回路INVは論理信号PHに接接さ
れ、フリツプフロツプF2は、クロツク入力端子
CP2にインバータ回路INVが接続され、入力端
子D2にフリツプフロツプF1の出力が、リセツ
ト端子MR2に、アンドゲートG2を介してイン
バータ回路INVとフリツプフロツプF1の反転
出力が接続される。フリツプフロツプF1,F2
それぞれの反転出力を入力するナンドゲートG3
の出力Aが選択回路SELに供給される。 FIG. 2 is a block diagram showing details of the waveform correction circuit COR. The flip-flop F1 has its clock input terminal CP1 supplied with a logic signal PH, its input terminal D1 connected to its inverted output, and its reset terminal MR1 supplied with a reset signal R1. The inverter circuit INV is connected to the logic signal PH, and the flip-flop F2 is connected to the clock input terminal.
The inverter circuit INV is connected to CP2, the output of the flip-flop F1 is connected to the input terminal D2, and the inverted outputs of the inverter circuit INV and the flip-flop F1 are connected to the reset terminal MR2 via an AND gate G2. Flip-flop F1, F2
NAND gate G3 inputting each inverted output
The output A of is supplied to the selection circuit SEL.
帳票に設けられたパンチ穴が受光素子2上を通
つて検出された時の波形修正回路CORの動作を
第3図のタイムチヤートを用いて説明する。 The operation of the waveform correction circuit COR when a punch hole provided in a form is detected by passing over the light receiving element 2 will be explained using the time chart shown in FIG.
2つのフリツプフロツプF1,F2は、帳票が
検出されず論理信号PHが“0”であるときに、
予めリセツト信号R1によりリセツトされてい
る。帳票の前縁が受光素子2により検出される時
点bで論理信号PHが“1”に立上り、フリツプ
フロツプF1がセツトされる。次に、パンチ穴が
受光素子2上に来て検出され始めた時点Cで論理
信号PHは一旦“0”に落ち、この時、フリツプ
フロツプF1の出力が“1”になつているのでフ
リツプフロツプF2がセツトされる。続いてパン
テ穴が受光素子2上を通り過ぎて検出されなくな
つた時点dで論理信号PHは再び“1”に立ち上
り、この時入力端子D1の信号が“0”なのでフ
リツプフロツプF1はリセツトされる。さらに帳
票の後縁が受光素子2により検出されると、論理
信号PHが再び“0”に落ちアンドゲートG2が
出力されフリツプフロツプF2がリセツトされ
る。従つてナンドゲートG3は、帳票の前縁が検
出される時点bで、“1”に立ち上がり後縁が検
出される時点eで“0”に落ち、パンチ穴により
影響されることのない出力Aを選択回路SELに供
給する。 The two flip-flops F1 and F2 operate when no form is detected and the logic signal PH is "0".
It has been reset in advance by a reset signal R1. At time b when the leading edge of the form is detected by the light receiving element 2, the logic signal PH rises to "1" and the flip-flop F1 is set. Next, at time C when the punch hole reaches the light receiving element 2 and begins to be detected, the logic signal PH temporarily drops to "0", and at this time, since the output of the flip-flop F1 is "1", the output of the flip-flop F2 is is set. Subsequently, at time d when the panty hole passes over the light receiving element 2 and is no longer detected, the logic signal PH rises to "1" again, and since the signal at the input terminal D1 is "0" at this time, the flip-flop F1 is reset. Furthermore, when the trailing edge of the form is detected by the light receiving element 2, the logic signal PH falls to "0" again, and the AND gate G2 is output and the flip-flop F2 is reset. Therefore, the NAND gate G3 rises to "1" at the time b when the leading edge of the form is detected, and falls to "0" at the time e when the trailing edge is detected, producing an output A that is not affected by the punched hole. Supplies to selection circuit SEL.
本発明は以上説明したように波形修正回路を設
けることにより、帳票の前縁および後縁のみに対
応した信号を出力し、帳票の検出において帳票の
穴で誤動作することなく、帳票の穴の位置によつ
て適用が制限されず、汎用性のある効果がある。 As explained above, by providing a waveform correction circuit, the present invention outputs a signal corresponding only to the leading edge and trailing edge of a form, and detects the position of the hole in the form without causing a malfunction due to the hole in the form. It has a versatile effect without being limited in its application.
第1図は本発明の一実施例のブロツク図、第2
図は第1図に示す波形修正回路CORの詳細を示
すブロツク図、第3図は第2図に示す波形修正回
路CORの動作を説明するための波形図、第4図
はパンチ穴4を設けられた一例の帳票3′の平面
図である。
1……光源、2……受光素子、3……帳票、4
……パンチ穴、AMP……ホトアンプ回路、COR
……波形修正回路、SEL……選択回路、SW……
切替回路、F1,F2……フリツプフロツプ。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG.
The figure is a block diagram showing details of the waveform correction circuit COR shown in Fig. 1, Fig. 3 is a waveform diagram for explaining the operation of the waveform correction circuit COR shown in Fig. 2, and Fig. 4 is a block diagram showing the details of the waveform correction circuit COR shown in Fig. 2. FIG. 3 is a plan view of an example of a form 3'. 1... Light source, 2... Light receiving element, 3... Form, 4
...Punch hole, AMP...Photoamplifier circuit, COR
...Waveform correction circuit, SEL...Selection circuit, SW...
Switching circuit, F1, F2...Flip-flop.
Claims (1)
と、 この検出素子からの前記帳票の前縁の検出信号
に応答して第1の状態にセツトされ、前記検出素
子からの前記帳票に設けられた穴の検出終了信号
に応答して第2の状態にリセツトされる第1のフ
リツプフロツプと、 前記検出素子からの検出信号を反転させるイン
バータ回路と このインバータ回路を介して前記検出素子から
与えられる前記穴の検出開始信号に応答して第1
のフリツプフロツプの出力をセツトし前記インバ
ータ回路を介して前記検出素子から与えられる前
記帳票の後縁検出信号に応答してリセツトされる
第2のフリツプフロツプと、 前記第1のフリツプフロツプの否定出力と前記
第2のフリツプフロツプの否定出力との論理和を
とるゲート回路とを含むことを特徴とする帳票検
出回路。[Scope of Claims] 1. A detection element that detects a relatively moving form; and a detection element that is set to a first state in response to a detection signal of the leading edge of the form from this detection element, and a detection element that detects a relatively moving form; a first flip-flop that is reset to a second state in response to a detection completion signal for holes provided in the form; an inverter circuit that inverts the detection signal from the detection element; In response to the hole detection start signal given from the element, the first
a second flip-flop which sets the output of the flip-flop and is reset in response to the trailing edge detection signal of the form applied from the detection element via the inverter circuit; 1. A form detection circuit comprising: a gate circuit that performs an OR operation with the negative output of a flip-flop.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP55125464A JPS5750074A (en) | 1980-09-10 | 1980-09-10 | Slip detecting circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP55125464A JPS5750074A (en) | 1980-09-10 | 1980-09-10 | Slip detecting circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS5750074A JPS5750074A (en) | 1982-03-24 |
JPS6325390B2 true JPS6325390B2 (en) | 1988-05-25 |
Family
ID=14910730
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP55125464A Granted JPS5750074A (en) | 1980-09-10 | 1980-09-10 | Slip detecting circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5750074A (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6011982A (en) * | 1983-06-30 | 1985-01-22 | Toshiba Corp | Slip detector |
-
1980
- 1980-09-10 JP JP55125464A patent/JPS5750074A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS5750074A (en) | 1982-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR940012799A (en) | Automated Test Clock Selector | |
FR2393467A1 (en) | DIGITAL CIRCUIT SELECTIVE TO ONE SIGNAL | |
KR910014713A (en) | Time measuring circuit and method for measuring time between two asynchronous pulses | |
JPS6325390B2 (en) | ||
US4806792A (en) | Differential amplifier circuit | |
JPH0133052B2 (en) | ||
JPS56154819A (en) | Waveform shaping circuit for digital signal | |
JPS56159817A (en) | Error correcting device | |
JPS6067555U (en) | Signal pattern detection circuit | |
JPS5664325A (en) | Automatic focus control device of phase synchronizing system | |
SU1471291A1 (en) | Extremum finder | |
JPS6215664A (en) | Logic simulation | |
JPH0129091B2 (en) | ||
JPH0553703A (en) | Chattering eliminating circuit | |
JPS6126989Y2 (en) | ||
SU1264846A3 (en) | Device for threshold detection of analogue signal peak in reproduction from recording magnetic medium | |
JPS60104902U (en) | Tracking motor circuit | |
JPS6383825U (en) | ||
JPS5815237U (en) | synchronizer | |
JPS6098823U (en) | Camera information input device | |
JPS59151218A (en) | Clock control system | |
JPS576918A (en) | Clock control circuit | |
JPH0478960A (en) | Logical simulator unit time setting system | |
JPS60122742U (en) | Double pinhole detection device | |
JPS6327930A (en) | Interruption control circuit |