CN111026341B - Precision adjusting method, device, equipment and medium for realizing arbitrary precision printing - Google Patents

Precision adjusting method, device, equipment and medium for realizing arbitrary precision printing Download PDF

Info

Publication number
CN111026341B
CN111026341B CN201911306552.4A CN201911306552A CN111026341B CN 111026341 B CN111026341 B CN 111026341B CN 201911306552 A CN201911306552 A CN 201911306552A CN 111026341 B CN111026341 B CN 111026341B
Authority
CN
China
Prior art keywords
precision
printing
pulse
pulse signal
coefficient
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
CN201911306552.4A
Other languages
Chinese (zh)
Other versions
CN111026341A (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 CN201911306552.4A priority Critical patent/CN111026341B/en
Publication of CN111026341A publication Critical patent/CN111026341A/en
Application granted granted Critical
Publication of CN111026341B publication Critical patent/CN111026341B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1208Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K21/00Details of pulse counters or frequency dividers
    • H03K21/38Starting, stopping or resetting the counter

Abstract

The invention discloses a precision adjusting method, a device, equipment and a medium for realizing arbitrary precision printing, wherein the method comprises the following steps: acquiring pulse precision of printing equipment and printing precision of an image to be printed; acquiring subdivision coefficients of the pulse precision according to the pulse precision and the printing precision; splitting the pulse precision according to the subdivision coefficient to obtain intermediate precision; acquiring a counting coefficient of the intermediate precision according to the printing precision and the intermediate precision; and dividing the frequency of the intermediate precision according to the counting coefficient to obtain the printing precision. The invention can realize printing with arbitrary printing precision.

Description

Precision adjusting method, device, equipment and medium for realizing arbitrary precision printing
Technical Field
The present invention relates to the field of inkjet printing technologies, and in particular, to a method, an apparatus, a device, and a medium for adjusting precision for implementing arbitrary precision printing.
Background
The inkjet printing technology refers to a technology of ejecting ink drops onto a printing medium through nozzles on a nozzle to obtain images or characters, the fineness degree of the images and the characters is mainly determined by pulse precision, the pulse precision refers to the number of dots which can be printed at most per inch in the transverse direction and the longitudinal direction of a printer, namely DPI, the pulse precision is determined by the resolution of a grating ruler arranged on the printing device, so that the maximum achievable pulse precision of one printing device is correspondingly determined when the grating ruler is selected, for example, the resolution of the grating ruler of one printing device is 180DPI, the pulse precision of 720DPI can be achieved at most through a frequency multiplier, and the printing precision of about 720 can be achieved through a frequency divider, but the printing precision which is not about 720 cannot be achieved, therefore, one printing device can only achieve printing with partial precision through the frequency multiplier and the frequency divider, and the diversified demands of the printing precision of people cannot be met.
Disclosure of Invention
The embodiment of the invention provides a precision adjusting method, a device, equipment and a medium for realizing random precision printing, which are used for solving the problem that printing equipment in the prior art cannot realize random precision printing.
In a first aspect, an embodiment of the present invention provides a method for adjusting accuracy for implementing arbitrary accuracy printing, where the method includes:
acquiring the pulse precision of the grating and the printing precision of an image to be printed;
acquiring subdivision coefficients of the pulse precision according to the pulse precision and the printing precision;
subdividing the pulse precision according to the subdivision coefficient to obtain intermediate precision;
acquiring a counting coefficient of the intermediate precision according to the printing precision and the intermediate precision;
and counting the intermediate precision according to the counting coefficient to obtain the printing precision.
Preferably, said subdividing said pulse accuracy in accordance with said subdivision coefficients to obtain intermediate accuracy comprises:
acquiring a clock frequency division value for splitting and counting the pulse signals of the grating according to the subdivision coefficient;
controlling a first counter to count according to the clock frequency division value to obtain a first count value;
controlling a second counter to count each pulse signal of the grating to obtain a second count value;
and obtaining the intermediate precision according to the first count value and the second count value.
Preferably, the obtaining the clock frequency division value for splitting and counting the pulse signal of the grating according to the subdivision coefficient includes:
acquiring a first clock frequency division value for splitting and counting each pulse signal of the grating according to the subdivision coefficient;
the controlling the first counter to count according to the clock frequency division value to obtain a first count value includes:
controlling a first counter to count according to the first clock frequency division value of each pulse signal to obtain a first count value of each pulse signal splitting;
preferably, the first clock division value is calculated by the following formula:
wherein N is time1 Representing the first clock frequency division value, f representing the system clock frequency, V printing speed, d representing the raster precision of the raster, and c representing the subdivision coefficient.
Preferably, the obtaining the clock frequency division value for splitting and counting the pulse signal of the grating according to the subdivision coefficient includes:
acquiring a second clock frequency division value for splitting and counting the first pulse signal of the grating according to the subdivision coefficient;
the controlling the first counter to count according to the clock frequency division value to obtain a first count value includes:
controlling a first counter to count according to the second clock frequency division value of the first pulse signal to obtain a first count value for splitting each pulse signal;
preferably, the second clock division value is calculated by the following formula:
wherein N is time2 Represents the second clock frequency division value, N num Representing the number of clocks used to pass through two adjacent grids on the raster, c representing the subdivision coefficient, depending on the print speed.
Preferably, the method further comprises:
when the triggering edge of the pulse signal is detected, the second count value is adjusted according to the subdivision coefficient to obtain a third count value, and meanwhile the first count value is cleared, the pulse signal comprises a first pulse signal and a second pulse signal, and the phase of the first pulse signal is advanced or delayed by 90 degrees relative to the phase of the second pulse signal;
the step of adjusting the second count value according to the subdivision coefficient to obtain a third count value includes:
when the detected trigger edge of the first pulse signal is the trigger edge of the first pulse signal, the third calculated value is calculated by the following formula:
P c2 =P c1 +c
when the detected trigger edge of the first pulse signal is the trigger edge of the second pulse signal, the third calculated value is calculated by the following formula:
P c2 =P c1 -c
wherein P is c1 Representing the second count value, P c2 Representing the third count value and c representing a subdivision coefficient.
Preferably, said counting said intermediate precision according to said count coefficient to obtain said printing precision includes:
determining a value for igniting the nozzle to discharge ink in the third counting value according to the counting coefficient to record an ink counting value;
and controlling the ink outlet of the spray head according to the ink outlet count value to obtain the printing precision.
Preferably, the acquiring the subdivision coefficient of the pulse precision according to the pulse precision and the printing precision includes:
acquiring the least common multiple of the pulse precision and the printing precision;
acquiring subdivision coefficients of the pulse precision according to the least common multiple and the pulse precision;
the obtaining the count coefficient of the intermediate precision according to the printing precision and the intermediate precision includes:
obtaining a counting coefficient of the intermediate precision according to the least common multiple and the printing precision;
wherein the least common multiple is equal to the intermediate precision.
In a second aspect, an embodiment of the present invention provides a precision adjustment apparatus for implementing arbitrary precision printing, the apparatus including:
the precision acquisition module is used for acquiring the pulse precision of the grating and the printing precision of the image to be printed;
the subdivision coefficient acquisition module is used for acquiring subdivision coefficients of the pulse precision according to the pulse precision and the printing precision;
the intermediate precision acquisition module is used for subdividing the pulse precision according to the subdivision coefficient to acquire intermediate precision;
the counting coefficient acquisition module is used for acquiring the counting coefficient of the intermediate precision according to the printing precision and the intermediate precision;
and the printing precision acquisition module is used for counting the intermediate precision according to the counting coefficient to obtain the printing precision.
In a third aspect, an embodiment of the present invention provides a precision adjusting apparatus that realizes arbitrary precision printing, 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 as in the first aspect of the embodiments described above.
In a fourth aspect, embodiments of the present invention provide a storage medium having stored thereon computer program instructions which, when executed by a processor, implement a method as in the first aspect of the embodiments described above.
In summary, according to the method, the device, the equipment and the medium for realizing the precision adjustment of printing with any precision provided by the embodiment of the invention, the subdivision coefficient meeting the pulse precision and the printing precision is obtained according to the pulse precision and the printing precision, the pulse precision is split according to the subdivision coefficient to obtain the intermediate precision, and then the intermediate precision is recounted to obtain the printing precision, and the subdivision coefficient is obtained according to the pulse precision and the printing precision, so that the intermediate precision can meet the frequency division of the printing precision, the situation of no frequency division can be caused, and the printing with any printing precision is realized.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are needed to be used in the embodiments of the present invention will be briefly described, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a printing apparatus according to a first embodiment of the present invention.
Fig. 2 is a flowchart of a precision adjustment method for realizing arbitrary precision printing according to a second embodiment of the present invention.
Fig. 3 is a flowchart of a precision adjusting method for realizing arbitrary precision printing according to a third embodiment of the present invention.
Fig. 4 is a schematic diagram of pulse signals of a precision adjusting method for realizing arbitrary precision printing according to a third embodiment of the present invention.
Fig. 5 is a flowchart of a precision adjusting method for realizing arbitrary precision printing according to a fourth embodiment of the present invention.
Fig. 6 is a flowchart of a precision adjusting method for realizing arbitrary precision printing according to a fifth embodiment of the present invention.
Fig. 7 is a flowchart of a precision adjusting method for realizing arbitrary precision printing according to a sixth embodiment of the present invention.
Fig. 8 is a schematic structural view of an accuracy adjusting device for arbitrary accuracy printing according to a seventh embodiment of the present invention.
Fig. 9 is a schematic structural view of an accuracy adjusting apparatus for arbitrary accuracy printing according to an eighth embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely configured to illustrate the invention and are not configured to limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by showing examples of the 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. 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.
Referring to fig. 1, an embodiment of the present invention provides an inkjet printing apparatus, where the inkjet printing apparatus includes a print carriage 1, a support beam 2, and a print platform 3, the print carriage 1 can reciprocate along the support beam 2, an inkjet printhead (not shown in the drawing) for ejecting ink is mounted on the print carriage 1, and the print carriage 1 controls the inkjet printhead to eject ink droplets to a print medium placed on the print platform 3 during the reciprocation along the support beam 2 to obtain a print product. The accuracy of the printed product in the direction along the support beam 2 is determined by the resolution of the grating scale mounted on the support beam 2.
Referring to fig. 2, an embodiment of the present invention provides a precision adjustment method for implementing arbitrary precision printing, including the following steps:
s1, acquiring pulse precision of a grating and printing precision of an image to be printed;
the pulse precision of the grating in the printing equipment is the precision obtained by multiplying the resolution of the grating ruler by a frequency multiplier, in the embodiment, the subdivision method adopted by the frequency multiplier is a quadruple frequency method, the quadruple frequency method is that four photoelectric elements which are evenly arranged in a moire fringe interval are used for obtaining four grating signals with the phase difference of 90 degrees, and the four grating signals become the required pulse precision obtained by quadruple frequency counting pulse through a counting circuit and a coding circuit; if the resolution of the grating ruler of the printing device is 180dpi, the frequency multiplication precision of the frequency multiplier is 720dpi, and the pulse precision of the printing device is 720dpi.
S2, acquiring subdivision coefficients of the pulse precision according to the pulse precision and the printing precision;
specifically, the least common multiple of the pulse precision and the printing precision is obtained, and the subdivision coefficient of the pulse precision is obtained according to the least common multiple and the pulse precision; wherein the least common multiple is equal to the intermediate precision. As in the present embodiment, the pulse accuracy is 720dpi, the printing accuracy is 480dpi, the least common multiple thereof is 1440dpi, and the subdivision coefficient of the pulse accuracy is 2; as in the other embodiment, the pulse accuracy is 720dpi, the printing accuracy is 540dpi, the least common multiple thereof is 2160dpi, and the subdivision coefficient of the pulse accuracy is 3.
S3, subdividing the pulse precision according to the subdivision coefficient to obtain intermediate precision;
specifically, referring to fig. 3, the step S3 specifically includes the following steps:
s31, acquiring a clock frequency division value for splitting and counting pulse signals of the grating according to the subdivision coefficient;
s32, controlling a first counter to count according to the clock frequency division value to obtain a first count value;
s33, controlling a second counter to count each pulse signal of the grating to obtain a second count value;
s34, obtaining the intermediate precision according to the first count value and the second count value.
Specifically, the original clock frequency division value of the nozzle during each ink discharge in the process of printing according to the pulse precision in the program system is obtained, the original clock frequency division value is split according to the subdivision coefficient to obtain a split clock frequency division value, then a first counter in the system is adopted to count the clock frequency division value, a second counter is adopted to count pulse signals, finally the first count value and the second count value are added or subtracted to obtain the intermediate precision, and errors generated by one counter can be avoided by adopting the two counters.
Preferably, when the trigger edge of the pulse signal is detected, the second count value adds or subtracts the subdivision coefficient value to obtain a third count value, and the first count value is cleared, so that not only the generation of a count error can be avoided, but also the error of a certain counter can be eliminated. Wherein, as shown in FIG. 4, the pulse signal comprises a first pulse signal P A And a second pulse signal P B The phase of the first pulse signal leads the phase of the second pulse signal by 90 °.
Specifically, when the detected trigger edge of the first pulse signal is the first pulse signal P A The third count value P c2 Calculated by the following formula:
P c2 =P c1 +c
when the detected trigger edge of the first pulse signal is the second pulse signal P B The third count value P c2 Calculated by the following formula:
P c2 =P c1 -c
wherein P is c1 Representing the second count value, P c2 Representing the third count value and c representing a subdivision coefficient.
In another embodiment, the phase of the first pulse signal lags behind the phase of the second pulse signal by 90 °, and the calculation method of the third calculated value is the same as the calculation method of the above embodiment.
Preferably, referring to fig. 5, in this embodiment, the step S31 specifically includes:
s311, acquiring a first clock frequency division value for splitting and counting each pulse signal of the grating according to the subdivision coefficient;
s312, controlling a first counter to count according to the first clock frequency division value of each pulse signal to obtain a first count value of each pulse signal splitting;
specifically, the method includes the steps of splitting each pulse signal to obtain a first clock frequency division value of each pulse signal, counting the first clock frequency division value of each pulse signal, accurately obtaining a count value of each pulse signal, if splitting the first pulse signal according to the first clock frequency division value of the first pulse signal, counting by a first counter when the system counts to pass the first clock frequency division value of the first pulse signal, wherein the first count value is 0, adding 1 to the first counter on the basis of the first count value when the system counts to pass the first clock frequency division value of the first pulse signal again, and resetting the first count value of the first counter until the next rising edge of the pulse signal is encountered; splitting the second pulse signal according to the first clock frequency division value of the second pulse signal, starting counting by the first counter when the system counts the first clock frequency division value of the second pulse signal, wherein the first count value is 0, adding 1 to the first count value by the first counter when the system counts the first clock frequency division value of the second pulse signal again, and resetting the first count value of the first counter until the rising edge of the pulse signal is encountered next time; the first count value of each pulse signal is thus repeatedly counted.
The first clock frequency division value N time1 Obtained by calculation by the following formula:
wherein f represents the system clock frequency, V is printed the speed, d represents the grid precision of the grating ruler, c represents the subdivision coefficient, and the printing speed is the speed that the printing trolley moves along the supporting beam. For example, in the present embodiment, the system clock frequency f is 100000000, the printing speed V is 1000mm/s, the grid precision d of the grating scale is 180dpi, the subdivision coefficient is 3, and the obtained clock frequency division value N is calculated time1 =882。
Preferably, referring to fig. 6, in another embodiment, the step S31 specifically includes:
s321, acquiring a second clock frequency division value for splitting and counting a first pulse signal of the grating according to the subdivision coefficient;
s322, controlling a first counter to count according to the second clock frequency division value of the first pulse signal to obtain a first count value for splitting each pulse signal;
specifically, the method includes the steps of splitting a first pulse signal to obtain a second clock frequency division value of the first pulse signal, then splitting and counting each pulse signal according to the second clock frequency division value of the first pulse signal, for example, splitting the first pulse signal according to the second clock frequency division value of the first pulse signal, counting by a first counter when the system counts to pass the second clock frequency division value of the first pulse signal, wherein the first count value is 0, adding 1 to the first count value on the basis of the first count value when the system counts to pass the second clock frequency division value of the first pulse signal again, and resetting the first count value of the first counter until the next rising edge of the pulse signal is encountered; splitting the second pulse signal according to the second clock frequency division value of the first pulse signal, starting counting by the first counter when the system counts the second clock frequency division value of the first pulse signal, wherein the first count value is 0, adding 1 to the first count value by the first counter when the second clock frequency division value of the first pulse signal is counted again, and resetting the first count value of the first counter until the rising edge of the pulse signal is encountered next time; the first count value of each pulse signal is thus repeatedly counted. The adoption of the subdivision method avoids the deviation of counting caused by inconsistent pulse signal intervals due to uneven grids on the grating ruler,
the second clock frequency division value N time Obtained by calculation by the following formula:
wherein N is num Representing the number of clocks used to pass through two adjacent grids on the raster, c representing the subdivision coefficient, depending on the print speed.
S4, acquiring a counting coefficient of the intermediate precision according to the printing precision and the intermediate precision;
specifically, acquiring a subdivision coefficient of the intermediate precision according to the least common multiple and the printing precision; wherein the least common multiple is equal to the intermediate precision. As in the present embodiment, the pulse accuracy is 720dpi, the printing accuracy is 480dpi, the least common multiple thereof is 1440dpi, and the count coefficient of the intermediate accuracy is 3; as in the other embodiment, the pulse accuracy is 720dpi, the printing accuracy is 540dpi, the least common multiple thereof is 2160dpi, and the subdivision coefficient of the intermediate accuracy is 4.
S5, frequency division is carried out on the intermediate precision according to the counting coefficient to obtain the printing precision.
Specifically, referring to fig. 7, the step S5 specifically includes the following steps:
s51, determining a value for igniting the nozzle to discharge ink in the third counting value according to the counting coefficient, and recording an ink counting value;
and S52, controlling the ink outlet of the nozzle according to the ink outlet count value to obtain the printing precision.
Specifically, if the third count value is 0, 1, 2, 3, 4, 5, 6, 7, … … 1437, 1439, 1440, and the count coefficient is 3, when the third count value is 0, 3, 6, 9 … … N, N is a natural number, the system controls the nozzle to fire out ink for printing, and the precision of the printed image is 480dpi.
Referring to fig. 8, an embodiment of the present invention provides a precision adjusting apparatus for implementing arbitrary precision printing, the apparatus including:
the precision acquisition module 10 is used for acquiring the pulse precision of the grating and the printing precision of the image to be printed;
a subdivision coefficient acquisition module 20, configured to acquire a subdivision coefficient of the pulse precision according to the pulse precision and the printing precision;
an intermediate precision obtaining module 30, configured to subdivide the pulse precision according to the subdivision coefficient to obtain an intermediate precision;
a count coefficient obtaining module 40, configured to obtain a count coefficient of the intermediate precision according to the printing precision and the intermediate precision;
and the printing precision obtaining module 50 is configured to count the intermediate precision according to the count coefficient to obtain the printing precision.
Preferably, the intermediate accuracy acquisition module 30 includes:
the clock frequency division value acquisition unit is used for acquiring a clock frequency division value for splitting and counting the pulse signals of the grating according to the subdivision coefficient;
the first count value acquisition unit is used for controlling the first counter to count according to the clock frequency division value to acquire a first count value;
the second count value acquisition unit is used for controlling a second counter to count each pulse signal of the grating to acquire a second count value;
and the intermediate precision acquisition unit is used for acquiring the intermediate precision according to the first count value and the second count value.
Preferably, the clock division value acquisition unit further includes: the first clock frequency division value is used for carrying out split counting on each pulse signal of the grating according to the subdivision coefficient;
the first count value acquisition unit further includes: and the first counter is used for controlling the first counter to count according to the first clock frequency division value of each pulse signal so as to obtain a first count value of each pulse signal split.
Preferably, the first clock divider value N time1 Obtained by calculation by the following formula:
wherein f represents the system clock frequency, V the printing speed, d represents the grid precision of the grating ruler, and c represents the subdivision coefficient.
Preferably, the clock division value acquisition unit further includes: the second clock frequency division value is used for carrying out split counting on the first pulse signal of the grating according to the subdivision coefficient;
the first count value acquisition unit further includes: and the first counter is used for controlling the first counter to count according to the second clock frequency division value of the first pulse signal to obtain a first count value for splitting each pulse signal.
Preferably, the second clock frequency division value N time2 Obtained by calculation by the following formula:
wherein N is num Representing the number of clocks used to pass through two adjacent grids on the raster, c representing the subdivision coefficient, depending on the print speed.
Preferably, the apparatus further comprises:
the counter zero clearing module is used for adjusting the second count value according to the subdivision coefficient to obtain a third count value and clearing the first count value when the trigger edge of the pulse signal is detected, the pulse signal comprises a first pulse signal and a second pulse signal, and the phase of the first pulse signal is advanced or delayed by 90 degrees relative to the phase of the second pulse signal;
the step of adjusting the second count value according to the subdivision coefficient to obtain a third count value includes:
when the detected trigger edge of the first pulse signal is the trigger edge of the first pulse signal, the third count value P c2 Calculated by the following formula:
P c2 =P c1 +c
when the detected trigger edge of the first pulse signal is the trigger edge of the second pulse signalAt the time, the third calculated value P c2 Calculated by the following formula:
P c2 =P c1 -c
wherein P is c1 Representing the second count value, P c2 Representing the third count value and c representing a subdivision coefficient.
Preferably, the print accuracy acquisition module 50 includes:
an ink-out count value unit for determining the value for igniting the nozzle to output ink in the third count value according to the count coefficient to record an ink-out count value;
and the printing precision acquisition unit is used for controlling the ink outlet of the spray head according to the ink outlet count value to obtain the printing precision.
Preferably, the subdivision coefficient obtaining module 20 includes:
the minimum common multiple obtaining unit is used for obtaining the minimum common multiple of the pulse precision and the printing precision;
the subdivision coefficient acquisition unit is used for acquiring subdivision coefficients of the pulse precision according to the least common multiple and the pulse precision;
the count coefficient acquisition module 40 includes:
the counting coefficient acquisition unit is used for acquiring the counting coefficient of the intermediate precision according to the least common multiple and the printing precision;
wherein the least common multiple value is equal to the intermediate precision value.
In addition, the accuracy adjustment method for realizing arbitrary accuracy printing of the embodiment of the present invention described in connection with fig. 2 may be realized by an accuracy adjustment apparatus for realizing arbitrary accuracy printing. Fig. 9 shows a schematic hardware configuration of a precision adjusting apparatus for realizing arbitrary precision printing provided by an embodiment of the present invention.
The precision adjusting apparatus that realizes arbitrary precision printing may include a processor 401 and a memory 402 storing computer program instructions.
In particular, the processor 401 described above may include 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 implementing embodiments of the present invention.
Memory 402 may include mass storage for data or instructions. By way of example, and not limitation, memory 402 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. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. Memory 402 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 402 is a non-volatile solid state memory. In a particular embodiment, the memory 402 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 401 reads and executes the computer program instructions stored in the memory 402 to realize any one of the above-described embodiments to realize the precision adjustment method of arbitrary precision printing.
In one example, a precision adjustment device that implements arbitrary precision printing may also include a communication interface 403 and a bus 410. As shown in fig. 9, the processor 401, the memory 402, and the communication interface 403 are connected to each other by a bus 410 and perform communication with each other.
The communication interface 403 is mainly used to implement communication between each module, device, unit and/or apparatus in the embodiment of the present invention.
The bus 410 includes hardware, software, or both, coupling components of a precision adjusting device that implements arbitrary precision printing 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. Bus 410 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.
In addition, in combination with the method for adjusting the precision of printing with any precision in the above embodiments, embodiments 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 above embodiments of a precision adjustment method for implementing arbitrary precision printing.
In summary, according to the method, the device, the equipment and the medium for adjusting the precision for realizing the printing with any precision provided by the embodiment of the invention, the subdivision coefficient meeting the pulse precision and the printing precision is obtained according to the pulse precision and the printing precision, the pulse precision is split according to the subdivision coefficient to obtain the intermediate precision, and then the intermediate precision is divided to obtain the printing precision, and the subdivision coefficient is obtained according to the pulse precision and the printing precision, so that the intermediate precision can meet the frequency division of the printing precision, the situation that the frequency division cannot be realized is avoided, and the printing with any printing precision is realized.
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.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
In the foregoing, only the specific embodiments of the present invention are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present invention is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and they should be included in the scope of the present invention.

Claims (11)

1. A precision adjustment method for realizing arbitrary precision printing, the method comprising:
acquiring the pulse precision of the grating and the printing precision of an image to be printed;
acquiring subdivision coefficients of the pulse precision according to the pulse precision and the printing precision;
subdividing the pulse precision according to the subdivision coefficient to obtain intermediate precision, including: acquiring a clock frequency division value for splitting and counting the pulse signals of the grating according to the subdivision coefficient; controlling a first counter to count according to the clock frequency division value to obtain a first count value; controlling a second counter to count each pulse signal of the grating to obtain a second count value; adding or subtracting the first count value and the second count value to obtain the intermediate precision;
acquiring a counting coefficient of the intermediate precision according to the printing precision and the intermediate precision;
and counting the intermediate precision according to the counting coefficient to obtain the printing precision.
2. The method for adjusting precision for implementing arbitrary precision printing according to claim 1, wherein the obtaining the clock division value for splitting and counting the pulse signal of the raster according to the subdivision coefficient includes:
acquiring a first clock frequency division value for splitting and counting each pulse signal of the grating according to the subdivision coefficient;
the controlling the first counter to count according to the clock frequency division value to obtain a first count value includes:
and controlling a first counter to count according to the first clock frequency division value of each pulse signal to obtain a first count value of each pulse signal split.
3. The method for adjusting precision for implementing arbitrary precision printing as defined in claim 2, wherein said first clock division value N time1 Obtained by calculation by the following formula:
wherein f represents the system clock frequency, V the printing speed, d represents the grid precision of the grating ruler, and c represents the subdivision coefficient.
4. The method for adjusting precision for implementing arbitrary precision printing according to claim 1, wherein the obtaining the clock division value for splitting and counting the pulse signal of the raster according to the subdivision coefficient includes:
acquiring a second clock frequency division value for splitting and counting the first pulse signal of the grating according to the subdivision coefficient;
the controlling the first counter to count according to the clock frequency division value to obtain a first count value includes:
and controlling a first counter to count according to the second clock frequency division value of the first pulse signal to obtain a first count value for splitting each pulse signal.
5. The method for adjusting precision for implementing arbitrary precision printing as defined in claim 4, wherein said second clock division value N time2 Obtained by calculation by the following formula:
wherein N is num Representing the number of clocks used to pass through two adjacent grids on the raster, c representing the subdivision coefficient, depending on the print speed.
6. A precision adjusting method for realizing arbitrary precision printing according to claim 2 or 3, characterized in that the method further comprises:
when the triggering edge of the pulse signal is detected, the second count value is adjusted according to the subdivision coefficient to obtain a third count value, and meanwhile the first count value is cleared, the pulse signal comprises a first pulse signal and a second pulse signal, and the phase of the first pulse signal is advanced or delayed by 90 degrees relative to the phase of the second pulse signal;
the step of adjusting the second count value according to the subdivision coefficient to obtain a third count value includes:
when the detected trigger edge of the first pulse signal is the trigger edge of the first pulse signal, the third count value P c2 Calculated by the following formula:
P c2 =P c1 +c
when the detected trigger edge of the first pulse signal is the trigger edge of the second pulse signal, the third count value P c2 Calculated by the following formula:
P c2 =P c1 -c
wherein P is c1 Representing the second count value, P c2 Representing the third count value and c representing a subdivision coefficient.
7. The method for adjusting precision for implementing arbitrary precision printing according to claim 6, wherein said counting said intermediate precision according to said count coefficient to obtain said printing precision comprises:
determining a value for igniting the nozzle to discharge ink in the third counting value according to the counting coefficient to record an ink counting value;
and controlling the ink outlet of the spray head according to the ink outlet count value to obtain the printing precision.
8. The method for adjusting the precision of printing according to any one of claims 1 to 5, wherein,
the obtaining the subdivision coefficient of the pulse precision according to the pulse precision and the printing precision comprises the following steps:
acquiring the least common multiple of the pulse precision and the printing precision;
acquiring subdivision coefficients of the pulse precision according to the least common multiple and the pulse precision;
the obtaining the count coefficient of the intermediate precision according to the printing precision and the intermediate precision includes:
obtaining a counting coefficient of the intermediate precision according to the least common multiple and the printing precision;
wherein the least common multiple value is equal to the intermediate precision value.
9. A precision adjusting device for realizing arbitrary precision printing, the device comprising:
the precision acquisition module is used for acquiring the pulse precision of the grating and the printing precision of the image to be printed;
the subdivision coefficient acquisition module is used for acquiring subdivision coefficients of the pulse precision according to the pulse precision and the printing precision;
the intermediate precision obtaining module is configured to subdivide the pulse precision according to the subdivision coefficient to obtain an intermediate precision, and includes: acquiring a clock frequency division value for splitting and counting the pulse signals of the grating according to the subdivision coefficient; controlling a first counter to count according to the clock frequency division value to obtain a first count value; controlling a second counter to count each pulse signal of the grating to obtain a second count value; adding or subtracting the first count value and the second count value to obtain the intermediate precision;
the counting coefficient acquisition module is used for acquiring the counting coefficient of the intermediate precision according to the printing precision and the intermediate precision;
and the printing precision acquisition module is used for counting the intermediate precision according to the counting coefficient to obtain the printing precision.
10. An accuracy adjusting apparatus that realizes arbitrary accuracy printing, 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-8.
11. A storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1-8.
CN201911306552.4A 2019-12-18 2019-12-18 Precision adjusting method, device, equipment and medium for realizing arbitrary precision printing Active CN111026341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911306552.4A CN111026341B (en) 2019-12-18 2019-12-18 Precision adjusting method, device, equipment and medium for realizing arbitrary precision printing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911306552.4A CN111026341B (en) 2019-12-18 2019-12-18 Precision adjusting method, device, equipment and medium for realizing arbitrary precision printing

Publications (2)

Publication Number Publication Date
CN111026341A CN111026341A (en) 2020-04-17
CN111026341B true CN111026341B (en) 2024-02-09

Family

ID=70210127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911306552.4A Active CN111026341B (en) 2019-12-18 2019-12-18 Precision adjusting method, device, equipment and medium for realizing arbitrary precision printing

Country Status (1)

Country Link
CN (1) CN111026341B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111721210B (en) * 2020-06-19 2021-11-12 深圳市汉森软件有限公司 Initialization method, device, equipment and medium after conversion of logical raster resolution
CN114055932B (en) * 2020-07-30 2022-10-21 深圳市汉森软件有限公司 Method, device and equipment for printing on surface of rotating body and storage medium
CN112158016B (en) * 2020-08-18 2021-11-05 固高科技股份有限公司 Engraving method and device based on frequency division and frequency multiplication, computer equipment and storage medium
CN114347650B (en) * 2020-10-13 2023-06-09 深圳市汉森软件有限公司 Image precision self-adaptive printing method, device, equipment and storage medium
CN114379228B (en) * 2020-10-16 2023-02-21 森大(深圳)技术有限公司 Cylindrical surface printing control method, device, printer and storage medium
CN112776492B (en) * 2020-12-31 2022-11-08 苏州工业园区鑫海胜电子有限公司 Printing method without physical grating
CN115447282B (en) * 2021-06-08 2023-08-15 深圳市汉森软件有限公司 Abnormal nozzle compensation printing method, device, equipment and storage medium
CN114347679B (en) * 2021-12-31 2022-11-29 东莞市启思达智能技术有限公司 Variable-precision signal processing method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5306084A (en) * 1990-06-15 1994-04-26 Seiko Epson Corporation Printing control system and the method
JPH10138552A (en) * 1996-11-08 1998-05-26 Casio Electron Mfg Co Ltd Printer system
JPH11198446A (en) * 1998-01-07 1999-07-27 Oki Data Corp Signal conversion circuit, signal converting method, motor operation detecting circuit and print controller
JP2001195220A (en) * 1999-11-02 2001-07-19 Canon Inc Device and system for processing image and method for controlling the same and method for processing image data and image forming device and method and device for controlling the same and storage medium
US6680784B1 (en) * 1998-06-03 2004-01-20 Seiko Epson Corporation High speed printer with the ability to print at different print densities
CN1628974A (en) * 2003-12-17 2005-06-22 三星电子株式会社 Image forming apparatus and high-resolution printing method in a horizontal direction

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2133209A3 (en) * 2008-06-12 2010-02-24 Toshiba TEC Kabushiki Kaisha Printing apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5306084A (en) * 1990-06-15 1994-04-26 Seiko Epson Corporation Printing control system and the method
JPH10138552A (en) * 1996-11-08 1998-05-26 Casio Electron Mfg Co Ltd Printer system
JPH11198446A (en) * 1998-01-07 1999-07-27 Oki Data Corp Signal conversion circuit, signal converting method, motor operation detecting circuit and print controller
US6680784B1 (en) * 1998-06-03 2004-01-20 Seiko Epson Corporation High speed printer with the ability to print at different print densities
JP2001195220A (en) * 1999-11-02 2001-07-19 Canon Inc Device and system for processing image and method for controlling the same and method for processing image data and image forming device and method and device for controlling the same and storage medium
CN1628974A (en) * 2003-12-17 2005-06-22 三星电子株式会社 Image forming apparatus and high-resolution printing method in a horizontal direction

Also Published As

Publication number Publication date
CN111026341A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN111026341B (en) Precision adjusting method, device, equipment and medium for realizing arbitrary precision printing
CN111730995B (en) Scanning type ink-jet printing control method, device, equipment and storage medium
CN110421984B (en) Reciprocating scanning printing control method, device, equipment and storage medium
CN109272471B (en) Printing data feathering processing method, device, equipment and storage medium
CN110039901B (en) Oneepass inkjet printing control method, device, equipment and medium
CN110688074B (en) Method, device and equipment for distributing data for multi-nozzle printing and storage medium
CN109263280B (en) Oneepass ink-jet printing method, device, equipment and storage medium
CN113829755B (en) Method, apparatus, device and medium for compensating drop deviation in bidirectional printing
CN110027325B (en) Printing control method, device, equipment and printer
CN109263279B (en) Oneepass ink-jet printing method, device, equipment and storage medium
CN111347793B (en) Digital nozzle splicing error processing method and device, printing equipment and storage medium
CN110202936B (en) Method, device, equipment and medium for detecting whether nozzle is abnormal or not based on state diagram
CN111045609B (en) Ink jet printing method, device, equipment and storage medium
CN114347650B (en) Image precision self-adaptive printing method, device, equipment and storage medium
CN110949023B (en) Raster dither error correction method, raster dither error correction device, printing apparatus, and storage medium
CN110163307B (en) Printing method, device, equipment and medium capable of adjusting label position in real time
CN114103459B (en) Ink jet control method, device, equipment and storage medium
US6654508B1 (en) Correction and interpolation of position encoders
CN110341311B (en) Oneepass printing data shielding processing method, device, equipment and storage medium
CN110865779B (en) Data extraction method, device, equipment and storage medium for single-nozzle multicolor printing
CN110175007B (en) Method, device, equipment and storage medium for triggering printer to print
CN116414318A (en) Inkjet printing data processing method, device, equipment and medium
CN113895151B (en) Printing data fault tolerance processing method, device, equipment and storage medium
CN114683727B (en) Multi-step distance error calibration method, device, equipment and storage medium
CN113733752B (en) Method, device, equipment and medium for generating identifiable points by printing

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