JPS644680B2 - - Google Patents
Info
- Publication number
- JPS644680B2 JPS644680B2 JP57139181A JP13918182A JPS644680B2 JP S644680 B2 JPS644680 B2 JP S644680B2 JP 57139181 A JP57139181 A JP 57139181A JP 13918182 A JP13918182 A JP 13918182A JP S644680 B2 JPS644680 B2 JP S644680B2
- Authority
- JP
- Japan
- Prior art keywords
- lead
- width
- voltage
- pulse
- center position
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
- 238000001514 detection method Methods 0.000 claims description 21
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000003708 edge detection Methods 0.000 description 5
- 238000007796 conventional method Methods 0.000 description 3
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Supply And Installment Of Electrical Components (AREA)
Description
【発明の詳細な説明】
本発明は、部品挿入機等において、特に、リー
ド形状、本数が多様な電子部品(例えば、部品ご
とにリード形状が異なるもので、、いわゆる異形
部品と称されるもの)のリード中心位置の検出を
行うためのリード中心位置検出方式に関するもの
である。DETAILED DESCRIPTION OF THE INVENTION The present invention is particularly useful for parts insertion machines and the like, especially for electronic parts with various lead shapes and numbers (for example, electronic parts with different lead shapes for each part, so-called irregularly shaped parts). ) is related to a lead center position detection method for detecting the lead center position.
まず、図面に従つて従来方式の説明をする。 First, the conventional method will be explained according to the drawings.
第1図は、従来のリード位置検出方式の一例の
方式構成図、第2図は、その検出波形図である。 FIG. 1 is a system configuration diagram of an example of a conventional lead position detection method, and FIG. 2 is a detection waveform diagram thereof.
まず、矢印方向に移動するリードLが投光器1
からの照射ビーム光をさえぎると、受光器2の出
力が0となる。この時のリードLの位置は、その
移動と同期しているエンコーダ5によつて読みと
ることができるようになつている。 First, the lead L moving in the direction of the arrow is connected to the projector 1.
When the irradiation beam light from the light receiver 2 is blocked, the output of the light receiver 2 becomes zero. The position of the lead L at this time can be read by the encoder 5 which is synchronized with its movement.
受光器2の出力電流Iは、電流電圧変換回路3
で電圧に変換され、第2図イのような出力電圧V
が得られる。この出力電圧Vと閾値電圧VTHとが
比較回路4で比較され、出力電圧Vが閾値電圧
VTHを超えている期間中だけ、比較回路4から第
2図イのような位置検出パルスPが出力される。 The output current I of the photoreceiver 2 is transmitted through the current-voltage conversion circuit 3.
The output voltage V is converted into a voltage as shown in Figure 2 A.
is obtained. This output voltage V and the threshold voltage V TH are compared in the comparator circuit 4, and the output voltage V is the threshold voltage.
Only during the period when V TH is exceeded, the position detection pulse P as shown in FIG. 2A is outputted from the comparator circuit 4.
このパルスPをレジスタ7のクロツク端子CK
に入力しておくことにより、そのときのリード位
置を示すエンコーダ5の出力をカウントしている
カウンタ6のカウント内容を蓄積しているレジス
タ7から、リード位置検出出力を得ることができ
る。 This pulse P is applied to the clock terminal CK of register 7.
By inputting , the read position detection output can be obtained from the register 7 which stores the count contents of the counter 6 which counts the output of the encoder 5 indicating the read position at that time.
しかしながら、このような従来方式は、第2図
イに示すように、ある程度リード幅の大きい部品
については、出力電圧Vの立上り、立下り部分に
よる遅れがあつても位置検出パルスPがリード幅
に相当する波形変化幅Wよりも多少ずれた形で検
出されるが、第2図ロに示すように、リード幅の
小さい部品については、出力電圧Vが閾値電圧
VTHに達しないため、検出不可能となるおそれが
あり、リード幅が変化する場合のリード位置検出
には使用することができなかつた。これは、リー
ド幅が変化しても閾値電圧VTHを対応して変化せ
しめえないからである。 However, as shown in Figure 2A, in this conventional method, for components with a relatively large lead width, the position detection pulse P does not match the lead width even if there is a delay due to the rise and fall portions of the output voltage V. Although it is detected with a slight deviation from the corresponding waveform change width W, as shown in Figure 2B, for components with small lead widths, the output voltage V is the threshold voltage.
Since V TH is not reached, there is a risk that detection will not be possible, and it could not be used to detect the lead position when the lead width changes. This is because even if the lead width changes, the threshold voltage V TH cannot be changed correspondingly.
本発明の目的は、上記した従来技術の欠点をな
くし、種々の幅のリードについても、その中心位
置を正確に検出することができるリード中心位置
検出方式を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a lead center position detection method that eliminates the above-mentioned drawbacks of the prior art and is capable of accurately detecting the center position of leads of various widths.
本発明に係るリード中心位置検出方式の構成
は、所定方向へ所定速度で移動するリードによつ
て照射ビーム光をさえぎるようにし、そのビーム
光量を対応する電圧に変換した後、あらかじめ当
該リ−ド幅に応じて指定・発生されている閾値電
圧と上記変換された電圧とを比較して当該リード
幅に対応するリード幅パルスを発生し、その前縁
および後縁について、上記リードの移動と同期し
ているエンコーダ出力の各カウントデータを求
め、その平均値を当該リード中心位置データとし
て出力するようにしたものである。 The structure of the lead center position detection method according to the present invention is such that the irradiation beam light is blocked by a lead moving in a predetermined direction at a predetermined speed, and after converting the amount of beam light into a corresponding voltage, the lead is The threshold voltage specified and generated according to the width is compared with the converted voltage above to generate a lead width pulse corresponding to the lead width, and its leading and trailing edges are synchronized with the movement of the lead. Each count data of the encoder output is obtained, and the average value thereof is outputted as the lead center position data.
これを要するに、あらかじめリード幅に応じて
位置検出パルス発生用の閾値電圧を指定しておく
ことにより、確実に位置検出パルスを発生せしめ
るとともに、その前後の各エツヂを検出すること
により、その中間点をリード中心位置として検出
しようとするものである。 In short, by specifying the threshold voltage for position detection pulse generation in advance according to the lead width, the position detection pulse can be reliably generated, and by detecting each edge before and after it, the intermediate point can be detected. The aim is to detect this as the lead center position.
以下、本発明の実施例を図に基づいて説明す
る。 Embodiments of the present invention will be described below based on the drawings.
第3図は、本発明に係るリード中心位置検出方
式の一実施例の方式構成図、第4図は、その検出
波形図、第5図は、同フローチヤートである。 FIG. 3 is a system configuration diagram of an embodiment of the lead center position detection method according to the present invention, FIG. 4 is a detection waveform diagram thereof, and FIG. 5 is a flowchart thereof.
ここで、1は、投光器、2は、受光器、3は、
電流電圧変換回路、4は、比較回路、5は、エン
コーダ、6は、カウンタ、7A,7Bは、レジス
タ、8は、閾値電圧指定用のDA変換回路、9
A,9Bは、前縁、後縁用のエツヂ検出回路、1
0は、平均値回路である。なお、これらの符号の
うち、第1図におけるものと同一のものは、それ
と均等のものである。 Here, 1 is a light projector, 2 is a light receiver, and 3 is
4 is a comparison circuit; 5 is an encoder; 6 is a counter; 7A and 7B are registers; 8 is a DA conversion circuit for specifying a threshold voltage; 9
A, 9B are edge detection circuits for leading edge and trailing edge, 1
0 is an average value circuit. Note that among these symbols, the same ones as those in FIG. 1 are equivalent.
まず、矢印方向に所定速度で移動するリードL
が投光器1からの照射ビーム光をさえぎると、受
光器2の出力電流Iが0となり、リードの通過を
示す。この出力電流Iは、電流電圧変換回路3に
入力され、受光したビーム光量に対応する電圧V
に変換される(第5図のステツプ11,12)。 First, the lead L moves in the direction of the arrow at a predetermined speed.
When the irradiation beam light from the light projector 1 is blocked, the output current I of the light receiver 2 becomes 0, indicating that the lead has passed. This output current I is input to the current-voltage conversion circuit 3, and a voltage V corresponding to the amount of the received beam light is inputted to the current-voltage conversion circuit 3.
(Steps 11 and 12 in FIG. 5).
一方、DA変換回路8に対し、外部から閾値指
定信号がデジタル信号で入力されているので、こ
れが同回路でDA変換をされて閾値電圧VTHとし
て出力される(同ステツプ13,14)。 On the other hand, since a threshold designation signal is externally input to the DA conversion circuit 8 in the form of a digital signal, this is subjected to DA conversion in the same circuit and outputted as a threshold voltage VTH (steps 13 and 14).
また、エンコーダ5は、リードLの移動速度に
比例した周波数のパルスを出力しており、(同ス
テツプ15)、このパルスをカウンタ6で積算す
ることにより(同ステツプ16)、リードLの位
置を求めることができる。 Furthermore, the encoder 5 outputs a pulse with a frequency proportional to the moving speed of the lead L (step 15), and by integrating this pulse with the counter 6 (step 16), the position of the lead L can be determined. You can ask for it.
次に、電流電圧変換回路3で変換された出力電
圧Vは、比較回路4で上記閾値電圧VTHと比較さ
れ、照射ビーム光中を通過しているリードLの幅
に対応したリード幅パルスP(前述の従来例で位
置検出パルスと称したもの)が出力される(同ス
テツプ17)。このパルスPは、第4図に示すよ
うに、上記出力電圧Vのうち、閾値電圧VTHより
も低い部分について出力されるものである。すな
わち、このリード幅パルスPのパルス幅がリード
Lの幅を表すものである。ここでリード幅パルス
Pのパルス幅を決定する閾値電圧VTHは、外部か
ら任意に所望値を設定しうるので、リードLの幅
が狭い場合でも、当該出力電圧Vに適合する閾値
電圧VTHを供給することができる。 Next, the output voltage V converted by the current-voltage conversion circuit 3 is compared with the threshold voltage V TH in the comparison circuit 4, and a lead width pulse P corresponding to the width of the lead L passing through the irradiation beam light is generated. (referred to as a position detection pulse in the conventional example) is output (step 17). As shown in FIG. 4, this pulse P is output for a portion of the output voltage V that is lower than the threshold voltage VTH . That is, the pulse width of this lead width pulse P represents the width of the lead L. The threshold voltage V TH that determines the pulse width of the lead width pulse P can be arbitrarily set to a desired value from the outside, so even if the width of the lead L is narrow, the threshold voltage V TH that determines the pulse width of the lead width pulse P can be adjusted to match the output voltage V. can be supplied.
次に、エツヂ検出回路9A,9Bは、リード幅
パルスPの入力により、リードLの両端に対応す
べき上記パルスPの前縁、後縁を検出し、各検出
パルスF,Rを出力する(同ステツプ18)。 Next, the edge detection circuits 9A and 9B detect the leading edge and trailing edge of the pulse P corresponding to both ends of the lead L by inputting the lead width pulse P, and output the respective detection pulses F and R ( Same step 18).
この前縁、後縁検出パルスF,Rの位置は、カ
ウンタ6の出力から求められる。すなわち、レジ
スタ7Aは、前縁検出パルスFが入力された時の
リードLの位置をエンコーダ5出力の累積数によ
つて表わすので、その時のカウンタ6の値を前縁
位置データAとして出力する。後縁についても同
様にしてレジスタ7Bから後縁位置データBが出
力される(同ステツプ19)。 The positions of the leading edge and trailing edge detection pulses F and R are determined from the output of the counter 6. That is, the register 7A indicates the position of the lead L when the leading edge detection pulse F is inputted by the cumulative number of outputs from the encoder 5, and therefore outputs the value of the counter 6 at that time as the leading edge position data A. Regarding the trailing edge, trailing edge position data B is similarly outputted from the register 7B (step 19).
最後に、リードLの中心位置データは、前縁立
置データA、後縁位置データBの平均値(A+
B)/2を平均値回路10で演算して得られる
(同ステツプ20)。 Finally, the center position data of the lead L is the average value (A+
B)/2 is calculated by the average value circuit 10 (step 20).
このようにして、リードの両縁を検出してから
リードの中心位置を求めるので、異なつた種々の
幅のリードでも正しい位置検出ができる。また、
従来方式では不可能であつた幅の狭いリードにつ
いても、閾値をリード幅に応じて所定値に変える
ことによつて位置検出が可能となり、性能の向上
を図ることができる。 In this way, since the center position of the lead is determined after detecting both edges of the lead, accurate position detection can be performed even for leads of different widths. Also,
By changing the threshold value to a predetermined value according to the lead width, position detection becomes possible even for narrow leads, which was impossible with the conventional method, and performance can be improved.
以上、詳細に説明したように、本発明によれ
ば、種々の幅のリードについても、その中心位置
を正確、確実に検出することができるので、部品
挿入等の工程の信頼性向上、効率向上、経済化に
顕著な効果が得られる。 As described above in detail, according to the present invention, the center position of leads of various widths can be detected accurately and reliably, thereby improving the reliability and efficiency of processes such as component insertion. , a remarkable effect on economicization can be obtained.
第1図は、従来のリード位置検出方式の一例の
方式構成図、第2図は、その検出波形図、第3図
は、本発明に係るリード中心位置検出方式、第4
図は、その検出波形図、第5図は、同フローチヤ
ートである。
1……投光器、2……受光器、3……電流電圧
変換回路、4……比較回路、5……エンコーダ、
6……カウンタ、7A,7B……レジスタ、8…
…DA変換回路、9A,9B……エツヂ検出回
路、10……平均値回路。
FIG. 1 is a system configuration diagram of an example of a conventional lead position detection method, FIG. 2 is a detection waveform diagram thereof, and FIG. 3 is a lead center position detection method according to the present invention.
The figure is a detected waveform diagram, and FIG. 5 is a flowchart of the same. 1... Emitter, 2... Light receiver, 3... Current-voltage conversion circuit, 4... Comparison circuit, 5... Encoder,
6...Counter, 7A, 7B...Register, 8...
...DA conversion circuit, 9A, 9B...edge detection circuit, 10...average value circuit.
Claims (1)
て照射ビーム光をさえぎるようにし、そのビーム
光量を対応する電圧に変換した後、あらかじめ当
該リード幅に応じて指定・発生されている閾値電
圧と上記変換された電圧とを比較して当該リード
幅に対応するリード幅パルスを発生し、その前縁
および後縁について、上記リードの移動と同期し
ているエンコーダ出力の各カウントデータを求
め、その平均値を当該リード中心位置データとし
て出力するリード中心位置検出方式。1 The irradiation beam light is blocked by a lead moving at a predetermined speed in a predetermined direction, and after converting the amount of beam light into a corresponding voltage, the threshold voltage specified and generated in advance according to the width of the lead and the above A lead width pulse corresponding to the lead width is generated by comparing the converted voltage, and each count data of the encoder output that is synchronized with the movement of the lead is obtained for the leading and trailing edges, and the average is calculated. A lead center position detection method that outputs the value as the lead center position data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57139181A JPS5929500A (en) | 1982-08-12 | 1982-08-12 | Lead center position detecting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57139181A JPS5929500A (en) | 1982-08-12 | 1982-08-12 | Lead center position detecting system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5929500A JPS5929500A (en) | 1984-02-16 |
| JPS644680B2 true JPS644680B2 (en) | 1989-01-26 |
Family
ID=15239443
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57139181A Granted JPS5929500A (en) | 1982-08-12 | 1982-08-12 | Lead center position detecting system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5929500A (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62230100A (en) * | 1986-03-31 | 1987-10-08 | 松下電器産業株式会社 | Electronic component inserting device |
| JPS63138954A (en) * | 1986-11-25 | 1988-06-10 | 株式会社 生産日本社 | Bag body with engaging tool made of synthetic resin |
| JPH01100750U (en) * | 1987-12-24 | 1989-07-06 | ||
| JPH0338739U (en) * | 1989-02-02 | 1991-04-15 |
-
1982
- 1982-08-12 JP JP57139181A patent/JPS5929500A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5929500A (en) | 1984-02-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4119910A (en) | Method and apparatus for detecting whether phase difference between two signals is constant | |
| US4355279A (en) | Means and method for velocity decoding | |
| US5233292A (en) | Speed detector device for elevator | |
| JPS644680B2 (en) | ||
| JPH0447765B2 (en) | ||
| JPH07134048A (en) | Origin signal generator for optical encoder | |
| US4599600A (en) | Conversion of quadrature signals into counter control pulses | |
| JPH06189573A (en) | Encoder type motor speed detector | |
| JPH10162095A (en) | Slice ratio control circuit | |
| US5294844A (en) | Sampling signal generation circuit | |
| EP0065998A1 (en) | Pulse detection circuit | |
| US4973959A (en) | Digital pulse circuit for processing successive pulses | |
| KR880003604Y1 (en) | Predetermined frequency band detecting circuit using digital mode | |
| JP3050027B2 (en) | Encoder pulse count circuit | |
| KR940022059A (en) | Encoder Output Error Compensation Method | |
| JPH05248893A (en) | Backup type absolute position encoder | |
| JPH0371644B2 (en) | ||
| JP2611099B2 (en) | Displacement measuring device | |
| KR940003382Y1 (en) | Encoder pulse position detection circuit | |
| JPS59183327A (en) | Encoder detection signal stabilization method | |
| JPS6370118A (en) | Number-of-rotation detecting circuit | |
| JPH05335908A (en) | Zero cross detector | |
| JP2580824B2 (en) | Clock failure detection circuit | |
| JPH0237525B2 (en) | ENKOODAPARUSUKENSHUTSUKAIRO | |
| JPH0575964B2 (en) |