Summary of the invention
The present invention is directed to solve one of the technical problem in above-mentioned technology at least to a certain extent.For this purpose, of the invention
One purpose is to propose a kind of method of adjustment of the synchronization signal resolution ratio of ink jet numbering machine, can be realized the synchronization signal of ink jet numbering machine
Resolution ratio is continuously adjustable, user-friendly, improves the scope of application of ink jet numbering machine.
Second object of the present invention is to propose a kind of adjustment device of the synchronization signal resolution ratio of ink jet numbering machine.
Third object of the present invention is to propose a kind of ink jet numbering machine.
In order to achieve the above objectives, first aspect present invention embodiment proposes a kind of synchronization signal resolution ratio of ink jet numbering machine
Method of adjustment, comprising the following steps: obtain the synchronization signal of encoder output in ink jet numbering machine;The rising edge of synchronization signal is carried out
Detection, to obtain the width of adjacent sync signal rising edge;It is calculated according to the width of adjacent sync signal rising edge by spray printing object
Body calculates respective synchronization letter with respect to the instantaneous velocity that ink jet numbering machine moves, and according to instantaneous velocity and preset synchronization signal resolution ratio
Number triggering moment, with output resolution ratio be continuously adjusted synchronization signal.
The method of adjustment of the synchronization signal resolution ratio of ink jet numbering machine according to an embodiment of the present invention, firstly, obtaining in ink jet numbering machine
The synchronization signal of encoder output;Then, the rising edge of synchronization signal is detected, to obtain adjacent sync signal rising edge
Width;Then, it is calculated by spray printing object according to the width of adjacent sync signal rising edge with respect to the instantaneous speed that ink jet numbering machine moves
Degree, and according to the triggering moment of instantaneous velocity and preset synchronization signal resolution ratio calculating respective synchronization signal, it is differentiated with exporting
The continuously adjustable synchronization signal of rate;Synchronization signal resolution ratio to realize ink jet numbering machine is continuously adjustable, user-friendly, improves
The scope of application of ink jet numbering machine.
In addition, the method for adjustment of the synchronization signal resolution ratio of the ink jet numbering machine proposed according to that above embodiment of the present invention can be with
With following additional technical characteristic:
Optionally, the instantaneous velocity calculates according to the following formula:
V=1/D0* T,
Wherein, V is the instantaneous velocity, D0For the resolution ratio of the synchronization signal of the encoder output, T is the adjacent sync
The width of signal rising edge.
Optionally, the triggering moment of the respective synchronization signal calculates according to the following formula:
t=D0*T/ D1,
Wherein, t is the triggering moment of the respective synchronization signal, D0For the resolution ratio of the synchronization signal of the encoder output, T
For the width of the adjacent sync signal rising edge, D1For the preset synchronization signal resolution ratio.
Optionally, the resolution ratio of the respective synchronization signal is continuously adjusted between 50-600DPI.
In order to achieve the above objectives, second aspect of the present invention embodiment proposes a kind of synchronization signal resolution ratio of ink jet numbering machine
Adjust device, comprising: module is obtained, for obtaining the synchronization signal of encoder output in ink jet numbering machine;Detection module, for institute
The rising edge for stating synchronization signal is detected, to obtain the width of adjacent sync signal rising edge;Adjustment module is calculated, root is used for
It calculates by spray printing object according to the width of the adjacent sync signal rising edge with respect to the instantaneous velocity that ink jet numbering machine moves, and according to institute
It states instantaneous velocity and preset synchronization signal resolution ratio calculates the triggering moment of respective synchronization signal, continuously may be used with output resolution ratio
The synchronization signal of tune.
The adjustment device of the synchronization signal resolution ratio of the ink jet numbering machine proposed according to embodiments of the present invention obtains module for obtaining
Take the synchronization signal of encoder output in ink jet numbering machine;Detection module is used to detect the rising edge of the synchronization signal, with
Obtain the width of adjacent sync signal rising edge;Adjustment module is calculated for the width according to the adjacent sync signal rising edge
It calculates by spray printing object with respect to the instantaneous velocity that ink jet numbering machine moves, and is differentiated according to the instantaneous velocity and preset synchronization signal
Rate calculates the triggering moment of respective synchronization signal, the synchronization signal being continuously adjusted with output resolution ratio;To realize ink jet numbering machine
Synchronization signal resolution ratio is continuously adjustable, user-friendly, improves the scope of application of ink jet numbering machine.
In addition, the adjustment device of the synchronization signal resolution ratio of the ink jet numbering machine proposed according to that above embodiment of the present invention can be with
With following additional technical characteristic:
Optionally, the calculating adjustment module calculates the instantaneous velocity according to the following formula:
V=1/D0* T,
Wherein, V is the instantaneous velocity, D0For the resolution ratio of the synchronization signal of the encoder output, T is the adjacent sync
The width of signal rising edge.
Optionally, the triggering moment for calculating adjustment module and calculating the respective synchronization signal according to the following formula:
t=D0*T/ D1,
Wherein, t is the triggering moment of the respective synchronization signal, D0For the resolution ratio of the synchronization signal of the encoder output, T
For the width of the adjacent sync signal rising edge, D1For the preset synchronization signal resolution ratio.
Optionally, the resolution ratio of the respective synchronization signal is continuously adjusted between 50-600DPI.
Optionally, the ink jet numbering machine is TIJ ink jet numbering machine.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of ink jet numbering machine, including above-mentioned coding
The adjustment device of the synchronization signal resolution ratio of machine.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
In traditional code spraying technology, synchronization signal resolution ratio is non-adjustable, or be only through frequency splitting technology provide it is several not
Continuous synchronization signal resolution ratio, greatly limits use of the user for ink jet numbering machine;Ink jet numbering machine according to an embodiment of the present invention
Synchronization signal resolution ratio method of adjustment, firstly, obtain ink jet numbering machine in encoder output synchronization signal;Then, to synchronization
The rising edge of signal is detected, to obtain the width of adjacent sync signal rising edge;Then, risen according to adjacent sync signal
The width on edge is calculated by spray printing object with respect to the instantaneous velocity that ink jet numbering machine moves, and according to instantaneous velocity and preset synchronization signal
Resolution ratio calculates the triggering moment of respective synchronization signal, the synchronization signal being continuously adjusted with output resolution ratio;To realize coding
The synchronization signal resolution ratio of machine is continuously adjustable, user-friendly, improves the scope of application of ink jet numbering machine.
In order to better understand the above technical scheme, the exemplary reality that the present invention will be described in more detail below with reference to accompanying drawings
Apply example.Although showing exemplary embodiment of the present invention in attached drawing, it being understood, however, that may be realized in various forms this hair
It is bright and should not be limited by the embodiments set forth herein.It is to be able to thoroughly understand this on the contrary, providing these embodiments
Invention, and the scope of the present invention can be fully disclosed to those skilled in the art.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper
Technical solution is stated to be described in detail.
Fig. 1 be according to the flow diagram of the method for adjustment of the synchronization signal resolution ratio of the ink jet numbering machine of the embodiment of the present invention,
As shown in Figure 1, the method for adjustment of the synchronization signal resolution ratio of the ink jet numbering machine the following steps are included:
S101 obtains the synchronization signal of encoder output in ink jet numbering machine.
That is, the synchronization signal exported to encoder in ink jet numbering machine obtains.
Wherein, the type of encoder can there are many, for example, raster rotary coder and magnetic coder etc., not right herein
The specific category of encoder is defined
S102 detects the rising edge of synchronization signal, to obtain the width of adjacent sync signal rising edge.
That is, being examined after getting the synchronization signal of encoder output to the rising edge of the synchronization signal
It surveys, to obtain the time width between two neighboring synchronization signal rising edge.
S103 is calculated by spray printing object according to the width of adjacent sync signal rising edge with respect to the instantaneous speed that ink jet numbering machine moves
Degree, and according to the triggering moment of instantaneous velocity and preset synchronization signal resolution ratio calculating respective synchronization signal, it is differentiated with exporting
The continuously adjustable synchronization signal of rate.
That is, after the width for getting adjacent sync signal rising edge, further according to adjacent sync signal
The width of rising edge carries out ink jet numbering machine and by the calculating of the opposite instantaneous velocity between spray printing object, to obtain phase between the two
To instantaneous velocity;Then, it is carried out and pre-determined synchronization signal resolution ratio pair according to instantaneous velocity and preset synchronization signal resolution ratio
The calculating of the triggering moment for the synchronization signal answered, the synchronization signal being continuously adjusted with output resolution ratio.
As an example, when the width of the adjacent sync signal rising edge got is T, further according to adjacent same
The width for walking signal rising edge carries out ink jet numbering machine and by the calculating of the opposite instantaneous velocity between spray printing object, it is instantaneous to calculate gained
Speed is V;It is appreciated that being changed over time by the speed of related movement between spray printing object and ink jet numbering machine, but in a short time
It is considered constant;Therefore, further, it is assumed that zero moment of a certain moment as preset synchronization signal, when pre-
If the resolution ratio of synchronization signal when being D, it is corresponding by spray printing object and ink jet numbering machine two neighboring synchronization signal rising edge it
Between relative displacement be 1/D inches, in this way, the triggering of next synchronization signal can be determined according to the relative displacement and instantaneous velocity V
Moment, thus, the continuously adjustable synchronization signal of output resolution ratio.
Wherein, resolution ratio is continuously adjustable refers to that resolution ratio can be adjusted to arbitrary value in a continuous section, rather than
Discontinuous fixed value;For example, then user can be in 50DPI to 600DPI when continuously adjustable section is 50DPI to 600DPI
Between synchronize the default of signal resolution, if rather than after being handled by frequency splitting technology synchronization signal resolution ratio
Dry may be selected value.
In some embodiments, instantaneous velocity is calculated according to the following formula:
V=1/D0* T,
Wherein, V is instantaneous velocity, D0For the resolution ratio of the synchronization signal of encoder output, T is adjacent sync signal rising edge
Width.
Specifically, when the resolution ratio of the synchronization signal of the encoder output got is 600DPI, then the synchronization signal
Between corresponding adjacent sync signal rising edge ink jet numbering machine with by the relative displacement of spray printing object be 1/600 inch, further,
Time width between adjacent sync signal rising edge is obtained, if between the adjacent sync signal rising edge got
Time width is T, then according to V=1/D0* T is calculated, and can get instantaneous velocity is V=1/600T.
As an example, the triggering moment of respective synchronization signal is calculated according to the following formula:
t=D0*T/ D1,
Wherein, t is the triggering moment of respective synchronization signal, D0For the resolution ratio of the synchronization signal of encoder output, T is adjacent same
Walk the width of signal rising edge, D1For preset synchronization signal resolution ratio.
Specifically, when calculating resulting instantaneous velocity is V=1/600T, it will be used as at current time and export preset synchronization
Then the zero moment of signal obtains preset synchronization signal resolution ratio D1, then preset synchronization signal resolution ratio D is corresponded to1Coding
Machine and by the relative displacement between preset synchronization signal rising edge two neighboring between spray printing object be 1/D1Inch, thus,
The calculating that next synchronization signal output time t is carried out according to the relative displacement and instantaneous velocity, at this point, the D of t=1/1/V=600T
D1;In this way, the determination of next synchronization signal triggering moment can be carried out according to output time t, and then output resolution ratio is continuous
Adjustable synchronization signal.
In conclusion the method for adjustment of the synchronization signal resolution ratio of ink jet numbering machine according to an embodiment of the present invention, firstly, obtaining
The synchronization signal of encoder output in ink jet numbering machine;Then, the rising edge of synchronization signal is detected, to obtain adjacent sync letter
The width of number rising edge;Then, it is calculated according to the width of adjacent sync signal rising edge and is moved by spray printing object with respect to ink jet numbering machine
Instantaneous velocity, and calculate according to instantaneous velocity and preset synchronization signal resolution ratio the triggering moment of respective synchronization signal, with
The continuously adjustable synchronization signal of output resolution ratio;Synchronization signal resolution ratio to realize ink jet numbering machine is continuously adjustable, facilitates user
It uses, improves the scope of application of ink jet numbering machine.
In order to realize above-described embodiment, as shown in Fig. 2, the embodiment of the present invention also proposed a kind of synchronization signal of ink jet numbering machine
The adjustment device of resolution ratio, the adjustment device of the synchronization signal resolution ratio of the ink jet numbering machine include: to obtain module 10, detection module 20
Module 30 is adjusted with calculating.
Wherein, the synchronization signal that module 10 is used to obtain encoder output in ink jet numbering machine is obtained.
Detection module 20 is for detecting the rising edge of synchronization signal, to obtain the width of adjacent sync signal rising edge
Degree.
Adjustment module 30 is calculated to be used to be calculated by spray printing object according to the width of adjacent sync signal rising edge with respect to coding
The instantaneous velocity of machine movement, and when calculating the triggering of respective synchronization signal according to instantaneous velocity and preset synchronization signal resolution ratio
It carves, the synchronization signal being continuously adjusted with output resolution ratio.
That is, carrying out the acquisition of the synchronization signal of encoder output in ink jet numbering machine by obtaining module 10, and pass through
Detection module 20 detects the rising edge of synchronization signal, wide to obtain the time between two neighboring synchronization signal rising edge
Degree;It is then detected that the time width that module 20 will acquire is sent to calculating adjustment module 30, calculates adjustment module 30 and receiving
To after time width, ink jet numbering machine is carried out according to the time width and by the meter of the instantaneous velocity of relative motion between spray printing object
It calculates, and calculates the synchronous letter of the corresponding preset synchronization signal resolution ratio with preset synchronization signal resolution ratio according to instantaneous velocity
Number triggering moment, thus the synchronization signal that output resolution ratio is continuously adjustable.
As an example, it calculates adjustment module 30 and calculates instantaneous velocity according to the following formula:
V=1/D0* T,
Wherein, V is instantaneous velocity, D0For the resolution ratio of the synchronization signal of encoder output, T is adjacent sync signal rising edge
Width.
As another example, the triggering moment that adjustment module 30 calculates respective synchronization signal according to the following formula is calculated:
t=D0*T/ D1,
Wherein, t is the triggering moment of respective synchronization signal, D0For the resolution ratio of the synchronization signal of encoder output, T is adjacent same
Walk the width of signal rising edge, D1For preset synchronization signal resolution ratio.
In some embodiments, the resolution ratio of respective synchronization signal is continuously adjusted between 50-600DPI.
Wherein, there are many types of ink jet numbering machine, such as: piezoelectric ink jet formula ink jet numbering machine, pressure valve type ink jet numbering machine etc..
In some embodiments, ink jet numbering machine is TIJ ink jet numbering machine.
It should be noted that the above-mentioned description about the method for adjustment of the synchronization signal resolution ratio of ink jet numbering machine in Fig. 1 is same
The adjustment device of synchronization signal resolution ratio suitable for the ink jet numbering machine, this will not be repeated here.
In conclusion the adjustment device of the synchronization signal resolution ratio of ink jet numbering machine according to an embodiment of the present invention, obtains module
For obtaining the synchronization signal of encoder output in ink jet numbering machine;Detection module is for examining the rising edge of the synchronization signal
It surveys, to obtain the width of adjacent sync signal rising edge;Adjustment module is calculated to be used for according to the adjacent sync signal rising edge
Width calculate by spray printing object with respect to ink jet numbering machine move instantaneous velocity, and according to the instantaneous velocity and it is preset it is synchronous believe
Number resolution ratio calculates the triggering moment of respective synchronization signal, the synchronization signal being continuously adjusted with output resolution ratio;To realize spray
The synchronization signal resolution ratio of ink recorder is continuously adjustable, user-friendly, improves the scope of application of ink jet numbering machine.
In order to realize above-described embodiment, the embodiment of the present invention also proposed a kind of ink jet numbering machine, including above-mentioned ink jet numbering machine
The adjustment device of synchronization signal resolution ratio.
By the adjustment device of the synchronization signal resolution ratio of the ink jet numbering machine, so that the synchronization signal resolution ratio of ink jet numbering machine is one
Determine to be continuously adjusted in range, to significantly facilitate the use of user, and improves the scope of application of ink jet numbering machine.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
It should be noted that in the claims, any reference symbol between parentheses should not be configured to power
The limitation that benefit requires.Word "comprising" does not exclude the presence of component or step not listed in the claims.Before component
Word "a" or "an" does not exclude the presence of multiple such components.The present invention can be by means of including several different components
It hardware and is realized by means of properly programmed computer.In the unit claims listing several devices, these are filled
Several in setting, which can be, to be embodied by the same item of hardware.The use of word first, second, and third is not
Indicate any sequence.These words can be construed to title.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
In the description of the present invention, it is to be understood that, term " first ", " second " are used for description purposes only, and cannot
It is interpreted as indication or suggestion relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include one or more of the features.In the description of the present invention,
The meaning of " plurality " is two or more, unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc.
Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;It can be mechanical connect
It connects, is also possible to be electrically connected;It can be directly connected, can also can be in two elements indirectly connected through an intermediary
The interaction relationship of the connection in portion or two elements.It for the ordinary skill in the art, can be according to specific feelings
Condition understands the concrete meaning of above-mentioned term in the present invention.
In the present invention unless specifically defined or limited otherwise, fisrt feature in the second feature " on " or " down " can be with
It is that the first and second features directly contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists
Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of
First feature horizontal height is higher than second feature.Fisrt feature can be under the second feature " below ", " below " and " below "
One feature is directly under or diagonally below the second feature, or is merely representative of first feature horizontal height less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It is interpreted as that identical embodiment or example must be directed to.Moreover, particular features, structures, materials, or characteristics described
It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this
The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples
Sign is combined.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.