Adopt the 3D rendering programming to realize the control method of electronic transformer coiling
Technical field
The present invention relates to a kind of control method that adopts the 3D rendering programming to realize electronic transformer coiling.
Background technology
Process is to market survey, the present employed winder of electronic transformer manufacturing plant is when changing new varieties, the coiling parameter such as mobile of each component movement of winding mechanism and guide pin what obtain employing is the mode of artificial instruction, this method has been used for improving greatly on the automatic coil winding machine efficient of equipment coiling coordinate programming, and the precision of the parameter of coiling position coordinates is higher, but its efficient is lower.Sharp increase day by day along with the electronic transformer demand, this working method has influenced the production efficiency of manufacturer greatly, the time of each programming is longer, need 4 hours approximately, can not adapt to current production demand, therefore be badly in need of a kind of new control method, improve the efficient that the coiling coordinate is obtained in programming.
Summary of the invention
For solving the problem that exists in the above-mentioned technology, the present invention provides a kind of control method that adopts the 3D rendering programming to realize electronic transformer coiling, on the basis of tradition coiling flow process, writing of opposing connection thread formula improves, be beneficial to improve the efficient that gets parms of programming, improve precision and production efficiency.
For achieving the above object, the technical solution used in the present invention provides a kind of control method that adopts the 3D rendering programming to realize electronic transformer coiling, and this method may further comprise the steps:
Step 1. construction drawing picture: with AutoCAD the bobbin of electronic transformer is drawn out 3D rendering, and save as the file of Dxf form;
Step 2. material loading: the electronic transformer coiling skeleton is installed on the roll of high speed winder by automatical feeding system, forms the position coordinates of actual electronic transformer coiling skeleton; Be to convert the motor kinematic parameter to by obtaining position coordinate parameters, the motion of control motor;
Step 3. is write the coiling formula: by the computing machine that sets in advance Control Software that is electrically connected with the high speed winder, call the 3D rendering of above-mentioned Dxf form, generate an electronic transformer coiling skeleton 3D rendering of programming and obtaining coordinate parameters automatically; This electronic transformer coiling skeleton 3D rendering amplifies or dwindles, thereby accurately determine the coordinate of coiling position according to accuracy requirement, the position coordinates of the electronic transformer coiling skeleton of reality is corresponding in position coordinates on the electronic transformer coiling skeleton 3D rendering that obtains coordinate parameters of programming that generates and the step 2, electronic transformer coiling skeleton 3D rendering is operated, and promptly is the operation that actual electronic transformer coiling backbone winding line process is provided with;
The direct position of coiling feature corners on the electronic transformer coiling skeleton 3D rendering that generates with the click Control Software of above-mentioned computing machine can obtain the position coordinates of this point, calculates the kinematic parameter of each motor then, is preserved automatically by Control Software; According to bobbin coiling requirement, click coiling position feature flex point successively, obtain all motor kinematic parameters, can wind the line;
Step 4. automatic winding: click " operation automatically " button in the Control Software, the motion by motor drives the coiling work that guide pin and electronic transformer coiling skeleton motion are finished electronic transformer; Can finish the coiling work of electronic transformer according to above-mentioned coiling formula;
Step 5. discharging: discharge system unloads the electronic transformer that winds from the high speed roll automatically, i.e. finished product.
Effect of the present invention is by adopting operation to the bobbin 3D rendering to realize the obtaining of coiling guide pin parameters of hydraulic motor, thus the motion of control motor, so this method improves the coiling precision and the production efficiency of electronic transformer.The method not only can be used the coiling work of control electronic transformer, the manufacturing process that can also be used for other products, as mechanical processing machine, wire cutting machine tool etc., directly call the 3D rendering of workpiece, can directly control processing, and the more traditional manually-operated of Working position is simple and efficient, avoids maloperation that human factor causes etc.
Description of drawings
Fig. 1 is electronic transformer coiling skeleton 3D figure of the present invention.
Among the figure: 1,2 are the coiling flex point, among the figure dotted line promptly by coiling flex point 1 to the flex point 2 that winds the line around line.
Embodiment
Reach embodiment in conjunction with the accompanying drawings employing 3D rendering programming of the present invention is realized that the control method of electronic transformer coiling is illustrated.
As shown in Figure 1, employing 3D rendering programming of the present invention realizes that the control method of electronic transformer coiling may further comprise the steps:
Step 1. construction drawing picture: with AutoCAD the bobbin of electronic transformer is drawn out 3D rendering, as shown in Figure 1, and save as the file of Dxf form;
Step 2. material loading: the electronic transformer coiling skeleton is installed on the roll of high speed winder by automatical feeding system, forms the position coordinates of actual electronic transformer coiling skeleton; Be to convert the motor kinematic parameter to by obtaining position coordinate parameters, the motion of control motor;
Step 3. is write the coiling formula: by the computing machine that sets in advance Control Software that is electrically connected with the high speed winder, call the 3D rendering of above-mentioned Dxf form, generate an electronic transformer coiling skeleton 3D rendering of programming and obtaining coordinate parameters automatically; This electronic transformer coiling skeleton 3D rendering amplifies or dwindles, thereby accurately determines the coordinate of coiling position to improve the coiling precision according to accuracy requirement; The position coordinates of the electronic transformer coiling skeleton of reality is corresponding in position coordinates on the electronic transformer coiling skeleton 3D rendering that obtains coordinate parameters of programming that generates and the step 2, electronic transformer coiling skeleton 3D rendering is operated, and promptly is the operation that actual electronic transformer coiling backbone winding line process is provided with;
The direct position of coiling feature corners on the electronic transformer coiling skeleton 3D rendering that generates with the click Control Software of above-mentioned computing machine can obtain the position coordinates of this point, calculates the motion impulse parameter of each motor then, is preserved automatically by Control Software; According to bobbin coiling requirement, click coiling position feature flex point successively, obtain all motor kinematic parameters, can wind the line;
Step 4. automatic winding: click " operation automatically " button in the Control Software, the motion by motor drives the coiling work that guide pin and electronic transformer coiling skeleton motion are finished electronic transformer; Can finish the coiling work of electronic transformer according to above-mentioned coiling formula;
Step 5. discharging: discharge system unloads the electronic transformer that winds from the high speed roll automatically, i.e. finished product.
Employing 3D rendering programming of the present invention realizes that the control method of electronic transformer coiling is achieved in that
The visualized operation software that adopts C++ to write directly calls the 3D rendering file of the Dxf form of the electronic transformer skeleton of finishing in advance, and software generates 3D rendering automatically; The relevant position of the feature corners by adopting the coiling position on the click image, software obtains the position coordinates of this point automatically, and the coordinate position that obtains and the position coordinates of actual bobbin are one to one; Software converts coordinate parameters to parameters of hydraulic motor, and this parameter is sent to motor driver, moves the corresponding anchor clamps of drive by motor and moves to the point identical with the image click location.Click the coiling feature corners of bobbin continuously, reach a series of parameters of hydraulic motor, can reach the effect of continuous winding.And the parameter that obtains preserved, be beneficial to and directly call next time.
Example: when guide pin moves to coiling flex point 2 positions by coiling flex point 1 position, if coiling flex point 1 position coordinates x=29511, y=-5371, z=40290 clicks coiling flex point 2 positions and obtains coordinate x=29326, y=-15595, z=40290, wherein coordinate unit is um.At this moment the winder Control Software will by two point coordinate change out motor motion impulse parameter X=-185*k, Y=-10224*k, Z=0, directly operation can make motor drive guide pin and move to coiling flex point 2 places, position by position coiling flex point 1, reaches the effect of cabling.
Motor motion impulse calculation of parameter principle formula:
k=(m*n/s)*10
-3
K: the umber of pulse that mobile m segment distance needs; M: displacement (um); S: pitch (mm); N: the motor required umber of pulse that rotates a circle.
Because actual bobbin size is less, general skeleton diameter is below 35mm; At this phenomenon, this wire winding design Control Software can be amplified 3D rendering, therefore can accurately choose point to be processed, reaches precision effect accurately.