CN114683725B - Stepping error calibration method, device, equipment and storage medium - Google Patents

Stepping error calibration method, device, equipment and storage medium Download PDF

Info

Publication number
CN114683725B
CN114683725B CN202011637093.0A CN202011637093A CN114683725B CN 114683725 B CN114683725 B CN 114683725B CN 202011637093 A CN202011637093 A CN 202011637093A CN 114683725 B CN114683725 B CN 114683725B
Authority
CN
China
Prior art keywords
stepping
distance
actual
stepping distance
value
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
CN202011637093.0A
Other languages
Chinese (zh)
Other versions
CN114683725A (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.)
Shenzhen Hansen Software Co ltd
Original Assignee
Shenzhen Hansen Software 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 Shenzhen Hansen Software Co ltd filed Critical Shenzhen Hansen Software Co ltd
Priority to CN202011637093.0A priority Critical patent/CN114683725B/en
Publication of CN114683725A publication Critical patent/CN114683725A/en
Application granted granted Critical
Publication of CN114683725B publication Critical patent/CN114683725B/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
    • 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
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet

Abstract

The invention belongs to the technical field of industrial inkjet printing, solves the technical problem that in the prior art, the image quality is poor due to the fact that the preset stepping distance of inkjet equipment is converted into the gear ratio of a motor and data is lost, and the actual stepping distance is unequal to the preset stepping distance, and provides a stepping error calibration method, a stepping error calibration device, stepping error calibration equipment and a storage medium. The method comprises setting multiple step distance groups; performing test printing according to the stepping distance values in each stepping distance group, and generating stepping deviation values corresponding to the stepping distance values according to test results; obtaining the actual gear ratio corresponding to the motor gear ratio converted from each stepping distance value; thereby obtaining the stepping distance value corresponding to the actual stepping distance. The invention also includes an apparatus, a device and a storage medium for performing the above method. The invention can prevent the step distance value from being converted into the position deviation generated by the gear ratio, thereby ensuring the effect of printing the image.

Description

Stepping error calibration method, device, equipment and storage medium
Technical Field
The present invention relates to the field of industrial inkjet printing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for calibrating a stepping error.
Background
The ink jet printing technology is that the printer controls the nozzle to move according to the print job corresponding to the image to be printed, and the nozzle of the nozzle changes the color liquid ink into fine particles through the nozzle to spray onto the printing medium to form image or text.
After the printing of the spray head of the printing equipment is finished along the scanning direction, the spray head needs to perform one-step movement towards the stepping direction; the distance of each step movement is set by software according to the actual condition of the printed image, so that a plurality of different step distances can exist; the motor drives the spray head to perform stepping movement; then the control of the motor converts the pulse number corresponding to the stepping distance into the motor gear ratio, so that the situation that a few pulses are lost in the conversion process can occur, the actual stepping distance is unequal to the preset stepping distance, and the quality of the printed image is affected.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for calibrating a stepping error, which are used for solving the technical problem in the prior art that the image quality is poor due to the fact that the actual stepping distance is not equal to the preset stepping distance because the preset stepping distance of the inkjet device is converted into the gear ratio of the motor and the data is lost.
The technical scheme adopted by the invention is as follows:
the invention provides a stepping error calibration method, which comprises the following steps:
s1: setting a plurality of step distance groups, wherein each step distance group comprises at least one step distance value;
s2: controlling the ink jet equipment to perform test printing according to each stepping distance value in each stepping distance group to obtain a stepping deviation value of a theoretical stepping distance and an actual stepping distance corresponding to each stepping distance value;
s3: obtaining an actual gear ratio according to the stepping deviation value corresponding to each stepping distance value;
s4: and controlling the ink jet equipment to print according to the actual stepping distance of each stepping distance value represented by the actual gear, so as to form a printed image.
Preferably, the S3 includes:
s31: acquiring the stepping deviation value corresponding to each stepping distance value;
s32: obtaining gear ratios corresponding to the stepping distance values according to the formula b=p×a/(p-h);
s33: performing linear fitting on gear ratios corresponding to the stepping distance values to obtain the actual gear ratios;
wherein p is the theoretical stepping distance corresponding to the stepping distance value, a is the initial gear ratio, b is the actual gear ratio, and h is the stepping deviation value.
Preferably, the S4 includes:
s41: acquiring the actual gear ratio;
s42: obtaining an actual stepping distance corresponding to each stepping distance value according to a formula d=p;
wherein d is the actual stepping distance, p is the theoretical stepping distance corresponding to the stepping distance value, a is the initial gear ratio, and b is the actual gear ratio.
Preferably, the S2 includes:
s201: acquiring test image data for test printing;
s202: printing the test image data according to each stepping distance value in each stepping distance group to obtain a test sample graph corresponding to each stepping distance value;
s203: obtaining an actual stepping distance corresponding to each stepping distance value according to the test pattern;
s204: and comparing the actual stepping distance corresponding to each stepping distance value with the theoretical stepping distance to obtain the stepping deviation value.
Preferably, if all the step distance values in each step distance group are the same step distance value, the step 203 includes:
s2301: printing according to each step distance value in each step distance group;
s2302: after printing of all the stepping distance values contained in one stepping distance group is finished, obtaining an actual stepping distance corresponding to the stepping distance value in the stepping distance group according to a test pattern corresponding to the stepping distance group;
s2303: and repeating the step S2302 to obtain the actual stepping distance corresponding to the stepping distance value in each stepping distance group.
Preferably, if each of the step distance groups includes a plurality of step distance values of asynchronous step distances, the step 203 includes:
s2311: printing according to each step distance value in each step distance group;
s2312: after printing of any stepping distance value in one stepping distance group is finished, obtaining an actual stepping distance corresponding to the stepping distance value according to an actual printing position in a test sample diagram corresponding to the stepping distance value;
s2313: and repeating the step S2312 to obtain the actual stepping distance corresponding to each stepping distance value in each stepping distance group.
Preferably, the S2 includes:
s211: acquiring each stepping distance value in each stepping distance group and a theoretical stepping distance corresponding to each stepping distance value;
s212: performing stepping movement according to each stepping distance value to obtain actual position information after each stepping movement;
s213: according to the actual position information after each step movement, obtaining an actual step distance corresponding to each step distance value;
s214: and obtaining the stepping deviation value according to the theoretical stepping distance and the actual stepping distance corresponding to each stepping distance value.
The invention also provides a printing device, comprising:
and a data establishment module: for setting a plurality of step distance groups, each step distance group comprising at least one step distance value;
and the data testing module is used for: the test printing is performed according to each stepping distance value in each stepping distance group, so that corresponding stepping deviation values between the theoretical stepping distance and the actual stepping distance corresponding to each stepping distance value are obtained;
and a data processing module: the method comprises the steps of obtaining an actual gear ratio according to each corresponding stepping deviation value;
and a data printing module: and the step distance determining module is used for determining the actual step distance corresponding to each step distance value according to the actual gear ratio.
The present invention also provides a printing apparatus including: at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method of any of the above.
The invention also provides a storage medium having stored thereon computer program instructions which when executed by a processor implement a method as claimed in any preceding claim.
In summary, the beneficial effects of the invention are as follows:
according to the stepping error calibration method, the stepping error calibration device, the stepping error calibration equipment and the storage medium, the stepping error calibration method, the stepping error calibration equipment and the storage medium are characterized in that the stepping error calibration equipment are provided with the stepping distance groups, a plurality of stepping distance values exist in each group, then test printing is carried out according to the stepping distance values in each stepping distance group, the stepping deviation values of the theoretical stepping distance and the actual stepping distance corresponding to each stepping distance value are obtained, each stepping distance value is converted into the actual gear ratio controlled by the motor, the actual stepping distance is prevented from being mismatched with the corresponding image data, and the quality of a printed image is ensured.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described, and it is within the scope of the present invention to obtain other drawings according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a step error calibration method according to an embodiment 1 of the present invention;
FIG. 2 is a flow chart of the actual gear ratio obtaining in embodiment 1 of the present invention;
FIG. 3 is a schematic flow chart of test printing in embodiment 1 of the present invention;
FIG. 4 is a flow chart of the step deviation value acquisition in the embodiment 1 of the present invention;
FIG. 5 is a schematic flow chart of the method for obtaining the actual stepping distance in the embodiment 1 of the present invention;
fig. 6 is a schematic flow chart of sequentially obtaining actual stepping distances in embodiment 1 of the present invention;
FIG. 7 is a flow chart of calculating a step deviation value in embodiment 1 of the present invention;
FIG. 8 is a schematic structural diagram of a test chart in embodiment 1 of the present invention;
fig. 9 is a schematic diagram showing the structure of a printing apparatus according to embodiment 2 of the present invention;
fig. 10 is a schematic structural view of a printing apparatus in embodiment 3 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. In the description of the present invention, it should be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate description of the present application and simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element. If not conflicting, the embodiments of the present invention and the features of the embodiments may be combined with each other, which are all within the protection scope of the present invention.
Example 1
Fig. 1 is a flow chart of a step error calibration method provided in embodiment 1 of the present invention, as shown in fig. 1, the method includes:
s1: setting a plurality of step distance groups, wherein each step distance group comprises at least one step distance value;
specifically, a plurality of step distance groups are set, each step distance group includes a plurality of step distance values, and each step distance value may be equal or unequal.
S2: performing test printing according to each stepping distance value in each stepping distance group to obtain a corresponding stepping deviation value between a theoretical stepping distance corresponding to each stepping distance value and an actual stepping distance;
specifically, printing is performed according to the test data, and after 1Pass printing is completed, one step movement is performed according to a step distance value in the step distance group; then continuing to print at the current position, repeating for a plurality of times until the test printing is finished, obtaining a test sample graph corresponding to each step distance group, and obtaining a step deviation value of a theoretical step distance and an actual step distance according to the actual position printed in the test sample graph; wherein 1Pass is the scanning movement of the ink jet device in one scanning direction.
S3: obtaining an actual gear ratio according to each corresponding stepping deviation value;
specifically, according to the theoretical stepping distance corresponding to each stepping distance value and the stepping deviation value of the actual stepping distance, obtaining the actual gear ratio corresponding to each stepping distance value, wherein the preset gear ratio is 100 pulses/mm; when the stepping distance corresponding to the stepping distance value is 200mm, the optimal gear ratio of the stepping distance value is 99 pulses/mm; therefore, the stepping distance value corresponding to the stepping distance actually needed after each Pass printing is finished can be determined, and the quality of the printed image is ensured.
S4: and determining the actual stepping distance corresponding to each stepping distance value according to the actual gear ratio.
Specifically, according to the actual gear ratio, obtaining an actual stepping distance from which the stepping distance value is converted into an actual stepping; such as: when the gear ratio before the adjustment of the stepping distance value of the spray head is set, 95.5 pulses are needed when the corresponding theoretical stepping distance is 0.955mm, and the number of pulses corresponding to the gear ratio is 96 pulses at the moment, so that the actual stepping distance is 0.96mm, and when the adjusted actual gear ratio is adopted, the actual stepping distance corresponding to 96 pulses is 0.055mm, and the image data of 0.955mm is directly used as the image data of the next Pass.
According to the stepping error calibration method provided by the embodiment 1 of the invention, a plurality of stepping distance groups are arranged, a plurality of stepping distance values exist in each group, then the ink jet device is controlled to perform test printing according to the stepping distance values in each stepping distance group, so that the stepping deviation value of the theoretical stepping distance and the actual stepping distance corresponding to each stepping distance value is obtained, the stepping distance values are converted into the actual gear ratio controlled by the motor, the actual stepping distance is prevented from being mismatched with the corresponding image data, and the quality of the printed image is ensured.
Fig. 2 is a flow chart of a step error calibration method according to an embodiment of the present invention, as shown in fig. 2, where the step S3 includes:
s31: acquiring the stepping deviation value corresponding to each stepping distance value;
specifically, according to the actual image position corresponding to each stepping distance value in the test image, a stepping deviation value of the theoretical stepping distance and the actual stepping distance is obtained.
S32: obtaining gear ratios corresponding to the stepping distance values according to the formula b=p×a/(p-h);
specifically, calculating according to a stepping deviation value and a formula b=p×a/(p-h) to obtain an actual gear ratio corresponding to each stepping distance value; it can be understood that, according to the step deviation value, the step distance corresponding to the actual gear ratio converted from the step distance value is obtained; the stepping distance is an actual stepping distance, and the actual stepping distance is deviated from a theoretical stepping distance due to the fact that decimal data are omitted in the process of converting the actual stepping distance into a gear ratio, and the deviation is a stepping deviation value.
S33: performing linear fitting on gear ratios corresponding to the stepping distance values to obtain the actual gear ratios;
specifically, the actual gear ratio corresponding to each step distance value is linearly fitted to obtain the conversion relation between the step distance value and the actual gear ratio, so as to obtain the actual gear ratio matched with each step distance value, which can be understood as obtaining the compensation parameter, compensating the step deviation value, and ensuring the quality of the printed image.
Wherein p is the theoretical stepping distance corresponding to the stepping distance value, a is the initial gear ratio, b is the actual gear ratio, and h is the stepping deviation value.
Fig. 3 is a flow chart of a step error calibration method according to an embodiment of the present invention, as shown in fig. 3, where the step S4 includes:
s41: acquiring the actual gear ratio;
specifically, the gear ratio is how many pulses the motor motion 1mm corresponds to.
S42: obtaining an actual stepping distance corresponding to each stepping distance value according to a formula d=p;
specifically, the actual step distance is calculated by the formula d=p×a/b through the actual gear ratio, so that printing is performed according to the image data corresponding to the actual step distance.
Wherein d is the actual stepping distance, p is the theoretical stepping distance corresponding to the stepping distance value, a is the initial gear ratio, and b is the actual gear ratio.
Fig. 4 is a flow chart of a step error calibration method according to an embodiment of the present invention, as shown in fig. 4, where the step S2 includes:
s201: acquiring test image data for test printing;
specifically, the test image data is an image having an obvious positional relationship, or an image of the positional relationship may be obtained according to a simple rule.
S202: printing the test image data according to each stepping distance value in each stepping distance group to obtain a test sample graph corresponding to each stepping distance value;
specifically, scan printing is performed according to the test image data, and stepping is performed according to each stepping distance value so as to perform ink jet on the printing medium, so that a test sample image is formed.
S203: obtaining an actual stepping distance corresponding to each stepping distance value according to the test pattern;
s204: and comparing the actual stepping distance corresponding to each stepping distance value with the theoretical stepping distance to obtain the stepping deviation value.
Specifically, according to the test pattern, a theoretical position and an actual position corresponding to the stepping distance value are obtained, so that a stepping deviation value corresponding to the stepping distance value is obtained; referring to fig. 8, D1 and D1 differ by 0.05mm, which means that when the theoretical stepping distance corresponding to the stepping distance value is 1mm, the actual stepping distance is only 0.95mm; and similarly, the offset distances of 2mm, 3mm, 4mm and the like are obtained as theoretical stepping distances corresponding to stepping distance values.
Fig. 5 is a flowchart of a step error calibration method according to an embodiment of the present invention, as shown in fig. 5, if all step distance values in each step distance group are the same step distance value, the step 203 includes:
s2301: printing according to each step distance value in each step distance group;
specifically, the step distance group has a plurality of step distance values, but each step distance value is the same, for example, the step distance group includes 4 step distance values, and the 4 step distance values are all 1mm of the corresponding theoretical step distance; i.e. each step is stepped by a theoretical step distance of 1 mm.
S2302: after printing of all the stepping distance values contained in one stepping distance group is finished, obtaining an actual stepping distance corresponding to the stepping distance value in the stepping distance group according to a test pattern corresponding to the stepping distance group;
specifically, the step distance group includes 4 step distance values, that is, after the inkjet device completes 4 step movements, the actual step distances of the printed image obtained by the 4 step movements are obtained in a unified manner at last.
S2303: and repeating the step S2302 to obtain the actual stepping distance corresponding to the stepping distance value in each stepping distance group.
Specifically, the printing is repeated until the test printing is finished, and if the set of the theoretical stepping distances corresponding to the stepping distance values is 1mm, the set of the theoretical stepping distances is continuously printed until the printing is finished, wherein the set of the theoretical stepping distances is 2mm, 3mm, 4mm and the like.
Fig. 6 is a flowchart of a step error calibration method according to an embodiment of the present invention, as shown in fig. 6, if each step distance group includes a plurality of step distance values of asynchronous step distances, the step 203 includes:
s2311: printing according to each step distance value in each step distance group;
specifically, each step distance group includes a plurality of identical step distance values, and referring to fig. 8, the step distance groups include step distance groups with theoretical step distances of 1mm, 2mm, 3mm, and 4mm corresponding to the step distance values.
S2312: after printing of any stepping distance value in one stepping distance group is finished, obtaining an actual stepping distance corresponding to the stepping distance value according to an actual printing position in a test sample diagram corresponding to the stepping distance value;
specifically, after the step distance group completes one step movement, the actual step distance is immediately recorded, please refer to fig. 8, after the step distance is 1mm according to the theoretical step distance, test printing is performed, then the actual step distance corresponding to the theoretical step 1mm is obtained according to the test image position, and the operation is repeated, so as to obtain the actual step distances corresponding to the theoretical steps 2mm, 3mm and 4 mm.
S2313: and repeating the step S2312 to obtain the actual stepping distance corresponding to each stepping distance value in each stepping distance group.
Specifically, the operation is repeated, and test printing is performed on other step distance groups, such as step distance groups corresponding to 1mm, 3mm, 5mm, and 7mm, step distance groups corresponding to 1mm, 3mm, 4mm, and 6mm, and the like.
Fig. 7 is a flow chart of a step error calibration method according to an embodiment of the present invention, as shown in fig. 7, where the step S2 includes:
s211: acquiring each stepping distance value in each stepping distance group and a theoretical stepping distance corresponding to each stepping distance value;
specifically, the preset position corresponding to the stepping motion according to the stepping distance value is recorded as a theoretical stepping distance.
S212: performing stepping movement according to each stepping distance value to obtain actual position information after each stepping movement;
specifically, according to the stepping distance value, the motor drives the ink jet mechanism to move and then to reach the actual position corresponding to the position before the movement.
S213: according to the actual position information after each step movement, obtaining an actual step distance corresponding to each step distance value;
specifically, any two adjacent actual position information of the ink jet device in the stepping direction corresponds to one actual stepping distance, so that the actual stepping distance corresponding to each stepping distance value is obtained.
S214: and obtaining the stepping deviation value according to the theoretical stepping distance and the actual stepping distance corresponding to each stepping distance value.
Specifically, according to the difference value between the theoretical stepping distance and the actual stepping distance corresponding to each stepping distance value, a stepping deviation value corresponding to each stepping distance value is obtained.
According to the stepping error calibration method provided by the embodiment 1 of the invention, a plurality of stepping distance groups are arranged, a plurality of stepping distance values exist in each group, then the ink jet device is controlled to perform test printing according to the stepping distance values in each stepping distance group, so that the stepping deviation value of the theoretical stepping distance and the actual stepping distance corresponding to each stepping distance value is obtained, the stepping distance values are converted into the actual gear ratio controlled by the motor, the actual stepping distance is prevented from being mismatched with the corresponding image data, and the quality of the printed image is ensured.
Example 2
Embodiment 2 of the present invention provides a printing apparatus, as shown in fig. 9, including:
and a data establishment module: for setting a plurality of step distance groups, each step distance group comprising at least one step distance value;
and the data testing module is used for: the test printing is performed according to each stepping distance value in each stepping distance group, so that corresponding stepping deviation values between the theoretical stepping distance and the actual stepping distance corresponding to each stepping distance value are obtained;
and a data processing module: the method comprises the steps of obtaining an actual gear ratio according to each corresponding stepping deviation value;
and a data printing module: and the step distance determining module is used for determining the actual step distance corresponding to each step distance value according to the actual gear ratio.
According to the printing device provided by the embodiment 2 of the invention, the plurality of step distance groups are arranged, a plurality of step distance values exist in each group, then the ink jet device is controlled to perform test printing according to the step distance values in each step distance group, so that the step deviation value of the theoretical step distance and the actual step distance corresponding to each step distance value is obtained, the step distance values are converted into the actual gear ratio controlled by the motor, the actual step distance is prevented from being mismatched with the corresponding image data, and the quality of a printed image is ensured.
In one embodiment, the data processing module includes:
offset distance acquisition unit: acquiring the stepping deviation value corresponding to each stepping distance value;
gear ratio unit: obtaining gear ratios corresponding to the stepping distance values according to the formula b=p×a/(p-h);
linear fitting unit: performing linear fitting on gear ratios corresponding to the stepping distance values to obtain the actual gear ratios;
wherein p is the theoretical stepping distance corresponding to the stepping distance value, a is the initial gear ratio, b is the actual gear ratio, and h is the stepping deviation value.
In one embodiment, a data printing module includes:
actual gear ratio unit: acquiring the actual gear ratio;
actual stepping unit: obtaining an actual stepping distance corresponding to each stepping distance value according to a formula d=p;
wherein d is the actual stepping distance, p is the theoretical stepping distance corresponding to the stepping distance value, a is the initial gear ratio, and b is the actual gear ratio.
In one embodiment, the data testing module comprises:
test data acquisition unit: acquiring test image data for test printing;
test printing unit: printing according to each stepping distance value in each stepping distance group to obtain a test pattern corresponding to each stepping distance value;
an actual step generation unit: obtaining an actual stepping distance corresponding to each stepping distance value according to the test pattern;
offset distance unit: and comparing the actual stepping distance corresponding to each stepping distance value with the theoretical stepping distance to obtain the stepping deviation value.
In an embodiment, if all the step distance values in each step distance group are the same step distance value, the actual step generating unit includes:
a first test unit: printing according to each step distance value in each step distance group;
test data processing unit: after printing of all the stepping distance values contained in one stepping distance group is finished, obtaining an actual stepping distance corresponding to the stepping distance value in the stepping distance group according to a test pattern corresponding to the stepping distance group;
and a circulation unit: and repeatedly executing the first test unit to obtain the actual stepping distance corresponding to the stepping distance value in each stepping distance group.
In one embodiment, if each of the step distance groups includes a plurality of step distance values of different step distances, the actual step generating unit includes:
a second test unit: printing according to each step distance value in each step distance group;
position information unit: after printing of any stepping distance value in one stepping distance group is finished, obtaining an actual stepping distance corresponding to the stepping distance value according to an actual printing position in a test sample diagram corresponding to the stepping distance value;
and (3) cycle printing: and repeatedly executing the position information unit to obtain the actual stepping distance corresponding to each stepping distance value in each stepping distance group.
In one embodiment, the data testing module comprises:
distance parameter acquisition unit: acquiring each stepping distance value in each stepping distance group and a theoretical stepping distance corresponding to each stepping distance value;
position parameter unit: performing stepping movement according to each stepping distance value to obtain actual position information after each stepping movement;
distance parameter unit: according to the actual position information after each step movement, obtaining an actual step distance corresponding to each step distance value;
distance offset unit: and obtaining the stepping deviation value according to the theoretical stepping distance and the actual stepping distance corresponding to each stepping distance value.
According to the printing device provided by the embodiment 2 of the invention, the plurality of step distance groups are arranged, the plurality of step distance values exist in each group, then test printing is carried out according to the step distance values in each step distance group, so that the step deviation value of the theoretical step distance and the actual step distance corresponding to each step distance value is obtained, the step distance values are converted into the actual gear ratio controlled by the motor, the actual step distance is prevented from being mismatched with the corresponding image data, and the quality of the printed image is ensured.
Example 3:
embodiment 3 of the present invention discloses a printing apparatus, as shown in fig. 10, including at least one processor, at least one memory, and computer program instructions stored in the memory.
In particular, the processor may comprise a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present invention.
The memory may include mass storage for data or instructions. By way of example, and not limitation, the memory may comprise a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the foregoing. The memory may include removable or non-removable (or fixed) media, where appropriate. The memory may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory is a non-volatile solid state memory. In a particular embodiment, the memory includes Read Only Memory (ROM). The ROM may be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The processor reads and executes the computer program instructions stored in the memory to implement any of the step error calibration methods of embodiment 1 described above.
According to the invention, a plurality of step distance groups are arranged, a plurality of step distance values exist in each group, then test printing is carried out according to the step distance values in each step distance group, so that the step deviation value of the theoretical step distance corresponding to each step distance value and the actual step distance is obtained, the step distance values are converted into the actual gear ratio controlled by the motor, the actual step distance is prevented from being mismatched with the corresponding image data, and the quality of the printed image is ensured.
In one example, the printing device may also include a communication interface and a bus. The processor, the memory and the communication interface are connected through a bus and complete communication with each other.
The communication interface is mainly used for realizing communication among the modules, the devices, the units and/or the equipment in the embodiment of the invention.
The bus includes hardware, software, or both, that couple components of the printing device to each other. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. The bus may include one or more buses, where appropriate. Although embodiments of the invention have been described and illustrated with respect to a particular bus, the invention contemplates any suitable bus or interconnect.
Example 4
In addition, in combination with the step error calibration method in the above embodiment 1, an embodiment of the present invention may be implemented by providing a computer readable storage medium. The computer readable storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the step error calibration methods of embodiment 1 above.
In summary, the method, the device, the equipment and the storage medium for calibrating the stepping error provided by the embodiment of the invention.
According to the invention, a plurality of step distance groups are arranged, a plurality of step distance values exist in each group, then test printing is carried out according to the step distance values in each step distance group, so that the step deviation value of the theoretical step distance corresponding to each step distance value and the actual step distance is obtained, the step distance values are converted into the actual gear ratio controlled by the motor, the actual step distance is prevented from being mismatched with the corresponding image data, and the quality of the printed image is ensured.
It should be understood that the invention is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after appreciating the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (5)

1. A method of step error calibration, the method comprising:
s1: setting a plurality of step distance groups, wherein each step distance group comprises at least one step distance value;
s2: performing test printing according to each stepping distance value in each stepping distance group to obtain a corresponding stepping deviation value between a theoretical stepping distance corresponding to each stepping distance value and an actual stepping distance;
s3: obtaining an actual gear ratio according to each corresponding stepping deviation value;
s4: determining an actual stepping distance corresponding to each stepping distance value according to the actual gear ratio;
the step S2 comprises the following steps:
s201: acquiring test image data for test printing;
s202: printing the test image data according to each stepping distance value in each stepping distance group to obtain a test sample graph corresponding to each stepping distance value;
s203: obtaining an actual stepping distance corresponding to each stepping distance value according to the test pattern;
s204: comparing the actual stepping distance corresponding to each stepping distance value with the theoretical stepping distance to obtain the stepping deviation value;
the step distance group includes a plurality of step distance values of asynchronous step distances, and the step 203 includes:
s2311: printing according to each step distance value in each step distance group;
s2312: after printing of any stepping distance value in one stepping distance group is finished, obtaining an actual stepping distance corresponding to the stepping distance value according to an actual printing position in a test sample diagram corresponding to the stepping distance value;
s2313: repeating the step S2312 to obtain the actual stepping distance corresponding to each stepping distance value in each stepping distance group;
the step S3 comprises the following steps:
s31: acquiring the stepping deviation value corresponding to each stepping distance value;
s32: obtaining gear ratios corresponding to the stepping distance values according to the formula b=p×a/(p-h);
s33: performing linear fitting on gear ratios corresponding to the stepping distance values to obtain the actual gear ratios;
wherein p is the theoretical stepping distance corresponding to the stepping distance value, a is the initial gear ratio, b is the actual gear ratio, and h is the stepping deviation value.
2. The step error calibration method according to claim 1, wherein S4 comprises:
s41: acquiring the actual gear ratio;
s42: obtaining an actual stepping distance corresponding to each stepping distance value according to a formula d=p;
wherein d is the actual stepping distance, p is the theoretical stepping distance corresponding to the stepping distance value, a is the initial gear ratio, and b is the actual gear ratio.
3. A step error calibration apparatus, comprising:
and a data establishment module: for setting a plurality of step distance groups, each step distance group comprising at least one step distance value;
and the data testing module is used for: the test printing is performed according to each stepping distance value in each stepping distance group, so that corresponding stepping deviation values between the theoretical stepping distance and the actual stepping distance corresponding to each stepping distance value are obtained;
and a data processing module: the method comprises the steps of obtaining an actual gear ratio according to each corresponding stepping deviation value;
and a data printing module: the actual step distance corresponding to each step distance value is determined according to the actual gear ratio;
the data testing module comprises: acquiring test image data for test printing; printing the test image data according to each stepping distance value in each stepping distance group to obtain a test sample graph corresponding to each stepping distance value; obtaining an actual stepping distance corresponding to each stepping distance value according to the test pattern; comparing the actual stepping distance corresponding to each stepping distance value with the theoretical stepping distance to obtain the stepping deviation value;
the step distance group comprises a plurality of step distance values which are not synchronous in distance, and the data testing module comprises printing according to each step distance value in each step distance group; after printing of any stepping distance value in one stepping distance group is finished, obtaining an actual stepping distance corresponding to the stepping distance value according to an actual printing position in a test sample diagram corresponding to the stepping distance value;
repeating the steps to obtain the actual stepping distance corresponding to each stepping distance value in each stepping distance group;
the data establishment module comprises: acquiring the stepping deviation value corresponding to each stepping distance value; obtaining gear ratios corresponding to the stepping distance values according to the formula b=p×a/(p-h); performing linear fitting on gear ratios corresponding to the stepping distance values to obtain the actual gear ratios; wherein p is the theoretical stepping distance corresponding to the stepping distance value, a is the initial gear ratio, b is the actual gear ratio, and h is the stepping deviation value.
4. A printing apparatus, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method of any one of claims 1-2.
5. A storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1-2.
CN202011637093.0A 2020-12-31 2020-12-31 Stepping error calibration method, device, equipment and storage medium Active CN114683725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011637093.0A CN114683725B (en) 2020-12-31 2020-12-31 Stepping error calibration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011637093.0A CN114683725B (en) 2020-12-31 2020-12-31 Stepping error calibration method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114683725A CN114683725A (en) 2022-07-01
CN114683725B true CN114683725B (en) 2024-03-22

Family

ID=82133751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011637093.0A Active CN114683725B (en) 2020-12-31 2020-12-31 Stepping error calibration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114683725B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020066591A (en) * 2001-02-12 2002-08-21 삼성전자 주식회사 Apparatus for correcting a feeding-error for printer and method
EP1447230A1 (en) * 2003-02-15 2004-08-18 Samsung Electronics Co., Ltd. Inkjet printer
JP2005297253A (en) * 2004-04-07 2005-10-27 Canon Finetech Inc Image forming apparatus
DE102012101432A1 (en) * 2012-02-23 2013-08-29 OCé PRINTING SYSTEMS GMBH Method for adjusting print heads in print head assembly of ink printing apparatus that is utilized for printing of paper web, involves adjusting correction value if deviation of actual distance from target distance of heads is identified
CN105799343A (en) * 2016-03-03 2016-07-27 北京博源恒芯科技有限公司 Ink-jet printing apparatus and printing medium stepping error detection method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003011345A (en) * 2001-07-02 2003-01-15 Seiko Epson Corp Sheet feed error correction in printer
US8991960B2 (en) * 2012-08-24 2015-03-31 Hewlett-Packard Development Company, L.P. Compensation of bi-directional alignment error

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020066591A (en) * 2001-02-12 2002-08-21 삼성전자 주식회사 Apparatus for correcting a feeding-error for printer and method
EP1447230A1 (en) * 2003-02-15 2004-08-18 Samsung Electronics Co., Ltd. Inkjet printer
JP2005297253A (en) * 2004-04-07 2005-10-27 Canon Finetech Inc Image forming apparatus
DE102012101432A1 (en) * 2012-02-23 2013-08-29 OCé PRINTING SYSTEMS GMBH Method for adjusting print heads in print head assembly of ink printing apparatus that is utilized for printing of paper web, involves adjusting correction value if deviation of actual distance from target distance of heads is identified
CN105799343A (en) * 2016-03-03 2016-07-27 北京博源恒芯科技有限公司 Ink-jet printing apparatus and printing medium stepping error detection method

Also Published As

Publication number Publication date
CN114683725A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
CN110816082B (en) Method, device and equipment for obtaining alignment error value of spray head and storage medium
KR100909159B1 (en) Position detecting method, position detecting device, pattern drawing device and detected object
CN110757956B (en) Method, device and equipment for acquiring installation deviation value of spray head and storage medium
CN110816087B (en) Method, device and equipment for acquiring printing alignment calibration value and storage medium
CN110688074B (en) Method, device and equipment for distributing data for multi-nozzle printing and storage medium
CN110039901B (en) Oneepass inkjet printing control method, device, equipment and medium
CN114683725B (en) Stepping error calibration method, device, equipment and storage medium
CN110928503B (en) Data addressing method, device, equipment and storage medium for regional random printing
US20160375706A1 (en) Printing Apparatus
CN114347650B (en) Image precision self-adaptive printing method, device, equipment and storage medium
CN114683727B (en) Multi-step distance error calibration method, device, equipment and storage medium
CN111114128B (en) Liquid ejecting apparatus and drive circuit
CN111645418A (en) Printer guide rail stroke calibration method, device, equipment and storage medium
CN113799489B (en) Method, device and equipment for correcting driving voltage of spray head and storage medium
CN113492585B (en) Injection time acquisition method, device, equipment and storage medium
CN114789605B (en) Image printing data processing method, device, equipment and storage medium
CN114055954B (en) Method, device and equipment for calibrating rotating speed of printing on surface of cylinder and storage medium
US7458658B2 (en) Printing method
CN117048196A (en) Step offset calibration chart printing method, calibration method, related device and equipment thereof
CN112140730A (en) Method, device and equipment for adjusting driving waveform of spray head and storage medium
CN114055932A (en) Method, device and equipment for printing on surface of rotating body and storage medium
CN114516225B (en) Method, device, equipment and medium for splitting image data into different directions for printing
CN114103440B (en) Image printing method, device, equipment and storage medium
CN114103439B (en) Method, device and equipment for printing images with differentiated precision and storage medium
CN115476590B (en) Image printing method, device and equipment when splicing nozzles are offset and storage medium

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
CB02 Change of applicant information

Address after: 518000 a201-a301, building a, Sino German European Industrial Demonstration Park, Hangcheng Avenue, guxing community, Xixiang street, Bao'an District, Shenzhen, Guangdong

Applicant after: Shenzhen Hansen Software Co.,Ltd.

Address before: 1701, 1703, building C6, Hengfeng Industrial City, 739 Zhoushi Road, Hezhou community, Hangcheng street, Bao'an District, Shenzhen, Guangdong 518000

Applicant before: SHENZHEN HOSONSOFT Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant