Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH052243B2 - - Google Patents
[go: Go Back, main page]

JPH052243B2 - - Google Patents

Info

Publication number
JPH052243B2
JPH052243B2 JP61290660A JP29066086A JPH052243B2 JP H052243 B2 JPH052243 B2 JP H052243B2 JP 61290660 A JP61290660 A JP 61290660A JP 29066086 A JP29066086 A JP 29066086A JP H052243 B2 JPH052243 B2 JP H052243B2
Authority
JP
Japan
Prior art keywords
signal
output
input
gate
flip
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
Application number
JP61290660A
Other languages
Japanese (ja)
Other versions
JPS63142208A (en
Inventor
Hideo Tamura
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.)
MEIKOO KK
Original Assignee
MEIKOO KK
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 MEIKOO KK filed Critical MEIKOO KK
Priority to JP61290660A priority Critical patent/JPS63142208A/en
Publication of JPS63142208A publication Critical patent/JPS63142208A/en
Publication of JPH052243B2 publication Critical patent/JPH052243B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 この発明は計測装置、詳細には存在位置、数の
不確定な被計測物を計測することが可能な計測装
置及び計測対象を計数可能な計測装置に関する。
[Detailed Description of the Invention] (a) Field of Industrial Application This invention relates to a measuring device, specifically a measuring device capable of measuring objects to be measured whose location and number are uncertain, and a measuring device capable of counting objects to be measured. related to a measuring device.

(ロ) 従来の技術 従来、被計測物、例えば孔の複数ある基板の孔
数などを計測するには、上下に並ぶ光源と計測手
段との間に基板を水平方向に直進通過させ光源が
照射する光を計測手段がCCDカメラ等により受
光し、受光の有無をデイジタル化した信号として
マイクロコンピユータ等計測処理手段あるいは計
数処理手段へ送信し行つていた。同装置では孔の
あいた部分の光は受光部に到達し、孔の無い部分
の光は遮られ受光部に到達しなない。この受光の
有無を被計測物上の各点の情報として、被計測物
の進行方向に直角方向に計測手段の受光素子幅
(以下、ドツト幅とも言う。)でスライスするよう
に走査し、受光部よりマイクロコンピユータ等処
理手段へ伝送し行つていた。更に、計測対象を計
数するために受光部からの信号をマイクロコンピ
ユータに設ける記憶装置に記憶し、次いで、記憶
装置上の画像をラスタ走査で順次走査し、1画素
を見付けラベルを付す。次いで、このラベルの付
いた画素の8近傍内にある画素にも同じラベルを
付し、新しくラベルを付す画素が無くなつたと
き、一つの連結画素に同じラベルを割り当てる。
新しくラベルを付す画素が無くなつたところで、
再び走査を行い、まだラベルの無い画素を見付け
たところで、前に使用していない新しいラベルを
付し、再び8近傍内にある画素に同じラベルを付
す。この作業を繰り返すことにより、被計測物上
の総てのドツトの画像を走査し終えたとき、ラベ
リングに使用したラベルの数が、被計測物上の孔
の数となり計数する方法を用いていた。
(b) Conventional technology Conventionally, in order to measure the number of holes in an object to be measured, for example, a board with multiple holes, the board is passed straight horizontally between a light source and a measuring means that are lined up above and below, and the light source illuminates the board. A measuring means receives the light with a CCD camera or the like, and transmits the presence or absence of the light as a digital signal to a measurement processing means such as a microcomputer or a counting processing means. In this device, light from areas with holes reaches the light receiving section, while light from areas without holes is blocked and does not reach the light receiving section. The presence or absence of this light reception is used as information for each point on the object to be measured, and the object is scanned perpendicularly to the direction of movement of the object by slicing it by the width of the light-receiving element (hereinafter also referred to as dot width). The information was transmitted from the department to a processing means such as a microcomputer. Furthermore, in order to count the objects to be measured, the signal from the light receiving section is stored in a storage device provided in the microcomputer, and then the image on the storage device is sequentially scanned by raster scanning to find one pixel and label it. Next, the same label is attached to pixels within 8 neighborhoods of this labeled pixel, and when there are no more pixels to be newly labeled, the same label is assigned to one connected pixel.
When there are no more pixels to label,
Scanning is performed again, and when a pixel that does not yet have a label is found, a new label that has not been used before is attached, and the same label is attached to the pixels within the 8-neighborhood again. By repeating this process, when the images of all the dots on the object to be measured have been scanned, the number of labels used for labeling becomes the number of holes on the object to be measured. .

しかし、上述のような方法では、被計測物上に
仮定した総てのドツトに対する受光の有無をマイ
クロコンピユータに記憶させなければならず、ラ
ベリングするための複雑なコンピユータソフトを
必要とし、更に走査、ラベリングの繰り返しによ
り、多大な計数時間を要する等問題点を有した。
However, in the above-mentioned method, the presence or absence of light reception for all dots assumed on the object to be measured must be stored in a microcomputer, requiring complicated computer software for labeling, and scanning, This method had problems such as requiring a large amount of counting time due to repeated labeling.

そこで本発明者は、上述の問題を解決すべく特
願昭60−117849号で、存在位置、数の不確定な被
計測物の計数対象を計数可能な計数機を提案し
た。この計数機によれば、被計測物、例えば孔の
複数ある基板の孔数などを計測するために、上下
に並ぶ光源と計測手段である受光手段との間に基
板を水平方向に直進通過させ、孔のあいた部分の
光は受光手段に到達し、孔の無い部分の光は遮ら
れ受光手段に到達しない。この受光の有無を被計
測物上の各点の情報として、被計測物の進行方向
と交差方向に走査し、受光手段ではドツトの集ま
りとして、各ドツト毎の光の有無のみを受光の際
には〓1〓、非受光の際には[0]とデイジタル
化し、送信する。波光手段からの信号は記憶手段
及び計数手段が入力し、被計測物である基板の幅
毎に順次記憶する記憶手段は、走査した信号を被
計測物上に各ドツトの集まりとしあるかのごとく
記憶し、被計測物の幅方向のドツトの集まりを1
ラインとすると1ラインの入力信号を蓄積可能で
あり、記憶した1ラインの信号を出力するととも
に記憶を消去し、同時に受光手段が現在送信して
いる信号を記憶する。そこで、アンドゲートとフ
リツプフロツプ回路、計数カウンター、表示装置
とからなる計数手段が、受光手段からの現在走査
している信号と、記憶手段が記憶した1ライン前
の信号とを同期させ入力し、計数表示するという
計数機を発明提案した。
In order to solve the above-mentioned problem, the present inventor proposed in Japanese Patent Application No. 117849/1984 a counter capable of counting objects whose location and number are uncertain. According to this counting machine, in order to measure the number of holes in an object to be measured, for example, a board with multiple holes, the board is passed horizontally in a straight line between vertically arranged light sources and a light receiving means which is a measuring means. The light from the portions with holes reaches the light receiving means, and the light from the portions without holes is blocked and does not reach the light receiving means. The presence or absence of this light reception is used as information for each point on the object to be measured, and the object is scanned in a direction intersecting the direction of movement of the object. is digitized as 〓1〓, and when no light is received, it is digitized as [0] and transmitted. The signal from the wave light means is input to the storage means and the counting means, and the storage means stores the signals sequentially for each width of the substrate that is the object to be measured, as if the scanned signal were recorded as a collection of dots on the object to be measured. Memorize the collection of dots in the width direction of the object to be measured.
If it is a line, it is possible to store one line of input signals, output the stored one line of signals, erase the memory, and at the same time store the signal currently being transmitted by the light receiving means. Therefore, a counting means consisting of an AND gate, a flip-flop circuit, a counting counter, and a display device synchronizes and inputs the currently scanning signal from the light receiving means and the signal from one line before stored in the storage means, and performs counting. He invented and proposed a counting machine with a display.

(ハ) 発明が解決しようとする問題点 しかし、例えば、被計測物である基板にあく孔
を計測する場合等には、上述の計測装置の計測手
段である受光手段は、被計測物より幅小であるた
め、光源からの通過光は、被計測物である基板の
中心から走査方向端部に近付くほど、鋭角に計測
手段に到達するので、受光手段の受光素子と孔を
結ぶ軸方向の孔の計測手段側周縁と光源側周縁と
の重複部分の見掛上の径が孔の径より径小にな
る。従つて、孔を通過し受光手段の対応する受光
素子に到達する光は、受光素子を孔の径相当分だ
け受光させることはできず、計測手段は孔を見掛
上小さく計測してしまうという問題点を有した。
(C) Problems to be Solved by the Invention However, for example, when measuring a hole in a substrate that is an object to be measured, the light receiving means that is the measuring means of the above-mentioned measuring device is wider than the object to be measured. Because of the small size, the passing light from the light source reaches the measuring means at an acute angle as it approaches the end of the substrate in the scanning direction from the center of the substrate, which is the object to be measured. The apparent diameter of the overlapping portion of the circumferential edge of the hole on the measuring means side and the circumferential edge of the light source side is smaller than the diameter of the hole. Therefore, the light that passes through the hole and reaches the corresponding light-receiving element of the light-receiving means cannot be received by the light-receiving element in an amount equivalent to the diameter of the hole, and the measuring means measures the hole to be smaller than it appears. There were some problems.

上述のように、被計測物を計測する際に、被計
測物の厚味と、光源、被計測物及び受光手段との
相対的な位置関係とにより、被計測物を正確に計
測することが出来ないという問題点を回避するた
めには、計測手段であるCCDカメラの受光素子
を被計測物の走査方向幅若しくはそれ以上の長さ
にるよう、数本のCCDカメラを連続し設け計測
するにした。しかし、この計測方法では、被計測
物を通過する光を被計測物にあく孔の軸方向と一
致する方向に位置する受光素子で受光できるよう
に設置しなければならず、本来被計測物の孔を計
測するのに、1で充分足りるにも拘わらず、被計
測物の走査方向幅より長くならないため、被計測
物の走査方向幅の長さ以上に数本連接しなければ
ならず、その数本のCCDカメラを1のCCDカメ
ラとして作動するための複雑な手段を必要とする
等問題点を有するので、計数機を製作する製造コ
スト等経済面での問題点をも有した。
As mentioned above, when measuring an object, it is difficult to accurately measure the object depending on the thickness of the object and the relative positional relationship between the light source, the object, and the light receiving means. In order to avoid this problem, several CCD cameras should be installed in succession so that the light-receiving element of the CCD camera used as the measurement means is equal to or longer than the width of the object to be measured in the scanning direction. I made it. However, in this measurement method, the light passing through the object to be measured must be installed so that it can be received by the light receiving element located in the direction that corresponds to the axis of the hole in the object to be measured. Although one hole is sufficient to measure a hole, it is not longer than the width of the object to be measured in the scanning direction, so several holes must be connected in a manner that is longer than the width of the object to be measured in the scanning direction. This method has problems such as the need for complicated means to operate several CCD cameras as one CCD camera, and therefore has economical problems such as the manufacturing cost of manufacturing the counting machine.

(ニ) 問題点を解決するための手段 この発明は、被計測物が通過する際被計測物の
進行方向と交差方向へ一次元に走査し被計測物の
走査点での計測対象の「有」又は「無」を検知し
デジタル化して信号を送信する計測手段と、計測
手段の出力する信号を入力するとともに入力する
信号の一次元に走査する方向での被計測物計測該
当位置を指示するアドレス信号を入力し、計測手
段からの信号が計測対象を「有」と検知したデジ
タル化された信号の場合には所定の出力へ計測対
象を「有」と検知したデジタル化された信号を出
力し、被計測物の進行方向と交差する走査信号の
被計測物計測該当位置によつては計測対象を
「有」と検知したデジタル化された信号を所定数
の他の出力へ増補正し出力する複数の出力を有す
る信号発生手段と、信号発生手段の出力する複数
の出力信号を複数の論理演算手段が夫々対応する
よう入力し、1の信号出力維持手段が信号発生手
段の出力する計測対象を「有」又は「無」と検知
した信号のうちの1と同じ信号を入力し1の論理
演算手段へ出力維持し、1の信号出力維持手段の
出力する信号を入力した1の論理演算手段が同時
に信号発生手段からの他の出力信号をも入力し、
少なくともどちらかの信号が計測対象を「有」と
検知した信号の場合には計測対象を「有」と検知
した信号を次の信号出力維持手段へ信号出力し、
他の場合には計測対象を「無」と検知した信号を
次の信号出力維持手段へ信号出力し、1の論理演
算手段の出力する信号を入力した信号出力維持手
段が次の論理演算手段へ入力した信号を出力維持
するよう接続し、他の複数の論理演算手段及び信
号出力維持手段も順次同様に接続し、最終の信号
出力維持手段が計測信号を出力する補正信号出力
手段とからなることを特徴とする計測装置、 及び、 被計測物が通過する際被計測物の進行方向と交
差方向へ一次元に走査し被計測物の走査点での計
測対象の「有」又は「無」を検知しデジタル化し
て信号を送信する計測手段と、計測手段の出力す
る信号を入力するとともに入力する信号の一次元
に走査する方向での被計測物計測該当位置を指示
するアドレス信号を入力し、計測手段からの信号
が計測対象を「有」と検知したデジタル化された
信号の場合には所定の出力へ計測対象を「有」と
検知したデジタル化された信号を出力し、被計測
物の進行方向と交差する走査方向の被計測物計測
該当位置によつては計測対象を「有」と検知した
デジタル化された信号を所定数の他の出力へ増補
正し出力する複数の出力を有する信号発生手段
と、信号発生手段の出力する複数の出力信号を複
数の論理演算手段が夫々対応するよう入力し、1
の信号出力維持手段が信号発生手段の出力する計
測対象を「有」又は「無」と検知した信号のうち
の1と同じ信号を入力し1の論理演算手段へ出力
維持し、1の信号出力維持手段の出力する信号を
入力した1の論理演算手段が同時に信号発生手段
からの他の出力信号をも入力し、少なくともどち
らかの信号が計測対象を「有」と検知した信号の
場合には計測対象を「有」と検知した信号を次の
信号出力維持手段へ信号出力し、他の場合には計
測対象を「無」と検知した信号を次の信号出力維
持手段へ信号出力し、1の論理演算手段の出力す
る信号を入力した信号出力維持手段が次の論理演
算手段へ入力した信号を出力維持するよう接続
し、他の複数の論理演算手段及び信号出力維持手
段も順次同様に接続し、最終の信号出力維持手段
が計測信号を記憶手段及び計数手段へ出力する補
正信号出力手段と、補正信号出力手段の出力する
被計測物の幅部分の信号を走査毎に記憶する記憶
手段と、補正信号出力手段の出力する走査毎の被
計測物の幅部分の信号及び記憶手段が記憶した当
該走査の前の被計測物の幅部分の補正信号とを比
較して計数する計数手段とからなることを特徴と
する計測装置、を提供することにより上述のよう
な問題点を解消する。
(d) Means for Solving the Problems This invention scans the object one-dimensionally in the direction of movement and crossing the object as it passes, and scans the object at the scanning point of the object. A measurement means that detects "" or "absence", digitizes it, and transmits the signal, and inputs the signal output from the measurement means and instructs the measurement target position of the object in a one-dimensional scanning direction of the input signal. Input the address signal, and if the signal from the measurement means is a digitized signal that detects the measurement target as "present", outputs the digitized signal that detects the measurement target as "presence" to the specified output. Then, depending on the measurement object position of the scanning signal that intersects the direction of movement of the object to be measured, the digitized signal indicating that the object to be measured is detected as "present" is increased and corrected to a predetermined number of other outputs and output. a signal generating means having a plurality of outputs, a plurality of logic operation means inputting the plurality of output signals outputted by the signal generating means so as to correspond to each other, and one signal output maintaining means outputting a measurement target output from the signal generating means. 1 logic operation means inputs the same signal as one of the signals detected as "presence" or "absence" and maintains the output to the logic operation means 1, and inputs the signal output from the signal output maintenance means 1; simultaneously inputs other output signals from the signal generating means,
If at least one of the signals detects that the measurement target is "present," outputs the signal that detects the measurement target as "presence" to the next signal output maintaining means,
In other cases, the signal that detects that the measurement target is "absent" is outputted to the next signal output maintaining means, and the signal output maintaining means that has input the signal output from the first logical operation means is sent to the next logical operation means. Connected so as to maintain the output of the input signal, and connect a plurality of other logic operation means and signal output maintaining means in the same way in sequence, and the final signal output maintaining means comprises correction signal output means for outputting a measurement signal. A measuring device characterized by: and a measuring device that scans one-dimensionally in a direction intersecting the traveling direction of the measured object when the measured object passes, and detects whether the measured object is present or absent at a scanning point of the measured object. A measuring means that detects, digitizes and transmits a signal, inputs the signal output from the measuring means, and inputs an address signal that indicates the applicable position of the object to be measured in a one-dimensional scanning direction of the input signal, If the signal from the measurement means is a digitized signal that indicates that the object to be measured is "present," the digitized signal that indicates that the object to be measured is "present" is output to a predetermined output, and Measurement of the object to be measured in the scanning direction intersecting the direction of travel Depending on the applicable position, the digitized signal that detects the presence of the object to be measured is increased and corrected to a predetermined number of other outputs and has multiple outputs. A signal generating means and a plurality of output signals outputted from the signal generating means are inputted so as to correspond to each of the plurality of logic operation means,
The signal output maintaining means inputs the same signal as one of the signals output by the signal generating means that detects the measurement target as "presence" or "absence", maintains the output to the logic operation means of 1, and outputs the signal of 1. One logic operation means which inputs the signal output from the maintenance means simultaneously inputs another output signal from the signal generation means, and if at least one of the signals is a signal that detects that the measurement target is "present", A signal that detects that the measurement target is "present" is output as a signal to the next signal output maintaining means, and in other cases, a signal that detects that the measurement target is "absent" is output as a signal to the next signal output maintaining means; The signal output maintaining means inputting the signal output from the logical operating means is connected to the next logical operating means so as to output and maintain the input signal, and the other plurality of logic operating means and signal output maintaining means are sequentially connected in the same manner. the final signal output maintaining means outputs the measurement signal to the storage means and the counting means; and the storage means stores the signal of the width portion of the object to be measured outputted by the correction signal output means for each scan. , a counting means for comparing and counting the signal of the width portion of the object to be measured for each scan outputted by the correction signal output means and the correction signal for the width portion of the object to be measured before the scanning stored in the storage means; The above-mentioned problems are solved by providing a measuring device characterized by the following.

(ホ) 作用 計測手段が被計測物を計測した信号及び入力し
た信号の被計測物計測該当位置を指示するアドレ
ス信号を信号発生手段が入力し、信号の被計測物
計測該当位置によつては補正信号を複数の出力端
子より出力する。次いで、信号発生手段の出力信
号を論理演算手段及び信号出力維持手段の少なく
も1つが入力する。各論理演算手段は、信号発生
手段の出力信号を入力するとともに、入力対応す
る信号出力維持手段が出力維持している信号とを
入力演算し、出力対応する信号出力維持手段へ出
力する。信号発生手段の出力信号を入力する信号
出力維持手段は、信号を入力すると共に今まで出
力維持していた信号の出力を中止し、新しく入力
した信号を次ぎに信号入力があるまで信号出力し
続ける。他の信号出力維持手段は論理演算手段か
らの信号を入力すると共に今まで出力維持してい
た信号の出力を中止し、新しく入力した信号を次
に信号入力するまで出力維持し、少なくとも1つ
の信号出力維持手段は計測信号を出力する。更
に、計測信号を出力する信号出力維持手段の出力
信号は、記憶手段及び計数手段へ出力し、記憶手
段は、記憶している信号を計数手段へ出力すると
ともに計測信号を出力する信号出力維持手段から
の信号を被計測物の幅毎に記憶し、計数手段は走
査毎の被計測物の幅部分の信号及び記憶された当
該走査の前の被計測物の幅部分の信号とを比較演
算し演算結果を出力する。
(e) Effect The signal generating means inputs a signal from which the measurement means measured the object to be measured and an address signal indicating the measurement object position of the input signal, and depending on the measurement object measurement position of the signal, A correction signal is output from multiple output terminals. Next, the output signal of the signal generating means is input to at least one of the logical operation means and the signal output maintaining means. Each logic operation means inputs the output signal of the signal generation means, performs an input operation on the signal maintained as an output by the corresponding signal output maintenance means, and outputs the result to the corresponding signal output maintenance means. The signal output maintaining means, which inputs the output signal of the signal generating means, receives the signal and stops outputting the signal that has been maintained until now, and continues to output the newly input signal until the next signal is input. . The other signal output maintaining means inputs the signal from the logic operation means, stops outputting the signal that has been maintained until now, maintains the output of the newly input signal until the next signal input, and outputs at least one signal. The output maintaining means outputs a measurement signal. Further, the output signal of the signal output maintaining means that outputs the measurement signal is outputted to the storage means and the counting means, and the storage means outputs the stored signal to the counting means and the signal output maintaining means outputs the measurement signal. The counting means compares and calculates the signal for the width of the object to be measured for each scan with the stored signal for the width of the object for each scan. Output the calculation result.

(ヘ) 実施例 以下、この発明の実施例を表す図面に基づき本
発明を説明する。
(f) Examples The present invention will be described below based on drawings showing examples of the invention.

第1図、部品図を表す第2図、第1図矢視図を
表す第3図、計測対象の計測情況を表す第4図,
第5図、画素欠けの情況を説明する第6図、補正
回路を説明する第7図、計測信号列を表す第8図
a,第8図b、計測信号列と補正信号列を比較す
る第9図a,第9図b、計数部を表す第10図、
計数方法を説明する第11図に従い説明する。
Fig. 1, Fig. 2 showing the parts diagram, Fig. 3 showing the arrow view of Fig. 1, Fig. 4 showing the measurement situation of the measurement object,
Figure 5, Figure 6 explaining the situation of pixel missing, Figure 7 explaining the correction circuit, Figures 8a and 8b representing the measurement signal sequence, and Figure 8 comparing the measurement signal sequence and the correction signal sequence. Figure 9a, Figure 9b, Figure 10 showing the counting section,
The counting method will be explained with reference to FIG. 11.

1は、計測媒体である光を発する光源である。
光源1は、線形光源である。
1 is a light source that emits light, which is a measurement medium.
Light source 1 is a linear light source.

2は計測手段である受光部であり、受光部2は
光源1の鉛直上方に、光源1と受光部2との間に
被計測物が通過可能な間隔を保つよう、更に、光
源1から発する光が受光部2に到達するのを遮る
ものが無い状態に設置する。本実施例では光源1
を下方に、受光部2を光源1の鉛直上方に設置
し、更に、光源1の線形方向は被計測物が搬送移
動する方向に直交するように設置するが、光源1
の照射する光が被計測物の計測対象を通過し計測
手段である受光部2へ到達するような相互の位置
関係にあれば計測は可能である。
Reference numeral 2 denotes a light receiving section which is a measuring means, and the light receiving section 2 further emits light from the light source 1 vertically above the light source 1 so as to maintain a distance between the light source 1 and the light receiving section 2 that allows the object to be measured to pass through. It is installed in a state where there is nothing blocking the light from reaching the light receiving part 2. In this embodiment, light source 1
The light receiving unit 2 is installed vertically above the light source 1, and the linear direction of the light source 1 is installed perpendicular to the direction in which the object to be measured is transported.
Measurement is possible if the mutual positional relationship is such that the light irradiated by the two passes through the object to be measured and reaches the light receiving section 2, which is the measuring means.

3は搬送装置であり、4は被計測物である。搬
送装置3は、光源1と受光部2とに交差する方向
に被計測物4を搬送可能に設置する。被計測物4
は、本実施例においては電子回路基板であり、そ
の表面には計測対象であり複数の貫通孔である孔
6を有する。
3 is a transport device, and 4 is an object to be measured. The transport device 3 is installed so that the object to be measured 4 can be transported in a direction intersecting the light source 1 and the light receiving section 2 . Measured object 4
is an electronic circuit board in this embodiment, and has a plurality of through holes 6 on its surface to be measured.

5は受光素子でる。受光素子5は受光部2の光
源1方向視図である第2図に表すように、受光部
2の光源1側端部に、被計測物4の幅分以上の光
を受光可能に設ける。受光素子5の全幅は、第3
図に表すように被計測物4の受光素子5配列方向
幅より幅狭であり、光源1からの被計測物4幅分
の照射光は受光部2の受光素子5の全幅内に集約
一致し受光素子5に到達する。そこで被計測物4
を、搬送装置3上に載置し、搬送装置3により光
源1の線形方向に交差するように移動する。本実
施例においては、搬送装置3が被計測物4を搬送
する方向は光源1の線形方向に直交方向とする。
被計測物4は光源1と受光部2の間に搬送され、
被計測物4の孔6のあいていない部分では光源1
からの光を遮り、受光部2に到達させず、孔6の
あいている部分では、光源1からの光を受光部2
に到達させる。この時、受光部2は被計測物4上
を被計測物4の進行方向に直角方向に、被計測物
4の幅分の光を受光可能であり、被計測物4は搬
送装置3により順次移動するので、受光部2は被
計測物4上を総て走査することとなる。受光部2
では、被計測物4上を各ドツトの集まりとし、各
ドツト毎の光の有無のみを受光素子5個々に受光
の際には〓1〓、非受光の際には〓0〓とデイジ
タル化し、送信する。以下、受光素子5個々の送
信する信号を画素と呼ぶ。
5 is a light receiving element. As shown in FIG. 2, which is a view of the light receiving section 2 in the direction of the light source 1, the light receiving element 5 is provided at the end of the light receiving section 2 on the light source 1 side so as to be able to receive light equal to or more than the width of the object to be measured 4. The total width of the light receiving element 5 is
As shown in the figure, the width is narrower than the width of the light receiving element 5 of the object to be measured 4 in the array direction, and the irradiation light from the light source 1 for the four widths of the object to be measured is concentrated within the entire width of the light receiving element 5 of the light receiving section 2. The light reaches the light receiving element 5. Therefore, the object to be measured 4
is placed on the transport device 3 and moved by the transport device 3 so as to intersect with the linear direction of the light source 1. In this embodiment, the direction in which the transport device 3 transports the object to be measured 4 is perpendicular to the linear direction of the light source 1.
The object to be measured 4 is transported between the light source 1 and the light receiving section 2,
In the part of the object to be measured 4 where the hole 6 is not open, the light source 1
The hole 6 blocks the light from the light source 1 and prevents it from reaching the light receiving section 2.
reach. At this time, the light receiving unit 2 can receive light corresponding to the width of the measured object 4 on the measured object 4 in a direction perpendicular to the traveling direction of the measured object 4, and the measured object 4 is sequentially moved by the conveying device 3. Since it moves, the light receiving section 2 scans the entire surface of the object 4 to be measured. Light receiving part 2
Now, let the object to be measured 4 be a collection of dots, and only the presence or absence of light for each dot is digitized by each light receiving element 5 as 1 when receiving light and 0 when not receiving light. Send. Hereinafter, the signals transmitted by each light-receiving element 5 will be referred to as a pixel.

この時、第4図に表すように被計測物4の搬送
方向中心付近にある孔6aでは、孔6aを計測す
る受光素子5及び孔6aとを結ぶ軸方向と、孔6
aの軸方向とが略同一方向であるので、受光部2
が孔6aを計測する径は、孔6aの受光部2側周
縁と光源1側周縁との重複部分の孔6aを計測す
る受光素子5方向からの見掛上の径が孔6aの径
に略等しいので、孔6aを通過し孔6aを計測す
る受光素子5に到達する光は、受光素子5に孔6
aの径相当分だけ受光させる。しかし、第5図に
表すように被計測物4の走査方向端部付近にある
孔6bでは、孔6bを計測する受光素子5及び孔
6bとを結ぶ軸方向と孔6bの軸方向とが一致し
ないので、孔6bを計測する受光素子5及び孔6
bを結ぶ軸方向視の孔6bの受光部2側周縁と光
源1側周縁との重複部分の見掛上の径が孔6bの
径より径小になり、孔6bを通過し孔6bを計測
する受光部2に到達する光は、受光素子5に孔6
bの径相当分だけ受光させることはできず、受光
部2は孔6bを見掛上径小に計測する(以下、画
素欠けと言う)。また、見掛け上径小となるのは、
被計測物4の走査方向のそれぞれ縁部側であり、
被計測物4の搬送方向中心側は孔6の位置を表し
ている。1受光素子5当たり(1画素当たり)の
信号を0.1〓mm〓となるように設定し、孔6径を
1.0〓mm〓とし、被計測物4の厚さをそれぞれ0.8
〓mm〓、1.0〓mm〓、1.2〓mm〓、1.6〓mm〓と変化
させ、被計測物4と受光素子5との距離を85〓mm
〓としたときの、被計測物4の搬送方向中心から
の距離と見掛け上の孔径の変化を第6図表に表
す。そこで同表中の被計測物4の厚さを1.2〓mm
〓としたときを説明すると、被計測物4の搬送方
向中心からの距離が108.3〓mm〓のとき、孔6の
径を1画素分、即ち0.1〓mm〓小さく計測してし
まう。更に、被計測物4の搬送方向中心からの孔
6の距離が216.5〓mm〓の位置では、2画素分、
即ち0.2〓mm〓小径に計測してしまう。
At this time, as shown in FIG. 4, in the hole 6a located near the center of the object to be measured 4 in the conveyance direction, the axial direction connecting the hole 6a and the light receiving element 5 for measuring the hole 6a,
Since the axial direction of a is substantially the same direction, the light receiving part 2
The measured diameter of the hole 6a is such that the apparent diameter of the overlapping portion of the hole 6a on the light receiving part 2 side and the light source 1 side from the direction of the light receiving element 5 is approximately the diameter of the hole 6a. Therefore, the light that passes through the hole 6a and reaches the light receiving element 5 that measures the hole 6a is transmitted through the hole 6 to the light receiving element 5.
Only the amount of light corresponding to the diameter of a is received. However, as shown in FIG. 5, in the hole 6b located near the end of the object 4 in the scanning direction, the axial direction connecting the hole 6b and the light receiving element 5 for measuring the hole 6b matches the axial direction of the hole 6b. Therefore, the light receiving element 5 and the hole 6 for measuring the hole 6b are
The apparent diameter of the overlapping portion of the light-receiving part 2 side periphery and the light source 1 side periphery of the hole 6b in the axial direction connecting the holes 6b is smaller than the diameter of the hole 6b, and the object passes through the hole 6b and measures the hole 6b. The light that reaches the light receiving section 2 passes through the hole 6 in the light receiving element 5.
It is not possible to receive light corresponding to the diameter b, and the light receiving unit 2 measures the apparent diameter of the hole 6b to be smaller (hereinafter referred to as pixel missing). Also, the apparent diameter is small because
each on the edge side of the object to be measured 4 in the scanning direction;
The center side of the object to be measured 4 in the transport direction represents the position of the hole 6. Set the signal per photodetector 5 (per pixel) to be 0.1〓mm〓, and set the hole 6 diameter.
1.0〓mm〓, and the thickness of the measured object 4 is 0.8
〓mm〓, 1.0〓mm〓, 1.2〓mm〓, 1.6〓mm〓, and the distance between the object to be measured 4 and the light receiving element 5 is 85〓mm.
The distance from the center of the object to be measured 4 in the conveying direction and the change in the apparent hole diameter are shown in the sixth chart. Therefore, the thickness of object 4 in the same table is set to 1.2〓mm.
For example, when the distance from the center of the object 4 in the conveyance direction is 108.3 mm, the diameter of the hole 6 is measured to be one pixel, that is, 0.1 mm. Furthermore, at a position where the distance of the hole 6 from the center of the object to be measured 4 in the conveying direction is 216.5〓mm〓, 2 pixels,
In other words, it will be measured to a small diameter of 0.2〓mm〓.

そこで、以下に説明するように孔6を小径に計
測してしまう誤計測を補正する。
Therefore, as described below, the erroneous measurement of the hole 6 having a small diameter is corrected.

以下は、第6図表にある各条件で、被計測物4
の厚さが1.2〓mm〓の場合に孔6を計測するとき
の説明である。
The following is the measurement target 4 under each condition shown in Figure 6.
This is an explanation when measuring the hole 6 when the thickness of the hole 6 is 1.2 mm.

7は補正回路である。補正回路7は第7図に表
すように、前記の画素欠けを補正するための回路
であり、受光部2からの信号が孔6を計測した信
号であるか否かを判断する判別部8、補正する信
号を発生する信号発生部9、信号発生部9の発生
する信号を処理する補正信号出力部10より構成
する。
7 is a correction circuit. As shown in FIG. 7, the correction circuit 7 is a circuit for correcting the aforementioned pixel missing, and includes a determination unit 8 that determines whether the signal from the light receiving unit 2 is a signal obtained by measuring the hole 6; It is composed of a signal generation section 9 that generates a signal to be corrected, and a correction signal output section 10 that processes the signal generated by the signal generation section 9.

11は指示信号発生部である。指示信号発生部
11は、受光部2が現在走査している信号の被計
測物4上の搬送方向に直交する走査方向位置(以
下、「走査方向」とは「搬送方向に直交する走査
方向」を言う)を指示するアドレス信号を発生す
る。更に、判別部8、信号発生部9、補正信号出
力部10がそれぞれ信号処理するタイミングを指
示するシフトクロツク信号を発生する。
11 is an instruction signal generating section. The instruction signal generating unit 11 detects the position of the signal currently being scanned by the light receiving unit 2 on the object 4 in the scanning direction perpendicular to the transport direction (hereinafter, "scanning direction" refers to the "scanning direction perpendicular to the transport direction"). generates an address signal that instructs the Furthermore, the discriminating section 8, the signal generating section 9, and the correction signal outputting section 10 each generate a shift clock signal that instructs the timing of signal processing.

判別部8は、シフトレジスタ12とアンドゲー
ト13より構成する。シフトレジスタ12は、受
光部2から送信される信号を順送りに3画素分を
入力し記憶することが可能であり、第1番目の画
素信号を入力記憶し第2番目の画素信号を入力記
憶し第3番目の画素信号を入力記憶すると、第1
番目の画素信号から第3番目の画素信号までを同
期しアンドゲート13へ出力する。
The determining section 8 includes a shift register 12 and an AND gate 13. The shift register 12 is capable of sequentially inputting and storing signals transmitted from the light receiving section 2 for three pixels, and can input and store the first pixel signal and input and store the second pixel signal. When the third pixel signal is input and stored, the first
The pixel signals from the second pixel signal to the third pixel signal are synchronized and output to the AND gate 13.

次いで、第1番目の画素信号の記憶を消去する
と同時に第4番目の画素信号を入力記憶し、第2
番目の画素信号から第4番目の画素信号までを同
期しアンドゲート13へ出力する。次いで、第2
番目の画素信号の記憶を消去すると同時に第5番
目の画素信号を入力記憶し、第3番目の画素信号
から第5番目の画素信号までを同期しアンドゲー
ト13へ出力する。
Next, while erasing the memory of the first pixel signal, the fourth pixel signal is input and stored, and the second pixel signal is input and stored.
The pixel signals from the fourth pixel signal to the fourth pixel signal are synchronized and output to the AND gate 13. Then the second
At the same time as erasing the memory of the th pixel signal, the 5th pixel signal is input and stored, and the 3rd pixel signal to the 5th pixel signal are synchronized and output to the AND gate 13.

このようにシフトレジスタ12は、受光部2か
らの画素信号をその入力する順に3画素ずつ同期
をとり、順次3画素同時にアンドゲート13に送
信する。アンドゲート13は、シフトレジスタ1
2から送信される3画素の信号凡てが孔6である
ことを計測した信号、即ち画素信号が凡て〓1〓
であつた場合には、計測したものが孔6であると
判断し、〓1〓の信号を出力し、それ以外の場合
は〓0〓の信号を出力する。以上のようにシフト
レジスタ12及びアンドゲート13は、画素信号
が〓1〓である状態が1画素単独で、あるいは2
画素だけ連続して存在し、3画素以上連続してい
ないときにはノイズと判断しカツトする所謂ロー
パスフイルタの働きをする。判別部8は必要に応
じ設ければよく、本実施例においては、判別部8
は3画素以上連続することにより孔6であると判
断するよう設けたが、ローパスフイルタである判
別部8を設けず、受光部2からの画素信号を直接
信号発生部9に入力し、入力した1画素が孔6で
あると判断した信号である場合に信号発生手段9
が補正信号を出力するようにしてもよく、本発明
に於いて判別部8は付加的な部分に過ぎない。又
例えば、2画素以上連続した場合に孔6であると
判断する場合には、シフトレジスタ12に2画素
以上連続して〓1〓を入力したときにアンドゲー
ト13から信号を出力するようにすればよく、シ
フトレジスタ12は2画素分入力し記憶できれば
よい。このようにシフトレジスタ12は、ノイズ
であると判断する画素数に応じ、入力し記憶でき
る量を決定することが可能である。更には、ノイ
ズが発生する事がなく、計測対象である孔6が極
小径の場合、あるいは、ノイズを気にしない場合
などは、判別部8を設けず、受光部2からの画素
信号を直接信号発生部9に入力することにより行
う。
In this manner, the shift register 12 synchronizes the pixel signals from the light receiving section 2 three by three pixels in the order in which they are input, and sequentially transmits the three pixels simultaneously to the AND gate 13. AND gate 13 is shift register 1
The signal measured that all three pixel signals transmitted from 2 are from hole 6, that is, the pixel signals are all 〓1〓
If so, it is determined that the measured hole 6 is the hole 6, and a signal of 〓1〓 is output. Otherwise, a signal of 〓0〓 is output. As described above, the shift register 12 and the AND gate 13 are configured such that the pixel signal is 1 for one pixel alone or for two pixels.
It functions as a so-called low-pass filter that only consecutive pixels exist, and when three or more pixels are not consecutive, it is judged as noise and is cut out. The discriminating section 8 may be provided as necessary, and in this embodiment, the discriminating section 8
is provided to determine that it is a hole 6 when there are three or more consecutive pixels, but the determination section 8, which is a low-pass filter, is not provided, and the pixel signal from the light receiving section 2 is input directly to the signal generation section 9. When the signal determines that one pixel is a hole 6, the signal generating means 9
may also output a correction signal, and the discriminator 8 is merely an additional part in the present invention. For example, if two or more consecutive pixels are to be determined as hole 6, a signal is output from the AND gate 13 when 1 is input to the shift register 12 for two or more consecutive pixels. It is sufficient if the shift register 12 can input and store two pixels. In this way, the shift register 12 can determine the amount that can be input and stored depending on the number of pixels determined to be noise. Furthermore, if noise does not occur and the hole 6 to be measured has an extremely small diameter, or if noise is not a concern, the pixel signal from the light receiving part 2 can be directly received without providing the discrimination part 8. This is done by inputting it to the signal generator 9.

補正信号出力部10は、論理演算手段であるオ
アーゲート14、信号出力維持手段であるフリツ
プフロツプ回路15よりなる。オアーゲート14
は2つの入力端子を有し、どちらか一方の入力端
子に孔6であると判断した信号〓1〓を入力する
か、両方の入力端子に孔6であると判断した信号
〓1〓を入力した場合には信号〓1〓を出力し、
両方の入力端子の信号が孔6以外の部分であると
判断した信号〓0〓の場合には信号〓0〓を出力
する。オアーゲート14b〜14gは、第7図に
示すように一方の入力端子は信号発生部9からの
信号を入力可能であり、同時に他方の入力端子は
それぞれ入力対応するフリツプフロツプ回路15
a〜15fの出力信号を入力可能である。更に、
フリツプフロツプ回路15a〜15gはそれぞれ
対応するオアーゲート14a〜14gの出力信号
を入力可能である。オアーゲート14aは、入力
端子の一方の入力信号は常に〓0〓を入力する状
態を保ち、他方の入力端子は信号発生部9からの
信号を入力可能であり、従つてオアーゲート14
aは、信号発生部9から入力する信号が、計測対
象である孔6であると判断した信号〓1〓の場合
に信号〓1〓を出力し、孔6以外の部分であると
判断した信号〓0〓の場合には信号〓0〓を出力
するので、オアーゲート14aを介さずともフリ
ツプフロツプ回路15aに直接信号発生部9から
の信号を入力した場合と同様の作用をする。
The correction signal output section 10 includes an OR gate 14 which is a logic operation means, and a flip-flop circuit 15 which is a signal output maintenance means. or gate 14
has two input terminals, and input the signal 〓1〓 determined to be the hole 6 to either input terminal, or input the signal 〓1〓 determined to be the hole 6 to both input terminals. If so, output the signal 〓1〓,
If the signals at both input terminals are 0, which indicates that the area is outside the hole 6, the signal 0 is output. As shown in FIG. 7, the OR gates 14b to 14g have one input terminal capable of inputting a signal from the signal generator 9, and at the same time, the other input terminal is connected to the corresponding flip-flop circuit 15.
Output signals of a to 15f can be input. Furthermore,
Flip-flop circuits 15a-15g can receive output signals from corresponding OR gates 14a-14g, respectively. The OR gate 14a always maintains a state in which the input signal of one of the input terminals is inputted as 〓0〓, and the signal from the signal generator 9 can be input to the other input terminal.
a outputs a signal 1 when the signal input from the signal generator 9 is a signal 1 which is determined to be the hole 6 which is the measurement target, and a signal which is determined to be a part other than the hole 6 In the case of 〓0〓, the signal 〓0〓 is output, so that the same effect as when the signal from the signal generator 9 is directly inputted to the flip-flop circuit 15a without going through the OR gate 14a is achieved.

信号発生部9では、判別部8からの信号を入力
するとともに、判別部8から入力する信号を計測
した被計測物4の走査方向の位置を指示するアド
レス信号もを入力する。信号発生部9では、シフ
トクロツク信号を入力した時にアンドゲート13
からの入力信号が〓1〓の場合には、アンドゲー
ト13の入力信号数に補正すべ画素数の信号を加
えた数の信号〓1〓を発生し、第7図に示すそれ
ぞれ出力対応する論理演算手段14a〜14gに
出力する。この時、3画素はオアーゲート14c
〜14eに対し〓1〓の信号を発生し、補正すべ
き画素数の信号の出力対応するオアーゲート14
はアンドゲート13に入力した信号の被計測物4
搬送方向中心からの位置により決定する。従つ
て、アンドゲート13からの信号が、被計測物4
の搬送方向中心の走査方向での走査進行側の信号
である場合、即ち、画素欠けを起こす部分が走査
方向での走査進行側にある場合には、オアーゲー
ト14a,14bに信号を発生し、搬送方向中心
の走査方向での走査進行側と反する側である場合
には、即ち、画素欠けを起こす部分が反走査進行
側では、オアーゲート14f,14gに〓1〓の
信号を発生する。本実施例に於いては発生する画
素欠けが2画素までであるため、オアーゲート1
4a〜14gとするが、発生する画素欠けに応じ
オアーゲート14の数は増減可能であり、例えば
アンドゲート13からの出力信号が、2画素であ
り画素欠けを起こす量が最大4画素の場合には、
オアーゲート14は10必要であり、その中央のオ
アーゲート142つに2画素の信号を出力し、他
のオアーゲート14に補正すべき画素数を入力す
るようにする。更に、孔6を計測する被計測物4
上の計測位置が正確な位置として判断する必要の
ない場合には、判別部8で判別する画素数に発生
する画素欠けの最大量を加えた数のオアーゲート
14を設ければ計測可能である。又、信号発生部
9が、指示信号発生部11からシフトクロツク信
号を入力したにも拘わらず、アンドゲート13か
ら入力する信号が〓0〓の場合には、凡てのオア
ーゲート14に信号〓0〓を出力する。フリツプ
フロツプ回路15は、オアーゲート14から〓1
〓の信号を受信した場合には、次に信号を受信す
るまでその出力部を接続するオアーゲート14に
〓1〓の信号を発信し続け、オアーゲート14か
ら〓0〓の信号を受信した場合には、〓0〓の信
号を次に信号を入力するまで発信し続ける。フリ
ツプフロツプ回路15の出力は、それぞれフリツ
プフロツプ回路15aの出力端子は、オアーゲー
ト14bの信号発生部9側ではないもう一方の入
力(以下、下側入力端子と言う。)へ信号を出力
可能に接続する。同様に、フリツプフロツプ回路
15bの出力端子もオアーゲート14cの下側入
力端子へ接続し、フリツプフロツプ回路15c〜
15fの出力端子も同様にオアーゲート14d〜
14g接続する。フリツプフロツプ回路15g
は、その出力端子を記憶部16に接続する。又、
フリツプフロツプ回路15の数は、本実施例に於
いては15a〜115gの7とするが、前述のオ
アーゲート14の必要量に応じ設ける。
The signal generating section 9 receives the signal from the determining section 8 as well as an address signal indicating the position in the scanning direction of the object 4 at which the signal input from the determining section 8 was measured. In the signal generator 9, when the shift clock signal is input, the AND gate 13 is
When the input signal from the AND gate 13 is 〓1〓, the number of signals 〓1〓 equal to the number of input signals of the AND gate 13 plus the signal of the number of pixels to be corrected is generated, and the corresponding output logic shown in Fig. 7 is generated. It is output to the calculation means 14a to 14g. At this time, the 3 pixels are OR gate 14c
The OR gate 14 generates a signal of 1 for ~14e and outputs a signal corresponding to the number of pixels to be corrected.
is the measured object 4 of the signal input to the AND gate 13
Determined by the position from the center in the conveyance direction. Therefore, the signal from the AND gate 13 is transmitted to the object to be measured 4.
If the signal is on the scanning progress side in the scanning direction centered on the transport direction, that is, if the part where pixel loss occurs is on the scanning progress side in the scanning direction, a signal is generated to the OR gates 14a and 14b, and the transport When the center is on the side opposite to the scanning direction in the scanning direction, that is, when the portion where pixel loss occurs is on the opposite scanning direction, a signal of 1 is generated at the OR gates 14f and 14g. In this embodiment, since the pixel loss that occurs is up to 2 pixels, OR gate 1
4a to 14g, but the number of OR gates 14 can be increased or decreased depending on the pixel loss that occurs. For example, if the output signal from the AND gate 13 is 2 pixels and the amount of pixel loss that causes pixel loss is at most 4 pixels, ,
Ten OR gates 14 are required, and two pixel signals are output to the two central OR gates 14, and the number of pixels to be corrected is input to the other OR gates 14. Furthermore, the object to be measured 4 whose hole 6 is to be measured
If the above measurement position does not need to be determined as an accurate position, measurement can be performed by providing the number of OR gates 14 equal to the number of pixels determined by the determination unit 8 plus the maximum amount of missing pixels. Furthermore, even though the signal generating section 9 receives the shift clock signal from the instruction signal generating section 11, if the signal input from the AND gate 13 is 0, all the OR gates 14 receive the signal 0. Output. The flip-flop circuit 15 connects the OR gate 14 to
When the signal 〓 is received, the signal 〓1〓 is continued to be sent to the OR gate 14 to which the output section is connected until the next signal is received, and when the signal 〓0〓 is received from the OR gate 14, , 〓0〓 signal continues to be transmitted until the next signal is input. The output terminal of the flip-flop circuit 15a is connected to the other input (hereinafter referred to as the lower input terminal) of the OR gate 14b, which is not on the signal generating section 9 side, so as to output a signal. Similarly, the output terminal of the flip-flop circuit 15b is also connected to the lower input terminal of the OR gate 14c, and the flip-flop circuits 15c to
Similarly, the output terminal of 15f is connected to the OR gate 14d~
Connect 14g. flip-flop circuit 15g
connects its output terminal to the storage section 16. or,
In this embodiment, the number of flip-flop circuits 15 is seven (15a to 115g), but they are provided depending on the number of OR gates 14 required.

次に、例えば、信号発生部9が、被計測物4の
搬送方向中心からの距離が走査方向に216.5〓mm
〓の位置の信号から順次走査した信号を入力した
場合、その処理方法を説明する。被計測物4の搬
送方向中心からの距離が走査方向へ216.5〓mm〓
の位置から走査する信号の説明図を第8図aに表
す。第8図aの信号の左端の信号aは、被計測物
4の搬送方向中心から走査方向へ216.5〓mm〓の
位置を走査した信号でり、信号bは信号aを受光
した受光素子5に隣接する受光素子5の受光した
信号で、被計測物4の搬送方向中心から走査方向
へ216.5〓mm〓の位置を走査した信号であり、以
下同様に信号cは216.7〓mm〓、信号dは216.8〓
mm〓の信号、…信号tは218.4〓mm〓の信号、信
号uは28.5〓mm〓の信号である。第8図a中、
各信号の〓1〓は、被計測物4の孔6を計測した
場合に受光部8が発生する信号であり、〓0〓は
孔6でない部分を計測した場合に受光部8が発生
する信号である。
Next, for example, the signal generating unit 9 determines that the distance from the center of the object 4 in the conveying direction is 216.5 mm in the scanning direction.
A processing method will be explained when a signal sequentially scanned from the signal at the position 〓 is input. The distance from the center of the object to be measured 4 in the transport direction is 216.5 mm in the scanning direction.
An explanatory diagram of the signal scanned from the position is shown in FIG. 8a. Signal a at the left end of the signals in FIG. This is a signal received by the adjacent light-receiving element 5, and is a signal scanned at a position 216.5〓mm〓 from the center of the object to be measured 4 in the conveying direction in the scanning direction. Similarly, signal c is 216.7〓mm〓, and signal d is 216.7〓mm〓. 216.8〓
The signal t is a signal of 218.4 mm, and the signal u is a signal of 28.5 mm. In Figure 8a,
Of each signal, 〓1〓 is a signal generated by the light receiving section 8 when measuring the hole 6 of the object to be measured 4, and 〓0〓 is a signal generated by the light receiving section 8 when measuring a part other than the hole 6. It is.

そこで受光部2から送信する信号a,bは既に
シフトレジスタ12に入力されており、次段以降
の信号処理が行なわれ、フリツプフロツプ回路1
5a〜15gの出力し続けている信号は〓0〓の
状態から説明する。信号cをシフトレジスタ12
が入力すると、前に入力した信号a,bと信号c
とを同期し、同時にアンドゲート13に送信す
る。アンドゲート13では送信された信号が凡て
〓1〓の時、従つて、凡て孔6であると判断した
場合には〓1〓を出力し、それ以外の場合は〓0
〓を出力するため、信号a,bが〓0〓であるの
でこの場合出力信号は〓0〓となる。アンドゲー
ト13からの信号を入力する信号発生部9はアド
レス信号を入力した時にアンドゲート13の出力
信号が〓0〓なので、すべてのオアーゲート14
に信号〓0〓を出力する。すると各オアーゲート
14a〜14gは信号発生部9側入力(以下、上
側入力という。)端子に〓0〓を入力し、同時に
オアーゲート14b〜14gにおいてはフリツプ
フロツプ回路15a〜15fが既に〓0〓を出力
し続けているので、信号〓0〓を下側入力端子よ
り入力し、また、オアーゲート14aにおいては
下側入力端子は常に〓0〓を入力する。
Therefore, the signals a and b sent from the light receiving section 2 have already been input to the shift register 12, and are subjected to signal processing in the next stage and thereafter.
The signals 5a to 15g that continue to be output will be explained from the state of 〓0〓. Shift register 12 for signal c
When input, the previously input signals a, b and signal c
and simultaneously transmit it to the AND gate 13. In the AND gate 13, when the transmitted signals are all 1, therefore, if it is determined that all holes are 6, it outputs 1, and otherwise it outputs 0.
Since the signals a and b are 0, the output signal is 0 in this case. When the signal generator 9 inputs the signal from the AND gate 13, when the address signal is input, the output signal of the AND gate 13 is 〓0〓, so all the OR gates 14
Outputs the signal 〓0〓. Then, each of the OR gates 14a to 14g inputs 〓0〓 to the input terminal (hereinafter referred to as the upper input) of the signal generating section 9, and at the same time, in the OR gates 14b to 14g, the flip-flop circuits 15a to 15f have already output 〓0〓. Therefore, the signal 〓0〓 is input from the lower input terminal, and in the OR gate 14a, the lower input terminal always inputs 〓0〓.

従つて信号a,b,cをアンドゲート13によ
り判断した場合の各オアーゲート14a〜14g
の出力信号は〓0〓でありフリツプフロツプ回路
15a〜15gは、入力信号が〓0〓なので〓0
〓を出力し続け、よつて、記憶部16へ信号出力
するフリツプフロツプ回路15gの出力信号は〓
0〓となる。信号a,b,cをアンドゲート13
に出力した次の瞬間には、シフトレジスタ12に
信号dが入力され、シフトレジスタ12は信号
b,c,dを同期し、同時にアンドゲート13へ
出力する。アンドゲート13では、信号bが〓0
〓であるので信号発生部9に〓0〓を出力する。
信号発生部9は〓0〓の信号を入力するので信号
発生部9、オアーゲート14a〜14g、フリツ
プフロツプ回路15a〜15gは、信号a,b,
cをアンドゲート13が判断した場合と同様の動
作をし、従つてフリツプフロツプ回路15gから
順に〓0〓,〓0〓,〓0〓,〓0〓,〓0〓,
〓0〓,〓0〓を出力し続け、フリツプフロツプ
回路15gは記憶部16へ〓0〓を出力する。
Therefore, each OR gate 14a to 14g when the signals a, b, and c are judged by the AND gate 13
The output signal of is 〓0〓, and the flip-flop circuits 15a to 15g have 〓0〓 since the input signal is 〓0〓.
The output signal of the flip-flop circuit 15g which continues to output 〓 and outputs a signal to the storage section 16 is 〓
It becomes 0〓. Signals a, b, c are connected to AND gate 13
At the moment after the signal d is output, the signal d is input to the shift register 12, and the shift register 12 synchronizes the signals b, c, and d and outputs them to the AND gate 13 at the same time. In the AND gate 13, the signal b is 0
Since 0 is output to the signal generating section 9.
Since the signal generator 9 receives the signal 〓0〓, the signal generator 9, the OR gates 14a to 14g, and the flip-flop circuits 15a to 15g receive the signals a, b,
The operation is the same as when the AND gate 13 judges c, and therefore, in order from the flip-flop circuit 15g, 0, 0, 0, 0, 0,
The flip-flop circuit 15g continues to output 〓0〓 and 〓0〓, and outputs 〓0〓 to the storage section 16.

次いで、信号b,c,dをアンドゲート13が
判断した結果、記憶部16へフリツプフロツプ回
路15gが信号出力した次の瞬間には、シフトレ
ジスタ12が信号eを入力し、シフトレジスタ1
2は信号c,d,eを同期し、同時にアンドゲー
ト13へ出力する。アンドゲート13では、信号
c,d,e凡てが〓1〓であるので信号発生部9
へ〓1〓を出力する。信号発生部9は、アンドゲ
ート13から〓1〓の信号を入力し、更に、同時
にアドレス信号により現在処理を行う信号c.d,
eが被計測物4の搬送方向中心から走査方向に
216.7〓mm〓、216.8〓mm〓、26.9〓mm〓の距離の
信号であり、補正すべき画素数は走査方向に2画
素分で有ることを検知する(第5図表中、基板厚
1.2mmの欄、216.5mm参照。)ので、5画素分の信
号を〓1〓としてオアーゲート14a〜14eに
出力し、オアーゲート14f,14gには〓0〓
を出力する。オアーゲート14gは、上側入力が
信号発生部9からの信号〓0〓であり、下側入力
はフリツプフロツプ回路14fが信号b,c,d
を処理した一連の回路動作の中で発生した信号〓
0〓であるので信号〓0〓をフリツプフロツプ回
路15gに出力する。するとフリツプフロツプ回
路15gは、オアーゲート14gから〓0〓を入
力するので、次ぎに信号を入力するまで〓0〓を
記憶部16へ出力し続ける。オアーゲート14f
の上側入力は〓0〓であり、下側入力はフリツプ
フロツプ回路14eが信号b,c,dを処理した
時に発生した信号〓0〓であるので、出力する信
号は〓0〓となる。フリツプフロツプ回路15f
は、オアーゲート14fからの〓0〓を入力する
ので、次ぎに信号を入力するまで信号〓0〓を出
力し続ける。オアーゲート14eは、信号発生部
9からの信号〓1〓を上側入力端子に入力し、下
側入力端子にはフリツプフロツプ回路15dが、
信号b,c,dを処理したときに発生している信
号〓0〓を入力するので、その出力信号〓1〓と
なり、フリツプフロツプ回路15eはオアーゲー
ト14eの出力する〓1〓の信号を入力するの
で、次に信号を入力するまで〓1〓を出力し続け
る。オアーゲート14dは、信号発生部9からの
信号〓1〓を上側入力端子に入力し、下側入力端
子は、フリツプフロツプ回路15cが信号b,
c,dを処理したときから発生し続けている信号
〓0〓を入力するので、その出力信号は〓1〓と
なり、フリツプフロツプ回路15dはオアーゲー
ト14dの出力する信号〓1〓を入力するので、
次に信号を入力するまで〓1〓の信号を出力し続
ける。オアーゲート14c〜14aも、オアーゲ
ート14d同様に、上側入力が信号発生部9から
の信号〓1〓であるので出力信号はそれぞれ〓1
〓となり、フリツプフロツプ回路15c〜15a
もそれぞれオアーゲート14c〜14aからの信
号〓1〓を入力するので、その出力信号は〓1〓
であり、次に信号を入力するまで〓1〓出力し続
ける。従つて、シフトレジスタ12が信号eを入
力してからの一連の回路動作によりフリツプフロ
ツプ回路15g〜15aは、シフトレジスタ12
が次の信号fを入力し、一連の回路動作をし、フ
リツプフロツプ回路15が信号を入力するまで、
フリツプフロツプ回路15gから順に〓0〓,〓
0〓,〓1〓,〓1〓,〓1〓,〓1〓,〓1〓
の信号を出力し続ける。フリツプフロツプ回路1
5gは次に入力信号があるまで記憶部16に信号
[0〓を出力し続け、その他のフリツプフロツプ
回路15f〜15aの出力信号は、次にシフトレ
ジスタ12が信号fを入力してからの一連の回路
動作の中のオアーゲート14の下側入力として、
次に信号を入力するまで出力し続ける。
Next, as a result of the judgment of the signals b, c, and d by the AND gate 13, the flip-flop circuit 15g outputs a signal to the storage section 16, and at the next instant, the shift register 12 inputs the signal e, and the shift register 1
2 synchronizes the signals c, d, and e and outputs them to the AND gate 13 at the same time. In the AND gate 13, the signals c, d, and e are all 1, so the signal generator 9
Output 〓1〓 to. The signal generator 9 inputs the signal 〓1〓 from the AND gate 13, and also simultaneously receives the signal cd, which is currently being processed based on the address signal.
e is from the center of the object to be measured 4 in the transport direction to the scanning direction.
The signals are at distances of 216.7〓mm〓, 216.8〓mm〓, and 26.9〓mm〓, and it is detected that the number of pixels to be corrected is 2 pixels in the scanning direction (in Figure 5, the substrate thickness
See column 1.2mm, 216.5mm. ), the signal for 5 pixels is output as 〓1〓 to the OR gates 14a to 14e, and the OR gates 14f and 14g are output as 〓0〓.
Output. The upper input of the OR gate 14g is the signal 0 from the signal generator 9, and the lower input is the signal b, c, d from the flip-flop circuit 14f.
A signal generated during a series of circuit operations that processed
Since the signal is 0, the signal 0 is output to the flip-flop circuit 15g. Then, the flip-flop circuit 15g receives 0 from the OR gate 14g, so it continues to output 0 to the storage unit 16 until the next signal is input. Or Gate 14f
The upper input is 〓0〓, and the lower side input is the signal 〓0〓 generated when the flip-flop circuit 14e processes the signals b, c, and d, so the output signal is 〓0〓. Flip-flop circuit 15f
inputs the signal 0 from the OR gate 14f, so it continues to output the signal 0 until the next signal is input. The OR gate 14e inputs the signal 1 from the signal generator 9 to its upper input terminal, and the flip-flop circuit 15d to its lower input terminal.
Since the signal 〓0〓 generated when the signals b, c, and d are processed is inputted, the output signal 〓1〓 is obtained, and the flip-flop circuit 15e inputs the signal 〓1〓 output from the OR gate 14e. , continues to output 〓1〓 until the next signal is input. The OR gate 14d inputs the signal 〓1〓 from the signal generator 9 to its upper input terminal, and the flip-flop circuit 15c inputs the signal 〓1〓 from the signal generator 9 to its lower input terminal.
Since the signal 〓0〓 which has been generated since processing c and d is input, the output signal becomes 〓1〓, and the flip-flop circuit 15d inputs the signal 〓1〓 output from the OR gate 14d.
It continues to output the signal 〓1〓 until the next signal is input. Similarly to the OR gate 14d, the upper input of the OR gates 14c to 14a is the signal 〓1〓 from the signal generator 9, so the output signal is 〓1〓.
〓, and the flip-flop circuits 15c to 15a
also input the signals 〓1〓 from the OR gates 14c to 14a, respectively, so the output signals are 〓1〓
, and continues to output 1 until the next signal is input. Therefore, by a series of circuit operations after the shift register 12 inputs the signal e, the flip-flop circuits 15g to 15a are activated by the shift register 12.
inputs the next signal f and performs a series of circuit operations until the flip-flop circuit 15 inputs the signal.
From flip-flop circuit 15g, 〓0〓,〓
0〓,〓1〓,〓1〓,〓1〓,〓1〓,〓1〓
continues to output the signal. Flip-flop circuit 1
5g continues to output the signal [0〓 to the storage unit 16 until the next input signal is received, and the output signals of the other flip-flop circuits 15f to 15a are outputted from the series of signals after the shift register 12 inputs the signal f. As the lower input of the OR gate 14 during circuit operation,
It continues to output until the next signal is input.

次いで、信号c,d,eを同期し、同時にアン
ドゲート13に入力した結果フリツプフロツプ回
路15gが記憶部16に信号を出力した次の瞬
間、従つて、シフトレジスタ12が信号eを入力
し、信号c,d,eを同期し同時にアンドゲート
13へ出力した次の瞬間には、シフトレジスタ1
2は信号fである〓1〓を入力し、前に入力した
信号e,dと信号fとを同期し、同時にアンドゲ
ート13へ出力する。アンドゲート13では、信
号d,e,fが凡て〓1〓であるので信号〓1〓
を出力する。すると信号発生部9は〓1〓の信号
を入力し、信号c,d,eの一連の処理中の信号
発生部9の処理同様にアドレス信号により補生す
べき画素数が2画素分で有ることを検知し、オア
ーゲート14e〜14aに〓1〓を出力し、オア
ーゲート14g〜14fには〓0〓を出力する。
オアーゲート14gは、上側入力が信号発生部9
からの信号〓0〓であり、下側入力は、信号c,
d,eを処理した一連の回路動作中のフリツプフ
ロツプ回路15fが出力している信号〓0〓であ
るので、信号〓0〓をフリツプフロツプ回路15
gに出力し、フリツプフロツプ回路15gはオア
ーゲート14からの信号〓0〓を入力するので信
号〓0〓を次に信号を入力するまで出力し続け
る。オアーゲート14fは上側入力は信号発生部
9からの信号〓0〓を入力し、下側入力は信号
c,d,eを処理した一連の回路動作中のフリツ
プフロツプ回路15eの出力し続けている信号〓
1〓を入力するので、信号〓1〓をフリツプフロ
ツプ回路15fに出力し、フリツプフロツプ回路
15fは、オアーゲート14fからの信号〓1〓
を入力し、その結果信号〓1〓を次に信号を入力
するまで出力し続ける。同様にオアーゲート14
e〜14aも上側入力端子あるいは下側入力端子
のいずれか一方若しくは両方の入力が〓1〓の信
号であるのでその出力信号は凡て〓1〓となる。
オアーゲート14e〜14aの出力信号を入力す
るフリツプフロツプ回路15e〜15aは、入力
信号がそれぞれ〓1〓であるので、次に信号を入
力するまで信号〓1〓を出力し続ける。従つて、
シフトレジスタ12が信号d,e,fを同期し、
同時にアンドゲート13に出力してからの一連の
回路動作によるフリツプフロツプ回路15g〜1
5aの出力信号はフリツプフロツプ回路15gか
ら順に〓0〓,〓1〓,〓1〓,〓1〓,〓1
〓,〓1〓,〓1〓となり、記憶部16には〓0
〓を出力する。
Next, the signals c, d, and e are synchronized and input to the AND gate 13 at the same time. As a result, at the next moment when the flip-flop circuit 15g outputs the signal to the storage section 16, the shift register 12 inputs the signal e and outputs the signal. At the next moment when c, d, and e are synchronized and simultaneously output to the AND gate 13, the shift register 1
2 inputs the signal f 〓1〓, synchronizes the previously input signals e and d with the signal f, and outputs them to the AND gate 13 at the same time. In the AND gate 13, since the signals d, e, and f are all 〓1〓, the signal 〓1〓
Output. Then, the signal generator 9 inputs the signal 〓1〓, and similarly to the processing of the signal generator 9 during the series of processing of signals c, d, and e, the number of pixels to be supplemented by the address signal is 2 pixels. It detects this and outputs 〓1〓 to the OR gates 14e to 14a, and outputs 〓0〓 to the OR gates 14g to 14f.
The upper input of the OR gate 14g is the signal generator 9.
The lower input is the signal c,
Since the signal 〓0〓 is outputted by the flip-flop circuit 15f during the series of circuit operations that processed d and e, the signal 〓0〓 is outputted by the flip-flop circuit 15f.
Since the flip-flop circuit 15g receives the signal 0 from the OR gate 14, it continues to output the signal 0 until the next signal is input. The upper input of the OR gate 14f receives the signal 〓0〓 from the signal generator 9, and the lower input receives the signal 〓 which continues to be output from the flip-flop circuit 15e during a series of circuit operations that processed the signals c, d, and e.
1〓 is input, so the signal 〓1〓 is output to the flip-flop circuit 15f, and the flip-flop circuit 15f receives the signal 〓1〓 from the OR gate 14f.
is input, and the resulting signal 〓1〓 continues to be output until the next signal is input. Similarly, Orgate 14
In e to 14a, either or both of the upper input terminal and the lower input terminal has a signal of 1, so all output signals thereof are 1.
Since the input signals of the flip-flop circuits 15e to 15a which receive the output signals of the OR gates 14e to 14a are 1, respectively, they continue to output the signal 1 until the next signal is input. Therefore,
A shift register 12 synchronizes the signals d, e, f,
Flip-flop circuits 15g to 1 based on a series of circuit operations after simultaneously outputting to the AND gate 13
The output signals of the flip-flop circuit 5a are 0, 1, 1, 1, 1 in order from the flip-flop circuit 15g.
〓, 〓1〓, 〓1〓, and the memory unit 16 stores 〓0.
Outputs 〓.

次いで、シフトレジスタ12が信号fを入力
し、信号d,e,fを同期して同時にアンドゲー
ト13へ出力した次の瞬間にはシフトレジスタ1
2は信号gである〓0〓を入力し、既に入力して
いる信号e,fと同期し、同時にアンドゲート1
3へ出力する。アンドゲート13では、信号gが
〓0〓であるので信号発生部9へ信号〓0〓を出
力する。信号発生部9はアドレス信号により検知
する補正画素数が2画素分であるがアンドゲート
13からの入力信号が〓0〓なので凡てのオアー
ゲート14g〜14aに信号〓0〓を出力する。
オアーゲート14gは、上側入力信号が信号発生
部9からの信号〓0〓であり、下側入力信号が、
シフトレジスタ12が信号fを入力してからの一
連の回路動作中のフリツプフロツプ回路15fの
出力し続けている信号〓1〓であるので、オアー
ゲート14gの出力信号は〓1〓となる。オアー
ゲート14gの出力信号〓1〓をフリツプフロツ
プ回路15gが入力し、次に信号を入力するまで
信号号〓1〓を出力し続ける。オアーゲート14
fは、上側入力信号が信号発生部9の出力する信
号〓0〓であり、下側入力信号がシフトレジスタ
12が信号fを入力してからの一連の回路動作中
のフリツプフロツプ回路15eの出力し続けてい
る信号〓1〓であるのでオアーゲート14fの出
力信号は〓1〓である。フリツプフロツプ回路1
5fは、オアーゲート14fの出力信号〓1〓を
入力し、次に信号を入力するまで信号〓1〓を出
力し続ける。以下同様にオアーゲート14e〜1
4bの上側入力信号が〓0〓であり、下側入力信
号が〓1〓であるので、その出力信号はそれぞれ
〓1〓となりフリツプフロツプ回路15e〜15
bの入力信号はオアーゲート14e〜14bの出
力する信号〓1〓を入力するので、次に信号を入
力するまでそれぞれ信号〓1〓を出力し続ける。
オアーゲート14aは上側入力信号は信号発生部
9の出力する信号〓0〓であり、下側入力信号も
常に〓0〓であるので、その出力信号は〓0〓で
あり、フリツプフロツプ回路15aはオアーゲー
ト14aの出力信号〓0〓を入力し、今まで出力
し続けていた信号〓1〓の出力を中止し、信号〓
0〓を次に信号を入力するまで出力し続ける。従
つて、シフトレジスタ12が信号e,f,gを同
期し、同時にアンドゲート13へ出力してからの
一連の回路動作によりフリツプフロツプ回路15
g〜15aの出力信号は、フリツプフロツプ回路
15gから順に〓1〓,〓1〓,〓1〓,〓1
〓,〓1〓,〓1〓,〓0〓となり、記憶部16
へ〓1〓を出力する。
Next, the shift register 12 inputs the signal f and synchronizes the signals d, e, f and outputs them to the AND gate 13 at the same time.
2 inputs the signal g 〓0〓, synchronizes with the already input signals e and f, and at the same time, AND gate 1
Output to 3. Since the signal g is 0, the AND gate 13 outputs the signal 0 to the signal generator 9. Although the number of corrected pixels detected by the signal generating section 9 is two pixels, the input signal from the AND gate 13 is 0, so it outputs a signal 0 to all OR gates 14g to 14a.
The upper input signal of the OR gate 14g is the signal 〓0〓 from the signal generator 9, and the lower input signal is
Since the flip-flop circuit 15f continues to output the signal 〓1〓 during a series of circuit operations after the shift register 12 inputs the signal f, the output signal of the OR gate 14g becomes 〓1〓. The flip-flop circuit 15g inputs the output signal 〓1〓 of the OR gate 14g, and continues to output the signal 〓1〓 until the next signal is input. or gate 14
The upper input signal of f is the signal 〓0〓 output by the signal generator 9, and the lower input signal is the output of the flip-flop circuit 15e during a series of circuit operations after the shift register 12 inputs the signal f. Since the signal 〓1〓 continues, the output signal of the OR gate 14f is 〓1〓. Flip-flop circuit 1
5f inputs the output signal 〓1〓 of the OR gate 14f, and continues to output the signal 〓1〓 until the next signal is input. Similarly below, or gate 14e~1
Since the upper input signal of 4b is 0 and the lower input signal is 1, their output signals are 1 and the flip-flop circuits 15e to 15
Since the input signal of b is the signal 〓1〓 output from the OR gates 14e to 14b, the signal 〓1〓 continues to be outputted until the next signal is input.
The upper input signal of the OR gate 14a is the signal 〓0〓 outputted by the signal generator 9, and the lower side input signal is also always 〓0〓, so its output signal is 〓0〓, and the flip-flop circuit 15a outputs the signal 〓0〓. Input the output signal 〓0〓, stop the output of the signal 〓1〓 that has been outputting until now, and output the signal 〓
Continue outputting 0〓 until the next signal is input. Therefore, the shift register 12 synchronizes the signals e, f, and g and simultaneously outputs them to the AND gate 13. Through a series of circuit operations, the flip-flop circuit 15
The output signals of the flip-flop circuits g to 15a are 1, 1, 1, and 1 in order from the flip-flop circuit 15g.
〓, 〓1〓, 〓1〓, 〓0〓, and the storage unit 16
Output 〓1〓 to.

次いで、信号e,f,gをアンドゲート13が
判断した結果、記憶部16へフリツプフロツプ回
路15gが信号〓1〓を出力した次の瞬間には、
シフトレジスタ12が信号hを入力し、更には、
先に入力している信号f,gと信号hとを同期
し、同時にアンドゲート13へ出力する。アンド
ゲート13では、信号g,hが〓0〓であり、信
号hが〓1〓あるので、信号〓0〓を信号発部9
へ出力する。信号発生部9ではアンドゲート13
からの信号を入力した結果、アドレス信号により
補正すべき画素数が2画素分であることを検知す
るが、アンドゲート13からの信号が〓0〓であ
るので凡てのオアーゲート14g〜14aに対
し、信号〓0〓を出力する。従つて、オアーゲー
ト14g〜14aの上側入力信号は凡て〓0〓で
あり、下側入力信号はオアーゲート14g〜14
cにおいては〓1〓であるので、オアーゲート1
4g〜14cの出力信号はそれぞれ〓1〓とな
り、出力対応する各フリツプフロツプ回路15g
〜15cは信号〓1〓を入力し、次に信号を入力
するまで〓1〓を出力し続ける。オアーゲート1
4bの下側入力信号は、シフトレジスタ12が信
号gを入力してからの一連の回路動作中のフリツ
プフロツプ回路15aが出力し続けている信号〓
0〓であり、上側入力信号、下側入力信号ともに
〓0〓となるので、その出力信号は〓0〓であ
る。フリツプフロツプ回路15bは、オアーゲー
ト14bの出力する信号〓0〓を入力するのでそ
の出力信号は〓0〓であり、次に信号を入力する
まで〓0〓を出力し続ける。オアーゲート14a
の下側入力信号は常に〓0〓であり、上側入力信
号も〓0〓であるのでその出力信号は〓0〓とな
り、フリツプフロツプ回路15aはオアーゲート
14aの出力信号〓0〓を入力し、次に信号を入
力するまで〓0〓を出力し続ける。従つて。シフ
トレジスタ12が信号f,g,hを同期し、同時
にアンドゲート13に出力してからの一連の回路
動作中のフリツプフロツプ回路15g〜15aの
出力する信号は、フリツプフロツプ回路15gか
ら順に〓1〓,〓1〓,〓1〓,〓1〓,〓1
〓,〓0〓,〓0〓となり、記憶部16へ〓1〓
を出力する。
Next, at the next moment when the flip-flop circuit 15g outputs the signal 〓1〓 to the storage section 16 as a result of the judgment of the signals e, f, and g by the AND gate 13,
The shift register 12 inputs the signal h, and furthermore,
The previously input signals f and g and the signal h are synchronized and output to the AND gate 13 at the same time. In the AND gate 13, the signals g and h are 〓0〓, and the signal h is 〓1〓, so the signal 〓0〓 is sent to the signal generator 9
Output to. In the signal generating section 9, the AND gate 13
As a result of inputting the signal from the AND gate 13, it is detected that the number of pixels to be corrected is 2 pixels by the address signal, but since the signal from the AND gate 13 is 〓0〓, all the OR gates 14g to 14a are , outputs a signal 〓0〓. Therefore, the upper input signals of the OR gates 14g to 14a are all 〓0〓, and the lower input signals of the OR gates 14g to 14a are all 〓0〓.
Since 〓1〓 in c, or gate 1
The output signals of 4g to 14c are 1, respectively, and each flip-flop circuit 15g corresponds to the output.
~15c inputs the signal 〓1〓 and continues to output 〓1〓 until the next signal is input. or gate 1
The lower input signal of 4b is the signal that the flip-flop circuit 15a continues to output during a series of circuit operations after the shift register 12 inputs the signal g.
0〓, and both the upper side input signal and the lower side input signal are 〓0〓, so the output signal is 〓0〓. Since the flip-flop circuit 15b receives the signal 0 which is output from the OR gate 14b, its output signal is 0, and it continues to output 0 until the next signal is input. Or gate 14a
Since the lower input signal of the circuit is always 〓0〓 and the upper side input signal is also 〓0〓, its output signal becomes 〓0〓, and the flip-flop circuit 15a inputs the output signal 〓0〓 of the OR gate 14a, and then Continue outputting 〓0〓 until a signal is input. Follow. During a series of circuit operations after the shift register 12 synchronizes the signals f, g, and h and simultaneously outputs them to the AND gate 13, the signals output from the flip-flop circuits 15g to 15a are sequentially from the flip-flop circuit 15g to 1, 〓1〓,〓1〓,〓1〓,〓1
〓, 〓0〓, 〓0〓, and goes to the storage unit 16〓1〓
Output.

次いで、シフトレジスタ12が信号hを入力
し、信号f,g,hを同期して同時にアンドゲー
ト13へ出力した次の瞬間にはシフトレジスタ1
2は信号iである〓1〓を入力し、既に入力して
いる信号g,hと同期し、同時にアンドゲート1
3へ出力する。アンドゲート13では、信号g,
hが〓0〓であり信号iが〓1〓であるので信号
〓0〓を信号発生部9へ出力する。信号発生部9
はアドレス信号により検知する補正画素数が2画
素分であるがアンドゲート13からの入力信号が
〓0〓なので凡てのオアーゲート14g〜14a
に信号〓0〓を出力する。オアーゲート14g
は、上側入力信号が信号発生部9からの信号〓0
〓であり、下側入力信号が、シフトレジスタ12
が信号hを入力してからの一連の回路動作中のフ
リツプフロツプ回路15fの出力し続けている信
号〓1〓であるので、オアーゲート14gの出力
信号は〓1〓となる。オアーゲート14gの出力
信号〓1〓をフリツプフロツプ回路15gが入力
し、次に信号を入力するまで信号〓1〓を出力し
続ける。オアーゲート14fは、上側入力信号が
信号発生部9の出力する信号[0〓であり、下側
入力信号がシフトレジスタ12が信号hを入力し
てからの一連の回路動作中のフリツプフロツプ回
路15eの出力し続けている信号〓1〓であるの
でオアーゲート14fの出力信号は〓1〓であ
る。フリツプフロツプ回路15fは、オアーゲー
ト14fの出力信号〓1〓を入力し、次に信号を
入力するまで信号〓1〓を出力し続ける。以下同
様にオアーゲート14e,14dともに上側入力
信号が〓0〓であり、下側入力信号が〓1〓であ
るので、その出力信号はそれぞれ〓1〓となりフ
リツプフロツプ回路15e,15dともに入力す
る信号はオアーゲート14e,14dの出力する
信号〓1〓をであり、次に信号を入力するまでそ
れぞれ信号〓1〓を出力し続ける。オアーゲート
14cの下側入力信号は、シフトレジスタ12が
信号hを入力してからの一連の回路動作中のフリ
ツプフロツプ回路15bが出力し続けている信号
〓0〓であり、上側入力信号、下側入力信号とも
に〓0〓なので出力信号は〓0〓である。フリツ
プフロツプ回路15cはオアーゲート14cの出
力する信号〓0〓を入力するので次に信号を入力
するまで〓0〓を出力し続ける。オアーゲート1
4bもオアーゲート14c同様に、上側入力信
号、下側入力信号ともに〓0〓なので、その出力
信号も〓0〓となり、フリツプフロツプ回路15
bもフリツプフロツプ回路15c同様に入力する
信号が〓0〓なので、次に信号を入力するまで〓
0〓を出力し続ける。オアーゲート14aは上側
入力信号は信号発生部9の出力する信号〓0〓で
あり、下側入力信号も常に〓0〓であるので、そ
の出力信号は〓0〓であり、フリツプフロツプ回
路15aはオアーゲート14aの出力信号〓0〓
を入力し、信号〓0〓を次に信号を入力するまで
出力し続ける。従つて、シフトレジスタ12が信
号g,h,iを同期し、同時にアンドゲート13
へ出力してからの一連の回路動作によりフリツプ
フロツプ回路15g〜15aの出力信号は、フリ
ツプフロツプ回路15gから順に〓1〓,〓1
〓,〓1〓,〓1〓,〓0〓,〓0〓,〓0〓と
なり、記憶部16へ〓1〓を出力する。
Next, the shift register 12 inputs the signal h and synchronizes the signals f, g, h and outputs them to the AND gate 13 at the same time.
2 inputs the signal i 〓1〓, synchronizes with the already input signals g and h, and at the same time inputs the AND gate 1
Output to 3. In the AND gate 13, the signals g,
Since h is 0 and the signal i is 1, the signal 0 is output to the signal generator 9. Signal generator 9
The number of corrected pixels detected by the address signal is 2 pixels, but the input signal from the AND gate 13 is 0, so all OR gates 14g to 14a
Outputs the signal 〓0〓. Orgate 14g
In this case, the upper input signal is the signal from the signal generator 9 =0
〓, and the lower input signal is the shift register 12
Since this is the signal 〓1〓 which continues to be outputted by the flip-flop circuit 15f during a series of circuit operations after inputting the signal h, the output signal of the OR gate 14g becomes 〓1〓. The flip-flop circuit 15g inputs the output signal 〓1〓 of the OR gate 14g, and continues to output the signal 〓1〓 until the next signal is input. The upper input signal of the OR gate 14f is the signal [0〓 output from the signal generator 9, and the lower input signal is the output of the flip-flop circuit 15e during a series of circuit operations after the shift register 12 inputs the signal h. Since the signal continues to be 〓1〓, the output signal of the OR gate 14f is 〓1〓. The flip-flop circuit 15f receives the output signal 〓1〓 of the OR gate 14f, and continues to output the signal 〓1〓 until the next signal is input. Similarly, since the upper input signal of the OR gates 14e and 14d is 0 and the lower input signal is 1, their output signals are 1, respectively, and the signals input to the flip-flop circuits 15e and 15d are the OR gates. 14e and 14d output the signal 〓1〓, and each continues to output the signal 〓1〓 until the next signal is input. The lower input signal of the OR gate 14c is the signal 〓0〓 that the flip-flop circuit 15b continues to output during a series of circuit operations after the shift register 12 inputs the signal h; Since both signals are 〓0〓, the output signal is 〓0〓. Since the flip-flop circuit 15c receives the signal 〓0〓 output from the OR gate 14c, it continues to output 〓0〓 until the next signal is input. or gate 1
Similar to the OR gate 14c, the upper input signal and the lower input signal of the OR gate 4b are both 0, so the output signal is also 0, and the flip-flop circuit 15
Similarly to the flip-flop circuit 15c, the input signal for b is 0, so it remains 0 until the next signal is input.
Continue to output 0〓. The upper input signal of the OR gate 14a is the signal 〓0〓 outputted by the signal generator 9, and the lower side input signal is also always 〓0〓, so its output signal is 〓0〓, and the flip-flop circuit 15a outputs the signal 〓0〓. Output signal 〓0〓
is input, and the signal 〓0〓 continues to be output until the next signal is input. Therefore, the shift register 12 synchronizes the signals g, h, i, and at the same time the AND gate 13
Through a series of circuit operations after the output to the flip-flop circuits 15g to 15a, the output signals of the flip-flop circuits 15g to 15a are sequentially output from the flip-flop circuit 15g to
〓, 〓1〓, 〓1〓, 〓0〓, 〓0〓, 〓0〓, and output 〓1〓 to the storage section 16.

次いで、シフトレジスタ12が信号iを入力
し、信号g,h,iを同期して同時にアンドゲー
ト13へ出力した次の瞬間には、シフトレジスタ
12は信号jである〓1〓を入力し、既に入力し
ている信号h,iと同期し、同時にアンドゲート
13へ出力する。アンドゲート13では、信号h
が〓0〓であるので信号〓0〓を信号発生部9へ
出力する。信号発生部9はアドレス信号により検
知する補正画素数が2画素分であるがアンドゲー
ト13からの入力信号が〓0〓なので凡てのオア
ーゲート14g〜14aに信号〓0〓を出力す
る。オアーゲート14gは、上側入力信号が信号
発生部9からの信号〓0〓であり、下側入力信号
が、シフトレジスタ12が信号iを入力してから
の一連の回路動作中のフリツプフロツプ回路15
fの出力し続けている信号〓1〓であるので、オ
アーゲート14gの出力信号は〓1〓となる。そ
してフリツプフロツプ回路15gがオアーゲート
14gの出力信号〓1〓を入力し、次に信号を入
力するまで信号〓1〓を出力し続ける。オアーゲ
ート14fは、上側入力信号が信号発生部9の出
力する信号〓0〓であり、下側入力信号がシフト
レジスタ12が信号iを入力してからの一連の回
路動作中のフリツプフロツプ回路15eの出力し
続けている信号〓1〓であるのでオアーゲート1
4fの出力信号は〓1〓である。フリツプフロツ
プ回路15fは、オアーゲート14fの出力信号
〓1〓を入力し、次に信号を入力するまで信号〓
1〓を出力し続ける。同様にオアーゲート14e
の上側入力信号は〓0〓であり、下側入力信号が
〓1〓であるので、その出力信号は〓1〓となり
フリツプフロツプ回路15eの入力信号はオアー
ゲート14eの出力する信号〓1〓を入力するの
で、次に信号を入力するまで信号〓1〓を出力し
続ける。オアーゲート14dの下側入力信号は、
シフトレジスタ12が信号iを入力してからの一
連の回路動作中のフリツプフロツプ回路15cが
出力し続けている信号〓0〓であり、上側入力信
号、下側入力信号ともに〓0〓となるので、その
出力信号は〓0〓である。フリツプフロツプ回路
15dはオアーゲート14dの出力する信号〓0
〓を入力するのでその出力信号は次に信号を入力
するまで〓0〓を出力し続ける。オアーゲート1
4c,14bもオアーゲート14d同様に、上側
入力信号、下側入力信号ともに〓0〓なので、そ
の出力信号は〓0〓となり、フリツプフロツプ回
路15c,15bもフリツプフロツプ回路15d
同様に入力する信号が〓0〓なので、次に信号を
入力するまで〓0〓を出力し続ける。オアーゲー
ト14aは上側入力信号は信号発生部9の出力す
る信号〓0〓であり、下側入力信号は常に〓0〓
であるので、その出力信号は〓0〓であり、フリ
ツプフロツプ回路15aはオアーゲート14aの
出力信号〓0〓を入力し、信号〓0〓を次に信号
を入力するまで出力し続ける。従つて、シフトレ
ジスタ12が信号h,i,jを同期し、同時にア
ンドゲート13へ出力してからの一連の回路動作
によりフリツプフロツプ回路15g〜15aの出
力する信号は、フリツプフロツプ回路15gから
順に〓1〓,〓1〓,〓1〓,〓0〓,〓0〓,
〓0〓,〓0〓となり、記憶部16へ〓1〓を出
力する。
Next, at the next moment when the shift register 12 inputs the signal i and simultaneously outputs the signals g, h, and i to the AND gate 13, the shift register 12 inputs the signal j, 〓1〓, It is synchronized with the signals h and i that have already been input, and is output to the AND gate 13 at the same time. In the AND gate 13, the signal h
Since is 0, the signal 0 is output to the signal generator 9. Although the number of corrected pixels detected by the signal generating section 9 is two pixels, the input signal from the AND gate 13 is 0, so it outputs a signal 0 to all OR gates 14g to 14a. The upper input signal of the OR gate 14g is the signal 〓0〓 from the signal generator 9, and the lower input signal is the flip-flop circuit 15 during a series of circuit operations after the shift register 12 inputs the signal i.
Since the signal 〓1〓 continues to be outputted by f, the output signal of the OR gate 14g becomes 〓1〓. Then, the flip-flop circuit 15g inputs the output signal 〓1〓 of the OR gate 14g, and continues to output the signal 〓1〓 until the next signal is input. The upper input signal of the OR gate 14f is the signal 〓0〓 output from the signal generator 9, and the lower input signal is the output of the flip-flop circuit 15e during a series of circuit operations after the shift register 12 inputs the signal i. Since the signal continues to be 〓1〓, OR gate 1
The output signal of 4f is 〓1〓. The flip-flop circuit 15f inputs the output signal 〓1〓 of the OR gate 14f, and keeps the signal 〓〓until the next signal is input.
Continue to output 1〓. Similarly, or gate 14e
Since the upper input signal is 0 and the lower input signal is 1, the output signal is 1, and the input signal of the flip-flop circuit 15e is the signal 1 output from the OR gate 14e. Therefore, the signal 1 continues to be output until the next signal is input. The lower input signal of the OR gate 14d is
The flip-flop circuit 15c continues to output the signal 〓0〓 during a series of circuit operations after the shift register 12 inputs the signal i, and both the upper input signal and the lower input signal become 〓0〓. Its output signal is 〓0〓. The flip-flop circuit 15d receives the signal =0 output from the OR gate 14d.
Since 〓 is input, its output signal continues to output 〓0〓 until the next signal is input. or gate 1
Similarly to the OR gate 14d, both the upper input signal and the lower input signal of the flip-flop circuits 4c and 14b are 0, so their output signals are 0, and the flip-flop circuits 15c and 15b are also the same as the flip-flop circuit 15d.
Similarly, since the input signal is 0, it continues to output 0 until the next signal is input. The upper input signal of the OR gate 14a is the signal 〓0〓 output from the signal generator 9, and the lower side input signal is always 〓0〓.
Therefore, the output signal is 0, and the flip-flop circuit 15a inputs the output signal 0 of the OR gate 14a and continues to output the signal 0 until the next signal is input. Therefore, by a series of circuit operations after the shift register 12 synchronizes the signals h, i, and j and simultaneously outputs them to the AND gate 13, the signals output from the flip-flop circuits 15g to 15a are sequentially output from the flip-flop circuit 15g to 1. 〓,〓1〓,〓1〓,〓0〓,〓0〓,
〓0〓, 〓0〓, and output 〓1〓 to the storage section 16.

次いで、シフトレジスタ12が信号jを入力
し、信号h,i,jを同期して同時にアンドゲー
ト13へ出力した次の瞬間にはシフトレジスタ1
2は信号kである〓0〓を入力し、既に入力して
いる信号i,jと同期し、同時にアンドゲート1
3へ出力する。アンドゲート13では、信号kが
〓0〓であるので信号〓0〓を信号発生部9へ出
力する。信号発生部9はアドレス信号により検知
する補正画素数が2画素分であるがアンドゲート
13からの入力信号が〓0〓なので凡てのオアー
ゲート14g〜14aに信号〓0〓を出力する。
オアーゲート14gは、上側入力信号が信号発生
部9からの信号〓0〓であり、下側入力信号が、
シフトレジスタ12が信号jを入力してからの一
連の回路動作中のフリツプフロツプ回路15fの
出力し続けている信号〓1〓であるので、オアー
ゲート14gの出力信号は〓1〓となる。オアー
ゲート14gの出力信号〓1〓をフリツプフロツ
プ回路15gが入力し、次に信号を入力するまで
信号〓1〓を出力し続ける。オアーゲート14f
は、上側入力信号が信号発生部9の出力する信号
〓0〓であり、下側入力信号がシフトレジスタ1
2が信号jを入力してからの一連の回路動作中の
フリツプフロツプ回路15eの出力し続けている
信号〓1〓であるのでオアーゲート14fの出力
信号は〓1〓である。フリツプフロツプ回路15
fは、オアーゲート14fの出力信号〓1〓を入
力し、次に信号を入力するまで信号〓1〓を出力
し続ける。オアーゲート14eの下側入力信号
は、シフトレジスタ12が信号jを入力してから
の一連の回路動作中のフリツプフロツプ回路15
dが出力し続けている信号〓0〓であり、上側入
力信号、下側入力信号ともに〓0〓となるので、
その出力信号は〓0〓である。フリツプフロツプ
回路15eはオアーゲート14eの出力する信号
〓0〓を入力するので次に信号を入力するまで〓
0〓を出力し続ける。オアゲート14d〜14b
もオアーゲート14e同様に、上側入力信号、下
側入力信号ともに〓0〓なので、その出力信号も
〓0〓となり、フリツプフロツプ回路15d〜1
5bもフリツプフロツプ回路15e同様に入力す
る信号が〓0〓なので、次に信号を入力するまで
〓0〓を出力し続ける。オアーゲート14aは上
側入力信号は信号発生部9の出力する信号〓0〓
であり、下側入力信号は常に〓0〓なのでオアー
ゲート14aの出力信号は〓0〓であり、フリツ
プフロツプ回路15aはオアーゲート14aの出
力信号〓0〓を入力し、信号〓0〓を次に信号を
入力するまで出力し続ける。従つて、シフトレジ
スタ12が信号i,j,kを同期し、同時にアン
ドゲート13へ出力してからの一連の回路動作に
よりフリツプフロツプ回路15g〜15aの出力
する信号は、フリツプフロツプ回路15gから順
に〓1〓,〓1〓,〓0〓,〓0〓,〓0〓,〓
0〓,〓0〓となり、記憶部16へ〓1〓を出力
する。
Next, the shift register 12 inputs the signal j and synchronizes the signals h, i, and j and outputs them to the AND gate 13 at the same time.
2 inputs the signal k 〓0〓, synchronizes with the already input signals i and j, and at the same time, AND gate 1
Output to 3. Since the signal k is 0, the AND gate 13 outputs the signal 0 to the signal generator 9. Although the number of corrected pixels detected by the signal generating section 9 is two pixels, the input signal from the AND gate 13 is 0, so it outputs a signal 0 to all OR gates 14g to 14a.
The upper input signal of the OR gate 14g is the signal 〓0〓 from the signal generator 9, and the lower input signal is
Since the flip-flop circuit 15f continues to output the signal 〓1〓 during a series of circuit operations after the shift register 12 inputs the signal j, the output signal of the OR gate 14g becomes 〓1〓. The flip-flop circuit 15g inputs the output signal 〓1〓 of the OR gate 14g, and continues to output the signal 〓1〓 until the next signal is input. Or gate 14f
, the upper input signal is the signal 〓0〓 output from the signal generator 9, and the lower input signal is the signal 〓0〓 output from the shift register 1.
Since 2 is the signal 〓1〓 that the flip-flop circuit 15e continues to output during a series of circuit operations after inputting the signal j, the output signal of the OR gate 14f is 〓1〓. Flip-flop circuit 15
f inputs the output signal 〓1〓 of the OR gate 14f, and continues to output the signal 〓1〓 until the next signal is input. The lower input signal of the OR gate 14e is applied to the flip-flop circuit 15 during a series of circuit operations after the shift register 12 inputs the signal j.
Since d is the signal 〓0〓 that continues to be output, and both the upper input signal and the lower input signal are 〓0〓,
Its output signal is 〓0〓. Since the flip-flop circuit 15e receives the signal 〓0〓 output from the OR gate 14e, the flip-flop circuit 15e receives the signal 〓0〓 output from the OR gate 14e, so until the next signal is input,
Continue to output 0〓. Or gate 14d~14b
Similarly to the OR gate 14e, both the upper input signal and the lower input signal are 0, so the output signal is also 0, and the flip-flop circuits 15d to 1
Similarly to the flip-flop circuit 15e, the input signal to the flip-flop circuit 5b is 0, so it continues to output 0 until the next signal is input. The upper input signal of the OR gate 14a is the signal 〓0〓 output from the signal generator 9.
Since the lower input signal is always 0, the output signal of the OR gate 14a is 0, and the flip-flop circuit 15a inputs the output signal 0 of the OR gate 14a, and then outputs the signal 0. Continue outputting until input. Therefore, through a series of circuit operations after the shift register 12 synchronizes the signals i, j, and k and simultaneously outputs them to the AND gate 13, the signals output from the flip-flop circuits 15g to 15a are sequentially output from the flip-flop circuit 15g to 1. 〓,〓1〓,〓0〓,〓0〓,〓0〓,〓
0〓,〓0〓, and outputs 〓1〓 to the storage section 16.

次いで、シフトレジスタ12が信号kを入力
し、信号i,j,kを同期して同時にアンドゲー
ト13へ出力した次の瞬間にはシフトレジスタ1
2は信号lである〓1〓を入力し、既に入力して
いる信号j,kと同期し、同時にアンドゲート1
3へ出力する。アンドゲート13では、信号kが
〓0〓であるので信号〓0〓を信号発生部9へ出
力する。信号発生部9はアドレス信号により検知
する補正画素数が2画素分であるがアンドゲート
13からの入力信号が〓0〓なので凡てのオアー
ゲート14g〜14aに信号〓0〓を出力する。
オアーゲート14gは、上側入力信号が信号発生
部9からの信号〓0〓であり、下側入力信号が、
シフトレジスタ12が信号kを入力してからの一
連の回路動作中のフリツプフロツプ回路15fの
出力し続けている信号〓1〓であるので、オアー
ゲート14gの出力信号は〓1〓となる。オアー
ゲート14gの出力信号〓1〓をフリツプフロツ
プ回路15gが入力し、次に信号を入力するまで
信号〓1〓を出力し続ける。オアーゲート14f
の下側入力信号は、シフトレジスタ12が信号k
を入力してからの一連の回路動作中のフリツプフ
ロツプ回路15eが出力し続けている信号〓0〓
であり、上側入力信号、下側入力信号ともに〓0
〓となるので出力信号は〓0〓である。フリツプ
フロツプ回路15fはオアーゲート14fの出力
する信号〓0〓を入力するので次に信号を入力す
るまで〓0〓を出力し続ける。オアーゲート14
e〜14bもオアーゲート14f同様に、上側入
力信号、下側入力信号ともに〓0〓なので、その
出力信号も〓0〓となり、フリツプフロツプ回路
15e〜15bもフリツプフロツプ回路15f同
様に入力する信号が〓0〓なので、次に信号を入
力するまで〓0〓を出力し続ける。オアーゲート
14aは上側入力信号は信号発生部9の出力する
信号〓0〓であり、下側入力信号は常に〓0〓で
あるので、その出力信号は〓0〓であり、フリツ
プフロツプ回路15aはオアーゲート14aの出
力信号〓0〓を入力し、信号〓0〓を次に信号を
入力するまで出力し続ける。従つて、シフトレジ
スタ12が信号j,k,lを同期し、同時にアン
ドゲート13へ出力してからの一連の回路動作に
よりフリツプフロツプ回路15g〜15aの出力
する信号は、フリツプフロツプ回路15gから順
に〓1〓,〓0〓,〓0〓,〓0〓,〓0〓,〓
0〓,〓0〓となり、記憶部16へ〓1〓を出力
する。
Next, the shift register 12 inputs the signal k and synchronizes the signals i, j, k and outputs them to the AND gate 13 at the same time.
2 inputs the signal l 〓1〓, synchronizes with the already input signals j and k, and at the same time, AND gate 1
Output to 3. Since the signal k is 0, the AND gate 13 outputs the signal 0 to the signal generator 9. Although the number of corrected pixels detected by the signal generating section 9 is two pixels, the input signal from the AND gate 13 is 0, so it outputs a signal 0 to all OR gates 14g to 14a.
The upper input signal of the OR gate 14g is the signal 〓0〓 from the signal generator 9, and the lower input signal is
Since the flip-flop circuit 15f continues to output the signal 〓1〓 during a series of circuit operations after the shift register 12 inputs the signal k, the output signal of the OR gate 14g becomes 〓1〓. The flip-flop circuit 15g inputs the output signal 〓1〓 of the OR gate 14g, and continues to output the signal 〓1〓 until the next signal is input. Or Gate 14f
The lower input signal of the shift register 12 is the signal k
The signal 〓0〓 that the flip-flop circuit 15e continues to output during a series of circuit operations after inputting
, and both the upper input signal and the lower input signal are 0.
〓, so the output signal is 〓0〓. Since the flip-flop circuit 15f receives the signal 〓0〓 output from the OR gate 14f, it continues to output 〓0〓 until the next signal is input. or gate 14
Similarly to the OR gate 14f, the upper input signal and the lower input signal of e-14b are also 0, so the output signal thereof is 0, and the flip-flop circuits 15e-15b also have an input signal of 0, similar to the flip-flop circuit 15f. Therefore, it continues to output 〓0〓 until the next signal is input. The upper input signal of the OR gate 14a is the signal 〓0〓 outputted by the signal generator 9, and the lower side input signal is always 〓0〓, so the output signal is 〓0〓, and the flip-flop circuit 15a outputs the signal 〓0〓. The output signal 〓0〓 is input, and the signal 〓0〓 continues to be output until the next signal is input. Therefore, by a series of circuit operations after the shift register 12 synchronizes the signals j, k, and l and outputs them to the AND gate 13 at the same time, the signals output from the flip-flop circuits 15g to 15a are sequentially output from the flip-flop circuit 15g to 1. 〓、〓0〓、〓0〓、〓0〓、〓0〓、〓
0〓,〓0〓, and outputs 〓1〓 to the storage section 16.

次いで、シフトレジスタ12が信号lを入力
し、信号j,k,lを同期して同時にアンドゲー
ト13へ出力した次の瞬間にはシフトレジスタ1
2は信号mである〓1〓を入力し、既に入力して
いる信号k,lと同期し、同時にアンドゲート1
3へ出力する。アンドゲート13では、信号kが
〓0〓であるので信号〓0〓を信号発生部9へ出
力する。信号発生部9はアドレス信号により検知
する補正画素数が2画素分であるがアンドゲート
13からの入力信号が〓0〓なので凡てのオアー
ゲート14g〜14aに信号〓0〓を出力する。
オアーゲート14gの下側入力信号は、シフトレ
ジスタ12が信号lを入力してからの一連の回路
動作中のフリツプフロツプ回路15fが出力し続
けている信号〓0〓であり、上側入力信号、下側
入力信号ともに〓0〓となるので、その出力信号
は〓0〓である。フリツプフロツプ回路15gは
オアーゲート14gの出力する信号〓0〓を入力
するのでその出力信号は次に信号を入力するまで
〓0〓を出力し続ける。オアーゲート14f〜1
4bもオアーゲート14g同様に、上側入力信
号、下側入力信号ともに[0]なので、その出力
信号も〓0〓となり、フリツプフロツプ回路15
f〜15bもフリツプフロツプ回路15f同様に
入力する信号が[0]なので、次に信号を入力す
るまで〓0〓を出力し続ける。オアーゲート14
aは上側入力信号は信号発生部9の出力する信号
〓0〓であり、下側入力信号は常に[0]である
ので、その出力信号は〓0〓であり、フリツプフ
ロツプ回路15aはオアーゲート14aの出力信
号〓0〓を入力し、信号〓0〓を次に信号を入力
するまで出力し続ける。従つて、シフトレジスタ
12が信号k,l,mを同期し、同時にアンドゲ
ート13へ出力してからの一連の回路動作により
フリツプフロツプ回路15g〜15aの出力する
信号は、フリツプフロツプ回路15gから順に〓
0〓,〓0〓,〓0〓,〓0〓,〓0〓,〓0
〓,〓0〓となり、記憶部16へ〓0〓を出力す
る。
Next, the shift register 12 inputs the signal l and synchronizes the signals j, k, l and outputs them simultaneously to the AND gate 13. At the next moment, the shift register 1
2 inputs the signal m, 〓1〓, synchronizes with the already input signals k and l, and at the same time, AND gate 1
Output to 3. Since the signal k is 0, the AND gate 13 outputs the signal 0 to the signal generator 9. Although the number of corrected pixels detected by the signal generating section 9 is two pixels, the input signal from the AND gate 13 is 0, so it outputs a signal 0 to all OR gates 14g to 14a.
The lower input signal of the OR gate 14g is the signal 〓0〓 that the flip-flop circuit 15f continues to output during a series of circuit operations after the shift register 12 inputs the signal l; Since both signals become 〓0〓, the output signal is 〓0〓. Since the flip-flop circuit 15g receives the signal 〓0〓 output from the OR gate 14g, its output signal continues to output 〓0〓 until the next signal is input. Or Gate 14f~1
Similar to the OR gate 14g, the upper input signal and the lower input signal of the OR gate 4b are both [0], so the output signal is also 0, and the flip-flop circuit 15
Similarly to the flip-flop circuit 15f, the input signal of f to 15b is [0], so it continues to output 0 until the next signal is input. or gate 14
The upper input signal of a is the signal 〓0〓 outputted by the signal generator 9, and the lower side input signal is always [0], so the output signal is 〓0〓, and the flip-flop circuit 15a outputs the signal 〓0〓 from the OR gate 14a. Input the output signal 〓0〓 and continue outputting the signal 〓0〓 until the next signal is input. Therefore, by a series of circuit operations after the shift register 12 synchronizes the signals k, l, and m and simultaneously outputs them to the AND gate 13, the signals output from the flip-flop circuits 15g to 15a are sequentially output from the flip-flop circuit 15g to
0〓,〓0〓,〓0〓,〓0〓,〓0〓,〓0
〓, 〓0〓, and output 〓0〓 to the storage section 16.

次いで、シフトレジスタ12が信号nを入力
し、信号l,m,nを同期し、同時にアンドゲー
ト13へ出力するが、信号l,m,n以下信号s
までの信号の配列は信号d,e,f以下の信号k
までの信号の配列と同一であるので信号l,m,
n以下の信号sまでの回路動作はd,e,f以下
信号kまでの回路動作と同一であり、記憶部16
への出力信号も同じ信号列となる。更に、シフト
レジスタ12が信号tを入力し信号r,s,tを
同期し同時にアンドゲート13へ出力した場合の
回路動作は、シフトレジスタ12が信号lを入力
し信号j,k,lを同期しアンドゲート13へ同
時に出力した場合と同様の回路動作となり、記憶
部16へ〓1〓を出力する。更に、シフトレジス
タ12が信号uを入力した場合の回路動作は信号
mをシフトレジスタ12が入力した場合同様の回
路動作をし、記憶部16への出力信号は〓0〓と
なる。上述のように記憶部16へ入力する信号
と、受光部2よりシフトレジスタ12へ送信され
る信号とを比較すると、第9図aに示す通りであ
る。第9図a中信号列Aは、受光部2の出力する
信号列であり、信号列Bは記憶部16が入力する
信号列である。信号列Aでは信号cが孔6である
ことを検知した信号〓1〓であり、対応する信号
列Bでは、e′が孔6であることを検知した信号〓
1〓として記憶部16がへ入力する信号である。
従つて、記憶部16の入力信号は受光部2が入力
する信号より2画素遅れて入力することとなる。
更に、信号列Aの信号c以下の信号列と信号列B
の信号e′以下の信号列とを比較すると、信号列A
では、信号c以下4画素分の信号が孔6であるこ
とを検知した信号であり、信号列Bの対応する信
号部分では信号e′以下6画素分が孔6であること
を検知した信号であり、被計測物4の搬送方向中
心より走査方向側へ2画素分増加補正して出力し
ている。従つて、孔6は搬送方向中心より走行方
向側に存在し、見掛け上搬送方向中心から被計測
物4の縁部側に小径となるので、被計測物4の縁
部側に2画素分増加補正して孔6の径を出力して
いる。
Next, the shift register 12 inputs the signal n, synchronizes the signals l, m, and n, and simultaneously outputs them to the AND gate 13.
The array of signals up to is the signal k below the signals d, e, and f.
The signals l, m,
The circuit operation up to the signal s below n is the same as the circuit operation up to the signal k below d, e, f.
The output signal to will also be the same signal sequence. Furthermore, the circuit operation when the shift register 12 inputs the signal t, synchronizes the signals r, s, and t, and outputs them to the AND gate 13 at the same time is as follows: The shift register 12 inputs the signal l, and synchronizes the signals j, k, and l. The circuit operates in the same way as when both are simultaneously output to the AND gate 13, and 〓1〓 is output to the storage section 16. Further, the circuit operation when the shift register 12 inputs the signal u is similar to the circuit operation when the shift register 12 inputs the signal m, and the output signal to the storage section 16 becomes 〓0〓. A comparison of the signal input to the storage section 16 as described above and the signal transmitted from the light receiving section 2 to the shift register 12 is as shown in FIG. 9a. Signal string A in FIG. 9a is a signal string output from the light receiving section 2, and signal string B is a signal string inputted to the storage section 16. In the signal sequence A, the signal c is the signal 〓1〓 which detects that the hole 6 is present, and in the corresponding signal sequence B, the signal 〓 〓 when the signal e′ is detected as the hole 6.
This signal is inputted to the storage unit 16 as 1〓.
Therefore, the input signal to the storage section 16 is input two pixels later than the signal input to the light receiving section 2.
Furthermore, a signal string below signal c of signal string A and signal string B
When comparing the signal sequence below signal e', the signal sequence A
In this case, the signal for 4 pixels below signal c is the signal that detected hole 6, and in the corresponding signal part of signal sequence B, the signal for 6 pixels below signal e' is the signal for detecting hole 6. Yes, the measurement object 4 is output after being corrected by an increase of two pixels toward the scanning direction from the center in the conveyance direction. Therefore, the hole 6 exists on the traveling direction side from the center in the transport direction, and the diameter apparently becomes smaller from the center in the transport direction to the edge side of the object to be measured 4, so that the hole 6 increases by two pixels toward the edge side of the object to be measured 4. The corrected diameter of the hole 6 is output.

次に、例えば、信号発生部9が、被計測物4の
搬送方向中心からの距離が反走査方向に218.5〓
mm〓の位置の信号から順次被計測物4の搬送方向
中心に向かつて走査した信号を入力した場合、そ
の処理方法を説明する。被計測物4の搬送方向中
心からの距離が反走査方向へ218.5〓mm〓の位置
から走査する信号の説明図を第8図bに表す。第
8図bの信号の左端の信号aは、被計測物4の搬
送方向中心から反走査方向へ218.5〓mm〓の位置
を走査した信号であり、信号bは信号aを受光す
る受光素子5に隣接する受光素子5の受光する信
号で、被計測物4の搬送方向中心から反走査方向
へ218.4〓mm〓の位置を走査した信号であり、以
下同様に信号cは218.3〓mm〓、信号dは218.2〓
mm〓の信号、…信号tは216.6〓mm〓の信号、信
号uは216.5〓mm〓の信号である。第8図b中、
各信号の〓1〓は、被計測物4の孔6を計測した
場合に受光部8が発生する信号であり、〓0〓は
孔6でない部分を計測した場合に受光部8が発生
する信号である。
Next, for example, the signal generating unit 9 determines that the distance from the center of the object 4 in the transport direction is 218.5〓 in the counter-scanning direction.
A processing method will be described in the case where a signal scanned sequentially toward the center of the object to be measured 4 in the conveying direction is input from a signal at a position of mm〓. FIG. 8b shows an explanatory diagram of a signal that is scanned from a position at a distance of 218.5 mm in the counter-scanning direction from the center of the object to be measured 4 in the conveying direction. The signal a at the left end of the signals in FIG. 8b is a signal obtained by scanning a position 218.5 mm in the counter-scanning direction from the center of the object 4 in the conveyance direction, and the signal b is a signal obtained by scanning the light receiving element 5 that receives the signal a. It is a signal received by the light receiving element 5 adjacent to , and is a signal scanned at a position of 218.4〓mm〓 from the center of the conveyance direction of the object to be measured 4 in the counter-scanning direction. d is 218.2〓
The signal t is a signal of 216.6 mm, and the signal u is a signal of 216.5 mm. In Figure 8b,
Of each signal, 〓1〓 is a signal generated by the light receiving section 8 when measuring the hole 6 of the object to be measured 4, and 〓0〓 is a signal generated by the light receiving section 8 when measuring a part other than the hole 6. It is.

そこで、受光部2から送信する信号a,bは既
にシフトレジスタ12に入力されており、次段以
降の信号処理が行なわれ、フリツプフロツプ回路
15a〜15gの出力し続けている信号はすべて
〓0〓の状態から説明する。信号cをシフトレジ
スタ12が入力すると、前に入力した信号a,b
と信号cを同期しアンドゲート13に送信する。
アンドゲート13では送信された入力信号が凡て
〓1〓のとき、従つて、凡て孔6であると判断し
た場合に〓1〓を出力し、それ以外の場合には〓
0〓を出力するため、信号a,bが〓0〓である
ので、この場合出力信号は〓0〓となる。アンド
ゲート13からの信号を入力する信号発生部9
は、アドレス信号を入力したときにアンドゲート
13の出力信号が〓0〓なので、すべてのオアー
ゲート14に信号〓0〓を出力する。すると、各
オアーゲート14a〜14gは信号発生部9側入
力(以下、上側入力という)端子に〓0〓を入力
し、同時にオアーゲート14b〜14gにおいて
はフリツプフロツプ回路15a〜15fが既に〓
0〓を出力し続けているので、信号〓0〓を下側
入力端子より入力し、また、オアーゲート14a
においては下側入力端子は常に〓0〓を入力す
る。従つて、信号a,b,cをアンドゲート13
により判断した場合の各オアーゲート14a〜1
4gの出力信号は〓0〓であり、フリツプフロツ
プ回路15a〜15gは入力信号が〓0〓なの
で、フリツプフロツプ回路15gから順に〓0
〓,〓0〓,〓0〓,〓0〓,〓0〓,〓0〓,
〓0〓を出力し続け、記憶部16へ信号出力する
フリツプフロツプ回路15gの出力信号は〓0〓
となる。信号a,b,cをアンドゲート13が入
力し判断した結果発生するフリツプフロツプ回路
路15a〜15fの出力信号は、アンドゲート1
3が信号b,c,dを判断する時に、信号発生部
9が発生する信号と同時にオアーゲート14b〜
14gの下側入力端子に入力する信号となる。
Therefore, the signals a and b transmitted from the light receiving section 2 have already been input to the shift register 12, and are subjected to signal processing in the next stage and thereafter, and all the signals that the flip-flop circuits 15a to 15g continue to output are 0. Let's start with the state. When the shift register 12 inputs the signal c, the previously input signals a and b
and signal c are synchronized and transmitted to the AND gate 13.
In the AND gate 13, when all the transmitted input signals are 〓1〓, therefore, when it is determined that all the input signals are 〓1〓, it outputs 〓1〓, and otherwise 〓
In order to output 0〓, the signals a and b are 〓0〓, so in this case, the output signal becomes 〓0〓. Signal generator 9 that inputs the signal from AND gate 13
Since the output signal of the AND gate 13 is 〓0〓 when the address signal is input, the signal 〓0〓 is output to all the OR gates 14. Then, each of the OR gates 14a to 14g inputs 〓0〓 to the input terminal (hereinafter referred to as upper input) of the signal generating section 9, and at the same time, in the OR gates 14b to 14g, the flip-flop circuits 15a to 15f have already input 〓0〓.
Since it continues to output 0〓, input the signal 〓0〓 from the lower input terminal, and also input the signal 〓0〓 to the OR gate 14a.
In this case, the lower input terminal always inputs 〓0〓. Therefore, the signals a, b, and c are connected to the AND gate 13.
Each or gate 14a-1 when judged by
The output signal of the flip-flop circuit 4g is 〓0〓, and the input signal of the flip-flop circuits 15a to 15g is 〓0〓.
〓,〓0〓,〓0〓,〓0〓,〓0〓,〓0〓,
The output signal of the flip-flop circuit 15g which continues to output 〓0〓 and outputs a signal to the storage section 16 is 〓0〓.
becomes. The output signals of the flip-flop circuits 15a to 15f generated as a result of the input and judgment of the signals a, b, and c by the AND gate 13 are
3 determines the signals b, c, and d, the OR gates 14b to 14b simultaneously generate the signals generated by the signal generator 9.
This is the signal input to the lower input terminal of 14g.

次いで、シフトレジスタ12が信号a,b,c
をアンドゲート13に出力した次の瞬間には、シ
フトレジスタ12に信号dが入力され、シフトレ
ジスタ12は信号b,c,dを同期し、アンドゲ
ート13に出力する。アンドゲート13では、信
号bが〓0〓であるので信号発生部9に〓0〓を
出力する。信発生部9は〓0〓の信号を入力する
ので、信号発生部9、オアーゲート14a〜14
g、フリツプフロツプ回路15a〜15gは、信
号a,b,cをアンドゲート13が判断した場合
と同様の作動をし、従つてフリツプフロツプ回路
15gから順に〓0〓,〓0〓,〓0〓,〓0
〓,〓0〓,〓0〓,〓0〓を出力し続け、フリ
ツプフロツプ回路15gは記憶部16へ信号〓0
〓を出力する。
Then, the shift register 12 receives the signals a, b, c.
At the next moment after outputting the signal d to the AND gate 13, the signal d is input to the shift register 12, and the shift register 12 synchronizes the signals b, c, and d and outputs them to the AND gate 13. Since the signal b is 0, the AND gate 13 outputs 0 to the signal generator 9. Since the signal generator 9 inputs the signal 〓0〓, the signal generator 9 and the OR gates 14a to 14
g, the flip-flop circuits 15a to 15g operate in the same way as when the AND gate 13 judges the signals a, b, and c, and therefore, the flip-flop circuits 15g and 15g operate in the same way as 〓0〓, 〓0〓, 〓0〓, 〓 0
The flip-flop circuit 15g continues to output the signals 〓, 〓0〓, 〓0〓, 〓0〓, and the flip-flop circuit 15g sends the signal 〓0〓 to the storage section 16.
Outputs 〓.

次いで、信号b,c,dをアンドゲート13が
判断した結果、記憶部16へフリツプフロツプ回
路15gが信号出力した次の瞬間には、シフトレ
ジスタ12が信号eを入力し、シフトレジスタ1
2は信号c,d,eを同期し、アンドゲート13
に出力する。アンドゲート13では信号c,d,
e凡てが〓1〓であるので信号発生部9に〓1〓
を出力する。信号発生部9はアンドゲート13か
ら〓1〓の信号を入力し、更には同時にアドレス
信号により現在処理を行う信号c,d,eが被計
測物4の搬送方向中心から反走査方向に218.3〓
mm〓、218.2[mm〓、218.1〓mm〓の距離の信号で
あり、補正すべき信号の数は反走査方向側に2画
素分であることを検知するので5画素分の信号を
〓1〓としてオアーゲート14c〜14gに出力
し、オアーゲート14a,14bには〓0〓を出
力する。オアーゲート14gは、上側入力が信号
発生部9からの信号〓1〓であり、下側入力はフ
リツプフロツプ回路15fが信号b,c,dを処
理したときに発生した信号〓0〓であるので〓1
〓をフリツプフロツプ回路15gへ出力する。す
るとフリツプフロツプ回路15gは、オアーゲー
ト14gから〓1〓を入力するので次に信号を入
力するまで信号〓1〓を記憶部16に出力し続け
る。オアーゲート14fの上側入力は信号〓1〓
であり、下側入力はフリツプフロツプ回路15e
が信号b,c,dを処理したときに発生した信号
〓0〓であるので、その出力は〓1〓となる。フ
リツプフロツプ回路15fはオアーゲート14f
から信号〓1〓を入力するので、次に信号を入力
するまで信号〓1〓を出力し続ける。オアーゲー
ト14e,14d,14cもオアーゲート14f
同様に信号発生部9からの上側入力は信号〓1〓
であり、下側入力はフリツプフロツプ回路15
d,15c,15bが信号b,c,dを処理した
際に発生した信号〓0〓であるので、オアーゲー
ト14fと同様に〓1〓を出力し、オアーゲート
14e,14d,14cからの信号を入力するフ
リツプフロツプ回路15e,15d,15cもフ
リツプフロツプ回路15f同様に出力信号は〓1
〓であり、次に信号を入力するまで信号〓1〓を
出力し続ける。オアーゲート14bは、上側入力
は信号発生部9から信号〓0〓を入力し、下側入
力はフリツプフロツプ回路15aが信号b,c,
dを処理した際の信号〓0〓を入力するので、オ
アーゲート14bの出力は〓0〓となる。オアー
ゲート14aは上側入力は信号発生部9からの信
号〓0〓を入力し、下側入力は常に〓0〓なの
で、その出力信号は〓0〓となる。従つて、フリ
ツプフロツプ回路15b,15aの出力信号は、
オアーゲート14b,14aからの入力信号がそ
れぞれ〓0〓であるので、〓0〓となり、次に信
号を入力するまで出力し続ける。従つて、シフト
レジスタ12が信号eを入力してからの一連の回
路作動により、フリツプフロツプ回路15g〜1
5aはシフトレジスタ12が次に信号fを入力
し、一連の回路動作をし、フリツプフロツプ回路
15g〜15aに信号が入力するまでフリツプフ
ロツプ回路15gから順に〓1〓,〓1〓,〓1
〓,〓1〓,〓1〓,〓0〓,〓0〓の信号を出
力し続ける。フリツプフロツプ回路15gの出力
信号は、フリツプフロツプ回路15gが次に信号
を入力するまで記憶部16に出力され、その他の
フリツプフロツプ回路15f〜15aの出力信号
は、次に信号fをシフトレジスタ12が入力して
からの一連の回路の作動の中のオアーゲート14
の下側入力信号として次に信号を入力するまで出
力する。
Next, as a result of the judgment of the signals b, c, and d by the AND gate 13, the flip-flop circuit 15g outputs a signal to the storage section 16, and at the next instant, the shift register 12 inputs the signal e, and the shift register 1
2 synchronizes signals c, d, e, and gate 13
Output to. In the AND gate 13, the signals c, d,
Since all values of e are 1, the signal generator 9 receives 1
Output. The signal generator 9 inputs the signal 〓1〓 from the AND gate 13, and at the same time, the signals c, d, and e to be currently processed are 218.3〓 from the center of the conveyance direction of the object to be measured 4 in the counter-scanning direction.
mm〓, 218.2 [mm〓, 218.1〓mm〓] It is detected that the number of signals to be corrected is 2 pixels on the anti-scanning direction side, so the signal for 5 pixels is 〓1〓 is output to the OR gates 14c to 14g, and 0 is output to the OR gates 14a and 14b. The upper input of the OR gate 14g is the signal 〓1〓 from the signal generator 9, and the lower input is the signal 〓0〓 generated when the flip-flop circuit 15f processes the signals b, c, and d.
〓 is output to the flip-flop circuit 15g. Then, the flip-flop circuit 15g receives the signal 1 from the OR gate 14g, so it continues to output the signal 1 to the storage section 16 until the next signal is input. The upper input of the OR gate 14f is the signal 〓1〓
The lower input is a flip-flop circuit 15e.
Since this is the signal 〓0〓 generated when the signals b, c, and d are processed, its output becomes 〓1〓. The flip-flop circuit 15f is an OR gate 14f.
Since the signal 〓1〓 is input from , the signal 〓1〓 continues to be output until the next signal is input. Or gate 14e, 14d, 14c is also or gate 14f
Similarly, the upper input from the signal generator 9 is the signal 〓1〓
, and the lower input is a flip-flop circuit 15.
Since d, 15c, and 15b are the signals 〓0〓 generated when signals b, c, and d are processed, they output 〓1〓 similarly to the OR gate 14f, and input the signals from the OR gates 14e, 14d, and 14c. Similarly to the flip-flop circuit 15f, the output signals of the flip-flop circuits 15e, 15d, and 15c are 1
〓, and continues outputting the signal 〓1〓 until the next signal is input. The OR gate 14b receives the signal 〓0〓 from the signal generator 9 at its upper input, and the flip-flop circuit 15a receives the signals b, c,
Since the signal 〓0〓 obtained when processing d is input, the output of the OR gate 14b becomes 〓0〓. The upper input of the OR gate 14a receives the signal 0 from the signal generator 9, and the lower input is always 0, so the output signal is 0. Therefore, the output signals of the flip-flop circuits 15b and 15a are
Since the input signals from the OR gates 14b and 14a are 〓0〓, the output becomes 〓0〓 and continues to be output until the next signal is input. Therefore, by a series of circuit operations after the shift register 12 inputs the signal e, the flip-flop circuits 15g to 1
5a, the shift register 12 inputs the signal f and performs a series of circuit operations, starting from the flip-flop circuit 15g in order until the signal is input to the flip-flop circuits 15g to 15a.
It continues to output the signals 〓, 〓1〓, 〓1〓, 〓0〓, 〓0〓. The output signal of the flip-flop circuit 15g is output to the storage unit 16 until the flip-flop circuit 15g inputs the next signal, and the output signals of the other flip-flop circuits 15f to 15a are outputted to the storage unit 16 until the flip-flop circuit 15g inputs the next signal. OR gate 14 in the operation of a series of circuits from
It is output as the lower input signal until the next signal is input.

次いで、信号c,d,eを同期し、アンドゲー
ト13に入力した結果、フリツプフロツプ回路1
5gが記憶部16に信号を出力した次の瞬間、従
つて、シフトレジスタ12が信号eを入力し、信
号e,d,eを同期してアンドゲート13へ出力
した次の瞬間には、シフトレジスタ2は信号fで
ある〓1〓を入力し、前に入力した信号d,eと
信号fとを同期し、同時にアンドゲート13に出
力する。アンドゲート13では、信号d,e,f
は凡て〓1〓であるので、信号〓1〓を出力す
る。すると信号発生部9は〓1〓の信号を入力
し、更に、信号c,d,eの一連の処理中の信号
発生部9の処理同様アドレス信号により反走査方
向へ補正すべき画素数が2画素分であることを検
知し、オアーゲート14g〜14cに〓1〓を出
力し、オアーゲート14a,14bには〓0〓を
出力する。オアーゲート14g〜14cの上側入
力が〓1〓であるので、フリツプフロツプ回路1
5g〜15cへの出力信号は〓1〓となる。ま
た、オアーゲート14bの信号発生部9からの上
側入力は信号〓0〓を入力し、下側入力は信号
c,d,eを処理したときにフリツプフロツプ回
路15aが発生した信号〓0〓を入力するのでオ
アーゲート14bの出力信号は〓0〓となり、フ
リツプフロツプ回路15bはオアーゲート14b
より〓0〓を入力するので、その発生する信号は
〓0〓となる。オアーゲート14aでは、上側入
力は信号発部9から〓0〓を入力し、下側入力は
常に〓0〓であるので、その出力信号は〓0〓と
なり、フリツプフロツプ回路15aはオアーゲー
ト14aより〓0〓を入力するので、その発生す
る信号は〓0〓となり、次に信号を入力するまで
その信号を出力し続ける。従つて、シフトレジス
タ12が信号d,e,fを同期しアンドゲート1
3に出力してからの一連の回路作動によるフリツ
プフロツプ回路15g〜15aの出力する信号は
フリツプフロツプ回路15gから順に〓1〓,〓
1〓,〓1〓,〓1〓,〓1〓,〓0〓,〓0〓
となり、記憶部16には〓1〓を出力する。
Next, the signals c, d, and e are synchronized and input to the AND gate 13, and as a result, the flip-flop circuit 1
5g outputs a signal to the storage section 16, therefore, the shift register 12 inputs the signal e and outputs the signals e, d, and e to the AND gate 13 in synchronization. The register 2 inputs the signal f, 〓1〓, synchronizes the previously input signals d and e with the signal f, and outputs them to the AND gate 13 at the same time. In the AND gate 13, the signals d, e, f
Since all are 〓1〓, the signal 〓1〓 is output. Then, the signal generator 9 inputs the signal 〓1〓, and further, like the processing of the signal generator 9 during the series of processing of the signals c, d, and e, the number of pixels to be corrected in the counter-scanning direction is 2 according to the address signal. It detects that it is a pixel, and outputs 〓1〓 to the OR gates 14g to 14c, and outputs 〓0〓 to the OR gates 14a and 14b. Since the upper input of the OR gates 14g to 14c is 〓1〓, the flip-flop circuit 1
The output signal to 5g to 15c becomes 〓1〓. Further, the upper input from the signal generator 9 of the OR gate 14b receives the signal 〓0〓, and the lower side input receives the signal 〓0〓 generated by the flip-flop circuit 15a when processing the signals c, d, and e. Therefore, the output signal of the OR gate 14b becomes 〓0〓, and the flip-flop circuit 15b outputs the output signal of the OR gate 14b.
Since 〓0〓 is inputted, the generated signal becomes 〓0〓. In the OR gate 14a, the upper input receives 〓0〓 from the signal generator 9, and the lower input always receives 〓0〓, so its output signal becomes 〓0〓, and the flip-flop circuit 15a receives 〓0〓 from the OR gate 14a. is input, the generated signal becomes 〓0〓, and the signal continues to be output until the next signal is input. Therefore, the shift register 12 synchronizes the signals d, e, f and the AND gate 1
The signals output from the flip-flop circuits 15g to 15a by a series of circuit operations after the output from the flip-flop circuit 15g are sequentially 〓1〓,〓
1〓,〓1〓,〓1〓,〓1〓,〓0〓,〓0〓
Therefore, 〓1〓 is output to the storage section 16.

次いで、前記同様にシフトレジスタ12が信号
gを入力し、信号e,fと同期しアンドゲート1
3に出力する。信号e,fは共に〓1〓であるが
信号gが〓0〓であるのでアンドゲート13は〓
0〓を出力し、アンドゲート13からの信号を入
力した信号発生部9は入力信号が〓0〓なので凡
てのオアーゲート14に信号〓0〓を出力する。
信号発生部9から〓0〓を入力したオアーゲート
14gは、上側入力は〓0〓であるが、下側入力
は信号d,e,fを信号処理した一連の回路の作
動中フリツプフロツプ回路15fが信号〓1〓を
出力し続けているので〓1]を入力し、その出力
信号は〓1〓となる。同様に、オアーゲート14
fも、上側入力は〓0〓、下側入力は〓1〓とな
り、その出力は〓1〓であり、オアーゲート14
e,14dもそれぞれ上側入力は〓0〓、下側入
力は〓1〓なので〓1〓を出力する。フリツプフ
ロツプ回路15g〜15dは、オアーゲート14
g〜14dからの入力信号がそれぞれ〓1〓なの
で、信号[1]を出力し続ける。オアーゲート1
4cでは、信号発生部9からの上側入力信号は〓
0〓であり、フリツプフロツプ回路15bからの
下側入力信号も〓0〓であるので、その出力信号
は〓0〓となり、オアーゲート14b,14aも
それぞれ上側入力、下側入力共に〓0〓なので、
その出力は〓0〓となり、フリツプフロツプ回路
15c〜15aはそれぞれ入力対応するオアーゲ
ート14c〜14aから信号〓0〓を入力するの
で信号〓0〓を出力し続ける。従つて、シフトレ
ジスタ12が信号e,f,gを入力してからの一
連の回路動作によるフリツプフロツプ回路15g
〜15aの出力する信号は〓1〓,〓1〓,〓1
〓,〓1〓,〓0〓,〓0〓,〓0〓となり、フ
リツプフロツプ回路15gの出力信号である〓1
〓を記憶部16に出力する。
Next, as described above, the shift register 12 inputs the signal g, synchronizes with the signals e and f, and outputs the AND gate 1.
Output to 3. The signals e and f are both 〓1〓, but the signal g is 〓0〓, so the AND gate 13 becomes 〓
The signal generator 9 which outputs 0〓 and inputs the signal from the AND gate 13 outputs the signal 〓0〓 to all the OR gates 14 because the input signal is 〓0〓.
The upper input of the OR gate 14g which inputs 0 from the signal generator 9 is 0, but the lower input receives the signal from the flip-flop circuit 15f during operation of a series of circuits that processed the signals d, e, and f. Since it continues to output 〓1〓, 〓1〓 is input, and its output signal becomes 〓1〓. Similarly, Orgate 14
For f, the upper input is 0, the lower input is 1, and the output is 1, which is the OR gate 14.
For e and 14d, the upper input is 0 and the lower input is 1, so they output 1. The flip-flop circuits 15g to 15d are connected to the OR gate 14.
Since the input signals from g to 14d are each 1, the signal [1] continues to be output. or gate 1
4c, the upper input signal from the signal generator 9 is
0〓, and the lower input signal from the flip-flop circuit 15b is also 〓0〓, so its output signal becomes 〓0〓, and the OR gates 14b and 14a also have both upper and lower inputs as 〓0〓.
The output becomes 0, and since the flip-flop circuits 15c to 15a receive the signal 0 from the corresponding OR gates 14c to 14a, they continue to output the signal 0. Therefore, the flip-flop circuit 15g is generated by a series of circuit operations after the shift register 12 inputs the signals e, f, and g.
The signals output by ~15a are 〓1〓, 〓1〓, 〓1
〓, 〓1〓, 〓0〓, 〓0〓, 〓0〓, which is the output signal of the flip-flop circuit 15g.
〓 is output to the storage unit 16.

次いで、前記同様にシフトレジスタ12が信号
hを入力し、信号f,gと同期しアンドゲート1
3に出力する。信号fは〓1〓であるが信号g,
hが〓0〓であるのでアンドゲート13は〓0〓
を出力し、アンドゲート13からの信号を入力し
た信号発生部9はその入力が〓0〓なので凡ての
オアーゲート14に信号〓0〓を出力する。信号
発生部9から〓0〓を入力したオアーゲート14
gは、上側入力は〓0〓であるが、下側入力が信
号e,f,gを信号処理した一連の回路の作動中
フリツプフロツプ回路15fが出力し続けている
信号〓1〓を入力するので、その出力信号は〓1
〓となる。同様に、オアーゲート14fも、上側
入力は〓0〓、下側入力は〓1〓となり、その出
力は〓1〓であり、オアーゲート14eも同様に
上側入力は〓0〓であり、下側入力は〓1〓であ
るので〓1〓を出力する。フリツプフロツプ回路
15g〜15eは、オアーゲート14g〜14e
からの入力信号がそれぞれ〓1〓なので、信号〓
1〓を出力し続ける。オアーゲート14dは、信
号発生部9からの上側入力信号が〓0〓であり、
フリツプフロツプ回路15cからの下側入力信号
も〓0〓であるので、その出力信号は〓0〓とな
り、オアーゲート14c〜14aもそれぞれの上
側入力、下側入力共に〓0〓なので、その出力は
〓0〓となり、フリツプフロツプ回路15c〜1
5aはそれぞれ入力対応するオアーゲート14c
〜14aからの信号〓0〓を入力し、次に信号を
入力するまでそれぞれ〓0〓を出力し続ける。従
つて、シフトレジスタ12が信号f,g,hを入
力してからの一連の回路動作によるフリツプフロ
ツプ回路15g〜15aの出力する信号は〓1
〓,〓1〓,〓1〓,〓0〓,〓0〓,〓0〓,
〓0〓となり、フリツプフロツプ回路15gの出
力信号である〓1〓を記憶部16に出力する。
Next, as described above, the shift register 12 inputs the signal h, synchronizes with the signals f and g, and outputs the AND gate 1.
Output to 3. The signal f is 〓1〓, but the signal g,
Since h is 〓0〓, AND gate 13 is 〓0〓
The signal generator 9 which has input the signal from the AND gate 13 outputs the signal 0 to all the OR gates 14 because its input is 0. OR gate 14 inputting 〓0〓 from signal generating section 9
As for g, the upper input is 〓0〓, but the lower input inputs the signal 〓1〓 which the flip-flop circuit 15f continues to output during the operation of the series of circuits that processed the signals e, f, and g. , its output signal is 〓1
〓 becomes. Similarly, the upper input of the OR gate 14f is 0, the lower input is 1, and the output is 1. Similarly, the upper input of the OR gate 14e is 0, and the lower input is 1. Since 〓1〓, 〓1〓 is output. Flip-flop circuits 15g to 15e are OR gates 14g to 14e.
Since the input signals from are each 〓1〓, the signal 〓
Continue to output 1〓. In the OR gate 14d, the upper input signal from the signal generator 9 is 〓0〓,
Since the lower input signal from the flip-flop circuit 15c is also 〓0〓, its output signal is 〓0〓, and since both the upper and lower inputs of the OR gates 14c to 14a are 〓0〓, their outputs are 〓0〓. 〓, and the flip-flop circuits 15c to 1
5a is an OR gate 14c corresponding to each input.
The signal 〓0〓 from ~14a is inputted, and 〓0〓 is continued to be output until the next signal is inputted. Therefore, the signals output from the flip-flop circuits 15g to 15a by a series of circuit operations after the shift register 12 inputs the signals f, g, and h are 1
〓,〓1〓,〓1〓,〓0〓,〓0〓,〓0〓,
0, and the output signal 1 of the flip-flop circuit 15g is output to the storage section 16.

次いで、前記同様にシフトレジスタ12が信号
iである〓1〓を入力し、信号g,hと同期しア
ンドゲート13に出力する。信号iは〓1〓であ
るが信号g,hが〓0〓であるのアンドゲート1
3は〓0〓を出力し、アンドゲート13からの信
号を入力した信号発生部9は入力信号が〓0〓な
ので凡てのオアーゲート14に信号〓0〓を出力
する。信号発生部9から〓0〓を入力したオアー
ゲート14gは、上側入力は〓0〓であるが、下
側入力は信号f,g,hを信号処理した一連の回
路の作動中フリツプフロツプ回路15fの出力し
続けている信号〓1〓を入力するので、その出力
信号は〓1〓となる。同様に、オアーゲート14
fも、上側入力は〓0〓、下側入力は〓1〓でだ
り、その出力は〓1〓となる。フリツプフロツプ
回路15g,15fは、オアーゲート14g,1
4fからの入力信号がそれぞれ〓1〓なので、信
号〓1〓を出力し続ける。オアーゲート14eに
於いては、上側入力は信号発生部9からの信号〓
0〓を入力し、下側入力は信号f,g,hを信号
処理した一連の回路の作動中フリツプフロツプ回
路15dの出力し続けている信号〓0〓を入力す
るのでその出力信号は〓0〓である。オアーゲー
ト14dも同様に、信号発生部9からの上側入力
信号は〓0〓であり、フリツプフロツプ回路15
cからの下側入力信号も〓0〓であるので、その
出力信号は〓0〓となり、オアーゲート14c〜
14aもそれぞれの上側入力、下側入力共に〓0
〓なので、それぞれ出力は〓0〓となり、フリツ
プフロツプ回路15d〜15aは、オアーゲート
14d〜14aからの信号を入力し、次に信号を
入力するまでそれぞれ〓0〓を出力し続ける。従
つて、シフトレジスタ12が信号g,h,iを入
力してからの一連の回路動作によるフリツプフロ
ツプ回路15g〜15aの出力信号は〓1〓,〓
1〓,〓0〓,〓0〓,〓0〓,〓0〓,〓0〓
となり、フリツプフロツプ回路15gの出力信号
である〓1〓を記憶部16に出力する。
Next, as described above, the shift register 12 inputs the signal i, 〓1〓, and outputs it to the AND gate 13 in synchronization with the signals g and h. AND gate 1 where signal i is 〓1〓 but signals g and h are 〓0〓
3 outputs 〓0〓, and the signal generator 9 which inputs the signal from the AND gate 13 outputs the signal 〓0〓 to all the OR gates 14 since the input signal is 〓0〓. The upper input of the OR gate 14g which inputs 0 from the signal generator 9 is 0, but the lower input is the output of the flip-flop circuit 15f during operation of a series of circuits that processed the signals f, g, h. Since the continuous signal 〓1〓 is input, the output signal becomes 〓1〓. Similarly, Orgate 14
For f, the upper input is 0, the lower input is 1, and the output is 1. The flip-flop circuits 15g and 15f have OR gates 14g and 1
Since the input signals from 4f are respectively 1, the signal 1 continues to be output. In the OR gate 14e, the upper input is the signal from the signal generator 9.
0〓 is input, and the lower input inputs the signal 〓0〓 that continues to be output from the flip-flop circuit 15d during the operation of the series of circuits that processed the signals f, g, and h, so the output signal is 〓0〓. It is. Similarly, for the OR gate 14d, the upper input signal from the signal generator 9 is 〓0〓, and the flip-flop circuit 15
Since the lower input signal from c is also 〓0〓, its output signal becomes 〓0〓, and the OR gate 14c~
14a also has each upper input and lower input = 0
Therefore, the respective outputs become 0, and the flip-flop circuits 15d to 15a input the signals from the OR gates 14d to 14a, and each continues to output 0 until the next signal is input. Therefore, the output signals of the flip-flop circuits 15g to 15a due to a series of circuit operations after the shift register 12 inputs the signals g, h, and i are 〓1〓, 〓
1〓,〓0〓,〓0〓,〓0〓,〓0〓,〓0〓
Then, the output signal 〓1〓 of the flip-flop circuit 15g is outputted to the storage section 16.

次いで、前記同様にシフトレジスタ12が信号
jを入力し、信号h,iと同期しアンドゲート1
3に出力する。信号hは〓0〓であり、信号i,
jは〓1〓であるのでアンドゲート13は〓0〓
を出力し、アンドゲート13からの信号を入力し
た信号発生部9は〓0〓なので凡てのオアーゲー
ト14に信号〓0〓を出力する。信号発生部9か
ら信号〓0〓を入力したオアーゲート14gは、
上側入力は信号〓0〓であるが、下側入力は信号
g,h,iを信号処理した一連の回路の作動中フ
リツプフロツプ回路15fが信号〓1〓を出力し
続けている信号〓1〓を入力し、その出力信号は
〓1〓とな、フリツプフロツプ回路15gはオア
ーゲート14gの出力信号〓1〓を入力し、次ぎ
に信号入力のあるまで信号〓1〓を出力し続け
る。オアーゲート14fに於いては、上側入力は
信号発生部9からの信号〓0〓を入力し、下側入
力は信号g,h,iを信号処理した一連の回路の
作動中フリツプフロツプ回路15eの出力信号〓
0〓を入力するので出力信号は〓0〓である。オ
アーゲート14eでも同様に、信号発生部9から
の上側入力信号は〓0〓であり、フリツプフロツ
プ回路15dからの下側入力信号も〓0〓である
ので、その出力信号は〓0〓となり、オアーゲー
ト14d〜14aもそれぞれの上側入力、下側入
力共に〓0〓なので、その出力は〓0〓となる。
従つて、シフトレジスタ12が信号h,i,jを
入力してからの一連の回路動作によるフリツプフ
ロツプ回路15g〜15aの出力信号はそれぞれ
入力対応するオアーゲート14g〜14aの出力
信号を出力維持し続けるので〓1〓,〓0〓,〓
0〓,〓0〓,〓0〓,〓0〓,〓0〓となり、
フリツプフロツプ回路15gの出力信号である〓
1〓を記憶部16に出力する。
Next, in the same manner as described above, the shift register 12 inputs the signal j, synchronizes with the signals h and i, and outputs the AND gate 1.
Output to 3. The signal h is 〓0〓, and the signal i,
Since j is 1, the AND gate 13 is 0
Since the signal generator 9 inputs the signal from the AND gate 13 and outputs the signal 0, it outputs the signal 0 to all the OR gates 14. The OR gate 14g inputs the signal 〓0〓 from the signal generator 9,
The upper input is the signal 〓0〓, but the lower input is the signal 〓1〓, which the flip-flop circuit 15f continues to output as the signal 〓1〓 during the operation of the series of circuits that processed the signals g, h, and i. The flip-flop circuit 15g inputs the output signal <1> of the OR gate 14g and continues to output the signal <1> until the next signal input. In the OR gate 14f, the upper input receives the signal 〓0〓 from the signal generator 9, and the lower input receives the output signal of the flip-flop circuit 15e during operation of a series of circuits that processed the signals g, h, and i. 〓
Since 0〓 is input, the output signal is 〓0〓. Similarly, in the OR gate 14e, the upper input signal from the signal generator 9 is 0, and the lower input signal from the flip-flop circuit 15d is also 0, so the output signal is 0, and the OR gate 14d Since the upper and lower inputs of ~14a are also 0, the output thereof is 0.
Therefore, the output signals of the flip-flop circuits 15g to 15a resulting from a series of circuit operations after the shift register 12 inputs the signals h, i, and j continue to output the output signals of the OR gates 14g to 14a corresponding to the inputs. 〓1〓、〓0〓、〓
0〓,〓0〓,〓0〓,〓0〓,〓0〓,
This is the output signal of the flip-flop circuit 15g.
1 is output to the storage unit 16.

次いで、前記同様にシフトレジスタ12が信号
kを入力し、信号i,jと同期しアンドゲート1
3に出力する。信号i,jは〓1〓であるが、信
号kは〓0〓であるのでアンドゲート13は〓0
〓を出力し、アンドゲート13からの信号を入力
した信号発生部9は信号〓0〓なので凡てのオア
ーゲート14に信号〓0〓を出力する。信号発生
部9から信号〓0〓を入力したオアーゲート14
gは、上側入力は信号発生部9からの信号〓0〓
を入力し、下側入力は信号h,i,jを信号処理
した一連の回路の作動中フリツプフロツプ回路1
5fの出力続けている信号〓0〓を入力するので
出力信号は〓0〓である。オアーゲート14fで
も同様に、信号発生部9からの上側入力信号は〓
0〓であり、フリツプフロツプ回路15dからの
下側入力信号も〓0〓であるので、その出力信号
は〓0〓となり、オアーゲート14e〜14aも
それぞれの上側入力、下側入力共に〓0〓なの
で、その出力信号は〓0〓となる。従つて、シフ
トレジスタ12が信号i,j,kを入力してから
の一連の回路動作によるフリツプフロツプ回路1
5g〜15aの出力信号は〓0〓,〓0〓,〓0
〓,〓0〓,〓0〓,〓0〓,〓0〓となり、フ
リツプフロツプ回路15gの出力する信号〓0〓
を記憶部16に出力する。
Next, in the same manner as described above, the shift register 12 inputs the signal k, synchronizes with the signals i and j, and outputs the AND gate 1.
Output to 3. Signals i and j are 〓1〓, but signal k is 〓0〓, so the AND gate 13 is 〓0〓.
Since the signal generator 9 outputs the signal 〓 and inputs the signal from the AND gate 13, it outputs the signal 〓0〓 to all the OR gates 14. OR gate 14 into which signal 〓0〓 is input from signal generator 9
The upper input of g is the signal from the signal generator 9〓0〓
is input, and the lower input is the operating flip-flop circuit 1 of a series of circuits that processed the signals h, i, and j.
Since the signal 〓0〓 which continues to be output from 5f is inputted, the output signal is 〓0〓. Similarly, in the OR gate 14f, the upper input signal from the signal generator 9 is
0〓, and the lower input signal from the flip-flop circuit 15d is also 〓0〓, so its output signal becomes 〓0〓, and since both the upper and lower inputs of the OR gates 14e to 14a are 〓0〓, Its output signal becomes 〓0〓. Therefore, the flip-flop circuit 1 is controlled by a series of circuit operations after the shift register 12 inputs the signals i, j, k.
The output signals of 5g to 15a are 〓0〓, 〓0〓, 〓0
〓, 〓0〓, 〓0〓, 〓0〓, 〓0〓, and the flip-flop circuit 15g outputs the signal 〓0〓.
is output to the storage section 16.

次いで、シフトレジスタ12が信号lを入力し
信号j,kと同期し、アンドゲート13に出力す
る。アンドゲート13が出力する信号は、信号k
が〓0〓なので〓0〓である。アンドゲート13
の出力信号が〓0〓であり、信号i,j,kを信
号処理した一連の回路作動においてのフリツプフ
ロツプ回路15g〜15aの出力信号は凡て〓0
〓であるので、信号i,j,kをシフトレジスタ
12が同期し出力してからの作動と同様にフリツ
プフロツプ回路15a〜15gの出力は凡て〓0
〓となる。
Next, the shift register 12 inputs the signal l, synchronizes it with the signals j and k, and outputs it to the AND gate 13. The signal output by the AND gate 13 is the signal k
Since is 〓0〓, it is 〓0〓. and gate 13
The output signal of the flip-flop circuits 15g to 15a in a series of circuit operations in which signals i, j, and k are processed are all 0.
Therefore, similarly to the operation after the shift register 12 synchronizes and outputs the signals i, j, and k, the outputs of the flip-flop circuits 15a to 15g are all 0.
〓 becomes.

次いで、シフトレジスタ12が信号mを入力し
信号k,lを同期し出力してからの一連の動作
は、信号kが〓0〓であるので、信号i,j,k
を信号処理した場合同様に、フリツプフロツプ回
路15a〜15gの出力信号は凡て〓0〓とな
る。
Next, the shift register 12 inputs the signal m, synchronizes the signals k and l, and outputs them. Since the signal k is 〓0〓, the signals i, j, k
Similarly, when signal processing is performed, the output signals of the flip-flop circuits 15a to 15g all become 〓0〓.

次いで、シフトレジスタ12が信号nを入力し
信号l,m,nを同期しアンドゲート13へ出力
してから、回路作動を続け、順次信号を入力し、
信号uを入力し信号s,t,uを同期しアンドゲ
ート13へ出力することにより回路動作を続け、
フリツプフロツプ回路15a〜15gが信号を出
力するまでの回路の作動は、シフトレジスタ12
が信号fを入力し信号d,e,fを同期しアンド
ゲート13へ出力してから、順次信号を入力し回
路作動を続け、信号mを入力し信号k,l,mを
同期しアンドゲート13へ出力することによりフ
リツプフロツプ回路15a〜15gが出力する信
号と同様の信号を出力する。
Next, the shift register 12 inputs the signal n, synchronizes the signals l, m, and n and outputs them to the AND gate 13, and then continues the circuit operation and sequentially inputs the signals.
The circuit operation continues by inputting the signal u and synchronizing the signals s, t, and u and outputting them to the AND gate 13.
The operation of the circuit until the flip-flop circuits 15a to 15g output signals is performed by the shift register 12.
inputs the signal f, synchronizes the signals d, e, and f, and outputs them to the AND gate 13, then inputs the signals sequentially to continue the circuit operation, inputs the signal m, synchronizes the signals k, l, and m, and outputs them to the AND gate 13. By outputting to flip-flop circuit 13, a signal similar to that output by flip-flop circuits 15a to 15g is output.

以上のように、シフトレジスタ12が信号aを
入力してから、信号uを入力することによりフリ
ツプフロツプ回路15a〜15gが信号を出力ま
での、フリツプフロツプ回路15gが記憶部16
に出力した信号と、受光部2が被計測物4を走査
した信号a〜uとを比較すれば第9図bに表すよ
うになる。図中信号列Aは被計測物4を受光部2
が走査した信号a〜uであり、信号列Bは補正回
路7により補正された信号であるフリツプフロツ
プ回路15gからの出力信号である。信号列A,
Bを比較すると、信号列Aの被計測物4の孔6を
最初に計測した信号cは、記憶部16の入力する
信号列Bに2画素遅れて出現するので信号列Bの
信号e′であるが、画素欠けを起こすのは反走査方
向であるので、常に、孔6を計測した信号が出現
した計測信号の前に計測した信号を補正し画素欠
け補正分だけ信号〓0〓を信号〓1〓に補正する
ので、画素欠け補正分である2画素前の信号c′か
ら孔6を計測した信号として出現している。更
に、信号列Aの被計測物4の孔6を計測した信号
〓1〓は信号cから信号fまでの4画素であるの
に対し、信号列Bの信号〓1〓は信号c′から現れ
信号h′までの6画素分が被計測物4の孔6を計測
した信号〓1〓を表している。このようにフリツ
プフロツプ回路15gの出力する信号は、実際に
受光部2が計測した信号を、画素欠けによる見掛
け上の孔径を補正し出力する。更に、その補正方
向は、走査した信号a〜uの該当部分が被計測物
4の搬送方向中心より反走査方向側に存在するた
め、信号c〜fのうち孔6であることを最初に計
測した信号cの2画素前に計測した信号からあた
かも孔6あると計測した信号であるように、信号
列Bのその対応する信号c′〜h′を〓1〓に補正
し、受光部2が実際に計測し、一連の回路動作の
後フリツプフロツプ回路15gの出力した信号が
記憶部16に入力するより2画素早く記憶部16
に入力する。更に信号列Aの被計測物4の孔6を
計測した信号i,jの2画素だけ連続する信号
は、その対応する信号列Bのk′,l′には現れず、
孔6ではない例えばノイズと判断し出力信号上か
ら消去される。更に走査が進み、受光部2が再び
孔6を計測した信号列Aの信号l〜nを出力する
と、信号列Bのその対応する信号n′〜p′と、更に
は信号n′〜p′出現し補正する画素数に相当する信
号l′,m′をも〓1〓として記憶部16に出力す
る。
As described above, after the shift register 12 inputs the signal a, the flip-flop circuits 15a to 15g output the signal by inputting the signal u.
Comparing the signals outputted by the light receiving section 2 with the signals a to u obtained by scanning the object 4 to be measured, the results are shown in FIG. 9b. In the figure, signal train A indicates that the object to be measured 4 is connected to the light receiving section 2.
are the scanned signals a to u, and the signal sequence B is the output signal from the flip-flop circuit 15g, which is a signal corrected by the correction circuit 7. signal train A,
Comparing B, the signal c that is the first measurement of the hole 6 of the object 4 in the signal string A appears two pixels later than the signal string B that is input to the storage section 16, so the signal e' in the signal string B is However, pixel missing occurs in the opposite scanning direction, so the signal measured before the signal measured for hole 6 appears is always corrected, and the signal 〓0〓 is changed to the signal 〓0〓 by the pixel missing correction. Since the correction is made to 1〓, it appears as a signal obtained by measuring the hole 6 from the signal c' of two pixels before, which is the pixel missing correction amount. Furthermore, the signal 〓1〓 obtained by measuring the hole 6 of the object to be measured 4 in the signal train A has four pixels from the signal c to the signal f, whereas the signal 〓1〓 in the signal train B has four pixels appearing from the signal c'. The six pixels up to the signal h' represent the signal 〓1〓 obtained by measuring the hole 6 of the object 4. In this way, the flip-flop circuit 15g outputs a signal that is actually measured by the light receiving section 2, corrected for the apparent hole diameter due to missing pixels. Furthermore, since the corresponding part of the scanned signals a to u exists on the opposite scanning direction side from the center of the conveyance direction of the object 4, the correction direction is determined by first measuring the hole 6 among the signals c to f. The corresponding signals c' to h' of the signal sequence B are corrected to 〓1〓 from the signal measured two pixels before the signal c, and the light receiving section 2 After actually measuring and after a series of circuit operations, the signal output from the flip-flop circuit 15g is input to the storage section 16 two steps faster than the signal outputted from the flip-flop circuit 15g.
Enter. Furthermore, signals i and j that are continuous for two pixels, which are obtained by measuring the hole 6 of the object 4 in the signal sequence A, do not appear in the corresponding signal sequence B, k' and l'.
If it is not the hole 6, for example, it is determined to be noise, and it is erased from the output signal. As the scanning progresses further and the light receiving unit 2 again outputs the signals l to n of the signal train A that measured the hole 6, the corresponding signals n' to p' of the signal train B and further signals n' to p' Signals l' and m' corresponding to the number of pixels appearing and to be corrected are also output to the storage unit 16 as 〓1〓.

以上のように補正回路7により画素欠け補正を
した信号は順次フリツプフロツプ回路15gによ
り出力され、記憶部16は、フリツプフロツプ回
路15gより送信される信号を、被計測物4の幅
毎に順次記憶しておく。この実施例では、記憶部
16は、被計測物4の幅方向のドツトの集まりを
1ラインとすると1ラインの入力信号を蓄積する
が、必ずしも1ラインでなくともよく、1ライン
以上の蓄積が出来れば孔6の計数は可能であり、
更に本発明にフリツプフロツプ回路15gからの
信号に対しフイルター等を用いることにより、穴
の形状に対する処理などを行うことも可能であ
る。17は計数部であり、計数部17は第10図
に示すごとく、アンドゲート18とフリツプフロ
ツプ回路19a,19b、カウンター20、表示
装置21とから構成する。そこで計数部17にフ
リツプフロツプ回路15gが現在送信している信
号と、記憶部16に記憶されている1ライン前の
信号とを同期させ入力する。その際、記憶部16
では1ライン前の信号を計数部17に送信すると
ともに記憶を消去し、同時に、フリツプフロツプ
回路15gが現在送信している信号を順次記憶し
ていく。計数部17では、現在送信されている信
号が〓0〓から〓1〓になつたときには、フリツ
プフロツプ回路19aでカウントパルスを発生し
カウンター20に1を加える。又、現在送信され
ている信号と、1ライン前の信号と同期し、アン
ドゲート18に入力しアンドゲート18の出力信
号が〓1〓から〓0〓になつた時に、フリツプフ
ロツプ回路19bで減算信号であるカウントパル
スを発生し、カウンター20から1を引く。この
作業を被計測物4上の総てのラインについて行い
計数表示部21に表示することにより、孔6の数
を計数し、表示することができる。又、本実施例
では、被計測物4の計数する対象が、光源1から
の光を受光部2に到達させ、被計測物4の計数対
象外の部位は、光源1からの光を遮断する例を述
べたが、被計測物4の計数する対象が、光源1か
らの光を遮断し、被計測物4の計数対象外の部位
が光源1からの光を受光部2に到達させてもよ
い。この場合には、被計測物搬送方向中心から被
計測物の端部になるに従い、被計測物の計測対象
を大きく計測してしまうので、補正回路7の信号
発生生部9ではアンドゲート13から入力する信
号をその信号より少なく発生しなければならな
い。更に、信号発生部9の少なく発生する方向
は、被計測物の計測対象が被計測物搬送方向中心
の走査方向側に存在した場合には、計測信号列
の、計測対象を計測した信号が出現したその信号
を計測対象を計測していない場合の信号に補正
し、被計測物の計測対象が被計測物搬送方中心の
反走査方向側に存在した場合には、計測信号列
の、計測対象を計測した信号が連続して出現した
最後の信号から、その信号を計測対象を計測して
いない信号に補正する。更に計数部においては、
現在走査している信号が〓1〓から〓0〓になる
ときに、フリツプフロツプ回路19aでカウント
パルスを発生し、カウンター20に1を加える。
又、現在走査している信号と、1ライン前の信号
を同期し、アンドゲート18に入力し、アンドゲ
ート18の出力信号が〓0〓から〓1〓になつた
時に、フリツプフロツプ回路19bで減算信号で
あるカウントパルスを発生し、カウンター20か
1を引く。
As described above, the signals corrected for missing pixels by the correction circuit 7 are sequentially outputted by the flip-flop circuit 15g, and the storage section 16 sequentially stores the signals transmitted from the flip-flop circuit 15g for each width of the object to be measured 4. put. In this embodiment, the storage unit 16 stores one line of input signals, assuming that one line is a collection of dots in the width direction of the object to be measured 4, but it does not necessarily have to be one line, and more than one line can be stored. If possible, it is possible to count hole 6,
Furthermore, by using a filter or the like for the signal from the flip-flop circuit 15g in the present invention, it is also possible to perform processing on the shape of the hole. 17 is a counting section, and the counting section 17 is composed of an AND gate 18, flip-flop circuits 19a, 19b, a counter 20, and a display device 21, as shown in FIG. Therefore, the signal currently being transmitted by the flip-flop circuit 15g and the signal one line before, stored in the storage section 16, are synchronized and input to the counting section 17. At that time, the storage unit 16
Then, the signal of one line before is transmitted to the counting section 17 and its memory is erased, and at the same time, the signal currently being transmitted by the flip-flop circuit 15g is sequentially stored. In the counting section 17, when the currently transmitted signal changes from 0 to 1, the flip-flop circuit 19a generates a count pulse and adds 1 to the counter 20. Also, the currently transmitted signal is synchronized with the signal one line before, and is input to the AND gate 18, and when the output signal of the AND gate 18 changes from 1 to 0, the flip-flop circuit 19b generates a subtraction signal. A count pulse is generated and 1 is subtracted from the counter 20. By performing this operation for all lines on the object to be measured 4 and displaying it on the count display section 21, the number of holes 6 can be counted and displayed. Further, in this embodiment, the object to be counted of the object to be measured 4 allows the light from the light source 1 to reach the light receiving section 2, and the part of the object to be measured 4 that is not the object to be counted blocks the light from the light source 1. As an example, even if the object to be counted in the object to be measured 4 blocks the light from the light source 1 and the part of the object to be measured 4 that is not the object to be counted allows the light from the light source 1 to reach the light receiving part 2. good. In this case, the object to be measured increases from the center of the object in the transport direction to the end of the object, so the signal generating section 9 of the correction circuit 7 The input signal must be generated less than that signal. Furthermore, in the direction in which the signal generation section 9 generates less signal, if the object to be measured exists on the scanning direction side of the center of the object conveyance direction, a signal that measures the object in the measurement signal sequence appears. The measured signal is corrected to the signal when the measurement target is not being measured, and if the measurement target of the measurement target exists on the opposite scanning direction side of the center of the measurement target transport direction, the measurement target of the measurement signal train Starting with the last signal in which a measured signal appears consecutively, that signal is corrected to a signal that does not measure the measurement target. Furthermore, in the counting section,
When the currently scanned signal changes from 1 to 0, the flip-flop circuit 19a generates a count pulse and adds 1 to the counter 20.
Also, the signal currently being scanned and the signal one line before are synchronized and input to the AND gate 18, and when the output signal of the AND gate 18 changes from 0 to 1, the flip-flop circuit 19b subtracts the signal. A count pulse, which is a signal, is generated and the counter 20 is subtracted by 1.

更に例として、第11図に示す被計測物4上の
任意の形状の孔6を実施例に基づき計数してみ
る。現在走査し、送信されている信号のラインを
Aとし、1ライン前の信号をBとし、被計測物4
上に対応させ表してみる。10はそれぞれ被計測
物4上にあく孔とする。第11図aに示すよう
に、現在走査している信号が走査を進め、a点に
達したとき、信号が〓0〓から〓1〓となりフリ
ツプフロツプ回路19aによりカウントパルスを
発生しカウンター20に1を加え計数表示部21
に〓1〓を表示する。この時、現在走査している
信号Aと1ライン前の信号Bとが、アンドゲート
に入力されアンドをとると〓0〓でありカウント
されない。更に走査が進み第11図bに示す状態
となつた場合、現在走査している信号Aが(b)点に
達したとき、信号が〓0〓から〓1〓となりフリ
ツプフロツプ回路19aによりカウントパルスを
発生し、カウンターー20に1を加え計数表示部
21に〓2〓を表示する。更に走査が進み(c)点に
達したとき、現在走査している信号Aと1ライン
前の信号Bとがそれぞれ〓1〓なので、アンドゲ
ート18の出力信号が〓1〓となり、更に(d)点に
達したとき、アンドゲート18の出力信号が〓0
〓となり、フリツプフロツプ回路19bによりカ
ウントパルスを発生し、カウンター20から1を
引き計数表示部21には第11図aの状態の時に
表示した時と同じに〓1〓を表示する。第11図
bから第11図cまでの間での走査は、第11図
bと同じ計数を繰り返すので計数表示部21は、
第11図aの状態で表示した時と同じに〓1〓を
表示している。更に走査を進めて行くと第11図
cの状態となる。第11図cに示す現在走査して
いる信号Aが(e)点に達したとき、信号は〓0〓か
ら〓1〓になりフリツプフロツプ回路19aによ
り、カウントパルスを発生し、カウンター20に
1を加え、計数表示部21は〓2〓を表示する。
更に走査が進み、(f)点に達すると現在走査してい
る信号Aと1ライン前の信号Bとは、それぞれ〓
1〓となり、アンドゲート18に入力され、アン
ドゲート18の出力信号は〓1〓となり、更に走
査が進み(g)点に達したとき、アンドゲート18の
出力信号は〓1〓から〓0〓となり、フリツプフ
ロツプ回路19bにより、カウントパルスを発生
し、カウンター20から1を引き、計数表示部2
1は〓1〓を表示する。更に走査が進み(h)点に達
したとき、現在走査している信号Aは〓1〓とな
り、フリツプフロツプ回路19aにより、カウン
トパルスを発生し、カウンター20に1を加え、
計数表示部21は〓2〓を表示する。更に第11
図dまでの間では、第11図bで行う計数を繰り
返すので計数表示部21は第11図dの直前には
〓2〓を表示している。更に走査が進み第11図
dの(i)点において、現在走査している信号Aの信
号が〓0〓から〓1〓となるのでフリツプフロツ
プ回路19aによりカウントパルスを発生し、カ
ウンター20に1を加え計数表示部21は〓3〓
を表示するとともに、現在走査している信号Aの
信号と、1ライン前の信号Bはともに〓1〓とな
りアンドゲート18の出力は〓1〓となる。更に
走査が進み、(j)点に達したとき、現在走査してい
る信号Aと、1ライン前の信号Bとはともに〓0
〓となりアンドゲート18の出力信号は〓1〓か
ら〓0〓となり、フリツプフロツプ回路19bよ
りカウントパルスを発生し、カウンター20より
1を引き計数表示部21は〓2〓を表示し、更に
走査が進み(k)点に達したとき、1ライン前の信号
Bは〓1〓となり、アンドゲート18の出力信号
は〓1〓であり、依然計数表示部21は〓2〓を
表示しており、更に走査が進み(l)点に達した
とき、現在走査している信号Aと1ライン前の信
号Bはともに〓0〓となり、アンドゲート18の
出力信号は〓1〓から〓0〓になり、フリツプフ
ロツプ回路19bよりカウントパルスを発生し、
カウンター20から1を引き、計数表示部21は
〓1〓を表示する。更に走査を進め、第11図e
の状態では、(m)点に達したとき、現在走査してい
る信号Aは0であり、1ライン前の信号Bは〓1
〓となるが、アンドゲート18の出力信号は
[0]であり、計数表示部21は依然〓1〓を表
示している。更に走査が進み、(n)点でも、アンド
ゲート18の出力信号は〓0〓であり、計数表示
部21は〓1〓を表示しており、孔6を走査し終
えたときカウンター20は、1を計数しており、
計数表示部21は、孔の数〓1〓を示す。以上の
方法により被計測物4上を総て走査し終えたと
き、計数表示部21は、被計測物4上の孔数の合
計を表示しており、計数を終える。
Furthermore, as an example, holes 6 of arbitrary shapes on the object to be measured 4 shown in FIG. 11 will be counted based on the example. The line of the signal currently being scanned and transmitted is A, the signal from one line before is B, and the object to be measured 4
Let's try to correspond to the above. Reference numerals 10 denote holes drilled on the object 4 to be measured. As shown in FIG. 11a, when the current scanning signal advances and reaches point a, the signal changes from 0 to 1, and the flip-flop circuit 19a generates a count pulse and the counter 20 outputs 1. Add the count display section 21
Display 〓1〓 on . At this time, the signal A currently being scanned and the signal B from one line before are input to the AND gate and when they are ANDed, the result is 0 and is not counted. When the scanning progresses further and the state shown in FIG. 11b is reached, when the currently scanning signal A reaches point (b), the signal changes from 0 to 1, and the flip-flop circuit 19a outputs a count pulse. is generated, 1 is added to the counter 20, and 〓2〓 is displayed on the count display section 21. When the scanning progresses further and reaches point (c), the signal A currently being scanned and the signal B one line before are each 〓1〓, so the output signal of the AND gate 18 becomes 〓1〓, and further (d ), the output signal of the AND gate 18 becomes 0
The flip-flop circuit 19b generates a count pulse, subtracts 1 from the counter 20, and displays 1 on the count display section 21 in the same way as it displayed in the state shown in FIG. 11a. In the scanning from FIG. 11b to FIG. 11c, the same counting as in FIG. 11b is repeated, so the count display section 21
〓1〓 is displayed in the same manner as when it was displayed in the state shown in Fig. 11a. As the scanning progresses further, the state shown in FIG. 11c is reached. When the currently scanning signal A shown in FIG. In addition, the count display section 21 displays 〓2〓.
As the scanning progresses further and reaches point (f), the signal A currently being scanned and the signal B one line before are respectively 〓
1〓, which is input to the AND gate 18, the output signal of the AND gate 18 becomes 〓1〓, and when the scanning progresses further and reaches point (g), the output signal of the AND gate 18 changes from 〓1〓 to 〓0〓. Then, the flip-flop circuit 19b generates a count pulse, subtracts 1 from the counter 20, and displays the count display section 2.
1 displays 〓1〓. When the scanning progresses further and reaches point (h), the signal A currently being scanned becomes 1, the flip-flop circuit 19a generates a count pulse, adds 1 to the counter 20,
The count display section 21 displays 〓2〓. Furthermore, the 11th
Since the counting performed in FIG. 11b is repeated up to FIG. 11d, the count display section 21 displays 〓2〓 immediately before FIG. 11d. As the scanning progresses further and at point (i) in FIG. The addition count display section 21 is 〓3〓
At the same time, the signal A currently being scanned and the signal B one line before are both 〓1〓, and the output of the AND gate 18 becomes 〓1〓. When the scanning progresses further and reaches point (j), both the currently scanning signal A and the signal B one line before are 0.
〓, the output signal of the AND gate 18 changes from 〓1〓 to 〓0〓, a count pulse is generated from the flip-flop circuit 19b, 1 is subtracted from the counter 20, and the count display section 21 displays 〓2〓, and the scanning progresses further. When the point (k) is reached, the signal B one line before becomes 〓1〓, the output signal of the AND gate 18 is 〓1〓, the count display section 21 still displays 〓2〓, and When the scanning progresses and reaches point (l), both the current scanning signal A and the signal B from one line before become 0, and the output signal of the AND gate 18 changes from 1 to 0. A count pulse is generated from the flip-flop circuit 19b,
1 is subtracted from the counter 20, and the count display section 21 displays 〓1〓. Further scanning is performed, and Fig. 11e
In the state of , when the point (m) is reached, the signal A currently being scanned is 0, and the signal B one line before is 〓1
However, the output signal of the AND gate 18 is [0], and the count display section 21 still displays 〓1〓. As the scanning progresses further, at point (n), the output signal of the AND gate 18 is 0, and the count display section 21 is displaying 1, and when the hole 6 has been scanned, the counter 20 is 1 is counted,
The count display section 21 shows the number of holes 〓1〓. When the object to be measured 4 has been completely scanned by the method described above, the count display section 21 displays the total number of holes on the object to be measured 4, and the counting ends.

以上のように本実施例に於ける補正回路7は入
力する信号を増減補正し、次段へ信号出力するも
のであり、他の測定機あるいは信号処理等にも応
用可能である。更に、計測した孔6の連続する信
号〓1〓の量を計数しておくことにより孔6の走
査方向幅をも計測可能である。
As described above, the correction circuit 7 in this embodiment increases or decreases the input signal and outputs the signal to the next stage, and can be applied to other measuring instruments or signal processing. Furthermore, the width of the hole 6 in the scanning direction can also be measured by counting the amount of the continuous signal 〓1〓 of the measured hole 6.

(ト) 効果 以上に示す方法によれば、計測手段の走査方向
幅が被計測物走査方向幅より幅小であるため、被
計測物の搬送方向中心走査方向端部に近付くほ
ど、孔の径が見掛け上径小になることによる誤計
測の可能性がなくなり、しかも複雑な手段を用い
ず比較的簡単な方法により計数することが可能で
あり、更に、被計測物の計測対象の走査方向幅を
も計測することが可能となる。
(G) Effect According to the method described above, since the width of the measuring means in the scanning direction is smaller than the width of the object to be measured in the scanning direction, the diameter of the hole becomes smaller as the distance from the center of the object in the transport direction to the end in the scanning direction increases. This eliminates the possibility of erroneous measurements due to the apparent small diameter of the object, and it is possible to count using a relatively simple method without using complicated means. It also becomes possible to measure

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

第1図は本発明の実施例を表し、第2図は同部
品図あり、第3図は第1図矢視図であり、第4
図,第5図は計測対象の計測情況を表し、第6図
は画素欠けの情況を説明する図であり、第7図は
補正回路の説明図であり、第8図は計測信号列を
表し、第9図は計測信号列と補正信号列との比較
説明図であり、第10図は計数部を表し、第11
図は計数方法の説明図である。 2……計測手段である受光部、4……被計測物
である基板、5……受光素子、6……計測対象で
ある孔、9……信号発生部、10……補正信号出
力部、14……論理演算手段であるオアーゲー
ト、15……信号出力維持手段であるフリツプフ
ロツプ回路、16……記憶部、17……計数部。
Fig. 1 shows an embodiment of the present invention, Fig. 2 shows the same parts, Fig. 3 is a view in the direction of Fig.
Figure 5 shows the measurement situation of the measurement target, Figure 6 is a diagram explaining the situation of missing pixels, Figure 7 is an illustration of the correction circuit, and Figure 8 shows the measurement signal sequence. , FIG. 9 is a comparison explanatory diagram of the measurement signal train and the correction signal train, and FIG. 10 shows the counting section, and the 11th
The figure is an explanatory diagram of the counting method. 2... Light receiving section which is a measurement means, 4... Substrate which is an object to be measured, 5... Light receiving element, 6... Hole which is a measuring object, 9... Signal generating section, 10... Correction signal outputting section, 14...OR gate serving as logical operation means, 15...Flip-flop circuit serving as signal output maintaining means, 16...memory section, 17...counting section.

Claims (1)

【特許請求の範囲】 1 被計測物が通過する際被計測物の進行方向と
交差方向へ一次元に走査し被計測物の走査点での
計測対象の「有」又は「無」を検知しデジタル化
して信号を送信する計測手段と、計測手段の出力
する信号を入力するとともに入力する信号の一次
元に走査する方向での被計測物計測該当位置を指
示するアドレス信号を入力し、計測手段からの信
号が計測対象を「有」と検知したデジタル化され
た信号の場合には所定の出力へ計測対象を「有」
と検知したデジタル化された信号を出力し、被計
測物の進行方向と交差する走査方向の被計測物計
測該当位置によつては計測対象を「有」と検知し
たデジタル化された信号を所定数の他の出力へ増
補正し出力する複数の出力を有する信号発生手段
と、信号発生手段の出力する複数の出力信号を複
数の論理演算手段が夫々対応するよう入力し、1
の信号出力維持手段が信号発生手段の出力する計
測対象を「有」又は「無」と検知した信号のうち
の1と同じ信号を入力し1の論理演算手段へ出力
維持し、1の信号出力維持手段の出力する信号を
入力した1の論理演算手段が同時に信号発生手段
からの他の出力信号をも入力し、少なくもどちら
かの信号が計測対象を「有」と検知した信号の場
合には計測対象を「有」と検知した信号を次の信
号出力維持手段へ信号出力し、他の場合には計測
対象を「無」と検知した信号を次の信号出力維持
手段へ信号出力し、1の論理演算手段の出力する
信号を入力した信号出力維持手段が次の論理演算
手段へ入力した信号を出力維持するよう接続し、
他の複数の論理演算手段及び信号出力維持手段も
順次同様に接続し、最終の信号出力維持手段が計
測信号を出力する補正信号出力手段とからなるこ
とを特徴とする計測装置。 2 被計測物が通過する際被計測物の進行方向と
交差方向へ一次元に走査し被計測物の走査点での
計測対象の「有」又は「無」を検知しデジタル化
して信号を送信する計測手段と、計測手段の出力
する信号を入力するとともに入力する信号の一次
元に走査する方向での被計測物計測該当位置を指
示するアドレス信号を入力し、計測手段からの信
号が計測対象を「有」と検知したデジタル化され
た信号の場合には所定の出力へ計測対象を「有」
と検知したデジタル化された信号を出力し、被計
測物の進行方向と交差する走査方向の被計測物計
測該当位置によつては計測対象を「有」と検知し
たデジタル化された信号を所定数の他の出力へ増
補正し出力する複数の出力を有する信号発生手段
と、信号発生手段の出力する複数の出力信号を複
数の論理演算手段が夫々対応するよう入力し、1
の信号出力維持手段が信号発生手段の出力する計
測対象を「有」又は「無」と検知した信号のうち
の1と同じ信号を入力し1の論理演算手段へ出力
維持し、1の信号出力維持手段の出力する信号を
入力した1の論理演算手段が同時に信号発生手段
からの他の出力信号をも入力し、少なくともどち
らかの信号が計測対象を「有」と検知した信号の
場合には計測対象を「有」と検知した信号を次の
信号出力維持手段へ信号出力し、、他の場合には
計測対象を「無」と検知した信号を次の信号出力
維持手段へ信号出力し、1の論理演算手段の出力
する信号を入力した信号出力維持手段が次の論理
演算手段へ入力した信号を出力維持するよう接続
し、他の複数の論理演算手段及び信号出力維持手
段も順次同様に接続し、最終の信号出力維持手段
が計測信号を記憶手段及び計数手段へ出力する補
正信号出力手段と、補正信号出力手段の出力する
被計測物の幅部分の信号を走査毎に記憶する記憶
手段と、補正信号出力手段の出力する走査毎の被
計測物の幅部分の信号及び記憶手段が記憶した当
該走査の前の被計測物の幅部分の補正信号とを比
較して計数する計数手段とからなることを特徴と
する計測装置。
[Claims] 1. When the object to be measured passes, it scans one-dimensionally in a direction intersecting the direction of movement of the object to be measured, and detects the presence or absence of the object to be measured at the scanning point of the object. A measurement means that digitizes and transmits a signal, and an address signal that instructs the measurement target position of the object in a one-dimensional scanning direction of the input signal as well as the signal output from the measurement means is input, and the measurement means If the signal from is a digitized signal that detects that the measurement target is "present", the measurement target is sent to the predetermined output.
Depending on the measurement target position of the measured object in the scanning direction that intersects the traveling direction of the measured object, the digitized signal that detects that the measured object is "present" is outputted as a predetermined signal. a signal generating means having a plurality of outputs which are outputted after increasing the number of outputs;
The signal output maintaining means inputs the same signal as one of the signals output by the signal generating means that detects the measurement target as "presence" or "absence", maintains the output to the logic operation means of 1, and outputs the signal of 1. When the logical operation means inputting the signal output from the maintaining means simultaneously inputs another output signal from the signal generating means, and at least one of the signals is a signal that detects that the measurement target is "present", outputs a signal that detects the measurement target as “present” to the next signal output maintenance means, and in other cases outputs a signal that detects the measurement target as “absent” to the next signal output maintenance means, The signal output maintaining means inputting the signal output from the first logic operating means is connected to the next logic operating means so as to maintain the output of the input signal,
A measuring device characterized in that a plurality of other logic operation means and signal output maintaining means are connected in the same way in sequence, and the final signal output maintaining means comprises correction signal output means for outputting a measurement signal. 2 When the object to be measured passes, it scans one-dimensionally in the direction of movement and intersecting the object to be measured, detects the presence or absence of the object at the scanning point of the object, digitizes it, and sends a signal. A measuring means to be measured, a signal output from the measuring means is inputted, and an address signal indicating the applicable position of the object to be measured in the one-dimensional scanning direction of the input signal is inputted, and the signal from the measuring means is inputted to the measurement object. In the case of a digitized signal that is detected as "present", the measurement target is sent to the specified output as "present".
Depending on the measurement target position of the measured object in the scanning direction that intersects the traveling direction of the measured object, the digitized signal that detects that the measured object is "present" is outputted as a predetermined signal. a signal generating means having a plurality of outputs which are outputted after increasing the number of outputs;
The signal output maintaining means inputs the same signal as one of the signals output by the signal generating means that detects the measurement target as "presence" or "absence", maintains the output to the logic operation means of 1, and outputs the signal of 1. One logic operation means which inputs the signal output from the maintenance means simultaneously inputs another output signal from the signal generation means, and if at least one of the signals is a signal that detects that the measurement target is "present", A signal that detects that the measurement target is "present" is output as a signal to the next signal output maintaining means, and in other cases, a signal that detects that the measurement target is "absent" is output as a signal to the next signal output maintaining means, The signal output maintaining means inputting the signal output from one logic operating means is connected to the next logic operating means so as to output and maintain the input signal, and the other plural logic operating means and signal output maintaining means are sequentially connected in the same manner. correction signal output means, which are connected to each other, and the final signal output maintenance means outputs the measurement signal to the storage means and the counting means; and storage means, which stores the signal of the width portion of the object to be measured outputted by the correction signal output means for each scan. and a counting means for comparing and counting the signal for the width portion of the object to be measured for each scan outputted by the correction signal output means and the correction signal for the width portion of the object to be measured for the previous scan stored in the storage means. A measuring device characterized by comprising:
JP61290660A 1986-12-05 1986-12-05 Measuring apparatus Granted JPS63142208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61290660A JPS63142208A (en) 1986-12-05 1986-12-05 Measuring apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61290660A JPS63142208A (en) 1986-12-05 1986-12-05 Measuring apparatus

Publications (2)

Publication Number Publication Date
JPS63142208A JPS63142208A (en) 1988-06-14
JPH052243B2 true JPH052243B2 (en) 1993-01-12

Family

ID=17758843

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61290660A Granted JPS63142208A (en) 1986-12-05 1986-12-05 Measuring apparatus

Country Status (1)

Country Link
JP (1) JPS63142208A (en)

Also Published As

Publication number Publication date
JPS63142208A (en) 1988-06-14

Similar Documents

Publication Publication Date Title
EP0483966B1 (en) Method of and apparatus for inspecting a transparent or translucent article such as a bottle
JP3758266B2 (en) Code reader
EP0311990B1 (en) Method and apparatus for detecting disparity of cyclic length of printed patterns
JPH052243B2 (en)
JPH02125375A (en) Position detecting device
JPS63222244A (en) Surface inspector
JPH0225227B2 (en)
JPS60194868A (en) Detecting method of original edge coordinate
US4598999A (en) Area detection method of an original for use in copying machines
JPS6250972A (en) Pattern discriminating device
JP2543900Y2 (en) Work posture determination device
JPH01131968A (en) Stamp detector
JP2697923B2 (en) Image coding device
JPS6071906A (en) Method for measuring circumferential length of binary coded image
JPH0514314B2 (en)
JPS6136881A (en) Pattern discriminator
JPS5994181A (en) Pattern recognizing device
JPH0230070B2 (en) KEISUKI
JPS62299704A (en) Inspecting instrument for package parts
JPS6223915B2 (en)
JPS61279990A (en) Pattern normalizing system
JPS6132714B2 (en)
JPH0229964B2 (en) SUNHOSOKUTEISOCHI
JPH0363876B2 (en)
JPS61143883A (en) Pattern defect detection method