CN109547025A - A kind of quick D conversion method and analog-digital converter - Google Patents
A kind of quick D conversion method and analog-digital converter Download PDFInfo
- Publication number
- CN109547025A CN109547025A CN201811382734.5A CN201811382734A CN109547025A CN 109547025 A CN109547025 A CN 109547025A CN 201811382734 A CN201811382734 A CN 201811382734A CN 109547025 A CN109547025 A CN 109547025A
- Authority
- CN
- China
- Prior art keywords
- voltage
- power supply
- pressure stabilizing
- accurate
- analog
- 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
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 24
- 238000000034 method Methods 0.000 title claims abstract description 14
- 230000000087 stabilizing effect Effects 0.000 claims abstract description 29
- 230000005611 electricity Effects 0.000 claims description 5
- 230000001105 regulatory effect Effects 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000004088 simulation Methods 0.000 claims 1
- 239000003990 capacitor Substances 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 238000005265 energy consumption Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/34—Analogue value compared with reference values
- H03M1/38—Analogue value compared with reference values sequentially only, e.g. successive approximation type
- H03M1/42—Sequential comparisons in series-connected stages with no change in value of analogue signal
Abstract
The present invention discloses a kind of quick D conversion method and analog-digital converter, wherein D conversion method includes the following steps: that the high power supply Ug of accurate pressure stabilizing power supply Ud low with accurate pressure stabilizing forms an accurate voltage section, the benchmark divider resistance of n concatenation connects the both ends in the accurate voltage section, and the reference voltage of n comparator is formed through dividing;Analog voltage to be measured has an overturning point Uk compared with reference voltage, in comparison result;Comparison voltage section next time is constructed to overturn point Uk, is so repeatedly recycled, until comparing the precision of setting;Analog voltage U to be measured is exported after taking the average value of Uk and U (k+1) in for the last time relatively.The present invention is carried out on the basis of preceding primary comparison each time, without starting from scratch and only with a comparison time, therefore is improved and is compared speed.
Description
Technical field
The present invention relates to D conversion method and analog-digital converter, in particular to a kind of quick D conversion method and modulus
Converter.
Background technique
Existing common several analog-digital converters mainly have integral form, gradually compare type, compare type/serial parallel parallel and compare
Type, sigma-delta modulation type, capacitor array gradually compare type, voltage to frequency conversion type etc., the principle of these types of analog-digital converter and main excellent
Disadvantage is as follows:
(1) integrated AD working principle is that input voltage is converted into time (pulse width signal) or frequency (pulse frequency
Rate), digital value is then obtained by timer/counter, its advantage is that high-resolution can be obtained with ball bearing made, but the disadvantage is that
Since conversion accuracy depends on the time of integration, conversion rate is extremely low, and the monolithic converter at initial stage mostly uses greatly integral form,
Gradually compare type now gradually becomes mainstream.
(2) gradually comparison A/D is made up of a comparator and D/A converter gradually CL Compare Logic, since MSB,
Sequentially input voltage and the output of built-in D/A converter are compared by each, compares through n times and exports digital value, electricity
Road scale belong to it is medium, it is cheap at low resolution (<12) its advantage is that speed is higher, low in energy consumption, but high-precision (>
12) when price it is very high.
(3) parallel comparison A/D uses multiple comparators, only makees primary compare and carries out conversion, also known as FLash (quick)
Type, since conversion rate is high, n conversions need 2n-1 comparator, therefore circuit scale is also very big, and price is also high, only
Suitable for the extra high field of video AD converter uniform velocity;Serial parallel comparison A/D structure is between parallel and gradually compare type
Between, most typically D/A converter forms with 2 n/2 parallel converters, conversion is carried out with comparing twice,
So referred to as Half flash (half quickly) type.
(4) sigma-delta modulation type AD is made of integrator, comparator, 1 D/A converter and digital filter etc., in principle
It is similar to integral form, input voltage is converted into time (pulse width) signal, obtains digital value after being handled with digital filter,
The numerical portion of circuit is substantially easy singualtion, therefore is easily able to high-resolution, is mainly used for audio and measurement.
(5) gradually comparison A/D uses capacitance matrix mode, general Resistor Array Projector to capacitor array in built-in D/A converter
The value of most resistance must be consistent in column D/A converter, generates high-precision resistance on a single chip and is not easy to, if electricity consumption
Hold array and replace electric resistance array, high-precision single converter can be made of low cost, nearest gradually comparison A/D turns
Parallel operation is mostly capacitor array type.
(6) voltage to frequency conversion type is to realize that analog-to-digital conversion, principle are the moulds first by input by indirect conversion mode
Quasi- signal is converted into frequency, then with counter by frequency conversion at digital quantity, theoretically the resolution ratio of this AD almost can be with
It is unlimited to increase, as long as the time of sampling can satisfy the width of the pile-up pulse number of output frequency resolution ratio requirement, advantage
High resolution, low in energy consumption, price is low, but external counting circuit is needed to complete AD conversion jointly.
Summary of the invention
In view of the problems of the existing technology, the present invention provides a kind of quick D conversion method and analog-digital converter.
To achieve the above object, concrete scheme of the invention is as follows:
A kind of flash analog/digital converter, comprising: regulated power supply, the high power supply of accurate pressure stabilizing, the low power supply of accurate pressure stabilizing, control electricity
Road, several benchmark divider resistances and comparator, the regulated power supply are the high power supply of accurate pressure stabilizing, the low power supply of accurate pressure stabilizing and control
Circuit power supply processed, it is connected to after the benchmark divider resistance series connection between the high power supply of accurate pressure stabilizing and the low power supply of accurate pressure stabilizing, shape
At multiple reference voltages, benchmark divider resistance described in every two connects one end of a comparator, and input analog signal connects institute
There is the other end of comparator, comparator output terminal connects control circuit, and output digit signals are exported by control circuit.
Preferably, the accurate high power supply of pressure stabilizing power supply low with accurate pressure stabilizing, can be constituted with analog circuit mode, can also
To be constituted with digital circuit.
The present invention also provides a kind of quick D conversion methods, include the following steps:
S1: the accurate high power supply Ug of pressure stabilizing power supply Ud low with accurate pressure stabilizing forms an accurate voltage section Ug-Ud, n string
The benchmark divider resistance connect connects the both ends in the accurate voltage section, and the reference voltage Uc of n comparator, every phase are formed through dividing
Voltage difference delta U between adjacent two reference voltages is (Ug-Ud)/n;
S2: analog voltage U to be measured has an overturning point Uk compared with n reference voltage Uc, in comparison result, is higher than the portion Uk
Point output is 0 for 1, lower than the output of the part Uk, or higher than the output of the part Uk is 0, is 1 lower than the output of the part Uk, then U between certain two
Between a adjacent reference voltage Uk and U (k+1);
S3: comparison voltage section next time is constructed to overturn point Uk, i.e. the precision high power supply Ug of pressure stabilizing is Uk voltage, accurate
The low power supply Ud of pressure stabilizing is U (k+1) voltage;
S4: constructing to enter after next voltage range and compare next time, then since S1, so multiple circulation, until than
Relatively go out the precision of setting;
S5: analog voltage U to be measured takes in for the last time relatively and is converted into numerical value after the average value of Uk and U (k+1) and carries out
Serial output or parallel output;
Wherein, n is positive integer, and c=0,1,2 ... n, k=0,1,2 ... c-1.
Preferably, it is full voltage that accurate pressure stabilizing high power supply Ug is taken when comparing for the first time, and the low power supply Ud of accurate pressure stabilizing is 0 volt,
If Ud is still 0 volt when comparing for the second time, need to compensate.
Preferably, the calculation method of the Uk voltage are as follows: Ug- Δ U*INT [(Ug-U)/Δ U], wherein INT is round numbers.
Preferably, the calculation method of U (k+1) voltage are as follows: Ud+ Δ U*INT [(U-Ud)/Δ U], wherein INT is to take
Integer.
Using technical solution of the present invention, have the advantages that
It (1), is more all to be carried out on the basis of preceding primary comparison each time, without starting from scratch only with a comparison
Time, therefore improve and compare speed;
(2), precision depends on number of comparisons and accurate height power supply or precision DA power supply;
(3), regulated power supply, precision voltage source or precision DA power supply, control circuit and a small amount of comparator, composition cost is not high,
It therefore is the comparatively ideal Principle Method of current converter.
Detailed description of the invention
Fig. 1 is invention's principle block diagram;
Fig. 2 is circuit diagram of the present invention;
Fig. 3 is working principle diagram of the present invention.
Specific embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is further described.
Referring to Fig. 2, the present invention provides a kind of flash analog/digital converter, and the present invention can use 4~16 comparators, the embodiment
With 4 comparators, in which: resistance R12, R15, R25, R35, R42 are connected in series in accurate high power supply VC1 and accurate low power supply
Between VC2, the negative phase end for being separately connected comparator U1A, U1B, U2A, U2B of the string resistance, positive terminal links together
For voltage input end to be measured, C3 is filter capacitor;R14, R21, R32, R45 connection comparator are exported to single-chip microcontroller M1;R49 connection
Q1 makees 0V compensation;XT1, C4, C5 are the crystal oscillating circuit of single-chip microcontroller M1;VR1, C1, C2 are voltage regulator circuit connection;R7,R16,R19,
R20, R24, R29, R34, R38, R44, R47, R51, R52, R26, R27, R30, R33, R36, R37, R39, R43, R46, C6 with
Single-chip microcontroller M1 connects and composes DA precision voltage source VC1;R6,R1,R2,R3,R4,R5,R8,R9,R10,R11,R17,R18,R22,
R23, R29, R31, R40, R41, R48, R50, R53, C7 and single-chip microcontroller M1 connect and compose DA precision voltage source VC2;Single-chip microcontroller M1 connects
R13 is met as serial data output.
Referring to Fig. 3, the working principle of the present embodiment are as follows:
Comparing for the first time: secondary voltage range is constructed by the result of first time, then Ug full voltage is 5V, Ud 0V,
Voltage range is 5V, divides to form 5 reference voltages through benchmark divider resistance, and the difference between each adjacent two reference voltage is
1V, i.e. Ug=U0=5V, U1=4V, U2=3V, U3=2V, U4=1V, Ud=U5=0V;Q1 conducting, comparator U2A, U2B are defeated
It is out 0, U1A, U1B output are 1, and overturning point is U2, confirm that voltage to be measured is located at U2=3V, between U3=2V.
Compare for the second time: by secondary result construction third time voltage range, then each adjacent two reference voltage it
Between difference be 0.2V, Ug=U0=3V, U1=2.8V, U2=2.6V, U3=2.4V, U4=2.2V, Ud=U5=2V;Compare
Device U2B output is 0, and U1A, U1B, U2A output are 1, and overturning point is U1, confirms that voltage to be measured is located at U1=2.8V, U2=2.6V
Between.
Third time compare: the 4th voltage range is constructed by the result of third time, then each adjacent two reference voltage it
Between difference be 0.04V, Ug=U0=2.8V, U1=2.76V, U2=2.72V, U3=2.68V, U4=2.64V, Ud=U5=
2.6V;Comparator U2B output is 0, and U1A, U1B, U2A output are 1, and overturning point is U3, confirms that voltage to be measured is located at U3=
Between 2.68V, U4=2.64V.
4th comparison: being constructed the 5th voltage range by the 4th result, then each adjacent two reference voltage it
Between difference be 0.008V, Ug=U0=2.68V, U1=2.672V, U2=2.664V, U3=2.656V, U4=2.648V, Ud
=U5=2.64V;Comparator U1B, U2A, U2B output are that 0, U1A output is 1, and overturning point is U1, confirm that voltage to be measured is located at U1
Between=2.672V, U2=2.664V.
5th comparison: the difference between each adjacent two reference voltage is 0.0016V, Ug=U0=2.672V, U1=
2.6704V, U2=2.6688V, U3=2.6672V, U4=2.6656V, Ud=U5=2.664V;Comparator U2B output is 0,
U1A, U1B, U2A output are 1, and overturning point is U3, confirm that voltage to be measured is located at U3=2.6672V, between U4=2.6656V.
Analog voltage U to be measured is averaged in for the last time relatively: (2.6656+2.6672)/2=2.6664V, the value
Being converted to can Serial output after numerical value.
Change primary voltage section every in this way, so that it may measure the n voltage in the primary section, therefore pendulous frequency is times of n
Number, measurement accuracy are the multiple power of n.
Due to that need not measure each time all since 0, then speed is improved;Pendulous frequency is the multiple of n, then improves survey
Accuracy of measurement;Number of comparators is few, and precision voltage source is at low cost.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all at this
Under the inventive concept of invention, using equivalent structure transformation made by description of the invention and accompanying drawing content, or directly/use indirectly
It is included in protection scope of the present invention in other related technical areas.
Claims (6)
1. a kind of flash analog/digital converter characterized by comprising regulated power supply, the high power supply of accurate pressure stabilizing, the low electricity of accurate pressure stabilizing
Source, control circuit, several benchmark divider resistances and comparator, the regulated power supply are the high power supply of accurate pressure stabilizing, accurate pressure stabilizing
Low power supply and control circuit power supply are connected to the high power supply of accurate pressure stabilizing electricity low with accurate pressure stabilizing after the benchmark divider resistance series connection
Between source, multiple reference voltages are formed, benchmark divider resistance described in every two connects one end of a comparator, input simulation letter
The other end of number all comparators of connection, comparator output terminal connect control circuit, and output digit signals are exported by control circuit.
2. flash analog/digital converter according to claim 1, which is characterized in that the high power supply of the precision pressure stabilizing and precision are steady
Power supply is forced down, can be constituted, can also be constituted with digital circuit with analog circuit mode.
3. a kind of quick D conversion method, which comprises the steps of:
S1: the accurate high power supply Ug of pressure stabilizing power supply Ud low with accurate pressure stabilizing form an accurate voltage section Ug-Ud, and n concatenates
Benchmark divider resistance connects the both ends in the accurate voltage section, and the reference voltage Uc of n comparator is formed through dividing, per adjacent two
Voltage difference delta U between a reference voltage is (Ug-Ud)/n;
S2: analog voltage U to be measured has an overturning point Uk compared with n reference voltage Uc, in comparison result, and it is defeated to be higher than the part Uk
It is out 1, is 0 lower than the output of the part Uk, or export higher than the part Uk as 0, be 1 lower than the output of the part Uk, then U is between certain two phase
Between adjacent reference voltage Uk and U (k+1);
S3: comparison voltage section next time is constructed to overturn point Uk, i.e. the precision high power supply Ug of pressure stabilizing is Uk voltage, accurate pressure stabilizing
Low power supply Ud is U (k+1) voltage;
S4: constructing to enter after next voltage range and compare next time, then since S1, so multiple circulation, until comparing
The precision of setting;
S5: analog voltage U to be measured take in for the last time relatively be converted into after the average value of Uk and U (k+1) numerical value carry out it is serial
Output or parallel output;
Wherein, n is positive integer, and c=0,1,2 ... n, k=0,1,2 ... c-1.
4. quick D conversion method according to claim 3, which is characterized in that take accurate pressure stabilizing high when comparing for the first time
Power supply Ug is full voltage, and the low power supply Ud of accurate pressure stabilizing is 0 volt, if Ud is still 0 volt when comparing for the second time, needs to compensate.
5. quick D conversion method according to claim 3, which is characterized in that the calculation method of the Uk voltage are as follows:
Ug- Δ U*INT [(Ug-U)/Δ U], wherein INT is round numbers.
6. quick D conversion method according to claim 3, which is characterized in that the calculation method of U (k+1) voltage
Are as follows: Ud+ Δ U*INT [(U-Ud)/Δ U], wherein INT is round numbers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811382734.5A CN109547025A (en) | 2018-11-20 | 2018-11-20 | A kind of quick D conversion method and analog-digital converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811382734.5A CN109547025A (en) | 2018-11-20 | 2018-11-20 | A kind of quick D conversion method and analog-digital converter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109547025A true CN109547025A (en) | 2019-03-29 |
Family
ID=65848665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811382734.5A Pending CN109547025A (en) | 2018-11-20 | 2018-11-20 | A kind of quick D conversion method and analog-digital converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109547025A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022000927A1 (en) * | 2020-06-30 | 2022-01-06 | 长鑫存储技术有限公司 | Semiconductor apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6304199B1 (en) * | 1999-05-05 | 2001-10-16 | Maxim Integrated Products, Inc. | Method and apparatus for deglitching digital to analog converters |
CN1402436A (en) * | 2002-07-30 | 2003-03-12 | 李增田 | Link code A/D converter |
CN104965158A (en) * | 2015-05-21 | 2015-10-07 | 武汉大学 | Improved ultrahigh-frequency partial discharge capacity detection acquiring device and method |
CN205644584U (en) * | 2016-05-09 | 2016-10-12 | 中国海洋石油总公司 | Deep sea well drilling gas is invaded and is detected processing circuit |
-
2018
- 2018-11-20 CN CN201811382734.5A patent/CN109547025A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6304199B1 (en) * | 1999-05-05 | 2001-10-16 | Maxim Integrated Products, Inc. | Method and apparatus for deglitching digital to analog converters |
CN1402436A (en) * | 2002-07-30 | 2003-03-12 | 李增田 | Link code A/D converter |
CN104965158A (en) * | 2015-05-21 | 2015-10-07 | 武汉大学 | Improved ultrahigh-frequency partial discharge capacity detection acquiring device and method |
CN205644584U (en) * | 2016-05-09 | 2016-10-12 | 中国海洋石油总公司 | Deep sea well drilling gas is invaded and is detected processing circuit |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022000927A1 (en) * | 2020-06-30 | 2022-01-06 | 长鑫存储技术有限公司 | Semiconductor apparatus |
CN113945293A (en) * | 2020-06-30 | 2022-01-18 | 长鑫存储技术有限公司 | Semiconductor device with a plurality of semiconductor chips |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106374930B (en) | Gradually-appoximant analog-digital converter and D conversion method based on digital calibration | |
CN100583644C (en) | Integrating A/D convertion method and its A/D converter | |
CN101964662B (en) | Improved single-slope serial analog-digital converter | |
CN104168020B (en) | The electric capacity gamma correction circuit and method of a kind of analog-digital converter of approach type by turn | |
CN102072989B (en) | Measurement device with function of measuring capacitance | |
CN1255951C (en) | High-precision D-A converter circuit | |
CN105933004B (en) | A kind of high-accuracy capacitor self calibration gradual approaching A/D converter | |
CN103873059A (en) | Digital calibration method for high-precision SAR ADC (successive approximation register analog to digital converter) | |
CN103368575B (en) | Digital correction circuit and the digital to analog converter of the structure of current rudder containing this circuit | |
CN102545902B (en) | Multistep single-ramp analog digital signal conversion device | |
CN106533443B (en) | A kind of high speed dynamic comparer offset voltage calibration circuit | |
CN106933289B (en) | A kind of number low-dropout regulator and its control method | |
CN101977058A (en) | Sequential approximation analog to digital converter with digital correction and processing method thereof | |
CN103518329A (en) | Pre-charged capacitive digital-to-analog converter | |
CN102111156B (en) | Successive approximation register analog-to-digital conversion circuit for realizing minimal dynamic range | |
CN102970038A (en) | Gradual approach analog to digital converter for correcting unmatching of capacitor and method thereof | |
CN104132738B (en) | Temperature sensor and temperature measurement method | |
CN204909403U (en) | Electronic clinical thermometer | |
CN109379082A (en) | A kind of gradually-appoximant analog-digital converter | |
CN104092466B (en) | Assembly line successive approximation analog-to-digital converter | |
CN108988860A (en) | A kind of calibration method and SAR ADC system based on SAR ADC | |
CN109547025A (en) | A kind of quick D conversion method and analog-digital converter | |
CN104333352B (en) | Ramp generator and imageing sensor | |
CN103163359A (en) | Super-capacitor single voltage sampling measurement circuit | |
CN108988862A (en) | Analog-digital converter and D conversion method |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190329 |