CN109728821A - A kind of encoder - Google Patents
A kind of encoder Download PDFInfo
- Publication number
- CN109728821A CN109728821A CN201910010739.3A CN201910010739A CN109728821A CN 109728821 A CN109728821 A CN 109728821A CN 201910010739 A CN201910010739 A CN 201910010739A CN 109728821 A CN109728821 A CN 109728821A
- Authority
- CN
- China
- Prior art keywords
- controllable switch
- encoder
- output end
- positive polarity
- input terminal
- 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.)
- Pending
Links
- 101150012763 endA gene Proteins 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 4
- 238000013139 quantization Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 2
- 101100379079 Emericella variicolor andA gene Proteins 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Abstract
The present invention discloses a kind of encoder, the encoder includes quantity weight-codings module composition identical with its output end number, each weight-codings module include be attempted by between positive pole and output end several by a positive polarity controllable switch and a negative polarity controllable switch be connected in series to pipe and an individual positive polarity controllable switch, and it is connected to a pull down resistor between output end and ground, positive polarity controllable switch connects the input terminal of the encoder with the control terminal of negative polarity controllable switch, the conversion time of the encoder and number of encoding bits and controllable switch quantity are all unrelated, just correspond to the conversion time of a controllable switch, substantially increase coding rate;Since the encoder is only made of the controllable switch and resistance that work on off operating mode, the power consumption of the encoder is greatly reduced.
Description
Technical field
The invention belongs to encoder techniques fields, and in particular to a kind of encoder.
Background technique
Parallel comparison A/D converter (also known as Flash ADC) and other type simulation digital signal converter ADC phases
Than having the advantages that conversion time is short, conversion speed is fast.But when conversion digit is more, hardware spending will quickly increase
Add, circuit becomes extremely complex, and conversion time will also lengthen.The reason is that: (1) Flash ADC will carry out input analog signal
Then all quantization levels are compared and are saved again by quantization.When the number of bits of conversion output isnWhen quantization level number
To have 2 n - 1, required comparator and trigger are all up to 2 n - 1, hardware cost significantly improves;(2) Flash ADC possesses
State is converted into the priority encoder of binary number after one comparison trigger storage.It is needed more when converting digit and increasing
Multiple semiconductor element, combinational circuit increase according to geometric progression, under fan-in number limited situation, it is necessary to increase combinational circuit grade
Number, also increases the delay of priority encoder naturally.
For the first situation, there are many documents to propose solution;For second situation, although having done
A few thing, but it is ineffective.Such as application No. is 98125226.5 Chinese patents to disclose a kind of priority encoder, mainly by
Logic gate and selection door are realized;Application No. is 201810316264.6 Chinese patents to also disclose a kind of priority encoder, main
It to be realized using existing integrated combination circuit.Due to too much use combinational circuit, when priority encoder input terminal quantity compared with
When more, circuit is not only complicated but also delay obviously increases.
Summary of the invention
In order to solve the above-mentioned problems in the prior art, the present invention proposes a kind of encoder.
To achieve the above object, the present invention adopts the following technical scheme:
A kind of encoder, includingA input terminalWithA output end,,For positive integer.The encoder includesA weight-codings module, theWeight-codings module includes being attempted by
Positive pole and output endBetweenIt is a to pipe and an individual positive polarity controllable switch and to be connected to output
EndA pull down resistor between ground,,;It each can to Guan Youyi positive polarity
Control switch and a negative polarity controllable switch are connected in series, the conducting when control of positive polarity controllable switch terminates high level, connect it is low
It is disconnected when level, conducting when disconnecting when the control of negative polarity controllable switch terminates high level, connect low level;TheIt is a to pipe just
The control terminal of polarity controllable switch and the control terminal of negative polarity controllable switch respectively with input terminal、It is connected,;The control terminal and input terminal of individual positive polarity controllable switchIt is connected.
Compared with prior art, the invention has the following advantages:
Encoder proposed by the present invention is identical with the encoder output number by mutually indepedent and parallel connection quantity
Weight-codings module composition, each weight-codings module include be attempted by between positive pole and output end several by one
A positive polarity controllable switch and a negative polarity controllable switch be connected in series to pipe and an individual positive polarity controllable switch,
And it is connected to a pull down resistor between output end and ground, the control terminal of positive polarity controllable switch and negative polarity controllable switch
Connect the input terminal of the encoder.The conversion time of the encoder and number of encoding bits and controllable switch quantity are all unrelated, only
It is equivalent to the conversion time of a controllable switch, substantially increases coding rate;Since the encoder is only by working in on-off
The controllable switch and resistance of state form, and greatly reduce the power consumption of the encoder.
Detailed description of the invention
Fig. 1 is a kind of composition block diagram of encoder of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of 4 encoder.
Specific embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
A kind of composition block diagram of encoder of the embodiment of the present invention is as shown in Figure 1, the encoder includesA input terminalWithA output end,,For positive integer.The encoder includesA weight-codings module, theWeight-codings module includes being attempted by positive pole and output endBetweenIt is a right
Pipe and an individual positive polarity controllable switch and it is connected to output endA pull down resistor between ground,,;Each to Guan Youyi positive polarity controllable switch and the series connection of negative polarity controllable switch and
At, disconnection when being connected when the control of positive polarity controllable switch terminates high level, connect low level, the control terminal of negative polarity controllable switch
Conducting when disconnecting when connecing high level, connect low level;TheThe control terminal and negative polarity of a positive polarity controllable switch to pipe are controllably opened
The control terminal of pass respectively with input terminalWithIt is connected,;Individual positive polarity can
Control the control terminal and input terminal of switchIt is connected.
In the present embodiment, the encoder includesA input terminal andA output end,.The encoder byA weight-codings module composition.The output end of each weight-codings module corresponds to an output end of the encoder, defeated
Enter end be the encoder fully enter end or in which it is several.The structure of each weight-codings module is essentially identical, wraps
Several being attempted by between positive pole and weight-codings module output end are included controllably to open pipe and an individual positive polarity
A pull down resistor between weight-codings module output end and ground is closed and is connected to, except that different weight-codings moulds
The quantity to pipe of block is different.One is connected in series to Guan Youyi positive polarity controllable switch and a negative polarity controllable switch,
The control logic of positive polarity controllable switch be its control terminal be high level when conducting, low level when disconnection, negative polarity controllable switch
Control logic be its control terminal be high level when disconnect, low level when conducting.Therefore, the positive polarity for only working as it to pipe
It is just connected when control terminal is high level and negative polarity control terminal is low level, other situations all disconnect.Due to it is all to pipe and
Individual positive polarity controllable switch is attempted by between positive pole and weight-codings module output end, therefore, as long as there is one
Pipe or individual positive polarity controllable switch are connected, weight-codings module just exports high level;Only when all to pipe and list
When only positive polarity controllable switch disconnects, it is low level that the output of weight-codings module, which is just pulled down resistance, which draws,.
1st weight-codings module is used to generate the lowest order coding of the encoder, and output end is the encoder
Output end, input terminal is all of the encoderA input terminal.Therefore, to pipe quantity be (- 1)/2, the control terminal of the positive polarity controllable switch input terminal with serial number odd number respectivelyPhase
Even, the control terminal of the negative polarity controllable switch input terminal with serial number even number respectivelyIt is connected, individually
Positive polarity controllable switch control terminal and highest order input terminalIt is connected.The sum of controllable switch are as follows:=
。
2nd weight-codings module is used to generate the secondary low level coding of the encoder, and output end is the encoder
Output end, input terminal is the input terminal of all even number serial numbers of the encoder.Therefore,
To pipe quantity be (- 3)/4, the control terminal of positive polarity controllable switch respectively with input terminalPhase
Even, the control terminal of negative polarity controllable switch respectively with input terminalIt is connected, individual positive polarity can
Control the control terminal and input terminal of switchIt is connected.The sum of controllable switch are as follows:=。
TheWeight-codings module is used to generate the of the encoderPosition coding, output end are the defeated of the encoder
Outlet, input terminal is、、、…、,For to pipe quantity,.TheThe control terminal and input terminal of a positive polarity controllable switch to pipe(i.e.Odd number
Times) be connected, theThe control terminal and input terminal of a negative polarity controllable switch to pipe(i.e.Even-multiple) phase
Even,;The control terminal and input terminal of individual positive polarity controllable switchIt is connected.Controllably open
The sum of pass are as follows:。
TheWeight-codings module is used to generate the highest order coding of the encoder, and output end is the encoder
Output end.TheWeight-codings module does not include to pipe, only one individual positive polarity controllable switch, control terminal
With input terminalIt is connected.
To sum up, the sum for the positive-negative polarity controllable switch that the encoder includes are as follows:
==。
The input/output relation of the encoder is as shown in table 1.According to table 1, the encoder can will be by continuous
" 1 " (being located at compared with low level) and continuous " 0 " (being located at high bit) is constitutedn+ 1 state is converted into onemPosition binary coding
To indicate.
1 encoder input/output relation table of table
Fig. 2 is the structural schematic diagram of 4 encoder.The encoder includes 4 weight-codings modules.1st weight-codings
The output end of module is, comprising 7 to pipe, input terminalWithIt is right with 7 respectively
The positive polarity controllable switch of pipe is connected with the control terminal of negative polarity controllable switch, input terminalIt is controllably opened with individual positive polarity
The control terminal of pass is connected;The output end of 2nd weight-codings module is, comprising 3 to pipe, input terminalWithIt is connected respectively with 3 to the positive polarity controllable switch of pipe and the control terminal of negative polarity controllable switch, input terminalIt is connected with the control terminal of individual positive polarity controllable switch;The output end of 3rd weight-codings module is, right comprising 1
Pipe, input terminalWithIt is connected respectively with 1 to the positive polarity controllable switch of pipe and the control terminal of negative polarity controllable switch, it is defeated
Enter endIt is connected with the control terminal of individual positive polarity controllable switch;4th weight-codings module only includes 1 individually anode
Property controllable switch, output end are, input terminal.The input/output relation of the encoder is shown in Table in 1 listed
Column andColumn.
Positive and negative polarity controllable switch in the present embodiment can be made of different materials, as long as meeting resistance when disconnecting
Via resistance is sufficiently small and the features such as conducting speed is fast when sufficiently large, conducting, such as atom switch, quantum switch, photon
Switch and transistor switch etc..
The encoder of the present embodiment is mainly used in A/D conversion circuit.A/D conversion circuit generally by sampling hold circuit,
The composition such as comparator and trigger (for saving the output state of comparator).The encoder applies of the present embodiment are converted in A/D
When circuit, input terminal connects the output end of trigger, encodes to the status signal (as shown in table 1) of trigger output.
In addition, the encoder of the present embodiment can be also used in other digital integrated electronic circuits or in modulus hydrid integrated circuit.
It is above-mentioned that only several specific embodiments in the present invention are illustrated, but can not be protection scope of the present invention office
Be limited to this, it is all according to the present invention in the equivalent change or modification made of design spirit or equal proportion zoom in or out,
It is deemed to fall protection scope of the present invention.
Claims (1)
1. a kind of encoder, which is characterized in that includingA input terminalWithA output end,,For positive integer;The encoder includesA weight-codings module, thePower
Value coding module includes being attempted by positive pole and output endBetweenIt is a can to pipe and an individual positive polarity
Control switchs and is connected to output endA pull down resistor between ground,,;
Each it is connected in series to Guan Youyi positive polarity controllable switch and a negative polarity controllable switch, the control of positive polarity controllable switch
Disconnection when being connected when terminating high level, connect low level disconnects when the control of negative polarity controllable switch terminates high level, connects low level
When be connected;TheThe control terminal of a positive polarity controllable switch to pipe and the control terminal of negative polarity controllable switch respectively with input terminalWithIt is connected,;The control terminal of individual positive polarity controllable switch with
Input terminalIt is connected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910010739.3A CN109728821A (en) | 2019-01-07 | 2019-01-07 | A kind of encoder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910010739.3A CN109728821A (en) | 2019-01-07 | 2019-01-07 | A kind of encoder |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109728821A true CN109728821A (en) | 2019-05-07 |
Family
ID=66298822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910010739.3A Pending CN109728821A (en) | 2019-01-07 | 2019-01-07 | A kind of encoder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109728821A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01248829A (en) * | 1988-03-30 | 1989-10-04 | Matsushita Electric Ind Co Ltd | Digital/analog converter |
JP2002091901A (en) * | 2000-09-18 | 2002-03-29 | Nec Eng Ltd | Priority encoder |
CN1474511A (en) * | 2003-08-06 | 2004-02-11 | 华侨大学 | Arbitrarily extensible binary keyboard coding circuit |
CN201281848Y (en) * | 2008-02-27 | 2009-07-29 | 宁波天安(集团)股份有限公司 | Ultra-low power consumption encode circuit |
-
2019
- 2019-01-07 CN CN201910010739.3A patent/CN109728821A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01248829A (en) * | 1988-03-30 | 1989-10-04 | Matsushita Electric Ind Co Ltd | Digital/analog converter |
JP2002091901A (en) * | 2000-09-18 | 2002-03-29 | Nec Eng Ltd | Priority encoder |
CN1474511A (en) * | 2003-08-06 | 2004-02-11 | 华侨大学 | Arbitrarily extensible binary keyboard coding circuit |
CN201281848Y (en) * | 2008-02-27 | 2009-07-29 | 宁波天安(集团)股份有限公司 | Ultra-low power consumption encode circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106067817B (en) | 1.5 redundancy bits based on controllable asymmetric dynamic comparator accelerate gradual approaching A/D converter | |
CN101640412B (en) | Soft-starting circuit of power supply | |
CN103166644B (en) | A kind of low-power consumption gradual approaching A/D converter and conversion method thereof | |
CN103312331B (en) | A kind of analog to digital converter based on memristor | |
CN106301377A (en) | Successive approximation is simulated to digital converter | |
CN104124971A (en) | Two-stage pipelined analog-digital converter based on successive approximation principle | |
CN107135358B (en) | A kind of high-speed RAM PADC for cmos image sensor | |
CN105119603B (en) | Streamline gradually-appoximant analog-digital converter | |
CN109038510A (en) | A kind of dc circuit breaker | |
CN110265982A (en) | A kind of hybrid dc circuit breaker based on LC buffer current-limiting circuit | |
CN103078645A (en) | Macrocell and method and circuit for decoding binary codes into thermometer codes | |
CN103152050A (en) | High-speed successive approximation type analog-to-digital converter | |
CN106972861A (en) | A kind of analog-digital converter | |
CN101447783A (en) | Self-sustained protective circuit based on gate circuit and implementation method thereof | |
TWI694680B (en) | Successive approximation register analog-to-digital converter and control circuit thereof | |
CN104852740B (en) | Sigma-delta ADC based on adaptive reference voltage | |
CN109728821A (en) | A kind of encoder | |
CN204967798U (en) | Adopt SAR ADC of low resolution DAC capacitor array | |
CN103152051A (en) | Low-power-consumption successive approximation type analog to digital converter | |
CN105141286A (en) | Digital filter filtering single clock cycle pulses and glitches | |
TW202141934A (en) | Digital slope analog to digital converter device and signal conversion method | |
CN102035527A (en) | Offset voltage elimination technology for differential time domain comparator | |
CN106330169B (en) | A kind of timing sequence conversion and data-latching circuit suitable for asynchronous SAR ADC | |
CN102957415A (en) | Level converting method and level converting system | |
CN109327209A (en) | A kind of renewable comparator circuit of high speed |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |