Background technology
Digital printing is the printing technology of high speed development in recent years, and its adopts the mode that data are directly transmitted, handle, printed.That is, imaging data is once imported, by the direct imaging of control system control image-forming block.Digital printing equipment for on-demand ink jet printing commonly used, image-forming block is under the control of control system, when the surface of the body of undertaking the printing of (as paper) arrives the precalculated position, piezo-electric crystal in the nozzle produces pulse printing ink is extruded, and directly to the vaporific ink droplet imaging of the jet surface of the body of undertaking the printing of (as paper).
Usually, the code signal that digital printing system need be by encoder positions the displacement of the body of undertaking the printing of, to guarantee printing quality.
Digital printing system adopts the control device of encoder as the displacement body of undertaking the printing of, and is that the operating characteristic by encoder decides.Encoder is a kind of digital transducer, and not only precision height, antijamming capability are strong for it, good stability, measurement category are big, and is easy to and computer interface is realized intelligent.So digital printing system adopts the control device of encoder as moving-member mostly at present.
As mentioned above, because encoder belongs to a kind of digital transducer, so encoder is actually a kind of sensor that angular displacement or straight-line displacement is converted to the signal of telecommunication.According to operation principle, encoder can be divided into increment type and absolute type two classes.Incremental encoder is to convert displacement to the periodic signal of telecommunication, again this signal of telecommunication is transformed into count pulse, represents the size of displacement with the number of pulse.
Absolute type encoder is a kind of digital transducer that directly angular displacement or linear displacement is converted to dual code (i.e. " 0 " and " 1 "), and the dual code that is produced is by the mechanical location decision of the code-disc of encoder, the influence that it is not had a power failure, disturbs.
Be example now, the structure of absolute type encoder is described with the photoelectricity absolute type encoder.Many roads groove is arranged on the code-disc of photoelectricity absolute type encoder, and the per pass groove is successively with 2 lines, 4 lines, 8 lines, 16 lines ... carry out layout, and optoelectronic components is installed on per pass.In application, each position of encoder is by reading the logical, dark of per pass groove, thus obtain one group from 2 zero degree side unique 2 scale codings (Gray code) to 2 n-1 power, this encoder is called n position absolute type encoder.
Since the corresponding definite digital code in each position of absolute type encoder, so its indicating value is only relevant with the initial sum final position of measuring, and irrelevant with the pilot process of measuring.That is to say that absolute type encoder has uniqueness by each position of mechanical location decision, it need not memory, need not to look for reference point, and need not count always, when needs location aware, when just goes to read its position.This has just determined absolute type encoder to have that a kind of antijamming capability is strong, the operating characteristic of good stability.Because this type of encoder has the good operation characteristic, so be applied to angle, linear measure longimetry and positioning control in the various industrial systems more and more widely.
Therefore, when the signal deciding image-forming block that provides by encoder in the digital printing system sprays ink droplet, and the straight-line displacement of body is consistent so that image-forming block ink jet process and output block are promptly undertaken the printing of.
In sum, digital printing system need accurately be located the displacement of the body of undertaking the printing of by the code signal of encoder, could guarantee the quality of printing like this.But, the precision of encoder axle is depended in whether can accurately represent the to undertake the printing of displacement of body of the code signal of encoder, if the precision of encoder axle does not reach requirement, can influence the accuracy of the code signal of encoder, and then influence the quality that digital printer is printed.So, in actual applications,, just the encoder with high-precision encoder axle must be installed, thereby when cost increased, digital printing system also had been subjected to using the restriction of encoder requirement for the quality that guarantees that digital printer is printed.
Summary of the invention
Therefore, in order to solve the actual output displacement of how code signal of encoder of the prior art accurately being represented output block, be not subjected to the problem of the influence of encoder axle precision with the output displacement of output block, to overcome existing deficiency in the prior art, the purpose of this invention is to provide a kind of to pinpoint method of absolute type encoder and control device, it can make the code signal of encoder accurately represent the displacement of output block, and can not be subjected to the influence of encoder axle precision, thereby utilize this method and apparatus in digital printing system, to improve the adaptivity of system and the machining accuracy of reduction encoder axle, finally guarantee the quality of digital printing.
At the foregoing invention purpose, technical scheme provided by the present invention is a kind of absolute type encoder to be carried out pinpoint method, by the code signal of absolute type encoder output is gathered and is proofreaied and correct, and produce the correction result, make encoder according to proofreading and correct the code signal that the output displacement of output block can be accurately represented in result's output.
Further, collection and the aligning step that absolute type encoder is carried out in the pinpoint method of the present invention comprises:
(a) absolute type encoder outupt coded signal;
(b) according to the code signal of encoder, displacement is tested in output block output;
(c) judge according to the test displacement whether the code signal of encoder accurately reflects the displacement of output block;
(d) determine the displacement of the output block of each code signal correspondence according to testing displacement, and code signal is proofreaied and correct according to certain algorithm; With
(e) (a) to (c) step is carried out in circulation, is judged as when accurate until the code signal when described encoder, then generates checking list.
By above step, can realize gathering and proofreading and correct to the code signal of encoder output, thereby the code signal that encoder is exported can accurately reflect the displacement of output block.
Thereby encoder of the present invention is exported the code signal that can accurately represent the output block displacement according to checking list.
Further, signal of the every output of encoder all can accurately be represented the code signal of output block displacement by query correction table and output.
Particularly, in (b) of the present invention step, output block is the body of undertaking the printing of with uniform grid, and the test displacement embodies with the form that forms test pattern on the body of undertaking the printing of.
And, whether consistent by the distance between centers of tracks that utilization is undertaken the printing of between each line of the test pattern on the body in (c) of the present invention step, thus whether the code signal of judging encoder accurately reflects the displacement of the body of undertaking the printing of.
And then, in (d) of the present invention step, utilize grid on the body of undertaking the printing of to determine the displacement of the pairing body of undertaking the printing of of code signal of each encoder.
In order to realize purpose of the present invention, it is a kind of to the pinpoint control device of absolute type encoder that the present invention also provides, be provided with to the code signal of absolute type encoder output gather, correction and output device, described means for correcting produces proofreaies and correct the result, makes encoder according to proofreading and correct the code signal that the output displacement of output block can be accurately represented in result's output
Described collection, correction and output device comprise: receiving element is used to receive the signal from absolute type encoder; Identifying unit is used to judge that can code signal that receiving element receives accurately represent the displacement of output block; Correcting unit, it utilizes certain algorithm to draw the signal that can accurately represent the output block displacement, and generates the code device signal checking list; And output unit, be used for the signal that the output block displacement can be accurately represented in encoder output after the checking list inquiry that correcting unit produces.
Further, in output unit of the present invention, signal of the every output of encoder is all just exported the code signal that can accurately represent the output block displacement by the checking list that the query correction unit produces.
Further, output block described in the control device of the present invention is the body of undertaking the printing of of printing machine.Have uniform grid on the described body of undertaking the printing of, and form on the body of undertaking the printing of after the test pattern, accurately whether the code signal that identifying unit is judged encoder according to formed test pattern the undertake the printing of displacement of body of expression.
Thereby whether identifying unit of the present invention is consistent according to the distance between centers of tracks between each line that is formed on the test pattern on the body of undertaking the printing of, the displacement of body thereby whether the code signal of judging encoder is accurately represented to undertake the printing of.
Simultaneously, correcting unit of the present invention utilizes the grid of test pattern to determine the displacement of the pairing body of undertaking the printing of of code signal of each encoder, and adopts certain algorithm to draw the undertake the printing of signal of displacement body of accurate expression.
According to inventive concept of the present invention, method and its control device that the present invention also provides a kind of output encoder to absolute type encoder to gather and proofread and correct.The technical scheme that provided is provided, can is gathered and proofread and correct, thereby the code signal of realizing encoder output can accurately represent to export the goal of the invention of displacement the output encoder of absolute type encoder.
The method that a kind of output encoder to absolute type encoder provided by the invention is gathered and proofreaied and correct, the step of employing comprises:
(a) absolute type encoder outupt coded signal;
(b) according to the code signal of encoder, displacement is tested in output block output;
(c) judge according to the test displacement whether the code signal of encoder accurately reflects the displacement of output block;
(d) determine the displacement of the output block of each code signal correspondence according to testing displacement, and described code signal is proofreaied and correct according to certain algorithm; With
(e) (a) to (c) step is carried out in circulation, is judged as when accurate until the code signal when described encoder, then generates checking list.
Further, the control device that provides a kind of output encoder to gather and proofread and correct to absolute type encoder, by the device that the code signal of absolute type encoder output is gathered and proofreaied and correct is set, described means for correcting produces proofreaies and correct the result, makes encoder according to proofreading and correct the code signal that the output displacement of output block can be accurately represented in result's output.
Described collection and means for correcting in the control device of among the present invention the output encoder of absolute type encoder being gathered and being proofreaied and correct comprise: receiving element is used to receive the signal from absolute type encoder; Identifying unit is used to judge that can code signal that receiving element receives accurately represent the displacement of output block; And correcting unit, it utilizes certain algorithm to draw the signal that can accurately represent the output block displacement, and generates the code device signal checking list.
Output block of the present invention is the body of undertaking the printing of.Have uniform grid on the described body of undertaking the printing of, and form on the described body of undertaking the printing of after the test pattern, identifying unit is judged whether accurately represent the to undertake the printing of displacement of body of the code signal of encoder according to formed test pattern.
Whether identifying unit of the present invention is consistent according to the distance between centers of tracks between each line that is formed on the test pattern on the described body of undertaking the printing of, the displacement of body thereby whether the code signal of judging encoder is accurately represented to undertake the printing of.
Correcting unit of the present invention utilizes the grid of test pattern to determine the displacement of the pairing body of undertaking the printing of of code signal of each described encoder, and adopts certain algorithm to draw the undertake the printing of signal of displacement body of accurate expression.
The present invention's related algorithm in said method and device is a kind of method that the actual output of encoder is converted to signal value.
The present invention is by adopting above-mentioned method and control device, can make the code signal of absolute type encoder accurately represent the actual output displacement of output block, makes the displacement of output block not be subjected to the influence of encoder axle precision, thereby realizes purpose of the present invention.Adopt method of the present invention and control device, in digital printing system, can accurately locate the displacement of the body of undertaking the printing of, thereby reduce the required precision of absolute type encoder axle and the influence of logarithmic code print system print quality, and then improved the adaptivity of digital printing system and finished independent correction.
Should be understood that, for invention, the general introduction of front still be following detailed description all be example and illustrative, be intended to the explanation that the invention provides, but not protection scope of the present invention limited being advocated.
The specific embodiment
Below in conjunction with Figure of description the specific embodiment of the present invention is described.
At goal of the invention of the present invention, provide a kind of to pinpoint method of absolute type encoder and control device, can make the code signal of encoder accurately represent the displacement of output block, and can not be subjected to the influence of encoder axle precision, thereby utilize this method and apparatus in digital printing system, to improve the adaptivity of system and the machining accuracy of reduction encoder axle, finally guarantee the quality of digital printing.
According to inventive concept of the present invention, in the production that technical scheme of the present invention can be applicable to the industry of angle, linear measure longimetry and positioning control is made.For this reason, the invention provides a kind of to the pinpoint method of absolute type encoder.In the method, gather and proofread and correct, and produce the correction result, make encoder according to proofreading and correct the code signal that the output displacement of output block can be accurately represented in result's output by the code signal that absolute type encoder is exported.
Described collection and aligning step comprise:
(a) absolute type encoder outupt coded signal;
(b) according to the code signal of encoder, displacement is tested in output block output;
(c) judge according to the test displacement whether the code signal of encoder accurately reflects the displacement of output block;
(d) determine the displacement of the output block of each code signal correspondence according to the test displacement, and the algorithm that adopts actual output with encoder to convert signal value to is proofreaied and correct to code signal; With
(e) (a) to (c) step is carried out in circulation, is judged as when accurate until the code signal when encoder, then generates checking list.
Finally, signal of the every output of encoder all can accurately be represented the code signal of output block displacement by inquiring about described checking list and output.
In the present embodiment, described output block can be with the synchronous motor of absolute type encoder or by the execution unit of driven by motor.Described execution unit carries out linear displacement or angular displacement according to the code signal of absolute type encoder, thereby realizes for example purpose of the commercial Application of time switch, loaded with articles or the like.In above-mentioned steps, described test displacement is the actual output of execution unit displacement, and it compares with the precise displacement that requires to reach, and generates checking list, thereby makes the code signal of encoder can accurately represent the displacement of output block.
For technical scheme of the present invention more clearly is described, existing is example with applied absolute type encoder in the digital printing system, is described in detail.
Fig. 1 shows the schematic flow sheet to the pinpoint method of absolute type encoder according to the embodiment of the invention.In the present invention, gather and proofread and correct, make can accurately represent the to undertake the printing of displacement of body of the code signal of encoder output by code signal to absolute type encoder output.In the present embodiment, the body of undertaking the printing of of digital printer is an output block.In the system of printing machine, fixed image-forming block utilizes the code signal print image of encoder, makes the image-forming block ink jet process consistent with the body straight-line displacement of undertaking the printing of.
Referring to Fig. 1, there is shown the flow process that code signal is gathered, judges, proofreaied and correct and exports, concrete process description is as follows:
In step 11, the encoder outupt coded signal.
In the step 12, according to the signal of encoder output, the image-forming block of digital printer can be used for the body of undertaking the printing of of test printing quality, paper for example, last printing test figure.In the present embodiment, the described paper that is used for the test printing quality is the paper with uniform grid.Like this, one group of signal of the every output of encoder, the digital printer image-forming block prints line data, simultaneously, the signal of record coding device output.
In step 13, whether consistent according to the distance between centers of tracks between each line that is formed on the test pattern on the body of undertaking the printing of, judge whether printing is accurate.If described distance between centers of tracks meets consistent requirement, then show the test pattern printing accurately, accurately outupt coded signal of encoder just can be described, otherwise, show accurately outupt coded signal of encoder.
In step 14, if judge that encoder can not the precision encoding signal, contrast test image is then determined the displacement of the body of undertaking the printing of of the code signal correspondence of each encoder according to the grid on the test pattern.
In step 15, adopt the algorithm that the actual output of encoder is converted to signal value, the code signal of correcting coder makes encoder output can accurately represent the to undertake the printing of displacement of body.
Then, circulation step 11 is to step 15, and promptly printing test figure again proofreaies and correct once more, until step 13 judge test pattern be accurate till;
In step 16, when step 13 judges that test pattern is accurate, then generate the checking list of the code signal of encoder.
At last, encoder according to code signal of the every output of the checking list that is generated all by inquiring about behind the described checking list can accurately represent the to undertake the printing of code signal of displacement body of output again.
Because method of the present invention is the method for just carrying out after absolute type encoder is installed in digital printing system for the first time, so absolute type encoder is all no longer tested and proofreaied and correct after producing checking list.Thereby no matter encoder adopts the axle of which kind of precision, all can be installed in the digital printing system, just can guarantee the printing quality of digital printing system.
By above-mentioned steps, realized collection and correction, thereby made the code signal of encoder output can accurately represent the displacement of body of undertaking the printing of, and then guaranteed the printing quality of digital printing system the code signal of encoder.Simultaneously, overcome the deficiency that digital printing system in the prior art must adopt the encoder with high-precision encoder axle, made digital printing system do not used the restriction of encoder axle required precision.Also just say that by adopting method of the present invention, digital printing system can adopt the encoder with arbitrary axis precision.
For step that said method is described better with embody advantage of the present invention and characteristics, now still technical scheme of the present invention is described with the course of work of digital printing system.
In the present embodiment, be example with n position absolute type encoder.Digital printer is printed each line image according to the signal of encoder output on printing test paper.Suppose that the distance between centers of tracks between each line image is Mi, according to the grid on the print image, judge whether the distance between centers of tracks between each line is Mi on the print image, if it is consistent, show and print accurately, show that promptly code signal that encoder is exported can accurately reflect the straight-line displacement of paper, then generate checking lists according to above-mentioned steps 16, the checking list that generated this moment does not have the bit shift compensation value; If it is inconsistent, then show the printing inaccuracy, show that promptly code signal that encoder is exported can not accurately reflect the straight-line displacement of paper, thereby determine the straight-line displacement of the pairing paper of each code signal of encoder according to the position of printing test image on grid, and utilization converts the actual output of encoder to the code signal of the algorithm correcting coder of signal value, and printing test image again, after the test pattern printing is errorless, then generate checking list and preservation, the checking list that generate this moment has the bit shift compensation value.
Generate after the checking list, encoder no longer the direct coding signal to the image-forming block of digital printing system, but signal of every output all need to export again behind the query correction table one accurately the undertake the printing of signal of displacement body of expression give image-forming block.
Digital printing system is by the above-mentioned course of work, and the signal that encoder is exported can accurately show the straight-line displacement of the body of undertaking the printing of, thereby has realized encoder is accurately located.
The present invention has proposed a kind of to the pinpoint control device of absolute type encoder according to above-mentioned method.Described control device can be gathered, proofread and correct and export the signal of absolute type encoder output, and produces the correction result, thereby the code signal that absolute type encoder is exported can accurately be represented the displacement of output block.
It is a kind of to the pinpoint control device of absolute type encoder that the present invention proposes, and comprises collection, correction and output device.Described collection, correction and output device comprise: receiving element is used for the signal of received code device; Identifying unit is used to judge that can code signal that receiving element receives accurately represent the displacement of output block; Correcting unit, its algorithm that utilizes actual output with encoder to convert signal value to draws the signal that can accurately represent the output block displacement, and generates the code device signal checking list; And output unit, be used for the signal that the output block displacement can be accurately represented in encoder output after the checking list inquiry that correcting unit produces.Finally, signal of the every output of encoder is all just exported the code signal that can accurately represent the output block displacement by the checking list that the query correction unit produces.
In the present embodiment, described output block can be with the synchronous motor of absolute type encoder or by the execution unit of driven by motor.Described execution unit carries out linear displacement or angular displacement according to the code signal of absolute type encoder, thereby realizes for example purpose of the commercial Application of time switch, loaded with articles or the like.By adopting the control device of present embodiment, can realize absolute type encoder is accurately located.
Of the present invention to the pinpoint control device of absolute type encoder in order more clearly to illustrate, existing is example with applied absolute type encoder in the digital printing system still, is described in detail.
Fig. 2 shows the formation schematic diagram to the pinpoint control device of absolute type encoder according to the embodiment of the invention.
Among Fig. 2, of the present invention to the pinpoint control device of absolute type encoder, comprise and gathering and means for correcting, be used for the code signal of absolute type encoder output is gathered, proofreaied and correct and exports, and produce to proofread and correct the result, thereby make can accurately represent the to undertake the printing of displacement of body of the code signal of absolute type encoder output.
Described collection, correction and output device comprise: receiving element 21 is used to receive the signal from absolute type encoder; Identifying unit 22 is used to judge that can the code signal that receiving element 21 is received accurately represent the displacement of body of undertaking the printing of, if can accurately represent, then generates checking list, if can not, then proofread and correct; Correcting unit 23, the displacement of body if the signal of encoder output can not accurately be represented to undertake the printing of, then enter correcting unit, by the actual output of encoder being converted to the algorithm of signal value, the code signal of correcting coder, make encoder output can accurately represent the displacement of body of undertaking the printing of, and generate checking list; With output unit 24, it can be implemented in the print procedure, the inquiry back output signal of displacement body of accurately representing to undertake the printing of in the checking list that encoder produces by correcting unit 23.
In output unit 24 of the present invention, the checking list that signal of the every output of encoder all produces by query correction unit 23 is just exported the code signal of the displacement body of accurately representing to undertake the printing of.
Have according to the code signal of encoder at the image-forming block of printing machine on the body of undertaking the printing of of uniform grid after the printing test image, accurately whether the code signal that identifying unit 22 is judged encoder according to the test pattern that prints the undertake the printing of displacement of body of expression.
In the present embodiment, whether identifying unit is consistent according to the distance between centers of tracks that is formed between each line of the test pattern on the body of undertaking the printing of, the displacement of body thereby whether the code signal of judging encoder is accurately represented to undertake the printing of.
In the present embodiment, correcting unit utilizes the grid of test pattern to determine the displacement of the pairing body of undertaking the printing of of code signal of each encoder, and the algorithm that adopts the actual output of encoder to convert signal value to draws the undertake the printing of signal of displacement body of accurate expression.
By adopting above-mentioned control device, make the code signal of encoder can accurately represent the displacement of body of undertaking the printing of, thereby guarantee the printing quality of digital printing system.Simultaneously, overcome the deficiency that digital printing system in the prior art must adopt the encoder with high-precision encoder axle, made digital printing system do not used the restriction of encoder requirement.Also just say that by adopting control device of the present invention, digital printing system can adopt the encoder with arbitrary axis precision.
Further, according to inventive concept of the present invention, the method that the present invention also provides a kind of output encoder to absolute type encoder to gather and proofread and correct, it is by gathering and proofread and correct the code signal of encoder, produce and proofread and correct the result, make the code signal of encoder utilize described correction result output can accurately represent the code signal of the output displacement of output block.The step that described method adopted comprises:
(a) absolute type encoder outupt coded signal;
(b) according to the code signal of encoder, displacement is tested in output block output;
(c) judge according to the test displacement whether the code signal of encoder accurately reflects the displacement of output block;
(d) determine the displacement of the output block of each code signal correspondence according to the test displacement, and code signal is proofreaied and correct according to the algorithm that the actual output with encoder converts signal value to; With
(e) (a) to (c) step is carried out in circulation, is judged as when accurate until the code signal when encoder, then generates checking list.
By implementing technique scheme of the present invention, can proofread and correct the code signal of encoder, thereby make the code signal of encoder can accurately reflect the displacement of output block.
Simultaneously, further, the control device that also provides a kind of output encoder to gather and proofread and correct to absolute type encoder.Described control device comprises to be gathered and means for correcting, be used for the code signal of absolute type encoder output is gathered and proofreaied and correct, thereby the code signal that absolute type encoder is exported can accurately be represented the displacement of output block.Described collection and means for correcting comprise: receiving element is used to receive the signal from absolute type encoder; Identifying unit is used to judge that can code signal that receiving element receives accurately represent the displacement of output block; And correcting unit, its algorithm that utilizes actual output with encoder to convert signal value to draws the signal that can accurately represent the output block displacement, and generates the code device signal checking list.
Because absolute type encoder extensive use in industry understood by those skilled in the art, so this paper is no longer given unnecessary details for the application in other industry.But, of the present invention absolute type encoder is carried out pinpoint method and control device by adopting, can realize accurate location to absolute type encoder, thereby, adopt the absolute type encoder with arbitrary axis precision can be extensively in production to the industry manufacturing of angle, linear measure longimetry and positioning control.
Because under the situation that does not depart from the scope of the invention, can carry out various modifications and variations, therefore it is illustrative and nonrestrictive comprising in the above-mentioned explanation that all technical characterictics shown in the accompanying drawing or content be construed as.