[go: up one dir, main page]

CN106956520B - A kind of accuracy calibrating method of print label length - Google Patents

A kind of accuracy calibrating method of print label length Download PDF

Info

Publication number
CN106956520B
CN106956520B CN201710231697.7A CN201710231697A CN106956520B CN 106956520 B CN106956520 B CN 106956520B CN 201710231697 A CN201710231697 A CN 201710231697A CN 106956520 B CN106956520 B CN 106956520B
Authority
CN
China
Prior art keywords
stepper motor
length
pulse
difference
printer
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.)
Active
Application number
CN201710231697.7A
Other languages
Chinese (zh)
Other versions
CN106956520A (en
Inventor
陈乃康
王宜江
赵娟
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.)
Feima (Jiangsu) Intelligent Technology Co.,Ltd.
Shanghai weikan Electronic Material Co., Ltd
Original Assignee
VARICUT (SHANGHAI) ELECTRONIC COMPONENTS CO Ltd
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 VARICUT (SHANGHAI) ELECTRONIC COMPONENTS CO Ltd filed Critical VARICUT (SHANGHAI) ELECTRONIC COMPONENTS CO Ltd
Priority to CN201710231697.7A priority Critical patent/CN106956520B/en
Publication of CN106956520A publication Critical patent/CN106956520A/en
Application granted granted Critical
Publication of CN106956520B publication Critical patent/CN106956520B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J15/00Devices or arrangements of selective printing mechanisms, e.g. ink-jet printers or thermal printers, specially adapted for supporting or handling copy material in continuous form, e.g. webs

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Control Of Stepping Motors (AREA)
  • Handling Of Sheets (AREA)

Abstract

The present invention relates to printer technology fields, disclose a kind of accuracy calibrating method of print label length, step includes, the length of printer test printing is set, the resultant signal umber of pulse of control motor movement is calculated away from the Multi-level microstep number with stepper motor according to point, by the practical tag length printed of printer compared with full-length, calculating difference, if difference is more than 0, after the signal pulse of specific numbers is sent out, control stepper motor is failure to actuate;If difference is less than 0, after the signal pulses of specific numbers is sent out, the action of control stepper motor is twice.The accuracy calibrating method of the print label length of the present invention greatly reduces the printing error of label machine, stepper motor is controlled in several specific pulses, to motor action by the way of interpolation or pumping value, realize different label machines when printing is the same as a label sample, the label sample printing error for substantially reducing label machine, improves the stability of the printing effect of printer.

Description

A kind of accuracy calibrating method of print label length
Technical field
The present invention relates to printer technology field more particularly to a kind of accuracy calibrating methods of print label length.
Background technology
The stepper motor of printer is the opened loop control element that electric impulse signal is changed into angular displacement or displacement of the lines.Stepping The size of the rotor mechanical displacement that stepper motor can be controlled as long as the number for changing input pulse of motor;Change input pulse Energization phase sequence can control stepper motor rotor mechanical displacement direction;Step can be controlled by changing the frequency of input pulse number The rotating speed of stepper motor realizes the stepless smooth control in broad range, thus is widely used in the numerically controlled automatics such as printer In equipment.Wherein, the paper feeding structure of stylus printer and word vehicle etc. mainly provide power using stepper motor.
In the print procedure of practical printer, the rubber roller size used per station symbol label printer can have small difference It is different, it results in the tag length printed when different machines print same a label and phenomenon different in size occurs, error is most Reach 3% degree greatly.
Calibration positioning only is carried out to the starting end that label prints in existing label machine, to reduce printing as possible To the calibration of the accuracy of single label initial position when the continuous print label of machine, but this method still cannot calibrate individually The calibration of label print point in print procedure, error still have.Stepper motor control is run through due to stepper motor Device control processed, controllor for step-by-step motor are realized by controlling speed governing, commutation and the high-subdividing number of driver control stepper motor Control of the controllor for step-by-step motor to the print procedure of printer, to have an opportunity to realize the amendment to printing error.
Invention content
The purpose of the present invention is to solve the shortcomings of the prior art and providing a kind of precision calibration side of print label length Method, the method that pumping value or interpolation are carried out using the action of stepper motor when being printed to reality are increased or decreased in print procedure Stepper motor action is to realize that precision is calibrated.
Reaching above-mentioned purpose, the present invention is achieved through the following technical solutions,
A kind of accuracy calibrating method of print label length, includes the following steps:
The length L that step 1, setting printer test print is calculated according to Multi-level microstep number n of the point away from s and stepper motor Control the resultant signal umber of pulse S=n*L/s of motor movement;
Step 2, by the practical tag length printed of printer compared with full-length, calculating difference Δ L;
Signal pulse number N=n* contained by step 3, calculating difference | Δ L |/s, N here is integer;
Step 4 carries out control as follows stepper motor:If difference DELTA L is more than 0, in serial number { J1, J2..., Ji..., JNSignal pulse send out after, stepper motor is failure to actuate;If difference DELTA L is less than 0, in serial number { J1, J2..., Ji..., JNSignal pulse send out after, stepper motor act twice;If difference DELTA L is equal to 0, any letter in print length After punching of feeling the pulse is sent out, stepper motor action is primary;Here Ji=i*S/N, i=1,2,3 ..., N.
Printer is configured step motor control program in printing, that is, controllor for step-by-step motor is arranged, including set The frequency and high-subdividing number of stepper motor are set, i.e., requires setting print point away from and consecutive points set several pulsed quantities according to printing.? The accuracy calibrating method is set under the factory mode state of printer program, subdivision stepping is controlled by step motor control program Motor action.
Further, serial number { J is removed1, J2..., Ji..., JNSignal pulse, within the scope of print length, each arteries and veins Punching control stepper motor action is primary.
Stepper motor is driven by the pulse signal that controllor for step-by-step motor is sent out, and the pulse signal sent out enters step After stepper motor driver, driver is converted into the required heavy current signal of stepper motor, drives stepper motor operating.Stepping electricity Machine controller can accurately control stepper motor and turn over each angle.Under normal print state, a pulse is often sent out Signal, stepper motor action are primary.In the case where not influencing to have practical print length, interpolation is carried out to existing error and is repaiied Positive calibration.
Further, stepper motor is counted by counter controls, pulse signal by counter, and count value is [S/N], [S/N] downward rounding.It is S in resultant signal umber of pulse, wherein needing to be modified operation to N number of pulse of difference.Counter exists Mainly the number of pulse is counted in digital control program, to realize the function of measuring, count and control.Counter with Stepper motor connects, and is controlled the action of stepper motor by count value.
Further, when counter counting reaches [S/N] a pulse, if difference is more than 0, stepper motor is motionless Make;Or difference is less than 0, stepper motor acts twice.
Further, the counter after the technology of completion [S/N] a pulse signal, simultaneously beat again by counter resets Print.It is realized to the equally distributed selection for needing corrected impulse using counter, the accurate rate-determining steps of optimization.
Due to the adoption of the above technical scheme, the present invention compared with prior art, calibrate by the precision of the print label length The printing error for greatly reducing label machine of method, carries out setting printing under the factory mode of printer control program Difference calibration method, control stepper motor is in several specific pulses, real to motor action by the way of interpolation or pumping value When printing is with a label sample, error range can control within 0.5% existing different label machine, substantially reduce mark The label sample printing error of label printer, improves the stability of the printing effect of printer.
Description of the drawings
Fig. 1 is the flow diagram of the accuracy calibrating method of print label length of the present invention.
Specific implementation mode
In order to further describe the present invention, a kind of precision calibration of print label length is expanded on further below in conjunction with the accompanying drawings The specific implementation mode of method, following embodiment is explanation of the invention and application example and the invention is not limited in following Embodiment.
Printer is configured controllor for step-by-step motor program when printing initial, includes the frequency of setting stepper motor And high-subdividing number, i.e., require setting print point away from and consecutive points set several pulsed quantities according to printing.In the factory of printer program The calculation procedure for inputting the accuracy calibrating method under mode state to controllor for step-by-step motor passes through step motor control program control Precision calibration is completed in system subdivision stepper motor action.
A kind of accuracy calibrating method of print label length as shown in Figure 1 comprising step in detail below:
(1) the step of being included in the length L that label machine test printing is set in printer, and to step motor control Print frequency is arranged in device and high-subdividing number passes through stepper motor control according to Multi-level microstep number n of the point of setting away from s and stepper motor Calculation procedure in device processed obtains the resultant signal umber of pulse S=n*L/s of the control motor movement when print length is L.
(2) further include the steps that the calculating difference Δ by the practical tag length printed of printer compared with full-length L.Difference DELTA L is the tag length-full-length actually printed.
(3) further include signal pulse number contained by calculating difference step, the signal pulse number contained by difference is N=n* | Δ L |/s, N here is integer, and N obtains for downward rounding.
(4) further include the steps that specifically being carried out to stepper motor control as follows to step motor control:If difference DELTA L More than 0, then in serial number { J1, J2..., Ji..., JNSignal pulse send out after, stepper motor is failure to actuate;If difference DELTA L Less than 0, then in serial number { J1, J2..., Ji..., JNSignal pulse send out after, stepper motor act twice;If difference Δ L is equal to 0, then after either signal pulse is sent out in print length, and stepper motor action is primary;Here Ji=i* [S/N], I=1,2,3 ..., N;[S/N] is downward rounding.
Except serial number { J1, J2..., Ji..., JNSignal pulse outside, within the scope of print length, each Pulse Width Control Stepper motor action is primary.In the case where not influencing to have practical print length, interpolation or extraction are carried out to existing error The mode of stepper motor action is to correct calibration error.
Stepper motor is counted by counter controls, pulse signal by counter, and count value is [S/N], and [S/N] is downward Rounding.Error need not be corrected when being 0.
When counter counting reaches [S/N] a pulse, if difference is more than 0, stepper motor is failure to actuate;Or it is poor Value is less than 0, and stepper motor acts twice;If difference is equal to 0, stepper motor action is primary, with motor when normal print Make consistent.
Counter after the counting of completion [S/N] a pulse signal, lay equal stress on New count by counter resets.Until completing N number of Count period completion printing.
This method is the action that a signal pulse changes a stepper motor per [S/N], i.e., after the pulse signal is sent out A motor action is increased or decreased, the error amount of 1/n point is corrected, reality will not be caused in the case of being calibrated to error correction The over-correction of print length.
Embodiment one
According to step, the length that test printing is arranged under the factory mode of printer is 200mm, the stepping to printer The print point of electric machine controller setting stepper motor is 4 away from the Multi-level microstep number for 0.125mm and stepper motor, therefore is being printed Length needs the stepper motor of printer to act 200*4/0.125=6400 times when being the label of 200mm, that is, needs to send out when printing The resultant signal umber of pulse of the control motor movement gone out is 6400.
When actually printing, the physical length that printer prints is 195mm, the full-length with the length of setting The difference of 200mm is -5mm.Include 160 pulses, the as difference of amendment -5mm in the difference of -5mm, needs to change total arteries and veins Rush 160 pulses in number 6400.Error is corrected to avoid concentrating, will be to correct unit to be adjusted with pulse.Then to step Stepper motor carries out control as follows:Since difference -5mm is less than 0, need to plug in the stepper motor action under several Pulse Width Controls Value adjustment, due to [6400/160]=40,40 as integer, therefore in the pulse signal sample to be generally 6400, After the pulse signal of serial number { 40,80,120 ..., 40*i ..., 40*160 } is sent out, stepper motor acts twice;And remove serial number Outside signal pulse for { 40,80,120 ..., 40*i ..., 40*160 }, within the scope of print length, each Pulse Width Control step Stepper motor action is primary.Specific to carry out tally control using counter, count value 40, that is, counter resets are clear after reaching 40 Zero, it counts again;When counter counting reaches the 40th pulse, stepper motor acts twice.Then counter resets are laid equal stress on Newly from the beginning count.Printing continues, until setting length is completed in printing.
In this embodiment, every 40 pulses, subdivision stepper motor increase an action, that is, increase the difference of 1/4 point.
Embodiment two
According to step, the length that test printing is arranged under the factory mode of printer is 100mm, the stepping to printer The print point of electric machine controller setting stepper motor is 8 away from the Multi-level microstep number for 0.05mm and stepper motor, therefore is being printed Length needs the stepper motor of printer to act 100*8/0.05=16000 times when being the label of 100mm, that is, needs to send out when printing The resultant signal umber of pulse of the control motor movement gone out is 16000.
When actually printing, the physical length that printer prints is 103mm, the full-length with the length of setting The difference of 100mm is 3mm.Include 480 pulses in the difference of 3mm, as correct the difference of 3mm, needs to change overall pulse 480 pulses in number 16000.Error is corrected to avoid concentrating, will be to correct unit to be adjusted with pulse.Then to stepping Motor carries out control as follows:Since difference 3mm is more than 0, need to carry out pumping value to the stepper motor action under several Pulse Width Controls Adjustment is obtained due to [16000/480]=33,33 for downward rounding, therefore to be generally 16000 pulse signal sample In, after the pulse signal of serial number { 33,66,99 ..., 33*i ..., 33*480 } is sent out, stepper motor acts twice;And it removes Outside the signal pulse of serial number { 33,66,99 ..., 33*i ..., 33*480 }, within the scope of print length, each pulse control Stepper motor action processed is primary.It is specific to carry out tally control, count value 33, that is, counter resets after reaching 33 using counter It resets, counts again;When counter counting reaches the 33rd pulse, stepper motor is failure to actuate.Then counter resets are laid equal stress on Newly from the beginning count.Printing continues, until setting length is completed in printing.
In this embodiment, every 33 pulses, subdivision stepper motor increase an action, that is, increase the difference of 1/8 point.
Embodiment three
According to step, the length that test printing is arranged under the factory mode of printer is 50mm, the stepping to printer The print point of electric machine controller setting stepper motor is 2 away from the Multi-level microstep number for 0.1mm and stepper motor, therefore is grown in printing Degree needs the stepper motor of printer to act 50*2/0.1=1000 times when being the label of 50mm, that is, the control sent out is needed when printing The resultant signal umber of pulse of motor movement processed is 1000.
When actually printing, the physical length that printer prints is 50mm, the full-length 500mm with the length of setting Difference be 0.Include 0 pulse in difference, as correct 0 difference, needs to change 0 arteries and veins in overall pulse number 1000 Punching.Stepper motor is carried out control as follows:Since difference is 0, after either signal pulse is sent out in print length, stepper motor Action is primary.Until setting length is completed in printing.
The accuracy calibrating method of the print label length of the present invention is to input the error of the physical length of single printer In error correction routine under to the printer factory mode, i.e., error correction values is set in printer initial setting up, adopted With interpolation or the mode of pumping value, error process will be corrected and be dispersed in each print pulse section, program control is controlled by motor Motor is segmented in modified action.
Obviously, the above embodiment of the invention be only to clearly illustrate example of the present invention, and not be Restriction to embodiments of the present invention.For those of ordinary skill in the art, on the basis of the above description also It can make other variations or changes in different ways.Here all embodiments can not be exhaustive.It is every to belong to this Row of the obvious changes or variations that the technical solution of invention is extended out still in protection scope of the present invention.

Claims (5)

1. a kind of accuracy calibrating method of print label length, it is characterised in that include the following steps:
(1) the length L that setting printer test prints calculates control motor according to Multi-level microstep number n of the point away from s and stepper motor Mobile resultant signal umber of pulse S=n*L/s;
(2) by the practical tag length printed of printer compared with full-length, calculating difference Δ L;
(3) the signal pulse number N=n* contained by calculating difference | Δ L |/s, N here is integer, and N obtains for downward rounding;
(4) stepper motor is carried out control as follows:If difference DELTA L is more than 0, in serial number { J1, J2..., Ji..., JN? After signal pulse is sent out, stepper motor is failure to actuate;If difference DELTA L is less than 0, in serial number { J1, J2..., Ji..., JN? After signal pulse is sent out, stepper motor acts twice;If difference DELTA L is equal to 0, the either signal pulse hair in print length After going out, stepper motor action is primary;Here Ji=i* [S/N], i=1,2,3 ..., N;[S/N] is downward rounding.
2. the accuracy calibrating method of print label length according to claim 1, which is characterized in that remove serial number { J1, J2..., Ji..., JNSignal pulse outside, within the scope of print length, the action of each Pulse Width Control stepper motor is primary.
3. the accuracy calibrating method of print label length according to claim 1, which is characterized in that when difference DELTA L is not 0 When, stepper motor is counted by counter controls, pulse signal by counter, and count value is [S/N], [S/N] downward rounding.
4. the accuracy calibrating method of print label length according to claim 3, which is characterized in that reached in counter counting To when [S/N] a pulse, if difference is more than 0, stepper motor is failure to actuate;Or difference is less than 0, stepper motor action two It is secondary.
5. the accuracy calibrating method of print label length according to claim 4, which is characterized in that the counter is complete After counting at [S/N] a pulse signal, counter resets are laid equal stress on New count.
CN201710231697.7A 2017-04-11 2017-04-11 A kind of accuracy calibrating method of print label length Active CN106956520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710231697.7A CN106956520B (en) 2017-04-11 2017-04-11 A kind of accuracy calibrating method of print label length

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710231697.7A CN106956520B (en) 2017-04-11 2017-04-11 A kind of accuracy calibrating method of print label length

Publications (2)

Publication Number Publication Date
CN106956520A CN106956520A (en) 2017-07-18
CN106956520B true CN106956520B (en) 2018-11-06

Family

ID=59484135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710231697.7A Active CN106956520B (en) 2017-04-11 2017-04-11 A kind of accuracy calibrating method of print label length

Country Status (1)

Country Link
CN (1) CN106956520B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110154558B (en) * 2019-06-04 2020-11-10 深圳市汉森软件有限公司 Printing precision correction method, system, device and storage medium
CN115214245B (en) * 2021-04-21 2023-07-25 佛山希望数码印刷设备有限公司 Method and system for performing ink-jet printing by mechanical arm through PLC
WO2022226960A1 (en) * 2021-04-30 2022-11-03 深圳市博思得科技发展有限公司 Paper feeding precision calibration method and calibration system
CN113386475B (en) * 2021-04-30 2022-10-11 深圳市博思得科技发展有限公司 Paper feeding precision calibration method and calibration system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6135980A (en) * 1984-07-30 1986-02-20 Tokyo Electric Co Ltd Paper feed control apparatus of dot printer
JPH0720712B2 (en) * 1985-01-23 1995-03-08 株式会社テック Label printer
JPS62119068A (en) * 1985-11-20 1987-05-30 Fujitsu Ltd printer paper feeder
JPH0867038A (en) * 1994-08-31 1996-03-12 Arutetsuku Kk Roll paper type recording device
KR100449749B1 (en) * 2003-02-15 2004-09-22 삼성전자주식회사 Calibrating method of paper feeding of inkjet printer
CN102463752B (en) * 2010-10-29 2014-05-07 北大方正集团有限公司 Method and device for controlling jet printing position
CN102806782B (en) * 2011-05-31 2015-07-22 精工爱普生株式会社 Tape cutting apparatus, tape printing apparatus having the same, and method of controlling stepping motor
CN103963092B (en) * 2014-04-30 2015-11-25 深圳市阿尔法变频技术有限公司 A kind of paper cutter accuracy calibrating method
CN104199466A (en) * 2014-06-26 2014-12-10 拓卡奔马机电科技有限公司 Control method and system for closed-loop stepping motor of sewing machine
CN205311097U (en) * 2016-01-21 2016-06-15 东莞职业技术学院 Serial number label printer
CN205453452U (en) * 2016-03-22 2016-08-10 佛山市南海区欧谱曼迪科技有限责任公司 A System for Eliminating Accumulated Errors of Stepping Motors

Also Published As

Publication number Publication date
CN106956520A (en) 2017-07-18

Similar Documents

Publication Publication Date Title
CN106956520B (en) A kind of accuracy calibrating method of print label length
EP2043250B1 (en) Simulated encoder pulse output system and method
CN110635737B (en) Motor driving device
EP0559464B1 (en) A closed-loop method and apparatus for controlling acceleration and velocity of a stepper motor
CN103916064A (en) Method and device for measuring stator resistance and temperature detection method and device
CN106953579B (en) A kind of voice coil motor position motion control method
CN105492872A (en) Method for dynamic linearisation of sensor signals from a magnetic strip length measuring system
CN103874335A (en) Circuit board etching line width control method
EP2023092A2 (en) Position measuring device and method for transmitting movement information
KR101031770B1 (en) Encoder compensator and encoder calibration method
US9923573B2 (en) Method and device for reading a serial data stream
CN115320106B (en) Method for calibrating size of 3D printer
CN115476603B (en) Calibration method, device, equipment and medium for bidirectional printing pixel floating point data
CN104553375B (en) Printing control method, device and system
EP2960062A1 (en) Method for calibrating accurate paper steps
CN113386475B (en) Paper feeding precision calibration method and calibration system
CN102411309B (en) Micro-deviation area self-correction fuzzy control method
CN106887990B (en) A kind of voice coil motor position motion control device
CN203838076U (en) Printing detection system
CN112265377B (en) Printing signal correction method, device, equipment and storage medium
JP2005297253A (en) Image forming apparatus
CN101185236A (en) Method and device for controlling linear motor
CN114465527A (en) Motor synchronous drive method and system
CN102955473B (en) Device and method for adjusting calibration of digitalized instrument
KR20010049445A (en) A method of controlling the correction of the deviations of printed dots and a printer using the same method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170718

Assignee: Feima (Jiangsu) Intelligent Technology Co.,Ltd.

Assignor: SHANGHAI VARICUT ELECTRONIC MATERIAL Co.,Ltd.

Contract record no.: X2020990000597

Denomination of invention: A precision calibration method of printing label length

Granted publication date: 20181106

License type: Common License

Record date: 20201117

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220301

Address after: 215400 No. 77, Weihai Road, Taicang City, Suzhou City, Jiangsu Province

Patentee after: Feima (Jiangsu) Intelligent Technology Co.,Ltd.

Patentee after: Shanghai weikan Electronic Material Co., Ltd

Address before: 201801 no.655, Fengmao Road, Madong Industrial Park, Malu Town, Jiading District, Shanghai

Patentee before: SHANGHAI VARICUT ELECTRONIC MATERIAL CO.,LTD.