A kind of texturing curve surface of mould cavity of laser mechanical hand method and device
Technical field
The present invention relates to laser process equipment technical field, more particularly, relate to a kind of texturing curve surface of mould cavity of laser mechanical hand method and device.
Background technology
The general method adopting sandblasting and chemical attack of current mold cavity erosion line processing; the such as patent No. is a kind of method disclosing wall of die cavity engraving decorative pattern in the patent of invention " wall of die cavity decorative pattern engraving method " of 88104312; wherein; first the method for metal forming photoetching is made required decorative pattern net; again this decorative pattern net one side is coated with up-protective layer; another side is attached to mold cavity inwall, then etches wall of die cavity by the method for chemical attack or electrolytic etching.There are two large shortcomings in this chemical corrosion method currently used: one is that the process-cycle is long, generally needs 3-7 days, and expensive; Two is that the chemical raffinate discharged causes severe contamination to enterprises and surrounding environment thereof, and the chemical raffinate that annual generation is a large amount of, more than 90% enterprise is " row of stealing " all.
In addition, adopt the method for sandblasting of the prior art or chemical attack, also cannot realize texture etching and processing that is special-shaped curved to mold cavity and precipitous curved surface.Therefore, need to improve existing mould cavity curved surface erosion line method.
Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, provide a kind of line efficiency of losing high, pollution-free and be applicable to texturing curve surface of mould cavity of laser mechanical hand method and the device that the special-shaped curved and precipitous curved surface to mold cavity carries out losing line processing.
The technical solution adopted for the present invention to solve the technical problems is:
Construct a kind of texturing curve surface of mould cavity of laser mechanical hand method, wherein, comprise the following steps:
A, set up 2 d texture pattern database and store, the parameter containing the multiple two-dimensional pattern for carrying out mould cavity curved surface texture etching in described 2 d texture pattern database, described parameter comprises region that needs etch, position, lines and area;
B, acquisition needs carry out the two-dimensional pattern etched at mould cavity curved surface, according to the relevant parameter in described 2 d texture pattern database, adopt texture-mapping algorithm, carry out three-dimensional graph process to described two-dimensional pattern, generate STL format descriptor, and store;
C, read described STL format descriptor, and according to described STL format descriptor, control the robot movement of laser engine hand mold cavity erosion line machine, erosion line is carried out to described mould cavity curved surface texture process to control laser beam.
Method of the present invention, wherein, described step B comprises:
B1, acquisition needs carry out the two-dimensional pattern etched at mould cavity curved surface;
B2, according to the relevant parameter in described 2 d texture pattern database, described two-dimensional pattern three-dimensional surface model or physical model to be represented;
B3, described three-dimensional surface model or physical model converted to the STL format descriptor that surface triangles approaches, and store.
Method of the present invention, wherein, described step B3 comprises:
Mould cavity curved surface to be processed is specified some seed tri patch, generates curved surface tangent vector field, set up the mapping of curved surface tri patch to texture space, and map the maintenance shape of tri patch and size constant;
The whole surface mesh triangle of breadth First ground search, recursively uses tri patch to the mapping of texture space, until whole surface mesh is all by veining, records the texture coordinate of tri patch;
By the texture coordinate recorded, use the dividing method of figure to calculate optimum splicing texture to adjacent tri patch texture, generate the texture of each tri patch;
The texture compression of generated each tri patch is stored as a large texture collection, and carries out real-time rendering according to the texture coordinate recorded, obtain described STL format descriptor.
Method of the present invention, wherein, in described step C, described laser engine hand mold cavity erosion line machine comprise for generation of laser laser generator, for conduct concurrent outgoing laser beam laser head, for fixing described laser head manipulator, for control described manipulator Manipulator Controller, for placing the three-dimensional movement platform of mould to be processed and the industrial computer for controlling the motion of described three-dimensional movement platform; Wherein,
Described Manipulator Controller is connected with described manipulator, and described laser head is arranged on described manipulator front end and is connected with described laser generator by optical fiber; Described three-dimensional movement platform is arranged on below described manipulator.
Method of the present invention, wherein, described step C also comprises:
Obtain the parameters of the pulse width modulating signal regulating described laser beam energy;
Control described laser engine hand mold cavity erosion line machine produce the on off state of laser beam, and regulate the energy of described laser beam according to the parameters of described pulse width modulating signal.
Present invention also offers a kind of texturing curve surface of mould cavity of laser mechanical hand device, wherein, comprising:
2 d texture pattern database sharing module, for setting up 2 d texture pattern database and storing, containing the parameter of the multiple two-dimensional pattern for carrying out mould cavity curved surface texture etching in described 2 d texture pattern database, described parameter comprises region that needs etch, position, lines and area;
Three-dimensional graph process module, for obtaining the two-dimensional pattern that needs carry out at mould cavity curved surface etching, according to the relevant parameter in described 2 d texture pattern database, adopt texture-mapping algorithm, three-dimensional graph process is carried out to described two-dimensional pattern, generates STL format descriptor, and store;
Laser engine hand mold cavity erosion line machine, for reading described STL format descriptor, and controls robot movement according to described STL format descriptor, carries out the processing of erosion line to control laser beam to described mould cavity curved surface texture.
Device of the present invention, wherein, described three-dimensional graph process module comprises:
Two-dimensional pattern acquiring unit, for obtaining the two-dimensional pattern that needs carry out at mould cavity curved surface etching;
Modeling unit, for according to the relevant parameter in described 2 d texture pattern database, represents described two-dimensional pattern three-dimensional surface model or physical model;
Stl file generation unit, for described three-dimensional surface model or physical model being converted to the STL format descriptor that surface triangles is approached, and stores.
Device of the present invention, wherein, described stl file generation unit comprises:
Map subelement, for specifying some seed tri patch on mould cavity curved surface to be processed, generating curved surface tangent vector field, setting up the mapping of curved surface tri patch to texture space, and map the maintenance shape of tri patch and size constant;
Texture coordinate record subelement, searches for whole surface mesh triangle for breadth First, recursively uses tri patch to the mapping of texture space, until whole surface mesh is all by veining, records the texture coordinate of tri patch;
Texture generates subelement, for the texture coordinate by having recorded, using the dividing method of figure to calculate optimum splicing texture, generate the texture of each tri patch to adjacent tri patch texture;
Stl file generates subelement, for the texture compression of generated each tri patch being stored as a large texture collection, and carrying out real-time rendering according to the texture coordinate recorded, obtaining described STL format descriptor.
Device of the present invention, wherein, described laser engine hand mold cavity erosion line machine comprises:
For generation of laser laser generator, for conduct concurrent outgoing laser beam laser head, for fixing described laser head manipulator, for control described manipulator Manipulator Controller, for placing the three-dimensional movement platform of mould to be processed and the industrial computer for controlling the motion of described three-dimensional movement platform; Wherein,
Described Manipulator Controller is connected with described manipulator, and described laser head is arranged on described manipulator front end and is connected with described laser generator by optical fiber; Described three-dimensional movement platform is arranged on below described manipulator.
Device of the present invention, wherein, described laser engine hand mold cavity erosion line machine also comprises the laser control unit for controlling described laser generator: wherein, described laser control unit comprises:
Parameter acquiring subelement, for obtaining the parameters of the pulse width modulating signal regulating described laser beam energy;
Parameters of laser beam and mode control word unit, for control described laser engine hand mold cavity erosion line machine produce the on off state of laser beam, and regulate the energy of described laser beam according to the parameters of described pulse width modulating signal.
Beneficial effect of the present invention is: by setting up 2 d texture pattern database, and adopt texture-mapping algorithm, three-dimensional graph process is carried out to two-dimensional pattern, obtain STL format descriptor, and by the erosion of laser engine hand mold cavity, line is machine-readable gets this STL format descriptor, control according to this STL format descriptor motion to manipulator, to control laser beam, the processing of erosion line is carried out to mould cavity curved surface texture.Texturing curve surface of mould cavity of laser mechanical hand method of the present invention, owing to not needing to adopt chemical corrosion method, therefore waste liquid can not be produced, than conventional method environmental protection more, and whole erosion line process also can shorten greatly, improve working (machining) efficiency, and realize the processing of erosion line owing to have employed the texturing curve surface of mould cavity of laser mechanical hand machine with manipulator, add flexibility and the physical capability of whole system of processing, the special-shaped curved and precipitous curved surface of the unmanageable mold cavity of common processing methods can be processed.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the mould cavity curved surface erosion line method flow diagram of present pre-ferred embodiments;
Fig. 2 a is the erosion line design sample schematic diagram of present pre-ferred embodiments;
Fig. 2 b is design sketch after the erosion line design sample schematic diagram in Fig. 2 a amplifies ten times;
Fig. 3 is that the planar grains of present pre-ferred embodiments is mapped to mould cavity curved surface schematic diagram;
Fig. 4 is the texturing curve surface of mould cavity of laser mechanical hand principle of device block diagram of present pre-ferred embodiments;
Fig. 5 is three-dimensional graph process module principle block diagram in the texturing curve surface of mould cavity of laser mechanical hand device of present pre-ferred embodiments;
Fig. 6 is stl file generation unit theory diagram in the texturing curve surface of mould cavity of laser mechanical hand device of present pre-ferred embodiments;
Fig. 7 is the texturing curve surface of mould cavity of laser mechanical hand machine theory diagram of present pre-ferred embodiments;
Fig. 8 is the functional module framework figure adopted in the mould cavity curved surface erosion line device of the present invention's specific embodiment.
Detailed description of the invention
As shown in Figure 1, the method S100 can adopt the mode of hardware, software or software and hardware combining to realize to the texturing curve surface of mould cavity of laser mechanical hand method S100 flow chart of present pre-ferred embodiments.The method originates in step S110.In the step s 120, set up 2 d texture pattern database and store, containing the parameter of the multiple two-dimensional pattern for carrying out mould cavity curved surface texture etching in 2 d texture pattern database, parameter comprises region that needs etch, position, lines and area; In step s 130, which, the two-dimensional pattern that needs carry out at mould cavity curved surface etching is obtained, according to the relevant parameter in 2 d texture pattern database, adopt texture-mapping algorithm, three-dimensional graph process is carried out to two-dimensional pattern, generates STL format descriptor, and store; In step S140, read STL format descriptor, and according to STL format descriptor, control the robot movement of laser engine hand mold cavity erosion line machine, to control laser beam, the processing of erosion line is carried out to mould cavity curved surface texture.Said method S100 ends at step S150.In the mould cavity curved surface erosion line method of the present embodiment, owing to not needing to adopt chemical corrosion method, therefore can not produce waste liquid, than conventional method environmental protection more, and whole erosion line process also can shorten greatly, improves working (machining) efficiency.And realize the processing of erosion line owing to have employed the texturing curve surface of mould cavity of laser mechanical hand machine with manipulator, add flexibility and the physical capability of whole system of processing, the special-shaped curved and precipitous curved surface of the unmanageable mold cavity of common processing methods can be processed.
Wherein, mould of plastics erosion line pattern about 60% is standard line (containing pears ground decorative pattern), and the MT10000 series standard line of in recent years popular both at home and abroad Mo De company of the U.S., just has nearly thousand kinds of patterns; Other 40% mainly for leather patterns, orange peel line, wood grain, rain decorative pattern, penetrate the demand of the decorative pattern such as line, dull surface.Fig. 2 a is the sample being similar to U.S. Mo De company MT11005 standard line (pears ground decorative pattern).As can be seen from the schematic diagram 2b through amplification 10 times, in the region of the nearly 1mm of diameter, design nearly more than 60 individual different pits (dash area).According to the mentality of designing of MT11005 standard line, progressively design other kinds erosion line pattern, and set up corresponding 2 d texture pattern database, namely set up electronic standard card, the region allowing each pattern of calculating function identification need to etch, position, lines and area.Can by the measurement of roughness, whether the surface of effect laser-induced thermal etching processing, reach the design specification of texture.
In a further embodiment, above-mentioned steps S130 specifically comprises: obtain the two-dimensional pattern that needs carry out at mould cavity curved surface etching; According to the relevant parameter in 2 d texture pattern database, two-dimensional pattern three-dimensional surface model or physical model are represented; Three-dimensional surface model or physical model are converted to the STL format descriptor that surface triangles is approached, and store.Wherein, planar grains is mapped to the process of mould cavity curved surface as shown in Figure 3, illustrated therein is original mapping textures a, mould cavity curved surface b to be processed, loses line processing effect schematic diagram c through laser, and the surface texture figure d after mapping.
Particularly, STL format descriptor process is generated as follows: on mould cavity curved surface to be processed, specify some seed tri patch in above-mentioned steps, generate curved surface tangent vector field, set up the mapping of curved surface tri patch to texture space, and map the maintenance shape of tri patch and size constant; The whole surface mesh triangle of breadth First ground search, recursively use tri patch to the mapping of texture space, until whole surface mesh is all by veining, the best texture coordinate that texture space obtains texture patches is searched in mapping process, make the matching error of the texture patches of adjacent triangular faces on curved surface minimum, record the texture coordinate of tri patch; By the texture coordinate recorded, use the dividing method of figure to calculate optimum splicing texture to adjacent tri patch texture, generate the texture of each tri patch; The texture compression of generated each tri patch is stored as a large texture collection, and carries out real-time rendering according to the texture coordinate recorded, obtain STL format descriptor.
Above-mentioned steps S140 also comprises: the parameters obtaining the pulse width modulating signal of adjusting laser beam energy; Control laser engine hand mold cavity erosion line machine produce the on off state of laser beam, and the energy of parameters adjusting laser beam according to pulse width modulating signal.That is, above-mentioned laser engine hand mold cavity erosion line machine can comprise the control of laser beam: laser switch controls and energy hole.Wherein, laser switch controls to realize by level signal, and Laser energy attenuation regulates by frequency and the adjustable pwm signal of dutycycle.Particularly, by program, different PMW signals can be set according to laser-induced thermal etching object.In addition, also can be pointed out by buzzer the abnormal conditions that machine occurs by laser-induced thermal etching machining control module.Due to the direct current supply that alarm buzzer is 24 volts, software gives the level change of TTL signal by control card, and the change of its level, by after drive amplification, controls alarm buzzer and produces corresponding effect.
Wherein, the concrete structure of above-mentioned laser engine hand mold cavity erosion line machine will be described in detail in the following embodiments.
In another embodiment of the invention, additionally provide a kind of texturing curve surface of mould cavity of laser mechanical hand device, as shown in Figure 4, comprising: 2 d texture pattern database sharing module 10, for setting up 2 d texture pattern database and storing, containing the parameter of the multiple two-dimensional pattern for carrying out mould cavity curved surface texture etching in 2 d texture pattern database, parameter comprises region that needs etch, position, lines and area; Three-dimensional graph process module 20, for obtaining the two-dimensional pattern that needs carry out at mould cavity curved surface etching, according to the relevant parameter in 2 d texture pattern database, adopt texture-mapping algorithm, three-dimensional graph process is carried out to two-dimensional pattern, generates STL format descriptor, and store; Laser engine hand mold cavity erosion line machine 30, for reading STL format descriptor, and controls robot movement according to STL format descriptor, carries out the processing of erosion line to control laser beam to mould cavity curved surface texture.Wherein set up 2 d texture pattern database method can see above by reference to the accompanying drawings 2 description, do not repeat them here.In the texturing curve surface of mould cavity of laser mechanical hand device of the present embodiment, owing to not needing to adopt chemical corrosion method, therefore can not produce waste liquid, than conventional method environmental protection more, and whole erosion line process also can shorten greatly, improves working (machining) efficiency.And realize the processing of erosion line owing to have employed the texturing curve surface of mould cavity of laser mechanical hand machine with manipulator, add flexibility and the physical capability of whole system of processing, the special-shaped curved and precipitous curved surface of the unmanageable mold cavity of common processing methods can be processed.
Further, as shown in Figure 5, the three-dimensional graph process module 20 in above-described embodiment specifically comprises: two-dimensional pattern acquiring unit 21, for obtaining the two-dimensional pattern that needs carry out at mould cavity curved surface etching; Modeling unit 22, for according to the relevant parameter in 2 d texture pattern database, represents two-dimensional pattern three-dimensional surface model or physical model; Stl file generation unit 23, for three-dimensional surface model or physical model being converted to the STL format descriptor that surface triangles is approached, and stores.
Wherein, as shown in Figure 6, stl file generation unit 23 in above-described embodiment comprises: map subelement 231, for specifying some seed tri patch on mould cavity curved surface to be processed, generate curved surface tangent vector field, set up the mapping of curved surface tri patch to texture space, and map keep the shape of tri patch and size constant; Texture coordinate record subelement 232, searches for whole surface mesh triangle for breadth First, recursively uses tri patch to the mapping of texture space, until whole surface mesh is all by veining, records the texture coordinate of tri patch; Texture generates subelement 233, for the texture coordinate by having recorded, using the dividing method of figure to calculate optimum splicing texture, generate the texture of each tri patch to adjacent tri patch texture; Stl file generates subelement 234, for the texture compression of generated each tri patch being stored as a large texture collection, and carrying out real-time rendering according to the texture coordinate recorded, obtaining STL format descriptor.
In a further embodiment, as shown in Figure 7, the laser engine hand mold cavity erosion line machine in the various embodiments described above comprises: laser generator 6, laser head 2, manipulator 1, Manipulator Controller 5, three-dimensional movement platform 3 and industrial computer 4.Wherein, Manipulator Controller 5 is connected with manipulator 1, for controlling manipulator 1 action; Laser head 2 is arranged on manipulator 1 front end and is connected with laser generator 6 by optical fiber, and the laser that laser generator 6 produces, then to be launched by laser head 2 to laser head 2 by fiber optic conduction; Three-dimensional movement platform 3 is arranged on the below of manipulator 1, to place mould to be processed, and is controlled by industrial computer 4 pairs of three-dimensional movement platform 3, moves upward, to adjust the position of mould to be processed tripartite.
Particularly, mold cavity surface to be removed the erosion line figure three-dimensional surface model representation of material, then STL format descriptor is converted to, machined parameters is inputted by Manipulator Controller 5, complete according to STL format descriptor the scanning machining treating processing mold profile surface, mould cavity curved surface is formed erosion line pattern.Add man-hour, first mold cavity to be processed is fixed in three-dimensional movement platform 3, three-dimensional movement platform 3 is driven to adjust the position of mold cavity by industrial computer 4, controlled by the action of Manipulator Controller 5 pairs of manipulators 1 again, and start laser generator 6, realize the motion control to laser beam, complete the erosion line processing of mould cavity curved surface.Because manipulator 1 has good extensibility, add flexibility and the physical capability of whole system of processing, the special-shaped curved and precipitous curved surface of the unmanageable mold cavity of common processing methods can be processed.
Preferably, above-mentioned laser engine hand mold cavity erosion line machine also comprises the laser control unit (not shown) for controlling laser generator.Wherein, laser control unit comprises: parameter acquiring subelement, for obtaining the parameters of the pulse width modulating signal of adjusting laser beam energy; Parameters of laser beam and mode control word unit, for control laser engine hand mold cavity erosion line machine produce the on off state of laser beam, and the energy of parameters adjusting laser beam according to pulse width modulating signal.That is, above-mentioned laser engine hand mold cavity erosion line machine can comprise the control of laser beam: laser switch controls and energy hole.Wherein, laser switch controls to realize by level signal, and Laser energy attenuation regulates by frequency and the adjustable pwm signal of dutycycle.Particularly, by program, different PMW signals can be set according to laser-induced thermal etching object.In addition, also can be pointed out by buzzer the abnormal conditions that machine occurs by laser-induced thermal etching machining control module.Due to the direct current supply that alarm buzzer is 24 volts, software gives the level change of TTL signal by control card, and the change of its level, by after drive amplification, controls alarm buzzer and produces corresponding effect.
Preferably, in the various embodiments described above, the industry mechanical arm of 5 axles selected by manipulator 1, and Nd:YAG solid state laser selected by laser generator 6.
Preferably, in a specific embodiment, the control module software systems of above-mentioned laser engine hand mold cavity erosion line machine have functional module framework as shown in Figure 8, comprising pattern database 101, the main interface 102 of application software and erosion line card instruction system 103, in the main interface 102 of application software, include the subitems such as mapping textures algorithm process 104, laser erosion line 105, erosion line card programming 106.Wherein, pattern database 101 is for editing and store the X-Y scheme file needing to carry out losing line processing at mould cavity curved surface; Erosion line card instruction system 103, for editor and management laser-induced thermal etching instruction, realizes the seamless link between bottom hardware and application software; Mapping textures algorithm process 104 comprises graphical three-dimensional modeling 107, texture face process 108 to be processed, data processing 109 etc., everyly comprises again multiple subitem, does not repeat one by one at this.
The concrete manner of execution process of above-mentioned control module software systems can produce different effects according to concrete programming difference, also do not describe in detail one by one at this, test proves, can realize, to the efficient control of hardware components in laser engine hand mold cavity erosion line machine, realizing processing the erosion line of mould cavity curved surface by this functional module framework.
To sum up, the present invention is by setting up 2 d texture pattern database, and adopt texture-mapping algorithm, three-dimensional graph process is carried out to two-dimensional pattern, obtain STL format descriptor, and by the erosion of laser engine hand mold cavity, line is machine-readable gets this STL format descriptor, controls according to this STL format descriptor motion to manipulator, carries out erosion line process to control laser beam mould cavity curved surface texture.Texturing curve surface of mould cavity of laser mechanical hand method of the present invention, owing to not needing to adopt chemical corrosion method, therefore waste liquid can not be produced, than conventional method environmental protection more, and whole erosion line process also can shorten greatly, improve working (machining) efficiency, and realize the processing of erosion line owing to have employed the texturing curve surface of mould cavity of laser mechanical hand machine with manipulator, add flexibility and the physical capability of whole system of processing, the special-shaped curved and precipitous curved surface of the unmanageable mold cavity of common processing methods can be processed.
Should be understood that, for those of ordinary skills, can according to the above description technical scheme of the present invention be improved or be converted, and all these improve and convert the protection domain that all should belong to claims of the present invention.