CN108111172A - A kind of circuit that digital quantity is converted to resistance output - Google Patents
A kind of circuit that digital quantity is converted to resistance output Download PDFInfo
- Publication number
- CN108111172A CN108111172A CN201711431798.5A CN201711431798A CN108111172A CN 108111172 A CN108111172 A CN 108111172A CN 201711431798 A CN201711431798 A CN 201711431798A CN 108111172 A CN108111172 A CN 108111172A
- Authority
- CN
- China
- Prior art keywords
- operational amplifier
- resistance
- output terminal
- output
- circuit
- 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
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/66—Digital/analogue converters
Abstract
The invention discloses it is a kind of by digital quantity be converted to resistance output circuit, including:D/A converter module, reverse phase amplification module, voltage comparison module and sampled measurements module;D/A converter module includes microcontroller, digital analog converter and the first operational amplifier, and the data-interface of digital analog converter is connected with microcontroller, and the output terminal of digital analog converter is connected with the input terminal of the first operational amplifier;The output terminal of first operational amplifier is connected with the input terminal of reverse phase amplification module;The output terminal of reverse phase amplification module and the input terminal of voltage comparison module connect;Voltage comparison module includes switching tube;Sampled measurements module includes the 3rd operational amplifier and sampling resistor, and one end of sampling resistor and the common port of switching tube connect;The input terminal of 3rd operational amplifier and the common port of switching tube connect, and the output terminal of the 3rd operational amplifier and the benchmark input end of digital analog converter connect.The resistance output signal of the circuit influences from curent change, and output stablizes, is continuously adjustable.
Description
Technical field
The present invention relates to a kind of circuits that digital quantity is converted to resistance output.
Background technology
At present, when needing digital quantity being converted into resistance, conventional method be all using multiple resistance and relay into
Row series-parallel system obtains different resistance;Big using the circuit board volume of this method, resolution ratio is inadequate, and resistance changes
Discontinuously.
The content of the invention
In view of the shortcomings of the prior art, the object of the present invention is to provide a kind of electricity that digital quantity is converted to resistance output
Road, the resistance output signal which generates influence from curent change, and output stablizes, is continuously adjustable.
To achieve the above object, the present invention provides it is a kind of by digital quantity be converted to resistance output circuit, including:Digital-to-analogue
Modular converter, reverse phase amplification module, voltage comparison module and sampled measurements module;
D/A converter module includes microcontroller, digital analog converter and the first operational amplifier, the data of digital analog converter
Interface is connected with microcontroller, and the output terminal of digital analog converter is connected with the inverting input of the first operational amplifier;First fortune
The output terminal for calculating amplifier is connected with the inverting input of reverse phase amplification module;The output terminal of reverse phase amplification module is compared with voltage
The inverting input connection of module;
Voltage comparison module includes second operational amplifier and switching tube, and the in-phase input end of second operational amplifier is with opening
The output terminal connection of pipe is closed, the output terminal of second operational amplifier and the control terminal of switching tube connect.
Sampled measurements module includes the 3rd operational amplifier and sampling resistor, one end of sampling resistor and switching tube it is public
End connection, the other end ground connection of sampling resistor;The in-phase input end of 3rd operational amplifier and the common port of switching tube connect, the
The reverse inter-input-ing ending grounding of three operational amplifiers, the output terminal of the 3rd operational amplifier and the benchmark input end of digital analog converter connect
It connects.
Compared with prior art, the circuit disclosed by the invention that digital quantity is converted to resistance output, by changing digital-to-analogue
The output voltage of converter carrys out voltage between the common port and common port of adjusting switch pipe, so as to change the output terminal of switching tube
Resistance between control terminal, the resistance output signal which generates influence from curent change, and output stablizes, continuously may be used
It adjusts.
Another specific embodiment according to the present invention, D/A converter module further comprise the first capacitance, the first capacitance
One end connects the inverting input of the first operational amplifier, and the other end of the first capacitance connects the output of the first operational amplifier
End;The in-phase input end ground connection of first operational amplifier.
Another specific embodiment according to the present invention, reverse amplification module include four-operational amplifier, first resistor and
Second resistance, the inverting input of four-operational amplifier are connected through first resistor with the output terminal of the first operational amplifier;The
The in-phase input end ground connection of four-operational amplifier;The inverting input of one end connection four-operational amplifier of second resistance, the
The output terminal of the other end connection four-operational amplifier of two resistance.
The resistance value of another specific embodiment according to the present invention, first resistor and second resistance is equal.
Another specific embodiment according to the present invention, voltage comparison module further comprise 3rd resistor, 3rd resistor
The output terminal of one end and second operational amplifier connects, and the other end of 3rd resistor and the control terminal of switching tube connect.
Another specific embodiment according to the present invention, switching tube are field-effect tube.
Another specific embodiment according to the present invention, sampled measurements module further comprise the 4th resistance, the 5th resistance and
6th resistance, the inverting input of the 3rd operational amplifier is through the 4th resistance eutral grounding;It is put with the 3rd computing one end of 5th resistance
The inverting input connection of big device, the other end of the 5th resistance are connected with the output terminal of the 3rd operational amplifier;3rd computing is put
The output terminal of big device is connected through the benchmark input end of the 6th resistance and digital analog converter.
Another specific embodiment according to the present invention, sampled measurements module further comprise the second capacitance, the second capacitance
The benchmark input end of one end and digital analog converter connects;The other end ground connection of second capacitance.
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment belongs to the scope of protection of the invention.
Description of the drawings
Fig. 1 is the circuit diagram for the circuit that embodiment 1 provides;
Fig. 2 is the working circuit diagram of digital analog converter in the circuit that embodiment 1 provides.
Specific embodiment
Embodiment 1
It is the circuit diagram provided in this embodiment that digital quantity is converted to the circuit that resistance exports referring to Fig. 1.The circuit bag
It includes:D/A converter module 1, reverse phase amplification module 2, voltage comparison module 3 and sampled measurements module 4.
D/A converter module 1 includes microcontroller 11, digital analog converter U1, the first capacitance C1 and the first operational amplifier
The data-interface of A1, digital analog converter U1 are connected with microcontroller 11;The output terminal of digital analog converter U1 and the first operation amplifier
The inverting input connection of device;One end of first capacitance C1 connects the inverting input of the first operational amplifier, the first capacitance C1
The other end connect the first operational amplifier output terminal;The output terminal of first operational amplifier and the reverse phase of reverse phase amplification module
Input terminal connects.
In the present embodiment, it is 16 that digital analog converter U1, which selects the AD5543 of ADI companies, AD5543, low-power consumption, electric current are defeated
Go out, small size digital analog converter U1 (DAC), design is powered using 5V single supplies, and is worked under ± 10V multiplication reference voltages.
Full-span output electric current is determined by the external reference voltages (VREF) applied.It is interior when external arithmetic amplifier is used together
Portion's feedback resistance (RFB) supports R-2R and temperature tracking, to carry out voltage conversion.Serial data interface utilizes serial data
(SDI), clock (CLK) and chip selection (CS) pin are inputted, high speed, the input of 11 compatible type of three-wire type microcontroller are provided.
Referring to Fig. 2, Fig. 2 is the working circuit diagram of digital analog converter U1 in circuit provided in this embodiment;The base of AD5543
This operating circuit such as Fig. 2, obtains and the corresponding output voltage of digital quantity, Vout=-Vref*D/ in amplifier output terminal
65536.D is the digital quantity inputted by microcontroller 11, and the value range of D is 0-65535.
Reverse amplification module includes four-operational amplifier A4, first resistor R1 and second resistance R2, the 4th operation amplifier
The inverting input of device A4 is connected through first resistor R1 with the output terminal of the first operational amplifier;Four-operational amplifier A4's is same
Phase input end grounding;The inverting input of one end connection four-operational amplifier A4 of second resistance R2, second resistance R2's is another
The output terminal of one end connection four-operational amplifier A4.The output terminal of reverse phase amplification module, i.e., four-operational amplifier A4's is defeated
The inverting input of outlet and voltage comparison module connects;
In the present embodiment, the resistance value of first resistor R1 and second resistance R2 are equal.
Voltage comparison module includes second operational amplifier A2,3rd resistor R3 and switching tube Q1, and switching tube Q1 is imitated for field
Control terminal, common port and the output terminal of Ying Guan, switching tube Q1, correspond respectively to the grid, source electrode, drain electrode of field-effect tube, and second
The in-phase input end of operational amplifier A 2 is connected with the drain electrode of switching tube Q1, and the output terminal of second operational amplifier A2 is through the 3rd electricity
Resistance R3 is connected with the source level of switching tube Q1.
Sampled measurements module includes the 3rd operational amplifier A 3, sampling resistor R9, the 4th resistance R4, the 5th resistance R5, the
One end of six resistance R6 and the second capacitance C2, sampling resistor R9 are connected with the source electrode of switching tube Q1, the other end of sampling resistor R9
Ground connection;The in-phase input end of 3rd operational amplifier A 3 is connected with the source electrode of switching tube Q1, the reverse phase of the 3rd operational amplifier A 3
Input end grounding, the output terminal of the 3rd operational amplifier A 3 are connected with the benchmark input end of digital analog converter U1.3rd computing is put
The inverting input of big device A3 is grounded through the 4th resistance R4;One end of 5th resistance R5 and the reverse phase of the 3rd operational amplifier A 3 are defeated
Enter end connection, the other end of the 5th resistance R5 is connected with the output terminal of the 3rd operational amplifier A 3;3rd operational amplifier A 3
Output terminal is connected through the 6th resistance R6 with the benchmark input end of digital analog converter U1.One end of second capacitance C2 and digital analog converter
The benchmark input end connection of U1;The other end ground connection of second capacitance C2.
The operation principle of the circuit provided in this embodiment that digital quantity is converted to resistance output is as follows:
Sampling resistor R9, for monitoring the exciting current I of external measuring circuitry, the 3rd operational amplifier A 3, the 4th resistance
R4 and the 5th resistance R5 form signal amplification circuit, and the output voltage Vo4 of the 3rd operational amplifier A 3 is by the 6th resistance R6, the
Benchmark input end Vref, Vref=I*R9* (R5+R4)/R4 of digital analog converter U1 is connected to after two capacitance C2 filtering.
The digital quantity D inputted by microcontroller 11 after digital analog converter U1 and the conversion of the first operational amplifier A 1, is obtained
To the positive-negative polarity with digital quantity D and Vref corresponding voltage Vo1, Vo1 and Vref on the contrary, Vo1=-Vref*D/
65536。
Four-operational amplifier A4, first resistor R1, second resistance R2 composition inverting amplifier because first resistor R1 with
The resistance value of second resistance R2 is equal, and amplification factor is -1.Vo2=-Vo1=Vref*D/65536.
Second operational amplifier A2 forms voltage comparison module with 3rd resistor R3, switching tube Q1.Second operational amplifier
The in-phase input end of A2 is Vr+, inverting input Vo2.As Vr+ > Vo2, the output of second operational amplifier A2 is height,
Voltage becomes larger between the grid G of switching tube Q1, source S pole, and the resistance between drain D, source S pole becomes smaller, and Vr+ also becomes smaller;When
During Vr+ < Vo2, the output of second operational amplifier A2 is low, and voltage becomes larger between the grid G of switching tube Q1, source S pole, Vr+
It also becomes larger.Remain Vr+=Vo2=Vref*D/65536.
Because Vref=I*R9* (R5+R4)/R4, Vr+=I*R9* (R5+R4)/R4*D/65536.And Rout=
Vr+/I carries out fortran, obtains Rout=R9* (R5+R4)/R4*D/65536.Rout only with R9, R4, R5 and digital quantity D
There is relation, unrelated with electric current I, no matter how how I changes, and Rout is stable.
The circuit provided in this embodiment that digital quantity is converted to resistance output, by the output for changing digital analog converter U1
Voltage carrys out voltage between the grid G and source S of adjusting switch pipe Q1, so as to change between the drain D of switching tube Q1 and source S
Resistance, the circuit generate resistance output signal from curent change influence, output stablize, it is continuously adjustable.
Although the present invention is disclosed above with preferred embodiment, the scope that the present invention is implemented is not limited to.Any
The those of ordinary skill in field in the invention scope for not departing from the present invention, improves when can make a little, i.e., every according to this hair
Bright done equal improvement, should be the scope of the present invention and is covered.
Claims (8)
1. a kind of circuit that digital quantity is converted to resistance output, which is characterized in that including:D/A converter module, reverse phase amplification
Module, voltage comparison module and sampled measurements module;
The D/A converter module includes microcontroller, digital analog converter and the first operational amplifier, the digital analog converter
Data-interface is connected with the microcontroller, and the output terminal of the digital analog converter and the reverse phase of first operational amplifier are defeated
Enter end connection;The output terminal of first operational amplifier is connected with the inverting input of the reverse phase amplification module;It is described anti-
The output terminal of phase amplification module is connected with the inverting input of the voltage comparison module;
The voltage comparison module includes second operational amplifier and switching tube, the in-phase input end of the second operational amplifier
It is connected with the output terminal of the switching tube, the output terminal of the second operational amplifier is connected with the control terminal of the switching tube;
The sampled measurements module includes the 3rd operational amplifier and sampling resistor, one end of the sampling resistor and the switch
The common port connection of pipe, the other end ground connection of the sampling resistor;The in-phase input end of 3rd operational amplifier with it is described
Switching tube common port connection, the reverse inter-input-ing ending grounding of the 3rd operational amplifier, the 3rd operational amplifier it is defeated
Outlet is connected with the benchmark input end of the digital analog converter.
2. digital quantity is converted to the circuit of resistance output as described in claim 1, which is characterized in that the digital-to-analogue conversion mould
Block further comprises the first capacitance, and one end of first capacitance connects the inverting input of first operational amplifier, institute
The other end for stating the first capacitance connects the output terminal of first operational amplifier;The homophase input of first operational amplifier
End ground connection.
3. digital quantity is converted to the circuit of resistance output as described in claim 1, which is characterized in that the reversed amplification mould
Block includes four-operational amplifier, first resistor and second resistance, and the inverting input of the four-operational amplifier is through first
Resistance is connected with the output terminal of first operational amplifier;The in-phase input end ground connection of the four-operational amplifier;It is described
One end of second resistance connects the inverting input of the four-operational amplifier, described in the other end connection of the second resistance
The output terminal of four-operational amplifier.
4. as claimed in claim 3 by digital quantity be converted to resistance output circuit, which is characterized in that the first resistor and
The resistance value of the second resistance is equal.
5. digital quantity is converted to the circuit of resistance output as described in claim 1, which is characterized in that the voltage compares mould
Block further comprises 3rd resistor, and one end of the 3rd resistor is connected with the output terminal of the second operational amplifier, described
The other end of 3rd resistor is connected with the control terminal of the switching tube.
6. digital quantity is converted to the circuit of resistance output as described in claim 1, which is characterized in that the switching tube is field
Effect pipe.
7. digital quantity is converted to the circuit of resistance output as described in claim 1, which is characterized in that the sampled measurements mould
Block further comprises the 4th resistance, the 5th resistance and the 6th resistance, described in the inverting input warp of the 3rd operational amplifier
4th resistance eutral grounding;One end of 5th resistance is connected with the inverting input of the 3rd operational amplifier, and the described 5th
The other end of resistance is connected with the output terminal of the 3rd operational amplifier;Described in the output terminal warp of 3rd operational amplifier
6th resistance is connected with the benchmark input end of the digital analog converter.
8. digital quantity is converted to the circuit of resistance output as described in claim 1, which is characterized in that the sampled measurements mould
Block further comprises the second capacitance, and one end of second capacitance is connected with the benchmark input end of the digital analog converter;It is described
The other end ground connection of second capacitance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711431798.5A CN108111172A (en) | 2017-12-25 | 2017-12-25 | A kind of circuit that digital quantity is converted to resistance output |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711431798.5A CN108111172A (en) | 2017-12-25 | 2017-12-25 | A kind of circuit that digital quantity is converted to resistance output |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108111172A true CN108111172A (en) | 2018-06-01 |
Family
ID=62213171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711431798.5A Pending CN108111172A (en) | 2017-12-25 | 2017-12-25 | A kind of circuit that digital quantity is converted to resistance output |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108111172A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109547027A (en) * | 2018-11-27 | 2019-03-29 | 昂纳信息技术(深圳)有限公司 | A kind of digiverter and a kind of integrated system based on digiverter |
CN110702807A (en) * | 2019-09-10 | 2020-01-17 | 国网浙江省电力有限公司电力科学研究院 | FID micro-current amplifier capable of realizing automatic calibration and calibration method thereof |
CN114137865A (en) * | 2021-11-01 | 2022-03-04 | 上海美控智慧建筑有限公司 | Output control circuit, controller and air conditioner |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101533080A (en) * | 2008-12-26 | 2009-09-16 | 深圳市科陆电子科技股份有限公司 | System and detection method for digital adjustable precision direct current resistance |
CN201993458U (en) * | 2011-01-27 | 2011-09-28 | 合肥协力仪表控制技术股份有限公司 | Digital continuously adjustable direct-current resistance system |
CN103487775A (en) * | 2013-09-09 | 2014-01-01 | 沈阳计量测试院 | Intelligent digital micro resistor standard device |
CN105048815A (en) * | 2015-05-05 | 2015-11-11 | 北京新雷能科技股份有限公司 | Output voltage regulating circuit and power supply |
CN105353334A (en) * | 2015-11-10 | 2016-02-24 | 中国电力科学研究院 | Output model for controlling simulation thermal resistance through servo motor and operation method thereof |
-
2017
- 2017-12-25 CN CN201711431798.5A patent/CN108111172A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101533080A (en) * | 2008-12-26 | 2009-09-16 | 深圳市科陆电子科技股份有限公司 | System and detection method for digital adjustable precision direct current resistance |
CN201993458U (en) * | 2011-01-27 | 2011-09-28 | 合肥协力仪表控制技术股份有限公司 | Digital continuously adjustable direct-current resistance system |
CN103487775A (en) * | 2013-09-09 | 2014-01-01 | 沈阳计量测试院 | Intelligent digital micro resistor standard device |
CN105048815A (en) * | 2015-05-05 | 2015-11-11 | 北京新雷能科技股份有限公司 | Output voltage regulating circuit and power supply |
CN105353334A (en) * | 2015-11-10 | 2016-02-24 | 中国电力科学研究院 | Output model for controlling simulation thermal resistance through servo motor and operation method thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109547027A (en) * | 2018-11-27 | 2019-03-29 | 昂纳信息技术(深圳)有限公司 | A kind of digiverter and a kind of integrated system based on digiverter |
CN110702807A (en) * | 2019-09-10 | 2020-01-17 | 国网浙江省电力有限公司电力科学研究院 | FID micro-current amplifier capable of realizing automatic calibration and calibration method thereof |
CN110702807B (en) * | 2019-09-10 | 2022-04-19 | 国网浙江省电力有限公司电力科学研究院 | FID micro-current amplifier capable of realizing automatic calibration and calibration method thereof |
CN114137865A (en) * | 2021-11-01 | 2022-03-04 | 上海美控智慧建筑有限公司 | Output control circuit, controller and air conditioner |
CN114137865B (en) * | 2021-11-01 | 2024-03-19 | 上海美控智慧建筑有限公司 | Output control circuit, controller and air conditioner |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108111172A (en) | A kind of circuit that digital quantity is converted to resistance output | |
CN106549578B (en) | Multi-mode power source managing system | |
CN103166644A (en) | Low power consumption successive approximation type analog-digital converter and converting method of low power consumption successive approximation type analog-digital converter | |
CN105573391A (en) | Open-circuit voltage control circuit of solar array simulator and open-circuit voltage control method thereof | |
CN106385734B (en) | A kind of voltage sampling circuit | |
CN204347120U (en) | Voltage measuring apparatus | |
CN207337257U (en) | The multichannel variable voltage source realized with digital analog converter | |
CN208384452U (en) | A kind of current source circuit with self-checking function | |
CN103760409B (en) | A kind of voltage transmitter | |
CN103152048A (en) | Differential input successive approximation type analog-digital converter | |
CN202586751U (en) | High-precision AC/DC converter current-limiting circuit | |
CN107219392B (en) | Real-time current signal data processing system | |
CN206489218U (en) | A kind of network impedance tester | |
CN201615923U (en) | Alternating current voltage measuring circuit | |
CN104571252B (en) | A kind of polymorphic type analog signal processing circuit of single power supply | |
CN101710827B (en) | Dynamic offset generating circuit for streamline analog-to-digital converter | |
CN208984685U (en) | A kind of ac square wave generating device | |
CN2524430Y (en) | Voltage/current conversion circuit | |
CN206237304U (en) | For the voltage-dropping type voltage conversion circuit of satellite anti-interference antenna | |
CN208621678U (en) | A kind of constant-current control circuit and its switched charge chip | |
CN208589918U (en) | A kind of traditional direct current booster circuit | |
CN207457780U (en) | A kind of pulsed programmable power supply | |
CN206557285U (en) | A kind of single-phase electric energy meter with harmonic wave function of measuring | |
CN206057406U (en) | A kind of non-bridge PFC current/voltage type sample circuit | |
CN207037515U (en) | A kind of adjustable Digital Control Direct Current Source |
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 |
Application publication date: 20180601 |
|
RJ01 | Rejection of invention patent application after publication |