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, process, printed.That is, imaging data is once inputted, 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 printing body (such 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 printing body (such as paper).
Usually, the code signal that digital printing system need to be by encoder positions the displacement of printing body, to guarantee printing quality.
Digital printing system adopts encoder as the control device of printing body displacement, is that the operating characteristic by encoder decides.Encoder is a kind of digital transducer, and not only precision is high for it, antijamming capability is strong, good stability, measurement category are large, and is easy to and computer interface is realized intelligent.So digital printing system adopts encoder as the control device of 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 produces is determined by the mechanical location of the code-disc of encoder, the impact that it is not had a power failure, disturbs.
Now take the photoelectric encoder as example, the structure of absolute type encoder is described.Code-disc at the photoelectric encoder has many roads groove, and the per pass groove is successively with 2 lines, 4 lines, 8 lines, 16 lines ... carry out layout, and at per pass optoelectronic components is installed.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 that mechanical location determines, 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 that absolute type encoder has that a kind of antijamming capability is strong, the operating characteristic of good stability.Because this type of encoder has good operating characteristic, so be applied to more and more widely angle, linear measure longimetry and positioning control in the various industrial systems.
Therefore, when the signal deciding image-forming block that provides by encoder in the digital printing system sprays ink droplet, consistent so that image-forming block ink jet process and output block are the straight-line displacement of printing body.
In sum, digital printing system need to accurately be located by the code signal of encoder the displacement of printing body, like this quality of guarantee printing.But, the code signal of encoder whether can the Precise Representation printing body displacement depend on the precision of encoder axle, if the precision of encoder axle does not reach requirement, can affect the accuracy of the code signal of encoder, and then affect the quality that digital printer is printed.So, in actual applications, for the quality that guarantees that digital printer is printed, just the encoder with high-precision encoder axle must be installed, thereby when cost increased, digital printing system also had been subject to using the restriction of encoder requirement.
Summary of the invention
Therefore, in order how to solve the actual output displacement with the code signal Precise Representation output block of encoder of the prior art, be not subjected to the problem of the impact 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 the pinpoint method of absolute type encoder and control device, it can make the displacement of the code signal Precise Representation output block of encoder, and can not be subjected to the impact of encoder axle precision, thereby utilize the method and device 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.
For the foregoing invention purpose, technical scheme provided by the present invention is a kind of absolute type encoder to be carried out pinpoint method, gather and proofread and correct by the code signal to absolute type encoder output, and produce to proofread and correct the result, make encoder according to the code signal of proofreading and correct the output displacement that result's output can the Precise Representation output block.
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 that each code signal is corresponding according to the test displacement, and according to certain algorithm code signal is proofreaied and correct; With
(e) loop (a) to (c) step, until be judged as when accurate when the code signal of described encoder, then generate 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 according to the code signal of checking list output energy Precise Representation output block displacement.
Further, signal of the every output of encoder is all also exported the code signal of energy Precise Representation output block displacement by the query correction table.
Particularly, in (b) of the present invention step, output block is the printing body with uniform grid, and the test displacement embodies with the form that forms test pattern in printing body.
And, whether consistent by the distance between centers of tracks between each line that utilizes the test pattern on the printing body in (c) of the present invention step, thus whether the code signal of judging encoder accurately reflects the displacement of printing body.
And then, in (d) of the present invention step, utilize grid on the printing body to determine the displacement of the corresponding printing body 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, arrange that code signal to absolute type encoder output gathers, correction and output device, described means for correcting produces proofreaies and correct the result, makes encoder according to the code signal of proofreading and correct the output displacement that result's output can the Precise Representation output block
Described collection, correction and output device comprise: receiving element is used for receiving the signal from absolute type encoder; Identifying unit be used for to be judged the displacement that can code signal that receiving element receives the Precise Representation output block; Correcting unit, its utilize certain algorithm draw can the displacement of Precise Representation output block signal, and generate the code device signal checking list; And output unit, for the signal of encoder output energy Precise Representation output block displacement after the checking list inquiry that correcting unit produces.
Further, in output unit of the present invention, the checking list that signal of the every output of encoder all produces by the query correction unit is just exported the code signal of energy Precise Representation output block displacement.
Further, output block described in the control device of the present invention is the printing body of printing machine.Have uniform grid on the described printing body, and after printing body forms test pattern, identifying unit is judged the whether displacement of Precise Representation printing body of code signal of encoder according to formed test pattern.
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 printing body, thereby judges the whether displacement of Precise Representation printing body of code signal of encoder.
Simultaneously, correcting unit of the present invention utilizes the grid of test pattern to determine the displacement of the corresponding printing body of code signal of each encoder, and adopts certain algorithm to draw the signal of Precise Representation printing body displacement.
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 of passing through to provide can gather the output encoder of absolute type encoder and proofread and correct, thereby realizes the goal of the invention that the code signal of encoder output can the Precise Representation output displacement.
The method that a kind of output encoder to absolute type encoder provided by the invention gathers and proofreaies 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 that each code signal is corresponding according to the test displacement, and according to certain algorithm described code signal is proofreaied and correct; With
(e) loop (a) to (c) step, until be judged as when accurate when the code signal of described encoder, then generate checking list.
Further, the control device that provides a kind of output encoder to absolute type encoder to gather and proofread and correct, the device that gathers and proofread and correct by the code signal that arranges absolute type encoder output, described means for correcting produces proofreaies and correct the result, makes encoder according to the code signal of proofreading and correct the output displacement that result's output can the Precise Representation output block.
Described collection and means for correcting in the control device that among the present invention the output encoder of absolute type encoder is gathered and proofreaies and correct comprise: receiving element is used for receiving the signal from absolute type encoder; Identifying unit be used for to be judged the displacement that can code signal that receiving element receives the Precise Representation output block; And correcting unit, its utilize certain algorithm draw can the displacement of Precise Representation output block signal, and generate the code device signal checking list.
Output block of the present invention is printing body.Have uniform grid on the described printing body, and after described printing body forms test pattern, identifying unit is judged the whether displacement of Precise Representation printing body of 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 printing body, thereby judges the whether displacement of Precise Representation printing body of code signal of encoder.
Correcting unit of the present invention utilizes the grid of test pattern to determine the displacement of the corresponding printing body of code signal of each described encoder, and adopts certain algorithm to draw the signal of Precise Representation printing body displacement.
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 can make the actual output displacement of the code signal Precise Representation output block of absolute type encoder by adopting above-mentioned method and control device, makes the displacement of output block not be subjected to the impact 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 printing body, thereby reduce the required precision of absolute type encoder axle and the impact 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 or below detailed description all be example and illustrative, be intended to the explanation that the invention provides to advocating, but not protection scope of the present invention limited.
The specific embodiment
Below in conjunction with Figure of description the specific embodiment of the present invention is described.
For goal of the invention of the present invention, provide a kind of to the pinpoint method of absolute type encoder and control device, can make the displacement of the code signal Precise Representation output block of encoder, and can not be subjected to the impact of encoder axle precision, thereby utilize the method and device 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 by the code signal to absolute type encoder output, and produce and proofread and correct the result, make encoder according to the code signal of proofreading and correct the output displacement that result's output can the Precise Representation output block.
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 that each code signal is corresponding 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) loop (a) to (c) step, until be judged as when accurate when the code signal of encoder, then generate checking list.
Finally, signal of the every output of encoder is all also exported the code signal of energy Precise Representation output block displacement by the described checking list of inquiry.
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 etc.In above-mentioned steps, described test displacement is the actual output displacement of execution unit, and it compares with the precise displacement that requires to reach, and generates checking list, thereby makes the displacement that the code signal of encoder can the Precise Representation output block.
For technical scheme of the present invention more clearly is described, existing in the digital printing system applied absolute type encoder be described in detail as example.
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 by the code signal to absolute type encoder output, make the displacement that the code signal of encoder output can the Precise Representation printing body.In the present embodiment, the printing body of digital printer is output block.In the system of printing machine, fixed image-forming block utilizes the code signal print image of encoder, makes image-forming block ink jet process and printing body straight-line displacement consistent.
Referring to Fig. 1, there is shown the flow process that code signal is gathered, judges, proofreaies 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 is in the printing body that can be used for the test printing quality, paper for example, upper printing test figure.In the present embodiment, described paper 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 printing body, 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 namely 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 printing body that the code signal of each encoder is corresponding 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 the displacement of encoder output energy Precise Representation printing body.
Then, circulation step 11 is to step 15, and namely printing test figure again proofreaies and correct again, 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 generates all by behind the described checking list of inquiry again output can Precise Representation the code signal of printing body displacement.
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 to the code signal of encoder, thereby made the displacement that the code signal of encoder output can the Precise Representation printing body, and then guaranteed 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 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 with the course of work of digital printing system technical scheme of the present invention is described.
In the present embodiment, take n position absolute type encoder as example.Digital printer is printed each line image according to the signal of encoder output at 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 on the print image whether Mi of the distance between centers of tracks between each line, if consistent, show and print accurately, show that namely 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 generate this moment does not have the bit shift compensation value; If inconsistent, then show the printing inaccuracy, show that namely code signal that encoder is exported can not accurately reflect the straight-line displacement of paper, thereby the straight-line displacement according to the corresponding paper of each code signal of the location positioning encoder 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, until test pattern print errorless after, then generate checking list and preservation, the checking list that generate this moment has the bit shift compensation value.
Generate after the checking list, no longer the direct coding signal is to the image-forming block of digital printing system for encoder, but signal of every output all needs to export the signal of Precise Representation printing body displacement to image-forming block behind the query correction table again.
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 printing body, 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 gather, proofread and correct and export the signal of absolute type encoder output, and produces and proofread and correct the result, thereby makes the displacement that the code signal of absolute type encoder output can the Precise Representation 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, for the signal of received code device; Identifying unit be used for to be judged the displacement that can code signal that receiving element receives the Precise Representation output block; Correcting unit, its algorithm that utilizes actual output with encoder to convert signal value to draw can the displacement of Precise Representation output block signal, and generate the code device signal checking list; And output unit, for the signal of encoder output energy Precise Representation output block displacement after the checking list inquiry that correcting unit produces.Finally, signal of the every output of encoder is all just exported the code signal of energy Precise Representation output block displacement by the checking list of query correction unit generation.
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 etc.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 still in the digital printing system applied absolute type encoder be described in detail as example.
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, proofreaies and correct and exports, and produce to proofread and correct the result, thereby make the displacement that the code signal of absolute type encoder output can the Precise Representation printing body.
Described collection, correction and output device comprise: receiving element 21 is used for receiving the signal from absolute type encoder; Identifying unit 22 be used for to be judged the displacement that can code signal that receiving element 21 receives the Precise Representation printing body, if can Precise Representation, then generates checking list, if can not, then proofread and correct; Correcting unit 23, if the displacement that the signal of encoder output can not the Precise Representation printing body, 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 the displacement of encoder output energy Precise Representation printing body, and generate checking list; With output unit 24, it can be implemented in the print procedure, the signal that output can the displacement of Precise Representation printing body after the inquiry 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 energy Precise Representation printing body displacement.
Have according to the code signal of encoder at the image-forming block of printing machine on the printing body of uniform grid after the printing test image, identifying unit 22 is judged the whether displacement of Precise Representation printing body of code signal of encoder according to the test pattern that prints.
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 printing body, thereby judges the whether displacement of Precise Representation printing body of code signal of encoder.
In the present embodiment, correcting unit utilizes the grid of test pattern to determine the displacement of the corresponding printing body of code signal of each encoder, and the algorithm that adopts the actual output of encoder to convert signal value to draws the signal of Precise Representation printing body displacement.
By adopting above-mentioned control device, make the displacement that the code signal of encoder can the Precise Representation printing body, 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 gathers and proofreaies and correct by the code signal to encoder, produce to proofread and correct the result, make the code signal of encoder utilize the code signal of the output displacement that described correction result output can the Precise Representation output block.The step that described method adopts 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 that each code signal is corresponding according to the test displacement, and according to the algorithm that the actual output with encoder converts signal value to code signal is proofreaied and correct; With
(e) loop (a) to (c) step, until be judged as when accurate when the code signal of encoder, then generate 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 absolute type encoder to gather and proofread and correct.Described control device comprises and gathering and means for correcting, is used for the code signal of absolute type encoder output is gathered and proofreaies and correct, thereby makes the displacement that the code signal of absolute type encoder output can the Precise Representation output block.Described collection and means for correcting comprise: receiving element is used for receiving the signal from absolute type encoder; Identifying unit be used for to be judged the displacement that can code signal that receiving element receives the Precise Representation output block; And correcting unit, its algorithm that utilizes actual output with encoder to convert signal value to draw can the displacement of Precise Representation output block signal, and generate 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 the accurate location to absolute type encoder, thereby, adopt the absolute type encoder with arbitrary axis precision can be extensively in the production to the industry manufacturing of angle, linear measure longimetry and positioning control.
Because in 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.