JPH0352882B2 - - Google Patents
Info
- Publication number
- JPH0352882B2 JPH0352882B2 JP60038520A JP3852085A JPH0352882B2 JP H0352882 B2 JPH0352882 B2 JP H0352882B2 JP 60038520 A JP60038520 A JP 60038520A JP 3852085 A JP3852085 A JP 3852085A JP H0352882 B2 JPH0352882 B2 JP H0352882B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- circuit
- peak
- pulse
- motor
- 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
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、地色とマークの着色の種類、色差等
に影響されることなく、無調整でマーク位置を検
出しうるようにした被検出体のマーク無調整検出
装置に関し、例えばチユーブ容器の底部を圧着し
て封止するため該チユーブ容器に付されら合マー
クを検出し、所定位置で回転を停止せしめるのに
用いて好適な被検出体のマーク無調整装置に関す
るものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a detection object that allows the mark position to be detected without adjustment, without being affected by the ground color, the type of coloring of the mark, color difference, etc. Regarding the non-adjustable body mark detection device, it is suitable for use, for example, in detecting a fitting mark attached to a tube container to seal the bottom of the tube container by crimping and stopping the rotation at a predetermined position. This invention relates to a non-adjustable body mark device.
一般に、化粧料、練歯磨き等は可撓性のチユー
ブ容器に入れられて使用されるが、このチユーブ
容器入りの化粧料等を製造するには、商品名等が
正規の位置となるように正しい位置で底部が圧着
封止されている必要がある。
Cosmetics, toothpaste, etc. are generally used in flexible tube containers, but in order to manufacture cosmetics, etc. in tube containers, it is necessary to make sure that the product name, etc. is in the correct position. The bottom must be crimp-sealed in place.
このため、まず第3図の如く底部が開口した筒
状の容器本体1を蓋体2よつて施蓋する。次に、
容器本体1をホルダに載置してこれを回転し、該
容器本体1の底部に付された合マーク3の位置を
マークセンサによつて検出し、ホルダを所定位置
で停止せしめる。次に、容器本体1の底部から化
粧料等を充填する。さらに、第4図に示すように
圧着手段によつて底部を圧着し、封止部4として
成形するようになされ、これにより合マーク3の
位置が中央にくるようにして封止部4が成形され
る。 For this purpose, first, as shown in FIG. 3, a cylindrical container body 1 with an open bottom is closed with a lid 2. next,
The container body 1 is placed on a holder and rotated, the position of the alignment mark 3 attached to the bottom of the container body 1 is detected by a mark sensor, and the holder is stopped at a predetermined position. Next, cosmetics and the like are filled into the container body 1 from the bottom. Furthermore, as shown in FIG. 4, the bottom part is crimped by a crimping means to form the sealing part 4, so that the sealing part 4 is formed with the alignment mark 3 in the center. be done.
然るに、容器本体1は商品毎に所望の着色が付
されていることが多く、該容器本体1の地色は白
地のものから赤地、黒等種々のものがあり、また
合マーク3も上記地色の着色に合せて種々の着色
が施こされる。この結果、地色が明るく、合マー
ク3が暗い場合には、マークセンサによる検出信
号は第5図に示す波形特性5のようになり、逆に
地色が暗く、合マーク3が明るい場合には、検出
信号は第6図に示す波形特性6のようになる。こ
のように、容器本体1、合マーク3には商品毎に
種々の着色が施こされるものであるから、容器本
体1と合マーク3との間の色差は商品毎に異なる
が、いかなる状態においても合マーク3の位置を
正確に検出しうる必要がある。 However, the container body 1 is often colored as desired for each product, and the background color of the container body 1 varies from white to red, black, etc., and the matching mark 3 also has a color that is different from the above-mentioned background. Various colors are applied to match the coloring. As a result, when the background color is bright and the matching mark 3 is dark, the detection signal by the mark sensor becomes as shown in waveform characteristic 5 shown in Fig. 5; conversely, when the background color is dark and the matching mark 3 is bright, In this case, the detected signal has a waveform characteristic 6 shown in FIG. In this way, the container body 1 and the matching mark 3 are colored in various ways for each product, so the color difference between the container body 1 and the matching mark 3 varies from product to product, but It is also necessary to be able to accurately detect the position of the match mark 3.
そこで、従来技術においては第7図に示すよう
に、調整可能な被検出体のマーク検出装置が知ら
れている。 Therefore, in the prior art, as shown in FIG. 7, an adjustable mark detection device for a detected object is known.
即ち、第7図において、11はステツピングモ
ータで、該ステツピングモータ11の回転はベル
ト12を介して回転軸13に伝達される。14は
回転軸13に設けられたホルダ着脱装置で、該ホ
ルダ着脱装置14は例えばマグネツト手段によつ
て後述のホルダ15を自動的に着脱するように構
成されている。15はコンベア、ターンテーブル
等の搬送手段(図示せず)によつて搬送されるホ
ルダで、該ホルダ15には第3図に示す容器本体
1が底部を上側にして載置されている。そして、
ホルダ15はホルダ着脱装置14の位置に到達す
るとこれに磁着され、ステツピングモータ11に
よつて回転せしめられ、合マーク3の検出によつ
てステツピングモータ11が停止すると、前記ホ
ルダ着脱装置14から回転することなく脱着さ
れ、搬送手段によつて再び次工程に搬送されるよ
うになつている。 That is, in FIG. 7, 11 is a stepping motor, and the rotation of the stepping motor 11 is transmitted to a rotating shaft 13 via a belt 12. Reference numeral 14 denotes a holder attachment/detachment device provided on the rotating shaft 13, and the holder attachment/detachment device 14 is configured to automatically attach/detach a holder 15, which will be described later, by, for example, magnetic means. Reference numeral 15 denotes a holder that is transported by a transport means (not shown) such as a conveyor or a turntable, and the container main body 1 shown in FIG. 3 is placed on the holder 15 with the bottom facing upward. and,
When the holder 15 reaches the position of the holder attaching/detaching device 14, it is magnetically attached to the holder attaching/detaching device 14 and rotated by the stepping motor 11. When the stepping motor 11 is stopped upon detection of the match mark 3, the holder attaching/detaching device 14 is rotated by the stepping motor 11. The material is detached without rotation and transported again to the next process by the transport means.
16は合マーク3を検出する光電センサで、該
光電センサ16として例えばホストトランジス
タ、ホストダイオード等が用いられ、第5図、第
6図に示す如き検出信号を出力する。17は光電
センサ16による検出信号を増幅する増幅回路、
18は増幅回路17の次段に設けられたピーク値
反転用の反転回路、また19は該反転回路18に
反転信号を出力する地色切換スイツチで、該スイ
ツチ19は容器本体1に付された着色のため検出
信号のピーク値が立下るとき(第5図の場合)、
予め手動によつて検出信号のピーク値を反転させ
るべく反転信号を出力し、第6図の如くピーク値
が立上るときは切換操作しない構成となつてい
る。 Reference numeral 16 denotes a photoelectric sensor for detecting the alignment mark 3. For example, a host transistor, a host diode, or the like is used as the photoelectric sensor 16, and outputs a detection signal as shown in FIGS. 5 and 6. 17 is an amplification circuit that amplifies the detection signal from the photoelectric sensor 16;
18 is an inversion circuit for peak value inversion provided at the next stage of the amplifier circuit 17, and 19 is a ground color changeover switch that outputs an inversion signal to the inversion circuit 18, and this switch 19 is attached to the container body 1. When the peak value of the detection signal falls due to coloring (in the case of Figure 5),
The configuration is such that an inversion signal is manually output in advance in order to invert the peak value of the detection signal, and when the peak value rises as shown in FIG. 6, no switching operation is performed.
20は反転回路18の次段に設けられた比較回
路、21は該比較回路20による基準値(スレツ
シユホールドレベル)を設定する設定器で、前記
比較回路20から入力された検出信号を基準値に
基づいて比較し、ピーク検出信号として出力す
る。22は前記比較回路20からピーク検出信号
が入力され、所定の時間(例えば0.5秒)後にパ
ルス停止信号を出力するタイマで、該タイマ22
としてはCRタイマが使用され、その遅延時間は
容器本体1の口径の大小、ステツピングモータ1
1のステツプ角、光電センサ16の取付位置の
種々の条件に応じて設定される。 20 is a comparison circuit provided at the next stage of the inversion circuit 18; 21 is a setting device for setting a reference value (threshold level) by the comparison circuit 20; the detection signal inputted from the comparison circuit 20 is set to the reference value; is compared based on the peak detection signal and output as a peak detection signal. 22 is a timer that receives the peak detection signal from the comparison circuit 20 and outputs a pulse stop signal after a predetermined time (for example, 0.5 seconds);
A CR timer is used, and its delay time depends on the diameter of the container body 1 and the stepping motor 1.
The step angle of 1 and the mounting position of the photoelectric sensor 16 are set according to various conditions.
さらに、23はステツピングモータ11へのパ
ルス信号の出力と出力停止を制御するためタイマ
22の次段に設けられたモータ駆動回路、24は
クロツクパルスからなるステツピングモータ駆動
用のパルス信号を発生するパルス発生器、25は
搬送手段によつて搬送されてくる容器本体1を載
置したホルダ15が所定位置に到来したことを検
出してモータ起動信号を出力する位置検出センサ
で、前記モータ駆動回路23は位置検出センサ2
5からモータ起動信号が入力したときにはパルス
発生回路24からのパルス信号をステツピングモ
ータ11に出力し、タイマ22からモータ停止信
号が入力したときにはステツピングモータ11へ
のパルス信号の出力を停止する機能を有する。 Further, 23 is a motor drive circuit provided at the next stage of the timer 22 to control the output and stop of the output of pulse signals to the stepping motor 11, and 24 is a motor drive circuit that generates a pulse signal for driving the stepping motor consisting of a clock pulse. The pulse generator 25 is a position detection sensor that detects that the holder 15 carrying the container body 1 carried by the carrying means has arrived at a predetermined position and outputs a motor start signal, and is connected to the motor drive circuit. 23 is position detection sensor 2
A function to output a pulse signal from the pulse generation circuit 24 to the stepping motor 11 when a motor start signal is input from the timer 5, and to stop outputting the pulse signal to the stepping motor 11 when a motor stop signal is input from the timer 22. has.
このように構成される被検出体のマーク検出装
置において、位置検出センサ25がホルダ15の
到来を検出すると、モータ駆動回路23にモータ
起動信号を出力し、該モータ駆動回路23をパル
ス発生器24からのパルス信号をステツピングモ
ータ11に印加してこれを所定のステツプ角で回
転せしめる。すると、ステツピングモータ11は
ベルト12を介して回転軸13、ホルダ着脱装置
14を回転する。この状態で、ホルダ15がホル
ダ着脱装置14の位置に到達すると、該ホルダ1
5はこれに磁着されて一体回転し、これと共に容
器本体1も回転する。 In the mark detection device for a detected object configured as described above, when the position detection sensor 25 detects the arrival of the holder 15, it outputs a motor start signal to the motor drive circuit 23, and the motor drive circuit 23 is connected to the pulse generator 24. A pulse signal is applied to the stepping motor 11 to rotate it at a predetermined step angle. Then, the stepping motor 11 rotates the rotating shaft 13 and the holder attachment/detachment device 14 via the belt 12. In this state, when the holder 15 reaches the position of the holder attachment/detachment device 14, the holder 1
5 is magnetically attached to this and rotates integrally with it, and the container body 1 also rotates together with this.
然るに、光電センサ16が容器本体1の合マー
ク3を検出すると、該光電センサ16から第5図
または第6図に示す検出信号を出力し、増幅回路
17を介して反転回路18に入力する。この際、
容器本体1の地色と合マーク3との関係からピー
ク値が立下る場合(第5図の場合)には地色切換
スイツチ19によつて反転回路18に反転信号を
入力しておく。この結果、反転回路18は入力さ
れた検出信号のピーク値を反転させ、比較回路2
0に出力する。なお、ピーク値が立上る場合(第
6図の場合)には地色切換スイツチ19は切換え
ず、従つて反転回路18は作動しない。 However, when the photoelectric sensor 16 detects the matching mark 3 on the container body 1, the photoelectric sensor 16 outputs a detection signal shown in FIG. On this occasion,
If the peak value falls due to the relationship between the ground color of the container body 1 and the match mark 3 (as in the case of FIG. 5), an inversion signal is input to the inversion circuit 18 by the ground color changeover switch 19. As a result, the inversion circuit 18 inverts the peak value of the input detection signal, and the comparison circuit 18 inverts the peak value of the input detection signal.
Output to 0. It should be noted that when the peak value rises (as in the case of FIG. 6), the ground color changeover switch 19 is not switched, and therefore the inversion circuit 18 is not activated.
一方、比較回路20は反転回路18から入力さ
れた検出信号のピーク値と設定器21に設定され
た基準値とを比較し、所定レベル以上である場合
にはタイマ22にピーク検出信号を出力する。こ
の結果、前記タイマ22は、予め設定された所定
の遅延時間後にモータ駆動回路23にモータ停止
信号を出力し、該モータ駆動回路23はステツピ
ングモータ11へのパルス信号の出力を停止す
る。 On the other hand, the comparison circuit 20 compares the peak value of the detection signal inputted from the inversion circuit 18 with the reference value set in the setting device 21, and outputs a peak detection signal to the timer 22 if the peak value is equal to or higher than a predetermined level. . As a result, the timer 22 outputs a motor stop signal to the motor drive circuit 23 after a predetermined delay time, and the motor drive circuit 23 stops outputting pulse signals to the stepping motor 11.
かくして、ホルダ15と共に容器本体1が所定
位置で停止したことになり、ホルダ15はホルダ
着脱装置14から脱着され、搬送手段によつて再
び次工程に搬送され、化粧料等の充填と、容器本
体1の底部の圧着が行なわれる。 In this way, the container body 1 is stopped at a predetermined position together with the holder 15, and the holder 15 is detached from the holder attachment/detachment device 14 and conveyed again to the next process by the conveying means, where it is filled with cosmetics and the like, and the container body is removed. 1 is crimped at the bottom.
然るに、前述した従来技術によるものは、次の
ような問題点がある。即ち、第1に、容器本体1
と合マーク3との関係から、地色が白く(明る
く)、合マーク3が黒い(暗い)場合にはピーク
値が反転するから、この場合には地色切換スイツ
チ19を操作して反転回路18に反転信号を出力
しなくてはならない。この結果、地色の変更時に
はその都度地色切換スイツチ19を操作する必要
があるという欠点がある。
However, the prior art described above has the following problems. That is, first, the container body 1
Based on the relationship between the background color and the matching mark 3, if the background color is white (bright) and the matching mark 3 is black (dark), the peak value will be inverted. An inverted signal must be output to 18. As a result, there is a drawback that it is necessary to operate the background color changeover switch 19 each time the background color is changed.
第2に、比較回路20は設定器21によつて基
準値を設定するものであるため、地色の着色と合
マーク3の色差が異なる毎にスレツシユホールド
レベルの微調整が必要となるという欠点があり、
特に色差が少ないときには熟練を必要とする。 Second, since the comparator circuit 20 sets the reference value using the setting device 21, it is necessary to fine-tune the threshold level every time the color difference between the ground color and the match mark 3 differs. There are drawbacks,
Especially when the color difference is small, skill is required.
第3に、比較回路20は反転回路18から入力
される第1発目のピーク値を基準値と比較するも
のであるから、容器本体1の一品毎の変動、特に
傷、汚れ、変形等によるピーク値を合マーク3と
判断してしまうことがあり、十分に対応しえない
という欠点がある。 Thirdly, since the comparison circuit 20 compares the first peak value inputted from the inversion circuit 18 with the reference value, it is possible to avoid variations in each item of the container body 1, especially due to scratches, dirt, deformation, etc. There is a drawback that the peak value may be judged as match mark 3, and it cannot be adequately handled.
第4に、モータ停止信号のタイミングはタイマ
22の時間管理によるものであるため、これに
CRタイマを用いた場合には温度、抵抗等の外乱
を受けやすく、位置決め精度に劣るという欠点が
ある。 Fourth, since the timing of the motor stop signal is based on time management by the timer 22,
When a CR timer is used, it is susceptible to disturbances such as temperature and resistance, and has the disadvantage of poor positioning accuracy.
本発明は前述した従来技術の問題点に鑑みなさ
れたもので、製品毎に色差が変つてもテストスイ
ツチを1回押動するのみでピーク値をホールドさ
せることができて自動的に基準値(スレツシユホ
ールドレベル)の設定を可能とし、またステツピ
ングモータを2回回転させ、1回目のピーク値を
基準値と比較してこれを記憶し、2度目のピーク
値を基準値と比較して出力した時点を合マークの
位置と判定することにより、製品一品毎の傷、汚
れ、変形、偏心等に対しても安定した検出を可能
とし、さらにステツピングモータの停止タイミン
グはパルス信号を計数することで、0.9°〜1.8°(1
〜2パルス)のステツプ角で停止しうるようにし
た被検出体のマーク無調整検出装置を提供するこ
とにある。 The present invention was developed in view of the problems of the prior art described above, and even if the color difference varies from product to product, the peak value can be held by pressing the test switch once, and the reference value ( The stepping motor can be rotated twice, the first peak value is compared with the reference value and stored, and the second peak value is compared with the reference value. By determining the point of output as the position of the match mark, it is possible to stably detect scratches, dirt, deformation, eccentricity, etc. on each product.Furthermore, the stopping timing of the stepping motor is determined by counting pulse signals. That is, 0.9° to 1.8° (1
It is an object of the present invention to provide a mark detection device for a detected object without adjustment, which is capable of stopping at a step angle of .about.2 pulses.
上記問題点を解決するため、本発明は、パルス
信号に基づいてステツピングモーター回転するモ
ータ制御回路と、前記ステツピングモータによつ
て回転せしめられる被検出体のマークを検出する
光電センサと、該光電センサによる検出信号のう
ち負成分のみを反転させる負成分反転回路と、該
負成分反転回路から出力される信号を記憶するピ
ークホールド回路と、前記負成分反転回路とピー
クホールド回路からの各信号を比較し、基準値以
上のとき信号を出力する比較回路と、該比較回路
からの信号を計数し、所定数に達したときピーク
検出信号を出力するピークカウンタと、該ピーク
カウンタからの信号に基づいて前記モータ制御回
路からのパルス信号を計数し、予め設定した所定
数に達したとき前記モータ制御回路にモータ停止
信号を出力するパルスカウンタとから構成したこ
とにある。
In order to solve the above problems, the present invention includes a motor control circuit that rotates a stepping motor based on a pulse signal, a photoelectric sensor that detects a mark on an object rotated by the stepping motor, and a photoelectric sensor that detects a mark on an object rotated by the stepping motor. A negative component inversion circuit that inverts only the negative component of the signal detected by the photoelectric sensor, a peak hold circuit that stores the signal output from the negative component inversion circuit, and each signal from the negative component inversion circuit and the peak hold circuit. a comparison circuit that compares the signals and outputs a signal when the signal is equal to or higher than a reference value; a peak counter that counts the signals from the comparison circuit and outputs a peak detection signal when a predetermined number is reached; and a pulse counter that counts pulse signals from the motor control circuit based on the pulse signal and outputs a motor stop signal to the motor control circuit when a predetermined number is reached.
以下、本発明の実施例を第1図、第2図に基づ
いて詳細に述べる。なお、前述した従来技術と同
一構成要素については同一符号を付し、その説明
を省略する。
Hereinafter, embodiments of the present invention will be described in detail based on FIGS. 1 and 2. Note that the same components as those in the prior art described above are given the same reference numerals, and the explanation thereof will be omitted.
図中、31は合マーク3を検出する光電センサ
で、該光電センサ31としては従来技術と同様に
ホトトランジスタ、ホトダイオード等が用いられ
る他、太陽電池アナログセンサ等を用いることが
でき、第5図、第6図と同様の検出信号を出力す
る。なお、光電センサ31としてフオトトランジ
スタ等を用いた場合には、所定電圧レベル以上で
出力電圧が飽和電圧となつてしまうが、太陽電池
アナログセンサを用いた場合には反射光の増減が
リニアな特性として表われるから、検出精度を一
層高めることができる。 In the figure, numeral 31 is a photoelectric sensor for detecting the matching mark 3. As the photoelectric sensor 31, a phototransistor, a photodiode, etc. can be used as in the conventional technology, or a solar cell analog sensor etc. can be used. , outputs a detection signal similar to that shown in FIG. Note that when a phototransistor or the like is used as the photoelectric sensor 31, the output voltage reaches a saturation voltage above a predetermined voltage level, but when a solar cell analog sensor is used, the increase and decrease of reflected light is linear. , the detection accuracy can be further improved.
32は光電センサ31の検出信号を増幅する増
幅回路、33は該増幅回路32の次段に設けられ
た負成分反転回路で、該負成分反転回路33は、
従来技術の反転回路18の如く地色切換スイツチ
19からの命令によつて作動するものと異なり、
バイアスされ交流波形のうち、負成分のみを自動
的に反転させる構成となつている。そして、この
負成分反転回路33は、例えば差動増幅器を二重
に設けて、正信号は通過させ、負信号のみ反転さ
せる構造となつている。 32 is an amplifier circuit for amplifying the detection signal of the photoelectric sensor 31; 33 is a negative component inversion circuit provided at the next stage of the amplifier circuit 32;
Unlike the inversion circuit 18 of the prior art, which operates in response to a command from the background color changeover switch 19,
It is configured to automatically invert only the negative component of the biased AC waveform. The negative component inverting circuit 33 has a structure in which, for example, dual differential amplifiers are provided to allow positive signals to pass through and invert only negative signals.
34は前記負成分反転回路33から入力される
負成分反転後の検出信号のピーク値電圧をホール
ドするピークホールド回路で、該ピークホールド
回路34は後述の切換回路46からBUSY信号
が入力されている間のみピーク値電圧のホールド
を更新するもので、BUSY信号が入力されてい
ないときにはホールド状態を保持してピーク値電
圧を記憶する機能を有する。 34 is a peak hold circuit that holds the peak value voltage of the detection signal after negative component inversion inputted from the negative component inversion circuit 33, and the BUSY signal is inputted to the peak hold circuit 34 from a switching circuit 46 to be described later. The hold state of the peak value voltage is updated only during this period, and when the BUSY signal is not input, the hold state is maintained and the peak value voltage is stored.
35はピークホールド回路34の次段に設けら
れた比較回路で、該比較回路35はピークホール
ド回路34からのピーク値電圧の電圧値を基準と
して、信号線36を介して入力される負成分反転
回路33からの検出信号の電圧値を比較し、基準
値(例えばピーク値電圧の80%の電圧値)以上で
ある場合にはパルス信号を出力するものである。 35 is a comparison circuit provided at the next stage of the peak hold circuit 34, and the comparison circuit 35 uses the voltage value of the peak value voltage from the peak hold circuit 34 as a reference to invert the negative component input via the signal line 36. The voltage value of the detection signal from the circuit 33 is compared, and if the voltage value is equal to or higher than a reference value (for example, a voltage value of 80% of the peak value voltage), a pulse signal is output.
37は前記比較回路35から出力されるパルス
信号を計数し、所定パルスに達したときピーク検
出信号を出力するピークカウンタで、該ピークカ
ウンタ37としては例えばプリセツトカウンタが
使用され、後述する如くステツピングモータ11
が2回転したときピーク検出信号を出力すべく、
通常4パルスがプリツセツトされている。 37 is a peak counter that counts the pulse signal output from the comparison circuit 35 and outputs a peak detection signal when a predetermined pulse is reached. As the peak counter 37, for example, a preset counter is used, and as will be described later, the peak counter 37 outputs a peak detection signal. Ping motor 11
In order to output a peak detection signal when rotates twice,
Usually 4 pulses are preset.
38はピークカウンタ37の次段に設けられた
パルスカウンタ、39はステツピングモータ11
の停止位置をパルス数によつて予め設定する停止
位置設定用のデジタルスイツチ、40はパルス発
生器41とモータ駆動回路42とからなるモータ
制御回路を示す。 38 is a pulse counter provided at the next stage of the peak counter 37, and 39 is a stepping motor 11.
40 is a motor control circuit consisting of a pulse generator 41 and a motor drive circuit 42.
ここで、前記パルスカウンタ38は例えばプリ
セツトカウンタが用いられ、ピースカウンタ37
からピーク検出信号が入力されたとき信号機43
を介してパルス発生器41から入力されるパルス
信号の計数を開始し、前記デジタルスイツチ39
に設定したパルス数に達したとき、信号線44を
介してパルス発生器41にモータ停止信号を出力
する機能を有する。一方、停止位置設定用デジタ
ルスイツチ39は従来技術によるタイマ22と同
様に容器本体1の口径の大小、ステツピングモー
タ11のステツプ角、光電センサ31の取付位置
等に応じて、該ステツピングモータ11の停止位
置を設定するもので、本実施例では前記タイマ2
2と異なり、パルス数(ステツプ角)で設定する
ことにより、停止精度を高めている点で異なる。 Here, the pulse counter 38 is, for example, a preset counter, and the piece counter 37
When a peak detection signal is input from the traffic light 43
The digital switch 39 starts counting pulse signals input from the pulse generator 41 via the digital switch 39.
It has a function of outputting a motor stop signal to the pulse generator 41 via the signal line 44 when the set number of pulses is reached. On the other hand, similarly to the timer 22 according to the prior art, the stop position setting digital switch 39 adjusts the stepping motor 11 according to the diameter of the container body 1, the step angle of the stepping motor 11, the mounting position of the photoelectric sensor 31, etc. In this embodiment, the timer 2 is used to set the stop position of the timer 2.
This differs from No. 2 in that the stopping accuracy is increased by setting the number of pulses (step angle).
また、前記モータ制御回路40は信号線45を
介して後述の切換回路46から入力されるモータ
起動信号に基づいてクロツクパルスからなるステ
ツピングモータ駆動用のパルス信号の発生を開始
し、信号線44を介してパルスカウンタ38から
モータ停止信号に基づいてパルス信号の発生を停
止するパルス発生器41と、該パルス発生器41
からのパルス信号によつてステツピングモータ1
1を駆動するモータ駆動回路42とから構成され
る。なお、パルス発生器41は信号線44,45
からの信号に基づいて発信の開始、停止を行なう
形式のものに限ることなく、信号線44,45を
廃止して図中点線として示す如く信号線44′,
45′をモータ駆動回路42に接続してもよい。
この場合には、パルス発生器41は常時クロツク
パルスを発生する機能のみを有し、モータ駆動回
路42は信号線45′からのモータ起動信号に基
づいてステツピングモータ11へのパルス信号の
ゲートを開き、信号線44′からのモータ停止信
号に基づいてゲートを閉じることになり、従来技
術におけるモータ駆動回路23と同様の構成とな
る。 Further, the motor control circuit 40 starts generating a pulse signal for driving the stepping motor consisting of a clock pulse based on a motor start signal inputted from a switching circuit 46 (to be described later) via a signal line 45. a pulse generator 41 that stops generating pulse signals based on a motor stop signal from the pulse counter 38 via the pulse generator 41;
The stepping motor 1 is activated by the pulse signal from
1 and a motor drive circuit 42 that drives the motor. Note that the pulse generator 41 is connected to signal lines 44 and 45.
The signal lines 44 and 45 can be eliminated and the signal lines 44',
45' may be connected to the motor drive circuit 42.
In this case, the pulse generator 41 only has the function of constantly generating clock pulses, and the motor drive circuit 42 opens the gate of the pulse signal to the stepping motor 11 based on the motor start signal from the signal line 45'. , the gate is closed based on the motor stop signal from the signal line 44', and the configuration is similar to that of the motor drive circuit 23 in the prior art.
さらに、46は例えばC−MOS半導体素子等
から構成される切換回路、47は従来技術による
位置検出センサ25と同様に搬送手段によつて搬
送されてくる容器本体1を載置したホルダ15が
所定位置に到来したことを検出する位置検出セン
サ、48は搬送手段によつて搬送される容器本体
1の種類が変わる毎に操作され、ピークホールド
回路34にピーク値電圧を記憶せしめるためのテ
ストスイツチをそれぞれ示す。ここで、前記切換
回路46の入力側は位置検出センサ47、テスト
スイツチ48と接続され、出力側は信号線45を
介してパルス発生器41(または信号線45′を
介してモータ駆動回路42)と接続されると共
に、そのBUSY端子はピークホールド回路34
と接続されている。そして、切換回路46は、常
時は位置検出センサ47が差動したときにモータ
起動信号を信号線45に出力し、テストスイツチ
48が押動したときにはピークホールド回路34
にBUSY信号を出力してピーク値電圧の更新を
行なわせる機能を有する。 Further, reference numeral 46 denotes a switching circuit constituted by, for example, a C-MOS semiconductor element, and 47 denotes a holder 15 on which the container main body 1 carried by a conveying means is placed in a predetermined position, similar to the position detection sensor 25 according to the prior art. A position detection sensor 48 for detecting the arrival at the position is operated every time the type of container body 1 conveyed by the conveyance means changes, and operates a test switch for storing the peak value voltage in the peak hold circuit 34. Each is shown below. Here, the input side of the switching circuit 46 is connected to a position detection sensor 47 and a test switch 48, and the output side is connected to the pulse generator 41 via a signal line 45 (or to the motor drive circuit 42 via a signal line 45'). The BUSY terminal is connected to the peak hold circuit 34.
is connected to. The switching circuit 46 normally outputs a motor start signal to the signal line 45 when the position detection sensor 47 is differentially actuated, and outputs the motor start signal to the signal line 45 when the test switch 48 is pressed.
It has the function of outputting a BUSY signal to update the peak value voltage.
本実施例は前述のように構成されるが、次にそ
の作動について、第2図を参照しつつ述べる。 The present embodiment is constructed as described above, and its operation will now be described with reference to FIG. 2.
まず、ピークホールド回路34には搬送手段に
よつて搬送されてくる一連の容器本体1に付され
た合マーク3に関するピーク値電圧が記憶されて
いるものとする(第2図ハ参照)。 First, it is assumed that the peak hold circuit 34 stores the peak value voltages related to the match marks 3 attached to a series of container bodies 1 transported by the transport means (see FIG. 2C).
いま、位置検出センサ47がホルダ15の到来
を検出すると、該センサ47は第2図トに示す検
出信号を切換回路46に出力する。これによつて
前記切換回路46は信号線45からパルス発生器
41にモータ起動信号を出力し、該パルス発生器
41からパルス信号を発生させる。この結果、パ
ルス発生器41からのパルス信号はモータ駆動回
路42からステツピングモータ11に印加され、
該ステツピングモータ11を所定のステツプ角で
回転せしめる(第2図チ参照)。この状態で、ホ
ルダ15がホルダ着脱装置14の位置を到達する
と、該ホルダ15はこれに磁着されて一体回転
し、これと共に容器本体1も回転する。 Now, when the position detection sensor 47 detects the arrival of the holder 15, the sensor 47 outputs a detection signal shown in FIG. As a result, the switching circuit 46 outputs a motor start signal to the pulse generator 41 from the signal line 45, and causes the pulse generator 41 to generate a pulse signal. As a result, the pulse signal from the pulse generator 41 is applied to the stepping motor 11 from the motor drive circuit 42,
The stepping motor 11 is rotated at a predetermined step angle (see FIG. 2). In this state, when the holder 15 reaches the position of the holder attachment/detachment device 14, the holder 15 is magnetically attached to it and rotates together with it, and the container body 1 also rotates together with it.
然るに、光電センサ31が容器本体1の合マー
ク3を検出すると、該光電センサ31からの検出
信号、例えば第2図イに示す検出信号は増幅回路
32を介して負成分反転回路33に入力され、検
出信号のうち負の成分のみが反転されて第2図ロ
に示す双子山の如き信号波形に変換される。次
に、負成分反転回路33からの信号は信号線36
を介して比較回路35に入力され、該比較回路3
5はピークホールド回路34に記憶されているピ
ーク値電圧に基づく基準値(例えば第2図ハ,ロ
に示す点線参照)と、前記負成分反転回路33か
らの信号とを比較し、基準値以上であれば第2図
ニに示すパルス信号を次段のピークカウンタ37
を出力する。 However, when the photoelectric sensor 31 detects the match mark 3 on the container body 1, the detection signal from the photoelectric sensor 31, for example, the detection signal shown in FIG. , only the negative component of the detected signal is inverted and converted into a signal waveform like the twin peaks shown in FIG. 2(b). Next, the signal from the negative component inversion circuit 33 is transmitted to the signal line 36.
is input to the comparator circuit 35 via the comparator circuit 3
5 compares the reference value based on the peak value voltage stored in the peak hold circuit 34 (for example, see the dotted lines shown in FIG. 2 C and B) with the signal from the negative component inversion circuit 33, If so, the pulse signal shown in FIG.
Output.
ここで、前記ピークカウンタ37にはプリセツ
ト値として予め4パルスが設定されているから、
ステツピングモータ11の1回転毎に2パルスを
計数し、合計4パルスに達したとき第2図ホに示
すピーク検出信号をパルスカウンタ38に出力す
る。ここで、ピークカウンタ37に4パルスをプ
リセツトする理由は、第1にステツピングモータ
11を定格状態で回転しているときの合マーク3
を検出することによつて検出精度を高め、第2に
ステツピングモータ11の1回目の回転では検出
信号を基準値と比較して合マーク3を判別し、2
回目の回転で再び同じ検出信号が得らたときをも
つて合マーク3の位置と判定させるためであり、
第3に前記第2の理由によつて傷、汚れ、変形、
偏心等による誤検出を防止するためである。 Here, since 4 pulses are set in advance as a preset value in the peak counter 37,
Two pulses are counted for each rotation of the stepping motor 11, and when a total of four pulses is reached, a peak detection signal shown in FIG. Here, the reason why 4 pulses are preset in the peak counter 37 is as follows: First, when the stepping motor 11 is rotating at the rated condition, the timing mark 3
Second, during the first rotation of the stepping motor 11, the detection signal is compared with the reference value to determine the match mark 3, and
This is to determine the position of match mark 3 when the same detection signal is obtained again in the second rotation.
Thirdly, due to the second reason, scratches, dirt, deformation, etc.
This is to prevent false detection due to eccentricity or the like.
上記のようにしてパルスカウンタ38にピーク
検出信号が入力されると、該カウンタ38は信号
線43を介して入力されるパルス発生器41から
のパルス信号用のゲートを開いて、当該パルス信
号の計数を開始する。そして、停止位置設定用デ
ジタルスイツチ39によつて設定されて所定値
(例えばステツピングモータ11の1回転が400ス
テツプで、合マーク3の検出後9°で停止させるな
らば10パルスが設定される)に達すると、パルス
カウンタ38からパルス発生器41に信号線44
を介してモータ停止信号が出力される(第2図ヘ
参照)。この結果、パルス発生器41からのパル
ス信号の発生は停止し、モータ駆動回路42から
ステツピングモータ11への出力も停止し(第2
図チ参照)、該ステツピグモータ11は停止する。 When the peak detection signal is input to the pulse counter 38 as described above, the counter 38 opens the gate for the pulse signal from the pulse generator 41 input via the signal line 43, and Start counting. Then, the stop position setting digital switch 39 sets a predetermined value (for example, if one rotation of the stepping motor 11 is 400 steps and the motor is stopped at 9 degrees after detection of match mark 3, 10 pulses are set). ), the signal line 44 is connected from the pulse counter 38 to the pulse generator 41.
A motor stop signal is output via the motor (see Fig. 2). As a result, the generation of pulse signals from the pulse generator 41 is stopped, and the output from the motor drive circuit 42 to the stepping motor 11 is also stopped (second
(see Figure H), the step pig motor 11 stops.
かくして、ホルダ15と共に容器本体1が所定
位置で停止したことになり、ホルダ15はホルダ
着脱装置14から脱着され、搬送手段によつて再
び次工程に搬送される。 Thus, the container body 1 together with the holder 15 is stopped at a predetermined position, and the holder 15 is detached from the holder attachment/detachment device 14 and conveyed again to the next process by the conveyance means.
さらに、容器本体1が変わり、合マーク3との
間の色差が変化したときには、テストスイツチ4
8を押動する。これにより、切換回路46からピ
ークホール回路34にBUSY信号が出力され、
該ピークホールド回路34内のピーク値電圧をリ
セツトし負成分反転回路33から入力される検出
信号のうち、最高電圧をピーク値電圧として更新
記憶する。従つて、本実施例では比較回路35は
ピークホールド回路34内のピーク値電圧に基づ
いて基準値を自動的に定めることができる。 Furthermore, when the container body 1 changes and the color difference between it and the matching mark 3 changes, the test switch 4
Press 8. As a result, a BUSY signal is output from the switching circuit 46 to the peak hall circuit 34,
The peak value voltage in the peak hold circuit 34 is reset, and the highest voltage among the detection signals inputted from the negative component inverting circuit 33 is updated and stored as the peak value voltage. Therefore, in this embodiment, the comparison circuit 35 can automatically determine the reference value based on the peak value voltage in the peak hold circuit 34.
本発明の実施例は以上の如くであつて、実施例
では被検出体として容器本体1を例に挙げたが、
これに限ることなく回転体には広く適用しうるも
のであり、例えば自動ラベル貼着装置、容器自動
印刷機、自動工作機、工業用ロボツト等のマーク
検出装置としても適用しうる。また、ピークホー
ルド回路34には検出信号のピーク値をピーク値
電圧として記憶するものとして述べたが、基準値
を記憶させてもよい。さらに、ピークカウンタ3
7には4パルスを設定するものとして述べたが、
6パルス(ステツピングモータ11が3回転の場
合)以上を設定してもよい。 The embodiments of the present invention are as described above, and in the embodiments, the container body 1 was taken as an example of the object to be detected.
The present invention is not limited to this, but can be widely applied to rotating bodies, and can also be applied, for example, to mark detection devices such as automatic labeling devices, automatic container printers, automatic machine tools, and industrial robots. Further, although it has been described that the peak value of the detection signal is stored in the peak hold circuit 34 as a peak value voltage, a reference value may be stored in the peak hold circuit 34. Furthermore, peak counter 3
7 is described as setting 4 pulses, but
It is also possible to set 6 pulses or more (when the stepping motor 11 rotates 3 times).
本発明に係る被検出体のマーク無調整検出装置
は以上詳述した如くであるから、地色とマークと
の色差に関係なく比較回路による基準値を自動的
に設定することができ、また被検出体を2回ない
しそれ以上回転せしめることにより安定的にかつ
高精度なマーク検出を行なうことができ、さらに
ステツピングモータの停止位置はパルス演算によ
つて行なうから停止時の位置決め精度を向上させ
ることができる等の効果を奏する。
Since the mark-adjustment-free detection device for the object to be detected according to the present invention is as described in detail above, the reference value can be automatically set by the comparison circuit regardless of the color difference between the ground color and the mark, and the reference value can be automatically set by the comparison circuit. By rotating the detection object twice or more, stable and highly accurate mark detection can be performed, and since the stopping position of the stepping motor is determined by pulse calculation, the positioning accuracy when stopped is improved. It has the following effects:
第1図および第2図は本発明の実施例に係り、
第1図は回路構成図、第2図イ〜チは各信号の波
形線図、第3図ないし第7図は従来技術に係り、
第3図は圧着前のチユーブ容器を示す斜視図、第
4図は圧着後のチユーブ容器を示す斜視図、第5
図は地色が白地である場合の合マークの検出信号
を示す波形線図、第6図は地色が黒地である場合
の合マークの検出信号を示す波形線図、第7図は
従来技術による回路構成図を示す。
1……容器本体、3……合マーク、11……ス
テツピングモータ、31……光電センサ、33…
…負成分反転回路、34……ピークホールド回
路、37……ピークカウンタ、38……パルスカ
ウンタ、39……停止位置設定用デジタルスイツ
チ、40……モータ制御回路、41……パルス発
生器、42……モータ駆動回路、46……切換回
路、47……位置検出センサ、48……テストス
イツチ。
FIGS. 1 and 2 relate to embodiments of the present invention,
Figure 1 is a circuit configuration diagram, Figures 1 to 2 are waveform diagrams of each signal, and Figures 3 to 7 are related to the prior art.
Fig. 3 is a perspective view showing the tube container before crimping, Fig. 4 is a perspective view showing the tube container after crimping, and Fig. 5 is a perspective view showing the tube container before crimping.
The figure is a waveform diagram showing the detection signal of a matching mark when the background color is white, Figure 6 is a waveform diagram showing the detection signal of a matching mark when the background color is black, and Figure 7 is a conventional technique. The circuit configuration diagram is shown below. 1... Container body, 3... Matching mark, 11... Stepping motor, 31... Photoelectric sensor, 33...
... Negative component inversion circuit, 34 ... Peak hold circuit, 37 ... Peak counter, 38 ... Pulse counter, 39 ... Digital switch for setting stop position, 40 ... Motor control circuit, 41 ... Pulse generator, 42 ...Motor drive circuit, 46...Switching circuit, 47...Position detection sensor, 48...Test switch.
Claims (1)
回転するモータ制御回路と、前記ステツピングモ
ータによつて回転せしめられる被検出体のマーク
を検出する光電センサと、該光電センサによる検
出信号のうち負成分のみを反転させる負成分反転
回路と、該負成分反転回路から出力される信号を
記憶するピークホールド回路と、前記負成分反転
回路とピークホールト回路からの各信号を比較
し、基準値以上のとき信号を出力する比較回路
と、該比較回路からの信号を計数し、所定数に達
したときピーク検出信号を出力するピークカウン
タと、該ピークカウンタからの信号に基づいて前
記モータ制御回路からのパルス信号を計数し、予
め設定した所定数に達したとき前記モータ制御回
路にモータ停止信号を出力するパルスカウンタと
から構成してなる被検出体のマーク無調整検出装
置。 2 前記ピークホールド回路はテストスイツチを
作動したときのみピーク値を記憶するものである
特許請求の範囲1項記載の被検出体のマーク無調
整検出装置。 3 前記ピークカウンタは前記比較回路からパル
ス信号が4パルス入力されたときピーク検出信号
を出力するものである特許請求の範囲1項記載の
被検出体のマーク無調整検出装置。[Scope of Claims] 1. A motor control circuit that rotates a stepping motor based on a pulse signal, a photoelectric sensor that detects a mark on a detected object rotated by the stepping motor, and detection by the photoelectric sensor. A negative component inversion circuit that inverts only the negative component of the signal, a peak hold circuit that stores the signal output from the negative component inversion circuit, and each signal from the negative component inversion circuit and the peak hold circuit is compared. , a comparison circuit that outputs a signal when the signal is equal to or greater than a reference value; a peak counter that counts the signals from the comparison circuit and outputs a peak detection signal when the signal reaches a predetermined value; A non-adjustable mark detection device for a detected object, comprising a pulse counter that counts pulse signals from a motor control circuit and outputs a motor stop signal to the motor control circuit when a predetermined number is reached. 2. The non-adjustable mark detection device for a detected object according to claim 1, wherein the peak hold circuit stores the peak value only when a test switch is activated. 3. The non-adjustable mark detection device for a detected object according to claim 1, wherein the peak counter outputs a peak detection signal when four pulses of the pulse signal are input from the comparison circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3852085A JPS61196108A (en) | 1985-02-27 | 1985-02-27 | Adjustment-free mark detector for object to be detected |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3852085A JPS61196108A (en) | 1985-02-27 | 1985-02-27 | Adjustment-free mark detector for object to be detected |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61196108A JPS61196108A (en) | 1986-08-30 |
| JPH0352882B2 true JPH0352882B2 (en) | 1991-08-13 |
Family
ID=12527548
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3852085A Granted JPS61196108A (en) | 1985-02-27 | 1985-02-27 | Adjustment-free mark detector for object to be detected |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61196108A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63149674A (en) * | 1986-12-15 | 1988-06-22 | Canon Inc | Developer detection device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS52106917A (en) * | 1976-03-04 | 1977-09-08 | Ricoh Kk | Type head position controller |
| JPS56117677A (en) * | 1980-02-21 | 1981-09-16 | Tokyo Electric Co Ltd | Printing device |
-
1985
- 1985-02-27 JP JP3852085A patent/JPS61196108A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61196108A (en) | 1986-08-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2151916A1 (en) | Method and Apparatus for Belt Conveyor Load Tracking | |
| US6561246B2 (en) | Labeling machine capable of precise attachment of a label to different sizes of containers | |
| US3451523A (en) | Container orienter | |
| FI895472A0 (en) | A method for determining a viral antigen in a liquid and packaging material therefor | |
| JPH0352882B2 (en) | ||
| US4363693A (en) | Full-auto labeling system | |
| US4422026A (en) | Servo control arrangement utilizing alternately energized light sources and a single photodetector | |
| EP0699608A4 (en) | BELT CONVEYOR | |
| JP3044518B2 (en) | Human body detection device | |
| JPH0650894A (en) | Optical sample measuring apparatus | |
| JPS6446808A (en) | Correcting system for position shift of commodity transfer device | |
| JP4132251B2 (en) | Cylindrical outer peripheral surface label bonding position detection device | |
| JP2626517B2 (en) | Paper transport controller | |
| KR950031849A (en) | Conveying equipment | |
| JPH07320702A (en) | Label phase detector for cylindrical battery | |
| JPS54121752A (en) | Method of aligning optical axes of semiconductor laser and optical transmission path and apparatus for the same | |
| JPS63109352A (en) | Apparatus for inspecting flaw of transparent container | |
| JP2702998B2 (en) | Signal processing circuit for minimum value detection | |
| JPH01305328A (en) | Detecting circuit for intensity of light | |
| JPH02239720A (en) | Photoelectric switch | |
| SU471554A1 (en) | Device for measuring the phasic shift between two sinusoidal voltages | |
| SU1170400A1 (en) | Method of measuring gravity | |
| JPH02235735A (en) | Paste-applying device | |
| JPS6024411B2 (en) | Photometric conversion device | |
| JPH04343073A (en) | Simplified system for monitoring voltage |