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 counting to use Gray's code-disc, 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 counting uses Gray's code-disc, and comprise pcb board, 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 the current potential brush of trigger respectively;
Wherein first Gray's code channel, second Gray's code channel, the 3rd Gray's code channel and the 4th 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;
Be positioned at inside described 4th Gray's code channel, for the 5th Gray's code channel as zero signal output label.
Above-mentioned counting Gray's code-disc, 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 counting Gray's code-disc, 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 counting Gray's code-disc, wherein, described trigger is JK flip-flop.
Above-mentioned counting Gray's code-disc, wherein, the current potential that described counting Gray code connects is greater than current potential that described anti-frame hopping connects or the current potential that described counting Gray code connects and is less than the current potential that described anti-frame hopping connects.
Above-mentioned counting Gray's code-disc, wherein, the current potential that described anti-frame hopping connects is zero.
Counting Gray's code-disc provided by the present invention, owing to adopting several counting Gray codes be respectively equipped with on first Gray's code channel, second Gray's code channel and the 3rd Gray's code channel for counting, between two adjacent described counting Gray codes, be 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.
Embodiment
The invention provides a kind of counting and use Gray's code-disc, 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, counting Gray's code-disc provided by the invention, comprises pcb board 8, and described pcb board 8 is provided with 5 circle Gray code channels.What outmost turns 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 then trigger exports single-chip microcomputer to after encoding and carries out calculation process.Gray's code-disc 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 8 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 a pcb board clear area and then brush, but when current potential brush turns to another Gray code (i.e. second Gray code) from pcb board 8 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 problem, as shown in Figure 2, counting provided by the invention is with in Gray's code-disc, and described pcb board 8 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.Wherein first Gray's code channel 1, second Gray's code channel 2, the 3rd Gray's code channel 3 and the 4th Gray's code channel 4 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 contour, frame hopping phenomenon can not be there is at current potential brush through out-of-date or leak brush phenomenon, solving the problem that in prior art, gray count is 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.Use the counting Gray code in the present invention, when described trigger is JK flip-flop, the current potential brush of JK flip-flop is arranged on described counting Gray code center and rotates around described counting Gray code, 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, second Gray code, on the anti-frame hopping 7 of the 3rd Gray code and the 4th Gray's code channel 4, 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 0000, 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 0001, then current potential brush continues mobile, draw different Gray's code values by that analogy, this repeats no more again for prior art.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.Because anti-frame hopping is contour with counting Gray code, can not beat when current potential brush rotates, 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 coded disc counting 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 high potential of anti-frame hopping 7, be then recorded as sky or zero.
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 is being positioned at inside described 4th Gray's code channel 4, independent of outside first to fourth Gray's code channel, the 5th Gray's code channel 5 of the independent circle Gray code channel arranged, for as zero signal output label.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, above-mentioned counting is with in Gray's code-disc, 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, counting Gray's code-disc provided by the present invention, 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 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.
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 range that all should belong to claims of the present invention.