WO2022226960A1 - 一种走纸精度校准方法及校准系统 - Google Patents

一种走纸精度校准方法及校准系统 Download PDF

Info

Publication number
WO2022226960A1
WO2022226960A1 PCT/CN2021/091302 CN2021091302W WO2022226960A1 WO 2022226960 A1 WO2022226960 A1 WO 2022226960A1 CN 2021091302 W CN2021091302 W CN 2021091302W WO 2022226960 A1 WO2022226960 A1 WO 2022226960A1
Authority
WO
WIPO (PCT)
Prior art keywords
paper
calibration
compensation
micro
control unit
Prior art date
Application number
PCT/CN2021/091302
Other languages
English (en)
French (fr)
Inventor
吕高仁
Original Assignee
深圳市博思得科技发展有限公司
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 深圳市博思得科技发展有限公司 filed Critical 深圳市博思得科技发展有限公司
Priority to PCT/CN2021/091302 priority Critical patent/WO2022226960A1/zh
Publication of WO2022226960A1 publication Critical patent/WO2022226960A1/zh

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
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • 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
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • 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
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/11Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems

Definitions

  • the invention relates to the technical field of printing, in particular to a paper feeding accuracy calibration method and a calibration system.
  • the rubber roller friction feeding method is used in many fields, especially in the printing field. Almost all printers except the dot matrix printer use the rubber roller friction method to feed the paper.
  • the dimensional accuracy of the outer diameter of the rubber roller directly affects the feeding accuracy. For example, when the outer diameter of the rubber roller is too large, the paper will be fed too fast and the printed content will be elongated.
  • the rubber roller is compressed during the paper feeding process. If the hardness of the rubber roller does not meet the requirements, the outer diameter of the rubber roller is very easy to change, which will eventually affect the feeding accuracy.
  • the thickness of the paper also affects the paper feeding distance.
  • the paper feeding distance of thick paper and thin paper is also different.
  • the frictional resistance on the paper feed path also affects the paper feed distance.
  • the thermal print head presses the paper against the rubber roller.
  • the friction between the paper and the surface of the thermal print head will affect the feeding distance.
  • the larger the friction coefficient of the paper surface the greater the frictional resistance. In severe cases, the printed content can be seen to be squashed.
  • the outer diameter of the rubber roller will only change significantly after tens of thousands of meters of printing volume; the aging of the rubber roller will take many years to occur; the thickness of the same paper is unchanged; the same paper, the surface The coefficient of friction is also fixed. Therefore, for the paper feeding error in the above cases, the purpose of improving the paper feeding accuracy can be achieved by calibrating and compensating the paper feeding distance.
  • the technical problem to be solved by the present invention is to provide a paper feeding accuracy calibration method and calibration system, which are used to effectively improve the printing quality of the printer.
  • the technical solution adopted in the invention is to provide a method for calibrating the accuracy of paper feeding. It is further subdivided into a plurality of micro-step steps, and the calibration method corrects the paper travel distance by correcting the number of micro-step steps included in the full-step step.
  • each full step can be compensated, and the print content data is divided according to each full step, which can ensure the uniformity of the printed content and effectively avoid local stretching or compression. conditions, thereby ensuring superior print quality.
  • the paper feeding accuracy of the printer can also be restored through the above technical solution.
  • the calibration method includes the following steps:
  • the compensation analysis can obtain the full-step stepping of the stepping motor.
  • the stepping motor is controlled by a printing control unit; the calibration method includes the following steps:
  • the actual moving distance of the paper is measured to obtain the measured paper travel distance H.
  • the calibration method includes the following steps:
  • the calibration includes the following steps:
  • the detected paper travel distance H detection is calculated according to the number of steps of the full-step operation of the stepper motor when the paper paper travel distance is the calibrated paper travel distance H.
  • the paper moves in a paper feeding channel, a paper detector is arranged in the paper feeding channel, and the stepping motor is controlled by a printing signal connected to the paper detector.
  • Unit control; the calibration method includes the following steps:
  • the printing control unit records the number of steps of the whole step of the stepper motor during the time that the paper detector detects the two adjacent positioning points successively, and calculates the number of steps of the stepper motor according to the paper detector.
  • the detected paper travel distance H detection is calculated from the number of steps in a full step of the stepper motor operation during the time that the two adjacent positioning points are detected successively.
  • the stepping motor is controlled by a printing control unit, and the calibration method includes the following steps:
  • the stepper motor stops according to the time that the paper detector detects the two adjacent positioning points successively, the number of steps in the whole step of the stepper motor operation is calculated. Detected paper travel distance H detection .
  • the present invention also provides a paper feeding accuracy calibration system
  • the calibration system includes a rubber roller, a stepper motor for driving the rubber roller, and a printing control unit for controlling the stepper motor, and the stepper motor
  • One full-step of the step is subdivided into a plurality of micro-steps, and the printing control unit is configured to correct the paper-feeding distance by correcting the number of micro-steps included in the full-step.
  • the calibration method corrects the paper travel distance by correcting the number of micro-step steps included in the full-step step.
  • each full step can be compensated, and the print content data is divided according to each full step, which can ensure the uniformity of the printed content and effectively avoid local stretching or compression. conditions, thereby ensuring superior print quality.
  • the paper feeding accuracy of the printer can also be restored through the above technical solution.
  • Fig. 1 is the step flow chart of the calibration method provided by Embodiment 1;
  • Fig. 2 is the step flow chart of the calibration method provided by Embodiment 2;
  • FIG. 3 is a schematic structural diagram (1) of the calibration system provided by the fourth embodiment
  • FIG. 4 is a schematic structural diagram (2) of the calibration system provided by the fourth embodiment.
  • FIG. 5 is a block schematic diagram of the calibration system provided in the fourth embodiment.
  • 1/256 microstep subdivision is adopted, that is to say, the full step of the stepper motor is subdivided into 256 microstep steps, which means that the step accuracy of the stepper motor can reach the full step. 1/256, or 0.39%.
  • 1/256 microstep subdivision taking the paper feed resolution of 300dpi as an example, the distance of one full step is 84.67um, then the distance of one microstep is 1/256 of 84.67um.
  • the core idea of the present invention is to solve the problem of inaccurate paper feeding by changing the number of micro-steps used for one full-step paper feeding.
  • the actual paper feeding distance of the paper is compared with the theoretically calculated paper feeding distance.
  • Calculate the relative error ie, the error rate
  • calculate the number of micro-steps required for calibration according to the relative error so as to correct the number of micro-step steps included in the full-step step, so as to improve the printing accuracy and quality.
  • This embodiment provides a method for calibrating the accuracy of paper feeding.
  • the calibration method is suitable for a process in which a stepper motor drives a rubber roller to move the paper.
  • One full step of the stepper motor is subdivided into a plurality of microsteps. Enter.
  • the calibration method corrects the paper travel distance by correcting the number of micro-step steps included in the full-step step.
  • the stepping motor is controlled by a printing control unit, and a stepping motor control module is embedded in the printing control unit, and the stepping motor control module can control the whole step of the stepping motor connected to it. The number of steps included in the microstepping can be adjusted.
  • FIG. 1 is a flowchart of the steps of the calibration method provided in this embodiment. As shown in FIG. 1, the calibration method includes the following steps:
  • Step S1 input the theoretical paper travel distance H theory to the printing control unit, and the printing control unit calculates the corresponding theoretical number of steps according to the theoretical paper travel distance H theory , and drives the stepping motor to run the Theoretical number of steps to move the paper a certain distance; it should be understood that due to the production error of the outer diameter of the rubber roller, the wear or aging of the rubber roller, the existence of changes in the thickness of the paper itself and the coefficient of friction, when the stepper motor runs When the theoretical number of steps is stated, the distance actually driven to move the paper will not be the same as the theoretical paper travel distance H theory ;
  • Step S2 after the stepper motor stops, measure the actual moving distance of the paper to obtain the actual measured paper travel distance H;
  • the error rate E′ after compensation in this way is less than or equal to 1/(2M). Taking 1/256 microstep subdivision as an example, the stepping accuracy of the stepping motor is 0.39%. After calibration compensation, the error rate E' can reach 0.195%.
  • This embodiment provides a method for calibrating the accuracy of paper feeding.
  • the calibration method is suitable for a process in which a stepper motor drives a rubber roller to move the paper.
  • One full step of the stepper motor is subdivided into a plurality of microsteps. Enter.
  • the calibration method corrects the paper travel distance by correcting the number of micro-step steps included in the full-step step.
  • the stepping motor is controlled by a printing control unit, and a stepping motor control module is embedded in the printing control unit, and the stepping motor control module can control the whole step of the stepping motor connected to it.
  • the number of steps involved in micro-stepping is adjusted; the paper driven by the rubber roller has positioning points, which can be label gaps, perforations, black marks, etc., between two adjacent positioning points.
  • the distance is the calibrated paper feeding distance H; the paper moves in the paper feeding channel, and a paper detector is arranged in the paper feeding channel; the printing control unit is signally connected to the paper detector;
  • FIG. 2 is a flowchart of steps of the calibration method provided in this embodiment. As shown in FIG. 2, the calibration method includes the following steps:
  • Step S1 the printing control unit calculates the detected paper feeding distance H detection according to the number of steps of the full step of the stepper motor operation when the paper feeding distance is the distance between two adjacent positioning points;
  • the printing control unit drives the stepping motor to rotate, so that the rubber roller drives the paper to move; during the movement of the paper, the paper detector can detect the movement of the paper on the paper. the positioning point; the printing control unit will record the number of steps of the whole step of the stepper motor running during the time that the paper detector detects the two adjacent positioning points successively, and according to the The paper detector successively detects the number of steps of the full-step operation of the stepper motor within the time that the two adjacent positioning points have elapsed, and calculates the detected paper travel distance H detection ; it is understandable that Yes, when the actual paper travel distance of the paper is the distance between the two adjacent positioning points, the paper travel distance theoretically calculated by the printing control unit is the detected paper travel distance H detection .
  • the detection of the paper travel distance H of the detection is not the same as the calibration of the paper travel distance H calibration . ;
  • This embodiment provides a method for calibrating the paper feeding accuracy.
  • the calibration method in this embodiment is similar to that in the second embodiment, except that the following step S1' is used to replace the step S1 in the second embodiment.
  • Step S1 ′ the calibrated paper feeding distance H is input to the printing control unit through the touch screen signally connected to the printing control unit, and the printing control unit drives the stepping motor to run to drive the rubber roller
  • the paper moves a certain distance, and the distance of the paper movement must ensure that the paper detector can detect the two adjacent positioning points successively.
  • the paper detector successively detects the number of steps of the whole step of the stepper motor running in the time that the two adjacent positioning points have elapsed, and calculates the detected paper travel distance H detection .
  • FIG. 3 is a schematic structural diagram (1) of the calibration system provided in this embodiment
  • FIG. 4 is a schematic structural diagram (2) of the calibration system provided in this embodiment, as shown in FIGS. 3 and 4
  • the calibration system includes a rubber roller 1, a stepper motor 2 for driving the rubber roller 1, a printing control unit 3 for controlling the stepper motor 2, a touch screen 4 for the user to input instructions, and a Paper detector 5 for detecting paper.
  • the stepping motor 2 is connected to the rubber roller 1 through a transmission device 6, which can be seen in FIG. 4, and the transmission device 6 is composed of a synchronous wheel and a synchronous belt.
  • FIG. 5 FIG.
  • FIG. 5 is a block schematic diagram of the calibration system provided in this embodiment.
  • the printing control unit 3 is respectively connected with the stepping motor 2, the touch screen 4 and the paper detection Device 3 is electrically connected.
  • a full step of the stepping motor is subdivided into a plurality of micro-steps.
  • the printing control unit 3 is embedded with a stepping motor control module 31, and the stepping motor control module 31 can be connected to it.
  • the number of micro-step steps included in the full-step step of the stepping motor 2 can be adjusted.
  • the printing control unit 3 is configured to correct the paper travel distance by correcting the number of micro-step steps included in the full-step step.
  • the printing control unit 3 is configured to analyze and obtain the calibration compensation micro-step number M compensation according to the current value M current of the number of micro-step steps included in the full-step step of the stepping motor and the error rate E.
  • M compensation ROUND (M current ⁇ E), and ROUND is a rounding operation; the printing control unit 3 is used to obtain the result obtained by compensation analysis according to the current value M current and the calibration compensation microstep number M
  • This embodiment provides a paper feeding accuracy calibration system, which is different from the fourth embodiment in that: the paper has positioning points, and the positioning points may be label gaps, perforations, black marks, etc.
  • the step number M compensation analysis obtains the correction value M correction of the number of micro-step steps included in the full step of the stepping motor, wherein M correction
  • This embodiment provides a paper feeding accuracy calibration system, which is different from Embodiment 5 in that when a user inputs the calibrated paper feeding distance H calibration to the printing control unit through a touch screen signally connected to the printing control unit unit, the printing control unit is used to drive the stepping motor to run to drive the paper to move a certain distance through the rubber roller, and the distance of the paper movement should ensure that the paper detector can detect two adjacent positions in succession. After the stepping motor stops, the printing control unit is further configured to execute the stepping according to the time that the paper detector has successively detected the two adjacent positioning points in this process. The number of steps in the whole step of the motor operation is used to calculate the detected paper travel distance H detection .

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Operations Research (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Handling Of Sheets (AREA)

Abstract

一种走纸精度校准方法及校准系统。所述校准方法通过修正所述整步步进所包含的微步步进的步数来对走纸距离进行校正。通过采用上述技术方案,可对每一整步步进进行补偿,而打印内容数据都是按照每一整步步进进行分割的,如此可以保证打印内容的均匀一致,有效避免局部拉长或压缩的情况,从而保证打印质量优越。总而言之,通过采用上述技术方案,不仅能够对胶辊外径误差造成的走纸精度问题进行校准补偿,降低打印机的制造难度;同时还可以对磨损或老化的胶辊进行校准,从而延长胶辊的使用寿命。另外,对于因为纸张本身厚度、摩擦系数变化而导致的走纸精度问题,也可以通过上述技术方案恢复打印机的走纸精度。

Description

一种走纸精度校准方法及校准系统 技术领域
本发明涉及打印技术领域,具体涉及一种走纸精度校准方法及校准系统。
背景技术
胶辊摩擦进纸方式在很多领域都有应用,尤其是打印领域,除针式打印机外几乎所有打印机都采用胶辊摩擦方式进纸。对于胶辊摩擦方式进纸,胶辊外径的尺寸精度直接影响进纸精度,例如,当胶辊外径过大时,会使得走纸过快,导致打印内容被拉长。另外,要知道的是,胶辊在进纸过程中是被压缩的,若胶辊的硬度达不到要求,胶辊的外径极容易发生变化,最终对进纸精度产生影响。因此,要保证进纸精度,对胶辊的生产提出了很高的要求,要保证胶辊的外径和硬度的一致性。其次,随着使用时间的增加,胶辊会产生不可避免的磨损,使得胶辊磨损外径变小,导致打印内容被压缩。所以胶辊的磨损达到一定程度时,必须更换新胶辊。
胶辊因素之外,纸张厚度对进纸距离也有影响,同一台打印机,在步进马达转动步数相同的情况下,厚纸和薄纸走纸距离也是不一样的。
再次,进纸通道上的摩擦阻力也会影响进纸距离。比如,在热敏打印模式下,热敏打印头将纸张压紧在胶辊上。胶辊带动纸张前进时,纸张与热敏打印头表面的摩擦力会影响进纸距离。纸张表面摩擦系数越大,摩擦阻力越大,严重的情况下,能够看到打印内容被压扁。
总而言之,对于一台打印机而言,在其生产时、在使用一段时间后、或在更换不同纸张后,都有可能发生走纸精度出现偏差的情况。
而申请人分析发现,以上几种情况存在共同的特点,就是导致其产生走纸误差的因素是相对稳定的。比如,胶辊外径要经过几万米的打印量才会发生明显变化;胶辊老化也是要很多年的时间才会发生;同一种纸张,其厚度是不变的;同一种纸张,其表面摩擦系数也是固定不变的。所以,对于以上情况下的走纸误差,通过走纸距离校准补偿可以达到提高走纸精度的目的。
技术问题
本发明所要解决的技术问题是提供一种走纸精度校准方法及校准系统,用以有效的提高打印机的打印质量。
技术解决方案
为解决上述技术问题,发明所采用的技术方案是提供一种走纸精度校准方法,所述校准方法适用于步进马达驱动胶辊进行走纸的过程,所述步进马达的一个整步步进细分为多个微步步进,所述校准方法通过修正所述整步步进所包含的微步步进的步数来对走纸距离进行校正。
通过采用上述技术方案,可对每一整步步进进行补偿,而打印内容数据都是按照每一整步步进进行分割的,如此可以保证打印内容的均匀一致,有效避免局部拉长或压缩的情况,从而保证打印质量优越。总而言之,通过采用上述技术方案,不仅能够对胶辊外径误差造成的走纸精度问题进行校准补偿,降低打印机的制造难度;同时还可以对磨损或老化的胶辊进行校准,从而延长胶辊的使用寿命。另外,对于因为纸张本身厚度、摩擦系数变化而导致的走纸精度问题,也可以通过上述技术方案恢复打印机的走纸精度。
本发明提供的走纸精度校准方法中,所述校准方法包括如下步骤:
依据理论的走纸距离H 理论和实测的走纸距离H 实测分析得出误差率E,其中,E=(H 理论-H 实测)/H 理论
依据所述步进马达的整步步进所包含的微步步进的步数的当前值M 当前和所述误差率E分析得出校准补偿微步数M 补偿,其中,M 补偿=ROUND (M 当前×E),ROUND为四舍五入取整运算;
依据所述步进马达的整步步进所包含的微步步进的步数的当前值M 当前和所述校准补偿微步数M 补偿分析得出所述步进马达的整步步进所包含的微步步进的步数的修正值M 修正,其中,M 修正=M 当前+ M 补偿
本发明提供的走纸精度校准方法中,所述步进马达由打印控制单元控制;所述校准方法包括如下步骤:
将所述理论的走纸距离H 理论输入到打印控制单元,所述打印控制单元依据所述理论的走纸距离H 理论计算出相应的理论步数,并驱动所述步进马达运转所述理论步数,以使纸张移动一段距离;
待所述步进马达停止后,测量所述纸张实际移动的距离,以得到所述实测的走纸距离H 实测
本发明提供的走纸精度校准方法中,所述校准方法包括如下步骤:
依据标定的走纸距离H 标定和探测的走纸距离H 探测分析得出误差率E,其中,E=(H 探测-H 标定)/ H 标定
依据所述当前值M 当前和所述误差率E分析得出校准补偿微步数M 补偿,其中,M 补偿=ROUND (M 当前×E),ROUND为四舍五入取整运算;
依据所述当前值M 当前和所述校准补偿微步数M 补偿分析得出所述整步步进所包含的微步步进的步数的修正值M 修正,其中,M 修正=M 当前+ M 补偿
本发明提供的走纸精度校准方法中,由所述胶辊带动的纸张上具有定位点,邻近的两个所述定位点之间的距离为所述标定的走纸距离H 标定;所述校准方法包括如下步骤:
依据纸张走纸距离为所述标定的走纸距离H 标定时所述步进电机运转的整步步进的步数计算出所述探测的走纸距离H 探测
本发明提供的走纸精度校准方法中,所述纸张在走纸通道内移动,所述走纸通道内设置有纸张探测器,所述步进马达由与所述纸张探测器信号连接的打印控制单元控制;所述校准方法包括如下步骤:
所述打印控制单元记录所述纸张探测器先后探测到相邻的两个所述定位点所历经的时间内所述步进电机运转的整步步进的步数,并依据所述纸张探测器先后探测到相邻的两个所述定位点所历经的时间内所述步进电机运转的整步步进的步数计算出所述探测的走纸距离H 探测
本发明提供的走纸精度校准方法中,所述步进马达由打印控制单元控制,所述校准方法包括如下步骤:
将所述标定的走纸距离H 标定输入到打印控制单元,所述打印控制单元驱动步进马达运转以通过所述胶辊带动纸张移动一定距离,以使所述纸张探测器先后探测到相邻的两个所述定位点;
待所述步进马达停止后,依据所述纸张探测器先后探测到相邻的两个所述定位点所历经的时间内所述步进电机运转的整步步进的步数计算出所述探测的走纸距离H 探测
相应的,本发明还提供了一种走纸精度校准系统,所述校准系统包括胶辊、驱动所述胶辊的步进马达、控制所述步进马达的打印控制单元,所述步进马达的一个整步步进细分为多个微步步进,所述打印控制单元用于通过修正所述整步步进所包含的微步步进的步数来对走纸距离进行校正。
本发明提供的走纸精度校准系统中,所述打印控制单元用于依据理论的走纸距离H 理论和实测的走纸距离H 实测分析得出误差率E,其中,E=(H 理论-H 实测)/H 理论
所述打印控制单元用于依据所述步进马达的整步步进所包含的微步步进的步数的当前值M 当前和所述误差率E分析得出校准补偿微步数M 补偿,其中,M 补偿=ROUND (M 当前×E),ROUND为四舍五入取整运算;
所述打印控制单元用于依据所述当前值M 当前和所述校准补偿微步数M 补偿分析得出所述步进马达的整步步进所包含的微步步进的步数的修正值M 修正,其中,M 修正=M 当前+ M 补偿
本发明提供的走纸精度校准系统中,所述打印控制单元用于依据标定的走纸距离H 标定和探测的走纸距离H 探测分析得出误差率E,其中,E=(H 探测-H 标定)/ H 标定
所述打印控制单元用于依据所述步进马达的整步步进所包含的微步步进的步数的当前值M 当前和所述误差率E分析得出校准补偿微步数M 补偿,其中,M 补偿=ROUND (M 当前×E),ROUND为四舍五入取整运算;
所述打印控制单元用于依据所述当前值M 当前和所述校准补偿微步数M 补偿分析得出所述步进马达的整步步进所包含的微步步进的步数的修正值M 修正,其中,M 修正=M 当前+ M 补偿
有益效果
实施本发明至少可以达到以下有益效果:所述校准方法通过修正所述整步步进所包含的微步步进的步数来对走纸距离进行校正。通过采用上述技术方案,可对每一整步步进进行补偿,而打印内容数据都是按照每一整步步进进行分割的,如此可以保证打印内容的均匀一致,有效避免局部拉长或压缩的情况,从而保证打印质量优越。总而言之,通过采用上述技术方案,不仅能够对胶辊外径误差造成的走纸精度问题进行校准补偿,降低打印机的制造难度;同时还可以对磨损或老化的胶辊进行校准,从而延长胶辊的使用寿命。另外,对于因为纸张本身厚度、摩擦系数变化而导致的走纸精度问题,也可以通过上述技术方案恢复打印机的走纸精度。
附图说明
为了更清楚地说明发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图:
图1为实施例一提供的校准方法的步骤流程图;
图2为实施例二提供的校准方法的步骤流程图;
图3为实施例四提供的校准系统的结构示意图(一);
图4为实施例四提供的校准系统的结构示意图(二);
图5为实施例四提供的校准系统的方框原理图。
具体实施方式中的附图标号说明:
胶辊  1    
步进马达       2
打印控制单元    3    
触摸屏    4
纸张探测器  5    
传动装置       6
步进马达控制模块  31        
本发明的实施方式
本领域技人员应当知晓的是,目前市场上已经有1/4、1/8、1/16、1/32、1/64、1/128、 1/256等微步细分控制器,如果采用1/256微步细分,也就是说,将步进马达的整步步进细分为256个微步步进,这就意味着步进马达的步进精度可以达到整步步进的1/256,即0.39%。在1/256微步细分情况下,以走纸分辨率300dpi为例,一个整步步进的距离为84.67um,那么,一个微步步进的距离则为84.67 um的256分之一。本发明的核心思想是通过改变走纸一个整步步进所用的微步步数来解决走纸不准的问题,具体是将纸张的实际走纸距离与理论计算得到的走纸距离进行比较计算出相对误差(即误差率),再根据相对误差计算出校准所需补偿的微步步数,从而对整步步进所包含的微步步进的步数进行修正,以提高打印精度及质量。
为了便于理解发明,下面将参照相关附图对发明进行更全面的描述。附图中给出了发明的典型实施例。但是,发明可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对发明的公开内容更加透彻全面。
除非另有定义,本文所使用的所有的技术和科学术语与属于发明的技术领域的技术人员通常理解的含义相同。本文中在发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制发明。
实施例一
本实施例提供了一种走纸精度校准方法,所述校准方法适用于步进马达驱动胶辊进行走纸的过程,所述步进马达的一个整步步进细分为多个微步步进。所述校准方法通过修正所述整步步进所包含的微步步进的步数来对走纸距离进行校正。在这里,所述步进马达由打印控制单元控制,所述打印控制单元上嵌有步进马达控制模块,所述步进马达控制模块可以对与之连接的步进马达的整步步进所包含的微步步进的步数进行调节。
具体而言,参见图1,图1为本实施例提供的校准方法的步骤流程图,如图1所示,所述校准方法包括如下步骤:
步骤S1,将理论的走纸距离H 理论输入到打印控制单元,所述打印控制单元依据所述理论的走纸距离H 理论计算出相应的理论步数,并驱动所述步进马达运转所述理论步数,以使纸张移动一段距离;应当理解的是,由于胶辊外径的生产误差、胶辊的磨损或老化、纸张本身厚度及摩擦系数变化的存在,当所述步进马达运转所述理论步数时实际带动所述纸张移动的距离并不会与所述理论的走纸距离H 理论相同;
步骤S2,待所述步进马达停止后,测量所述纸张实际移动的距离,以得到所述实测的走纸距离H 实测
步骤S3,所述打印控制单元依据所述理论的走纸距离H 理论和所述实测的走纸距离H 实测分析得出误差率E,其中,E=(H 理论-H 实测)/H 理论
步骤S4,所述打印控制单元依据所述步进马达的整步步进所包含的微步步进的步数的当前值M 当前和所述误差率E分析得出校准补偿微步数M 补偿,其中,所述当前值M 当前即一个整步步进当前所包含的微步步进的步数,M 补偿=ROUND (M 当前×E),ROUND为四舍五入取整运算;
步骤S5,所述打印控制单元依据所述当前值M 当前和所述校准补偿微步数M 补偿分析得出所述步进马达的整步步进所包含的微步步进的步数的修正值M 修正,其中,M 修正=M 当前+ M 补偿;如此,所述打印控制单元依据修正值M 修正对所述步进马达的整步步进进行细分,即将所述步进马达的整步步进细分为M 修正个微步步进;具体的,当H 理论>H 实测时,M 补偿为正数,即需要在每一整步步进中增加|M 补偿|个微步步进;当H 理论<H 实测时,M 补偿为负数,即需要在每一整步步进中减少|M 补偿|个微步步进。
可以理解的是,因为M 补偿是由M 当前×E四舍五入取整得到,如此补偿后的误差率E’≤1/(2M)。以1/256微步细分为例,步进马达的步进精度为0.39%。在校准补偿后,误差率E’可以达到0.195%。
实施例二
本实施例提供了一种走纸精度校准方法,所述校准方法适用于步进马达驱动胶辊进行走纸的过程,所述步进马达的一个整步步进细分为多个微步步进。所述校准方法通过修正所述整步步进所包含的微步步进的步数来对走纸距离进行校正。在这里,所述步进马达由打印控制单元控制,所述打印控制单元上嵌有步进马达控制模块,所述步进马达控制模块可以对与之连接的步进马达的整步步进所包含的微步步进的步数进行调节;由所述胶辊带动的纸张上具有定位点,所述定位点可以是标签间隙、穿孔、黑标等,邻近的两个所述定位点之间的距离为标定的走纸距离H 标定;所述纸张在走纸通道内移动,所述走纸通道内设置有纸张探测器;所述打印控制单元与所述纸张探测器信号连接;
具体而言,参见图2,图2为本实施例提供的校准方法的步骤流程图,如图2所示,所述校准方法包括如下步骤:
步骤S1,所述打印控制单元依据纸张走纸距离为两个相邻定位点间的距离时所述步进电机运转的整步步进的步数计算出所述探测的走纸距离H 探测
具体的,所述打印控制单元驱动所述步进电机转动,以使所述胶辊带动所述纸张移动;在所述纸张移动的过程中,所述纸张探测器可以探测到所述纸张上的定位点;所述打印控制单元会记录所述纸张探测器先后探测到相邻的两个所述定位点所历经的时间内所述步进电机运转的整步步进的步数,并且依据所述纸张探测器先后探测到相邻的两个所述定位点所历经的时间内所述步进电机运转的整步步进的步数计算出所述探测的走纸距离H 探测;可以理解的是,当所述纸张的实际走纸距离为所述两个相邻定位点间的距离时,由所述打印控制单元理论计算得到的走纸距离为所述探测的走纸距离 H 探测。而由于胶辊外径的生产误差、胶辊的磨损或老化、纸张本身厚度及摩擦系数变化的存在,所述探测的走纸距离 H 探测并不会与所述标定的走纸距离H 标定相同;
步骤S2,所述打印控制单元依据所述标定的走纸距离H 标定和所述探测的走纸距离H 探测分析得出误差率E,其中,E=(H 探测-H 标定)/ H 标定
步骤S3,所述打印控制单元依据所述步进马达的整步步进所包含的微步步进的步数的当前值M 当前和所述误差率E分析得出校准补偿微步数M 补偿,其中,所述当前值M 当前即一个整步步进当前所包含的微步步进的步数,M 补偿=ROUND (M 当前×E),ROUND为四舍五入取整运算;
步骤S4,所述打印控制单元依据所述当前值M 当前和所述校准补偿微步数M 补偿分析得出所述步进马达的整步步进所包含的微步步进的步数的修正值M 修正,其中,M 修正=M 当前+ M 补偿;如此,所述打印控制单元依据修正值M 修正对所述步进马达的整步步进进行细分,即将所述步进马达的整步步进细分为M 修正个微步步进;具体的,当H 探测>H 标定时,M 补偿为正数,即需要在每一整步步进中增加|M 补偿|个微步步进;当H 探测<H 标定时,M 补偿为负数,即需要在每一整步步进中减少|M 补偿|个微步步进。
实施例三
本实施例提供了一种走纸精度校准方法。本实施例的校准方法与实施例二中的类似,区别在于采用如下步骤S1’替换了实施例二中的步骤S1。
步骤S1’,通过与所述打印控制单元信号连接的触摸屏将所述标定的走纸距离H 标定输入到所述打印控制单元,所述打印控制单元驱动步进马达运转以通过所述胶辊带动纸张移动一定距离,纸张移动的距离要保证所述纸张探测器能够先后探测到相邻的两个所述定位点,待所述步进马达停止后,所述打印控制单元依据这一过程中所述纸张探测器先后探测到相邻的两个所述定位点所历经的时间内所述步进电机运转的整步步进的步数计算出所述探测的走纸距离H 探测
实施例四
本实施例提供一种走纸精度校准系统。参见图3和图4,图3为本实施例提供的校准系统的结构示意图(一),图4为本实施例提供的校准系统的结构示意图(二),如图3和图4所示,所述校准系统包括胶辊1、驱动所述胶辊1的步进马达2、控制所述步进马达2的打印控制单元3、可供用户输入指令的触摸屏4、设置在走纸通道内的用于探测纸张的纸张探测器5。所述步进马达2通过传动装置6与所述胶辊1连接,在图4中可以看到,所述传动装置6由同步轮和同步带构成。参见图5,图5为本实施例提供的校准系统的方框原理图,如图5所示,所述打印控制单元3分别与所述步进马达2、所述触摸屏4和所述纸张探测器3电性连接。所述步进马达的一个整步步进细分为多个微步步进,所述打印控制单元3上嵌有步进马达控制模块31,所述步进马达控制模块31可以对与之连接的步进马达2的整步步进所包含的微步步进的步数进行调节。总的来说,所述打印控制单元3用于通过修正所述整步步进所包含的微步步进的步数来对走纸距离进行校正。具体而言,所述打印控制单元3用于依据理论的走纸距离H 理论和实测的走纸距离H 实测分析得出误差率E,其中,E=(H 理论-H 实测)/H 理论;所述打印控制单元3用于依据所述步进马达的整步步进所包含的微步步进的步数的当前值M 当前和所述误差率E分析得出校准补偿微步数M 补偿,其中,M 补偿=ROUND (M 当前×E),ROUND为四舍五入取整运算;所述打印控制单元3用于依据所述当前值M 当前和所述校准补偿微步数M 补偿分析得出所述步进马达的整步步进所包含的微步步进的步数的修正值M 修正,其中,M 修正=M 当前+ M 补偿
本实施例的所述校准系统的工作原理请参见实施例一,这里不再赘述。
实施例五
本实施例提供一种走纸精度校准系统,其与实施例四的区别在于:所述纸张上具有定位点,所述定位点可以是标签间隙、穿孔、黑标等,邻近的两个所述定位点之间的距离为标定的走纸距离H 标定;所述打印控制单元用于依据标定的走纸距离H 标定和探测的走纸距离H 探测分析得出误差率E,其中,E=(H 探测-H 标定)/ H 标定;所述打印控制单元用于依据所述步进马达的整步步进所包含的微步步进的步数的当前值M 当前和所述误差率E分析得出校准补偿微步数M 补偿,其中,M 补偿=ROUND (M 当前×E),ROUND为四舍五入取整运算;所述打印控制单元用于依据所述当前值M 当前和所述校准补偿微步数M 补偿分析得出所述步进马达的整步步进所包含的微步步进的步数的修正值M 修正,其中,M 修正=M 当前+ M 补偿
本实施例的所述校准系统的工作原理请参见实施例二,这里不再赘述。
实施例六
本实施例提供一种走纸精度校准系统,其与实施例五的区别在于:当用户通过与所述打印控制单元信号连接的触摸屏将所述标定的走纸距离H 标定输入到所述打印控制单元时,所述打印控制单元用于驱动步进马达运转以通过所述胶辊带动纸张移动一定距离,纸张移动的距离要保证所述纸张探测器能够先后探测到相邻的两个所述定位点;待所述步进马达停止后,所述打印控制单元还用于依据这一过程中所述纸张探测器先后探测到相邻的两个所述定位点所历经的时间内所述步进电机运转的整步步进的步数计算出所述探测的走纸距离H 探测
所述校准系统的工作原理请参见实施例三,这里不再赘述。
上面结合附图对发明的实施例进行了描述,但是发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在发明的启示下,在不脱离发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于发明的保护之内。

Claims (10)

  1. 一种走纸精度校准方法,所述校准方法适用于步进马达驱动胶辊进行走纸的过程,其特征在于,所述步进马达的一个整步步进细分为多个微步步进,所述校准方法通过修正所述整步步进所包含的微步步进的步数来对走纸距离进行校正。
  2. 根据权利要求1所述的走纸精度校准方法,其特征在于,所述校准方法包括如下步骤:
    依据理论的走纸距离H 理论和实测的走纸距离H 实测分析得出误差率E,其中,E=(H 理论-H 实测)/H 理论
    依据所述步进马达的整步步进所包含的微步步进的步数的当前值M 当前和所述误差率E分析得出校准补偿微步数M 补偿,其中,M 补偿=ROUND (M 当前×E),ROUND为四舍五入取整运算;
    依据所述当前值M 当前和所述校准补偿微步数M 补偿分析得出所述步进马达的整步步进所包含的微步步进的步数的修正值M 修正,其中,M 修正=M 当前+ M 补偿
  3. 根据权利要求2所述的走纸精度校准方法,其特征在于,所述步进马达由打印控制单元控制;所述校准方法包括如下步骤:
    将所述理论的走纸距离H 理论输入到打印控制单元,所述打印控制单元依据所述理论的走纸距离H 理论计算出相应的理论步数,并驱动所述步进马达运转所述理论步数,以使纸张移动一段距离;
    待所述步进马达停止后,测量所述纸张实际移动的距离,以得到所述实测的走纸距离H 实测
  4. 根据权利要求1所述的走纸精度校准方法,其特征在于,所述校准方法包括如下步骤:
    依据标定的走纸距离H 标定和探测的走纸距离H 探测分析得出误差率E,其中,E=(H 探测-H 标定)/ H 标定
    依据所述步进马达的整步步进所包含的微步步进的步数的当前值M 当前和所述误差率E分析得出校准补偿微步数M 补偿,其中,M 补偿=ROUND (M 当前×E),ROUND为四舍五入取整运算;
    依据所述当前值M 当前和所述校准补偿微步数M 补偿分析得出所述步进马达的整步步进所包含的微步步进的步数的修正值M 修正,其中,M 修正=M 当前+ M 补偿
  5. 根据权利要求4所述的走纸精度校准方法,其特征在于,由所述胶辊带动的纸张上具有定位点,邻近的两个所述定位点之间的距离为所述标定的走纸距离H 标定;所述校准方法包括如下步骤:
    依据纸张走纸距离为所述标定的走纸距离H 标定时所述步进电机运转的整步步进的步数计算出所述探测的走纸距离H 探测
  6. 根据权利要求5所述的走纸精度校准方法,其特征在于,所述纸张在走纸通道内移动,所述走纸通道内设置有纸张探测器,所述步进马达由与所述纸张探测器信号连接的打印控制单元控制;所述校准方法包括如下步骤:
    所述打印控制单元记录所述纸张探测器先后探测到相邻的两个所述定位点所历经的时间内所述步进电机运转的整步步进的步数,并依据所述纸张探测器先后探测到相邻的两个所述定位点所历经的时间内所述步进电机运转的整步步进的步数计算出所述探测的走纸距离H 探测
  7. 根据权利要求6所述的走纸精度校准方法,其特征在于,所述步进马达由打印控制单元控制,所述校准方法包括如下步骤:
    将所述标定的走纸距离H 标定输入到打印控制单元,所述打印控制单元驱动步进马达运转以通过所述胶辊带动纸张移动一定距离,以使所述纸张探测器先后探测到相邻的两个所述定位点;
    待所述步进马达停止后,所述打印控制单元依据所述纸张探测器先后探测到相邻的两个所述定位点所历经的时间内所述步进电机运转的整步步进的步数计算出所述探测的走纸距离H 探测
  8. 一种走纸精度校准系统,其特征在于,所述校准系统包括胶辊、驱动所述胶辊的步进马达、控制所述步进马达的打印控制单元,所述步进马达的一个整步步进细分为多个微步步进,所述打印控制单元用于通过修正所述整步步进所包含的微步步进的步数来对走纸距离进行校正。
  9. 根据权利要求8所述的走纸精度校准系统,其特征在于,
    所述打印控制单元用于依据理论的走纸距离H 理论和实测的走纸距离H 实测分析得出误差率E,其中,E=(H 理论-H 实测)/H 理论
    所述打印控制单元用于依据所述步进马达的整步步进所包含的微步步进的步数的当前值M 当前和所述误差率E分析得出校准补偿微步数M 补偿,其中,M 补偿=ROUND (M 当前×E),ROUND为四舍五入取整运算;
    所述打印控制单元用于依据所述当前值M 当前和所述校准补偿微步数M 补偿分析得出所述步进马达的整步步进所包含的微步步进的步数的修正值M 修正,其中,M 修正=M 当前+ M 补偿
  10. 根据权利要求8所述的走纸精度校准系统,其特征在于,
    所述打印控制单元用于依据标定的走纸距离H 标定和探测的走纸距离H 探测分析得出误差率E,其中,E=(H 探测-H 标定)/ H 标定
    所述打印控制单元用于依据所述步进马达的整步步进所包含的微步步进的步数的当前值M 当前和所述误差率E分析得出校准补偿微步数M 补偿,其中,M 补偿=ROUND (M 当前×E),ROUND为四舍五入取整运算;
    所述打印控制单元用于依据所述当前值M 当前和所述校准补偿微步数M 补偿分析得出所述步进马达的整步步进所包含的微步步进的步数的修正值M 修正,其中,M 修正=M 当前+ M 补偿
PCT/CN2021/091302 2021-04-30 2021-04-30 一种走纸精度校准方法及校准系统 WO2022226960A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/091302 WO2022226960A1 (zh) 2021-04-30 2021-04-30 一种走纸精度校准方法及校准系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/091302 WO2022226960A1 (zh) 2021-04-30 2021-04-30 一种走纸精度校准方法及校准系统

Publications (1)

Publication Number Publication Date
WO2022226960A1 true WO2022226960A1 (zh) 2022-11-03

Family

ID=83846659

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/091302 WO2022226960A1 (zh) 2021-04-30 2021-04-30 一种走纸精度校准方法及校准系统

Country Status (1)

Country Link
WO (1) WO2022226960A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63112175A (ja) * 1986-10-31 1988-05-17 Nec Corp 高精度用紙送り制御機構
CN1278486A (zh) * 1999-06-22 2001-01-03 精工爱普生株式会社 送纸装置
CN101437688A (zh) * 2006-12-26 2009-05-20 西铁城控股株式会社 热敏打印机
CN103507448A (zh) * 2012-06-29 2014-01-15 山东新北洋信息技术股份有限公司 打印控制方法及打印机
CN106956520A (zh) * 2017-04-11 2017-07-18 上海威侃电子材料有限公司 一种打印标签长度的精度校准方法
CN110154558A (zh) * 2019-06-04 2019-08-23 森大(深圳)技术有限公司 打印精度校正方法、系统、设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63112175A (ja) * 1986-10-31 1988-05-17 Nec Corp 高精度用紙送り制御機構
CN1278486A (zh) * 1999-06-22 2001-01-03 精工爱普生株式会社 送纸装置
CN101437688A (zh) * 2006-12-26 2009-05-20 西铁城控股株式会社 热敏打印机
CN103507448A (zh) * 2012-06-29 2014-01-15 山东新北洋信息技术股份有限公司 打印控制方法及打印机
CN106956520A (zh) * 2017-04-11 2017-07-18 上海威侃电子材料有限公司 一种打印标签长度的精度校准方法
CN110154558A (zh) * 2019-06-04 2019-08-23 森大(深圳)技术有限公司 打印精度校正方法、系统、设备及存储介质

Similar Documents

Publication Publication Date Title
US20080297559A1 (en) High Precision Feed Particularly Useful for UV Ink Jet Printing on Vinyl
US20110129274A1 (en) Printing apparatus and abnormality determining method
US8641165B2 (en) Inkjet image recorder and method for correction of belt conveyance
US8376501B2 (en) Reflex printing
EP2708367B1 (en) Conveyance apparatus and recording apparatus
CN1908824A (zh) 介质配准系统及方法
CN113386475B (zh) 一种走纸精度校准方法及校准系统
CN102490442B (zh) 双调节贴合装置及其调节方法
US6116795A (en) Paper feed control method
WO2022226960A1 (zh) 一种走纸精度校准方法及校准系统
US8926054B2 (en) Conveyance apparatus and method for calculating conveyance correction value
KR20060098760A (ko) 연속공정 프린터 및 연속공정 프린터의 개별 레지스터 제어방법
US6764157B2 (en) Image forming device correcting vertical alignments and correction method thereof
US11813856B2 (en) Adjusting tension of a substrate
US10525752B2 (en) Printing apparatus for web
US9145000B2 (en) Printing apparatus and method of operating a printing apparatus
US20190263153A1 (en) Printing apparatus for web
US5445458A (en) Automatic platen gap adjusting apparatus
CN211569621U (zh) 一种用于色带控制的张力控制机构
CN211641487U (zh) 一种用于色带控制的张力与距离同步检测机构
US20130258329A1 (en) Inspection Apparatus, Inspection Method and Program for Inspection
JPH09156178A (ja) シリアル式ドットプリンタおよびその運転制御方法
CN219786085U (zh) 全自动板材校平装置
CN116653411B (zh) 一种用于印刷工艺的纸张纠偏装置及纠偏方法
CN114312059B (zh) 给纸控制方法及打印机

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21938438

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21938438

Country of ref document: EP

Kind code of ref document: A1