JPH0547301B2 - - Google Patents
Info
- Publication number
- JPH0547301B2 JPH0547301B2 JP11953783A JP11953783A JPH0547301B2 JP H0547301 B2 JPH0547301 B2 JP H0547301B2 JP 11953783 A JP11953783 A JP 11953783A JP 11953783 A JP11953783 A JP 11953783A JP H0547301 B2 JPH0547301 B2 JP H0547301B2
- Authority
- JP
- Japan
- Prior art keywords
- mark
- axis direction
- press
- printed
- detected
- 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
- 238000000034 method Methods 0.000 claims description 43
- 238000004080 punching Methods 0.000 claims description 32
- 230000002950 deficient Effects 0.000 claims description 25
- 230000000007 visual effect Effects 0.000 claims description 23
- 230000005856 abnormality Effects 0.000 claims description 4
- 238000007689 inspection Methods 0.000 claims 1
- 238000001514 detection method Methods 0.000 description 16
- 230000007547 defect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000005286 illumination Methods 0.000 description 4
- 239000000463 material Substances 0.000 description 3
- 239000000872 buffer Substances 0.000 description 2
- 238000007493 shaping process Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000003973 paint Substances 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23Q—DETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
- B23Q15/00—Automatic control or regulation of feed movement, cutting velocity or position of tool or work
- B23Q15/20—Automatic control or regulation of feed movement, cutting velocity or position of tool or work before or after the tool acts upon the workpiece
- B23Q15/22—Control or regulation of position of tool or workpiece
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/50—Machine tool, machine tool null till machine tool work handling
- G05B2219/50386—Feeder, feeding of workpiece, bar
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Description
【発明の詳細な説明】
本発明はプレス制御方式に係り、特にプレス打
抜き印刷部が多数印刷された1枚の元板を視覚手
段を用いて順次位置決めするようにしたプレス制
御方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a press control system, and more particularly to a press control system in which a single base plate on which a large number of press punching printing parts are printed is sequentially positioned using visual means.
一般に、ワークをプレス機械によつて加工する
場合、ワークの加工基準位置がプレス機械におけ
る加工位置(例えばダイセンタ)に一致するよう
にワークを該プレス機械に供給するようにしてい
る。また、特に上記ワークに印刷した図形をプレ
ス機械で打ち抜く加工を行なう際には、上記ワー
クのプレス機械に対する位置決め精度を高くする
必要がある。 Generally, when a workpiece is processed by a press machine, the workpiece is fed to the press machine such that the processing reference position of the workpiece coincides with the processing position (eg, die center) in the press machine. Further, especially when punching out a figure printed on the workpiece using a press machine, it is necessary to increase the accuracy of positioning the workpiece with respect to the press machine.
従来のプレス打抜き工程としては、第1図に示
すように、打抜き銘板の印刷部PPと印刷部PPの
打抜き時の位置決めに用いるマークMとが多数印
刷された元板1をシヤーによつて幾つかの分割板
に分割し(工程())、この分割板のマークMに
従い卓上ドリルによつてガイド穴M′をあけ(工
程())、このガイド穴M′をプレス機械の金型
2のガイドピン2aに差し込むことにより印刷部
1aの位置決めを行ない(工程())、製品3を
打抜くようにしている。 In the conventional press punching process, as shown in FIG. Divide it into two divided plates (step ()), drill a guide hole M' with a bench drill according to the mark M on this divided plate (step ()), and insert this guide hole M' into mold 2 of the press machine. The printing part 1a is positioned by inserting it into the guide pin 2a (step ()), and the product 3 is punched out.
しかしながら、かかる従来方式ではワークをプ
レス機械に連続して供給することが困難であり、
またワークにガイド穴を形成する手間を要するの
で作業能率が低下するという不都合を生じてい
た。 However, with this conventional method, it is difficult to continuously feed the workpiece to the press machine.
Further, since it requires time and effort to form guide holes in the workpiece, there is an inconvenience that work efficiency is reduced.
かかる従来の問題を解決するために、最近視覚
手段を用いて材料の位置決めを行なうプレス制御
方式が提案されている。 In order to solve these conventional problems, a press control system has recently been proposed that uses visual means to position the material.
このプレス制御方式を説明すると、第2図に示
すようにカメラ12を有するプレス機械10にフ
イーダ装置20によつて元板1をX軸方向および
Y軸方向に供給し、まず、第3図に示すようにカ
メラ12の視野内にマークMが入るように粗い位
置決めを行なう。続いて、元板1をX軸方向に位
置XsからXEまでフイードさせるとともに(副走
査)、視覚手段によつてY軸方向に所定の視野V
で主走査する。 To explain this press control system, as shown in FIG. 2, the base plate 1 is fed in the X-axis direction and the Y-axis direction by the feeder device 20 to the press machine 10 having the camera 12, and first, as shown in FIG. Rough positioning is performed so that the mark M is within the field of view of the camera 12 as shown. Next, the original plate 1 is fed in the X-axis direction from position Xs to XE (sub-scanning), and a predetermined field of view V is set in the Y-axis direction by visual means.
to main scan.
そして、副走査の中心位置Xc、マークMの中
心位置CとのX軸方向のずれ量xは、最初にマー
クMを検出したときの副走査位置Xaと最後にマ
ークMを検出したときの副走査位置Xbとの平均
値と副走査中心位置Xcとの差によつて検出する。
また、主走査の中心位置Ycと基準マークMの中
心位置CとのY軸方向のずれ量yは、主走査時に
おける視野上限から基準マークMまでの距離laと
基準マークMを外れてから視野下限までの距離lc
との差の平均値によつて検出する。 Then, the deviation amount x in the X-axis direction between the sub-scanning center position Xc and the center position C of the mark M is the sub-scanning position Xa when the mark M is first detected and the It is detected based on the difference between the average value of the scanning position Xb and the sub-scanning center position Xc.
In addition, the amount of deviation y in the Y-axis direction between the center position Yc of the main scanning and the center position C of the reference mark M is the distance la from the upper limit of the field of view to the reference mark M during main scanning, and the field of view after leaving the reference mark M. Distance to lower limit lc
It is detected by the average value of the difference.
ここで、カメラ12とプレス機械10の打抜き
中心Wとの位置関係は予め設定されているため、
元板を打抜き中心Wに供給する際には上記予め設
定した移動量を前記検出したX軸方向のずれ量x
およびY軸方向のずれ量yによつて補正し、この
補正した移動量で元板を供給するようにしてい
る。 Here, since the positional relationship between the camera 12 and the punching center W of the press machine 10 is set in advance,
When supplying the original plate to the punching center W, the preset movement amount is changed to the detected deviation amount x in the X-axis direction.
Then, the displacement amount y in the Y-axis direction is corrected, and the original plate is supplied with the corrected movement amount.
ところで、一般に、プレスの前工程として印刷
上がりの元板1(第1図参照)は、目視によつて
検査され、印刷不良や傷等の欠陥のある印刷部
PPはX印等が付される。そして、この欠陥のあ
る印刷部PPは打ち抜かないように、プレス開始
前に、予め欠陥のある印刷部PPの位置データを
操作パネル等を用いて記憶させておき、その記憶
位置では位置決めを行なわないようにした方式が
提案されている。 By the way, in general, as a pre-press process, the printed base plate 1 (see Figure 1) is visually inspected to detect any defects such as printing defects or scratches.
PP is marked with an X mark, etc. In order to prevent this defective printed part PP from being punched out, the position data of the defective printed part PP is stored in advance using an operation panel, etc. before the press starts, and positioning is not performed at that memorized position. A method has been proposed that does this.
かかる方式は、欠陥のある印刷部PPの位置デ
ータの入力に多大な時間を要し、極めて煩雑であ
り、また入力ミス等の問題もあつた。 This method requires a lot of time to input the position data of the defective printing part PP, is extremely complicated, and also has problems such as input errors.
また、上記視覚手段を用いて位置決めを行なう
方式においては、視覚手段が正常に動作していな
い場合には、マーク中心位置を正確に捕えること
ができず、誤つた打抜きを行なうおそれがあつ
た。 In addition, in the method of positioning using the visual means, if the visual means is not operating normally, the center position of the mark cannot be accurately determined, and there is a risk of erroneous punching.
本発明は上記実情に鑑みてなされたもので、そ
の第1の目的は予めチエツクされた欠陥印刷部を
データを与えることなく振り分けることができる
プレス制御方式を提供することにある。 The present invention has been made in view of the above-mentioned circumstances, and its first object is to provide a press control system that can sort out defective printed portions that have been checked in advance without providing any data.
また、第2の目的は視覚手段が正常に動作して
いない場合を自動的に検知し、異常を知らせると
ともにその後の動作を停止することができるプレ
ス制御方式を提供することにある。 A second object is to provide a press control system that can automatically detect when the visual means is not operating normally, notify the user of the abnormality, and stop the subsequent operation.
この発明によれば上記第1の目的を達成するた
めに、予め元板の印刷上がりの検査時に、欠陥の
ある印刷部に対応するマーク部分を塗りつぶして
おき、プレス加工に際しては視覚手段によるマー
ク中心位置の検出とともに該マークの面積を算出
し、この算出した面積が実際のマークの面積より
も所定値以上ずれたときそのマーク番号を記憶
し、この記憶したマーク番号に基づいて欠陥印刷
部の振り分けを行なうようにしている。また、第
2の目的を達成するために、上述のようにして記
憶したマーク番号が連続して予め設定した数以上
であるとき、異常のあつたことを知らせるととも
に、その後の動作を停止するようにしている。 According to the present invention, in order to achieve the above first object, when inspecting the finished printing of the original plate, the mark portion corresponding to the defective printed part is filled in in advance, and during press processing, the mark is centered by visual means. When the position is detected, the area of the mark is calculated, and when the calculated area deviates from the actual mark area by more than a predetermined value, the mark number is stored, and the defective printed parts are distributed based on the stored mark number. I try to do this. In addition, in order to achieve the second purpose, when the mark numbers stored as described above are consecutively greater than or equal to a preset number, the system notifies the user that an abnormality has occurred and stops the subsequent operation. I have to.
以下、本発明を添付図面を参照して詳細に説明
する。 Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
第2図は、本発明に係るプレス制御方式を適用
するプレス機械10およびフイーダ装置20の概
要を示し、同図においてプレス機械10のフレー
ム適所には、台座11を介してカメラ12が取り
付けられている。該カメラ12は、Y軸方向に沿
つて配設されたラインイメージセンサ(図示せ
ず)を内蔵している。また、照明スタンド13に
は照明器14が配設されている。 FIG. 2 shows an overview of a press machine 10 and a feeder device 20 to which the press control system according to the present invention is applied. There is. The camera 12 includes a line image sensor (not shown) arranged along the Y-axis direction. Further, an illuminator 14 is disposed on the illumination stand 13.
上記フイーダ装置20は、板状の元板1を把持
するクランパ23、該クランパ23をX軸方向に
付設したはり24上で移動させるクランパキヤリ
ア25、上記はり24に付設され元板1を支持す
るテーブル26,27、該テーブル26,27を
Y軸方向へ案内するレールを備えかつテーブル2
6,27を支持する壁部28,29、該壁部28
および29を結合する壁部30、上記はり24に
付設されためネジ部24aに螺合してY軸方向へ
上記はり24およびテーブル26,27を移動さ
せる移動軸31、上記壁部28および29を結合
する橋材32、該橋材32に付設された上記駆動
軸31用の軸受33、上記駆動軸31に付設され
たプーリ34をベルト35を介して駆動する駆動
プーリ36および上記元板1を位置決め制御する
制御部37からなる。なお、上記クランパキヤリ
ア25および駆動プーリ36は図示しないモータ
によつて各別に作動される。 The feeder device 20 includes a clamper 23 that grips the plate-shaped base plate 1, a clamper carrier 25 that moves the clamper 23 on a beam 24 attached in the X-axis direction, and a clamper carrier 25 that is attached to the beam 24 and supports the base plate 1. The table 2 includes tables 26 and 27 and rails that guide the tables 26 and 27 in the Y-axis direction.
walls 28 and 29 that support 6 and 27;
and 29, a moving shaft 31 attached to the beam 24 and screwed into the internal thread 24a to move the beam 24 and tables 26, 27 in the Y-axis direction, and the walls 28 and 29. The bridge material 32 to be coupled, the bearing 33 for the drive shaft 31 attached to the bridge material 32, the drive pulley 36 that drives the pulley 34 attached to the drive shaft 31 via the belt 35, and the base plate 1. It consists of a control section 37 that performs positioning control. The clamper carrier 25 and drive pulley 36 are each operated by a motor (not shown).
第4図は、本発明に係るプレス制御方式を適用
した制御装置の一実施例を示している。同図にお
いて、センサ制御部40は上記カメラ12に対し
て走査指令信号S1を出力するとともに該カメラ1
2から出力される撮像信号S2に後述する処理を加
えるものであり、その出力はセンサインターフエ
ース41およびバスライン42を介してCPU(中
央処理装置)43に加えられる。 FIG. 4 shows an embodiment of a control device to which the press control method according to the present invention is applied. In the figure, a sensor control unit 40 outputs a scanning command signal S 1 to the camera 12 and also outputs a scanning command signal S 1 to the camera 12.
The processing to be described later is applied to the imaging signal S 2 output from the sensor interface 41 and the output thereof is applied to a CPU (central processing unit) 43 via a sensor interface 41 and a bus line 42 .
X軸駆動部44は、前記クランパキヤリア25
を駆動するものであり、クランパキヤリア25に
設けられたねじ部25aに螺合してクランパキヤ
リア25を移動させる駆動軸44a、該駆動軸4
4aを回転するモータ44b、上記駆動軸44a
にその軸が連動して位相の相異なる同一波形の2
つのパルス信号P1,P2を発生するパルスエンコ
ーダ44c、上記モータ44bに付設されてその
回転速度に比例した信号を出力する速度検出器4
4dおよび上記モータ44bに駆動信号を与える
サーボアンプ44eから構成されている。 The X-axis drive section 44 is connected to the clamper carrier 25.
A drive shaft 44a that is screwed into a threaded portion 25a provided on the clamper carrier 25 to move the clamper carrier 25;
4a, a motor 44b that rotates the drive shaft 44a;
The axes are interlocked to create two identical waveforms with different phases.
A pulse encoder 44c that generates two pulse signals P1 and P2 , and a speed detector 4 that is attached to the motor 44b and outputs a signal proportional to its rotational speed.
4d and a servo amplifier 44e that provides a drive signal to the motor 44b.
Y軸駆動部45は、前記はり24およびテーブ
ル26,27を駆動するものであり、前記駆動プ
ーリ36を駆動するモータ45a、該モータ45
aの軸にその軸が連動して位相が相異なる同一波
形の2つのパルス信号P3,P4を発生するパルス
エンコーダ45b、上記モータ45aの回転速度
を検出する速度検出器45cおよび上記モータ4
5aに駆動信号を与えるサーボアンプ45dから
構成されている。 The Y-axis drive unit 45 drives the beam 24 and the tables 26 and 27, and includes a motor 45a that drives the drive pulley 36, and a motor 45a that drives the drive pulley 36.
a pulse encoder 45b whose axis is interlocked with the axis of a and generates two pulse signals P 3 and P 4 of the same waveform with different phases; a speed detector 45c which detects the rotational speed of the motor 45a; and a speed detector 45c which detects the rotational speed of the motor 45a.
It is comprised of a servo amplifier 45d that provides a drive signal to 5a.
なお、上記速度検出器44dとサーボアンプ4
4eおよび上記速度検出器45cとサーボアンプ
45dは速度フイードバツクループを構成してい
る。 Note that the speed detector 44d and the servo amplifier 4
4e, the speed detector 45c, and the servo amplifier 45d constitute a speed feedback loop.
上記パルスエンコーダ44cおよび45bの出
力パルス信号は、それぞれ正転逆転判別回路46
および47に加えられる。該正転逆転判別回路4
6および47は、それぞれパルス信号P1とP2の
位相関係およびパルス信号P3とP4の位相関係か
ら上記モータ44および45が正転しているか逆
転しているかを判別し、モータが正転していると
判別した際には論理レベル「H」の信号S3および
S4を出力し、また上記パルス信号P1(またはP2)
およびパルス信号P3(またはP4)が所定数入力す
る毎にX軸およびY軸が1ステツプ移動したこと
をあらわす移動パルス信号P5およびP6をそれぞ
れ出力する。しかして、上記信号S3およびパルス
信号P5はアツプダウンカウンタ48の制御入力
端U/およびクロツク入力端CKに加えられる
とともに上記センサ制御部40に加えられ、また
上記信号S4およびパルス信号P6はアツプダウン
カウンタ49の制御入力端U/およびクロツク
入力端CKにそれぞれ加えられる。 The output pulse signals of the pulse encoders 44c and 45b are transmitted to a forward/reverse discrimination circuit 46, respectively.
and added to 47. The forward/reverse rotation discrimination circuit 4
6 and 47 determine whether the motors 44 and 45 are rotating in the normal direction or in the reverse direction from the phase relationship between the pulse signals P 1 and P 2 and the phase relationship between the pulse signals P 3 and P 4 , respectively. When it is determined that the
Output S 4 and also the above pulse signal P 1 (or P 2 )
Each time a predetermined number of pulse signals P 3 (or P 4 ) are input, movement pulse signals P 5 and P 6 representing that the X-axis and Y-axis have moved by one step are output, respectively. Thus, the signal S 3 and the pulse signal P 5 are applied to the control input terminal U/ and the clock input terminal CK of the up-down counter 48, and are also applied to the sensor control section 40, and the signal S 4 and the pulse signal P 6 is applied to the control input U/ and the clock input CK of the up-down counter 49, respectively.
上記アツプダウンカウンタ48および49の出
力は、それぞれX軸位置データおよびY軸位置デ
ータとしてバスライン42を介してCPU43に
加えられる。CPU43は、このX軸位置データ
およびY軸位置データに基づいておのおのの軸に
ついて位置偏差データを演算し、これをバスライ
ン42、デジタル−アナログ変換器50,51お
よび前置増幅器52,53を介して上記サーボア
ンプ44および45に出力する。 The outputs of the up-down counters 48 and 49 are applied to the CPU 43 via the bus line 42 as X-axis position data and Y-axis position data, respectively. The CPU 43 calculates position deviation data for each axis based on this X-axis position data and Y-axis position data, and calculates position deviation data for each axis via the bus line 42, digital-to-analog converters 50, 51, and preamplifiers 52, 53. and outputs to the servo amplifiers 44 and 45.
プレス機械10は、1つの元板1を加工して複
数個の打ち抜き板(例えば円板)を形成する。第
1図に示すように、元板1にはその各打ち抜き印
刷部の近傍に、該元板1と反射率の異なる円形の
マークMがおのおの設けられている。これらのマ
ークMの位置は、元板1がクランパ23によつて
所定箇所で把持されたさいのフイーダ装置20に
おけるおのおのの位置を該フイーダ装置20のX
座標およびY座標データとしてあらかじめメモリ
54に記録されている。勿論、この座標テーは、
元板1のセツテイング誤差や印刷ずれ等があるた
め、マークの中心位置を正確に表わしたものでは
ない。したがつて、後述するように、その位置を
補正する必要がある。 The press machine 10 processes one base plate 1 to form a plurality of punched plates (for example, disks). As shown in FIG. 1, the base plate 1 is provided with circular marks M having a different reflectance from that of the base plate 1 in the vicinity of each punched and printed portion thereof. The positions of these marks M are based on the X of the feeder device 20 when the original plate 1 is gripped at a predetermined position by the clamper 23.
It is recorded in advance in the memory 54 as coordinate and Y coordinate data. Of course, this coordinate table is
This does not accurately represent the center position of the mark due to setting errors of the original plate 1, printing misalignment, etc. Therefore, as will be described later, it is necessary to correct the position.
CPU43は、まず上記座標データに基づいて
元板1の粗い位置決めを行なう。このとき、ライ
ンイメージセンサは、例えば第3図の元板1上の
位置Xsをライン長さXで撮影している。 The CPU 43 first performs rough positioning of the base plate 1 based on the coordinate data. At this time, the line image sensor photographs, for example, a position Xs on the original plate 1 in FIG. 3 with a line length X.
しかして、CPU43は上記センサ制御部40
およびX軸駆動機構44を作動させて上記マーク
Mの中心位置Cを実測する。 Therefore, the CPU 43 controls the sensor control section 40.
Then, the X-axis drive mechanism 44 is operated to actually measure the center position C of the mark M.
第5図に示すように、上記センサインターフエ
ース41は、フリツプフロツプ41a、バスバツ
フア41b,41cおよび41dから構成され、
上記フリツプフロツプ41aの出力端Qは上記セ
ンサ制御部40を構成するアンド回路40aの1
入力端に接続され、上記バスバツフア41b,4
1cおよび41dの入力端Aには、カウンタ40
b,40cおよび40dのおのおのの出力端Qが
接続されている。 As shown in FIG. 5, the sensor interface 41 is composed of a flip-flop 41a, bus buffers 41b, 41c, and 41d.
The output terminal Q of the flip-flop 41a is one of the AND circuits 40a constituting the sensor control section 40.
connected to the input terminal, and the bus buffers 41b, 4
A counter 40 is connected to the input terminal A of 1c and 41d.
The output terminals Q of each of the terminals b, 40c and 40d are connected.
上記正転逆転判別回路46の出力信号S3および
パルス信号P5はアンド回路40eのおのおのの
入力端に加わつており、該アンド回路40eの出
力端は上記アンド回路40aの他入力端に接続さ
れている。しかして、該アンド回路40aの出力
信号は上記走査指令信号S1として上記カメラ12
の走査制御部12aに加えられ、また、遅延波形
整形回路40fを介して信号S5に変換されたのち
レジスタ55のラツチ指令入力端Lおよび上記
CPU43に加わる。 The output signal S 3 and the pulse signal P 5 of the forward/reverse discrimination circuit 46 are applied to each input terminal of the AND circuit 40e, and the output terminal of the AND circuit 40e is connected to the other input terminal of the AND circuit 40a. ing. Therefore, the output signal of the AND circuit 40a is sent to the camera 12 as the scanning command signal S1 .
The signal S5 is applied to the scan control section 12a of the register 55, and after being converted into the signal S5 via the delay waveform shaping circuit 40f, the latch command input terminal L of the register 55 and the above-mentioned
Joins CPU43.
上記走査制御部12aは、信号S1が加わるとラ
インイメージセンサ12bにスキヤンパルスP7
を加えて該ラインイメージセンサ12bの各受光
セルを順次走査し、また、該走査によつてライン
イメージセンサ12bから出力されるイメージ信
号S6が明部をあらわすものであるか否かを判別
し、明部をあらわす場合は明部区間信号S2aをそ
うでない場合は暗部区間信号S2bをそれぞれ出力
する。また、該走査制御部12aは、1走査開始
時点と終了時とでそれぞれスタート信号S7および
1走査終了信号S8を出力し、さらに上記ラインイ
メージセンサ12bの走査に同期したクロツク信
号P3を出力する。またさらに、該走査制御部1
2aは、上記マークMの反射率が元板1のそれよ
り小さい場合に論理レベル「H」の信号S9を出力
する。なお、上記ラインイメージセンサ12bに
画像を結集する光学系12cはレンズ等の組み合
わせで構成されている。 The scan control unit 12a sends a scan pulse P7 to the line image sensor 12b when the signal S1 is applied.
and sequentially scans each light receiving cell of the line image sensor 12b, and determines whether or not the image signal S6 output from the line image sensor 12b represents a bright area through the scanning. , when representing a bright area, a bright area section signal S 2a is output, and otherwise, a dark section signal S 2b is output. The scan control unit 12a also outputs a start signal S7 and a one-scan end signal S8 at the start and end of one scan, respectively, and further outputs a clock signal P3 synchronized with the scan of the line image sensor 12b. Output. Furthermore, the scanning control section 1
2a outputs a signal S9 of logic level "H" when the reflectance of the mark M is smaller than that of the original plate 1. The optical system 12c that focuses images on the line image sensor 12b is composed of a combination of lenses and the like.
上記信号S2aはセレクタ40gの入力端Aおよ
びセレクタ40hの入力端Bに、上記信号S2bは
上記セレクタ40gの入力端Bおよびセレクタ4
0hの入力端Aに、上記信号S9は上記セレクタ4
0gおよび40hのそれぞれの制御入力端Sに、
上記信号S7は上記カウンタ40b,40c,40
dおよびフリツプフロツプ40iのそれぞれのリ
セツト入力端Rに、上記信号S8はインバータ40
jを介して上記CPU43に、上記クロツク信号
P8はアンド回路40k,40lおよび40mの
それぞれの1入力端に加えられている。また、上
記セレクタ40gの出力信号S10は上記フリツプ
フロツプ40iのセツト入力端Sおよびアンド回
路40kの他入力端に、上記セレクタ40hの出
力信号S11は上記アンド回路40lおよび40m
の他入力端にそれぞれ加えられており、さらに上
記フリツプフロツプ40iの出力信号S12がアン
ド回路40mの別の入力端に加えられるとともに
インバータ40nを介してアンド回路40lの別
の入力端に加えられている。 The signal S 2a is sent to the input end A of the selector 40g and the input end B of the selector 40h, and the signal S 2b is sent to the input end B of the selector 40g and the selector 4.
The above signal S 9 is connected to the selector 4 at input terminal A of 0h.
To each control input terminal S of 0g and 40h,
The signal S7 is transmitted to the counters 40b, 40c, 40
The signal S8 is applied to the reset input terminal R of the flip-flop 40i and the inverter 40i.
The clock signal is sent to the CPU 43 via j.
P8 is added to one input terminal of each of AND circuits 40k, 40l and 40m. The output signal S10 of the selector 40g is applied to the set input terminal S of the flip-flop 40i and the other input terminal of the AND circuit 40k, and the output signal S11 of the selector 40h is applied to the AND circuits 40l and 40m.
Furthermore, the output signal S12 of the flip-flop 40i is applied to another input terminal of an AND circuit 40m, and is also applied to another input terminal of an AND circuit 40l via an inverter 40n. There is.
いま、上記マークMの反射率が元板1よりも小
さく(すなわちマークMが黒色のツヤ消し塗料等
である場合)かつ第3図に示すようにラインイメ
ージセンサ12bがマークMを含むXiなるX座
標を走査している場合を考えると、上記走査制御
部12aは上記信号S9の論理レベルを「L」に
し、これによつて上記セレクタ40gおよび40
hはそれぞれ入力端Bに加わる信号をその出力端
Yより出力する。 Now, if the reflectance of the mark M is smaller than that of the original plate 1 (that is, if the mark M is made of black matte paint, etc.), and the line image sensor 12b is X which includes the mark M, as shown in FIG. Considering the case where coordinates are being scanned, the scan control section 12a sets the logic level of the signal S9 to "L", thereby causing the selectors 40g and 40
Each of h outputs a signal applied to input terminal B from its output terminal Y.
上記フリツプフロツプ41aは、上記CPU4
3によつてすでにセツトされており、したがつ
て、上記位置決めのさいに上記正転逆転判別回路
46から出力される信号P5に対応して信号S1が
上記走査制御部12aに出力される。 The flip-flop 41a is connected to the CPU 4
Therefore, during the positioning, the signal S1 is output to the scan control section 12a in response to the signal P5 output from the forward/reverse discrimination circuit 46. .
これにより、走査制御部12aは第6図aに示
すようにスタートパルス信号S7を出力してフリツ
プフロツプ40i、カウンタ40b,40cおよ
び40dをリセツトし、しかる後に上記ラインイ
メージセンサ12bにスキヤンパルスP7を出力
してこれを点PAから走査するとともに該スキヤ
ンパルスP7に同期したクロツク信号P8(第6図
b)を出力する。 As a result, the scan control section 12a outputs a start pulse signal S7 as shown in FIG . is output and scanned from point PA, and a clock signal P8 (FIG. 6b ) synchronized with the scan pulse P7 is outputted.
一方、上記ラインイメージセンサ12bは、点
PAからPBまで走査される間および点PCから走
査終了点までの間は明部をあらわしかつ点PBか
ら点PCまで走査される間は暗部をあらわす信号
S6を出力する。したがつて、上記走査制御部12
aは、上記点PBからPCまでの走査に対応して論
理レベル「H」となる信号S2aおよび上記点PAか
らPBまでと点PCから走査終了点までの走査に対
応して論理レベル「H」となる信号S2bを出力す
る。 On the other hand, the line image sensor 12b has a point
A signal that represents a bright area while being scanned from PA to PB and from point PC to the scanning end point, and represents a dark area while being scanned from point PB to point PC.
Output S 6 . Therefore, the scanning control section 12
a is a signal S2a which becomes a logic level "H" corresponding to the scanning from the above point PB to PC, and a logic level "H" corresponding to the scanning from the above point PA to PB and from the point PC to the scanning end point. ” outputs a signal S 2b .
すなわち、セレクタ40g,40h、およびフ
リツプフロツプ40iの出力信号S10,S11、およ
びS12はそれぞれ第6図d,e、およびfに示す
ようになり、その結果、アンド回路40k,40
l、および40mから出力されるクロツク信号は
それぞれ第6図g,h、およびiに示すようにな
る。 That is, the output signals S 10 , S 11 and S 12 of the selectors 40g and 40h and the flip-flop 40i become as shown in FIG. 6d, e and f, respectively, and as a result, the AND circuits 40k and 40
The clock signals output from 1 and 40m are shown in FIG. 6g, h, and i, respectively.
したがつて、上記カウンタ40b,40cおよ
び40dの計数値は、それぞれ点PBから点PCま
での距離lb(座標X1におけるマークMの長さ)、
点PAから点PBまでの距離la(座標X1における走
査開始地点からマークMの最上部までの距離)、
および点PCから走査終了点までの距離lc(座標X1
におけるマークMの最下部から走査終了点までの
距離)を示すものとなる。 Therefore, the counts of the counters 40b, 40c and 40d are respectively the distance lb from point PB to point PC (length of mark M at coordinate X1 ),
Distance la from point PA to point PB (distance from the scanning start point at coordinate X 1 to the top of mark M),
and the distance lc from point PC to the scanning end point (coordinates X 1
(distance from the bottom of the mark M to the scanning end point).
また、上記ラインイメージセンサ12bの走査
が終了した時点で上記走査制御部12aから出力
される信号S8(第6図c参照)をインバータ40
jで反転した信号8は、上記CPU43に第1の
割込信号として作用する。 Further, when the scanning of the line image sensor 12b is completed, the signal S8 (see FIG. 6c) outputted from the scanning controller 12a is sent to the inverter 40.
The signal 8 inverted at j acts on the CPU 43 as a first interrupt signal.
上記遅延波形整形回路40fが出力する信号S5
は、上記信号S1の立ち下がり時点から時間τ後に
立ち上がつて所定時間だけ論理レベル「H」を維
持する信号であり、該信号S5によつて上記アツプ
ダウンカウンタ48のカウントデータ(すなわち
このときのX座標であるX1を示す)が上記レジ
スタ55に記憶される。また、該信号S5は上記
CPU43に第2の割込信号として作用し、これ
によつてCPU43は第7図に示したように上記
レジスタ55の記憶データを入力(入力60)し
てメモリ54に記憶し(処理61)、この後もと
の処理に戻る。 Signal S 5 outputted by the delay waveform shaping circuit 40f
is a signal that rises after a time τ from the falling point of the signal S1 and maintains the logic level "H" for a predetermined period of time, and the count data of the up-down counter 48 (i.e., The X coordinate (X 1 at this time) is stored in the register 55. Moreover, the signal S 5 is
It acts on the CPU 43 as a second interrupt signal, which causes the CPU 43 to input the data stored in the register 55 (input 60) and store it in the memory 54 (process 61), as shown in FIG. After this, return to the original process.
なお、上記マークMの反射率が元板1のそれよ
りも高い場合、上記信号S9の論理レベルが「H」
にされ、以下上記と同様な処理が実行される。 Note that when the reflectance of the mark M is higher than that of the original board 1, the logic level of the signal S9 is "H".
, and the same processing as above is executed.
CPU43は、上記第1の割込信号8を入力す
るたびに第8図に示した制御を実行し、マークM
の中心位置を検出する。 The CPU 43 executes the control shown in FIG. 8 every time the first interrupt signal 8 is input, and marks the mark M.
Detect the center position of
すなわち、まず上記カウンタ40bの内容すな
わち上記距離lbを入力して(入力70)、これを
上記メモリ54の所定領域に記憶する(処理7
1)。 That is, first, the content of the counter 40b, that is, the distance lb is input (input 70), and this is stored in a predetermined area of the memory 54 (process 7).
1).
上記(副)走査開始位置Xsから座標Xaまでの
領域は、マークMが存在しないので上記距離lbの
値は0であり、したがつて該距離lbの値が0であ
るか否かを判別する判断72の結果がYESとな
る。そして、処理73を実行して前回の割込時に
おいて記憶したカウンタ40bの内容すなわち距
離lb′の値を読み出すが、該距離lb′の値も0であ
り、したがつて距離lb′の値が0でないか否かを
判別する判断74の結果がNOとなる。しかし
て、CPU43は割込がかけられる前に実行して
いたメインの処理へ復帰する。 Since there is no mark M in the area from the (sub) scan start position Xs to the coordinate Xa, the value of the distance lb is 0. Therefore, it is determined whether the value of the distance lb is 0 or not. The result of decision 72 is YES. Then, processing 73 is executed to read out the contents of the counter 40b stored at the time of the previous interrupt, that is, the value of distance lb', but the value of distance lb' is also 0, so the value of distance lb' is The result of judgment 74 to determine whether or not it is not 0 is NO. The CPU 43 then returns to the main processing that was being executed before the interruption.
マークMの端部に対応する座標Xaにおいては、
上記距離lbが0ではないので上記判断72の結果
がNOであり、また上記処理73と同じ内容の処
理75で読み出した距離lb′は0であるので、距
離lb′が0であるか否かを判別する判断76の結
果がYESとなる。したがつて、CPU43は、上
記処理61で記憶したテータすなわち上記レジス
タ55に記憶したデータを上記座標Xaとして上
記メモリ54に記憶する(処理77)とともに変
数Nsおよび△Yに0を代入してこれらの変数を
リセツトした(処理78)のち、CPU43は上
記メインの処理へ復帰する。 At the coordinate Xa corresponding to the end of mark M,
Since the distance lb is not 0, the result of the judgment 72 is NO, and the distance lb' read in the process 75, which has the same content as the process 73 above, is 0, so whether the distance lb' is 0 or not. The result of judgment 76 is YES. Therefore, the CPU 43 stores the data stored in the above process 61, that is, the data stored in the above register 55, in the above memory 54 as the above coordinates Xa (process 77), and substitutes 0 into the variables Ns and ΔY to set these values. After resetting the variables (processing 78), the CPU 43 returns to the main processing described above.
上記マークMの存在する領域においては、上記
距離lbおよびlb′がともに0ではないので、上記
判断72の結果がNOでかつ判断76の結果が
NOとなる。したがつてCPU43は、上記カウン
タ40cおよび40dの内容すなわち距離laおよ
びlcのデータを入力し(入力79)、次式(i)に基
づいて△Yの値を更新するとともに変数Nsの値
を1つ増加する。 In the area where the mark M exists, both the distances lb and lb' are not 0, so the result of the above judgment 72 is NO and the result of the judgment 76 is
The answer will be NO. Therefore, the CPU 43 inputs the contents of the counters 40c and 40d, that is, the data of the distances la and lc (input 79), updates the value of ΔY based on the following formula (i), and sets the value of the variable Ns to 1. increase by one.
△Y=△Y+lc−la/2 ……(i)
その後、CPU43は上記メインの処理へ復帰
する。 ΔY=ΔY+lc−la/2 (i) After that, the CPU 43 returns to the above-mentioned main processing.
上記マークMの座標Xaとは逆の端部をあらわ
す座標Xbにおいては、上記距離lbの値が0でか
つ距離lb′の値が0でないので、上記判断72の
結果がYESとなり、かつ判断74の結果もYES
となる。したがつてCPU43は、上記処理61
でレジスタ55に記憶したデータを該レジスタ5
5より読み出して座標Xbとしてメモリ54に記
憶し(処理81)、次式(ii)および(iii)に基づいてマ
ークMの中心位置のX座標Xc′およびY座標のず
れ量△Ycを算出し、これらのXiおよび△Ycを記
憶する(処理82)。 At the coordinate Xb representing the end opposite to the coordinate Xa of the mark M, the value of the distance lb is 0 and the value of the distance lb' is not 0, so the result of the above judgment 72 is YES, and the judgment 74 The result is also YES
becomes. Therefore, the CPU 43 performs the above processing 61.
The data stored in the register 55 in the register 5
5 is read out and stored in the memory 54 as the coordinate Xb (process 81), and the deviation amount △Yc of the X coordinate Xc' and Y coordinate of the center position of the mark M is calculated based on the following equations (ii) and (iii). , these Xi and ΔYc are stored (process 82).
Xc′=Xa+Xb/2 ……(ii)
△Yc=△Y/Ns ……(iii)
その後、CPU43は上記メインの処理へ復帰
する。 Xc'=Xa+Xb/2...(ii) △Yc=△Y/Ns...(iii) After that, the CPU 43 returns to the above-mentioned main processing.
なお、上記座標Xbから副走査の終点となる座
標Xeまでの間の領域については、上述した座標
XsからXaまでの間の領域と同じ処理がなされる
ので、説明を省略する。 In addition, for the area between the above coordinate Xb and the coordinate Xe, which is the end point of the sub-scan, the above coordinates are used.
The same processing as in the area from Xs to Xa is performed, so the explanation will be omitted.
CPU43は、このようにして得たずれ量△Yc
と座標Xc′とに基づいて、あらかじめメモリ54
に記憶しているマークの位置を補正し、この補正
した位置座標に基づいて位置決めすることにより
印刷部をプレス機械10の打ち抜き中心Wに正確
にセツトすることができる。 The CPU 43 has the deviation amount △Yc obtained in this way.
The memory 54 is stored in advance based on
By correcting the position of the mark stored in , and positioning based on the corrected position coordinates, the printing section can be accurately set at the punching center W of the press machine 10.
さて、第9図に示したように元板1に複数列形
成した印刷部PPをプレス機械10で打ち抜く場
合、上記CPU43は以下のようにしてプレス機
械10およびフイーダ装置20を制御する。 Now, when the press machine 10 punches out the printing parts PP formed in a plurality of rows on the base plate 1 as shown in FIG. 9, the CPU 43 controls the press machine 10 and the feeder device 20 as follows.
すなわち、CPU43はまず第1列のマークM
についてその中心位置の座標Xc′およびY座標の
ずれ量△Ycを、上述した方法によつて左端のマ
ークMから順次検出する(同図a参照)。なお、
このとき、上記CPU43はプレス機械10を上
死点にて停止させている。 That is, the CPU 43 first selects the mark M in the first column.
The coordinate Xc' of the center position and the deviation amount ΔYc of the Y coordinate are sequentially detected starting from the leftmost mark M by the method described above (see a in the same figure). In addition,
At this time, the CPU 43 stops the press machine 10 at the top dead center.
ついで、上記CPU43は、上記座標Xc′および
ずれ量△Ycを用いて第1列の右端の印刷部PPか
ら順次プレス機械10の打ち抜き中心Wに位置決
めして、プレス機械10に打ち抜き加工させる
(同図b参照)。なお、この打ち抜きのための位置
決めのさい、上述の座標Xc′およびずれ量△Ycに
よつてそれぞれの印刷部PPの基準位置の座標を
補正している。 Next, the CPU 43 uses the coordinates Xc' and the deviation amount ΔYc to sequentially position the printing part PP at the right end of the first row to the punching center W of the press machine 10, and causes the press machine 10 to perform the punching process. (see figure b). In this positioning for punching, the coordinates of the reference position of each printing portion PP are corrected using the coordinates Xc' and the amount of deviation ΔYc described above.
そして、CPU43は元板1を同図cに矢印で
示した方向に移動して第2列の左端のマークMを
カメラ12の直下に位置決めし(同図d参照)、
第2列の印刷部PPについて上述と同様の制御を
実行してプレス機械10に打ち抜き加工させる。 Then, the CPU 43 moves the base plate 1 in the direction shown by the arrow in FIG.
The same control as described above is executed for the printing part PP in the second row to cause the press machine 10 to perform the punching process.
しかして、CPU43は第3列以後の印刷部PP
についても同様の手順によつてプレス機械10に
印刷部PPを順次打ち抜き加工させる。 Therefore, the CPU 43 is connected to the printing section PP after the third column.
Also, the press machine 10 sequentially punches out the printing part PP using the same procedure.
なお、CPU43はプレス機械10から入力イ
ンターフエース56およびバスライン42を介し
て加えられるクランク角回転テータに基づき該プ
レス機械10の作動に同期して上記元板1の位置
決め制御を実施し、また、上死点停止指令データ
をバスライン42および出力インターフエース5
7を介して上記プレス機械10に出力して該プレ
ス機械10をクランクが上死点に位置するように
停止している。 Note that the CPU 43 performs positioning control of the base plate 1 in synchronization with the operation of the press machine 10 based on the crank angle rotation data applied from the press machine 10 via the input interface 56 and the bus line 42, and also, The top dead center stop command data is sent to the bus line 42 and the output interface 5.
7 to the press machine 10, and the press machine 10 is stopped so that the crank is located at the top dead center.
また、プレス打ち抜きに同期して、スクラツプ
カツタ(図示せず)により打ち抜き後のフレーム
を切断するようにしている。これにより、元板1
のY軸方向の送りに際してフレームが邪魔になら
なくなる。 Further, in synchronization with press punching, the punched frame is cut by a scrap cutter (not shown). As a result, the original board 1
The frame no longer gets in the way when moving in the Y-axis direction.
次に、本発明に係るプレス制御方式について説
明する。 Next, a press control method according to the present invention will be explained.
本発明に係る全体制御フローを第10図に示
す。同図の判断100は、1列中に連続してマー
ク中心位置の検出ができなかつたマークの数nD
が、予め設定したエラー数ND以上か否かを判断
するもので、nDがNDよりも小さいときにはプレ
ス打抜きを実行し、nDがND以上のときには各軸
送りを停止し、各出力をオフにするとともに、
CRTにエラー表示を行なう(出力101)。な
お、マーク中心位置の検出が正確に行なわれたか
否かの判断については後述する。 FIG. 10 shows the overall control flow according to the present invention. Judgment 100 in the same figure is the number n D of consecutive marks for which the mark center position could not be detected in one row.
This is to judge whether or not the number of errors is greater than or equal to a preset number of errors.When nD is smaller than ND , press punching is executed, and when nD is greater than or equal to ND , each axis feed is stopped, and each In addition to turning off the output,
An error is displayed on the CRT (output 101). Note that the determination as to whether or not the mark center position has been accurately detected will be described later.
第10図の任意の列のマーク検出を細分化した
フローが第11図であり、第11図の任意の番号
kのマーク検出を細分化したフローが第12図で
ある。 FIG. 11 shows a subdivided flow of mark detection of an arbitrary column in FIG. 10, and FIG. 12 shows a subdivided flow of mark detection of an arbitrary number k in FIG.
第12図において、処理110は第k番目のマ
ークの位置Xksに位置決めを行なう。ここで、位
置Xksは第k番目のマークの位置Xs(第3図参
照)を意味する。続いて、処理111で第8図に
示した処理を実行する。次に、副走査終了位置
XkEに到達したか否かを判断する(判断112)。
ここで、位置XkEとは第k番目のマークの位置
XE(第3図参照)を意味する。 In FIG. 12, a process 110 positions the k-th mark at the position Xks. Here, the position Xks means the position Xs of the k-th mark (see FIG. 3). Subsequently, in process 111, the process shown in FIG. 8 is executed. Next, the sub-scanning end position
It is determined whether or not Xk E has been reached (decision 112).
Here, the position Xk E is the position of the kth mark
X E (see Figure 3).
全走査が終了すると、第8図の処理71で記憶
したlbの値(マークを横切る長さ)を積算する。
そして、この積算値を検出したマークの面積Zlb
として一時記憶する(処理113)。 When all scanning is completed, the value of lb (length across the mark) stored in step 71 of FIG. 8 is integrated.
Then, the area Zlb of the mark where this integrated value was detected
It is temporarily stored as (processing 113).
一方、予めマシンデータとして記憶されたマー
ク直径値Dからマーマ面積S(=πD2/4)を算
出する(処理114)。なお、予め実際のマーク
面積Sを直接記憶させるようにしてもよい。 On the other hand, the mark area S (=πD 2 /4) is calculated from the mark diameter value D stored in advance as machine data (processing 114). Note that the actual mark area S may be directly stored in advance.
続いて、検出したマーク面積Σlbと実際のマー
ク面積Sとを比較し(この場合、両者の比をと
る)、この比が予め設定した上限値αを越えてい
るか或るいは予め設定した下限値βを下回つてい
るかを判断する(判断116,117)。 Next, the detected mark area Σlb is compared with the actual mark area S (in this case, the ratio of the two is taken), and it is determined whether this ratio exceeds a preset upper limit value α or is equal to a preset lower limit value. It is determined whether the value is below β (determinations 116 and 117).
判断116および117がともにNOのときは
マーク検出が正常に行なわれた場合であり、この
場合にはマーク検出不良フラグPkを0にクリア
し、連続マーク検出不良数nDも0にクリアする
(処理118)。一方、判断116および117の
一方がYESのときはマーク検出が正常に行なわ
れなかつた場合であり、この場合にはフラグPk
を1にセツトし、またnDを1だけインクリメント
する(処理119)。 When both judgments 116 and 117 are NO, it means that the mark detection was performed normally, and in this case, the mark detection defect flag Pk is cleared to 0, and the number of continuous mark detection defects nD is also cleared to 0 ( Process 118). On the other hand, when one of the judgments 116 and 117 is YES, it means that the mark detection was not performed normally, and in this case, the flag Pk
is set to 1, and nD is incremented by 1 (process 119).
さて、プレスの前工程として印刷上がりの元板
1を目視によつて検査し、印刷不良や傷等の欠陥
のある印刷部に対応するマークMを、第13図に
示すようにマークMを含むマーク近傍を塗りつぶ
しておく。 Now, as a pre-pressing process, the printed base plate 1 is visually inspected, and marks M corresponding to printed parts with defects such as printing defects and scratches are detected, including marks M as shown in FIG. Fill in the area near the mark.
今、視覚手段が正常に動作している場合を考え
ると、塗りつぶされていないマークMは第14図
aに示すような画像となり、塗りつぶされたマー
クMは第14図bに示すような画像となる。すな
わち、第14図aの場合には、前述した処理11
8によつてマーク検出不良フラグPkは0となり、
第14図bの場合には、処理119によつてフラ
グPkは1となる。なお、このフラグPkは、後述
する良製品と不良製品とを振り分ける際に使用さ
れる。 Now, assuming that the visual means is operating normally, an unfilled mark M becomes an image as shown in Fig. 14a, and a filled mark M becomes an image as shown in Fig. 14b. Become. That is, in the case of FIG. 14a, the above-mentioned process 11
8, the mark detection failure flag Pk becomes 0,
In the case of FIG. 14b, the flag Pk is set to 1 by processing 119. Note that this flag Pk is used when classifying good products and defective products, which will be described later.
また、マークMが塗りつぶされていない場合で
あつても、視覚手段が正常に動作していない場
合、例えば画像データを2値化する際のスレツシ
ヨルドレベルVTHが低過ぎるとき、あるいは照明
器14の照明が明る過ぎるときには第14図cに
示すような画像となり、逆にスレツシヨルドレベ
ルVTHが高過ぎるとき、あるいは照明器14の照
明が暗過ぎるときには第14図dに示すような画
像となる。このような場合も、マーク検出不良フ
ラグPkが1となる。ただし、この場合は、視覚
手段が正常に動作していないことに起因するた
め、連続マーク検出不良数nDは順次増加する。こ
の数nDは或る列のマーク検出終了後、第10図に
示すように予め設定したエラー数ND以上か否か
が判断され、nDがND以上のときには処理101
でエラー表示を行なうとともに、その後の動作を
停止する。 Furthermore, even if the mark M is not filled in, if the visual means is not working properly, for example, if the threshold level V TH when binarizing image data is too low, or if the illuminator When the illumination of the illuminator 14 is too bright, the image shown in FIG. 14c will be obtained. Conversely, when the threshold level V TH is too high or the illumination of the illuminator 14 is too dark, the image shown in FIG. 14d will be obtained. becomes. In such a case as well, the mark detection failure flag Pk becomes 1. However, in this case, since the visual means is not operating normally, the number n D of continuous mark detection defects gradually increases. After mark detection in a certain column is completed, it is determined whether this number n D is greater than or equal to a preset number of errors N D as shown in FIG. 10. If n D is greater than or equal to N D , processing 101
Displays an error message and stops further operations.
なお、連続不良検出の起こる他の原因として
は、
(1) 照明器14の故障(ランプ切れ)あるいは照
明器用電源のトラブル(電圧変動、電源断)に
よる照明照度の変化、
(2) ラインイメージセンサ12bの故障
(3) ラインイメージセンサ12bのインターフエ
ース回路の故障、
(4) ラインイメージセンサ12bのレンズの汚
れ、
(5) ラインイメージセンサ12bの焦点調節不良
(ピンボケ)、
等が挙げられる。 Other causes of continuous failure detection include: (1) Changes in illumination illuminance due to failure of the illuminator 14 (lamp burnout) or trouble with the illuminator power supply (voltage fluctuation, power outage), (2) Line image sensor Failure of the line image sensor 12b (3) failure of the interface circuit of the line image sensor 12b, (4) dirt on the lens of the line image sensor 12b, and (5) poor focus adjustment (out of focus) of the line image sensor 12b.
次に、或る列のマーク検出が終了し、かつ連続
マーク検出不良数nDが予設定エラー数NDよりも
少ない場合には、第10図に示すようにプレス打
抜が行なわれた。 Next, when mark detection for a certain row was completed and the number n D of consecutive mark detection failures was less than the preset number N D of errors, press punching was performed as shown in FIG. 10.
第10図の任意の列のプレス打抜きを細分化し
たフローが第15図であり、第15図の任意の番
号kのプレス打抜を細分化したフローが第16図
である。 FIG. 15 shows a subdivided flow of press punching of an arbitrary row in FIG. 10, and FIG. 16 shows a subdivided flow of press punching of an arbitrary number k in FIG.
第16図において、判断120により第12図
の処理118または119で処理したマーク検出
不良フラグPkが1か否かを判断する。フラグPk
が1でない場合には第8図の処理で検出したマー
ク中心位置に基づいて位置決めを行ない(出力1
21)、プレス打抜および良製品取出を指令する
信号を出力し(出力122,123)、フラグPk
が1の場合にはCRTに第k番目のマーク検出不
良を表示し(出力124)、プレス打抜および不
良製品取出を指令する信号を出力する(出力12
5,126)。 In FIG. 16, in judgment 120, it is determined whether the mark detection failure flag Pk processed in process 118 or 119 in FIG. 12 is 1 or not. Flag Pk
is not 1, positioning is performed based on the mark center position detected in the process shown in Figure 8 (output 1
21), outputs a signal instructing press punching and taking out good products (outputs 122, 123), and flags Pk
When is 1, the k-th mark detection failure is displayed on the CRT (output 124), and a signal instructing press punching and removal of the defective product is output (output 12).
5,126).
前記良製品取出および不良製品取出を指令する
信号は、第4図に示すようにCPU43からバス
42、出力インターフエース58を介して製品取
出機59に加えられる。 The signal instructing to take out the good products and the defective products is applied from the CPU 43 to the product takeout machine 59 via the bus 42 and the output interface 58, as shown in FIG.
第17図はプレス機械と製品取出機の概略を示
す斜視図である。プレス加工は、上型15がH←→
H′を1往復することにより1回終了する。バキ
ユームカツプ17は、プレス加工が1回終了する
毎に矢印A方向に降下し、下型16に残つている
製品を吸引したのち矢印B方向に上昇して製品を
持ち上げる。次に、製品取出機59を、持ち上げ
た製品の下にくるように矢印C方向に移動させ、
そこでバキユームカツプ17の真空破壊をして製
品を製品取出機59の上に落下させる。 FIG. 17 is a perspective view schematically showing a press machine and a product take-out machine. For press working, the upper die 15 is H←→
One round trip of H' completes the process. Each time the press process is completed, the vacuum cup 17 descends in the direction of arrow A, sucks up the product remaining on the lower mold 16, and then rises in the direction of arrow B to lift the product. Next, move the product unloader 59 in the direction of arrow C so that it is below the lifted product,
Then, the vacuum cup 17 is broken and the product is dropped onto the product take-out machine 59.
次に、製品取出機59を矢印D方向に引つ込
め、フラグPkが1でない場合(良製品取出の場
合)には、製品取出機59を矢印E方向に垂直回
転させて製品を良製品受け18に落下させる。一
方、フラグPkが1の場合(不良製品取出の場合)
には、製品取出機59を矢印F方向に90度水平回
転させ、次いで矢印G方向に垂直回転させて製品
を不良製品受け19に落下させる。 Next, the product take-out machine 59 is retracted in the direction of arrow D, and if the flag Pk is not 1 (in the case of taking out a good product), the product take-out machine 59 is vertically rotated in the direction of arrow E, and the product is placed in the good product receiver. Drop it at 18. On the other hand, if flag Pk is 1 (defective product removed)
In this step, the product take-out machine 59 is horizontally rotated 90 degrees in the direction of arrow F, and then vertically rotated in the direction of arrow G to drop the product into the defective product receiver 19.
なお、このような製品取出機59やバキユーム
カツプ17による製品の取出方法は、エアシリン
ダやエアバルブと機械的リンクを用いれば容易に
実現できる。もち論、上記実施例に限らず良製品
と不良製品とを振り分けることができればいかな
る構成の製品取出機でもよい。 Note that the method of taking out the product using the product takeout machine 59 and the vacuum cup 17 can be easily realized by using an air cylinder, an air valve, and a mechanical link. Of course, the present invention is not limited to the above-mentioned embodiment, and any configuration of the product take-out machine may be used as long as it can sort out good products and defective products.
また、本実施例では製品の良否にかかわらず必
ずプレス打抜を行ない、その後良製品と不良製品
とを振り分けるようにしているが、これは、打抜
いた元板のフレームをスクラツプカツタによつて
確実に切り落とし、次の列のマーク検出、プレス
打抜時にフレームが邪魔にならないようにするた
めである。したがつて、プレス機械が元板のY軸
方向の送りに対して十分余裕があり、あるいは元
板に印刷される印刷部の列が少なく、プレス打抜
とともにフレームを切り落とさなくてもよい場合
には、前述したフラグPk(=1)によつて不良部
分の打抜きを飛び越すようにしてもよい。 In addition, in this example, press punching is always performed regardless of whether the product is good or bad, and then good products and defective products are sorted out. This is to prevent the frame from getting in the way during mark detection and press punching for the next row. Therefore, if the press machine has sufficient margin for feeding the base plate in the Y-axis direction, or there are few rows of printed parts printed on the base plate, and there is no need to cut off the frame at the same time as press punching. The above-mentioned flag Pk (=1) may be used to skip the punching of defective parts.
また、不良マークの検出にはマークの面積を計
算することによつて判定検出する例について説明
したが、これは他の方法をとつてもよいことはも
ちろんである。その方法としては色々考えられ、
例えばマークの直径で判定検出してもよいし、マ
ークの境界線を検出してその境界線の特徴や存在
から判定検出してもよい。本発明はこのマークの
不良判定の方法によつて特定されるものではな
い。 Further, although an example has been described in which a defective mark is detected by calculating the area of the mark, other methods may of course be used. There are various ways to do this,
For example, the determination may be made based on the diameter of the mark, or the boundary line of the mark may be detected and the determination may be made based on the characteristics or existence of the boundary line. The present invention is not specified by this method of determining whether a mark is defective.
以上説明したように本発明によれば、予め欠陥
印刷部をチエツクする(マークを塗りつぶす)だ
けで、自動的にプレス打抜き後の製品を良製品と
不良製品とに振り分け、或いはプレス打抜き時に
不良印刷部の打抜きを飛び越すため、欠陥のある
印刷部の位置テータの入力等を省略することがで
きる。また、視覚手段が正常に動作しているか否
かを監視しているため、視覚手段の異常にともな
う不良打抜きを未然に防止することができる。 As explained above, according to the present invention, by simply checking defective printed areas in advance (filling in marks), products after press punching can be automatically sorted into good products and defective products, or defective prints can be automatically sorted into good products and defective products during press punching. Since the punching of copies is skipped, it is possible to omit inputting the position data of defective printed copies. Furthermore, since it is monitored whether the visual means is operating normally, it is possible to prevent defective punching due to abnormality of the visual means.
第1図は従来のプレス打抜加工の工程を示す
図、第2図は本発明に係る方式を適用したフイー
ダ装置およびプレス機械の概要を示す斜視図、第
3図は視覚手段の動作を説明するために用いた元
板のマーク近傍の一部平面図、第4図は制御装置
の一例を示したブロツク図、第5図は第4図に示
した装置の要部を詳細に示したブロツク図、第6
図a〜iは第5図に示した各要素の動作を説明す
るために用いたタイミングチヤート、第7図およ
び第8図はマーク中心位置を検出するために
CPUが実行する制御の一部を示したフローチヤ
ート、第9図a〜dは元板の供給手順の一例を示
す概念図、第10図、第11図、第12図、第1
5図および第16図は本発明に係るCPUの動作
を説明するために用いたフローチヤート、第13
図は本発明方式を適用した元板の一例を示す平面
図、第14図a〜dはそれぞれ視覚手段が捕えた
マーク近傍の画像の一例を示す図、第17図は本
発明に係る製品取出機の一例を示した斜視図であ
る。
1……元板、10……プレス機械、12……カ
メラ、12b……ラインイメージセンサ、14…
…照明器、17……バキユームカツプ、20……
フイーダ装置、40……センサ制御部、43……
CPU、54……メモリ、59……製品取出機、
M……マーク。
Fig. 1 is a diagram showing the conventional press punching process, Fig. 2 is a perspective view showing an overview of a feeder device and press machine to which the method according to the present invention is applied, and Fig. 3 explains the operation of the visual means. Fig. 4 is a block diagram showing an example of the control device, and Fig. 5 is a block diagram showing the main parts of the device shown in Fig. 4 in detail. Figure, 6th
Figures a to i are timing charts used to explain the operation of each element shown in Figure 5, and Figures 7 and 8 are used to detect the mark center position.
A flowchart showing part of the control executed by the CPU, FIGS. 9a to 9d are conceptual diagrams showing an example of the procedure for supplying the base plate, FIGS. 10, 11, 12, 1
5 and 16 are flowcharts used to explain the operation of the CPU according to the present invention.
The figure is a plan view showing an example of the base plate to which the method of the present invention is applied, Figures 14a to 14d are diagrams each showing an example of an image near the mark captured by the visual means, and Figure 17 is the product removal according to the present invention. FIG. 2 is a perspective view showing an example of the machine. 1... Original board, 10... Press machine, 12... Camera, 12b... Line image sensor, 14...
...Illuminator, 17... Bakyum cup, 20...
Feeder device, 40...Sensor control unit, 43...
CPU, 54...Memory, 59...Product unloading machine,
M... Mark.
Claims (1)
の位置関係をもつて前記印刷部近傍に印刷された
位置決め用マークとが多数印刷された1枚の元板
をX軸方向およびY軸方向に移動して、プレス機
械に対して所定の位置に配設された視覚手段の視
野に前記マークを入れ、前記元板をX軸方向に移
動させ副走査を行うとともに、前記視覚手段によ
り前記視野内でY軸方向に主走査させることによ
つて得られる画像データに基づいて前記マークの
中心位置を検出し、この検出したマーク中心位置
と前記視野の基準位置とのX軸方向およびY軸方
向のずれ量を検出し、この検出したずれ量に基づ
いて前記プレス打抜き印刷部をプレス機械に位置
決めし、前記元板から前記プレス打抜き印刷部を
打ち抜くプレス制御方式において、 予め前記元板の印刷上がりの検査時に、欠陥の
あるプレス打抜き印刷部に対応する位置決め用マ
ークを、前記マークの印刷部分と同一の光反射率
をもつて前記マーク印刷部分からはみ出すように
塗りつぶしておき、 前記視覚手段によつてY軸方向の主走査が行わ
れる際に前記マークが最初に認識されたときの主
走査位置から前記マークが最後に認識されたとき
の主走査位置までのY軸方向距離を演算し、この
演算されたY軸方向距離をX軸方向に積算するこ
とにより前記マークの面積を算出し、 前記算出したマークの面積が予め求めておいた
前記マーク印刷部分の面積に対して所定値以上ず
れたときそのマークの番号を記憶し、 前記記憶したマーク番号に基づいてプレス打抜
きされた製品を良製品と不良製品とに自動的に振
り分けるようにしたことを特徴とするプレス制御
方式。 2 プレス打抜き印刷部と該印刷部に対して所定
の位置関係をもつて前記印刷部近傍に印刷された
位置決め用マークとが多数印刷された1枚の元板
をX軸方向およびY軸方向に移動して、プレス機
械に対して所定の位置に配設された視覚手段の視
野に前記マークを入れ、前記元板をX軸方向に移
動させ副走査を行うとともに、前記視覚手段によ
り前記視野内でY軸方向に主走査させることによ
つて得られる画像データに基づいて前記マークの
中心位置を検出し、この検出したマーク中心位置
と前記視野の基準位置とのX軸方向およびY軸方
向のずれ量を検出し、この検出したずれ量に基づ
いて前記プレス打抜き印刷部をプレス機械に位置
決めし、前記元板から前記プレス打抜き印刷部を
打ち抜くプレス制御方式において、 予め前記元板の印刷上がりの検査時に、欠陥の
あるプレス打抜き印刷部に対応する位置決め用マ
ークを、前記マークの印刷部分と同一の光反射率
をもつて前記マーク印刷部分からはみ出すように
塗りつぶしておき、 前記視覚手段によつてY軸方向の主走査が行わ
れる際に前記マークが最初に認識されたときの主
走査位置から前記マークが最後に認識されたとき
の主走査位置までのY軸方向距離を演算し、この
演算されたY軸方向距離をX軸方向に積算するこ
とにより前記マークの面積を算出し、 前記算出したマークの面積が予め求めておいた
前記マーク印刷部分の面積に対して所定値以上ず
れたときそのマークの番号を記憶し、 前記記憶したマーク番号に基づいて対応するプ
レス打抜き印刷部のプレス打抜きを飛び越すよう
にしたことを特徴とするプレス制御方式。 3 プレス打抜き印刷部と該印刷部に対して所定
の位置関係をもつて前記印刷部近傍に印刷された
位置決め用マークとが多数印刷された1枚の元板
をX軸方向およびY軸方向に移動して、プレス機
械に対して所定の位置に配設された視覚手段の視
野に前記マークを入れ、前記元板をX軸方向に移
動させ副走査を行うとともに、前記視覚手段によ
り前記視野内でY軸方向に主走査させることによ
つて得られる画像データに基づいて前記マークの
中心位置を検出し、この検出したマーク中心位置
と前記視野の基準位置とのX軸方向およびY軸方
向のずれ量を検出し、この検出したずれ量に基づ
いて前記プレス打抜き印刷部をプレス機械に位置
決めし、前記元板から前記プレス打抜き印刷部を
打ち抜くプレス制御方式において、 前記視覚手段によつてY軸方向の主走査が行わ
れる際に前記マークが最初に認識されたときの主
走査位置から前記マークが最後に認識されたとき
の主走査位置までのY軸方向距離を演算し、この
演算されたY軸方向距離をX軸方向に積算するこ
とにより前記マークの面積を算出し、 前記算出したマークの面積が予め求めておいた
前記マーク印刷部分の面積に対して所定値以上ず
れたときそのマークの番号を記憶し、 前記記憶したマーク番号が連続して予め設定し
た数以上になつたとき、異常を知らせるとともに
その後の動作を停止させるようにしたことを特徴
とするプレス制御方式。[Scope of Claims] 1 A single base plate on which a large number of press-cutting printed parts and positioning marks printed in the vicinity of the printed parts with a predetermined positional relationship with the printed parts are printed is moved along the X-axis. and the Y-axis direction to place the mark in the field of vision of a visual means disposed at a predetermined position with respect to the press machine, move the original plate in the X-axis direction to perform sub-scanning, and The center position of the mark is detected based on image data obtained by main scanning in the Y-axis direction within the field of view by a visual means, and the X-axis between the detected center position of the mark and the reference position of the field of view is detected. In a press control method in which the amount of deviation in the direction and the Y-axis direction is detected, the press punching printing section is positioned on a press machine based on the detected deviation amount, and the press punching printing section is punched from the base plate, When inspecting the finished printing of the original plate, fill in a positioning mark corresponding to a defective press punched printed part so that it protrudes from the mark printed part with the same light reflectance as the printed part of the mark, When main scanning in the Y-axis direction is performed by the visual means, the distance in the Y-axis direction from the main scanning position when the mark is first recognized to the main scanning position when the mark is last recognized. The area of the mark is calculated by calculating the calculated distance in the Y-axis direction in the X-axis direction, and the calculated area of the mark is compared to the area of the mark printing part determined in advance. A press control system characterized in that when the mark deviates by more than a predetermined value, the number of the mark is memorized, and press-punched products are automatically sorted into good products and defective products based on the memorized mark number. . 2. A single base plate on which a large number of press punching printing parts and positioning marks printed in the vicinity of the printing parts in a predetermined positional relationship with the printing parts are printed in the X-axis direction and the Y-axis direction. The mark is placed in the field of view of a visual means arranged at a predetermined position with respect to the press machine, and the base plate is moved in the X-axis direction to perform sub-scanning, and the visual means places the mark within the field of view. The center position of the mark is detected based on image data obtained by main scanning in the Y-axis direction, and the relationship between the detected mark center position and the reference position of the field of view in the X-axis and Y-axis directions is In a press control method in which a deviation amount is detected, the press punching printing part is positioned on a press machine based on the detected deviation amount, and the press punching printing part is punched from the base plate, the printing finish of the base plate is determined in advance. At the time of inspection, a positioning mark corresponding to the defective press-cutting printed part is filled in so as to have the same light reflectance as the printed part of the mark and protrudes from the printed part of the mark, and is checked by the visual means. When main scanning in the Y-axis direction is performed, calculate the distance in the Y-axis direction from the main scanning position when the mark is first recognized to the main scanning position when the mark is last recognized; The area of the mark is calculated by integrating the distances in the Y-axis direction in the X-axis direction, and when the calculated area of the mark deviates by more than a predetermined value from the area of the mark printing part determined in advance. A press control method characterized in that the number of the mark is stored, and the press punching of the corresponding press punching printing unit is skipped based on the stored mark number. 3 A single base plate on which a large number of press-cutting printed parts and positioning marks printed in the vicinity of the printed parts with a predetermined positional relationship with respect to the printed parts are printed is moved in the X-axis direction and the Y-axis direction. The mark is placed in the field of view of a visual means arranged at a predetermined position with respect to the press machine, and the base plate is moved in the X-axis direction to perform sub-scanning, and the visual means places the mark within the field of view. The center position of the mark is detected based on image data obtained by main scanning in the Y-axis direction, and the relationship between the detected mark center position and the reference position of the field of view in the X-axis and Y-axis directions is In a press control method in which an amount of deviation is detected, the press punching printing part is positioned on a press machine based on the detected deviation amount, and the press punching printing part is punched from the base plate, the Y axis is determined by the visual means. When main scanning in the direction is performed, the distance in the Y-axis direction from the main scanning position when the mark is first recognized to the main scanning position when the mark is last recognized is calculated. The area of the mark is calculated by integrating the distance in the Y-axis direction in the X-axis direction, and when the calculated area of the mark deviates by more than a predetermined value from the area of the mark printed portion determined in advance, the mark is removed. 1. A press control system, characterized in that: a number is stored, and when the stored mark numbers consecutively exceed a preset number, an abnormality is notified and subsequent operations are stopped.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11953783A JPS6012236A (en) | 1983-07-01 | 1983-07-01 | Press control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11953783A JPS6012236A (en) | 1983-07-01 | 1983-07-01 | Press control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6012236A JPS6012236A (en) | 1985-01-22 |
| JPH0547301B2 true JPH0547301B2 (en) | 1993-07-16 |
Family
ID=14763736
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11953783A Granted JPS6012236A (en) | 1983-07-01 | 1983-07-01 | Press control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6012236A (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0767577B2 (en) * | 1986-05-12 | 1995-07-26 | 株式会社アマダ | Sheet metal processing line system |
| JP2007118088A (en) * | 2007-02-08 | 2007-05-17 | Nidai Seiko:Kk | Method for manufacturing cylindrical case |
| KR20250065083A (en) * | 2023-11-03 | 2025-05-12 | 삼성에스디아이 주식회사 | Clearance measuring apparatus |
-
1983
- 1983-07-01 JP JP11953783A patent/JPS6012236A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6012236A (en) | 1985-01-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR890002789B1 (en) | Method and apparatus for automatic punching | |
| US8180476B2 (en) | Machining state checking method and machining state checking apparatus | |
| US4641828A (en) | Method for feeding material sheet to a press | |
| EP0660657A1 (en) | Method and mounting device for mounting a component at a specific position | |
| KR0153239B1 (en) | Wark Feeder Control | |
| US5655030A (en) | Method for detecting the center of target marks by image processing | |
| JPH0678150B2 (en) | Sheet bundle separation device | |
| CN217940996U (en) | Automatic radium code sorting device | |
| JPWO2018158888A1 (en) | Backup pin recognition method and component mounting apparatus | |
| JPH0547301B2 (en) | ||
| JPH10133728A (en) | Automatic feedback device for product inspection data, and automatic program correcting method using the same device | |
| JP2000208902A (en) | Pattern defect repair device | |
| JPS5994539A (en) | Positioning device for material to be worked in machine tool | |
| JP3294656B2 (en) | Electronic component inspection method and device | |
| JPS61500341A (en) | Method and apparatus for positioning elements relative to a workpiece | |
| JPH074737B2 (en) | Clamp deviation correction device | |
| JPH0344853B2 (en) | ||
| JP3279216B2 (en) | How to mount electronic components with leads | |
| JPH0786722A (en) | Automatic pattern defect repair device | |
| JP4798905B2 (en) | Bending machine | |
| JP3725774B2 (en) | Game board inspection device | |
| JPH0613442Y2 (en) | Automatic visual inspection device | |
| JPS63165027A (en) | Touring tower equipped with die identifying device | |
| JPH0775741B2 (en) | Work feeder control device | |
| JP2513151Y2 (en) | Bonding device |