CN104767531B - A kind of Gray's code-disc - Google Patents

A kind of Gray's code-disc Download PDF

Info

Publication number
CN104767531B
CN104767531B CN201510110503.9A CN201510110503A CN104767531B CN 104767531 B CN104767531 B CN 104767531B CN 201510110503 A CN201510110503 A CN 201510110503A CN 104767531 B CN104767531 B CN 104767531B
Authority
CN
China
Prior art keywords
gray
code
code channel
current potential
counting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510110503.9A
Other languages
Chinese (zh)
Other versions
CN104767531A (en
Inventor
李向良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kang Kai
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201510110503.9A priority Critical patent/CN104767531B/en
Publication of CN104767531A publication Critical patent/CN104767531A/en
Application granted granted Critical
Publication of CN104767531B publication Critical patent/CN104767531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Optical Transform (AREA)

Abstract

The invention discloses a kind of Gray's code-discs, and including pcb board, the pcb board is equipped with first Gray's code channel, second Gray's code channel, third Gray code channel and the 4th Gray's code channel being connect respectively with the current potential brush of trigger;Several counting Gray codes of counting are respectively provided on wherein first Gray's code channel, second Gray's code channel and third Gray's code channel, are additionally provided with to place the anti-frame hopping that the current potential brush jumps brush between two adjacent counting Gray codes;On the inside of the third Gray code channel, for the 4th Gray's code channel as zero signal output label.It can prevent current potential brush leakage brush Gray code from making gray count more accurate using the present invention.

Description

A kind of Gray's code-disc
Technical field
The present invention relates to Gray's code-disc field more particularly to a kind of Gray's code-discs.
Background technology
Gray code belongs to Reliability codes, is a kind of coding mode of error minimization.Because although natural binary code Analog signal directly can be converted by D/A converter, but in certain situations, for example, from metric 3 be converted to 4 when two into Each of code processed will become, and digital circuit can be made to generate very big peak current pulse.And Gray code is then without this shortcoming, , when adjacent interdigit is converted, only one generates variation for it.It is patrolled when greatly reducing by a state to next state That collects obscures.Since two adjacent interblocks of this coding only have a difference, thus in the corner displacement for direction In the conversion of amount-digital quantity, when minor change occurs for the corner displacement amount in direction(And when may cause the digital quantity to change, Gray code only changes one, more reliable compared with other codings change two or the situation of multidigit simultaneously in this way, you can to reduce The possibility of error.
The prior art mainly adopts Gray's code-discs for detecting or counting, and Gray's code-disc is read in encoder or brushgear Often the phenomenon that will appear jump brush or leakage brush, i.e., since brushgear rotating speed is too fast, there is brushgear and bounced some Gray Code, is unfavorable for the use of Gray code at the phenomenon that leading to miscount.
Therefore, the prior art has yet to be improved and developed.
Invention content
In view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of Gray's code-disc, overcome the prior art Middle Gray's code-disc easily jumps brush and counts inaccurate technological deficiency.
Technical scheme is as follows:
A kind of Gray's code-disc, including pcb board, the pcb board is equipped with first connect respectively with the current potential brush of trigger Gray's code channel, second Gray's code channel, third Gray code channel and the 4th Gray's code channel;
Several of counting are respectively provided on wherein first Gray's code channel, second Gray's code channel and third Gray's code channel Gray code is counted, is additionally provided with to place the anti-frame hopping that the current potential brush jumps brush between two adjacent counting Gray codes;
On the inside of the third Gray code channel, for the 4th Gray's code channel as zero signal output label.
Above-mentioned Gray's code-disc, wherein the first Gray code channel, second Gray's code channel, third Gray code channel and the 4th Gray Code channel is copper foil Gray's code channel.
Above-mentioned Gray's code-disc, wherein the first Gray code channel, second Gray's code channel, third Gray code channel and the 4th Gray The operating potential of code channel is 3.3V.
Above-mentioned Gray's code-disc, wherein, the trigger is JK flip-flop.
Above-mentioned Gray's code-disc, wherein, the current potential for counting Gray code connection be more than the anti-frame hopping connection current potential or The current potential for counting Gray code connection is less than the current potential of the anti-frame hopping connection.
Above-mentioned Gray's code-disc, wherein, the current potential of the anti-frame hopping connection is zero.
Gray's code-disc provided by the present invention, due to using in first Gray's code channel, second Gray's code channel and third Gray Several counting Gray codes of counting are respectively provided on code channel, is additionally provided with and is used between two adjacent counting Gray codes Place the anti-frame hopping that the current potential brush jumps brush;Since anti-frame hopping is contour with counting Gray code, will not beat when current potential brush rotates, So as to prevent current potential brush leakage brush Gray code from making gray count more accurate.
Description of the drawings
Fig. 1 is the schematic diagram of Gray's code-disc preferred embodiment in the present invention.
Fig. 2 is the partial schematic diagram of Gray's code-disc preferred embodiment in the present invention.
In figure:1st, first Gray's code channel;2nd, second Gray's code channel;3rd, third Gray code channel;4th, the 4th Gray's code channel;5th, it counts Number Gray code;6th, anti-frame hopping;7th, pcb board.
Specific embodiment
The present invention provides a kind of Gray's code-disc, to make the purpose of the present invention, technical solution 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.
Refering to Figure 1, Gray's code-disc provided by the invention, including pcb board 7, the pcb board 7 is equipped with 4 circle Grays Code channel.Outmost turns setting is first Gray's code channel 1, successively, the inside of first Gray's code channel 1 second Gray's code channel 2 is set With third Gray code channel 3.The first Gray code channel 1, second Gray's code channel 2 and third Gray code channel 3 are for counting, and difference It is connect with trigger, output to microcontroller carries out calculation process after then trigger is encoded.Gray code of the prior art Disk is provided only with first, second, and third Gray's code channel for counting, and between two adjacent Gray codes in Gray's code channel For sky, that is, metal Gray code is not provided with, usually 7 clear area of pcb board.When in use, the current potential brush of trigger is from two neighboring After being passed through on one of Gray code in Gray code, 7 clear area of a pcb board and then again another Gray code of swipe need to be passed through, But another Gray code is turned to from 7 clear area of pcb board in current potential brush(That is second Gray code)When upper, frame hopping easily occurred and shows As.The generation of frame hopping phenomenon can cause counting error, and current potential brush has brushed one or more Gray codes and measurement structure will be made less Into irremediable error.
To overcome above-mentioned technical problem, as shown in Fig. 2, in Gray's code-disc provided by the invention, the pcb board 7 is equipped with First Gray's code channel 1, second Gray's code channel 2, third Gray code channel 3 and the 4th Gray being connect respectively with the current potential brush of trigger Code channel 4.Wherein first Gray's code channel 1, second Gray's code channel 2, be respectively provided on third Gray code channel 3 counting several Gray code 5 is counted, is additionally provided with to place the anti-frame hopping 6 that the current potential brush jumps brush between two adjacent counting Gray codes 5. The complete Gray's code channel of formation one for counting 6 complementation of Gray code 5 and the anti-frame hopping, and counting 5 He of Gray code The high settings such as the anti-frame hopping 6;It is mutually isolated by etching counting between the counting Gray code 5 and the anti-frame hopping 6.When having It is complementary and contour due to counting Gray code 5 and anti-frame hopping 6 when current potential brush passes through the first, second, and third Gray code channel, Frame hopping phenomenon or leakage brush phenomenon will not occur when current potential brush passes through, solve that gray count in the prior art is not allowed asks Topic.
Specifically, the first Gray code channel 1, second Gray's code channel 2, third Gray code channel 3 and the 4th Gray's code channel 4 Operating potential is 3.3V.Use the counting Gray code in the present invention, when the trigger is JK flip-flop, JK flip-flop Current potential brush is arranged on the counting and is rotated with Gray code centered around the counting with Gray code, and the current potential brush corresponds to different Gray's code channel is equipped with different current potential brushes.When current potential brush pass through three adjacent Gray codes when, i.e., by first Gray's code channel 1, When adjacent three in second Gray's code channel 2 and third Gray code channel 3 count Gray code 5 or anti-frame hopping 6.
Such as current potential brush is moved to the anti-frame hopping 6 of first Gray's code channel 1, second Gray's code channel 2 and third Gray code channel 3 On, the current potential on anti-frame hopping 6 at this time can be denoted as zero, then JK flip-flop records Gray's code value and is transmitted in microcontroller and saves as 000 binary coding, current potential brush are continued to move to when current potential brush detects a current potential, i.e., current potential brush is mobile and has been triggered to meter Number Gray code 5, such as the counting Gray code 5 are the counting Gray code on third Gray code channel 3, then JK flip-flop record Gray code Be worth and be transmitted to saved as in microcontroller 001 binary coding, then current potential brush continue to move to, and so on obtain different lattice Thunder code value, this is repeated no more again for existing counting.The difference is that the counting lattice in first, second, and third Gray's code channel Thunder code 5 can trigger current potential brush with current potential, and design the Gray code that the current potential that anti-frame hopping 6 connects is zero potential, when current potential brush Sky is recorded as when touching the anti-frame hopping 6.Since anti-frame hopping is contour with counting Gray code, will not beat when current potential brush rotates, By anti-frame hopping 6 can prevent current potential brush because rotating speed it is too fast and generate frame hopping or leakage brush phenomenon, make Gray's coded disc counting more subject to Really.
As the another specific embodiment of the present invention, when setting counts the current potential of Gray code 5 and anti-frame hopping 6, can also incite somebody to action It is described to count current potential of the current potential more than the anti-connection of frame hopping 6 or the current potential for counting Gray code 5 and connecting that Gray code 5 connects The current potential connected less than the anti-frame hopping 6.If the current potential for counting Gray code 5 is more than the current potential of anti-frame hopping 6, the triggering of current potential brush is anti- Sky or zero are then recorded as during the low potential of frame hopping 6;When the current potential for counting Gray code is less than the current potential of anti-frame hopping 6, current potential brush touches It is then recorded as during the high potential for sending out frame hopping 6 anti-empty or zero.
Further, rotation and the counting that the beginning second of formula is enclosed, this hair will be added up after one circle of current potential brush rotation It is bright positioned at 3 inside of the third Gray code channel, independently of a circle except first to third Gray's code channel, independently arranged 4th Gray's code channel 4 of Gray's code channel, for as zero signal output label.That is the 4th Gray's code channel 4 has zero reference Effect, every turn of current potential brush it is complete one circle can then trigger output pulsatile once signal, using the Gray code of the 4th Gray's code channel 4 as machine Tool zero-bit records, to realize the unlimited cumulative of multi-turn and measure.
Further, in above-mentioned Gray's code-disc, the first Gray code channel 1, second Gray's code channel 2, third Gray 3 and the 4th Gray's code channel 4 of code channel is copper foil Gray's code channel, can effectively transmit current potential, reaches and measures accurate effect.
In conclusion Gray's code-disc provided by the present invention, due to using in first Gray's code channel 1, second Gray's code channel 2 With several counting Gray codes 5 that counting is respectively provided on third Gray code channel 3, two adjacent counting Gray codes 5 Between be additionally provided with to place the anti-frame hopping 6 that the current potential brush jumps brush;Since anti-frame hopping is contour with counting Gray code, when current potential brush It will not beat during rotation, so as to prevent current potential brush leakage brush Gray code from making gray count more accurate.
It should be understood that the application of the present invention is not limited to the above, it 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.

Claims (5)

1. a kind of Gray's code-disc, which is characterized in that including pcb board, the pcb board is equipped with to be connected respectively with the current potential brush of trigger First Gray's code channel, second Gray's code channel, third Gray code channel and the 4th Gray's code channel connect;
Several countings of counting are respectively provided on wherein first Gray's code channel, second Gray's code channel and third Gray's code channel Gray code is additionally provided with to prevent the current potential brush from jumping brush between two adjacent counting Gray codes in same Gray's code channel Anti- frame hopping;
On the inside of the third Gray code channel, for the 4th Gray's code channel as zero signal output label;
The current potential of the anti-frame hopping connection is zero;
The counting Gray code and the anti-frame hopping are complementarily shaped to complete Gray's code channel, the counting in same Gray's code channel Gray code is intertwined with anti-frame hopping, and the counting Gray code and the contour setting of anti-frame hopping.
2. Gray's code-disc according to claim 1, which is characterized in that the first Gray code channel, second Gray's code channel, Three Gray's code channels and the 4th Gray's code channel are copper foil Gray's code channel.
3. Gray's code-disc according to claim 1, which is characterized in that the first Gray code channel, second Gray's code channel, The operating potential of three Gray's code channels and the 4th Gray's code channel is 3.3V.
4. Gray's code-disc according to claim 1, which is characterized in that the trigger is JK flip-flop.
5. Gray's code-disc according to claim 1, which is characterized in that the current potential for counting Gray code connection is more than described The current potential of anti-frame hopping connection or the current potential for counting Gray code connection are less than the current potential of the anti-frame hopping connection.
CN201510110503.9A 2015-03-13 2015-03-13 A kind of Gray's code-disc Active CN104767531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510110503.9A CN104767531B (en) 2015-03-13 2015-03-13 A kind of Gray's code-disc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510110503.9A CN104767531B (en) 2015-03-13 2015-03-13 A kind of Gray's code-disc

Publications (2)

Publication Number Publication Date
CN104767531A CN104767531A (en) 2015-07-08
CN104767531B true CN104767531B (en) 2018-06-26

Family

ID=53649184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510110503.9A Active CN104767531B (en) 2015-03-13 2015-03-13 A kind of Gray's code-disc

Country Status (1)

Country Link
CN (1) CN104767531B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0519333A1 (en) * 1991-06-21 1992-12-23 University Of Utah Research Foundation Rotary displacement measuring apparatus
CN2382074Y (en) * 1999-06-29 2000-06-07 冯畅 Flow meter counter
DE10057662A1 (en) * 2000-11-21 2002-04-04 Siemens Ag Absolute value rotation sensor reads magnetic Gray code track
CN1509411A (en) * 2001-05-16 2004-06-30 Position encoder
CN2679638Y (en) * 2003-08-25 2005-02-16 李亚兰 Digital display flexible rule having double sensors
CN204442350U (en) * 2015-03-13 2015-07-01 东莞捷荣技术股份有限公司 A kind of Gray's code-disc

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0519333A1 (en) * 1991-06-21 1992-12-23 University Of Utah Research Foundation Rotary displacement measuring apparatus
CN2382074Y (en) * 1999-06-29 2000-06-07 冯畅 Flow meter counter
DE10057662A1 (en) * 2000-11-21 2002-04-04 Siemens Ag Absolute value rotation sensor reads magnetic Gray code track
CN1509411A (en) * 2001-05-16 2004-06-30 Position encoder
CN2679638Y (en) * 2003-08-25 2005-02-16 李亚兰 Digital display flexible rule having double sensors
CN204442350U (en) * 2015-03-13 2015-07-01 东莞捷荣技术股份有限公司 A kind of Gray's code-disc

Also Published As

Publication number Publication date
CN104767531A (en) 2015-07-08

Similar Documents

Publication Publication Date Title
CN104764391B (en) A kind of electronics steel tape
CN104764392B (en) A kind of electronics tape
EP1600741A2 (en) Pulse width modulation based digital incremental encoder
CN103245371A (en) Position detection and valve position and stroke detection integral coder for motor rotator
CN104767531B (en) A kind of Gray's code-disc
CN104767530B (en) It is a kind of to count with Gray's code-disc
CN104767532B (en) A kind of Gray's code-disc that band just positions
CN204479009U (en) A kind of electronics steel tape
CN104766121B (en) A kind of counter code disc
CN204479010U (en) A kind of electronics tape
CN106643822A (en) Character wheel encoder and direct reading method
CN204388870U (en) absolute encoder
CN204442350U (en) A kind of Gray's code-disc
CN204515832U (en) A kind of counter code disc
CN107144225A (en) A kind of simple absolute circle grating scale
CN204202625U (en) Electronics multi-turn absolute value encoder
CN201281619Y (en) Passive direct reading water-gas meter sensor
CN110380728A (en) A kind of high-resolution hybrid modulus circuit conversion device and conversion method
WO2020119193A1 (en) Code disc and encoder
CN203840299U (en) Quadrature pulse decoding circuit for rotation incremental encoder
JP5531638B2 (en) Encoder device
CN110798205B (en) Zero position detection method and system for orthogonal coding pulse signal
CN215984592U (en) Encoder based on transmission, reflection and magnetic encoding scheme
CN1157589C (en) Absolute encoding measuremnt method using circular grating
CN106556299A (en) A kind of Intelligent measuring tape based on brush reading

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: Li Xiangliang

Inventor before: Li Xiangji

Inventor before: Xie Guangbao

Inventor before: Li Peng

Inventor before: Xia Wei

COR Change of bibliographic data
TA01 Transfer of patent application right

Effective date of registration: 20150910

Address after: Luohu District Songyuan road Shenzhen City, Guangdong province 518001 75 2 14B

Applicant after: Kang Kai

Address before: 523879 Xin'an Industrial Park, Changan Town, Dongguan, Guangdong

Applicant before: DONGGUAN JIERONG TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant