CN110568801A - Low-resistance variable resistor based on digital potentiometer - Google Patents
Low-resistance variable resistor based on digital potentiometer Download PDFInfo
- Publication number
- CN110568801A CN110568801A CN201910946257.9A CN201910946257A CN110568801A CN 110568801 A CN110568801 A CN 110568801A CN 201910946257 A CN201910946257 A CN 201910946257A CN 110568801 A CN110568801 A CN 110568801A
- Authority
- CN
- China
- Prior art keywords
- resistance
- resistance value
- variable resistor
- digital
- digital potentiometer
- 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
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Adjustable Resistors (AREA)
Abstract
The invention provides a low-resistance variable resistor based on a digital potentiometer, which forms a variable resistor module through different series-parallel connection modes of the digital potentiometer. The invention has higher precision, good controllability and low cost, and can be used in the related fields of low-resistance equivalent resistance output and control electronic circuits and the like.
Description
Technical Field
The invention relates to a method for realizing and controlling a variable resistor based on a digital potentiometer, which can realize the output and control of the variable resistor and is particularly suitable for the output of a fixed resistor in a low resistance range, equivalent resistance and variable resistance control.
Background
The variable resistor has wider application in circuits, control and electricity, most of the current variable resistors are slide rheostats or mechanical resistance boxes, and the slide rheostats or the mechanical resistance boxes can meet the resistance value of output change, and the resistance value can not meet the requirements of automatic change and response resistance value manually.
The variable resistor for realizing automatic control comprises an analog resistor box, a potentiometer and the like, and a plurality of resistors with the same manufacturing process and the same nominal value are connected in series in the digital potentiometer. The digital potentiometer has mature and reliable technology, can realize larger resistance value and resistance value change range, but has lower resolution. Different from the traditional sliding potentiometer, the step length of the resistance value change of the digital potentiometer is the resistance value of a single branch resistor, and the resistance value is discontinuous. The method realizes a good resistance change effect, but due to the particularity of the low resistance value, the change range of the equivalent resistance value realized at present is small, the resolution ratio is low, the method is only used for a single measuring range and a large resistance value range, and the relevance with other applications is poor, especially in the low resistance value range.
The prior patent (201910061155, temperature control method based on thermoelectric effect) proposes a method for realizing temperature control of a thermal resistance changing module, which changes thermal resistance through the change of external load resistance value and is applied to thermal control. From the requirement, the lower variable resistance value range is required to be realized, and the resistance value can be lower than 1 omega; and has higher resolution, namely the step length is less than 1 omega; and can realize the automatic associated control of the resistance value according to the requirement. However, the prior art mainly uses the resistance with single measuring range and large resistance range, and does not have the low-cost realization and control mode of the variable resistance with multi-measuring range and low resistance range.
Disclosure of Invention
In order to overcome the technical defect that the existing digital potentiometer is applied to a low-resistance range, the invention aims to provide a method for realizing and controlling a low-resistance variable resistor based on the digital potentiometer, which can realize the output and control method of the variable resistor.
The technical principle of the variable resistor related by the invention is based on the combined control of a digital potentiometer, a plurality of resistors are connected in series in the digital potentiometer, and the adjustment of the resistance value is realized by controlling the movement of a sliding end through a digital signal; the control signal also controls the addition and subtraction of the counter, and then the counter sends the counted data to the decoding circuit to control all the switches, and the resistance value is the value changed at the last time. When the power is off, the memory adopted by the digital potentiometer has the function of not losing due to power failure, and the resistance value of the resistor is still the same as the resistance value before the power failure. Considering that the single chip microcomputer controls the digital potentiometers to be connected in series and in parallel to obtain the change of the corresponding resistance value, considering the problems of processing digit, speed and the like of the single chip microcomputer, enabling the plurality of digital potentiometers connected in series and in parallel to execute synchronous action and asynchronous action, and finally obtaining any resistance value, range and change step length through the series-parallel combination of the digital potentiometers.
The technical scheme adopted by the invention for solving the technical problems is as follows: the low-resistance variable resistor based on the digital potentiometer comprises an upper computer, a singlechip and a variable resistance circuit. The upper computer is a computer which sends out an interactive control command, is provided with a man-machine interaction and function processing program, can select the resistance value, the range and the step length of the variable resistor, controls the single chip microcomputer to operate according to a corresponding control method and sends a digital control signal; the single chip microcomputer is a microcomputer system which is formed by integrating functions of a central processing unit, a storage, various I/O ports, an interrupt system, a timer/counter and the like; the variable resistance circuit is composed of a plurality of digital potentiometers which are connected in series or in parallel and a peripheral circuit, can make corresponding response according to the control signal of the singlechip, and outputs corresponding equivalent resistance values in a combined manner to meet different resistance values, change ranges and change step lengths; the variable resistance circuit is also provided with a relay, and the conducting state of the relay is output as a zero resistance value.
Based on a control protocol and physical characteristics, further based on a low-resistance variable resistor implementation and control method of a digital potentiometer, a user selects the resistance, the range and the step length of the variable resistor in an upper computer, the upper computer controls a digital control signal of an equivalent resistance value output by a single chip microcomputer according to a control algorithm so as to control the combination state of a variable resistor circuit, and a set resistance value is obtained and output through A + and A-; the equivalent resistance of the variable resistor is obtained according to the series-parallel connection calculation formula of the resistance in electricity and the series-parallel connection combination state of the digital potentiometer. Furthermore, the single chip microcomputer is driven to output through a control algorithm corresponding to the upper computer, the combination of the digital potentiometers is changed, and the output resistance range and the action step length are changed. In order to realize continuous resistance changing mode and overcome the value storage characteristic of the digital potentiometer, the invention provides a chip selection pin before the digital potentiometer obtains the desired resistance value each time the digital potentiometer is changedSelecting a digital potentiometer with low level, changing the resistance value to the minimum value by controlling the high and low level of the pin, controlling the step number of the sliding end to move by the calculated value to obtain the desired resistance value, and finally giving a chip selection pinAnd the high level is adopted to realize the method capable of continuously controlling the resistance output.
The beneficial effect of the invention is that the technical scheme is adopted, and the invention has the following advantages: the invention realizes the equivalent output of low resistance value by changing the serial-parallel connection state of the digital potentiometers, can change the controllable range of the resistance by adjusting each digital potentiometer, and eliminate the influence of additional resistance; the invention combines the relay to realize zero resistance output; the invention can control and change the output and resolution of the equivalent resistance value according to the requirements through the variable resistance value and the range selected by the upper computer and can also be applied in a related way, thereby realizing the control of the equivalent output of the low-resistance resistor; each digital potentiometer is made of hundreds of physical resistors, so that the combination can be effectively realized, and the resolution ratio is higher; the invention adopts conventional devices, has lower system hardware cost and is convenient for scale application and popularization. The invention has higher precision, good controllability and low cost, and can be used in the related fields of low-resistance equivalent resistance output and control electronic circuits and the like.
Drawings
FIG. 1 is a system schematic of an embodiment of the present invention.
Fig. 2 is a control algorithm of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the system is composed of an upper computer, a single chip microcomputer and a variable resistance circuit, wherein the upper computer is a notebook computer which directly sends out an interactive control command, a man-machine interaction and processing function program which is compiled by Labview is installed, the resistance value, the range and the step length of the variable resistance can be selected, and the single chip microcomputer is controlled to operate a control method corresponding to the variable resistance range and send a digital signal; the single chip microcomputer is a microcomputer system which is formed by integrating functions of a CPU, a random access memory RAM, a read-only memory ROM, various I/O ports, an interrupt system, a timer/counter and the like. The widely-used STC89C52 is selected in the embodiment, and receives data sent by the upper computer and outputs a control signal; the resistance-variable circuit is composed of 9 digital potentiometers X9C102 which are connected in parallel and a peripheral circuit, makes corresponding response according to the control signal of the singlechip, outputs corresponding equivalent resistance values, and meets different resistance values, change ranges and change step lengths; the variable resistance circuit is also provided with a relay, and the conducting state of the relay is output as a zero resistance value.
Based on a control protocol and physical characteristics, further based on a low-resistance variable resistor implementation and control method of a digital potentiometer, a user selects the resistance value, the range and the step length of the variable resistor on an upper computer, the upper computer controls a digital control signal of an equivalent resistance value output by a single chip microcomputer according to a control algorithm, and then the combination state of a variable resistor circuit is controlled, a set resistance value is obtained and is output through A + and A-; the equivalent resistance of the variable resistor is obtained according to the series-parallel connection calculation formula of the resistance in electricity and the series-parallel connection combination state of the digital potentiometer. Further, as shown in fig. 2, the single chip microcomputer is driven to output through a control algorithm corresponding to the upper computer, and the combination of the digital potentiometers is changed, so that the output resistance range and the action step length are changed. In order to realize a continuous variable resistance mode and overcome the numerical value storage characteristic of a digital potentiometer, the invention realizes the following functions in a control program: before the digital potentiometer is changed every time to obtain the desired resistance value, the chip selection pin is givenSelecting a digital potentiometer with low level, changing the resistance value to the minimum value by controlling the high and low level of the pin, controlling the step number of the sliding end to move by the calculated value to obtain the desired resistance value, and finally giving a chip selection pinAnd the high level is adopted to realize the method capable of continuously controlling the resistance output.
The variable resistance circuit of the embodiment shares 9X 9The C102 type digital potentiometer combination has the variable resistance range of 40-1040 omega and the step length of 100 omega. The resistance-changing circuit is formed by connecting 3 submodules in parallel, each submodule is formed by connecting 3 digital potentiometers in parallel, and the number of the 3 digital potentiometers is 3、、The pins are respectively connected in parallel and controlled by 3 pins of the singlechip. VL、VwThe pins are respectively connected in parallel and used as resistance output ports of the variable resistance modules. V of 9 digital potentiometersss、VccThe pins are respectively connected in parallel, connected with a power supply port and a grounding port of the single chip microcomputer and used for supplying power to the variable resistance module. The variable resistance range is determined by the number of the parallel sub-modules, and the variable resistance range is divided into 100 parts, wherein each part is one step length. Except for the zero resistance value mode, the embodiment can use 1 submodule, 2 submodules and 3 submodules which are connected in parallel to participate in variable resistance, so that 3 variable resistance modes can be realized, wherein the variable resistance ranges are 13.33-346.67 omega respectively, and the step length is 3.33 omega; the varistor range is 6.67-173.33 omega, and the step length is 1.667 omega; the varistor range is 4.44-115.5 omega, and the step size is 1.12 omega.
The upper computer can select 3 modes of variable resistance ranges and step lengths, wherein the variable resistance ranges are 13.33-346.67 omega, and the step lengths are 3.33 omega; the varistor range is 6.67-173.33 omega, and the step length is 1.667 omega; the varistor range is 4.44-115.5 omega, and the step size is 1.12 omega. The upper computer converts the resistance value into a value between 0 and 100, wherein the value is the moving times of the sliding end of the resistance-changing module, and the purpose of outputting the equivalent resistance is achieved. The reset command is written in the program, before each resistance change, the sliding end of the resistance change module is moved to the minimum end, and the resistance output by the resistance change module is at the minimum value at the moment, so that accurate control action can be carried out. After the variable resistance mode is correspondingly selected, the singlechip runs a control program in the mode and inputs a resistance value in the variable resistance range. The control algorithm of the upper computer can automatically correct the resistance value through analysis, the problems of delay time and signal drift of the sensor caused by environmental influence are considered, and meanwhile, influence factors such as noise interference and relay control are also considered.
In this embodiment, in order to meet the requirement of practical application, it is verified that the error of the resistance measurement by the multimeter (Keysight DAQ 970) is ignored, and the error between the equivalent resistance value output in the measured embodiment and the set resistance value is less than 2% of the set resistance value, so that the accuracy is high.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (4)
1. A low-resistance variable resistor based on a digital potentiometer comprises an upper computer, a singlechip and a variable resistance circuit, and is characterized in that the upper computer is a computer which sends out an interactive control command, a man-machine interaction and function processing program is installed, the resistance value, the range and the step length of the variable resistor can be selected, the singlechip is controlled to operate according to a corresponding control method, and a digital control signal is sent; the single chip microcomputer is a microcomputer system which is formed by integrating functions of a central processing unit, a storage, various I/O ports, an interrupt system, a timer/counter and the like; the variable resistance circuit is composed of digital potentiometers connected in series or in parallel and a peripheral circuit, can make corresponding response according to the control signal of the single chip microcomputer, and outputs corresponding equivalent resistance values in a combined mode to meet different resistance values, ranges and step lengths; and a relay is arranged on the variable resistance circuit, and the conducting state of the relay is output as a zero resistance value.
2. The low-resistance variable resistor based on the digital potentiometer according to claim 1, wherein the single chip microcomputer is composed of an STC89C52 chip and a peripheral circuit.
3. The low-resistance variable resistor based on the digital potentiometer according to claim 1, wherein the variable resistance circuit is composed of digital potentiometers X9C102 connected in parallel and a peripheral circuit.
4. The low-resistance variable resistor based on the digital potentiometer is characterized in that a user selects the resistance value, the range and the step length of the variable resistor on the upper computer, the upper computer controls a digital control signal of an equivalent resistance value output by a single chip microcomputer according to a control algorithm so as to control the combination state of a variable resistance circuit, a set resistance value is obtained and output through A + and A-, and the equivalent resistance of the variable resistor is obtained according to a series-parallel connection calculation formula of resistors in electricity and according to the series-parallel connection combination state of the digital potentiometer; driving the single chip microcomputer to output through a control algorithm corresponding to the upper computer, changing the combination of the digital potentiometers, and changing the output resistance range and the action step length; before the digital potentiometer is changed every time to obtain the desired resistance value, the chip selection pin is givenSelecting a digital potentiometer with low level, changing the resistance value to the minimum value by controlling the high and low level of the pin, controlling the step number of the sliding end to move by the calculated value to obtain the desired resistance value, and finally giving a chip selection pinAnd when the high level is switched on, the control resistor outputs continuously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910946257.9A CN110568801A (en) | 2019-10-03 | 2019-10-03 | Low-resistance variable resistor based on digital potentiometer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910946257.9A CN110568801A (en) | 2019-10-03 | 2019-10-03 | Low-resistance variable resistor based on digital potentiometer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110568801A true CN110568801A (en) | 2019-12-13 |
Family
ID=68783758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910946257.9A Pending CN110568801A (en) | 2019-10-03 | 2019-10-03 | Low-resistance variable resistor based on digital potentiometer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110568801A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111007291A (en) * | 2019-12-24 | 2020-04-14 | 中国航空工业集团公司西安飞机设计研究所 | High-precision digital resistance card and use method thereof |
CN113203972A (en) * | 2021-06-07 | 2021-08-03 | 中国人民解放军战略支援部队航天工程大学士官学校 | Portable resistance tester calibration device and calibration method |
CN113904085A (en) * | 2021-09-13 | 2022-01-07 | 大富科技(安徽)股份有限公司 | Directional coupling circuit, directional coupler debugging circuit and debugging method thereof |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060266646A1 (en) * | 2005-05-24 | 2006-11-30 | Hiroyuki Kimura | Trimming circuit and electronic circuit |
CN102693796A (en) * | 2012-05-28 | 2012-09-26 | 上海丽恒光微电子科技有限公司 | Digital adjustable resistor and adjusting method thereof |
CN103149866A (en) * | 2013-03-06 | 2013-06-12 | 山东交通学院 | Method and circuit for increasing resolution of resistance adjustment of DCP (Data Central Processor) |
CN103592883A (en) * | 2013-12-02 | 2014-02-19 | 哈尔滨工业大学 | DSP (Digital Signal Processor) based multipath precise programmable resistance module and control method thereof |
CN107317566A (en) * | 2017-07-25 | 2017-11-03 | 铂元智能科技(北京)有限公司 | High-resolution digital potentiometer |
CN108831643A (en) * | 2018-06-15 | 2018-11-16 | 福建星云电子股份有限公司 | A kind of adjustable resistor and control method of low-cost and high-precision |
CN109616269A (en) * | 2018-11-29 | 2019-04-12 | 青岛海尔科技有限公司 | A kind of method of program-controlled resistor and program-controlled adjusting resistance value |
-
2019
- 2019-10-03 CN CN201910946257.9A patent/CN110568801A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060266646A1 (en) * | 2005-05-24 | 2006-11-30 | Hiroyuki Kimura | Trimming circuit and electronic circuit |
CN102693796A (en) * | 2012-05-28 | 2012-09-26 | 上海丽恒光微电子科技有限公司 | Digital adjustable resistor and adjusting method thereof |
CN103149866A (en) * | 2013-03-06 | 2013-06-12 | 山东交通学院 | Method and circuit for increasing resolution of resistance adjustment of DCP (Data Central Processor) |
CN103592883A (en) * | 2013-12-02 | 2014-02-19 | 哈尔滨工业大学 | DSP (Digital Signal Processor) based multipath precise programmable resistance module and control method thereof |
CN107317566A (en) * | 2017-07-25 | 2017-11-03 | 铂元智能科技(北京)有限公司 | High-resolution digital potentiometer |
CN108831643A (en) * | 2018-06-15 | 2018-11-16 | 福建星云电子股份有限公司 | A kind of adjustable resistor and control method of low-cost and high-precision |
CN109616269A (en) * | 2018-11-29 | 2019-04-12 | 青岛海尔科技有限公司 | A kind of method of program-controlled resistor and program-controlled adjusting resistance value |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111007291A (en) * | 2019-12-24 | 2020-04-14 | 中国航空工业集团公司西安飞机设计研究所 | High-precision digital resistance card and use method thereof |
CN113203972A (en) * | 2021-06-07 | 2021-08-03 | 中国人民解放军战略支援部队航天工程大学士官学校 | Portable resistance tester calibration device and calibration method |
CN113904085A (en) * | 2021-09-13 | 2022-01-07 | 大富科技(安徽)股份有限公司 | Directional coupling circuit, directional coupler debugging circuit and debugging method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110568801A (en) | Low-resistance variable resistor based on digital potentiometer | |
CN207603617U (en) | A kind of digital analog converter and conversion circuit | |
CN109660254A (en) | A kind of resistance calibration device and method for digital analog converter | |
CN107192864A (en) | A kind of Precision digital resistor load circuit | |
CN101104947B (en) | Electric plating power supply controller with network transmission and control function | |
CN114152812B (en) | Error self-checking three-phase electric energy meter and measuring system and method thereof | |
CN103196582A (en) | Device using multiple groups of digital potentiometers to simulate Pt 1000 platinum resistor and method of device simulating Pt 1000 platinum resistor | |
CN201697983U (en) | Heat-dissipation test single board | |
CN205485465U (en) | Resistance analog circuit | |
CN205318949U (en) | Quick infinitely variable control resistor of wide range digit | |
CN103081034B (en) | Digital potentiometer with independent control over both resistive arms | |
CN204926765U (en) | Automatic regulating electrical resistance's digital regulation resistance | |
CN103196581A (en) | Device using multiple groups of digital potentiometers to simulate Pt 1000 platinum resistor and method of device simulating Pt 1000 platinum resistor | |
CN202261221U (en) | General key board | |
CN203276994U (en) | Multi-range electronic resistor | |
CN107194099B (en) | Memristor equivalent realization circuit based on passive filtering and bridge type rectification | |
CN207636643U (en) | Portable calibration grade resistance source | |
CN113820528A (en) | Wide voltage range automatic gear shifting circuit for passive secondary loop checking meter | |
CN204374723U (en) | Programmable resistance system | |
CN203338169U (en) | Multipoint temperature measurement and control device | |
CN112652431B (en) | Structure and method for preventing potentiometer gear judgment jitter | |
CN203217297U (en) | Full electronic type program controlled resistor | |
CN216387893U (en) | High-precision low-temperature-drift thermocouple simulation meter | |
CN221200277U (en) | High-precision wide-range variable resistor simulation device | |
CN102023663A (en) | Temperature control system of touch screen drying oven |
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: 20191213 |
|
RJ01 | Rejection of invention patent application after publication |