JP2019217625A - Shaft part processing device - Google Patents

Shaft part processing device Download PDF

Info

Publication number
JP2019217625A
JP2019217625A JP2019011750A JP2019011750A JP2019217625A JP 2019217625 A JP2019217625 A JP 2019217625A JP 2019011750 A JP2019011750 A JP 2019011750A JP 2019011750 A JP2019011750 A JP 2019011750A JP 2019217625 A JP2019217625 A JP 2019217625A
Authority
JP
Japan
Prior art keywords
corner
inspection
pixel
point
shaft
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.)
Granted
Application number
JP2019011750A
Other languages
Japanese (ja)
Other versions
JP6963313B2 (en
Inventor
伍馮潔
feng jie Wu
朱国柱
Guo Zhu Zhu
陳加雄
Jia Xiong Chen
黄文▲かい▼
wen kai Huang
朱静
Jing Zhu
韓暁英
xiao ying Han
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou University
Original Assignee
Guangzhou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou University filed Critical Guangzhou University
Publication of JP2019217625A publication Critical patent/JP2019217625A/en
Application granted granted Critical
Publication of JP6963313B2 publication Critical patent/JP6963313B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23BTURNING; BORING
    • B23B5/00Turning-machines or devices specially adapted for particular work; Accessories specially adapted therefor
    • B23B5/08Turning-machines or devices specially adapted for particular work; Accessories specially adapted therefor for turning axles, bars, rods, tubes, rolls, i.e. shaft-turning lathes, roll lathes; Centreless turning
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23BTURNING; BORING
    • B23B25/00Accessories or auxiliary equipment for turning-machines
    • B23B25/06Measuring, gauging, or adjusting equipment on turning-machines for setting-on, feeding, controlling, or monitoring the cutting tools or work
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, 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
    • B23Q7/00Arrangements for handling work specially combined with or arranged in, or specially adapted for use in connection with, machine tools, e.g. for conveying, loading, positioning, discharging, sorting
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, 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
    • B23Q2707/00Automatic supply or removal of metal workpieces
    • B23Q2707/003Automatic supply or removal of metal workpieces in a lathe

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Machine Tool Sensing Apparatuses (AREA)
  • Feeding Of Workpieces (AREA)
  • Turning (AREA)

Abstract

To provide a shaft part processing device.SOLUTION: A shaft part processing device includes a feed board, a lathe, an inspection and measurement system, a defective product area, a discharge board, and a mechanical arm. The feed board can be used for placing shaft parts to be processed thereon, the lathe can be used for processing the shaft parts, and the inspection and measurement system can be used for inspecting and measuring whether processed portions of the shaft parts satisfy the requirement for processing or not. The defective product area can be used for placing the shaft parts, which are inspected and measured, and cannot satisfy the requirement for processing, thereon, and the discharge board can be used for placing the shafts, which are inspected and measured, and can satisfy the requirement for processing, thereon. The mechanical arm can be used for taking out the shaft parts to be processed from the feed board and sequentially transmitting the shaft parts to the lathe and the inspection and measurement system.SELECTED DRAWING: Figure 1

Description

本発明は加工装置に関わり、特に軸類パーツの加工装置に関わる。 The present invention relates to a processing device, and particularly to a processing device for shaft parts.

目前工業4.0時代はすでに密かに到着し、この背景のもとで、インテリジェント製造は当代世界の話題であり、製造業のインテリジェント化の水準を上げて、適応性と資源効率を備えるインテリジェント工場を建てることを目指す。今の時代では、インテリジェント製造は広い市場があるのは否定できない事実である。
今、市場にある軸類パーツに対する加工は多数が普通で大型の半自動式の旋盤を利用し、高い価格のCNC旋盤を使うのが少数の企業である。
普通のコンピュータ値制御旋盤は原料を摘み取る装置と普通の旋盤と同じで、人によりきつく挟むと緩めることを需要とする普通のチャックを用いる。
既存の軸類パーツに対する検査測定方法は一般にマイクロメーターと、ノギスなどの伝統的な測量道具を採用して人工的な測量を行う。このような伝統的な測量方法は人力に対する依頼性が強くて、人により労働量が多くて、効率が低くて、精度を保証できなくて、人為的な誤差が比較的に多くて、製品に対する検査測定の高精度の要求を実現しにくい。
上記により既存の技術の不足が明らかになる:
(1)普通のコンピュータ値制御旋盤は完全な自動化の加工ができなくて且つ加工する精度が制限されている。
(2)普通のチャックは人工によりきつく挟むと緩めることが必要であるから、時間と力を無駄になる。
(3)パーツに対する検査測定は伝統的な検査測定手段を依頼しては、精度を保証できない。
The industrial 4.0 era has just arrived secretly, and in this context, intelligent manufacturing has become a hot topic in the modern era, raising the level of intelligentization in the manufacturing industry and providing intelligent factories with adaptability and resource efficiency. Aim to build. In today's era, it is undeniable that intelligent manufacturing has a wide market.
At present, machining of shaft parts on the market uses a large number of ordinary and large semi-automatic lathes, and a few companies use high-priced CNC lathes.
Ordinary computer value controlled lathes are the same as ordinary lathes for picking material and use ordinary chucks that require loosening when pinched tight by a person.
Inspection and measurement methods for existing shaft parts generally use a micrometer and traditional surveying tools such as calipers to perform artificial surveying. Such a traditional surveying method is highly demanding on human power, requires more labor, has lower efficiency, cannot guarantee accuracy, has relatively large human error, It is difficult to achieve the demand for high accuracy of inspection and measurement.
The above highlights the lack of existing technology:
(1) Ordinary computer-controlled lathes cannot perform completely automatic machining, and the machining accuracy is limited.
(2) Since ordinary chucks need to be loosened when they are tightly clamped artificially, time and power are wasted.
(3) Inspection measurement for parts cannot be guaranteed by requesting traditional inspection measurement means.

中国特許出願公開第104625733号明細書Chinese Patent Application No. 104625733

既存の技術に存在している技術問題に対して、本発明の目的は:軸類パーツの加工装置を提供する。 In view of the technical problems existing in the existing technology, an object of the present invention is to provide an apparatus for processing shaft parts.

本発明の目的は下記の技術方案を通じて実現する: 軸類パーツの加工装置はフィード盤、旋盤、検査測定仕組み、不良品区、排出盤、及び機械アームを含む: The objectives of the present invention are realized through the following technical solutions: The machining equipment for shaft parts includes a feeder, a lathe, an inspection and measuring mechanism, a defective section, a discharger, and a mechanical arm:

前記フィード盤は被加工軸類パーツを置くために用いられる; The feed plate is used for placing the shaft parts to be machined;

前記旋盤は軸類パーツを加工するために用いられる; The lathe is used for machining shaft parts;

前記検査測定仕組みは軸類パーツの加工される部分が加工の要求を満たすか否かを検査測定するために用いられる; The inspection and measurement mechanism is used for inspecting and measuring whether or not the machined part of the shaft part satisfies the machining requirement;

前記不良品区は検査測定されて加工の要求を満たすことができない軸類パーツを置くために用いられる; The defective section is used for placing shaft parts which cannot be inspected and measured to meet the processing requirements;

前記排出盤は検査測定されて加工の要求を満たした軸類パーツを置くことために用いられる; Said ejection plate is used for placing shaft parts which are inspected and measured and meet the processing requirements;

前記機械アームは前記フィード盤の中から被加工軸類パーツを取り且つ順に前記旋盤と前記検査測定仕組みまでに伝送するために用いられ、検査測定して加工の要求を満たすことができない時に、軸類パーツを前記不良品区の中に入れ、検査測定して加工の要求を満たした時に、軸類パーツを前記排出盤の中に入れる。 The mechanical arm is used to take a shaft part to be machined from the feed machine and transmit it to the lathe and the inspection and measurement mechanism in order. The kind parts are put into the defective product area, and when the inspection and measurement satisfy the processing requirements, the kind parts are put into the discharge board.

好ましくは、前記機械アームは前記機械アームが軸類パーツ部位を切り替えてきつく締める時に軸類パーツを置くために用いられる中継盤を含み、前記中継盤がエアチャック及びそれぞれ前記エアチャックの各爪に装着される中継添木を含み、各前記中継添木の間が第一チャック区を形成する。 Preferably, the mechanical arm includes a relay board used for placing the shaft part when the mechanical arm switches and tightens the shaft part part, and the relay board is provided on the air chuck and each claw of the air chuck, respectively. Including a relay splint to be mounted, a space between the relay splints forms a first chuck section.

好ましくは、前記フィード盤が盤体及びチャック仕組みを含み、前記チャック仕組みは固定添木と、運動添木と前記運動添木をプッシュすることができるプッシュ板仕組みを含み、固定添木が前記盤体に固定され、前記盤体には前記固定添木へ延伸するスライド溝が設置され、前記運動添木の底部にはスライドブロックが設置され、前記スライドブロックが前記スライド溝の中に接続される。 Preferably, the feed board includes a disc body and a chuck mechanism, and the chuck mechanism includes a fixed splint, a moving splint and a push plate mechanism capable of pushing the motion splint, and the fixed splint includes the board. The slide body is fixed to the body, a slide groove extending to the fixed splint is installed on the board body, a slide block is installed at the bottom of the exercise splint, and the slide block is connected to the slide groove. .

好ましくは、前記チャック仕組みと前記スライド溝がいずれも複数で一対一対応で設置される; Preferably, each of the chuck mechanism and the slide groove is provided in plural and one-to-one correspondence;

また回転盤仕組みを含み、前記回転盤仕組みがモータ及びラックを含み、前記モータが前記ラックに装着され、前記モータの動力軸が前記盤体と接続される。 Also, the rotating disk mechanism includes a motor and a rack, the motor is mounted on the rack, and a power shaft of the motor is connected to the disk body.

また主軸及び軸継手を含み、前記盤体が前記主軸に装着され、前記モータの動力軸が前記軸継手により主軸と接続される。 In addition, it includes a main shaft and a shaft coupling, wherein the board is mounted on the main shaft, and a power shaft of the motor is connected to the main shaft by the shaft coupling.

好ましくは、前記検査測定仕組みが筐体及び前記筐体の中に設置される第一カメラと、光補助ランプと、撮影スタンドと光補助ランプスタンドを含み、前記筐体には機械アームが挿入できる箱口が設置され、前記撮影スタンドと前記光補助ランプスタンドがいずれも移動台及び前記筐体の中に設置される固定ロッドを含み、前記移動台が取付台と、固定ボルトと、固定ナットと接続フレームを含み、前記取付台が前記接続フレームに設置され、前記接続フレームがナット固定スロットと、前記固定ロッドがはまっているカバー枠を備えており、ナット固定スロットが前記カバー枠に設置され、固定ナットがナット固定スロットに装着され、固定ボルトと固定ナットとが繋がり且つ前記カバー枠を通り抜け、前記移動台と前記固定ロッドが固定ボルトにより前記固定ロットに当接されて、これによりお互いに固定される。 Preferably, the inspection and measurement mechanism includes a housing and a first camera installed in the housing, a light auxiliary lamp, a photographing stand, and a light auxiliary lamp stand, into which a mechanical arm can be inserted. A box opening is installed, each of the photographing stand and the light auxiliary lamp stand includes a moving base and a fixing rod installed in the housing, and the moving base is a mounting base, a fixing bolt, and a fixing nut. A connection frame, wherein the mounting base is installed on the connection frame, the connection frame includes a nut fixing slot, and a cover frame into which the fixing rod fits, and a nut fixing slot is installed on the cover frame; A fixing nut is attached to the nut fixing slot, the fixing bolt and the fixing nut are connected and pass through the cover frame, and the moving table and the fixing rod are fixed. Abuts on the fixed lot by belt, thereby being fixed to each other.

前記第一カメラが前記撮影スタンドの前記取付台に装着され、前記光補助ランプが前記光補助ランプスタンドの前記取付台に装着される。 The first camera is mounted on the mount of the photographing stand, and the light auxiliary lamp is mounted on the mount of the light auxiliary lamp stand.

好ましくは、前記光補助ランプと前記光補助ランプスタンドがいずれも二つがあり且つ一対一対応で設置され、二つの前記光補助ランプが前記筐体の両側に位置し且つ相対で設置され、前記撮影スタンドが二つの前記光補助ランプの間に設置される。 Preferably, the light assisting lamp and the light assisting lamp stand each have two and are installed in a one-to-one correspondence, and the two light assisting lamps are located on both sides of the housing and are installed relative to each other, and the photographing is performed. A stand is installed between the two light assist lamps.

好ましくは、また前記撮影調整ボールねじ及び前記灯光調整ボールねじを含み、前記撮影スタンドが撮影調整ボールねじの移動ブロックに設置され、光補助ランプスタンドが灯光調整ボールねじの移動ブロックに設置される。 Preferably, the apparatus further includes the photographing adjustment ball screw and the lamp adjusting ball screw, wherein the photographing stand is installed on a moving block of the photographing adjusting ball screw, and the auxiliary light lamp stand is installed on a moving block of the lamp adjusting ball screw.

好ましくは、検査測定仕組みの検査測定方法は: Preferably, the test measurement method of the test measurement mechanism is:

画素平面座標系(u,v)と、像平面座標系を建てて、前記像平面座標系は画像物理座標系(x,y)と、カメラ座標系(XC,YC,ZC)と、世界座標系(XW,YW,ZW)を含む。 A pixel plane coordinate system (u, v) and an image plane coordinate system are constructed, and the image plane coordinate system is defined as an image physical coordinate system (x, y) and a camera coordinate system (X C , Y C , Z C ). , The world coordinate system (X W , Y W , Z W ).

画素平面座標系と像平面座標系との関係を建て、画素平面と画像平面との関係を参照し、空間点Mと像点mの画素座標との間の変換関係を得る: Establish the relationship between the pixel plane coordinate system and the image plane coordinate system and refer to the relationship between the pixel plane and the image plane to obtain the transformation relationship between the spatial point M and the pixel coordinates of the image point m:

計算式1:

Figure 2019217625
。 Formula 1:
Figure 2019217625
.

その中、dx、dyがそれぞれ各図形エレメントの長さと広さを表示する;u0とv0が光軸と像平面との交点を表示する;fがカメラの焦点距離であり、即ち図の中の点0 から点0cまでの距離である; XC 、YC 、ZCがカメラ座標系の中の一点Mの座標である; Where dx and dy indicate the length and width of each graphic element, respectively; u0 and v0 indicate the intersection of the optical axis and the image plane; f is the focal length of the camera, ie, The distance from point 0 to point 0c; X C , Y C , Z C are the coordinates of one point M in the camera coordinate system;

仮にα=f|dx、β=f|dyはそれぞれx軸とy軸方向における画素を単位とした相当焦点距離を代表する。そのほか媒介変数γ=αtgθを導入し画素平面の中で画素を単位とする座標軸の傾斜度合の測定値を表示し、θはカメラCCDの陣列におけるv軸の傾斜度合であり 、計算式1を下記のように書き直せる: If α = f | d x, β = f | d y are representative equivalent focal length in units of pixels in the x-axis and y-axis directions, respectively. In addition, a parameter γ = αtgθ 1 is introduced to display the measured value of the inclination of the coordinate axis in units of pixels in the pixel plane. Θ is the inclination of the v axis in the array of camera CCDs. Can be rewritten as:

計算式2:

Figure 2019217625
。 Formula 2:
Figure 2019217625
.

計算式2によりカメラの五つの歪み系数を得る; Equation 5 gives the five distortion coefficients of the camera;

回転変換行列Rと並進移動変数tを用いて世界座標系の点からカメラ座標点までの変換を叙述し、空間の中のある点Mが世界座標系とカメラ座標系のもとでのそれぞれの同次座標を[Xw,Yw,Zw,1][Xe,Ye,Ze,1]と仮定すれば、下記のような関係がある: A transformation from a point in the world coordinate system to a camera coordinate point is described using the rotation transformation matrix R and the translational movement variable t, and a point M in space is defined as a point M in the world coordinate system and a point in the camera coordinate system. Assuming that the homogeneous coordinates are [X w , Y w , Z w , 1] T [X e , Y e , Z e , 1] T , the following relationship is obtained:

計算式3:

Figure 2019217625
。 Formula 3:
Figure 2019217625
.

その中、O=「0,0,0」、XW、YW、ZWは空間の中のある点の世界座標系における座標であり、並進ベクトルtの中の三つのシフト量に回転行列Rの三つの回転角度を加えた六個の媒介変数はカメラの外部媒介変数である。 Among them, O = “0,0,0” T , X W , Y W , and Z W are coordinates of a point in space in the world coordinate system, and are rotated by three shift amounts in the translation vector t. The six parameters obtained by adding the three rotation angles of the matrix R are external parameters of the camera.

歪み係数行列と外部媒介変数行列を得た後歪み係数行列と外部媒介変数行列によりピクチャーを補正する; After obtaining the distortion coefficient matrix and the external parameter matrix, the picture is corrected using the distortion coefficient matrix and the external parameter matrix;

ピクチャー補正のステップ: Picture correction steps:

歪み係数と外部媒介変数により空間の中のM点がピクセル座標系における座標は: Due to the distortion coefficient and external parameters, the coordinates of M points in space in the pixel coordinate system are:

計算式4:

Figure 2019217625
である。 Formula 4:
Figure 2019217625
It is.

その中、Rは回転変換行列で、3×3の直交単位行列であり、tは三次元並進変量である; Wherein R is a rotation transformation matrix, a 3 × 3 orthogonal unit matrix, and t is a three-dimensional translation variate;

更に非線形最小化模型を建てることにより結果値と真値との差を改善する。 Furthermore, the difference between the result value and the true value is improved by constructing a nonlinear minimization model.

カメラにはラジアルディストーションがあるときに、仮に(u,v)が理想的なピクセル座標であり、

Figure 2019217625
が実際のピクセル座標であり 、 (x,y)と
Figure 2019217625
それぞれが理像的なピクセル座標と実際のピクセル座標であり、k1、k2がラジアルディストーション係数であり、
Figure 2019217625

Figure 2019217625
から下記な計算式が得られる: If the camera has radial distortion, (u, v) is the ideal pixel coordinates,
Figure 2019217625
Is the actual pixel coordinates, and (x, y) and
Figure 2019217625
Each is a rational pixel coordinate and an actual pixel coordinate, k1 and k2 are radial distortion coefficients,
Figure 2019217625
When
Figure 2019217625
Gives the following formula:

計算式5:

Figure 2019217625
。 Formula 5:
Figure 2019217625
.

最小自乗法により計算式5を解き、ラジアルディストーション係数k1とk2を得た後最尤推定法により改善する。 Equation 5 is solved by the method of least squares to obtain radial distortion coefficients k1 and k2, and then improved by the maximum likelihood estimation method.

直径に対する検査測定を行う時に、検査測定待ちの軸類パーツのサブピクセルレベルエッジに対してコーナー検出を行って、コーナーにより直径を計算する; When performing the inspection measurement on the diameter, the corner detection is performed on the sub-pixel level edge of the shaft part waiting for the inspection measurement, and the diameter is calculated by the corner;

エッジ検出 Edge detection

Zernikeモーメントに基つくサブピクセルエッジ検出を採用する;ステップエッジモデルを建てる; Adopt sub-pixel edge detection based on Zernike moment; build step edge model;

仮にkはステップ高であり、hは背景のグレースケールである。エッジの回転角度からθを引くと、エッジがy軸と平行になる。 Suppose k is the step height and h is the gray scale of the background. When θ is subtracted from the rotation angle of the edge, the edge becomes parallel to the y-axis.

従って

Figure 2019217625
が得られ、その中、
Figure 2019217625
はピクチャーが回転してからのエッジ関数である。Zernikeモーメントを用いてエッジ定位を行う時に次数が違う三つのZernikeモーメントが必要であり、それぞれはA00 、A11 、A20であり、それらの積分核関数それぞれはV00=1,V11=x+jy, V20=2x2+2y2-1である。対応する原始ピクチャーのZernikeモーメントと回転した後でピクチャーのZernikeモーメントとの関係はA00=A00,A11=A11e,A20=A20である。 Therefore
Figure 2019217625
Is obtained, in which
Figure 2019217625
Is an edge function after the picture is rotated. When performing edge localization using the Zernike moment, three Zernike moments of different orders are required, each of which is A 00 , A 11 , A 20 , and their integral kernel functions are respectively V 00 = 1, V 11 = x + jy, V 20 = 2x 2 + 2y 2 -1. The relation between the Zernike moment of the corresponding source picture and the Zernike moment of the picture after rotation is A 00 = A 00 , A 11 = A 11 e , A 20 = A 20 .

計算式6:Anm=Anme-jmθその中、nmはn階 m次Zernikeモーメントを代表し、計算式6は回転画像の1階1Zernikeモーメントにおける虚部を表示し、即ちエッジがy軸と並行している時に1階1次Zernikeモーメントにおける虚部がゼロであり、言い換えれば: Formula 6: A nm = A nm e -jmθ where nm represents the n-th order m-order Zernike moment, and Formula 6 represents the imaginary part of the first order 1-Zernike moment of the rotated image, that is, the edge is on the y-axis. The imaginary part in the first-order first-order Zernike moment is zero when parallel to, in other words:

Im[A11]=sin(θ)Re[A11]-cos(θ)Im[A11]=0,Im[A11]とRe[A11]それぞれは回転画像Zernikeモーメントの中の虚部と実部である。これによりエッジが回転した角度は

Figure 2019217625
であり、示している模型を計算して得られるのは:
Figure 2019217625
である。 Im [A 11 ] = sin (θ) Re [A 11 ] -cos (θ) Im [A 11 ] = 0, Im [A 11 ] and Re [A 11 ] are the imaginary parts in the rotated image Zernike moment And the real part. This gives the angle at which the edge is rotated
Figure 2019217625
And calculating the model shown gives:
Figure 2019217625
It is.

連立方程式により円心からエッジまでの垂直位置は

Figure 2019217625
であり、画像のサブピクセル位置は:
Figure 2019217625
である。 From the simultaneous equations, the vertical position from the center of the circle to the edge is
Figure 2019217625
And the sub-pixel positions of the image are:
Figure 2019217625
It is.

コーナー検出: Corner detection:

コーナー周辺にある点はエッジに位置している点とエッジに位置していない点の二つのタイプに分けられる; Points around the corner are divided into two types: points located at edges and points not located at edges;

反復によりサブ画素精度があるコーナー位置を確定する。 A corner position having sub-pixel accuracy is determined by repetition.

サブ画素レベルのコーナー位置の計算方法はベクトル直交性に対する観測に基ついて実現され、即ち中央点qからその近隣点pまでのベクトルとp点のところにある画像傾度とが直交し且つ画像と雑音測定との影響を受ける。 The method of calculating the corner position at the sub-pixel level is realized based on the observation of the vector orthogonality, that is, the vector from the central point q to its neighboring point p and the image gradient at the point p are orthogonal and the image and noise Affected by measurement.

計算式7により表す: Expressed by equation 7:

計算式7:

Figure 2019217625
; Formula 7:
Figure 2019217625
;

その中、

Figure 2019217625
がqの近隣点Piのところにある画像傾度を示し、qの値がεiを最小化することにより得られる。 Among them,
Figure 2019217625
Indicates the image gradient at the neighboring point P i of q, and the value of q is obtained by minimizing ε i .

εiをゼロとすることにより、下記のような体系方程式を建てる: By setting ε i to zero, construct a systematic equation such as:

計算式8:

Figure 2019217625

Formula 8:
Figure 2019217625
;

その中、探索ウインドウの中心qの近隣の中の傾度が累加される。一番目の傾度媒介変数Gと二番目の傾度媒介変数bを転用し、得られたのは: Among them, the gradient in the neighborhood of the center q of the search window is added. Diverting the first gradient parameter G and the second gradient parameter b yielded:

計算式9:

Figure 2019217625
である。 Formula 9:
Figure 2019217625
It is.

その計算方法は探索ウインドウの中心を新しい中心qと設定し、それからある限界値ポイントより低い中心位置を探し出すまで繰り返す。 The calculation method sets the center of the search window as the new center q and then repeats until a center position lower than a certain threshold point is found.

画像のつなぎ合わせ: Image stitching:

仮にf(x,y)、f(x,y)は二枚の画像の信号であり、f(x,y)はf(x,y)が(dx,dy)を並進移動して得られたのであり、即ち:計算式10:

Figure 2019217625
である。 Suppose f 1 (x, y) and f 2 (x, y) are signals of two images, and f 2 (x, y) is f 1 (x, y) translating (dx, dy). That is, the following equation:
Figure 2019217625
It is.

計算式10を周波数領域に反映した後得たのは: After reflecting equation 10 in the frequency domain, we got:

計算式11:F2(u,v)=F1(u,v)×

Figure 2019217625
; Formula 11: F 2 (u, v) = F 1 (u, v) ×
Figure 2019217625
;

計算式11を変換してインタラクティブ率スペクトルが得られる: Transforming Equation 11 gives the interactive rate spectrum:

計算式12:H=(u,v)=

Figure 2019217625
=
Figure 2019217625
; Formula 12: H = (u, v) =
Figure 2019217625
=
Figure 2019217625
;

計算式12に対してフーリエ逆変換してディラックのδ関数が得られ、それから関数のピックポイントが対応する座標を探して、求めている変位量が得られる。 The Fourier inverse transform is performed on the equation (12) to obtain the Dirac δ function. Then, the coordinate corresponding to the pick point of the function is searched, and the displacement amount obtained is obtained.

二枚のピクチャーの変位量を得た後この変位量により画像をつなぎ合わせることができる。 After the displacement of the two pictures is obtained, the images can be joined by this displacement.

直径の検査測定: Inspection measurement of diameter:

サブピクセルレベルのコーナー検出を行ってから、各コーナーの座標が得られる。仮にコーナーの座標は(x,y)、(x,y)、......(xi,yi)であり、各コーナーの縦座標の値y、y、......yiを順序に読み取り、yi+1<yiの時に、(xi,yi)を前に置き、以下も同様、コーナーの座標を縦座標の小さい順に昇順に並び替え、仮に極小な常数をAとし、配列されたコーナー座標に対して操作を行う:仮にyは第i +1番目のコーナーの縦座標と第i番目のコーナーの縦座標との差の絶対数であり、即ちy=|yi +1-yi|であり、y

Figure 2019217625
Aである場合、一番目の直径はyであり、y〉Aである場合、第二番目のコーナーを指す指針を第三番目のコーナーに移動し、以下も同様、各軸類パーツの直径の長さdを得られる。 After performing sub-pixel level corner detection, the coordinates of each corner are obtained. If corner coordinates (x 1, y 1), (x 2, y 2), ...... (x i, y i) is the value y 1, y 2 of the vertical coordinates of each corner, ...... Read y i in order, and when y i +1 <y i , put (x i , y i ) in front, and in the same way, set the corner coordinates in ascending order from the smallest ordinate Sorting, suppose that the smallest constant is A, and operate on the arranged corner coordinates: suppose y is the absolute difference between the ordinate of the (i + 1) th corner and the ordinate of the ith corner A number, that is, y = | y i + 1-y i |
Figure 2019217625
If A, the first diameter is y, and if y> A, move the pointer pointing to the second corner to the third corner, and so on. The length d is obtained.

好ましくは、前記排出盤が排出回転盤及び収納筒を含み、前記収納筒が複数であり、それぞれ前記排出回転盤に沿って前記排出回転盤に円周方向で均一分布される; Preferably, the discharge disk includes a discharge rotation disk and a storage cylinder, and the storage cylinders are plural, and each of the storage cylinders is uniformly distributed in a circumferential direction on the discharge rotation disk along the discharge rotation disk;

前記機械アームがアーム体及び前記アーム体に設置されるマニピュレーターを含み、前記マニピュレーターが手指気体シリンダー及び二つの添木を含み、二つの前記添木がそれぞれ前記手指気体シリンダーに装着され、二つの前記添木の間がチャック区を形成し、二つの前記添木の挟持面にはいずれも円弧溝が設置され、各前記添木には二つの前記円弧溝が設置され、二つの前記円弧溝がそれぞれ縦向きと横向きで設置される。 The mechanical arm includes an arm body and a manipulator installed on the arm body, the manipulator includes a finger gas cylinder and two splints, and the two splints are respectively attached to the finger gas cylinders, and the two A space between the splints forms a chuck section, two arc grooves are provided on the holding surface of the two splints, two arc grooves are provided on each of the splints, and the two arc grooves are vertically It is installed in the orientation and sideways.

好ましくは、前記検査測定仕組みはブラックボックスと、加工部品伝送仕組みと撮影仕組みを含み、前記加工部品伝送仕組み及び前記撮影仕組みが前記ブラックボックスの中に設置され、前記撮影仕組みは二つがあり、二つの前記撮影仕組みはそれぞれ前記加工部品伝送仕組みが加工部品を伝送する方向の両側に相対で設置され、前記撮影仕組みが第二カメラ、及び二つの光補助ランプを含み、二つの前記光補助ランプがそれぞれ前記第二カメラの両側に設置される; Preferably, the inspection and measurement mechanism includes a black box, a work part transmission mechanism, and an imaging mechanism, wherein the work part transmission mechanism and the imaging mechanism are installed in the black box, and the imaging mechanism has two, The two photographing mechanisms are installed relative to each other on both sides in the direction in which the work part transmitting mechanism transmits the work part, and the photographing mechanism includes a second camera, and two light auxiliary lamps, and two light auxiliary lamps are provided. Respectively installed on both sides of the second camera;

前記加工部品伝送仕組みが親ねじ伝動仕組み及びパーツ固定ブロックを含み、前記パーツ固定ブロックが前記親ねじ伝動仕組みの伝送スライドブロックに設置され、前記パーツ固定ブロックには直径が上から下まで段々減少するマルチレベル段付穴が設置される。 The work part transmission mechanism includes a lead screw transmission mechanism and a part fixing block, and the part fixing block is installed on the transmission slide block of the lead screw transmission mechanism, and the diameter of the part fixing block gradually decreases from top to bottom. A multi-level stepped hole is installed.

本発明は既存の技術と比べて下記のようにメリットと効果がある: The present invention has the following advantages and effects over existing technologies:

本発明は軸類パーツ及び軸類パーツのDWG形式の製作図だけを提供すれば、許される加工の誤差の範囲内で、完全に自動的にフィードして加工し、検査測定し、及び排出することを実現できる。本発明はまた軸類パーツの各部分の半径と、高さと、同軸率と、瑕疵などを検査測定でき、且つ加工された軸類パーツが合格か否かを自動的に判断できる。 According to the present invention, if only a shaft part and a DWG format drawing of the shaft part are provided, the feeding, processing, inspecting, measuring, and discharging are automatically performed within an allowable processing error. Can be realized. The present invention can also inspect and measure the radius, height, coaxiality, defects, etc. of each part of the shaft part, and automatically determine whether the processed shaft part is acceptable.

図1は本発明における軸類パーツの加工装置の一つの実施形態の構造概略図である;FIG. 1 is a schematic structural view of one embodiment of a shaft part processing apparatus according to the present invention; 図2は本発明における中継盤の構造概略図である;FIG. 2 is a schematic structural view of a relay board according to the present invention; 図3は本発明におけるフィード盤の構造概略図である;FIG. 3 is a schematic structural diagram of a feed plate according to the present invention; 図4は本発明における運動添木の構造概略図である;Fig. 4 is a schematic diagram of the structure of a motion splint according to the present invention; 図5は本発明における回転盤仕組みの構造概略図である;FIG. 5 is a schematic structural view of the turntable mechanism in the present invention; 図6は本発明における検査測定仕組みの一つの実施形態の構造概略図である;FIG. 6 is a schematic structural diagram of one embodiment of the inspection and measurement mechanism in the present invention; 図7は図6のもう一つの視点の構造概略図である;FIG. 7 is a structural schematic diagram of another viewpoint of FIG. 6; 図8は本発明における撮影スタンドの構造概略図である;FIG. 8 is a schematic structural view of a photographing stand according to the present invention; 図9は本発明における撮影スタンドの断面図である;FIG. 9 is a sectional view of a photographing stand according to the present invention; 図10は本発明における排出盤の構造概略図である;FIG. 10 is a schematic structural view of a discharge plate according to the present invention; 図11は本発明における検査測定仕組みのもう一つの実施形態の構造概略図であるFIG. 11 is a schematic structural diagram of another embodiment of the inspection and measurement mechanism in the present invention. 図12は図11の検査測定仕組みのブラックボックスが切断された後の構造概略図である;FIG. 12 is a schematic diagram of the structure of the inspection and measurement mechanism of FIG. 11 after the black box is cut; 図13は本発明におけるパーツ固定ブロックの構造概略図である;FIG. 13 is a schematic structural view of a part fixing block according to the present invention; 図14は本発明におけるマニピュレーターの構造概略図である;FIG. 14 is a schematic structural diagram of a manipulator according to the present invention; 図15はカメラキャリブレーションの概略図である;FIG. 15 is a schematic diagram of camera calibration; 図16はモーメントに基つくサブピクセルエッジ検出の図である;FIG. 16 is a diagram of subpixel edge detection based on moment; 図17はコーナー定位の一つの概略図である;Figure 17 is a schematic diagram of one of the corner localizations; 図18はコーナー定位のもう一つの概略図である。FIG. 18 is another schematic diagram of corner localization.

実施例及び付図を参照し本発明をさらに詳しく説明し、但し本発明の実施方式はこれに限定されない。 The present invention will be described in more detail with reference to embodiments and the accompanying drawings, but embodiments of the present invention are not limited thereto.

軸類パーツの加工装置はフィード盤1、旋盤2、検査測定仕組み3、不良品区4、排出盤5、機械アーム6、及び仕事台7を含む: The equipment for processing the shaft parts includes a feed plate 1, a lathe 2, an inspection and measurement mechanism 3, a defective section 4, a discharge plate 5, a mechanical arm 6, and a worktable 7:

前記フィード盤1は被加工軸類パーツを置くために用いられる; The feed plate 1 is used for placing the shaft parts to be processed;

前記旋盤2は軸類パーツを加工するために用いられる; The lathe 2 is used for machining shaft parts;

前記検査測定仕組み3は軸類パーツの加工される部分が加工の要求を満たすか否かを検査測定するために用いられる; The inspection and measurement mechanism 3 is used for inspecting and measuring whether the processed part of the shaft part satisfies the processing requirement;

前記不良品区4は検査測定されて加工の要求を満たすことができない軸類パーツを置くために用いられる; The defective part 4 is used for placing shaft parts which are inspected and measured and cannot meet the processing requirements;

前記排出盤5は検査測定されて加工の要求を満たした軸類パーツを置くことために用いられる; Said discharge plate 5 is used for placing shaft parts which have been inspected and measured and have satisfied the requirements of processing;

前記機械アーム6は前記フィード盤1の中から被加工軸類パーツを取り且つ順に前記旋盤2と前記検査測定仕組み3までに伝送するために用いられ、検査測定して加工の要求を満たすことができない時に、軸類パーツを前記不良品区4の中に入れ、検査測定して加工の要求を満たした時に、軸類パーツを前記排出盤5の中に入れる。 The mechanical arm 6 is used to take a shaft part to be machined from the feed machine 1 and transmit it to the lathe 2 and the inspection and measurement mechanism 3 in order. When it is not possible, the shaft parts are put into the defective product section 4, and when the inspection and measurement satisfy the processing requirements, the shaft parts are put into the discharge board 5.

前記仕事台7のテーブル面にはあり溝8が均一で開削され、前記フィード盤1と、前記旋盤2と、前記検査測定仕組み3と、前記不良品区4と、前記排出盤5と前記機械アーム6がいずれもあり溝8により前記仕事台7に装着される。 The table 8 of the worktable 7 has a groove 8 uniformly cut therein, and the feed plate 1, the lathe 2, the inspection and measurement mechanism 3, the defective section 4, the discharge plate 5, and the machine Each arm 6 has a groove 8 and is attached to the worktable 7 by a groove 8.

好ましくは、前記機械アーム6は前記機械アーム6が軸類パーツ部位を切り替えてきつく締める時に軸類パーツを置くために用いられる中継盤9を含み、前記中継盤9がエアチャック10及びそれぞれ前記エアチャック10の各爪に装着される中継添木11を含み、各前記中継添木11の間が第一チャック区を形成する。 Preferably, the mechanical arm 6 includes a relay panel 9 used for placing the shaft parts when the mechanical arm 6 switches and tightens the shaft part parts, and the relay panel 9 is provided with the air chuck 10 and the air chuck 10 respectively. It includes a relay splint 11 attached to each claw of the chuck 10, and a space between the relay splints 11 forms a first chuck section.

作動過程に、前記機械アーム6が摘み取るのは前記旋盤2のうち加工された位置であるから、検査測定を妨碍しないために、前記中継盤9を設置し、前記機械アーム6が軸類パーツの加工された部分を前記中継盤9の中に入れて且つ前記中継盤9によりきつく挟み、その後、前記機械アーム6が軸類パーツを放してから、軸類パーツがまだ加工されていない部分に移動し固定を行い、固定が完了した後前記中継盤9が軸類パーツを放して、前記機械アーム6は軸類パーツ部位を切り替えてきつく締める過程が完成された。 In the operation process, since the mechanical arm 6 picks up the machined position of the lathe 2, the relay board 9 is installed so as not to disturb the inspection and measurement. The machined part is put into the relay board 9 and tightly sandwiched by the relay board 9, and then, after the mechanical arm 6 releases the shaft parts, it moves to a part where the shaft parts have not been machined yet. After the fixing is completed, the relay panel 9 releases the shaft parts, and the mechanical arm 6 switches the shaft parts and tightens tightly.

好ましくは、前記フィード盤1が盤体12及びチャック仕組みを含み、前記チャック仕組みは固定添木13と、運動添木14と前記運動添木14をプッシュすることができるプッシュ板仕組みを含み、固定添木13が前記盤体12に固定され、前記盤体12には前記固定添木13へ延伸するスライド溝16が設置され、前記運動添木14の底部にはスライドブロック15が設置され、前記スライドブロック15が前記スライド溝16の中に接続される。前記固定添木13と前記運動添木14がいずれも円弧形である。 Preferably, the feed plate 1 includes a disk body 12 and a chuck mechanism, and the chuck mechanism includes a fixed splint 13, a moving splint 14, and a push plate mechanism capable of pushing the moving splint 14, A splint 13 is fixed to the board 12, a slide groove 16 extending to the fixed splint 13 is provided on the board 12, and a slide block 15 is provided at the bottom of the moving splint 14, A slide block 15 is connected in the slide groove 16. Both the fixed splint 13 and the moving splint 14 are arc-shaped.

好ましくは、前記チャック仕組みと前記スライド溝16がいずれも複数で一対一対応で設置される; Preferably, each of the chuck mechanism and the slide groove 16 is provided in a plural one-to-one correspondence;

好ましくは、また回転盤仕組みを含み、前記回転盤仕組みがモータ17及びラック18を含み、前記モータ17が前記ラック18に装着され、前記モータ17の動力軸が前記盤体12と接続される。 Preferably, it also includes a turntable mechanism, wherein the turntable mechanism includes a motor 17 and a rack 18, the motor 17 is mounted on the rack 18, and a power shaft of the motor 17 is connected to the board 12.

好ましくは、また主軸19及び軸継手20を含み、前記盤体12が前記主軸19に装着され、前記モータ17の動力軸が前記軸継手20により主軸19と接続される。 Preferably, it also includes a main shaft 19 and a shaft coupling 20, wherein the board 12 is mounted on the main shaft 19, and a power shaft of the motor 17 is connected to the main shaft 19 by the shaft coupling 20.

好ましくは、また前記モータ17をコントロールして回転させるために用いられる符合器21を含む。 Preferably, it also includes an encoder 21 used to control and rotate the motor 17.

被加工の軸類パーツが前記固定添木13と前記運動添木14との間に置かれ、前記運動添木14が前記固定添木13へ移動することにより軸類パーツをきつく挟み、軸類パーツを加工する生産ラインに原材料を提供する。円弧形である前記固定添木13と前記運動添木14が円柱形である軸類パーツをきつく挟むことができる。前記運動添木14が移動でき、そのため、同じでない直径の軸類パーツに対して固定を行うことができる。普通には置かれることができる軸類パーツの直径範囲は10から100mmまでである。軸類パーツの直径の大きさにより適合なサイズまで調整することもできる。 A shaft part to be processed is placed between the fixed splint 13 and the moving splint 14, and the moving splint 14 moves to the fixed splint 13, thereby clamping the shaft part tightly. Provide raw materials to production lines that process parts. The fixed splint 13 and the moving splint 14 that are arc-shaped can tightly sandwich a shaft part that is cylindrical. The motion splint 14 can move, so that it can be fixed to shaft parts having unequal diameters. The diameter range of shaft parts that can normally be placed is from 10 to 100 mm. It can also be adjusted to an appropriate size depending on the diameter of the shaft parts.

好ましくは、前記検査測定仕組み3が筐体22及び前記筐体22の中に設置される第一カメラと、光補助ランプと、撮影スタンド23と光補助ランプスタンド24を含み、前記筐体22には機械アーム6が挿入できる箱口25が設置され、前記撮影スタンド23と前記光補助ランプスタンド24がいずれも移動台26及び前記筐体22の中に設置される固定ロッド27を含み、前記移動台26が取付台28と、固定ボルトと、固定ナットと接続フレームを含み、前記取付台28が前記接続フレームに設置され、前記接続フレームがナット固定スロット30と、前記固定ロッド27がはまっているカバー枠31を備えており、ナット固定スロット30が前記カバー枠31に設置され、固定ナットがナット固定スロット30に装着され、固定ボルトと固定ナットとが繋がり且つ前記カバー枠31を通り抜け、前記移動台26と前記固定ロッド27が固定ボルトにより前記固定ロット27に当接されて、これによりお互いに固定される;前記移動台26を調整する必要がある時、固定ボルトを緩めて、前記移動台26を前記固定ロッド27に沿って目標位置までプッシュした後、固定ボルトを締めて、これにより前記移動台26を前記固定ロッド27に固定する。 Preferably, the inspection and measurement mechanism 3 includes a housing 22 and a first camera installed in the housing 22, an auxiliary light lamp, a photographing stand 23, and an auxiliary light lamp stand 24. Is provided with a box opening 25 into which the mechanical arm 6 can be inserted, and each of the photographing stand 23 and the light auxiliary lamp stand 24 includes a movable base 26 and a fixed rod 27 installed in the housing 22. The base 26 includes a mounting base 28, a fixing bolt, a fixing nut, and a connection frame. The mounting base 28 is installed on the connection frame, and the connection frame has a nut fixing slot 30 and the fixing rod 27 fitted therein. A cover frame 31 is provided, a nut fixing slot 30 is installed in the cover frame 31, a fixing nut is mounted on the nut fixing slot 30, And the fixing nut are connected to each other and pass through the cover frame 31, and the moving table 26 and the fixing rod 27 are brought into contact with the fixing lot 27 by fixing bolts, thereby being fixed to each other; When it is necessary to adjust, the fixing bolt is loosened and the movable table 26 is pushed to the target position along the fixing rod 27, and then the fixing bolt is tightened. Fix it.

前記第一カメラが前記撮影スタンド23の前記取付台28に装着され、前記光補助ランプが前記光補助ランプスタンド24の前記取付台28に装着される。 The first camera is mounted on the mount 28 of the photographing stand 23, and the light auxiliary lamp is mounted on the mount 28 of the light auxiliary lamp stand 24.

好ましくは、前記光補助ランプと前記光補助ランプスタンド24がいずれも二つがあり且つ一対一対応で設置され、二つの前記光補助ランプが前記筐体22の両側に位置し且つ相対で設置され、前記撮影スタンド23が二つの前記光補助ランプの間に設置され、作動の時、前記第一カメラが二つの前記光補助ランプの間に位置し軸類パーツに対して撮影する。 Preferably, the light auxiliary lamp and the light auxiliary lamp stand 24 each have two and are installed in a one-to-one correspondence, and the two light auxiliary lamps are located on both sides of the housing 22 and are installed relative to each other, The photographing stand 23 is installed between the two light assisting lamps, and in operation, the first camera is positioned between the two light assisting lamps to photograph an axis part.

好ましくは、また前記撮影スタンド23の高さを調整することができる撮影調整ボールねじ及び前記光補助ランプスタンド24の位置を調整することができる灯光調整ボールねじを含み、前記撮影スタンド23が撮影調整ボールねじの移動ブロックに設置され、光補助ランプスタンド24が灯光調整ボールねじの移動ブロックに設置される。前記撮影調整ボールねじは前記撮影スタンド23を連動することにより前記第一カメラの撮影する位置を調整することができる。本発明の前記光補助ランプと前記第一カメラが具体的に軸類パーツのサイズにより調整されることができ、これにより様々な場合における撮影の要求に応じることができるということがわかる。 Preferably, the apparatus further includes a photographing adjustment ball screw capable of adjusting the height of the photographing stand 23 and a light adjusting ball screw capable of adjusting the position of the light auxiliary lamp stand 24, wherein the photographing stand 23 is adapted to perform photographing adjustment. The light auxiliary lamp stand 24 is installed on the moving block of the ball screw, and the light auxiliary lamp stand 24 is installed on the moving block of the light adjusting ball screw. The photographing adjustment ball screw can adjust the photographing position of the first camera by interlocking the photographing stand 23. It can be seen that the light assist lamp and the first camera of the present invention can be specifically adjusted according to the size of the shaft parts, so that it can meet the photographing demand in various cases.

本発明は加工された軸類パーツの直径、表面欠陥、同軸率などの媒介変数または指標を検査測定することにより、その軸類パーツが合格か否かを判断する。 The present invention determines whether the shaft part passes by inspecting and measuring parameters or indices such as a diameter, a surface defect, and a coaxial ratio of the processed shaft part.

本発明の採用した検査測定方法は暗い空間で行う必要があるために、本発明が黒いアクリル板を利用して暗い正方体である前記筐体22を建てる。前記筐体22の底部の両側には二つの移動可能な光補助ランプが装着され、検査測定の過程中撮影を行う時に需要な日照り条件を提供することができる。光補助ランプは白い24v帯状工業検測照明光源を採用できる。 Since the inspection and measurement method adopted by the present invention needs to be performed in a dark space, the present invention uses the black acrylic plate to build the housing 22 which is a dark square. Two movable light assist lamps are mounted on both sides of the bottom of the housing 22 to provide a necessary sunshine condition when performing an image taking process during the inspection and measurement. The light auxiliary lamp can adopt a white 24v band industrial inspection illumination light source.

前記光補助ランプスタンド24の前記移動台26が前記固定ロッド27に沿って移動することができることを通じて、具体的に検査測定される軸類パーツのサイズにより光源の位置を調整して、最適な撮影効果に達することができる。 Since the movable base 26 of the light auxiliary lamp stand 24 can move along the fixed rod 27, the position of the light source can be adjusted according to the size of the shaft parts to be specifically inspected and measured, so that optimal photographing can be performed. The effect can be reached.

前記撮影調整ボールねじが前記撮影スタンド23を連動して垂直方向に沿って上下へ移動させ、それにより最適な撮影位置に着くことができる。 The photographing adjustment ball screw moves the photographing stand 23 up and down in the vertical direction in conjunction with the photographing stand 23, thereby reaching the optimum photographing position.

好ましくは、前記検査測定仕組み3がブラックボックス34、加工部品伝送仕組み及び撮影仕組みを含み、前記加工部品伝送仕組み及び前記撮影仕組みが前記ブラックボックス34の中に設置され、前記撮影仕組みは二つがあり、二つの前記撮影仕組みはそれぞれ前記加工部品伝送仕組みが加工部品を伝送する方向の両側に相対で設置され、前記撮影仕組みが第二カメラ35、画像ボールねじ調整仕組み43及び二つの光補助光源36を含み、二つの前記光補助光源36がそれぞれ前記第二カメラ35の両側に設置され、前記第二カメラ35が前記画像ボールねじ調整仕組み43に設置される。 Preferably, the inspection / measurement mechanism 3 includes a black box 34, a processing component transmission mechanism and an imaging mechanism, and the processing component transmission mechanism and the imaging mechanism are installed in the black box 34. There are two imaging mechanisms. , The two photographing mechanisms are installed relative to each other on both sides in the direction in which the work part transmitting mechanism transmits the work part, and the photographing mechanism is a second camera 35, an image ball screw adjusting mechanism 43, and two light auxiliary light sources 36. And the two light auxiliary light sources 36 are respectively installed on both sides of the second camera 35, and the second camera 35 is installed on the image ball screw adjustment mechanism 43.

前記加工部品伝送仕組みが親ねじ伝動仕組み37及びパーツ固定ブロック38を含み、前記パーツ固定ブロック38が前記親ねじ伝動仕組み37の伝送スライドブロックに設置され、前記パーツ固定ブロック38には直径が上から下まで段々減少するマルチレベル段付穴42が設置され、同じでない直径の軸類パーツに対して装着を行うことができる。 The working part transmission mechanism includes a lead screw transmission mechanism 37 and a part fixing block 38, and the part fixing block 38 is installed on the transmission slide block of the lead screw transmission mechanism 37, and the part fixing block 38 has a diameter from above. A multi-level stepped hole 42 is provided, which gradually decreases to the bottom, so that mounting can be performed on shaft parts having unequal diameters.

好ましくは、前記排出盤5が排出回転盤32及び収納筒33を含み、前記収納筒33が複数であり、それぞれ前記排出回転盤32に沿って前記排出回転盤32に円周方向で均一分布される。 Preferably, the discharge disk 5 includes a discharge rotation disk 32 and a storage cylinder 33, and the storage cylinders 33 are plural, and are uniformly distributed in the circumferential direction on the discharge rotation disk 32 along the discharge rotation disk 32. You.

前記排出回転盤32及び前記収納筒33が一体成型されて、組み立てる必要はない。前記排出回転盤32には十個の同じ前記収納筒33を設置しても良く、加工完了され且つ検査測定に合格した軸類パーツをそれらに置くことができる。 It is not necessary to assemble the discharge rotating disk 32 and the storage cylinder 33 integrally. Ten identical storage cylinders 33 may be installed on the discharge rotating disk 32, and shaft parts that have been processed and have passed inspection and measurement can be placed on them.

前記排出盤5の機能は加工完了され且つ検査測定に合格した軸類パーツを置くことである。前記機械アーム6が加工完了され且つ検査測定装置の検査測定に合格した軸類パーツを前記排出盤5の中に特定の位置にある空の前記収納筒33に入れ、軸類パーツが排出盤5に入れられた後、一定の角度を回転し、次の空の前記収納筒33を前記機械アーム6のうち軸類パーツを置く特定の位置まで回転させ、前記機械アーム6が次の加工完了され且つ検査測定に合格した軸類パーツを置くことを待つ。前記排出盤5に置かれる軸類パーツがさらなる加工または包装ができる。 The function of the discharge board 5 is to place shaft parts which have been processed and have passed the inspection and measurement. The shaft parts whose machining has been completed by the mechanical arm 6 and have passed the inspection and measurement by the inspection and measurement device are put into the empty storage cylinder 33 at a specific position in the discharge platen 5, and the shaft parts are moved to the discharge plate 5 After that, the container arm 33 is rotated by a certain angle, and the next empty storage cylinder 33 is rotated to a specific position where the shaft parts of the mechanical arm 6 are to be placed, so that the next machining of the mechanical arm 6 is completed. In addition, wait for placing shaft parts that have passed the inspection and measurement. The shaft parts placed on the discharge board 5 can be further processed or packaged.

前記収納筒33を筒形に設置することで、加工完了され且つ検査測定に合格した軸類パーツが平穏に置かれることができ、次の一歩の包装とさらなる加工に便利である。 By installing the storage cylinder 33 in a cylindrical shape, the shaft parts that have been processed and have passed the inspection and measurement can be laid peacefully, which is convenient for the next step of packaging and further processing.

前記機械アーム6が前記フィード盤1の中から被加工の軸類パーツを摘み取り、前記機械アーム6が素材を前記旋盤2に輸送して加工し、前記機械アーム6は三喜の六軸機械アームsx850bを採用できる。 The mechanical arm 6 picks up a shaft part to be processed from the feed board 1, the mechanical arm 6 transports the material to the lathe 2 for processing, and the mechanical arm 6 is a Sanki six-axis mechanical arm sx850b. Can be adopted.

前記旋盤2のエアチャックが軸類パーツをきつく挟み、それから、前記旋盤2が軸類パーツを加工し始めて、加工完了した後、前記機械アーム6が軸類パーツを取り出す。 The air chuck of the lathe 2 clamps the shaft parts tightly, and then the lathe 2 starts processing the shaft parts, and after the processing is completed, the mechanical arm 6 takes out the shaft parts.

前記機械アーム6が軸類パーツを前記検査測定仕組み3の中に入れて検査測定して、前記機械アーム6が検査測定に合格した軸類パーツを前記排出盤5の中に輸送し、仮に軸類パーツが検査測定に不合格であれば前記不良品区4に輸送される。 The mechanical arm 6 puts the shaft parts into the inspection / measurement mechanism 3 for inspection and measurement, and the mechanical arms 6 transports the shaft parts that have passed the inspection / measurement into the discharge plate 5, and temporarily moves the shaft parts. If the parts do not pass the inspection and measurement, they are transported to the defective area 4.

前記排出盤5が軸類パーツを受け取ってから、一定の角度を回転し、軸類パーツを移す。その同時に、前記フィード盤1が同じように一定の角度を回転して、次の被加工の軸類パーツを指定された位置に移して、前記機械アーム6がそれを摘み取ることができ、このように上記のプロセスを繰り返すことにより、サイクル加工を実現することができる。 After receiving the shaft parts, the discharge plate 5 rotates a predetermined angle to transfer the shaft parts. At the same time, the feed plate 1 is rotated by a certain angle in the same manner, and the shaft part to be processed next is moved to a designated position, and the mechanical arm 6 can pick it up. By repeating the above process, cycle processing can be realized.

本発明はエアチャックを採用し、プログラムによりエアチャックをコントロールし加工されている軸類パーツをきつく締めてあるいは緩めて、非自動チャック装置を採用する時に労働力により加工部品を摘み取るあるいは緩める煩雑な作業を減少することができる。軸類パーツを加工する過程の中に砕屑防止箱を採用して、加工する過程の中に生み出された砕屑が十方へ飛び散ることを防止することができ、人を傷つけるまたは周囲の物品を損なうことを回避することができ、砕屑の収集も便利になる。 The present invention employs an air chuck, controls the air chuck by a program, and tightens or loosens the shaft parts being machined. Work can be reduced. Adopt a debris prevention box in the process of processing shaft parts, prevent the debris generated in the process of processing from scattering all the way, harming people or damaging surrounding goods Can be avoided, and the collection of debris becomes convenient.

前記機械アーム6がアーム体及び前記アーム体に設置されるマニピュレーターを含み、前記マニピュレーターが手指気体シリンダー39及び二つの添木40を含み、二つの前記添木40がそれぞれ前記手指気体シリンダー39に装着され、二つの前記添木40の間がチャック区を形成し、二つの前記添木40の挟持面にはいずれも円弧溝41が設置され、各前記添木40には二つの前記円弧溝41が設置され、二つの前記円弧溝41がそれぞれ縦向きと横向きで設置され、横向きと縦向きの二つの方向で軸類パーツをきつく挟み、二つの前記添木40を開けるまたは締めることにより多種でサイズが違う軸類パーツを摘み取ることができ、これにより一つの前記マニピュレーターは多種な使い道があるようになり、軸類パーツが途中で転落し、決まった位置から離れ、適確に置かれなく、置く時に失敗が発生するなどの状況の発生を防止することができる。 The mechanical arm 6 includes an arm body and a manipulator installed on the arm body, the manipulator includes a finger gas cylinder 39 and two splints 40, and the two splints 40 are respectively mounted on the finger gas cylinder 39. In addition, a space between the two splints 40 forms a chuck section, and a circular arc groove 41 is provided on each of the clamping surfaces of the two splints 40, and each of the splints 40 has two arc grooves 41. Is installed, and the two arc grooves 41 are respectively installed in the vertical direction and the horizontal direction, and the shaft parts are tightly sandwiched in the two directions of the horizontal direction and the vertical direction, and the two splints 40 are opened or fastened in various types. Axle parts of different sizes can be picked up, so that one manipulator can be used in many different ways and the axle parts fall down on the way Away from the fixed position, not placed accurately, it can fail to prevent the occurrence of situations such as occurs when putting.

前記手指気体シリンダー39の開く大きさにより、直径と長さが違う軸類パーツを摘み取り、また軸類パーツを適確な位置にきつく挟むことができ、摘み取ることに便利である。 Depending on the opening size of the finger gas cylinder 39, shaft parts having different diameters and lengths can be picked, and the shaft parts can be tightly pinched at an appropriate position, which is convenient for picking.

前記マニピュレーターは可調性を備え、摘み取る軸類パーツの直径により二つの前記添木40の間の距離を調整し、二つの前記添木40の挟持範囲を増加または縮小することができ、実際に加工されている軸類パーツのサイズにより前記円弧溝41のサイズを調整し、それを通じて挟持の緊密性と安定性を保証することができる。 The manipulator has adjustability, adjusts the distance between the two splints 40 according to the diameter of the shaft part to be picked, and can increase or decrease the holding range of the two splints 40, and in fact, The size of the arc groove 41 can be adjusted according to the size of the shaft parts being processed, thereby ensuring tightness and stability of the clamping.

前記フィード盤1と前記排出盤5は回転することにより軸類パーツの生産のために自動的にフィードまたは排出することを実現でき、前記機械アーム6のプログラムを簡略することができる。本発明は固定された位置のピッキングあるいは排出の方式を採用して、加工完了された軸類パーツを一つ一つ輸出する効果が出る。 The feed plate 1 and the discharge plate 5 can be rotated to automatically feed or discharge for production of shaft parts, thereby simplifying the program of the mechanical arm 6. The present invention adopts a fixed position picking or discharging method, and has an effect of exporting the processed shaft parts one by one.

好ましくは、前記検査測定仕組み3の軸類パーツを検査測定する方法は: Preferably, the method of inspecting and measuring shaft parts of the inspection and measuring mechanism 3 is as follows:

画像獲得----画像補正-----サブピクセルエッジ検出-----サブピクセルコーナー検出-----画像のつなぎ合わせ-----直径検査測定 Image acquisition ---- Image correction-Sub-pixel edge detection-Sub-pixel corner detection-Image splicing-Diameter inspection measurement

ステップ一、画像獲得 Step one, image acquisition

前記第一カメラまたは前記第二カメラ35の移動により、第一カメラまたは第二カメラ35を利用して検査測定待ちの軸類パーツの各部分の画像を撮影する。 With the movement of the first camera or the second camera 35, an image of each part of the shaft part awaiting inspection and measurement is captured using the first camera or the second camera 35.

ステップ二、画像補正 Step two, image correction

(1)カメラキャリブレーション (1) Camera calibration

キャリブレーションのステップ: Calibration steps:

本発明は国際将棋の碁盤の目を用いてキャリブレーションプレートとする。キャリブレーションプレートは12×9の碁盤の目であり、各格子のサイズは20mm×20mmである。適合な対物レンズ距離を選択し、異なる位置、異なる角度と異なる姿態のもとでキャリブレーションプレートに対してピクチャーを複数枚撮影し、10-20枚であれば良い。各枚キャリブレーションピクチャーに対してコーナーの情報を取り出し、更にサブピクセルコーナーの情報を取り出し、カメラキャリブレーションの誤差を下げることができ、それからピクチャーに対してカメラキャリブレーションを行い、具体的なキャリブレーションステップは下記のように示す: In the present invention, a calibration plate is prepared using the grid of international shogi. The calibration plate is a 12 × 9 grid, and the size of each grid is 20 mm × 20 mm. An appropriate objective lens distance is selected, a plurality of pictures are taken with respect to the calibration plate at different positions, different angles, and different forms, and it suffices that the number is 10 to 20. The corner information is extracted for each calibration picture, and the sub-pixel corner information is also extracted to reduce the camera calibration error. Then, the camera is calibrated for the picture, and the specific calibration is performed. The steps are shown below:

図15の示しているのは四つの座標系である:画素平面座標系(u,v)と、像平面座標系と、画像物理座標系(x,y)と、カメラ座標系(XC,YC,ZC)と、世界座標系(XW,YW,ZW)である。 FIG. 15 shows four coordinate systems: a pixel plane coordinate system (u, v), an image plane coordinate system, an image physical coordinate system (x, y), and a camera coordinate system (X C , Y C, and Z C), the world coordinate system (X W, Y W, a Z W).

一、画素座標と像平面座標系との関係を建て、画素平面と画像平面との関係を参照し、空間点Mと像点mの画素座標との間の変換関係を得る: First, the relationship between the pixel coordinates and the image plane coordinate system is established, and the conversion relationship between the spatial point M and the pixel coordinates of the image point m is obtained by referring to the relationship between the pixel plane and the image plane:

計算式1:

Figure 2019217625
; Formula 1:
Figure 2019217625
;

その中、dx、dyがそれぞれ各図形エレメントの長さと広さを表示する;u0とv0が光軸と像平面との交点を表示する;fがカメラの焦点距離であり、即ち図の中の点0 から点0cまでの距離である; XC 、YC 、ZCがカメラ座標系の中の一点Mの座標である; Where dx and dy indicate the length and width of each graphic element, respectively; u0 and v0 indicate the intersection of the optical axis and the image plane; f is the focal length of the camera, ie, The distance from point 0 to point 0c; X C , Y C , Z C are the coordinates of one point M in the camera coordinate system;

ニ、、仮にα=f|dx、β=f|dyはそれぞれx軸とy軸方向における画素を単位とした相当焦点距離を代表する。そのほか媒介変数γ=αtgθを導入し画素平面の中で画素を単位とする座標軸の傾斜度合の測定値を表示し、θはカメラCCD(カメラCCDがカメラチップである)の陣列におけるv軸の傾斜度合であり 、計算式1を下記のように書き直せる: Two ,, if α = f | d x, β = f | d y are representative equivalent focal length in units of pixels in the x-axis and y-axis directions, respectively. In addition to parametric γ = αtgθ 1 was introduced to display the measured value of the inclination degree of the coordinate axes in units of pixels in the pixel plane, theta is the v axis in Jinretsu camera CCD (camera CCD is a camera chip) Equation 1 can be rewritten as follows:

計算式2:

Figure 2019217625
; Formula 2:
Figure 2019217625
;

計算式2によりカメラの五つの歪み系数を得る。 From Equation 2, five distortion coefficients of the camera are obtained.

三、回転変換行列Rと並進移動変数tを用いて世界座標系の点からカメラ座標点までの変換を叙述し、空間の中のある点Mが世界座標系とカメラ座標系のもとでのそれぞれの同次座標を[Xw,Yw,Zw,1][Xe,Ye,Ze,1]と仮定すれば、下記のような関係がある: Third, a transformation from a point in the world coordinate system to a camera coordinate point is described using the rotation transformation matrix R and the translational movement variable t, and a point M in the space is defined by the world coordinate system and the camera coordinate system. Assuming each homogeneous coordinate is [X w , Y w , Z w , 1] T [X e , Y e , Z e , 1] T , the following relationship is obtained:

計算式3:

Figure 2019217625
。 Formula 3:
Figure 2019217625
.

その中、O=「0,0,0」、XW、YW、ZWは空間の中のある点の世界座標系における座標であり、並進ベクトルtの中の三つのシフト量に回転行列Rの三つの回転角度を加えた六個の媒介変数はカメラの外部媒介変数である。 Among them, O = “0,0,0” T , X W , Y W , and Z W are coordinates of a point in space in the world coordinate system, and are rotated by three shift amounts in the translation vector t. The six parameters obtained by adding the three rotation angles of the matrix R are external parameters of the camera.

歪み係数行列と外部媒介変数行列を得てピクチャーを補正することができる。 The picture can be corrected by obtaining the distortion coefficient matrix and the external parameter matrix.

(2)ピクチャー補正 (2) Picture correction

実際には、画面は理想的な透視撮影ではなく、同じでない程度の歪みがあるのである。歪みを生み出す出処は:一、光学系の結像が光学歪みを導入し、ラジアルディストーションと、偏心歪曲収差と、薄いプリズム歪みを含む;ニ、電路刻み工芸の誤差と、光電転換の誤差と、電気雑音などにより発生した数字歪みであり、例えばカメラのサイズファクター。 In practice, the screen is not an ideal fluoroscopic image, but has a non-identical degree of distortion. The sources of distortion are as follows: 1. The imaging of the optical system introduces optical distortion, including radial distortion, eccentric distortion, and thin prism distortion; (d) errors in electrical carving, errors in photoelectric conversion, Numerical distortion caused by electric noise and the like, for example, the size factor of a camera.

補正ステップ: Correction step:

一、歪み係数と外部媒介変数により空間の中のM点がピクセル座標系における座標は: First, according to the distortion coefficient and external parameters, the coordinates of M points in space in the pixel coordinate system are:

計算式4:

Figure 2019217625
である。 Formula 4:
Figure 2019217625
It is.

その中、Rは回転変換行列で、3×3の直交単位行列であり、tは三次元並進変量である。 Among them, R is a rotation transformation matrix, a 3 × 3 orthogonal unit matrix, and t is a three-dimensional translation variate.

更に非線形最小化模型を建てることにより結果値と真値との差を改善する。 Furthermore, the difference between the result value and the true value is improved by constructing a nonlinear minimization model.

ニ、普通には、カメラには一定程度のラジアルディストーションがある。仮に(u,v)が理想的なピクセル座標であり、

Figure 2019217625
が実際のピクセル座標であり 、 (x,y)と
Figure 2019217625
それぞれが理像的なピクセル座標と実際のピクセル座標であり、k1、k2がラジアルディストーション係数であり、
Figure 2019217625

Figure 2019217625
から下記な計算式が得られる: D. Normally, cameras have a certain degree of radial distortion. Suppose (u, v) is an ideal pixel coordinate,
Figure 2019217625
Is the actual pixel coordinates, and (x, y) and
Figure 2019217625
Each is a rational pixel coordinate and an actual pixel coordinate, k1 and k2 are radial distortion coefficients,
Figure 2019217625
When
Figure 2019217625
Gives the following formula:

計算式5:

Figure 2019217625
; Formula 5:
Figure 2019217625
;

最小自乗法により計算式5を解き、ラジアルディストーション係数k1とk2を得た後最尤推定法により改善する。 Equation 5 is solved by the method of least squares to obtain radial distortion coefficients k1 and k2, and then improved by the maximum likelihood estimation method.

ステップ三、サブピクセルエッジ検出 Step 3, sub-pixel edge detection

Zernikeモーメントに基つくサブピクセルエッジ検出を採用する。Zernikeモーメントが積分演算子であり、騒音に鈍感である。図のようなステップエッジ模型を作成し、図16の示しているように。 Adopt sub-pixel edge detection based on Zernike moment. The Zernike moment is the integral operator and is insensitive to noise. Create a step edge model as shown in the figure, as shown in FIG.

図16の中にkはステップ高であり、hは背景のグレースケールである。仮にエッジの回転角度からθを引くと、エッジがy軸と平行になる。 In FIG. 16, k is the step height, and h is the gray scale of the background. If θ is subtracted from the rotation angle of the edge, the edge becomes parallel to the y-axis.

従って

Figure 2019217625
が得られ、その中、
Figure 2019217625
はピクチャーが回転してからのエッジ関数である。Zernikeモーメントを用いてエッジ定位を行う時に次数が違う三つのZernikeモーメントが必要であり、それぞれはA00 、A11 、A20であり、それらの積分核関数それぞれはV00=1,V11=x+jy, V20=2x2+2y2-1である。対応する原始ピクチャーのZernikeモーメントと回転した後でピクチャーのZernikeモーメントとの関係はA00=A00,A11=A11e,A20=A20である。 Therefore
Figure 2019217625
Is obtained, in which
Figure 2019217625
Is an edge function after the picture is rotated. When performing edge localization using the Zernike moment, three Zernike moments of different orders are required, each of which is A 00 , A 11 , A 20 , and their integral kernel functions are respectively V 00 = 1, V 11 = x + jy, V 20 = 2x 2 + 2y 2 -1. The relation between the Zernike moment of the corresponding source picture and the Zernike moment of the picture after rotation is A 00 = A 00 , A 11 = A 11 e , A 20 = A 20 .

計算式6:Anm=Anme-jmθ(nmはn階 m次Zernikeモーメントを代表する)が回転画像の1階1次 Zernikeモーメントにおける虚部を表示し、即ちエッジがy軸と並行している時に1階1次Zernikeモーメントにおける虚部がゼロであり、言い換えれば: Equation 6: Anm = Anme -jmθ (where nm represents the nth-order m-order Zernike moment) indicates the imaginary part of the first-order first-order Zernike moment of the rotated image, ie, when the edge is parallel to the y-axis. The imaginary part in the first order first order Zernike moment is zero, in other words:

Im[A11]=sin(θ)Re[A11]-cos(θ)Im[A11]=0,Im[A11]とRe[A11]それぞれは回転画像Zernikeモーメントの中の虚部と実部である。これによりエッジが回転した角度は

Figure 2019217625
であり、示している模型を計算して得られるのは:
Figure 2019217625
である。 Im [A 11 ] = sin (θ) Re [A 11 ] -cos (θ) Im [A 11 ] = 0, Im [A 11 ] and Re [A 11 ] are the imaginary parts in the rotated image Zernike moment And the real part. This gives the angle at which the edge is rotated
Figure 2019217625
And calculating the model shown gives:
Figure 2019217625
It is.

連立方程式により円心からエッジまでの垂直位置は

Figure 2019217625
であり、画像のサブピクセル位置は:
Figure 2019217625
である。 From the simultaneous equations, the vertical position from the center of the circle to the edge is
Figure 2019217625
And the sub-pixel positions of the image are:
Figure 2019217625
It is.

Zernikeモーメントはまだ不足がある:選択するモデルのサイズが違ってエッジサブピクセル位置の計算には偏差が発生する。 Zernike moments are still lacking: the size of the model selected will be different and the calculation of the edge sub-pixel positions will have deviations.

ステップ四、サブピクセルコーナー検出 Step 4, sub-pixel corner detection

直径の検査測定を行う時に、検査測定待ちのサブピクセルレベルエッジに対してコーナー検出を行い、それからコーナーにより直径を計算する必要がある。コーナーは画像の中において非常に重要な特徴であり、コーナー位置を正確に検査測定してから画像が実際の情景に対する空間位置の関係を確定することができる。コーナー検出の厳密さは直接にカメラキャリブレーションと直径の検査測定の厳密さに影響する。 When performing the diameter inspection measurement, it is necessary to perform corner detection for the sub-pixel level edge waiting for the inspection measurement, and then calculate the diameter by the corner. Corners are a very important feature in an image, and the exact position of the corners can be inspected and measured before the image can determine the relationship of spatial position to the actual scene. The rigor of corner detection directly affects the rigor of camera calibration and diameter inspection measurements.

図17と図18の示しているように、コーナー周辺にある点はエッジに位置している点とエッジに位置していない点の二つのタイプに分けられる。その中、図17と図18の中に、点線で空洞の矢印が画像の傾度を表す。 As shown in FIGS. 17 and 18, the points around the corner are divided into two types: points located at edges and points not located at edges. In FIGS. 17 and 18, the dotted arrow and the hollow arrow indicate the inclination of the image.

本発明は反復によりサブ画素精度があるコーナー位置を発見することができる。 The present invention can find corner positions with sub-pixel accuracy by iteration.

サブ画素レベルのコーナー位置の計算方法はベクトル直交性に対する観測に基ついて実現され、即ち中央点qからその近隣点pまでのベクトルとp点のところにある画像傾度とが直交する(画像と雑音測定に従う)。 The method of calculating the corner position at the sub-pixel level is realized based on the observation of the vector orthogonality, that is, the vector from the center point q to its neighboring point p and the image gradient at the point p are orthogonal (image and noise). According to measurement).

計算式7により表す: Expressed by equation 7:

計算式7:

Figure 2019217625
; Formula 7:
Figure 2019217625
;

その中、

Figure 2019217625
がqの近隣点Piのところにある画像傾度を示し、qの値がεiを最小化することにより得られ、Pi=P0、P1......Pnである。 Among them,
Figure 2019217625
Indicates the image gradient at the neighboring point P i of q, and the value of q is obtained by minimizing ε i , where P i = P 0 , P 1 ... P n .

εiをゼロとすることにより、下記のような体系方程式を建てる: By setting ε i to zero, construct a systematic equation such as:

計算式8:

Figure 2019217625
。 Formula 8:
Figure 2019217625
.

その中にqの近隣(探索ウインドウ)の中の傾度が累加される。一番目の傾度媒介変数Gと二番目の傾度媒介変数bを転用し、得られたのは: The gradient in the neighborhood (search window) of q is accumulated therein. Diverting the first gradient parameter G and the second gradient parameter b yielded:

計算式9:

Figure 2019217625
。 Formula 9:
Figure 2019217625
.

その計算方法は探索ウインドウの中心を新しい中心qと設定し、それからある限界値ポイントより低い中心位置を探し出すまで繰り返す。 The calculation method sets the center of the search window as the new center q and then repeats until a center position lower than a certain threshold point is found.

ステップ五、画像のつなぎ合わせ Step 5, stitching images

検査測定の精度を上げるために、検査測定されている物質を分画で撮影した後つなぎ合わせて更にエッジ検出とコーナー検出などの後続作業を行う。画像のつなぎ合わせ方法は多種であり、最も多用されるのはSIFTの特徴抽出とマッチングつなぎ合わせ技術であり、しかしその方法は画像の上に十分に多い特徴点を必要とし、それに対して、測定される物質の特徴点は少ない場合、特徴によりマッチングするのは成功率が低い。 In order to improve the accuracy of the inspection and measurement, the substances to be inspected and measured are photographed by fractionation and then connected, and further operations such as edge detection and corner detection are performed. There are a variety of image stitching methods, most often SIFT feature extraction and matching stitching techniques, but the method requires a sufficient number of feature points on the image, while If the feature point of the material to be performed is small, matching by the feature has a low success rate.

本発明は測量する時にリニアスケールを固定し、リニアスケールがカメラと一緒に移動し、毎回カメラの移動距離を正確に保証することができる。検査測定される物質を撮影するときに一部分の公共地域を保つ必要があり、即ち連続である二枚のピクチャーの間には比較的に大きな重なり合う部分があり、それからピクチャーをつなぎ合わせる。 According to the present invention, the linear scale is fixed when surveying, and the linear scale moves together with the camera, so that the moving distance of the camera can be accurately guaranteed each time. It is necessary to keep a part of the public area when photographing the material to be measured, i.e. there is a relatively large overlap between two consecutive pictures, and then the pictures are spliced.

具体的なステップは下記の様に: The specific steps are as follows:

仮にf(x,y)、f(x,y)は二枚の画像の信号であり、f(x,y)はf(x,y)が(dx,dy)を並進移動して得られたのであり、即ち:計算式10:

Figure 2019217625
。 Suppose f 1 (x, y) and f 2 (x, y) are signals of two images, and f 2 (x, y) is f 1 (x, y) translating (dx, dy). That is, the following equation:
Figure 2019217625
.

計算式10を周波数領域に反映した後得たのは: After reflecting equation 10 in the frequency domain, we got:

計算式11:F2(u,v)=F1(u,v)×

Figure 2019217625
。 Formula 11: F 2 (u, v) = F 1 (u, v) ×
Figure 2019217625
.

計算式11を変換してインタラクティブ率スペクトルが得られる: Transforming Equation 11 gives the interactive rate spectrum:

計算式12:H=(u,v)=

Figure 2019217625
=
Figure 2019217625
。 Formula 12: H = (u, v) =
Figure 2019217625
=
Figure 2019217625
.

計算式12に対してフーリエ逆変換してディラックのδ関数が得られ、それから関数のピックポイントが対応する座標を探して、求めている変位量が得られる。 The Fourier inverse transform is performed on the equation (12) to obtain the Dirac δ function. Then, the coordinate corresponding to the pick point of the function is searched, and the displacement amount obtained is obtained.

二枚のピクチャーの変位量を得た後この変位量により画像をつなぎ合わせることができる。 After the displacement of the two pictures is obtained, the images can be joined by this displacement.

ステップ六、直径の検査測定 Step 6, Inspection measurement of diameter

サブピクセルレベルのコーナー検出を行ってから、各コーナーの座標が得られる。仮にコーナーの座標は(x,y)、(x,y)、......(xi,yi)であり、各コーナーの縦座標の値y、y、......yiを順序に読み取り、yi+1<yiの時に、(xi,yi)を前に置き、以下も同様、コーナーの座標を縦座標の小さい順に昇順に並び替え、仮に極小な常数をAとし、配列されたコーナー座標に対して操作を行う:仮にyは第i +1番目のコーナーの縦座標と第i番目のコーナーの縦座標との差の絶対数であり、即ちy=|yi +1-yi|であり、y

Figure 2019217625
Aである場合、一番目の直径はyであり、y〉Aである場合、第二番目のコーナーを指す指針を第三番目のコーナーに移動し、以下も同様、各軸類パーツの直径の長さdを得られる。 After performing sub-pixel level corner detection, the coordinates of each corner are obtained. If corner coordinates (x 1, y 1), (x 2, y 2), ...... (x i, y i) is the value y 1, y 2 of the vertical coordinates of each corner, ...... Read y i in order, and when y i +1 <y i , put (x i , y i ) in front, and in the same way, set the corner coordinates in ascending order from the smallest ordinate Sorting, suppose that the smallest constant is A, and operate on the arranged corner coordinates: suppose y is the absolute difference between the ordinate of the (i + 1) th corner and the ordinate of the ith corner A number, ie y = | y i +1 -y i |
Figure 2019217625
If A, the first diameter is y, and if y> A, move the pointer pointing to the second corner to the third corner, and so on. The length d is obtained.

上記説明した実施例は本発明のより効果的な実施方式であり、但し本発明の実施方式が上記説明した実施例に制限られなく、本発明の精神実質と原理に従うあらゆる改変と、装飾と、立ち代わりと、組み合わせと、簡略化とのいずれも同じ効果の置き換え方式であり、本発明の保護範囲に含む。 The embodiments described above are more effective implementation modes of the present invention, provided that the implementation modes of the present invention are not limited to the above-described embodiments, and any modifications, decorations, and the like according to the spirit and principle of the present invention. Substitution, combination, and simplification are all replacement methods of the same effect, and are included in the protection scope of the present invention.

Claims (2)

フィード盤、旋盤、検査測定仕組み、不良品区、排出盤、及び機械アームを含む:
前記フィード盤は被加工軸類パーツを置くために用いられる;
前記旋盤は軸類パーツを加工するために用いられる;
前記検査測定仕組みは軸類パーツの加工される部分が加工の要求を満たすか否かを検査測定するために用いられる;
前記不良品区は検査測定されて加工の要求を満たすことができない軸類パーツを置くために用いられる;
前記排出盤は検査測定されて加工の要求を満たした軸類パーツを置くことために用いられる;
前記機械アームは前記フィード盤の中から被加工軸類パーツを取り且つ順に前記旋盤と前記検査測定仕組みまでに伝送するために用いられ、検査測定して加工の要求を満たすことができない時に、軸類パーツを前記不良品区の中に入れ、検査測定して加工の要求を満たした時に、軸類パーツを前記排出盤の中に入れ、
前記排出盤が排出回転盤及び収納筒を含み、前記収納筒が複数であり、それぞれ前記排出回転盤に沿って前記排出回転盤に円周方向で均一分布され、
前記機械アームがアーム体及び前記アーム体に設置されるマニピュレーターを含み、前記マニピュレーターが手指気体シリンダー及び二つの添木を含み、二つの前記添木がそれぞれ前記手指気体シリンダーに装着され、二つの前記添木の間がチャック区を形成し、二つの前記添木の挟持面にはいずれも円弧溝が設置され、各前記添木には二つの前記円弧溝が設置され、二つの前記円弧溝がそれぞれ縦向きと横向きで設置され、
前記検査測定仕組みはブラックボックスと、加工部品伝送仕組みと撮影仕組みを含み、前記加工部品伝送仕組み及び前記撮影仕組みが前記ブラックボックスの中に設置され、前記撮影仕組みは二つがあり、二つの前記撮影仕組みはそれぞれ前記加工部品伝送仕組みが加工部品を伝送する方向の両側に相対で設置され、前記撮影仕組みが第二カメラ、及び二つの光補助ランプを含み、二つの前記光補助ランプがそれぞれ前記第二カメラの両側に設置される;
前記加工部品伝送仕組みが親ねじ伝動仕組み及びパーツ固定ブロックを含み、前記パーツ固定ブロックが前記親ねじ伝動仕組みの伝送スライドブロックに設置され、前記パーツ固定ブロックには直径が上から下まで段々減少するマルチレベル段付穴が設置され、
前記機械アームは前記機械アームが軸類パーツ部位を切り替えてきつく締める時に軸類パーツを置くために用いられる中継盤を含み、前記中継盤がエアチャック及びそれぞれ前記エアチャックの各爪に装着される中継添木を含み、各前記中継添木の間が第一チャック区を形成し、
前記フィード盤が盤体及びチャック仕組みを含み、前記チャック仕組みは固定添木と、運動添木と前記運動添木をプッシュすることができるプッシュ板仕組みを含み、固定添木が前記盤体に固定され、前記盤体には前記固定添木へ延伸するスライド溝が設置され、前記運動添木の底部にはスライドブロックが設置され、前記スライドブロックが前記スライド溝の中に接続され、
前記チャック仕組みと前記スライド溝がいずれも複数で一対一対応で設置され、
また回転盤仕組みを含み、前記回転盤仕組みがモータ及びラックを含み、前記モータが前記ラックに装着され、前記モータの動力軸が前記盤体と接続され、
また主軸及び軸継手を含み、前記盤体が前記主軸に装着され、前記モータの動力軸が前記軸継手により主軸と接続され、
前記検査測定仕組みが筐体及び前記筐体の中に設置される第一カメラと、光補助ランプと、撮影スタンドと光補助ランプスタンドを含み、前記筐体には機械アームが挿入できる箱口が設置され、前記撮影スタンドと前記光補助ランプスタンドがいずれも移動台及び前記筐体の中に設置される固定ロッドを含み、前記移動台が取付台と、固定ボルトと、固定ナットと接続フレームを含み、前記取付台が前記接続フレームに設置され、前記接続フレームがナット固定スロットと、前記固定ロッドがはまっているカバー枠を備えており、ナット固定スロットが前記カバー枠に設置され、固定ナットがナット固定スロットに装着され、固定ボルトと固定ナットとが繋がり且つ前記カバー枠を通り抜け、前記移動台と前記固定ロッドが固定ボルトにより前記固定ロットに当接されて、これによりお互いに固定され、
前記第一カメラが前記撮影スタンドの前記取付台に装着され、前記光補助ランプが前記光補助ランプスタンドの前記取付台に装着され、
前記光補助ランプと前記光補助ランプスタンドがいずれも二つがあり且つ一対一対応で設置され、二つの前記光補助ランプが前記筐体の両側に位置し且つ相対で設置され、前記撮影スタンドが二つの前記光補助ランプの間に設置され、
また前記撮影調整ボールねじ及び前記灯光調整ボールねじを含み、前記撮影スタンドが撮影調整ボールねじの移動ブロックに設置され、光補助ランプスタンドが灯光調整ボールねじの移動ブロックに設置されることを特徴とする軸類パーツの加工装置である。
Including feed machine, lathe, inspection and measurement mechanism, defective product area, ejection machine, and mechanical arm:
The feed plate is used for placing the shaft parts to be machined;
The lathe is used for machining shaft parts;
The inspection and measurement mechanism is used for inspecting and measuring whether or not the machined part of the shaft part satisfies the machining requirement;
The defective section is used for placing shaft parts which cannot be inspected and measured to meet the processing requirements;
Said ejection plate is used for placing shaft parts which are inspected and measured and meet the processing requirements;
The mechanical arm is used to take a shaft part to be machined from the feed machine and transmit it to the lathe and the inspection and measurement mechanism in order. When the parts are put in the defective area, and the inspection and measurement satisfy the processing requirements, the shaft parts are put in the discharge panel,
The discharge disc includes a discharge turntable and a storage cylinder, and the storage cylinder is plural, and is uniformly distributed in the circumferential direction on the discharge turntable along the discharge turntable, respectively.
The mechanical arm includes an arm body and a manipulator installed on the arm body, the manipulator includes a finger gas cylinder and two splints, and the two splints are respectively attached to the finger gas cylinders, and the two A space between the splints forms a chuck section, two arc grooves are provided on the holding surface of the two splints, two arc grooves are provided on each of the splints, and the two arc grooves are vertically It is installed in the orientation and sideways,
The inspection and measurement mechanism includes a black box, a work part transmission mechanism and an imaging mechanism, the work part transmission mechanism and the imaging mechanism are installed in the black box, the imaging mechanism has two, and the two The mechanisms are respectively installed relative to each other in the direction in which the processing part transmission mechanism transmits the processing part, the shooting mechanism includes a second camera, and two light auxiliary lamps, and the two light auxiliary lamps are each the second light auxiliary lamp. Installed on both sides of two cameras;
The work part transmission mechanism includes a lead screw transmission mechanism and a part fixing block, and the part fixing block is installed on the transmission slide block of the lead screw transmission mechanism, and the diameter of the part fixing block gradually decreases from top to bottom. Multi-level stepped holes are installed,
The mechanical arm includes a relay board used for placing the shaft parts when the mechanical arm switches and tightens the shaft part parts, and the relay board is mounted on the air chuck and each claw of the air chuck respectively. Including a relay splint, between the relay splints form a first chuck section,
The feed board includes a board and a chuck mechanism, the chuck mechanism includes a fixed splint, a moving splint and a push plate mechanism capable of pushing the moving splint, and the fixed splint is fixed to the board. The board body is provided with a slide groove extending to the fixed splint, a slide block is installed at the bottom of the motion splint, the slide block is connected to the slide groove,
Both the chuck mechanism and the slide groove are installed in a one-to-one correspondence with a plurality,
Also includes a rotating disk mechanism, the rotating disk mechanism includes a motor and a rack, the motor is mounted on the rack, a power shaft of the motor is connected to the disk body,
Also, including a main shaft and a shaft coupling, the board body is mounted on the main shaft, the power shaft of the motor is connected to the main shaft by the shaft coupling,
The inspection and measurement mechanism includes a housing and a first camera installed in the housing, an auxiliary light lamp, a photographing stand and an auxiliary light lamp stand, and the housing has a box opening into which a mechanical arm can be inserted. Installed, each of the photographing stand and the light auxiliary lamp stand includes a moving base and a fixing rod installed in the housing, and the moving base includes a mounting base, a fixing bolt, a fixing nut, and a connection frame. Wherein the mounting base is installed in the connection frame, the connection frame includes a nut fixing slot, and a cover frame in which the fixing rod is fitted.A nut fixing slot is installed in the cover frame, and a fixing nut is provided. It is attached to the nut fixing slot, the fixing bolt and the fixing nut are connected and pass through the cover frame, and the moving table and the fixing rod are fixed by the fixing bolt. Abuts against the serial fixed lot, thereby being fixed to each other,
The first camera is mounted on the mounting base of the shooting stand, the light auxiliary lamp is mounted on the mounting base of the light auxiliary lamp stand,
The light auxiliary lamp and the light auxiliary lamp stand each have two and are installed in a one-to-one correspondence. The two light auxiliary lamps are located on both sides of the housing and are installed relative to each other. Installed between the two light auxiliary lamps,
In addition, the photographing stand includes the photographing adjusting ball screw and the lamp adjusting ball screw, the photographing stand is installed on a moving block of the photographing adjusting ball screw, and the light auxiliary lamp stand is installed on a moving block of the lamp adjusting ball screw. It is a processing device for shaft parts.
画素平面座標系(u,v)と、像平面座標系を建てて、前記像平面座標系は画像物理座標系(x,y)と、カメラ座標系(XC,YC,ZC)と、世界座標系(XW,YW,ZW)を含み、
画素平面座標系と像平面座標系との関係を建て、画素平面と画像平面との関係を参照し、空間点Mと像点mの画素座標との間の変換関係を得る:
計算式1:
Figure 2019217625

その中、dx、dyがそれぞれ各図形エレメントの長さと広さを表示する;u0とv0が光軸と像平面との交点を表示する;fがカメラの焦点距離であり、即ち図の中の点0 から点0cまでの距離である; XC 、YC 、ZCがカメラ座標系の中の一点Mの座標である;
仮にα=f|dx、β=f|dyはそれぞれx軸とy軸方向における画素を単位とした相当焦点距離を代表し、そのほか媒介変数γ=αtgθを導入し画素平面の中で画素を単位とする座標軸の傾斜度合の測定値を表示し、θはカメラCCDの陣列におけるv軸の傾斜度合であり 、計算式1を下記のように書き直せる:
計算式2:
Figure 2019217625

計算式2によりカメラの五つの歪み系数を得る;
回転変換行列Rと並進移動変数tを用いて世界座標系の点からカメラ座標点までの変換を叙述し、空間の中のある点Mが世界座標系とカメラ座標系のもとでのそれぞれの同次座標を[Xw,Yw,Zw,1][Xe,Ye,Ze,1]と仮定すれば、下記のような関係がある:
計算式3:
Figure 2019217625

その中、O=「0,0,0」、XW、YW、ZWは空間の中のある点の世界座標系における座標であり、並進ベクトルtの中の三つのシフト量に回転行列Rの三つの回転角度を加えた六個の媒介変数はカメラの外部媒介変数であり、
歪み係数行列と外部媒介変数行列を得た後歪み係数行列と外部媒介変数行列によりピクチャーを補正する;
ピクチャー補正のステップ:
歪み係数と外部媒介変数により空間の中のM点がピクセル座標系における座標は:
計算式4:
Figure 2019217625
であり、
その中、Rは回転変換行列で、3×3の直交単位行列であり、tは三次元並進変量である;
更に非線形最小化模型を建てることにより結果値と真値との差を改善し、
カメラにはラジアルディストーションがあるときに、仮に(u,v)が理想的なピクセル座標であり、
Figure 2019217625
が実際のピクセル座標であり 、 (x,y)と
Figure 2019217625
それぞれが理像的なピクセル座標と実際のピクセル座標であり、k1、k2がラジアルディストーション係数であり、
Figure 2019217625

Figure 2019217625
から下記な計算式が得られる:
計算式5:
Figure 2019217625

最小自乗法により計算式5を解き、ラジアルディストーション係数k1とk2を得た後最尤推定法により改善し、
直径に対する検査測定を行う時に、検査測定待ちの軸類パーツのサブピクセルレベルエッジに対してコーナー検出を行って、コーナーにより直径を計算する;
エッジ検出
Zernikeモーメントに基つくサブピクセルエッジ検出を採用する;ステップエッジモデルを建てる;
仮にkはステップ高であり、hは背景のグレースケールであり、エッジの回転角度からθを引くと、エッジがy軸と平行になり、
従って
Figure 2019217625
が得られ、その中、
Figure 2019217625
はピクチャーが回転してからのエッジ関数であり、Zernikeモーメントを用いてエッジ定位を行う時に次数が違う三つのZernikeモーメントが必要であり、それぞれはA00 、A11 、A20であり、それらの積分核関数それぞれはV00=1,V11=x+jy, V20=2x2+2y2-1であり、対応する原始ピクチャーのZernikeモーメントと回転した後でピクチャーのZernikeモーメントとの関係はA00=A00,A11=A11e,A20=A20であり、
計算式6:Anm=Anme-jmθその中、nmはn階 m次Zernikeモーメントを代表し、計算式6は回転画像の1階1次 Zernikeモーメントにおける虚部を表示し、即ちエッジがy軸と並行している時に1階1次Zernikeモーメントにおける虚部がゼロであり、言い換えれば
Im[A11]=sin(θ)Re[A11]-cos(θ)Im[A11]=0,Im[A11]とRe[A11]それぞれは回転画像Zernikeモーメントの中の虚部と実部であり、これによりエッジが回転した角度は
Figure 2019217625
であり、示している模型を計算して得られるのは:
Figure 2019217625
であり、
連立方程式により円心からエッジまでの垂直位置は
Figure 2019217625
であり、画像のサブピクセル位置は:
Figure 2019217625
であり、
コーナー検出:
コーナー周辺にある点はエッジに位置している点とエッジに位置していない点の二つのタイプに分けられる;
反復によりサブ画素精度があるコーナー位置を確定し、
サブ画素レベルのコーナー位置の計算方法はベクトル直交性に対する観測に基ついて実現され、即ち中央点qからその近隣点pまでのベクトルとp点のところにある画像傾度とが直交し且つ画像と雑音測定との影響を受け、
計算式7により表す:
計算式7:
Figure 2019217625

その中、
Figure 2019217625
がqの近隣点Piのところにある画像傾度を示し、qの値がεiを最小化することにより得られ、
εiをゼロとすることにより、下記のような体系方程式を建てる:
計算式8:
Figure 2019217625

その中、探索ウインドウの中心qの近隣の中の傾度が累加され、一番目の傾度媒介変数Gと二番目の傾度媒介変数bを転用し、得られたのは:
計算式9:
Figure 2019217625
であり、
その計算方法は探索ウインドウの中心を新しい中心qと設定し、それからある限界値ポイントより低い中心位置を探し出すまで繰り返し、
画像のつなぎ合わせ:
仮にf(x,y)、f(x,y)は二枚の画像の信号であり、f(x,y)はf(x,y)が(dx,dy)を並進移動して得られたのであり、即ち:計算式10:
Figure 2019217625
であり、
計算式10を周波数領域に反映した後得たのは:
計算式11:F2(u,v)=F1(u,v)×
Figure 2019217625
計算式11を変換してインタラクティブ率スペクトルが得られる:
計算式12:H=(u,v)=
Figure 2019217625
=
Figure 2019217625

計算式12に対してフーリエ逆変換してディラックのδ関数が得られ、それから関数のピックポイントが対応する座標を探して、求めている変位量が得られ、
二枚のピクチャーの変位量を得た後この変位量により画像をつなぎ合わせることができ、
直径の検査測定:
サブピクセルレベルのコーナー検出を行ってから、各コーナーの座標が得られ、仮にコーナーの座標は(x,y)、(x,y)、......(xi,yi)であり、各コーナーの縦座標の値y、y、......yiを順序に読み取り、yi+1<yiの時に、(xi,yi)を前に置き、以下も同様、コーナーの座標を縦座標の小さい順に昇順に並び替え、仮に極小な常数をAとし、配列されたコーナー座標に対して操作を行う:仮にyは第i +1番目のコーナーの縦座標と第i番目のコーナーの縦座標との差の絶対数であり、即ちy=|yi +1-yi|であり、y
Figure 2019217625
Aである場合、一番目の直径はyであり、y〉Aである場合、第二番目のコーナーを指す指針を第三番目のコーナーに移動し、以下も同様、各軸類パーツの直径の長さdを得られることを特徴とする軸類パーツの加工装置の検査測定仕組みの検査測定方法である。
A pixel plane coordinate system (u, v) and an image plane coordinate system are constructed, and the image plane coordinate system is defined as an image physical coordinate system (x, y) and a camera coordinate system (X C , Y C , Z C ). , Including the world coordinate system (X W , Y W , Z W )
Establish the relationship between the pixel plane coordinate system and the image plane coordinate system and refer to the relationship between the pixel plane and the image plane to obtain the transformation relationship between the spatial point M and the pixel coordinates of the image point m:
Formula 1:
Figure 2019217625
,
Where dx and dy indicate the length and width of each graphic element, respectively; u0 and v0 indicate the intersection of the optical axis and the image plane; f is the focal length of the camera, ie, The distance from point 0 to point 0c; X C , Y C , Z C are the coordinates of one point M in the camera coordinate system;
If α = f | d x, β = f | d y is representative of the equivalent focal length in units of pixels in the x-axis and y-axis directions, respectively, in the pixel plane by introducing other parametric γ = αtgθ 1 Displays the measured value of the degree of tilt of the coordinate axes in pixels, where θ is the degree of tilt of the v-axis in the array of camera CCDs, and Equation 1 can be rewritten as:
Formula 2:
Figure 2019217625
,
Equation 5 gives the five distortion coefficients of the camera;
A transformation from a point in the world coordinate system to a camera coordinate point is described using the rotation transformation matrix R and the translational movement variable t, and a point M in space is defined as a point M in the world coordinate system and a point in the camera coordinate system. Assuming that the homogeneous coordinates are [Xw, Yw, Zw, 1] T [Xe, Ye, Ze, 1] T , the following relationship is obtained:
Formula 3:
Figure 2019217625
,
Among them, O = “0,0,0” T , X W , Y W , and Z W are coordinates of a point in space in the world coordinate system, and are rotated by three shift amounts in the translation vector t. The six parameters obtained by adding the three rotation angles of the matrix R are external parameters of the camera,
After obtaining the distortion coefficient matrix and the external parameter matrix, the picture is corrected using the distortion coefficient matrix and the external parameter matrix;
Picture correction steps:
Due to the distortion coefficient and external parameters, the coordinates of M points in space in the pixel coordinate system are:
Formula 4:
Figure 2019217625
And
Wherein R is a rotation transformation matrix, a 3 × 3 orthogonal unit matrix, and t is a three-dimensional translation variate;
Further improve the difference between the result value and the true value by building a nonlinear minimization model,
If the camera has radial distortion, (u, v) is the ideal pixel coordinates,
Figure 2019217625
Is the actual pixel coordinates, and (x, y) and
Figure 2019217625
Each is a rational pixel coordinate and an actual pixel coordinate, k1 and k2 are radial distortion coefficients,
Figure 2019217625
When
Figure 2019217625
Gives the following formula:
Formula 5:
Figure 2019217625
,
Equation 5 is solved by the method of least squares, radial distortion coefficients k1 and k2 are obtained, and then improved by the maximum likelihood estimation method.
When performing the inspection measurement on the diameter, the corner detection is performed on the sub-pixel level edge of the shaft part waiting for the inspection measurement, and the diameter is calculated by the corner;
Edge detection
Adopt sub-pixel edge detection based on Zernike moment; build step edge model;
Suppose k is the step height, h is the gray scale of the background, and subtracting θ from the rotation angle of the edge makes the edge parallel to the y axis,
Therefore
Figure 2019217625
Is obtained, in which
Figure 2019217625
Is an edge function after the picture is rotated.When performing edge localization using the Zernike moment, three Zernike moments of different orders are required, each of which is A 00 , A 11 , A 20 , Each of the integral kernel functions is V 00 = 1, V 11 = x + jy, V 20 = 2x 2 + 2y 2 -1, and the relationship between the Zernike moment of the corresponding source picture and the Zernike moment of the picture after rotation is A 00 = A 00 , A 11 = A 11 e , A 20 = A 20 and
Equation 6: Anm = Anme- jmθ , where nm represents the nth-order mth-order Zernike moment, and Equation 6 represents the imaginary part in the first-order first-order Zernike moment of the rotated image, that is, the edge is on the y-axis. When parallel, the imaginary part of the first-order first-order Zernike moment is zero, in other words
Im [A 11 ] = sin (θ) Re [A 11 ] -cos (θ) Im [A 11 ] = 0, Im [A 11 ] and Re [A 11 ] are the imaginary parts in the rotated image Zernike moment And the real part, whereby the angle at which the edge is rotated is
Figure 2019217625
And calculating the model shown gives:
Figure 2019217625
And
From the simultaneous equations, the vertical position from the center of the circle to the edge is
Figure 2019217625
And the sub-pixel positions of the image are:
Figure 2019217625
And
Corner detection:
Points around the corner are divided into two types: points located at edges and points not located at edges;
Determine the corner position with sub-pixel accuracy by repetition,
The method of calculating the corner position at the sub-pixel level is realized based on the observation of the vector orthogonality, that is, the vector from the central point q to its neighboring point p and the image gradient at the point p are orthogonal and the image and noise Affected by the measurement,
Expressed by equation 7:
Formula 7:
Figure 2019217625
;
Among them,
Figure 2019217625
Denote the image gradient at the neighboring point P i of q, the value of q being obtained by minimizing ε i ,
By setting ε i to zero, construct a systematic equation such as:
Formula 8:
Figure 2019217625
;
Among them, the gradients in the neighborhood of the center q of the search window are summed up, diverting the first gradient parameter G and the second gradient parameter b to obtain:
Formula 9:
Figure 2019217625
And
The calculation method sets the center of the search window as a new center q, and then repeats until a center position lower than a certain threshold point is found,
Image stitching:
Suppose f 1 (x, y) and f 2 (x, y) are signals of two images, and f 2 (x, y) is f 1 (x, y) translating (dx, dy). That is, the following equation:
Figure 2019217625
And
After reflecting equation 10 in the frequency domain, we got:
Formula 11: F 2 (u, v) = F 1 (u, v) ×
Figure 2019217625
Transforming Equation 11 gives the interactive rate spectrum:
Formula 12: H = (u, v) =
Figure 2019217625
=
Figure 2019217625
,
The Fourier inverse transform is performed on the calculation formula 12 to obtain the Dirac δ function, and then the coordinate corresponding to the pick point of the function is searched, and the displacement amount obtained is obtained.
After obtaining the displacement of the two pictures, the images can be joined by this displacement,
Inspection measurement of diameter:
After performing sub-pixel level corner detection, each corner of the coordinate is obtained, if corner coordinates (x 1, y 1), (x 2, y 2), ...... (x i, y i ), and read the ordinate values y 1 , y 2 ,... y i of each corner in order, and when y i +1 <y i , read (x i , y i ) The same applies to the following, and in the same manner, the coordinates of the corners are rearranged in ascending order from the smallest ordinate, and the smallest constant is A, and the operation is performed on the arranged corner coordinates: suppose y is the (i + 1) th Is the absolute number of the difference between the ordinate of the corner of and the ordinate of the ith corner, ie, y = | y i + 1-y i |
Figure 2019217625
If A, the first diameter is y, and if y> A, move the pointer pointing to the second corner to the third corner, and so on. This is an inspection / measurement method for an inspection / measurement mechanism of a shaft part processing apparatus, which can obtain a length d.
JP2019011750A 2018-06-15 2019-01-26 Shaft parts processing equipment Active JP6963313B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810617213.7A CN108714701A (en) 2018-06-15 2018-06-15 A kind of Machining of Shaft-type Parts device
CN201810617213.7 2018-06-15

Publications (2)

Publication Number Publication Date
JP2019217625A true JP2019217625A (en) 2019-12-26
JP6963313B2 JP6963313B2 (en) 2021-11-05

Family

ID=63913039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019011750A Active JP6963313B2 (en) 2018-06-15 2019-01-26 Shaft parts processing equipment

Country Status (2)

Country Link
JP (1) JP6963313B2 (en)
CN (1) CN108714701A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111660080A (en) * 2020-07-08 2020-09-15 安费诺凯杰科技(深圳)有限公司 Automatic assembling system for connector joint
CN113134651A (en) * 2021-04-02 2021-07-20 大族激光科技产业集团股份有限公司 Processing equipment
CN114061401A (en) * 2021-11-23 2022-02-18 西安陕鼓动力股份有限公司 Method for detecting tooth height of straight tooth end face
CN114378627A (en) * 2021-12-24 2022-04-22 伯朗特机器人股份有限公司 Feeding and discharging system and processing equipment
CN114393395A (en) * 2022-03-11 2022-04-26 宁波公牛电器有限公司 Assembling equipment and assembling method
CN114536088A (en) * 2022-03-31 2022-05-27 江苏奇科智能科技有限公司 Loading and unloading equipment of numerical control lathe
CN114850511A (en) * 2022-05-07 2022-08-05 四川竞本科技有限公司 Workpiece turning equipment based on manipulator circulation operation
CN115046436A (en) * 2022-06-15 2022-09-13 重庆大学 Fragment distribution planning and paving control method suitable for complex-configuration fragment array design
CN115046435A (en) * 2022-06-15 2022-09-13 重庆大学 Intelligent laying platform for lattice type fragments of inner cavity of cartridge and control method
CN115056010A (en) * 2022-07-04 2022-09-16 青岛科技大学 Automatic change control loading attachment
CN115351617A (en) * 2022-08-22 2022-11-18 昆明医科大学 Grinding device of glass electrode
CN115979203A (en) * 2023-03-21 2023-04-18 山东金科电气股份有限公司 Automatic flatness detection device for explosion-proof box explosion-proof plane
CN116713753A (en) * 2023-08-03 2023-09-08 连云港欣之创新型建材有限公司 Bar grooving device for building material processing and use method thereof
CN116817772A (en) * 2023-08-31 2023-09-29 北京航为高科连接技术有限公司 Aviation countersunk head fastener head height detection method, device and system
CN116952303A (en) * 2023-07-27 2023-10-27 浙江卓诗尼鞋业有限公司 Comprehensive detection equipment for multiple functions of shoes
CN117237441A (en) * 2023-11-10 2023-12-15 湖南科天健光电技术有限公司 Sub-pixel positioning method, sub-pixel positioning system, electronic equipment and medium
CN118023994A (en) * 2024-04-12 2024-05-14 新乡市润达活塞有限公司 Piston machining center

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110009618B (en) * 2019-04-02 2021-04-20 浙江大学 Shaft part surface quality detection method and device
CN111947572B (en) * 2020-07-21 2022-04-12 湖北坚丰科技股份有限公司 Finished product inspection device for shaft part machining and detection method thereof
CN112519251B (en) * 2020-10-20 2022-07-05 重庆前卫表业有限公司 Automatic diaphragm assembling line
CN112355694B (en) * 2020-10-21 2022-06-07 奉化科盛微型轴业有限公司 Intelligent full-automatic processing equipment of power steering motor shaft
CN112720025A (en) * 2020-12-16 2021-04-30 南通四点零科技有限公司 Integrated AGV (automatic guided vehicle) double-station feeding and discharging mechanism of special processing machine tool for water pump outer barrel
CN113092149B (en) * 2021-03-31 2023-01-17 连杰 Intelligent punching press machine fault monitoring system, method and terminal based on MDDP system
CN113245235B (en) * 2021-04-16 2023-03-28 嘉联支付有限公司 Commodity classification method and device based on 3D vision
CN113375560B (en) * 2021-07-13 2023-02-28 北京好运达智创科技有限公司 Beam embedded part approach inspection system and method

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63180446A (en) * 1987-01-20 1988-07-25 エフ・エム・シー・コーポレーション Alignment visual device
JPH04115856A (en) * 1990-09-04 1992-04-16 Yamazaki Mazak Corp Automatic work device
JPH04122538A (en) * 1990-09-07 1992-04-23 Murata Mach Ltd Work carrying-out device for machine tool
JPH05728A (en) * 1991-06-25 1993-01-08 Hightech Seiko Kk Tray changer device and tray supply method
JPH0780420A (en) * 1992-08-21 1995-03-28 Japan Drive-It Co Ltd Part inspection and sorting device
JPWO2002077466A1 (en) * 2001-03-26 2004-07-15 大喜工業株式会社 Bolt and manufacturing method thereof
JP2005326172A (en) * 2004-05-12 2005-11-24 Wakayama Univ Optical inclination measuring method and optical inclination sensor
JP2009297874A (en) * 2008-06-17 2009-12-24 Olympus Corp Manufacturing device
JP2012130979A (en) * 2010-12-21 2012-07-12 Murata Machinery Ltd Workpiece conveying device
US20150276549A1 (en) * 2014-03-31 2015-10-01 Automation Controls & Engineering, LLC Flexible automation cell for performing secondary operations in concert with a machining center and roll check operations
JP2016167229A (en) * 2015-03-10 2016-09-15 富士通株式会社 Coordinate transformation parameter determination device, coordinate transformation parameter determination method, and computer program for coordinate transformation parameter determination
JP2017007020A (en) * 2015-06-19 2017-01-12 富士機械製造株式会社 Production system
CN109821773A (en) * 2019-03-07 2019-05-31 东莞市雅创自动化科技有限公司 A kind of handling equipment of automatic detection screening system
CN110102926A (en) * 2019-05-16 2019-08-09 苏州尚华智造自动化科技有限公司 A kind of full automatic high efficiency bonding machine
CN211563724U (en) * 2019-09-11 2020-09-25 东莞盛翔精密金属有限公司 Full-automatic appearance detection machine

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63180446A (en) * 1987-01-20 1988-07-25 エフ・エム・シー・コーポレーション Alignment visual device
JPH04115856A (en) * 1990-09-04 1992-04-16 Yamazaki Mazak Corp Automatic work device
JPH04122538A (en) * 1990-09-07 1992-04-23 Murata Mach Ltd Work carrying-out device for machine tool
JPH05728A (en) * 1991-06-25 1993-01-08 Hightech Seiko Kk Tray changer device and tray supply method
JPH0780420A (en) * 1992-08-21 1995-03-28 Japan Drive-It Co Ltd Part inspection and sorting device
JPWO2002077466A1 (en) * 2001-03-26 2004-07-15 大喜工業株式会社 Bolt and manufacturing method thereof
JP2005326172A (en) * 2004-05-12 2005-11-24 Wakayama Univ Optical inclination measuring method and optical inclination sensor
JP2009297874A (en) * 2008-06-17 2009-12-24 Olympus Corp Manufacturing device
JP2012130979A (en) * 2010-12-21 2012-07-12 Murata Machinery Ltd Workpiece conveying device
US20150276549A1 (en) * 2014-03-31 2015-10-01 Automation Controls & Engineering, LLC Flexible automation cell for performing secondary operations in concert with a machining center and roll check operations
JP2016167229A (en) * 2015-03-10 2016-09-15 富士通株式会社 Coordinate transformation parameter determination device, coordinate transformation parameter determination method, and computer program for coordinate transformation parameter determination
JP2017007020A (en) * 2015-06-19 2017-01-12 富士機械製造株式会社 Production system
CN109821773A (en) * 2019-03-07 2019-05-31 东莞市雅创自动化科技有限公司 A kind of handling equipment of automatic detection screening system
CN110102926A (en) * 2019-05-16 2019-08-09 苏州尚华智造自动化科技有限公司 A kind of full automatic high efficiency bonding machine
CN211563724U (en) * 2019-09-11 2020-09-25 东莞盛翔精密金属有限公司 Full-automatic appearance detection machine

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111660080A (en) * 2020-07-08 2020-09-15 安费诺凯杰科技(深圳)有限公司 Automatic assembling system for connector joint
CN113134651B (en) * 2021-04-02 2022-07-08 大族激光科技产业集团股份有限公司 Processing equipment
CN113134651A (en) * 2021-04-02 2021-07-20 大族激光科技产业集团股份有限公司 Processing equipment
CN114061401A (en) * 2021-11-23 2022-02-18 西安陕鼓动力股份有限公司 Method for detecting tooth height of straight tooth end face
CN114061401B (en) * 2021-11-23 2024-02-06 西安陕鼓动力股份有限公司 Method for detecting tooth height of straight tooth end face
CN114378627A (en) * 2021-12-24 2022-04-22 伯朗特机器人股份有限公司 Feeding and discharging system and processing equipment
CN114393395A (en) * 2022-03-11 2022-04-26 宁波公牛电器有限公司 Assembling equipment and assembling method
CN114393395B (en) * 2022-03-11 2023-07-25 宁波公牛电器有限公司 Assembling equipment and assembling method
CN114536088A (en) * 2022-03-31 2022-05-27 江苏奇科智能科技有限公司 Loading and unloading equipment of numerical control lathe
CN114850511A (en) * 2022-05-07 2022-08-05 四川竞本科技有限公司 Workpiece turning equipment based on manipulator circulation operation
CN115046436A (en) * 2022-06-15 2022-09-13 重庆大学 Fragment distribution planning and paving control method suitable for complex-configuration fragment array design
CN115046435A (en) * 2022-06-15 2022-09-13 重庆大学 Intelligent laying platform for lattice type fragments of inner cavity of cartridge and control method
CN115046435B (en) * 2022-06-15 2024-03-12 重庆大学 Intelligent paving platform for dot matrix broken sheets in inner cavity of bullet cylinder and control method
CN115046436B (en) * 2022-06-15 2024-03-12 重庆大学 Fragment distribution planning and paving control method suitable for complex-configuration fragment array design
CN115056010A (en) * 2022-07-04 2022-09-16 青岛科技大学 Automatic change control loading attachment
CN115351617A (en) * 2022-08-22 2022-11-18 昆明医科大学 Grinding device of glass electrode
CN115979203A (en) * 2023-03-21 2023-04-18 山东金科电气股份有限公司 Automatic flatness detection device for explosion-proof box explosion-proof plane
CN116952303A (en) * 2023-07-27 2023-10-27 浙江卓诗尼鞋业有限公司 Comprehensive detection equipment for multiple functions of shoes
CN116952303B (en) * 2023-07-27 2024-04-30 浙江卓诗尼鞋业有限公司 Comprehensive detection equipment for multiple functions of shoes
CN116713753B (en) * 2023-08-03 2023-11-24 连云港欣之创新型建材有限公司 Bar grooving device for building material processing and use method thereof
CN116713753A (en) * 2023-08-03 2023-09-08 连云港欣之创新型建材有限公司 Bar grooving device for building material processing and use method thereof
CN116817772B (en) * 2023-08-31 2023-12-15 北京航为高科连接技术有限公司 Aviation countersunk head fastener head height detection method, device and system
CN116817772A (en) * 2023-08-31 2023-09-29 北京航为高科连接技术有限公司 Aviation countersunk head fastener head height detection method, device and system
CN117237441A (en) * 2023-11-10 2023-12-15 湖南科天健光电技术有限公司 Sub-pixel positioning method, sub-pixel positioning system, electronic equipment and medium
CN117237441B (en) * 2023-11-10 2024-01-30 湖南科天健光电技术有限公司 Sub-pixel positioning method, sub-pixel positioning system, electronic equipment and medium
CN118023994A (en) * 2024-04-12 2024-05-14 新乡市润达活塞有限公司 Piston machining center

Also Published As

Publication number Publication date
JP6963313B2 (en) 2021-11-05
CN108714701A (en) 2018-10-30

Similar Documents

Publication Publication Date Title
JP2019217625A (en) Shaft part processing device
CN109632103B (en) High-altitude building temperature distribution and surface crack remote monitoring system and monitoring method
US8885040B2 (en) Method and apparatus for 3-dimensional vision and inspection of ball and like protrusions of electronic components
WO2020147397A1 (en) Machine vision system for use in curved surface inspection and inspection method
EP3131115B1 (en) Detection method and detection device for crystal orientation of silicon wafer
JP7462095B2 (en) Semiconductor device side surface inspection equipment
CN109405755B (en) Large-size pipe plate aperture and pitch measuring device and measuring method
CN101055256A (en) Defect inspection apparatus
CN101975557A (en) Ceramic plate detection equipment and detection method
CN108917646B (en) Global calibration device and method for multi-vision sensor
WO2012014092A2 (en) Apparatus and method for three dimensional inspection of wafer saw marks
CN111024047B (en) Six-degree-of-freedom pose measurement device and method based on orthogonal binocular vision
CN102798346A (en) Device and method used for on-line optical measurement of two-dimensional large size of roof battenwall material
US20040070669A1 (en) Image output calibrating system for cameras
CN206505030U (en) A kind of automatic line detector of automobile stamping
CN115980012A (en) Medical detection circuit board gluing multi-angle detection system and detection method thereof
CN211401101U (en) High-precision 3D contour modeling equipment
WO2011011723A2 (en) Apparatus for optimizing geometric calibrations
CN210102906U (en) Automatic identification grabbing device of miniaturized electric capacity
CN108898585B (en) Shaft part detection method and device
CN101738395A (en) Automated optical inspection equipment and inspection method thereof
CN215179745U (en) Detection equipment
JPH09160651A (en) Work positioning device
CN114111578A (en) Automatic pose determination method for large-diameter element
CN111458336B (en) Full-automatic inner surface internal vision inspection system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200414

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20201026

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20201102

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20210121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210601

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210702

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211005

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211008

R150 Certificate of patent or registration of utility model

Ref document number: 6963313

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150