JPH04213007A - Method and apparatus for measuring shape of circular body - Google Patents

Method and apparatus for measuring shape of circular body

Info

Publication number
JPH04213007A
JPH04213007A JP40867890A JP40867890A JPH04213007A JP H04213007 A JPH04213007 A JP H04213007A JP 40867890 A JP40867890 A JP 40867890A JP 40867890 A JP40867890 A JP 40867890A JP H04213007 A JPH04213007 A JP H04213007A
Authority
JP
Japan
Prior art keywords
address
circular object
shape
circular
sets
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.)
Pending
Application number
JP40867890A
Other languages
Japanese (ja)
Inventor
Nobuyuki Niitsuma
信行 新妻
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Publication of JPH04213007A publication Critical patent/JPH04213007A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Testing Of Coins (AREA)

Abstract

PURPOSE:To make it possible to perform more positive and highly accurate measurement in comparison with conventional measurements and to improve the selecting ability for coins and the like by constituting a new means for measuring the shape of a circular body. CONSTITUTION:The picture-element addresses of two critical parts of a shade formed on a light receiving part 5 of an image sensor with the shielding of a coin are detected with a shift register H 7a, a NAND circuit 8s, a shift register L 7b, a NAND circuit 8b, a counter 9 and a latch circuit 10. The diameter of the coin is judged based on the maximum value of the difference in picture- element addresses. The outer diameter and the presence or absence of the hole or its inner diameter are judged based on the difference in plural sets of the picture-element addresses. The roundness is judged based on the time change in difference of the picture-element addresses. These judgments are performed with a CPU 14, respectively.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、硬貨等の円形物体の径
その他の形状を検出してその円形物体の選別を行うため
の方法及びこの方法を用いた装置に関し、特に、光を円
形物体に照射した際の光の遮断状態を検知する光電変換
手段の出力信号を信号処理することにより円形物体の形
状を計測する技術に関する。
[Field of Industrial Application] The present invention relates to a method for detecting the diameter and other shapes of circular objects such as coins and sorting the circular objects, and an apparatus using this method. The present invention relates to a technique for measuring the shape of a circular object by signal processing an output signal of a photoelectric conversion means that detects a state of blocking light when irradiating the object.

【0002】0002

【従来の技術】従来、光学的に円形物体の外径を測定す
る方法としては、円形物体の通過方向に対して直角の方
向に配列されたフォトダイオード等からなる多数の画素
列を有するイメージセンサを設置し、円形物体の上から
画素列上に向けて光を照射し、円形物体によって光が遮
られることによって、上記画素列の上に形成された影の
部分の画素数を検出し、この総画素数から円径物体の外
径を測定していた。
2. Description of the Related Art Conventionally, as a method for optically measuring the outer diameter of a circular object, an image sensor having a large number of pixel arrays including photodiodes arranged in a direction perpendicular to the direction in which the circular object passes is used. is installed, irradiates light from above a circular object onto the pixel row, detects the number of pixels in the shadow part formed above the pixel row when the light is blocked by the circular object, and detects this number of pixels. The outer diameter of a circular object was measured from the total number of pixels.

【0003】0003

【発明が解決しようとする課題】しかしながら、上記従
来の外径測定方法においては、円形物体が光を遮る部分
の総画素数によって円形物体の外径を求めるものである
ため、円径物体に穴が形成されている場合には、この穴
により総画素数が減少して正確な外径測定が不可能とな
るという問題点があった。
[Problems to be Solved by the Invention] However, in the conventional outer diameter measuring method described above, the outer diameter of a circular object is determined based on the total number of pixels in the part where the circular object blocks light. When a hole is formed, there is a problem in that the total number of pixels is reduced due to the hole, making accurate outer diameter measurement impossible.

【0004】これに加えて、円形物体の穴の有無及びそ
の内径を検出することも不可能であり、円形物体の外周
縁の欠け、歪み、凹凸を探知して不良品を選別すること
は到底できなかった。したがって、円形物体の種類を判
別することも困難であり、細かな異常を発見して選別す
ることができないという問題点もあった。
In addition, it is impossible to detect the presence or absence of a hole in a circular object and its inner diameter, and it is impossible to detect defects, distortions, and irregularities on the outer edge of a circular object to select defective products. could not. Therefore, it is difficult to distinguish the type of circular object, and there are also problems in that it is impossible to detect and sort out small abnormalities.

【0005】そこで、本発明は、上記問題点を解決する
ものであり、その課題は、円径物体の遮光によって形成
される影の領域にある画素数ではなく、その領域の境界
部分の画素位置を検出することにより、穴の有無に拘わ
らず円径物体の正確な外径測定を可能とし、更に、円径
物体の穴の有無、その内径及び真円度を検出できる方法
及び装置を提供することにある。
[0005] Therefore, the present invention solves the above-mentioned problems, and the problem is not to determine the number of pixels in the shadow area formed by the light shielding of the circular object, but to determine the pixel position at the boundary of the area. To provide a method and device that enables accurate outer diameter measurement of a circular object regardless of the presence or absence of a hole, and further detects the presence or absence of a hole in a circular object, its inner diameter, and roundness. There is a particular thing.

【0006】[0006]

【課題を解決するための手段】上記問題点を解決するた
めに、本発明が講じた手段として、まず、形状測定方法
としては、円形物体の通過する通路上に光を照射し、こ
の通路に対して直交する所定方向に配列された複数の画
素に光が照射されたか否かを光電変換手段により電気信
号として検出し、その所定方向に沿って光の非遮蔽部か
ら遮蔽部に転ずる第1の臨界領域に存在する画素の第1
のアドレスと、同所定方向に沿って光の遮蔽部から非遮
蔽部に転ずる第2の臨界領域に存在する画素の第2のア
ドレスと、を検出し、円形物体の通過に従い変動する第
1のアドレスと第2のアドレスの差の最大値に基づいて
円形物体の径を算出するものである。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention adopts a method of measuring the shape. A photoelectric conversion means detects as an electrical signal whether or not light is irradiated to a plurality of pixels arranged in a predetermined direction orthogonal to the first pixel, and the light changes from a non-shielding part to a shielding part along the predetermined direction. The first pixel existing in the critical region of
and a second address of a pixel existing in a second critical region where light changes from a light shielding area to a non-shielding area along the same predetermined direction, and detecting the first address that changes as the circular object passes. The diameter of the circular object is calculated based on the maximum value of the difference between the address and the second address.

【0007】この場合に、複数組の第1のアドレス及び
第2のアドレスが検出されるか否かに基づいて円形物体
に穴が存在するか否かを検知するとともに、複数組の第
1のアドレス及び第2のアドレスが検出された場合には
、それらの複数組のうち最も離間した第1のアドレスと
第2のアドレスの差の最大値に基づいて円形物体の外径
を測定するものである。
In this case, it is detected whether or not a hole exists in the circular object based on whether or not a plurality of sets of first addresses and second addresses are detected; When an address and a second address are detected, the outer diameter of the circular object is measured based on the maximum value of the difference between the first address and the second address that are the most distant among the multiple sets. be.

【0008】また、複数組の第1のアドレス及び第2の
アドレスを検出し、これらの複数組のうち最も離隔した
第1のアドレスと第2のアドレスから円形物体の外径を
算出し、その他の1又は複数組の第1のアドレスと第2
のアドレスの差に基づいて円形物体の内径を算出するも
のである。
[0008] Furthermore, a plurality of sets of first addresses and second addresses are detected, and the outer diameter of the circular object is calculated from the first address and second address that are the most distant among these sets. one or more sets of first address and second address of
The inner diameter of a circular object is calculated based on the difference in addresses.

【0009】ここで、円形物体の通過に伴って変化する
複数の第1のアドレスと第2のアドレスの差を真円弦長
の基準値と比較して円形物体の真円度を判定する場合が
ある。この場合、真円弦長の基準値は、算出された円形
物体の径yと直径からの距離xとを用いて、関数F(x
)=y・sin(cos−1(2x/y))を算出して
得られた値とすることが望ましい。
[0009] Here, when the roundness of a circular object is determined by comparing the difference between a plurality of first addresses and second addresses, which change as the circular object passes, with a reference value of the perfect circular chord length. There is. In this case, the standard value of the perfect circular chord length is determined by the function F(x
)=y·sin(cos-1(2x/y)).

【0010】上記各手段においては、円形物体が硬貨で
ある場合がある。
[0010] In each of the above means, the circular object may be a coin.

【0011】一方、円径物体の形状測定装置としては、
円形物体の通過する通路上に光電変換手段を有し、この
光電変換手段には、円形物体の通過方向に対して直交す
る所定方向に光を検出すべき複数の画素が配列され、そ
の所定方向に向かって非遮蔽部から遮蔽部に転ずる第1
の臨界領域に位置する画素の第1のアドレスと、同所定
方向に向かって遮蔽部から非遮蔽部に転ずる第2の臨界
領域に位置する画素の第2のアドレスと、を検出すべき
アドレス検出手段と、第1のアドレスと第2のアドレス
の差の最大値に基づいて円形物体の径を算出すべき演算
手段と、を設けるものである。
On the other hand, as a shape measuring device for a circular object,
A photoelectric conversion means is provided on the path through which the circular object passes, and this photoelectric conversion means has a plurality of pixels arranged to detect light in a predetermined direction orthogonal to the direction of passage of the circular object, The first part changes from the non-shielded part to the shielded part towards the
Address detection for detecting a first address of a pixel located in a critical region of and a second address of a pixel located in a second critical region that changes from a shielding portion to a non-shielding portion in the same predetermined direction. and calculation means for calculating the diameter of the circular object based on the maximum value of the difference between the first address and the second address.

【0012】この場合に、アドレス検出手段には、複数
組の第1のアドレス及び第2のアドレスを検出するか否
かに基づいて円形物体に穴が存在するか否かを検知させ
るとともに、演算手段には、複数組の第1のアドレス及
び第2のアドレスが存在する場合には、最も離間した第
1のアドレスと第2のアドレスの差に基づいて円形物体
の外径を算出させるものである。
In this case, the address detection means detects whether or not a hole exists in the circular object based on whether or not a plurality of sets of first and second addresses are detected, and also performs a calculation. In the case where there are a plurality of sets of first addresses and second addresses, the means calculates the outer diameter of the circular object based on the difference between the first address and the second address that are the most distant from each other. be.

【0013】また、アドレス検出手段には、複数組の第
1のアドレス及び第2のアドレスを検出させて、演算手
段には、最も離隔した第1のアドレスと第2のアドレス
の差に基づいて円形物体の外径を算出するとともに、そ
の他の1又は複数組の第1のアドレスと第2のアドレス
の差に基づいて円形物体に形成された穴の内径を算出さ
せるものである。
Further, the address detecting means detects a plurality of sets of first addresses and second addresses, and the calculating means detects a plurality of sets based on the difference between the most distant first address and second address. In addition to calculating the outer diameter of the circular object, the inner diameter of the hole formed in the circular object is calculated based on the difference between the first address and the second address of one or more other sets.

【0014】ここで、演算手段に、円形物体の通過に伴
って変化する第1のアドレスと第2のアドレスの差を真
円弦長の基準値と比較し、円形物体の真円度を判定させ
る場合があり、この場合、演算手段により、算出された
前記円形物体の径yと直径からの距離xを用いて、関数
F(x)=y・sin(cos−1(2x/y))を算
出し、このF(x)の値を真円弦長の基準値として用い
ることが望ましい。
[0014] Here, the calculation means compares the difference between the first address and the second address, which changes as the circular object passes, with a reference value of the perfect circular chord length, and determines the circularity of the circular object. In this case, the calculation means uses the calculated diameter y of the circular object and the distance x from the diameter to calculate the function F(x)=y・sin(cos−1(2x/y)) It is desirable to calculate the value of F(x) and use this value as a reference value for the perfect circular chord length.

【0015】上記各装置においても、円形物体が硬貨で
ある場合がある。
[0015] In each of the above devices, the circular object may also be a coin.

【0016】[0016]

【作用】かかる手段によれば、円形物体が通過すると光
電変換手段の複数の画素上には円形物体の影が落ちるの
で、円形物体に覆われない部分には光が到達し、影に覆
われた部分には光が到達しない。したがって、光電変換
手段上には、その画素列の一方向に沿って光の到達する
部分(非遮蔽部)から光の到達しない部分(遮蔽部)に
転ずる臨界領域と、逆に光の到達しない部分(遮蔽部)
から光の到達する部分(非遮蔽部)に転ずる臨界領域と
が形成される。これらの両臨界領域に存在する画素の第
1及び第2のアドレスを検出してこの両者の差を算出し
、円形物体の通過に伴って変化する差の最大値をもって
、円形物体の外径を求めることができる。
[Operation] According to this means, when a circular object passes, the shadow of the circular object falls on the plurality of pixels of the photoelectric conversion means, so that the light reaches the parts not covered by the circular object, and the parts covered by the shadow are Light does not reach those parts. Therefore, on the photoelectric conversion means, along one direction of the pixel column, there is a critical area where the area where light reaches (non-shielding area) changes to an area where light does not reach (shielding area), and vice versa. Part (shielding part)
A critical region is formed in which the light reaches a portion (non-shielding portion). Detect the first and second addresses of pixels existing in both of these critical regions, calculate the difference between them, and calculate the outer diameter of the circular object using the maximum value of the difference that changes as the circular object passes. You can ask for it.

【0017】この方法及びこの方法を利用した測定装置
によれば、影の部分にある総画素数に基づいて径を検出
する従来の方法とは異なり、円形物体に穴が形成されて
いる場合でも、何ら補助的な手段を設けることなく、そ
の穴の存在に全く影響されずに正確に外径を求めること
ができる。
According to this method and the measuring device using this method, unlike the conventional method of detecting the diameter based on the total number of pixels in the shaded area, even when a hole is formed in a circular object, , the outer diameter can be accurately determined without providing any auxiliary means and without being affected by the presence of the hole.

【0018】また、円形物体に1又は複数の穴が形成さ
れている場合には、複数組の第1及び第2のアドレスが
存在することとなるが、このことを利用して、複数組の
第1及び第2のアドレスの存否に基づいて、円形物体に
穴が存在するか否かを検知することができる。この場合
には、最も離間している第1のアドレスと第2のアドレ
スとの差に基づいて外径を知ることができるが、この外
径の検出は、上記他の第1及び第2のアドレスとは無関
係に算出されるものであり、円形物体に穴が存在するか
否かには全く影響されず全く独立に、外径を精度良く求
めることができる。
[0018] Furthermore, if one or more holes are formed in a circular object, there will be multiple sets of first and second addresses. Based on the presence or absence of the first and second addresses, it is possible to detect whether a hole exists in the circular object. In this case, the outer diameter can be determined based on the difference between the first address and the second address, which are the farthest apart, but the outer diameter can be detected based on the other first and second addresses. It is calculated independently of the address, and the outer diameter can be determined with high accuracy completely independently of whether or not there is a hole in the circular object.

【0019】更に、複数組の第1及び第2のアドレスが
存在する場合には、最も離間した第1及び第2のアドレ
スの組以外の組の第1のアドレスと第2のアドレスの差
に基づいて、円形物体に形成された穴の内径を検出する
ことができる。
Furthermore, when there are multiple sets of first and second addresses, the difference between the first and second addresses of the sets other than the set of first and second addresses that are the most distant from each other is Based on this, the inner diameter of a hole formed in a circular object can be detected.

【0020】上記の各手段においては、第1のアドレス
と第2のアドレスとを区別して検出するので、両者の差
に基づいて算出される外径及び内径の測定ミスを防止す
ることができ、測定の確実性及び精度の向上を図ること
ができる。
[0020] In each of the above means, since the first address and the second address are detected separately, it is possible to prevent errors in measuring the outer diameter and inner diameter calculated based on the difference between the two addresses. It is possible to improve the reliability and accuracy of measurement.

【0021】次に、円形物体の通過に伴って変動する第
1のアドレスと第2のアドレスとの差を真円弦長の基準
値と比較する場合には、その比較する両者の差が一定値
を越えた場合、円形物体の真円に対する形状のずれを求
めることができ、外周縁に凹凸、欠け、傷、歪みが生じ
ていることを知ることができる。したがって、これらの
外周縁形状の全体像を把握することができ、細かな異常
を発見することが可能となる。
[0021] Next, when comparing the difference between the first address and the second address, which fluctuates as a circular object passes, with the reference value of the perfect circular chord length, the difference between the two addresses to be compared is constant. If the value exceeds the value, it is possible to determine the deviation of the shape of the circular object from a perfect circle, and it is possible to know that irregularities, chips, scratches, or distortions have occurred on the outer periphery. Therefore, it is possible to grasp the overall shape of these outer peripheral edges, and it is possible to discover minute abnormalities.

【0022】その真円弦長の基準値として最初の手段に
よって求めた外径値から求めたF(x)を用いる場合に
は、予め形状を知るための基準値を設定しておく必要が
なく、任意の径をもつ円形物体に対応できる。
[0022] When using F(x) obtained from the outer diameter value obtained by the first method as the reference value for the perfect circular chord length, there is no need to set a reference value in advance for knowing the shape. , it can handle circular objects with arbitrary diameters.

【0023】以上の各手段を硬貨の選別方法又は選別装
置として用いる場合には、穴の形成されている硬貨の選
別のための別個の手段を講じる必要がなく、この穴或い
は悪戯によって開けられた穴の存否、その内径及び外周
縁の凹凸、傷、欠け、歪み等の形状を精度よく検知する
ことができ、細かな異常も検出可能となり、従来よりも
硬貨の選別能力が大幅に高められる。
When each of the above means is used as a coin sorting method or a sorting device, there is no need to provide a separate means for sorting out coins with holes formed therein, and it is not necessary to provide a separate means for sorting out coins with holes formed therein. It is possible to accurately detect the presence or absence of holes, irregularities on the inner diameter and outer periphery, scratches, chips, distortions, etc., and even small abnormalities can be detected, greatly increasing the coin sorting ability than before.

【0024】[0024]

【実施例】次に、本発明に係る円形物体の形状測定方法
及びこの方法を用いた形状測定装置の実施例を添付図面
により説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of a method for measuring the shape of a circular object and a shape measuring device using this method according to the present invention will be described with reference to the accompanying drawings.

【0025】 (第1実施例) 図1は、本発明に係る実施例における第1実施例の装置
の全体構成を示したブロック図である。この第1実施例
は硬貨の外径、内径等を検出するためのものである。検
出部1には、円形物体2の通路の上方に設置されたLE
D3と、イメージセンサ駆動回路4とが設けられており
、イメージセンサ駆動回路4には、通路方向に対して直
角方向に配列された複数の画素5aを備えた受光部5が
通路の下方に設置されている。円形物体は、図3に示す
ように、通路上を搬送ベルト40により移動するように
なっており、円形物体が受光部5にさしかかると、搬送
ベルト40のみによって形成されていた影が円形物体に
より拡大し、その直径部分が通過する際に、受光部5に
最大幅の影が形成される。
(First Embodiment) FIG. 1 is a block diagram showing the overall configuration of a device according to a first embodiment of the present invention. This first embodiment is for detecting the outer diameter, inner diameter, etc. of a coin. The detection unit 1 includes an LE installed above the path of the circular object 2.
D3 and an image sensor drive circuit 4 are provided, and the image sensor drive circuit 4 includes a light receiving section 5 provided with a plurality of pixels 5a arranged in a direction perpendicular to the path direction. has been done. As shown in FIG. 3, the circular object is moved on a path by a conveyor belt 40, and when the circular object approaches the light receiving section 5, the shadow formed only by the conveyor belt 40 is replaced by the circular object. When it expands and its diameter portion passes through, a shadow with the maximum width is formed on the light receiving section 5.

【0026】このイメージセンサ駆動回路4からは、受
光部5に配列された各画素5aを走査するクロック信号
VDCLKとともに、このクロック信号VDCLKに基
づいて走査されたシリアルデータがビデオ信号VDSと
して出力される。このビデオ信号VDSがシフトレジス
タH7aとシフトレジスタL7bとに入力される一方で
、クロック信号VDCLKが遅延回路6に入力されて遅
延クロックCLKCが形成され、この遅延クロックCL
KCもシフトレジスタH7aとシフトレジスタL7bに
入力されている。これらのシフトレジスタH7aとシフ
トレジスタL7bの出力信号は、2つのNAND回路8
a及び8bに入力され、立ち上がりエッジ信号UFLG
及び立ち下がりエッジ信号DFLGとなってラッチ回路
10に導入される。このラッチ回路10は、遅延クロッ
クCLKCを入力して画素アドレスを特定すべきカウン
タ回路9の信号を受けて立ち上がりエッジ信号UFLG
及び立ち下がりエッジ信号DFLGに対応するアドレス
信号を入力ポート11に転送し、このアドレス信号は、
データバス12を介してCPU14に送られて演算処理
の対象となる。この演算処理されたデータはRAM13
に送られて一時的に記憶されるとともに、CPU14に
再度送出されて演算処理される。
The image sensor driving circuit 4 outputs a clock signal VDCLK for scanning each pixel 5a arranged in the light receiving section 5, and serial data scanned based on this clock signal VDCLK as a video signal VDS. . This video signal VDS is input to the shift register H7a and shift register L7b, while the clock signal VDCLK is input to the delay circuit 6 to form a delayed clock CLKC.
KC is also input to shift register H7a and shift register L7b. The output signals of these shift registers H7a and L7b are sent to two NAND circuits 8.
a and 8b, and the rising edge signal UFLG
and is introduced into the latch circuit 10 as a falling edge signal DFLG. This latch circuit 10 inputs a delayed clock CLKC and receives a signal from a counter circuit 9 to specify a pixel address, and receives a rising edge signal UFLG.
and the address signal corresponding to the falling edge signal DFLG are transferred to the input port 11, and this address signal is
The data is sent to the CPU 14 via the data bus 12 and is subjected to arithmetic processing. This arithmetic processed data is stored in RAM13.
The data is sent to the CPU 14 for temporary storage, and is sent again to the CPU 14 for arithmetic processing.

【0027】図2には、円形物体2が有効総画素数25
92をもつ受光部5上の画素アドレス0112から画素
アドレス2521までの範囲に影を形成している状態に
おいて、上記の各構成部分における信号波形を示す。図
2(a)に示すスキャン開始信号SSTARTがイメー
ジセンサ回路4に入力されると、図2(b)に示すビデ
オ信号転送クロック信号VDCLKに同期して画素5a
が配列順に走査され、図2(c)に示すように、立ち上
がりエッジを画素アドレス0112に対応する時点に、
立ち下がりエッジを画素アドレス2521に対応する時
点に、それぞれ備えたビデオ信号VDSが出力される。 このビデオ信号VDS中にシリアルデータとして包含さ
れた各画素5aの受光状態は、シフトレジスタH7a,
シフトレジスタL7bに入力され、遅延クロックCLK
Cに同期してパラレルデータとして出力されるが、立ち
上がりエッジと立ち下がりエッジがそれぞれ図2(e)
に示す状態となるタイミングで、NAND回路8aから
、図2(f)に示す立ち上がりエッジフラグUFLGが
出力され、NAND回路8aからは、図2(g)に示す
立ち下がりエッジフラグDFLGが出力される。この立
ち上がりエッジフラグUFLGと立ち下がりエッジフラ
グDFLGのパルスタイミングで、遅延クロックCLK
Cが入力されて画素アドレスを表示するカウンタ回路9
の出力信号をラッチし、入力ポート11に送出する。 この信号は、前記の画素アドレス0112及び2521
をデータ内容とするものであり、データバス12を通し
てCPU14に送られる。
In FIG. 2, the circular object 2 has a total effective number of pixels of 25.
The signal waveforms at each of the above components are shown in a state in which a shadow is formed in the range from pixel address 0112 to pixel address 2521 on the light receiving section 5 having 92. When the scan start signal SSTART shown in FIG. 2(a) is input to the image sensor circuit 4, the pixel 5a is synchronized with the video signal transfer clock signal VDCLK shown in FIG. 2(b).
are scanned in the order of arrangement, and as shown in FIG. 2(c), the rising edge is set at the point corresponding to pixel address 0112
At the time when the falling edge corresponds to the pixel address 2521, the respective video signals VDS are output. The light receiving state of each pixel 5a included as serial data in this video signal VDS is determined by the shift register H7a,
Input to shift register L7b and delay clock CLK
It is output as parallel data in synchronization with C, but the rising edge and falling edge are respectively shown in Figure 2(e).
At the timing when the state shown in is reached, the rising edge flag UFLG shown in FIG. 2(f) is outputted from the NAND circuit 8a, and the falling edge flag DFLG shown in FIG. 2(g) is outputted from the NAND circuit 8a. . At the pulse timing of this rising edge flag UFLG and falling edge flag DFLG, the delay clock CLK
Counter circuit 9 that receives C and displays the pixel address
The output signal is latched and sent to the input port 11. This signal corresponds to the pixel addresses 0112 and 2521 mentioned above.
The data content is sent to the CPU 14 through the data bus 12.

【0028】ところで、例えば、図3に示すように通過
経路の中央に搬送ベルト40が配置されている場合には
、硬貨の通過しない時点では搬送ベルト40の影による
一定周期のエッジ検出申告信号がCPU14に送信され
、言わば、待機状態となっている。ここで、硬貨が受光
部5上にさしかかると、立ち上がりエッジフラグUFL
Gと立ち下がりエッジフラグDFLGのパルスのタイミ
ングが変わるので、エッジ検出申告信号のパルスタイミ
ングも変化し、この変化を契機に、CPU14は入力ポ
ート11を介して導入されるデータに基づいて外径測定
を開始する。即ち、そのデータから得られる2つの画素
アドレスの差(2521−0112=2409)が一時
的な外径値として計算され、この外径値とともにRAM
13に送られて記憶される。この外径値は、円形物体の
移動に伴って、順次より大きな外径値と置き換えられる
か、若しくは順番に蓄積されて、最終的に円形物体が通
過した時点でそれらのうちの最大値が円形物体の真の外
径値として記憶される。
By the way, for example, when the conveyor belt 40 is arranged at the center of the passage route as shown in FIG. It is sent to the CPU 14 and is in a standby state, so to speak. Here, when the coin approaches the light receiving section 5, the rising edge flag UFL
Since the pulse timing of G and the falling edge flag DFLG changes, the pulse timing of the edge detection report signal also changes, and this change triggers the CPU 14 to measure the outer diameter based on the data introduced via the input port 11. Start. That is, the difference between the two pixel addresses (2521-0112=2409) obtained from the data is calculated as a temporary outer diameter value, and the outer diameter value is stored in the RAM.
13 and stored. As the circular object moves, this outer diameter value is replaced with a larger outer diameter value, or is accumulated in order, and finally when the circular object passes, the maximum value among them is Stored as the true outer diameter value of the object.

【0029】なお、図1中のOR回路15は、図2(h
)に示すエッジ検出申告信号EDGEをラッチ回路10
及びCPU14に出力し、ラッチタイミングをとる。ま
た、NAND回路16は、総画素数のカウント終了時を
CPU14に伝達するとともに、カウンタ回路9の出力
をクリアするためのものである。
Note that the OR circuit 15 in FIG.
) The latch circuit 10 receives the edge detection report signal EDGE shown in
and is output to the CPU 14 to determine latch timing. Further, the NAND circuit 16 is used to transmit the time when counting the total number of pixels is finished to the CPU 14, and to clear the output of the counter circuit 9.

【0030】図4に示すように、穴41が形成された円
形物体2′をも計測する場合には、予め搬送ベルト40
を通路の中央部から外れた位置に設置しておくことによ
り、受光部5上に穴41に基づく非遮蔽部が形成され、
この非遮蔽部により、ビデオ信号VDSにもう1組の立
ち上がりエッジ及び立ち下がりエッジが発生するので、
検出される画素アドレスは、図5に示すように、B,C
,D,Eの合計4つとなる。この場合には、画素アドレ
スの最小値Bと最大値Eの差に基づいて円形物体の外径
を算出し、中間の画素アドレスCとDの差からは、円形
物体の内径を算出することができる。
As shown in FIG. 4, when measuring a circular object 2' in which a hole 41 is formed, the conveyor belt 40 is
By installing the hole 41 at a position away from the center of the passage, a non-shielding part based on the hole 41 is formed on the light receiving part 5,
This unshielded portion generates another set of rising and falling edges in the video signal VDS.
The detected pixel addresses are B, C, as shown in FIG.
, D, and E, making a total of four. In this case, the outer diameter of the circular object can be calculated based on the difference between the minimum value B and the maximum value E of the pixel addresses, and the inner diameter of the circular object can be calculated from the difference between the intermediate pixel addresses C and D. can.

【0031】上記の搬送ベルト40を受光部5上にかか
らないように配置すれば、円形物体に形成された穴の位
置に依らず、常に穴の存否及びその内径を測定すること
ができる。
If the conveyor belt 40 is arranged so as not to overlap the light receiving section 5, the presence or absence of a hole and its inner diameter can always be measured regardless of the position of the hole formed in the circular object.

【0032】本実施例によれば、円形物体の外径は常に
最も離間した画素アドレスの差によって算出されるので
、円形物体に穴が形成されている場合でも、その穴の存
在に全く影響されずに、円形物体の外径を測定すること
ができる。また、ビデオ信号VDSの立ち上がりエッジ
と立ち下がりエッジとがそれぞれ別個に区別して検出さ
れることから、外径算出のエラーを防止することができ
、従来よりも確実に外径測定を行うことができる。
According to this embodiment, the outer diameter of a circular object is always calculated based on the difference between the farthest pixel addresses, so even if a hole is formed in the circular object, it is not affected by the existence of the hole. It is possible to measure the outer diameter of a circular object without having to do so. Additionally, since the rising edge and falling edge of the video signal VDS are detected separately, errors in outer diameter calculation can be prevented, and outer diameter measurement can be performed more reliably than before. .

【0033】また、円形物体に穴が形成されている場合
には外径に対応する1組の画素アドレスの他に、その1
組の画素アドレスの中間に1又は複数組の画素アドレス
が検出されるので、穴の存否を容易に知ることができ、
更に、その1又は複数組の画素アドレスから、1又は複
数の穴の内径を算出することができる。
Furthermore, when a hole is formed in a circular object, in addition to one set of pixel addresses corresponding to the outer diameter, one of the pixel addresses
Since one or more sets of pixel addresses are detected between the sets of pixel addresses, it is easy to know whether there is a hole or not.
Furthermore, the inner diameter of one or more holes can be calculated from the one or more sets of pixel addresses.

【0034】これらの穴の内径も、別個に取り出された
ビデオ信号VDSの立ち下がりエッジと立ち上がりエッ
ジに基づいて得られることから、他の組の画素アドレス
との誤認混同を回避し、内径算出エラーを防止すること
ができる。
Since the inner diameters of these holes are also obtained based on the falling edges and rising edges of the video signal VDS which are taken out separately, it is possible to avoid misidentification and confusion with other sets of pixel addresses, and eliminate inner diameter calculation errors. can be prevented.

【0035】検出部1の構造に関しては、上記実施例に
よるものの他に、図6に示すような等倍レンズアレイ5
0を用いたものとすることもできる。
Regarding the structure of the detecting section 1, in addition to the structure according to the above embodiment, an equal-magnification lens array 5 as shown in FIG.
It is also possible to use 0.

【0036】この実施例を硬貨選別方法又は選別装置と
して用いる場合には、硬貨に穴があるか否かに拘わらず
、同一の手段で外径及び穴の有無もしくは内径を求める
ことができるので、硬貨選別の確実性及び対応性の向上
を図ることができる。更に、この場合には、硬貨に悪戯
による穴が形成されている等の異常をも検出することが
できる。この硬貨選別においては、本実施例に材質セン
サ等の他の選別手段を組合せて使用することができるこ
とは勿論である。
When this embodiment is used as a coin sorting method or a sorting device, regardless of whether a coin has a hole or not, the outer diameter and the presence or absence of a hole or inner diameter can be determined by the same means. It is possible to improve the reliability and responsiveness of coin sorting. Furthermore, in this case, it is also possible to detect abnormalities such as holes formed in the coin due to mischief. In this coin sorting, it is of course possible to use this embodiment in combination with other sorting means such as a material sensor.

【0037】 (第2実施例) 次に、本発明に係る第2実施例を説明する。この第2実
施例は、硬貨等の外周縁の真円度を判定するものであり
、装置全体の構成は、第1実施例と同様に図1に示すも
のと同一である。この実施例では、円形物体の通過に伴
って順次得られていく画素アドレスの差の全て又は一部
をRAM13に収納しておき、画素アドレスの差の最大
値が得られると、これを通過物体の外径値yとして確定
する。この外径値yの得られた時点を基準として、その
前後で対称的な時間間隔を複数設定し、各時点で得られ
ていた画素アドレスの差を取り出す。この様子を表1に
示す。
(Second Example) Next, a second example according to the present invention will be described. This second embodiment is for determining the roundness of the outer periphery of a coin, etc., and the overall configuration of the device is the same as that shown in FIG. 1, similar to the first embodiment. In this embodiment, all or part of the differences in pixel addresses that are sequentially obtained as the circular object passes are stored in the RAM 13, and when the maximum value of the pixel address differences is obtained, this is stored in the RAM 13. is determined as the outer diameter value y. Using the time point at which the outer diameter value y is obtained as a reference, a plurality of symmetrical time intervals are set before and after the time point, and the difference between the pixel addresses obtained at each time point is extracted. This situation is shown in Table 1.

【0038】[0038]

【表1】[Table 1]

【0039】ここで、距離xとは、画素アドレスの差が
得られた時点と硬貨の搬送速度とから算出したものであ
り、外径値yの得られた時点における硬貨の位置からの
移動量を示すものである。
[0039] Here, the distance x is calculated from the time point when the pixel address difference is obtained and the coin conveyance speed, and is the amount of movement of the coin from the position at the time point when the outer diameter value y is obtained. This shows that.

【0040】次に、上記外径値yを用いて、以下の式か
らF(x)の値を計算する。
Next, using the above outer diameter value y, the value of F(x) is calculated from the following equation.

【0041】 F(x)=y・sin(cos−1(2x/y))ここ
で、式中のxには、先に取り出した表1に示すデータの
距離xを代入する。この式でF(x)は、図7に示すよ
うに、直径yの真円において、この直径と平行で距離x
離れた弦の長さを表すものである。この結果、各距離x
の値に対して真円の弦長が算出され、以下の表2に示す
ようになる。
F(x)=y·sin(cos−1(2x/y)) Here, the distance x of the data shown in Table 1 taken earlier is substituted for x in the formula. In this formula, F(x) is, as shown in Figure 7, in a perfect circle with diameter y, parallel to this diameter and distance x
It represents the length of the strings apart. As a result, each distance x
The chord length of a perfect circle is calculated for the value of , and is shown in Table 2 below.

【0042】[0042]

【表2】[Table 2]

【0043】このようにして算出した真円の弦長と実際
に検出された画素アドレスの差とを比較することによっ
て、通過した硬貨形状の真円からのずれを判定すること
ができる。例えば、約26.5mmの外径値yを持つ5
百円硬貨を通過させた場合、この実施例では1画素が1
1μmの幅を持っているので、画素アドレスの差の最大
値が2409画素となるが、この値を基準として直径か
ら+/−5mm、+/−10mm離れた弦長を算出する
と、真円弦長F(x)は図8に示すようになる。これに
対して、同様の外径値yが検出される10角形、楕円、
及び一部外周に欠けと突起が形成された3種類の5百円
硬貨を通過させた場合には、図9(a)から(c)まで
に示す、検出される画素アドレスの差と、この画素アド
レスの差から前記真円弦長F(x)を減算した値S(x
)とが得られる。このS(x)の絶対値や分散に基づい
て硬貨の良不良を判定することができるので、従来より
も格段に細かな硬貨の選別が可能になるとともに、その
形状自体を精度良く検出し再現することができる。 この際の判定に使用される比較データの数は、特別に回
路構成、算出プログラムの変更をせずとも増加すること
が可能であり、その増加によって、例えば硬貨の外周縁
に形成された凹凸(ぎざぎざ)の有無をも判定すること
ができる。
By comparing the chord length of the perfect circle calculated in this way with the difference between the actually detected pixel addresses, it is possible to determine the deviation of the shape of the passed coin from the perfect circle. For example, 5 with an outer diameter value y of approximately 26.5 mm.
When passing a 100 yen coin, in this example, 1 pixel is 1
Since it has a width of 1 μm, the maximum value of the difference in pixel address is 2409 pixels, but if you calculate the chord length +/-5 mm and +/-10 mm away from the diameter using this value as a reference, it will be a perfect circular chord. The length F(x) is as shown in FIG. On the other hand, a decagon, an ellipse, which has a similar outer diameter value y,
When passing three types of 500 yen coins with chipping and protrusions formed on the outer periphery, the difference between detected pixel addresses and this The value S(x
) is obtained. Since it is possible to determine whether a coin is good or bad based on the absolute value and variance of this S(x), it is possible to sort coins much more precisely than before, and to detect and reproduce the shape itself with high precision. can do. The number of comparison data used for this determination can be increased without making any special changes to the circuit configuration or calculation program. It is also possible to determine the presence or absence of jagged edges.

【0044】本実施例では、検出した外径値を基に真円
度を判定するものであり、任意径の物体に対する形状把
握を可能としたものであるが、画素アドレスの差の最大
値によって得られた外径値を基に真円弦長を算出する代
わりに、予め1種若しくは複数種類の直径を有する真円
弦長のデータを保持しておき、これらのデータと画素ア
ドレスの差との比較を行うこともできる。また、この場
合、画素アドレスの差の最大値によって得られた外径値
によって複数種類の中から1つのデータを選択し、この
データとの比較をすることも可能である。
In this embodiment, the roundness is determined based on the detected outer diameter value, and it is possible to grasp the shape of an object with an arbitrary diameter. Instead of calculating the perfect circular chord length based on the obtained outer diameter value, data on the perfect circular chord length having one or more types of diameters is stored in advance, and the difference between these data and the pixel address is calculated. You can also compare. Further, in this case, it is also possible to select one data from among a plurality of types of data based on the outer diameter value obtained by the maximum value of the difference between the pixel addresses, and to compare with this data.

【0045】[0045]

【発明の効果】以上説明したように、本発明は、円形物
体の影を光電変換手段の画素列によって検出し、その影
の臨界部分の第1の画素アドレスと第2の画素アドレス
とを検出することにより、この1又は複数組の第1及び
第2のアドレスから円形物体の外径及びその穴の有無若
しくは内径その他の形状を求めることに特徴を有するの
で、以下の効果を奏する。
As explained above, the present invention detects the shadow of a circular object using the pixel array of the photoelectric conversion means, and detects the first pixel address and the second pixel address of the critical portion of the shadow. By doing so, the present invention is characterized in that the outer diameter of the circular object, the presence or absence of a hole, the inner diameter, and other shapes of the circular object are determined from the one or more sets of first and second addresses, so that the following effects are achieved.

【0046】■  円形物体の外径を穴の有無とは無関
係な方法で、第1のアドレスと第2のアドレスのみに基
づいて算出し、しかも、第1のアドレスと第2のアドレ
スとは区別して検出することが可能であるから、外径測
定の精度向上及び算出エラーの防止を図ることができる
■ Calculate the outer diameter of a circular object based only on the first address and the second address in a method that is independent of the presence or absence of a hole, and furthermore, the first address and the second address are distinct. Since it is possible to detect the diameter separately, it is possible to improve the accuracy of outer diameter measurement and prevent calculation errors.

【0047】■  別個の手段を設けることなく、円形
物体の穴の有無又はその内径を外径測定と同時平行して
求めることが可能であり、穴の内径を外径測定と同様に
高精度かつ確実に行うことができる。
■ It is possible to determine the presence or absence of a hole in a circular object and its inner diameter at the same time as measuring the outer diameter without providing a separate means. It can be done reliably.

【0048】■  順次測定した画素アドレスの差のデ
ータを真円弦長のデータと比較することにより、円形物
体の全体像の情報を得ることができ、外周縁における凹
凸、欠け、傷、変形等を細かく検知して、選別精度の向
上を図ることができる。ここで、真円弦長のデータを測
定した外径値を基に算出して比較する場合には、任意径
の物体に対して判定を行うことが可能となる。
[0048] By comparing data on differences in pixel addresses measured sequentially with data on perfect circular chord length, information on the entire image of a circular object can be obtained, and irregularities, chips, scratches, deformations, etc. on the outer periphery can be obtained. can be detected in detail to improve sorting accuracy. Here, when calculating and comparing the data of the perfect circular chord length based on the measured outer diameter value, it becomes possible to perform the determination for an object having an arbitrary diameter.

【0049】■  上記各手段を硬貨選別方法又は選別
装置として用いる場合には、例えば、悪戯による穴あき
、欠け、傷、変形その他細部の異常をも検出することが
可能であり、選別の確実性及び対応性の向上を図ること
ができる。
[0049] When each of the above means is used as a coin sorting method or a sorting device, for example, it is possible to detect holes, chips, scratches, deformations, and other small abnormalities caused by mischief, and the reliability of sorting can be improved. and improve responsiveness.

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

【図1】本発明に係る円形物体の径測定方法又は測定装
置の実施例の全体構成を示すブロック図である。
FIG. 1 is a block diagram showing the overall configuration of an embodiment of a method or apparatus for measuring the diameter of a circular object according to the present invention.

【図2】図1における各ブロックの動作を説明するため
の波形図である。
FIG. 2 is a waveform diagram for explaining the operation of each block in FIG. 1;

【図3】円形物体が通路を移動する状態を示す平面図で
ある。
FIG. 3 is a plan view showing a state in which a circular object moves along a passage.

【図4】穴の形成された円径物体が通路を移動する状態
を示す平面図である。
FIG. 4 is a plan view showing a state in which a circular object with a hole is moved through a passage.

【図5】検出データがRAM内に記憶された状態を示す
概念図である。
FIG. 5 is a conceptual diagram showing a state in which detection data is stored in a RAM.

【図6】検出部の別の例を示す斜視図である。FIG. 6 is a perspective view showing another example of the detection section.

【図7】測定された外径値から真円の弦長F(x)を算
出する式を説明するための説明図である。
FIG. 7 is an explanatory diagram for explaining a formula for calculating the chord length F(x) of a perfect circle from the measured outer diameter value.

【図8】5百円硬貨を通過させた場合に、その測定デー
タと比較すべき真円弦長F(x)の値を示す説明図であ
る。
FIG. 8 is an explanatory diagram showing the value of the perfect circular chord length F(x) to be compared with the measurement data when a 500 yen coin is passed.

【図9】(a)は10角形状を備えた5百円硬貨、(b
)は楕円形状を備えた5百円硬貨、(c)は一部外周に
欠け及び突起を備えた5百円硬貨について、それぞれ測
定された画素アドレスの差とこの画素アドレスの差から
真円弦長F(x)を減算した値S(x)とを示す説明図
である。
[Fig. 9] (a) is a 500 yen coin with a decagonal shape, (b)
) is a 500 yen coin with an elliptical shape, and (c) is a 500 yen coin with a chip and a protrusion on the outer periphery, and the perfect circular chord is calculated from the difference between the measured pixel addresses and the difference between this pixel address. It is an explanatory view showing a value S(x) obtained by subtracting the length F(x).

【符号の説明】[Explanation of symbols]

1  検出部 2  円形物体(硬貨) 3  LED 4  イメージセンサ駆動回路 5  受光部 6  画素 7a  シフトレジスタH 7b  シフトレジスタL 8a,8b  NAND回路 9  カウンタ回路 10  ラッチ回路 11  入力ポート 13  RAM 14  CPU。 1 Detection section 2. Circular object (coin) 3 LED 4 Image sensor drive circuit 5 Light receiving section 6 pixels 7a Shift register H 7b Shift register L 8a, 8b NAND circuit 9 Counter circuit 10 Latch circuit 11 Input port 13 RAM 14 CPU.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】  円形物体の通過する通路上に光を照射
し、該通路に対して直交する所定方向に配列された複数
の画素上に光が照射されたか否かを光電変換手段により
電気信号として検出し、前記所定方向に沿って光の非遮
蔽部から遮蔽部に転ずる第1の臨界領域に存在する前記
画素の第1のアドレスと、前記所定方向に沿って光の遮
蔽部から非遮蔽部に転ずる第2の臨界領域に存在する前
記画素の第2のアドレスと、を検出し、前記円形物体の
通過に従い変動する前記第1のアドレスと前記第2のア
ドレスの差の最大値に基づいて前記円形物体の径を算出
することを特徴とする円形物体の形状測定方法。
1. A path through which a circular object passes is irradiated with light, and a photoelectric conversion means converts an electric signal into an electric signal indicating whether or not the light is irradiated onto a plurality of pixels arranged in a predetermined direction orthogonal to the path. a first address of the pixel existing in a first critical region where light changes from a non-shielding part to a shielding part along the predetermined direction; a second address of the pixel existing in a second critical region that changes to A method for measuring the shape of a circular object, the method comprising: calculating the diameter of the circular object.
【請求項2】  請求項1に記載の円形物体の形状測定
方法において、複数組の前記第1のアドレス及び前記第
2のアドレスが検出されるか否かに基づいて前記円形物
体に穴が存在するか否かを検知するとともに、複数組の
前記第1のアドレス及び前記第2のアドレスが検出され
た場合には、それらの複数組のうち最も離間した前記第
1のアドレスと前記第2のアドレスの差の最大値に基づ
いて前記円形物体の外径を測定することを特徴とする円
径物体の形状測定方法。
2. The method for measuring the shape of a circular object according to claim 1, wherein the presence of a hole in the circular object is determined based on whether or not a plurality of sets of the first address and the second address are detected. If a plurality of sets of the first address and the second address are detected, the first address and the second address which are the most distant among the plurality of sets are detected. A method for measuring the shape of a circular object, characterized in that the outer diameter of the circular object is measured based on the maximum value of the difference in addresses.
【請求項3】  請求項1に記載の円形物体の形状測定
方法において、複数組の前記第1のアドレス及び前記第
2のアドレスを検出し、これらの複数組のうち最も離隔
した前記第1のアドレスと前記第2のアドレスから前記
円形物体の外径を算出し、その他の1又は複数組の前記
第1のアドレスと前記第2のアドレスの差に基づいて前
記円形物体に形成された穴の内径を算出することを特徴
とする円形物体の径測定方法。
3. The method for measuring the shape of a circular object according to claim 1, wherein a plurality of sets of the first address and the second address are detected, and the first address that is the most distant among the plurality of sets is detected. The outer diameter of the circular object is calculated from the address and the second address, and the diameter of the hole formed in the circular object is calculated based on the difference between the first address and the second address of one or more other sets. A method for measuring the diameter of a circular object, characterized by calculating the inner diameter.
【請求項4】  請求項1に記載の円形物体の形状測定
方法において、前記円形物体の通過に伴って変化する複
数の前記第1のアドレスと前記第2のアドレスの差を真
円弦長の基準値と比較して前記円形物体の真円度を判定
することを特徴とする円形物体の形状測定方法。
4. The method for measuring the shape of a circular object according to claim 1, wherein the difference between the plurality of first addresses and the second address, which changes as the circular object passes, is calculated as a perfect circular chord length. A method for measuring the shape of a circular object, comprising determining the roundness of the circular object by comparing it with a reference value.
【請求項5】  請求項4に記載の円形物体の形状測定
方法において、前記真円弦長の基準値は、算出された前
記円形物体の径yと直径からの距離xを用いて、関数F
(x)=y・sin(cos−1(2x/y))を算出
して得られた値であることを特徴とする円形物体の形状
測定方法。
5. In the method for measuring the shape of a circular object according to claim 4, the reference value of the true circular chord length is determined by a function F using the calculated diameter y of the circular object and the distance x from the diameter.
A method for measuring the shape of a circular object, characterized in that the value is obtained by calculating (x)=y·sin(cos-1(2x/y)).
【請求項6】  請求項1から請求項5までの何れか1
項に記載の円形物体の形状測定方法において、前記円形
物体は硬貨であることを特徴とする円形物体の形状測定
方法。
[Claim 6] Any one of claims 1 to 5
2. The method for measuring the shape of a circular object according to item 1, wherein the circular object is a coin.
【請求項7】  円形物体の通過する通路上に光電変換
手段を有し、該光電変換手段には、前記円形物体の通過
方向に対して直交する所定方向に光を検出すべき複数の
画素が配列され、前記所定方向に向かって非遮蔽部から
遮蔽部に転ずる第1の臨界領域に位置する前記画素の第
1のアドレスと、前記所定方向に向かって遮蔽部から非
遮蔽部に転ずる第2の臨界領域に位置する前記画素の第
2のアドレスと、を検出すべきアドレス検出手段と、前
記第1のアドレスと前記第2のアドレスの差の最大値に
基づいて前記円形物体の径を算出すべき演算手段と、を
有することを特徴とする円形物体の形状測定装置。
7. A photoelectric conversion means is provided on a path through which the circular object passes, and the photoelectric conversion means includes a plurality of pixels that detect light in a predetermined direction orthogonal to the direction in which the circular object passes. a first address of the pixel located in a first critical region arranged in the predetermined direction from the non-shielding part to the non-shielding part; a second address of the pixel located in a critical region of the pixel; and address detection means to detect the second address of the pixel located in a critical region of the pixel, and calculate the diameter of the circular object based on the maximum value of the difference between the first address and the second address. 1. An apparatus for measuring the shape of a circular object, characterized in that it has a calculation means for determining the shape of a circular object.
【請求項8】  請求項7に記載の円形物体の形状測定
装置において、前記アドレス検出手段は、複数組の前記
第1のアドレス及び前記第2のアドレスを検出するか否
かに基づいて前記円形物体に穴が存在するか否かを検知
し、前記演算手段は、複数組の前記第1のアドレス及び
前記第2のアドレスが存在する場合には、最も離間した
前記第1のアドレスと前記第2のアドレスの差に基づい
て前記円形物体の外径を算出することを特徴とする円径
物体の形状測定装置。
8. The shape measuring device for a circular object according to claim 7, wherein the address detecting means determines whether the shape of the circular object is determined based on whether or not a plurality of sets of the first address and the second address are detected. The calculation means detects whether or not a hole exists in the object, and when a plurality of sets of the first address and the second address exist, the calculation means determines whether the first address and the second address are the most distant. A shape measuring device for a circular object, characterized in that the outer diameter of the circular object is calculated based on the difference between two addresses.
【請求項9】  請求項7に記載の円形物体の形状測定
装置において、前記アドレス検出手段は、複数組の前記
第1のアドレス及び前記第2のアドレスを検出し、前記
演算手段は、最も離隔した前記第1のアドレスと前記第
2のアドレスの差に基づいて前記円形物体の外径を算出
し、その他の1又は複数組の前記第1のアドレスと前記
第2のアドレスの差に基づいて前記円形物体に形成され
た穴の内径を算出することを特徴とする円形物体の形状
測定装置。
9. The shape measuring device for a circular object according to claim 7, wherein the address detecting means detects a plurality of sets of the first address and the second address, and the calculating means detects a plurality of sets of the first address and the second address, and the calculating means detects a plurality of sets of the first address and the second address. Calculate the outer diameter of the circular object based on the difference between the first address and the second address, and calculate the outer diameter of the circular object based on the difference between the first address and the second address of one or more other sets. A shape measuring device for a circular object, characterized in that the inner diameter of a hole formed in the circular object is calculated.
【請求項10】  請求項7に記載の円形物体の形状測
定装置において、前記演算手段は、前記円形物体の通過
に伴って変化する前記第1のアドレスと前記第2のアド
レスの差を真円弦長の基準値と比較し、前記円形物体の
真円度を判定することを特徴とする円形物体の形状測定
装置。
10. The shape measuring device for a circular object according to claim 7, wherein the calculation means calculates the difference between the first address and the second address, which changes as the circular object passes, into a perfect circle. A shape measuring device for a circular object, characterized in that the roundness of the circular object is determined by comparing it with a reference value of chord length.
【請求項11】  請求項10に記載の円形物体の形状
測定装置において、前記演算手段は、算出された前記円
形物体の径yと直径からの距離xを用いて、関数F(x
)=y・sin(cos−1(2x/y))を算出し、
該F(x)の値を真円弦長の基準値として用いることを
特徴とする円形物体の形状測定装置。
11. The shape measuring device for a circular object according to claim 10, wherein the calculation means calculates a function F(x
)=y・sin(cos−1(2x/y)),
A shape measuring device for a circular object, characterized in that the value of F(x) is used as a reference value for a perfect circular chord length.
【請求項12】  請求項7から請求項11までの何れ
か1項に記載の円形物体の形状測定装置において、前記
円形物体は硬貨であることを特徴とする円形物体の形状
測定装置。
12. The shape measuring device for a circular object according to claim 7, wherein the circular object is a coin.
JP40867890A 1990-10-12 1990-12-28 Method and apparatus for measuring shape of circular body Pending JPH04213007A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP27492590 1990-10-12
JP2-274925 1990-10-12

Publications (1)

Publication Number Publication Date
JPH04213007A true JPH04213007A (en) 1992-08-04

Family

ID=17548457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP40867890A Pending JPH04213007A (en) 1990-10-12 1990-12-28 Method and apparatus for measuring shape of circular body

Country Status (1)

Country Link
JP (1) JPH04213007A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009014362A (en) * 2007-06-30 2009-01-22 Hoya Corp Inside diameter measurement apparatus of disk substrate, inside diameter measurement method, manufacturing method of disk substrate and manufacturing method of magnetic disk
JP2009014361A (en) * 2007-06-30 2009-01-22 Hoya Corp Inside diameter measurement apparatus of disk substrate, inside diameter measurement method, manufacturing method of disk substrate and manufacturing method of magnetic disk
JP2013075018A (en) * 2011-09-30 2013-04-25 Omron Corp Game machine
JP2013075015A (en) * 2011-09-30 2013-04-25 Omron Corp Token identification device and token identification method
WO2015000630A1 (en) * 2013-07-01 2015-01-08 Sanibox Ab A coin recognition apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009014362A (en) * 2007-06-30 2009-01-22 Hoya Corp Inside diameter measurement apparatus of disk substrate, inside diameter measurement method, manufacturing method of disk substrate and manufacturing method of magnetic disk
JP2009014361A (en) * 2007-06-30 2009-01-22 Hoya Corp Inside diameter measurement apparatus of disk substrate, inside diameter measurement method, manufacturing method of disk substrate and manufacturing method of magnetic disk
JP2013075018A (en) * 2011-09-30 2013-04-25 Omron Corp Game machine
JP2013075015A (en) * 2011-09-30 2013-04-25 Omron Corp Token identification device and token identification method
WO2015000630A1 (en) * 2013-07-01 2015-01-08 Sanibox Ab A coin recognition apparatus

Similar Documents

Publication Publication Date Title
JPH0412416B2 (en)
JPH04213007A (en) Method and apparatus for measuring shape of circular body
JPS63126242A (en) Appearance inspection and device therefor
US3676008A (en) Method and electro-optical system for inspecting bodies such as tiles
JPH06331317A (en) Dimension measuring device
JPS59183312A (en) Inspecting device for filamentous body
JPS6191543A (en) Method and apparatus for detecting curve of ic lead
JP3822788B2 (en) Screw inspection device
JPS61140804A (en) Pattern inspection instrument
JP2758550B2 (en) Appearance inspection device
US6331888B1 (en) Method and apparatus for surface inspection
JPS62108136A (en) Method and apparatus for detecting fluff of woven fabric
JPS6130636B2 (en)
JPS6310780B2 (en)
JPH09222315A (en) Pattern inspection device
JPS59168309A (en) Displacement-quantity measuring device
JPS62233712A (en) Method for measuring sharpness
JPS62115357A (en) Defect inspection device
JPS5911846B2 (en) Pattern inspection method
JPS60257137A (en) Pattern inspecting device
JP2006145557A (en) Screw inspection device
JPS63314402A (en) Inspection method for mask pattern
JPH07921Y2 (en) Rice grain condition detector
JPH0136058B2 (en)
JPS5920972B2 (en) Defect detection device