CN100569530C - A kind of laser lattice code printing method - Google Patents
A kind of laser lattice code printing method Download PDFInfo
- Publication number
- CN100569530C CN100569530C CNB2007100294359A CN200710029435A CN100569530C CN 100569530 C CN100569530 C CN 100569530C CN B2007100294359 A CNB2007100294359 A CN B2007100294359A CN 200710029435 A CN200710029435 A CN 200710029435A CN 100569530 C CN100569530 C CN 100569530C
- Authority
- CN
- China
- Prior art keywords
- galvanometer
- character pattern
- luminous point
- laser
- deflection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Abstract
The invention discloses a kind of laser lattice code printing method, this method comprises: obtaining needs the delineation character pattern, character pattern is decomposed into dot matrix and calculates luminous point coordinate in the dot matrix; Digital signal processor reads the luminous point coordinate of described character pattern, and control galvanometer drive unit drives X, Y galvanometer are according to the deflection of luminous point coordinate and the resident Preset Time of character pattern.The present invention controls the galvanometer high-velocity scanning, reduces the laser dotting number, thereby improves marking speed, and the laser cut-out when avoiding the character pattern redirect, prolongs the service life of equipment.
Description
[technical field]
The present invention relates to laser and beat sign indicating number, relate in particular to a kind of laser lattice code printing method.
[background technology]
Laser is beaten on yard technology is applicable to the high speed flow production line with characteristics such as its high speed, low consumption, environmental protections the food, beverage, drinks, commodity and is delineated contents such as date of manufacture, lot number, bar code.It all is according to vector locus usually that laser is in the past beaten sign indicating number, delineation continuously on workpiece.
Yet when adopting vector to beat yard technology, owing to need get ready continuously, the speed of beating sign indicating number is slower, and every delineation finishes when a character pattern changes next character pattern over to and need turn-off laser one time, causes service life of equipment to shorten.
[summary of the invention]
The present invention is directed to the above-mentioned defective of prior art, a kind of laser lattice code printing method is provided, control galvanometer high-velocity scanning has reduced the laser dotting number, and improve and beat speed at quarter, and the laser cut-out when avoiding the character pattern redirect.
In order to solve the problems of the technologies described above, the present invention is achieved by the following technical solutions:
A kind of laser lattice code printing method is characterized in that, this method comprises:
Obtaining needs the delineation character pattern, character pattern is decomposed into dot matrix and calculates luminous point coordinate in the dot matrix;
Digital signal processor reads the luminous point coordinate of described character pattern, and control galvanometer drive unit drives X, Y galvanometer are according to the deflection of luminous point coordinate and the resident Preset Time of character pattern.
Wherein, comprise that the luminous point Coordinate Conversion with character pattern is an electrical quantity, according to electrical quantity control galvanometer drive unit drives X, the deflection of Y galvanometer, its conversion method is as follows:
X=f*tg α Y=f*tg β (formula 1.1)
α, β when (5 °~5 °) scope, X=f* α, Y=f* β
Wherein, X is the X axis physical coordinates, Y be Y-axis to physical coordinates, f is the distance of galvanometer to the center, focal plane, α, β are 2 galvanometer deflection angles;
With 16 bit digital quantity 0~(2
16-1)-5 °~5 ° control angle of expression, the digital quantity at galvanometer center is (2
15, 2
15), Shu Chu digital quantity D then
X, D
YBe expressed as:
Dx=2
15(the D of 1+36 α/π)
y=2
15(1+36 β/π) (formula 1.2)
With X=f* α, Y=f* β substitution (formula 1.2):
Dx=2
15(1+36X/(π*f)) D
y=2
15(1+36Y/(π*f))
Digital signal processor passes through the D/A change-over circuit with digital quantity D
X, D
YLinear transformation is-5V~+ aanalogvoltage of 5V, the galvanometer driver element receives aanalogvoltage and drives galvanometer deflection.
Wherein, also comprise and obtain the production line speed of service, calculate the coordinate of luminous point by the velocity compensation algorithm.
As can be seen from the above technical solutions, the displacement coordinateization that the present invention distributes by character pattern, thus again displacement coordinate is converted to the deflection of voltage parameter control galvanometer drive unit drives galvanometer, reduced the laser dotting number, improve marking speed, realize high efficiency; The present invention jumps at a high speed to next luminous point after delineating a luminous point, and the laser cut-out when avoiding the character pattern redirect prolongs service life of equipment; Other adopts digital signal processor air exercise code system to control, and improves control accuracy.
[description of drawings]
Fig. 1 does not have shutoff formula laser lattice code printing system block diagram for the present invention;
Fig. 2 is a main control unit block diagram of the present invention;
Fig. 3 is a dot matrix embodiment schematic diagram of the present invention.
[specific embodiment]
The present invention is further detailed explanation below in conjunction with the specific embodiment.
Referring to shown in Figure 1, no shutoff formula laser lattice code printing system comprises main control unit 1, CO
2Laser instrument 2, X galvanometer 5, Y galvanometer 6, galvanometer driver element 3, input display unit 4.
CO
2Laser instrument 2 produces the laser beam of certain wavelength under the control of main control unit 1PWM signal.Laser beam carries out deflection through X galvanometer 5 and Y galvanometer 6, make laser beam on purpose deflection get to and stay the marking on the aiming pip.Wherein, the main control unit control formed by digital signal processor DSP of the deflection angle of the watt level of laser beam and directions X deflection or Y direction.
From the pre-delineation of input display unit 4 inputs character pattern, main control unit 1 is accepted the character pattern of input display unit, character pattern is arranged and is converted to the coordinate data storage by dot matrix, read the coordinate data of the character pattern that needs delineation, and control galvanometer driver element 3 drives X, Y galvanometer according to the deflection of character pattern coordinate data.
The character pattern coordinate data is converted to electrical quantity to be comprised:
X=f*tgα Y=f*tgβ
α, β when (5 °~5 °) scope, X=f* α, Y=f* β (formula 1.1)
With 16 bit digital quantity 0~(2
16-1)-5 °~5 ° control angle of expression, the digital quantity at galvanometer center is (2
15, 2
15), 5 °=π/36r α d, then Shu Chu digital quantity D
X, D
YBe expressed as:
Dx=2
15(the D of 1+36 α/π)
y=2
15(1+36 β/π) (formula 1.2)
(formula 1.1) substitution (formula 1.2) is got:
Dx=2
15(1+36X/(π*f)) D
y=2
15(1+36Y/(π*f))
Referring to shown in Figure 2, be structured flowchart in the main control unit of the present invention.
Comprise digital signal processor DSP 11, X D/A conversion unit 12, Y D/A conversion unit 12, pulsewidth modulation driver element PWM 14, control I/O unit 15, RS232 interface 16, RS422 interface 17.The core of main control unit is the digital signal processor DSP processor, adopts the TMS320F2812DSP micro controller of U.S. Texas Instruments company to constitute.The kernel of this unit is a 32bit digital signal processor, the peak value instruction execution speed reaches 150MIPS, and the random access memory ram 18 in inner integrated 32K zero-waiting cycle and 256K flash memory FLASHROM 19, have most of peripheral control interface circuit, as UART, SPI, CAN, PWM.
DSP resolves into dot matrix and calculates luminous point coordinate in the dot matrix by the character pattern shape of needs being beaten sign indicating number, and obtain production line speed of service value from the velocity sensor that links to each other with control I/O 15 circuit, by default velocity compensation algorithm, obtain X and the Y-axis amount of deflection digital quantity and the corresponding laser beam power controlling value of luminous point place coordinate in real time.Wherein, the deflection digital quantity sends to the galvanometer driver element by X D/A conversion unit, Y D/A conversion unit, and control galvanometer X and Y galvanometer deflect into assigned target position; The laser beam power controlling value is then amplified by pulse width modulation (PWM) driver element 14, sends into CO
2In the laser instrument, control laser beam power output.Simultaneously, DSP starts timer conter, and laser beam stays mark in the time that aiming pip stops setting.Laser beam between adjacent impact point then high-speed mobile do not stop, thereby do not leave a trace, make and beat the effect that the sign indicating number figure has dot lattice printing.The FLASHROM 19 of expansion is used for yard figure of beating that the constant of storage control program, running and user set; SRAM 20 preserves interim parameter and result; NVSRAM 21 preserves can be by the constant of user's modification, and power-down protection is arranged.
Preferably, digital signal processor DSP can by the RS232 drive circuit with or RS422 drive circuit and PC or remote control unit carry out exchanges data, obtain online figure and the setup parameter of beating sign indicating number, as beat sign indicating number zone, big or small, the stroke weight of font, become the time of staying of luminous point in amount of deflection, laser output power and the dot matrix of galvanometer by reduction of operation, thus the motion of control galvanometer.
Control I/O Unit 15 are used to connect sensor, as object position sensor, velocity sensor, safety door switch etc.
EBI is reserved in external bus expansion 18, is application extension USB interface, network interface.
The framework based on real time operating system DSP/BIOSTI that the software of laser marker master pocket will adopt TI company to produce is developed.
Referring to shown in Figure 3, be a dot matrix embodiment, suppose to set up the dot matrix of 7*5, store the information of each word with array, then numeral 8 is expressed as:
8[35]={0,1,1,1,0,
1,0,0,0,1
1,0,0,0,1
0,1,1,1,0
1,0,0,0,1
1,0,0,0,1
0,1,1,1,0}
During laser grooving and scribing, digital signal processor DSP is obtained corresponding data, according to the size that will delineate word, calculate each some physical coordinates, can calculate the digital quantity coordinate of DSP output then according to physical coordinates, utilize DSP to come real-time control laser, thereby the high speed redirect is to the font of next digital coordinates realization delineation dot matrix then at the resident Preset Time calcination of corresponding digital coordinate spotting out.
Be the scale characters size, the present invention is with the former luminous point 31 of a plurality of luminous point combination replacements.See part spot enlarged diagram among Fig. 3, with luminous point of 3 luminous point combination replacements, thereby the ratio of character is adjusted in realization.In other embodiments of the invention, also can show, not influence realization of the present invention with 5 luminous points, luminous point of 7 luminous point combination replacements.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (3)
1, a kind of laser lattice code printing method is characterized in that, this method comprises:
Obtaining needs the delineation character pattern, character pattern is decomposed into dot matrix and calculates luminous point coordinate in the dot matrix;
Digital signal processor reads the luminous point coordinate of described character pattern, and control galvanometer drive unit drives X, Y galvanometer are according to the deflection of luminous point coordinate and the resident Preset Time of character pattern.
2, a kind of laser lattice code printing method according to claim 1 is characterized in that: comprise that the luminous point Coordinate Conversion with character pattern is an electrical quantity, according to electrical quantity control galvanometer drive unit drives X, the deflection of Y galvanometer, its conversion method is as follows:
X=f*tg α Y=f*tg β (formula 1.1)
α, β when (5 °~5 °) scope, X=f* α, Y=f* β
Wherein, X is the X axis physical coordinates, Y be Y-axis to physical coordinates, f is the distance of galvanometer to the center, focal plane, α, β are 2 galvanometer deflection angles;
With 16 bit digital quantity 0~(2
16-1)-5 °~5 ° control angle of expression, the digital quantity at galvanometer center is (2
15, 2
15), Shu Chu digital quantity D then
X, D
YBe expressed as:
Dx=2
15(the D of 1+36 α/π)
y=2
15(1+36 β/π) (formula 1.2)
With X=f* α, Y=f* β substitution (formula 1.2):
Dx=2
15(1+36X/(π*f)) D
y=2
15(1+36Y/(π*f))
Digital signal processor passes through the D/A change-over circuit with digital quantity D
X, D
YLinear transformation is-5V~+ aanalogvoltage of 5V, then aanalogvoltage is sent the deflection of galvanometer drive unit drives galvanometer.
3, a kind of laser lattice code printing method according to claim 1 and 2 is characterized in that: also comprise and obtain the production line speed of service, draw the coordinate of luminous point by the velocity compensation algorithm.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100294359A CN100569530C (en) | 2007-07-27 | 2007-07-27 | A kind of laser lattice code printing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100294359A CN100569530C (en) | 2007-07-27 | 2007-07-27 | A kind of laser lattice code printing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101100138A CN101100138A (en) | 2008-01-09 |
CN100569530C true CN100569530C (en) | 2009-12-16 |
Family
ID=39034658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007100294359A Expired - Fee Related CN100569530C (en) | 2007-07-27 | 2007-07-27 | A kind of laser lattice code printing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100569530C (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101823372A (en) * | 2010-04-30 | 2010-09-08 | 东莞市创普光电技术有限公司 | Shutoff-free laser vector text-image continuous coding mode |
WO2013120248A1 (en) * | 2012-02-14 | 2013-08-22 | 深圳市杰普特电子技术有限公司 | Pulse laser and marking system using same |
CN103707665B (en) * | 2013-12-17 | 2016-11-09 | 重庆川仪自动化股份有限公司 | It is applied to word print control program and the device of paper recorder |
CN107138860A (en) * | 2017-05-31 | 2017-09-08 | 武汉森托尼激光有限公司 | A kind of interior engraving system quick and precisely positioned |
CN108089177A (en) * | 2018-01-30 | 2018-05-29 | 深圳市速腾聚创科技有限公司 | Laser radar and laser radar control method |
CN113198111A (en) * | 2021-04-28 | 2021-08-03 | 武汉奇致激光技术股份有限公司 | Circular lattice laser control generation method and device |
-
2007
- 2007-07-27 CN CNB2007100294359A patent/CN100569530C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101100138A (en) | 2008-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100569530C (en) | A kind of laser lattice code printing method | |
CN208019618U (en) | A kind of auto-focusing laser marking machine | |
CN1116653C (en) | Two-dimensional bar code laser marking method | |
CN201300588Y (en) | High-speed galvanometric scanner type online laser coding machine for metal parts | |
CN205464833U (en) | Laser marking machine | |
CN101412324B (en) | High speed vibrating mirror on-line laser marker for metal parts | |
CN102173219A (en) | Full-automatic laser marking system | |
CN204596290U (en) | A kind of mirror-vibrating laser scanning experimental teaching unit | |
CN101718535A (en) | Whisker sensor suitable for inclined angle between robot perception and barrier | |
JPH0455077A (en) | Laser beam machine | |
CN201950960U (en) | Follow-up optical fiber laser marking system | |
CN2557432Y (en) | High-speed laser mark-making machine | |
CN201300587Y (en) | Online high-speed CO2 laser coding machine | |
JP2011189408A (en) | Laser scribing device having marking function, and method for working solar cell using the same | |
CN110081904A (en) | Biplane photosensor arrays push-bench attitude measuring and measurement method | |
RU2005141137A (en) | METHOD FOR MEASURING THE BENDING OF A GLASS PANEL BENDED ON A RING FORM | |
CN101412325B (en) | On-line high speed CO2 laser marker | |
CN203317413U (en) | Laser lead carpenter's ink marker | |
CN113385827A (en) | Online laser marking device and method for hot-rolled steel billet | |
CN206484150U (en) | A kind of dotted line overlaps focusing accessory system | |
CN2776618Y (en) | Laser etching machine having feed back control | |
KR100312924B1 (en) | Scan Marking of Manufacturing Products | |
CN215787491U (en) | Online laser marking device for hot-rolled steel billets | |
CN208019626U (en) | A kind of novel dynamic focusing laser marking machine | |
CN101494057A (en) | Method for correcting head suspension rack, method for producing head suspension rack, head suspension rack and method for treating thin plate |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091216 Termination date: 20110727 |