Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of electronics tape, overcome Gray's code-disc in prior art and easily jump the inaccurate technological deficiency of brush counting.
Technical scheme of the present invention is as follows:
A kind of electronics tape, comprises chi box, is provided with one with the tape box of tape, is arranged on spring spool in described tape box in described chi box;
Also comprise the Gray's code-disc be arranged at bottom described tape box, the trigger be connected with described Gray's code-disc, the single-chip microcomputer be connected with described trigger, the display be connected with described single-chip microcomputer;
Described Gray's code-disc comprises pcb board again, and described pcb board is provided with the first Gray's 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 that are connected with described trigger respectively;
Wherein first Gray's code channel, second Gray's code channel and the 3rd Gray's code channel being respectively equipped with several counting Gray codes for counting, between two adjacent described counting Gray codes, being also provided with the anti-frame hopping of jumping brush for placing described current potential brush.
Above-mentioned electronics tape, wherein, is arranged at the 4th Gray's code channel inside described 3rd Gray's code channel, for for the 4th Gray's code channel as definition Gray code code value label;
Be arranged at the 5th Gray's code channel inside described 4th Gray's code channel, for for as zero signal output label the 5th Gray's code channel.
Above-mentioned electronics tape, wherein, described 4th Gray's code channel comprises 36 label codes.
Above-mentioned electronics tape, wherein, described label code is the label code of bar shaped.
Above-mentioned electronics tape, wherein, described first Gray's 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 are Copper Foil Gray code channel.
Above-mentioned electronics tape, wherein, the operating potential of described first Gray's 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 is 3.3V.
Above-mentioned electronics tape, wherein, described trigger is JK flip-flop.
Above-mentioned electronics tape, wherein, described trigger is connected with described Gray's code-disc by current potential brush.
Above-mentioned electronics tape, wherein, described counting Gray code and the contour setting of described anti-frame hopping.
Above-mentioned electronics tape, wherein, described display is LED display.
Electronics tape provided by the present invention, can make using of tape owing to adopting spring spool and collect convenient; Adopt Gray's code-disc, trigger and single-chip microcomputer can draw measurement data more intuitively, thus reduce the appearance of use or reading error.On first Gray's code channel, second Gray's code channel and the 3rd Gray's code channel, being respectively equipped with several counting Gray codes for counting in addition, between two adjacent described counting Gray codes, being also provided with the anti-frame hopping of jumping brush for placing described current potential brush; Because anti-frame hopping is contour with counting Gray code, can not beat when current potential brush rotates, thus prevent current potential brush leakage brush Gray code from making gray count more accurate; Also be provided with the 4th Gray's code channel preventing described current potential brush from leaking brush, can prevent further because current potential brush rotating speed is too fast and leak brush Gray code.
Embodiment
The invention provides a kind of electronics tape, for making object of the present invention, technical scheme and effect clearly, clearly, referring to accompanying drawing examples, the present invention is described in more detail.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to shown in Fig. 1 and Fig. 2, electronics tape provided by the invention, comprises chi box 10, and described chi box 10 arranges two buttons on the surface, and depresses button can operate described electronics tape.Be provided with one in described chi box 10 with the tape box 15 of tape 14, in described tape box 15, be arranged on spring spool 12; Pulling one end of tape can make tape smooth pull-out during use, prevent tape tortuous, making tape more accurate when measuring.
For watching metrical information more intuitively, the Gray's code-disc 13 be arranged at bottom described tape box 10 is also comprised in described electronics tape, the trigger (not shown) be connected with described Gray's code-disc 13, the single-chip microcomputer (not shown) be connected with described trigger, the display 11 be connected with described single-chip microcomputer.Described trigger is by detecting the potential change on Gray's code-disc 13, carry out encoding, decode after input in single-chip microcomputer, single-chip microcomputer exports in display 11 after calculating the tape length of pull-out by computing, described display 11 is LED display display, can read data intuitively from LED display during use, thus person easy to use reads data.
Further, as shown in Figure 3 and Figure 4, described Gray's code-disc 13 comprises again pcb board 9, and described PCB9 plate is provided with 5 circle Gray code channels.Described pcb board is provided with first Gray's code channel 1, the second Gray's code channel 2, the 3rd Gray's code channel 3, the 4th Gray's code channel 4 and the 5th Gray's code channel 5 that are connected with described trigger respectively; Described trigger is connected with each Gray's code-disc 13 by current potential brush.
What outmost turns on pcb board was arranged is first Gray's code channel 1, successively, the inner side of first Gray's code channel 1 arranges second Gray's code channel 2 and the 3rd Gray's code channel 3.Described first Gray's code channel 1, second Gray's code channel 2 and the 3rd Gray's code channel 3 for counting, and are connected with trigger respectively, and trigger exports single-chip microcomputer to after encoding and carries out calculation process.Gray's code-disc 13 of the prior art is only provided with first, second, and third Gray's code channel for counting, and is empty between two adjacent Gray codes in Gray's code channel, does not namely arrange metal Gray code, is generally pcb board 9 clear area.In use, the current potential brush of trigger from one of them Gray code adjacent two Gray codes through later, another Gray code need be got through pcb board 9 clear area and then brush, but when current potential brush (not shown) turns to another Gray code (i.e. second Gray code) from pcb board 9 clear area, easily there is frame hopping phenomenon.The generation of frame hopping phenomenon can cause counting error, and one or more Gray code brushed less by current potential brush will cause irremediable error to measurement structure.
For overcoming above-mentioned technical matters, as shown in Figure 3 and Figure 4, in electronics tape provided by the invention, described pcb board 9 is provided with first Gray's code channel 1, the second Gray's code channel 2, the 3rd Gray's code channel 3, the 4th Gray's code channel 4 and the 5th Gray's code channel 5 that are connected with the current potential brush of trigger respectively, described current potential brush comprises by 5 brushes, Gray's code channel that each brush is corresponding different.Wherein first Gray's code channel 1, second Gray's code channel 2 and the 3rd Gray's code channel 3 are respectively equipped with between the adjacent described counting Gray code 6 of several counting Gray codes 6, two for counting and are also provided with the anti-frame hopping 7 of jumping brush for placing described current potential brush.Gray's code channel that the formation one of described counting Gray code 6 and the complementation of described anti-frame hopping 7 is complete, and described counting Gray code 6 and the contour setting of described anti-frame hopping 7; Mutually isolated by etching technique between described counting Gray code 6 and described anti-frame hopping 7.When having current potential brush through described first, second, and third Gray's code channel, due to counting Gray code 6 and anti-frame hopping 7 complementation, and it is contour, current potential brush through out-of-date can not because of adjacent counting Gray code between be uneven and frame hopping occur or leaks brush phenomenon, solve in prior art the problem adopting Gray's coded disc counting inaccurate.
Concrete, the operating potential of described first Gray's code channel 1, second Gray's code channel 2, the 3rd Gray's code channel 3, the 4th Gray's code channel 4 and the 5th Gray's code channel 5 is 3.3V, is powered by electronic cell.When using the Gray's code-disc 13 in the present invention, when described trigger is JK flip-flop, the current potential brush of JK flip-flop is arranged on described tape box 15, rotates with the rotation of tape box 15, and the corresponding different Gray's code channel of described current potential brush is provided with different current potential brushes.
When current potential brush is through adjacent three Gray codes, when three the adjacent counting Gray codes 6 namely in first Gray's code channel 1, second Gray's code channel 2 and the 3rd Gray's code channel 3 or anti-frame hopping 7.Such as current potential brush moves to the first Gray code, on the anti-frame hopping 7 of the second Gray code and the 3rd Gray code, current potential on anti-frame hopping 7 now can be designated as zero, then JK flip-flop record Gray code value transfer in single-chip microcomputer the binary coding saving as 000, current potential brush continues mobile when current potential brush detects a current potential, namely current potential brush moves and has been triggered to counting Gray code 6, such as this counting Gray code 6 is the counting Gray code 6 on the 3rd Gray's code channel 3, then JK flip-flop record Gray code value transfer in single-chip microcomputer the binary coding saving as 001, then current potential brush continues mobile, draw different Gray's code values by that analogy.Difference is, the counting Gray code 6 in first, second, and third Gray's code channel all can evoked potential brush with current potential, and to design the current potential that anti-frame hopping 7 connects be the Gray code of zero potential, is recorded as sky when current potential brush touches described anti-frame hopping 7.The frame hopping that can prevent current potential brush from producing because rotating speed is too fast by anti-frame hopping 7 or leakage brush phenomenon, make Gray's code-disc 13 count more accurate.
As another specific embodiment of the present invention, when arranging counting Gray code 6 and the current potential of anti-frame hopping 7, also the current potential that described counting Gray code 6 connects can be greater than current potential that described anti-frame hopping 7 connects or the current potential that described counting Gray code 6 connects and be less than the current potential that described anti-frame hopping 7 connects.If when the current potential of counting Gray code 6 is greater than the current potential of anti-frame hopping 7, be then recorded as sky or zero when current potential brush triggers the electronegative potential of anti-frame hopping 7; When the current potential counting Gray code 6 is less than the current potential of anti-frame hopping 7, when current potential brush triggers the noble potential of anti-frame hopping 7, be then recorded as sky or zero.
Further, for better preventing current potential brush from leaking brush or jumping brush phenomenon, can be positioned at inside described 3rd Gray's code channel 3, the 4th Gray's code channel 4 be used for as definition Gray code code value label is being set.Described 4th Gray's code channel 4 is independent to be arranged, and is not connected with described 3rd Gray's code channel 3 and described 5th Gray's code channel; Described 4th Gray's code channel 4 comprises 36 label codes 8, and described label code 8 is the label code 8 of bar shaped, and described label code 8 corresponding Gray code code value is identical, and such as corresponding Gray code binary code is 011.Subsistence logic relation between two adjacent label codes 8, move towards the Gray code sorted with current potential brush sense of rotation, if certain label code 8 is designated as 1, so next label code 8 is designated as 2, by that analogy until the 36th label code 8.Concrete, when current potential brush swiped through label code 8 postscript is 3, then binary code is 3-XXX(3-000); The next one is designated as 5, then binary code is 5-XXX(5-000); Lacked the label code 8 being designated as 4, then current potential brushes out and has showed a leakage brush phenomenon, and now single-chip microcomputer can carry out cover calculating according to leakage brush number, changes the label code being designated as 5 into 4.
Have 288 Gray code code values in this specific embodiment, between adjacent label code 8, all have 8 Gray code code values.When the swiped through some label codes 8 of current potential brush, such as, be designated as the label code 8 of 1, then the code value of single-chip microcomputer record Gray code is 1-001; Be recorded as 1-xxx etc. successively afterwards, until be recorded as 2-xxx when current potential brush brushes another label code 8.In summary, the present invention by the 4th Gray's code channel 4 in conjunction with anti-frame hopping 7, current potential brush successfully can solve the technical matters that brush frame hopping appears leaking in Gray code of the prior art, substantially increase the count accuracy of Gray code, even if also can accomplish that under high-speed rotation counting accurately.
Further, the rotation that the beginning second that will add up formula after current potential brush rotates a circle is enclosed also counts, the present invention being positioned at inside described 4th Gray's code channel 4, for the 5th Gray's code channel 5 as zero signal output label; Described 5th Gray's code channel 5 is independent of outside first to fourth Gray's code channel, the independent circle Gray code channel arranged.Namely the 5th Gray's code channel 5 has the effect of zero reference, and current potential brush has often turned a circle then can trigger output pulsatile once signal, using the Gray code of the 5th Gray's code channel 5 as mechanical zero record, measures with the unlimited cumulative sum realizing multi-turn.
Further, in above-mentioned electronics tape, described first Gray's code channel 1, second Gray's code channel 2, the 3rd Gray's code channel 3, the 4th Gray's code channel 4 and the 5th Gray's code channel 5 are Copper Foil Gray code channel, effectively can transmit current potential, reach and measure effect accurately.
In sum, electronics tape provided by the present invention, can make using of tape owing to adopting spring spool 12 and collect convenient; Adopt Gray's code-disc 13, trigger and single-chip microcomputer can draw measurement data more intuitively, thus reduce the appearance of use or reading error.Count for several counting the anti-frame hopping 7 being also provided with between the adjacent described counting Gray code 6 of Gray codes 6, two and jumping brush for placing described current potential brush again owing to adopting to be respectively equipped with on first Gray's code channel 1, second Gray's code channel 2 and the 3rd Gray's code channel 3; Because anti-frame hopping is contour with counting Gray code, can not beat when current potential brush rotates, thus prevent current potential brush leakage brush Gray code from making gray count more accurate.Also be provided with the 4th Gray's code channel 4 preventing described current potential brush from leaking brush in addition, can prevent further because current potential brush rotating speed is too fast and leak brush Gray code.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and such as, all these improve and convert the protection domain that all should belong to claims of the present invention.