The content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of electronics tape, overcome prior art
Middle Gray's code-disc easily jumps brush and counts inaccurate technological deficiency.
Technical scheme is as follows:
A kind of electronics tape, including chi box, are provided with a tape box for carrying tape in the chi box, in the tape box
It is arranged on spring spool;
Also include the Gray's code-disc for being arranged at the tape cassette bottom portion, the trigger being connected with Gray's code-disc, with institute
State the single-chip microcomputer of trigger connection, the display being connected with the single-chip microcomputer;
Gray's code-disc includes pcb board again, and the pcb board is provided with the first Gray being connected respectively with the trigger
Code channel, second Gray's code channel, the 3rd Gray's code channel, the 4th Gray's code channel and the 5th Gray's code channel;
Several of counting are respectively provided with wherein first Gray's code channel, second Gray's code channel and the 3rd Gray's code channel
Gray code is counted, the anti-frame hopping that brush is jumped for placing the current potential brush is additionally provided between two adjacent counting Gray codes.
Above-mentioned electronics tape, wherein, the 4th Gray's code channel being arranged on the inside of the 3rd Gray's code channel, for for making
To define the 4th Gray's code channel of Gray code code value label;
The 5th Gray's code channel being arranged on the inside of the 4th Gray's code channel, for for as zero signal output label
Five Gray's code channels.
Above-mentioned electronics tape, wherein, the 4th Gray's code channel includes 36 label codes.
Above-mentioned electronics tape, wherein, the label code is the label code of bar shaped.
Above-mentioned electronics tape, wherein, the first Gray code channel, second Gray's code channel, the 3rd Gray's code channel, the 4th lattice
Thunder code channel and the 5th Gray's code channel are copper foil Gray's code channel.
Above-mentioned electronics tape, wherein, the first Gray code channel, second Gray's code channel, the 3rd Gray's code channel, the 4th lattice
The operating potential of thunder code channel and the 5th Gray's code channel is 3.3V.
Above-mentioned electronics tape, wherein, the trigger is JK flip-flop.
Above-mentioned electronics tape, wherein, the trigger is connected by current potential brush with Gray's code-disc.
Above-mentioned electronics tape, wherein, the counting Gray code and the anti-contour setting of frame hopping.
Above-mentioned electronics tape, wherein, the display is LED display.
Electronics tape provided by the present invention, due to using spring spool can make tape use and collect it is more square
Just;Measurement data can more intuitively be drawn using Gray's code-disc, trigger and single-chip microcomputer, missed so as to reduce to use or read
The appearance of difference.If it is respectively provided with counting on first Gray's code channel, second Gray's code channel and the 3rd Gray's code channel in addition
Dry counts Gray code, is additionally provided between two adjacent counting Gray codes and jumps the anti-jump of brush for placing the current potential brush
Code;Because anti-frame hopping is contour with counting Gray code, will not be beated when current potential brush rotates, so as to prevent current potential brush from leaking brush Gray code
Make gray count more accurate;Being additionally provided with prevents the 4th Gray's code channel of the current potential brush leakage brush, can further prevent because of electricity
Position brush rotating speed is too fast and leaks brush Gray code.
Embodiment
The present invention provides a kind of electronics tape, to make the purpose of the present invention, technical scheme and effect clearer, clear and definite,
Referring to the drawings and give an actual example that the present invention is described in more detail.It should be appreciated that specific embodiment described herein is only
Only to explain the present invention, it is not intended to limit the present invention.
Refer to shown in Fig. 1 and Fig. 2, electronics tape provided by the invention, including chi box 10, set on the surface of chi box 10
Put two buttons, the operable electronics tape of depresses button.A tape box for carrying tape 14 is provided with the chi box 10
15, spring spool 12 is arranged in the tape box 15;Pull one end of tape to make the smooth pull-out of tape during use, prevent soft
Chi is tortuous so that tape is more accurate in measurement.
For more intuitively viewing metrical information, also include being arranged at the bottom of tape box 10 in the electronics tape
Gray's code-disc 13, the trigger being connected with Gray's code-disc 13(Not shown in figure), the single-chip microcomputer that is connected with the trigger
(Not shown in figure), the display 11 that is connected with the single-chip microcomputer.The trigger is by detecting the current potential on Gray's code-disc 13
Change, encoded, decode after input into single-chip microcomputer, single-chip microcomputer calculates after the tape length of pull-out output to aobvious by computing
Showing in device 11, the display 11 is that LED display show, and data can be intuitively read from LED display during use, so that
Convenient use person reads data.
Further, as shown in Figure 3 and Figure 4, Gray's code-disc 13 includes pcb board 9 again, and the PCB9 plates are provided with 5
Enclose Gray's code channel.The pcb board be provided be connected respectively with the trigger first Gray's code channel 1, second Gray's code channel 2,
3rd Gray's code channel 3, the 4th Gray's code channel 4 and the 5th Gray's code channel 5;The trigger passes through current potential brush and each Gray's code-disc 13
Connection.
Outmost turns on pcb board set for first Gray's code channel 1, successively, the inner side of first Gray's code channel 1 set the
Two Gray's code channels 2 and the 3rd Gray's code channel 3.The first Gray code channel 1, second Gray's code channel 2 and the 3rd Gray's code channel 3 are used for
Count, and be connected respectively with trigger, output to single-chip microcomputer carries out calculation process after trigger is encoded.It is of the prior art
Gray's code-disc 13 is provided only with first, second, and third Gray's code channel for counting, and two adjacent lattice in Gray's code channel
It is empty between thunder code, that is, is not provided with metal Gray code, usually the clear area of pcb board 9.When in use, the current potential brush of trigger from
After being passed through on one of Gray code in two neighboring Gray code, need to pass through the clear area of a pcb board 9 then again swipe another
Gray code, but in current potential brush(Not shown in figure)Another Gray code is turned to from the clear area of pcb board 9(That is second Gray code)
When upper, frame hopping phenomenon easily occurred.The generation of frame hopping phenomenon can cause counting error, and current potential brush has brushed one or more Grays less
Code will cause irremediable error to measurement structure.
To overcome above-mentioned technical problem, as shown in Figure 3 and Figure 4, in electronics tape provided by the invention, on the pcb board 9
Provided with the first Gray's code channel 1, second Gray's code channel 2, the 3rd Gray's code channel the 3, the 4th being connected respectively with the current potential brush of trigger
The Gray's code channel 5 of Gray's code channel 4 and the 5th, the current potential brush are included by 5 brushes, and each brush corresponds to different Gray's code channels.
Several countings of counting are respectively provided with wherein first Gray's code channel 1, second Gray's code channel 2 and the 3rd Gray's code channel 3
Gray code 6, two adjacent described count are additionally provided with the anti-frame hopping 7 that brush is jumped for placing the current potential brush between Gray codes 6.It is described
Gray code 6 and the complementary complete Gray's code channel of formation one of the anti-frame hopping 7 are counted, and the Gray code 6 and described of counting
The high settings such as anti-frame hopping 7;It is mutually isolated by etching technique between the counting Gray code 6 and the anti-frame hopping 7.When there is current potential
It is complementary and contour due to counting Gray code 6 and anti-frame hopping 7 when brush is by the first, second, and third Gray code channel, in electricity
When passing through because of being uneven between adjacent counting Gray code frame hopping or leakage brush phenomenon will not occur for position brush, solve prior art
Middle the problem of being forbidden using Gray's coded disc counting.
Specifically, the first Gray code channel 1, second Gray's code channel 2, the 3rd Gray's code channel 3, the and of the 4th Gray's code channel 4
The operating potential of 5th Gray's code channel 5 is 3.3V, is powered by electronic cell.During using Gray's code-disc 13 in the present invention, work as institute
When to state trigger be JK flip-flop, the current potential brush of JK flip-flop is arranged on the tape box 15, with the rotation of tape box 15
Rotate, the current potential brush corresponds to different Gray's code channels and is provided with different current potential brushes.
When current potential brush passes through three adjacent Gray codes, i.e., by first Gray's code channel 1, second Gray's code channel 2 and
When adjacent three in three Gray's code channels 3 count Gray code 6 or anti-frame hopping 7.Such as current potential brush is moved to the first Gray code,
On the anti-frame hopping 7 of two Gray codes and the 3rd Gray code, the current potential on anti-frame hopping 7 now can be designated as zero, then JK flip-flop records
Gray's code value and transmitting saves as 000 binary coding into single-chip microcomputer, and current potential brush is continued to move to when current potential brush detects an electricity
During position, i.e., current potential brush is mobile and has been triggered to counting Gray code 6, such as the counting Gray code 6 is the meter on the 3rd Gray's code channel 3
Number Gray codes 6, then JK flip-flop record Gray's code value and transmitting 001 binary coding is saved as into single-chip microcomputer, then current potential
Brush continues to move to, draws different Gray's code values by that analogy.Except that in first, second, and third Gray's code channel
Count Gray code 6 and can trigger current potential brush with current potential, and design the Gray code that the current potential that anti-frame hopping 7 connects is zero potential, when
Current potential brush is recorded as sky when touching the anti-frame hopping 7.By anti-frame hopping 7 current potential brush can be prevented because of the too fast frame hopping and caused by of rotating speed
Or leakage brush phenomenon, count Gray's code-disc 13 more accurate.
As the another specific embodiment of the present invention, when setting the current potential for counting Gray code 6 and anti-frame hopping 7, can also incite somebody to action
It is described to count current potential or the current potential for counting Gray code 6 and connecting that the current potential that Gray code 6 connects connects more than the anti-frame hopping 7
The current potential connected less than the anti-frame hopping 7.If the current potential for counting Gray code 6 is more than the current potential of anti-frame hopping 7, the triggering of current potential brush is anti-
Sky or zero are then recorded as during the low potential of frame hopping 7;When the current potential for counting Gray code 6 is less than the current potential of anti-frame hopping 7, current potential brush touches
Then it is recorded as during the high potential for sending out frame hopping 7 anti-empty or zero.
Further, can be in the 3rd Gray's code channel 3 preferably to prevent current potential brush leakage brush or jumping brush phenomenon
Side, it is provided for as the 4th Gray's code channel 4 for defining Gray code code value label.4th Gray's code channel 4 is independently arranged,
It is not connected with the 3rd Gray's code channel 3 and the 5th Gray's code channel;4th Gray's code channel 4 includes 36 label codes 8,
The label code 8 is the label code 8 of bar shaped, and the corresponding Gray code code value of label code 8 is identical, such as corresponding Gray code two
Ary codes are 011.Logical relation be present between two adjacent label codes 8, the lattice of sequence are moved towards with current potential brush direction of rotation
Thunder code, if some label code 8 is designated as 1, then next label code 8 is then designated as 2, by that analogy until the 36th label code 8.
Specifically, when the swiped through postscript of label code 8 of current potential brush is 3, then binary code is 3-XXX(3-000);Next to be designated as 5, then two enter
Code processed is 5-XXX(5-000);Lacked be designated as 4 label code 8, then current potential brush out has showed one leakage brush phenomenon, now single-chip microcomputer can
Cover calculating is carried out according to leakage brush number, the label code for being designated as 5 is changed to 4.
288 Gray code code values are shared in this specific embodiment, there are 8 Gray code code values between adjacent label code 8.
When some swiped through label code 8 of current potential brush, such as 1 label code 8 is designated as, then the code value of single-chip microcomputer record Gray code is 1-
001;It is recorded as 1-xxx etc. successively afterwards, 2-xxx is recorded as when current potential brush brushes another label code 8.In summary,
4th Gray's code channel 4 is combined anti-frame hopping 7 by the present invention, can successfully solve Gray code of the prior art and leakage brush frame hopping occurs
Technical problem, the count accuracy of Gray code is substantially increased, can also accomplish that counting is accurate under high-speed rotation even if current potential brush
Really.
Further, rotation and the counting that the beginning second of formula is enclosed, this hair will be added up after current potential brush rotates a circle
It is bright positioned at the inner side of the 4th Gray's code channel 4, for the 5th Gray's code channel 5 as zero signal output label;It is described
5th Gray's code channel 5 is independently of circle Gray's code channel outside first to fourth Gray's code channel, being independently arranged.That is the 5th Gray
Code channel 5 has the function that zero reference, and the complete circle of every turn of current potential brush can then trigger output pulsatile once signal, by the 5th Gray code
The Gray code in road 5 records as mechanical zero, to realize the unlimited cumulative and measurement of multi-turn.
Further, in above-mentioned electronics tape, the first Gray code channel 1, second Gray's code channel 2, the 3rd Gray
Code channel 3, the 4th Gray's code channel 4 and the 5th Gray's code channel 5 are copper foil Gray's code channel, can effectively transmit current potential, reach measurement
Accurate effect.
In summary, electronics tape provided by the present invention, due to using spring spool 12 can make tape use and
It is more convenient to collect;Measurement data can more intuitively be drawn using Gray's code-disc 13, trigger and single-chip microcomputer, so as to reduce
Using or reading error appearance.Again due to using on first Gray's code channel 1, second Gray's code channel 2 and the 3rd Gray's code channel 3
Several counting Gray codes 6 of counting are respectively provided with, are additionally provided between two adjacent counting Gray codes 6 for placing
The current potential brush jumps the anti-frame hopping 7 of brush;Because anti-frame hopping is contour with counting Gray code, will not be beated when current potential brush rotates, from
And prevent current potential brush leakage brush Gray code from making gray count more accurate.It is further provided with preventing the 4th lattice of the current potential brush leakage brush
Thunder code channel 4, it can further prevent from leaking brush Gray code because current potential brush rotating speed is too fast.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved or converted according to the above description, wanted for example, all these modifications and variations should all belong to right appended by the present invention
The protection domain asked.