CN103488233B - Method, system for adjusting digital potentiometers based on coherent signal and circuit - Google Patents

Method, system for adjusting digital potentiometers based on coherent signal and circuit Download PDF

Info

Publication number
CN103488233B
CN103488233B CN201310471384.0A CN201310471384A CN103488233B CN 103488233 B CN103488233 B CN 103488233B CN 201310471384 A CN201310471384 A CN 201310471384A CN 103488233 B CN103488233 B CN 103488233B
Authority
CN
China
Prior art keywords
resistance
digital regulation
error
exponent number
expectation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310471384.0A
Other languages
Chinese (zh)
Other versions
CN103488233A (en
Inventor
何亮明
杜翀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Advanced Research Institute of CAS
Original Assignee
Shanghai Advanced Research Institute of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Advanced Research Institute of CAS filed Critical Shanghai Advanced Research Institute of CAS
Priority to CN201310471384.0A priority Critical patent/CN103488233B/en
Publication of CN103488233A publication Critical patent/CN103488233A/en
Application granted granted Critical
Publication of CN103488233B publication Critical patent/CN103488233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Voltage And Current In General (AREA)
  • Dc-Dc Converters (AREA)

Abstract

The invention provides a method and system for adjusting digital potentiometers based on a coherent signal and a circuit. The method is applied to the circuit including a variable resistor unit composed of a plurality of digital potentiometers, firstly the expected total resistance value of the variable resistor unit is ensured by utilizing the expected value of the coherent signal of the circuit, and the order of each digital potentiometer is ensured based on the expected total resistance value; after the order of each digital potentiometer is set, whether a preset constraint condition is met or not is judged, and when the preset constraint condition is met, the order of each digital potentiometer is adjusted based on the difference of the actual total resistance value and the expected total resistance value of the variable resistor unit confirmed by the actual value of the coherent signal of the circuit; then, whether the order of each digital potentiometer needs to be adjusted again or not continues to be judged, the step is continuously repeated in the same way until the preset constraint condition is not met, and therefore the errors of the digital potentiometers can be effectively reduced.

Description

The method of digital regulation resistance, system and circuit is regulated based on coherent signal
Technical field
The present invention relates to digital circuit field, particularly relate to a kind of coherent signal based on circuit and regulate the control method of digital regulation resistance, system and DC power supply circuit.
Background technology
D.C. regulated power supply generally all adopts DC voltage modular converter (DC-DC) or low pressure difference linear voltage regulator (LDO) to realize, and uses feedback resistive network to carry out regulation output voltage simultaneously.As long as resistance in change feedback resistive network, according to loading demand dynamic conditioning output voltage, accurate high efficiency power can be realized.
Along with the development of digital regulation resistance technology is with ripe, in increasing application, mechanical variable resistance in feedback resistive network replaced by digital regulation resistance, not only increase product stability, numerical and intelligent level thus, also can reduce circuit volume and increase the service life, as at application number be 200620069824.5,201010512246.9 and 201120377518.9 each Chinese patent literature in, disclose the circuit etc. of various employing digital regulation resistance.But digital regulation resistance also exists many deficiencies, resistance error poor with high voltage performance as low in resistance resolution large and temperature float seriously.The problems referred to above strongly limit digital regulation resistance applying in high precision field.
Digital regulation resistance resistance resolution is determined by nominal resistance and control register figure place, and as the 10 bit digital potentiometers of nominal 10K, its resistance resolution is 10 ohm.When register figure place is constant, nominal resistance is larger, and its resistance resolution is lower; Vice versa.Existing market intermediate-resolution the higher person reaches 4 ohm, but its nominal resistance only has 1K.When stabilized voltage supply output area is larger, require that digital regulation resistance has larger nominal value; Simultaneously in order to ensure output voltage precision, require that digital regulation resistance has higher resistance resolution.But individual digit potentiometer is difficult to realize large nominal value high resolving power, exports for wide-range high-accuracy direct current power source voltage for this reason and control, need the multiple dissimilar digital regulation resistance of application to carry out connection in series-parallel Combination application.
Digital regulation resistance source of error mainly comprises: end-to-end resistance R aBerror, internal element resistance R serror and output sliding end resistance R werror, influence factor comprises manufacture craft and variation of ambient temperature etc.The 10 bit digital potentiometer resistance errors distributions of Fig. 1 to be certain external large-scale producer nominal resistance be 10K.As seen from the figure, the end-to-end R of this digital regulation resistance aBresistance error reaches 8%.Although differential non-linearity errors is less after end-to-end resistance corrects, consider sliding end R werror and warm drift factor, in practice, integral non-linear error is often beyond 5LSB.
The circuit of existing employing digital regulation resistance, it is all often the resistance calculating digital regulation resistance according to ideal formula, and then the corresponding exponent number of configuration digital regulation resistance, owing to not considering the error (hundreds of ohm may be arrived) of digital regulation resistance self, the precision of circuit output voltage can be had a strong impact on thus.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of coherent signal based on circuit to regulate control method and the system of digital regulation resistance, to effectively reduce the error of digital regulation resistance.
The object of the present invention is to provide a kind of DC power supply circuit of wide output area.
For achieving the above object and other relevant objects, the invention provides the control method that a kind of coherent signal based on circuit regulates digital regulation resistance, wherein, described circuit comprises the variable resistance unit be made up of multiple digital regulation resistance, and the described coherent signal based on circuit regulates the control method of digital regulation resistance at least to comprise:
1) expectation value based on the coherent signal of described circuit determines the total resistance of the expectation of variable resistance unit, and determines the exponent number of each digital regulation resistance based on the total resistance of described expectation;
2) after the exponent number of each digital regulation resistance is arranged, judge whether predetermined constraints condition meets;
3) when predetermined constraints condition meets, the total resistance of reality of the determined variable resistance unit of the actual value based on the coherent signal of described circuit and the difference of the total resistance of described expectation determine the adjustment amount of each digital regulation resistance exponent number, resume at step 2 subsequently);
Wherein, described predetermined constraints condition comprises following at least one:
The actual value of coherent signal of a, described circuit and the error of expectation value are more than the first preset range;
The total resistance of reality of b, described variable resistance unit and the error of the total resistance of expectation are more than the second preset range;
C, the number of times that arranges arranging each digital regulation resistance are less than pre-determined number.
The present invention also provides a kind of coherent signal based on circuit to regulate the regulating system of digital regulation resistance, wherein, described circuit comprises the variable resistance unit be made up of multiple digital regulation resistance, and the described coherent signal based on circuit regulates the regulating system of digital regulation resistance at least to comprise:
Exponent number determining unit, the expectation value for the coherent signal based on described circuit determines the total resistance of the expectation of variable resistance unit, and determines the exponent number of each digital regulation resistance based on the total resistance of described expectation;
Judging unit, for after the exponent number of each digital regulation resistance is arranged, judges whether predetermined constraints condition meets;
Adjustment unit, for when predetermined constraints condition meets, the total resistance of reality of the determined variable resistance unit of the actual value based on the coherent signal of described circuit and the difference of the total resistance of described expectation determine the adjustment amount of each digital regulation resistance exponent number;
Wherein, described predetermined constraints condition comprises following at least one:
The actual value of coherent signal of a, described circuit and the error of expectation value are more than the first preset range;
The total resistance of reality of b, described variable resistance unit and the error of the total resistance of expectation are more than the second preset range;
C, the number of times that arranges arranging each digital regulation resistance are less than pre-determined number.
The present invention also provides a kind of DC power supply circuit of wide output area, and it at least comprises:
Direct current stabilizer;
Comprise the resistor network of variable resistance unit, be connected with described direct current stabilizer, for regulating the output voltage of described direct current stabilizer, wherein, described variable resistance unit comprises multiple digital regulation resistance;
Controller, comprises aforementioned regulating system, and it is connected to described direct current stabilizer output terminal, for arranging the resistance of each digital regulation resistance and gathering the output voltage of described direct current stabilizer.
As mentioned above, of the present inventionly regulate the method for digital regulation resistance, system and circuit based on coherent signal, there is following beneficial effect: application resistance increment thinking and the little characteristic of digital regulation resistance differential non-linearity errors eliminate higher integral non-linear error; Utilize steepest descent method to be optimized search, accelerate digital regulation resistance layoutprocedure, ensure that the response speed of direct supply.
Accompanying drawing explanation
Fig. 1 is shown as the 10 bit digital potentiometer resistance error distribution schematic diagrams that certain producer's nominal resistance existing is 10K.
Fig. 2 is shown as the control method process flow diagram that the coherent signal based on circuit of the present invention regulates digital regulation resistance.
Fig. 3 is shown as application DC-stabilized circuit schematic diagram of the present invention.
Fig. 4 is shown as application traversal and realizes output voltage error schematic diagram after global optimum.
Fig. 5 is shown as the regulating system schematic diagram that the coherent signal based on circuit of the present invention regulates digital regulation resistance.
Fig. 6 is shown as output voltage error schematic diagram when the reference voltage of the circuit shown in Fig. 3 and feedback resistance do not exist error.
Fig. 7 is shown as digital regulation resistance exponent number when the reference voltage of the circuit shown in Fig. 3 and feedback resistance do not exist error and arranges number of times schematic diagram.
Fig. 8 is shown as output voltage error schematic diagram when the reference voltage of the circuit shown in Fig. 3 and feedback resistance exist error.
Fig. 9 is shown as digital regulation resistance exponent number when the reference voltage of the circuit shown in Fig. 3 and feedback resistance do not exist error and arranges number of times schematic diagram.
Element numbers explanation
1 DC-stabilized circuit
11 voltage stabilizers
12 variable resistance unit
13 loads
14 controllers
2 regulating systems
21 exponent number determining units
22 judging units
23 adjustment units
S1 ~ S3 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
Refer to Fig. 2 to Fig. 9.It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
As shown in Figure 2, the invention provides the control method that a kind of coherent signal based on circuit regulates digital regulation resistance.Wherein, method according to the present invention has been come mainly through regulating system, and this regulating system includes but not limited to install in the controller and can realize the application module etc. of the present invention program.
Wherein, described control method is mainly used in the circuit comprising variable resistance unit, and described variable resistance unit comprises multiple digital regulation resistance, and the type of each digital regulation resistance can be identical, also can be incomplete same, each digital regulation resistance connects with series, parallel or series-parallel system.Preferably, described circuit includes but not limited to DC-stabilized circuit etc.
Such as, as shown in Figure 3, this DC-stabilized circuit 1 comprises voltage stabilizer 11, by digital regulation resistance R2, R3 variable resistance unit 12, the resistance R1 connecting described variable resistance unit 12 and controller 14 in series, the feedback resistive network of this variable resistance unit 12 and resistance R1 voltage stabilizer 11 in series, this voltage stabilizer 11 exports DC voltage V to load 13.
In step sl, described regulating system determines the total resistance of the expectation of variable resistance unit based on the expectation value of the coherent signal of described circuit, and determines the exponent number of each digital regulation resistance based on the total resistance of described expectation.
Wherein, the coherent signal of described circuit is the circuit signal that can change along with the resistance of variable resistance unit, such as, in the electronic circuit as shown in figure 3, the resistance change of variable resistance unit can cause output voltage to change, then the coherent signal of described circuit is output voltage.
Particularly, described regulating system first based on the incidence relation of the resistance of variable resistance unit in circuit and the coherent signal of circuit determine variable resistance unit the total resistance of expectation, then the connected mode of digital regulation resistance comprised based on variable resistance unit and the step-length of each digital regulation resistance determine the exponent number of each digital regulation resistance.
Such as, for the DC-stabilized circuit 1 shown in Fig. 3, digital regulation resistance R2, R3 that variable resistance unit 12 comprises connect in a series arrangement, and respective step-length is L2, L3, if the expectation value of voltage stabilizer 11 output voltage is V 0, then described regulating system is according to output voltage V and variable resistance unit 12 resistance R 12relational expression: V=V ref* (R 1/ R 12+ 1) determine that the total resistance of the expectation of variable resistance unit 12 is R 0, wherein, V reffor reference voltage; Subsequently, described regulating system is again based on the total resistance R of theory of variable resistance unit 12 12=R 2+ R 3determine the exponent number of digital regulation resistance R2, R3.As exponent number N 2, N 3when being 0, the theoretical all-in resistance of variable resistance unit 12 is R 12(0); Subsequently, described regulating system again based on the larger digital regulation resistance R2 of step-length step-length L2 and expect total resistance R 0with theoretical all-in resistance R 12(0) departure Δ R=R 0-R 12(0) the exponent number N of the digital regulation resistance R2 that step-length is larger, is determined 2=Δ R|L2, " | " represents and divides exactly; Calculate the residual delta r=Δ R-N2*L2 after over-compensation subsequently again; And then the exponent number N of digital regulation resistance R3 is determined based on the step-length L3 of the less digital regulation resistance R3 of step-length and residual delta r 3=Δ r|L3, can make final remaining residual error be no more than the step-length L3 of digital regulation resistance R3 thus.
Preferably, described regulating system also adjusts determined exponent number, to reduce final remaining residual error further based on the connected mode of each digital regulation resistance and each digital regulation resistance step-length separately again.
Such as, for by digital regulation resistance variable resistance unit in series, if final remaining residual error exceedes the half of minimum step, then the exponent number of digital regulation resistance corresponding for minimum step is added 1 by described regulating system again, thus, final remaining residual error can be made to be no more than the half of minimum step.
Again such as, for the variable resistance unit that two digital regulation resistances being respectively L11 and L12 by step-length are in series, if the ratio of step-length L11 and L12 is 5:2, if then final remaining residual error is greater than 3/4ths of minimum step L12, then the exponent number of the digital regulation resistance of the correspondence of minimum step L12 is added 1 by described regulating system again, thus, within final remaining residual error can being made to be down to 1/4th of minimum step L12; If final remaining residual error exceedes 1/4th of minimum step L12 and is no more than 3/4ths of minimum step L12, the exponent number of the digital regulation resistance that then exponent number of digital regulation resistance corresponding for step-length L11 is added 1 by described regulating system again, minimum step L12 is corresponding subtracts 2, within final remaining residual error can be made thus to be also reduced to 1/4th of minimum step L12 again.
Then, in step s 2, after arranging each digital regulation resistance based on determined each digital regulation resistance exponent number, described regulating system judges whether predetermined constraints condition meets, and then terminates if not, if then enter step S3.
Wherein, described predetermined constraints condition comprise any can be used for determine the need of adjustment each digital regulation resistance exponent number condition, preferably, following at least one is included but not limited to: a) actual value of the coherent signal of described circuit and the error of expectation value are more than the first preset range; B) the total resistance of the reality of described variable resistance unit and the error of the total resistance of expectation are more than the second preset range; C) number of times that arranges arranging each digital regulation resistance is less than pre-determined number.
Wherein, the actual value of the coherent signal of described circuit can be gathered voluntarily by described regulating system, also can by the collecting unit in circuit, and such as, controller provides.
Wherein, the total resistance of the reality of described variable resistance unit calculates according to the relational expression of the actual value of the coherent signal of circuit and the coherent signal of circuit and variable resistance unit resistance.
Such as, for circuit shown in Fig. 3, after arranging each digital regulation resistance based on determined each digital regulation resistance exponent number, described regulating system is based on the actual value V of circuit output voltage 0' and incidence relation formula between output voltage and the resistance of variable resistance unit: V=V ref* (R 1/ R 12+ 1) determine that the total resistance of the reality of variable resistance unit is R 12', and be R based on the total resistance of reality 12' with expect the error of total resistance more than 0.5 ohm and each digital regulation resistance exponent number is set number of times is set more than 18 times, determine the exponent number needing to adjust each digital regulation resistance.
Then, in step s3, when predetermined constraints condition meets, then described regulating system determines the adjustment amount of each digital regulation resistance exponent number based on the total resistance of reality of the determined variable resistance unit of actual value of the coherent signal of described circuit and the difference of the total resistance of described expectation, resume at step S2 subsequently, namely, after circuit arranges the exponent number of each digital regulation resistance based on the adjustment amount of each digital regulation resistance exponent number, again judge whether predetermined constraints condition meets.
Such as, for the circuit shown in Fig. 3, if the total resistance of reality of described regulating system determination variable resistance unit 12 and the difference of the total resistance of described expectation are Δ R2, then described regulating system first compensates Δ R2 with the digital regulation resistance R2 that step-length is larger, the i.e. exponent number adjustment amount n2=Δ R2|L2 of described regulating system determination digital regulation resistance R2, determines the exponent number adjustment amount n3=Δ r2|L3 of digital regulation resistance R3 subsequently again based on the residual delta r2=Δ R1-n2*L2 after over-compensation; Subsequently, controller 14 resets the exponent number of digital regulation resistance R2, R3 based on the exponent number adjustment amount of described regulating system determined digital regulation resistance R2, R3.
As a kind of optimal way, in step s 2, after described regulating system calculates the error delta Y (i) of the current actual value of the coherent signal of described circuit and expectation value, also judge further this error delta Y (i) whether exceed before the error delta Y (i-1) of once calculated actual value and expectation value, if, the exponent number of each digital regulation resistance once set before then showing has been local optimum, then in abovementioned steps S3, described regulating system redefines the adjustment amount of each digital regulation resistance exponent number based on the error of previous actual value and expectation value.
For arbitrary resistance, various combination mode can be adopted to represent.Such as, for 100 ohm, 10 rank of digital regulation resistance RX can be adopted to represent, 8 rank of digital regulation resistance RX, 4 rank of digital regulation resistance RY also can be adopted to represent, if the more all array modes of traversal search, the global optimum that error is minimum can be obtained.
Such as, for the circuit shown in Fig. 3, R is worked as 1the step-length L2 of=100k, digital regulation resistance R2 is 10 ohm, and when the step-length L3 of digital regulation resistance R3 is 4 ohm, if the various array modes of traversal digital regulation resistance R2, R3, the output voltage error of acquisition as shown in Figure 4.As seen from the figure, the resistance resolution of adjustable resistance unit 12, up to 0.1 ohm, is far smaller than the L3 of the less digital regulation resistance R3 step-length of step-length.
Although application traversal mode is searched resistance and can be realized very high precision, need hundreds and thousands of search, greatly reduce the response speed of circuit, lack practical value.But, from traversal search pattern, obtain an important enlightenment, even change search initial point and likely find the more figure of merit.For this reason, when Local Search cannot meet accuracy requirement, at local optimization value place, the adjustment amount of the exponent number of each digital regulation resistance can be redefined based on previous error delta Y (i-1).
Such as, for the circuit shown in Fig. 3, actual value once calculated before the current actual value of output voltage and the difference of expectation value are greater than and the difference of expectation value, and digital regulation resistance R2, R3 is respectively m1 based on the exponent number after front once determined respective exponent number adjustment amount adjustment, m2, then described regulating system is based on digital regulation resistance R2, the step-length of R3 is determined the exponent number m1 before digital regulation resistance R2 once after adjustment to add 2 than L2:L3=5:2, and the exponent number m2 after once adjusting before digital regulation resistance R3 is subtracted 5, thus, although, (theoretical total resistance is based on formula R for the theoretical total resistance of adjustable resistance unit 12 12=R 2+ R 3calculate) constant, but actual total resistance changes to some extent due to the physics actual error of digital regulation resistance R2, R3 resistance, thus output voltage can be caused to change.As another kind of optimal way, in abovementioned steps S2, described regulating system also judges whether the total resistance of current reality of variable resistance unit and the error of the total resistance of described expectation exceed the total resistance of previous reality of variable resistance unit and the error of the total resistance of described expectation, if, the exponent number of each digital regulation resistance once set before then also showing has been local optimum, then same, described regulating system redefines the adjustment amount of each digital regulation resistance exponent number based on the error of previous actual value and expectation value.
It should be noted that, when at local optimization value place, also directly can be provided as final setting by previous, stop whole setting up procedure.
As shown in Figure 5, the invention provides the regulating system that a kind of coherent signal based on circuit regulates digital regulation resistance.This regulating system 2 at least comprises: exponent number determining unit 21, judging unit 22 and adjustment unit 23.
Wherein, described regulating system 2 is mainly used in the circuit comprising variable resistance unit, and described variable resistance unit comprises multiple digital regulation resistance, and the type of each digital regulation resistance can be identical, also can be incomplete same, each digital regulation resistance connects with series, parallel or series-parallel system.Preferably, described circuit includes but not limited to DC-stabilized circuit etc.
Such as, as shown in Figure 3, this DC-stabilized circuit 1 comprises voltage stabilizer 11, by digital regulation resistance R2, R3 variable resistance unit 12, the resistance R1 connecting described variable resistance unit 12 and controller 14 in series, described regulating system 2 is arranged in described controller 14, the feedback resistive network of this variable resistance unit 12 and resistance R1 voltage stabilizer 11 in series, this voltage stabilizer 11 exports DC voltage V to load 13.
Described exponent number determining unit 21 determines the total resistance of the expectation of variable resistance unit based on the expectation value of the coherent signal of described circuit, and determines the exponent number of each digital regulation resistance based on the total resistance of described expectation.
Wherein, the coherent signal of described circuit is the circuit signal that can change along with the resistance of variable resistance unit, such as, in the electronic circuit as shown in figure 3, the resistance change of variable resistance unit can cause output voltage to change, then the coherent signal of described circuit is output voltage.
Particularly, described exponent number determining unit 21 first based on the incidence relation of the resistance of variable resistance unit in circuit and the coherent signal of circuit determine variable resistance unit the total resistance of expectation, then the connected mode of digital regulation resistance comprised based on variable resistance unit and the step-length of each digital regulation resistance determine the exponent number of each digital regulation resistance.
Such as, for the DC-stabilized circuit 1 shown in Fig. 3, digital regulation resistance R2, R3 that variable resistance unit 12 comprises connect in a series arrangement, and respective step-length is L2, L3, if the expectation value of voltage stabilizer 11 output voltage is V 0, then described exponent number determining unit 21 is according to output voltage V and variable resistance unit 12 resistance R 12relational expression: V=V ref* (R 1/ R 12+ 1) determine that the total resistance of the expectation of variable resistance unit 12 is R 0, wherein, V reffor reference voltage; Subsequently, described exponent number determining unit 21 is again based on the total resistance R of theory of variable resistance unit 12 12=R 2+ R 3determine that the exponent number of digital regulation resistance R2, R3 is as exponent number N 2, N 3when being 0, the theoretical all-in resistance R of variable resistance unit 12 12(0); Subsequently, described exponent number determining unit 21 again based on the larger digital regulation resistance R2 of step-length step-length L2 and expect total resistance R 0with theoretical all-in resistance R 12(0) departure Δ R=R 0-R 12(0) the exponent number N of the digital regulation resistance R2 that step-length is larger, is determined 2=Δ R|L2, " | " represents and divides exactly; Calculate the residual delta r=Δ R-N2*L2 after over-compensation subsequently again; And then the exponent number N of digital regulation resistance R3 is determined based on the step-length L3 of the less digital regulation resistance R3 of step-length and residual delta r 3=Δ rL3, can make final remaining residual error be no more than the step-length L3 of digital regulation resistance R3 thus.
Preferably, described exponent number determining unit 21 also can adjust determined exponent number, to reduce final remaining residual error further based on the connected mode of each digital regulation resistance and each digital regulation resistance step-length separately again.
Such as, for by digital regulation resistance variable resistance unit in series, if final remaining residual error exceedes the half of minimum step, then the exponent number of digital regulation resistance corresponding for minimum step is added 1 by described exponent number determining unit 21 again, thus, final remaining residual error can be made to be no more than the half of minimum step.
Again such as, for the variable resistance unit that two digital regulation resistances being respectively L11 and L12 by step-length are in series, if the ratio of step-length L11 and L12 is 5:2, if then final remaining residual error is greater than 3/4ths of minimum step L12, then the exponent number of the digital regulation resistance of the correspondence of minimum step L12 is added 1 by described exponent number determining unit 21 again, thus, within final remaining residual error can being made to be down to 1/4th of minimum step L12; If final remaining residual error exceedes 1/4th of minimum step L12 and is no more than 3/4ths of minimum step L12, the exponent number of the digital regulation resistance that then exponent number of digital regulation resistance corresponding for step-length L11 is added 1 by described exponent number determining unit 21 again, minimum step L12 is corresponding subtracts 2, within final remaining residual error can be made thus to be reduced to 1/4th of minimum step again.
Then, after arranging each digital regulation resistance based on determined each digital regulation resistance exponent number, described judging unit 22 judges whether predetermined constraints condition meets, and then terminates if not, if then start adjustment unit 23.
Wherein, described predetermined constraints condition comprise any can be used for determine the need of adjustment each digital regulation resistance exponent number condition, preferably, following at least one is included but not limited to: a) actual value of the coherent signal of described circuit and the error of expectation value are more than the first preset range; B) the total resistance of the reality of described variable resistance unit and the error of the total resistance of expectation are more than the second preset range; C) number of times that arranges arranging each digital regulation resistance is less than pre-determined number.
Wherein, the actual value of the coherent signal of described circuit can be gathered voluntarily by described regulating system 2, also can by the collecting unit in circuit, and such as, controller provides.
Wherein, the total resistance of the reality of described variable resistance unit calculates according to the sensitivity formula of the actual value of the coherent signal of circuit and the coherent signal of circuit and variable resistance unit.
Such as, for circuit shown in Fig. 3, after each digital regulation resistance exponent number determined based on exponent number determining unit 21 arranges each digital regulation resistance, described judging unit 22 is based on the actual value V of circuit output voltage 0' and incidence relation formula between output voltage and the resistance of variable resistance unit: V=V ref* (R 1/ R 12+ 1) determine that the total resistance of the reality of variable resistance unit is R 12', and be R based on the total resistance of reality 12' with expect the error of total resistance more than 0.5 ohm and each digital regulation resistance exponent number is set number of times is set more than 18 times, determine the exponent number needing to adjust each digital regulation resistance.
Then, when predetermined constraints condition meets, described adjustment unit 23 determines the adjustment amount of each digital regulation resistance exponent number based on the total resistance of reality of the determined variable resistance unit of actual value of the coherent signal of described circuit and the difference of the total resistance of described expectation.
Such as, for the circuit shown in Fig. 3, if described adjustment unit 23 determines that the difference of the total resistance of the reality of variable resistance unit 12 and the total resistance of described expectation is Δ R2, then described adjustment unit 23 first compensates Δ R2 with the digital regulation resistance R2 that step-length is larger, namely described adjustment unit 23 determines the exponent number adjustment amount n2=Δ R2|L2 of digital regulation resistance R2, determines the exponent number adjustment amount n3=Δ r2|L3 of digital regulation resistance R3 subsequently again based on the residual delta r2=Δ R1-n2*L2 after over-compensation; Subsequently, controller 14 adjusts the exponent number of digital regulation resistance R2, R3 based on the exponent number adjustment amount of described adjustment unit 23 determined digital regulation resistance R2, R3.
As a kind of optimal way, after the error delta Y (i) of the actual value that the coherent signal that aforementioned judging unit 22 calculates described circuit is current and expectation value, further judge this difference DELTA Y (i) whether exceed before the error delta Y (i-1) of once calculated actual value and expectation value, if, the exponent number of each digital regulation resistance once set before then showing has been local optimum, then described adjustment unit 23 redefines the adjustment amount of each digital regulation resistance exponent number based on the error of previous actual value and expectation value.
Such as, for the circuit shown in Fig. 3, actual value once calculated before the current actual value of output voltage and the error of expectation value are greater than and the error of expectation value, digital regulation resistance R2, R3 is respectively m1 based on the exponent number after front once determined respective exponent number adjustment amount adjustment, m2, then can based on digital regulation resistance R2, the step-length of R3 is determined the exponent number m1 before digital regulation resistance R2 once after adjustment to add 2 than L2:L3=5:2, and the exponent number m2 after once adjusting before digital regulation resistance R3 subtracts 5, thus, although, (theoretical total resistance is based on formula R for the theoretical total resistance of adjustable resistance unit 12 12=R 2+ R 3calculate) constant, but actual total resistance changes to some extent due to the physics actual error of digital regulation resistance R2, R3 resistance, thus output voltage can be caused to change.
As another kind of optimal way, aforementioned judging unit 22 also judges whether the total resistance of current reality of variable resistance unit and the error of the total resistance of described expectation exceed the total resistance of previous reality of variable resistance unit and the error of the total resistance of described expectation, if, the exponent number of each digital regulation resistance once set before then also showing has been local optimum, then described adjustment unit 23 redefines the adjustment amount of each digital regulation resistance exponent number based on the error of previous actual value and expectation value.
Below by by describing the present invention in detail to the description of the circuit shown in Fig. 3:
In the DC power supply circuit 1 of the wide output area shown in Fig. 3, controller 14 comprises aforementioned regulating system 2, after circuit powers on, after the exponent number determining unit 21 of regulating system 2 determines the exponent number of digital regulation resistance R2, R3 based on the expectation value of output voltage, described controller 14 arranges the exponent number of digital regulation resistance R2, R3 based on the exponent number that described exponent number determining unit 21 is determined, controller 14 is sampled the actual value of voltage stabilizer 11 output voltage subsequently, and by being supplied to the judging unit 22 of regulating system 2 after analog to digital conversion, judging unit 22 based on the actual value of output voltage and the error of expectation value more than the first preset range, determine the exponent number needing to adjust each digital regulation resistance, then the adjustment unit 23 of regulating system 2 determines digital regulation resistance R2 based on the total resistance of reality of variable resistance unit 12 with the difference of the total resistance of expectation, the exponent number adjustment amount of R3, then, controller 14 is based on digital regulation resistance R2, the exponent number adjustment amount of R3 arranges digital regulation resistance R2, the exponent number of R3, to sample again subsequently the actual value of voltage stabilizer 11 output voltage, determined whether the exponent number needing again to adjust digital regulation resistance R2, R3 by regulating system 2 based on the actual value of this output voltage, so constantly repeat, till predetermined constraints condition no longer meets.
In foregoing circuit, if this DC power supply circuit output voltage range is 5V-60V, as reference voltage level V refwith feedback resistance R 1when there is not error, as shown in Figure 6, digital regulation resistance R2, R3 arrange number of times as shown in Figure 7 to output voltage error.As shown in Figure 6, output voltage error variation tendency increases with output voltage values and increases; The resistance error of overwhelming majority moment variable resistance unit is lower than 0.5 ohm.Arrange number of times as end condition using 0.5 ohm of error and 18 times, as seen from Figure 7, in the major part moment, the number of times that arranges of digital regulation resistance R2, R3 exponent number is between 2-8.
When variation of ambient temperature is comparatively large or device was selected not at that time, reference voltage level V may be caused refwith feedback resistance R 1resistance does not meet ideal value, can have an impact to arranging of digital regulation resistance R2, R3 exponent number.Hypothetical reference voltage V refincrease by 5%, feedback resistance R 1increase by 10%, now the number of times that arranges of DC power output voltage error and digital regulation resistance R2, R3 exponent number is distinguished as shown in Figure 8, Figure 9.As seen from the figure, output voltage error variation tendency is consistent with Fig. 6, but arranges number of times and be between 4-10 time, obviously increases to some extent.
In sum, of the present inventionly regulate the method and system of digital regulation resistance to choose successive ignition by resistance based on coherent signal to eliminate digital regulation resistance self error, and make full use of multiple potentiometer Combination application and the significantly lifting optimizing subsequent treatment and realize resistance resolution.Range of application of the present invention is not limited to DC power system, also can be applicable to the other field needing digital variable resistor.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (7)

1. the coherent signal based on circuit regulates the control method of digital regulation resistance, wherein, described circuit comprises the variable resistance unit be made up of multiple digital regulation resistance, it is characterized in that, the described coherent signal based on circuit regulates the control method of digital regulation resistance at least to comprise the following steps:
1) expectation value based on the coherent signal of described circuit determines the total resistance of the expectation of variable resistance unit, and determines the exponent number of each digital regulation resistance based on the total resistance of described expectation;
2) after the exponent number of each digital regulation resistance is arranged, judge whether predetermined constraints condition meets;
3) when predetermined constraints condition meets, the total resistance of reality of the determined variable resistance unit of the actual value based on the coherent signal of described circuit and the difference of the total resistance of described expectation determine the adjustment amount of each digital regulation resistance exponent number, resume at step 2 subsequently); Then terminate when predetermined constraints condition does not meet;
Wherein, described predetermined constraints condition comprises following at least one:
The actual value of coherent signal of a, described circuit and the error of expectation value are more than the first preset range;
The total resistance of reality of b, described variable resistance unit and the error of the total resistance of expectation are more than the second preset range;
C, the number of times that arranges arranging each digital regulation resistance are less than pre-determined number;
Wherein, when each digital regulation resistance in variable resistance unit is connected, in described step 1) in, if the resistance of variable resistance unit calculated based on determined exponent number and the residual error of the total resistance of described expectation exceed the half of minimum step, then the exponent number of the digital regulation resistance corresponding to minimum step is added 1 again; If the step-length of the digital regulation resistance of minimum step is 2:5 with the step-length ratio of another digital regulation resistance, then when the resistance of the variable resistance unit calculated based on determined exponent number and the residual error of the total resistance of described expectation exceed 3/4 of minimum step, then the exponent number of the digital regulation resistance corresponding to minimum step is added 1 again; If when the resistance of variable resistance unit that calculate based on determined exponent number and the residual error of the total resistance of described expectation exceed 1/4 of minimum step but do not exceed 3/4 of minimum step, then again the exponent number of the digital regulation resistance corresponding to minimum step is subtracted 2, the exponent number of this another digital regulation resistance adds 1.
2. the coherent signal based on circuit according to claim 1 regulates the control method of digital regulation resistance, it is characterized in that,
In step 2) in also comprise:
Judge whether the error of the actual value that coherent signal is current and expectation value exceedes the error of previous actual value and expectation value;
Described method also comprises step:
If the actual value of current coherent signal and the error of expectation value exceed the error of previous actual value and expectation value, then redefine the adjustment amount of each digital regulation resistance exponent number based on the error of previous actual value and expectation value.
3. the coherent signal based on circuit according to claim 1 regulates the control method of digital regulation resistance, it is characterized in that,
In step 2) in also comprise:
Judge whether the total resistance of current reality of variable resistance unit and the error of the total resistance of described expectation exceed the total resistance of previous reality of variable resistance unit and the error of the total resistance of described expectation;
Described method also comprises step:
If the error of the total resistance of current reality of variable resistance unit and the total resistance of described expectation exceedes the total resistance of previous reality of variable resistance unit and the error of the total resistance of described expectation, then redefine the adjustment amount of each digital regulation resistance exponent number based on the error of previous actual value and expectation value.
4. the coherent signal based on circuit regulates the regulating system of digital regulation resistance, wherein, described circuit comprises the variable resistance unit be made up of multiple digital regulation resistance, it is characterized in that, the described coherent signal based on circuit regulates the regulating system of digital regulation resistance at least to comprise:
Exponent number determining unit, the expectation value for the coherent signal based on described circuit determines the total resistance of the expectation of variable resistance unit, and determines the exponent number of each digital regulation resistance based on the total resistance of described expectation;
Judging unit, for after the exponent number of each digital regulation resistance is arranged, judges whether predetermined constraints condition meets;
Adjustment unit, for when predetermined constraints condition meets, the total resistance of reality of the determined variable resistance unit of the actual value based on the coherent signal of described circuit and the difference of the total resistance of described expectation determine the adjustment amount of each digital regulation resistance exponent number; Then terminate when predetermined constraints condition does not meet;
Wherein, described predetermined constraints condition comprises following at least one:
The actual value of coherent signal of a, described circuit and the error of expectation value are more than the first preset range;
The total resistance of reality of b, described variable resistance unit and the error of the total resistance of expectation are more than the second preset range;
C, the number of times that arranges arranging each digital regulation resistance are less than pre-determined number;
Wherein, when each digital regulation resistance in variable resistance unit is connected, if the resistance of variable resistance unit calculated based on determined exponent number and the residual error of the total resistance of described expectation exceed the half of minimum step, then the exponent number of the digital regulation resistance corresponding to minimum step is added 1 by exponent number determining unit again; If the step-length of the digital regulation resistance of minimum step is 2:5 with the step-length ratio of another digital regulation resistance, then when the resistance of the variable resistance unit calculated based on determined exponent number and the residual error of the total resistance of described expectation exceed 3/4 of minimum step, then the exponent number of the digital regulation resistance corresponding to minimum step is added 1 by exponent number determining unit again; If when the resistance of variable resistance unit that calculate based on determined exponent number and the residual error of the total resistance of described expectation exceed 1/4 of minimum step but do not exceed 3/4 of minimum step, then the exponent number of the digital regulation resistance corresponding to minimum step is subtracted 2 by exponent number determining unit again, the exponent number of this another digital regulation resistance adds 1.
5. the coherent signal based on circuit according to claim 4 regulates the regulating system of digital regulation resistance, it is characterized in that,
Described judging unit also for:
Judge whether the error of current actual value and expectation value exceedes the error of previous actual value and expectation value;
Described adjustment unit also for:
If the error of current actual value and expectation value exceedes the error of previous actual value and expectation value, then redefine the adjustment amount of each digital regulation resistance exponent number based on the error of previous actual value and expectation value.
6. the coherent signal based on circuit according to claim 4 regulates the regulating system of digital regulation resistance, it is characterized in that,
Described judging unit also for:
Judge whether the total resistance of current reality of variable resistance unit and the error of the total resistance of described expectation exceed the total resistance of previous reality of variable resistance unit and the error of the total resistance of described expectation;
Described adjustment unit also for:
If the error of the total resistance of current reality of variable resistance unit and the total resistance of described expectation exceedes the total resistance of previous reality of variable resistance unit and the error of the total resistance of described expectation, then the adjustment amount redefining each digital regulation resistance exponent number based on the error of previous actual value and expectation value determines the adjustment amount of each digital regulation resistance exponent number.
7. a DC power supply circuit for wide output area, is characterized in that: the DC power supply circuit of described wide output area at least comprises:
Direct current stabilizer;
Comprise the resistor network of variable resistance unit, be connected with described direct current stabilizer, for regulating the output voltage of described direct current stabilizer, wherein, described variable resistance unit comprises multiple digital regulation resistance;
Controller, comprises the regulating system according to any one of claim 4 to 6, and it is connected to described direct current stabilizer output terminal, for arranging the resistance of each digital regulation resistance and gathering the output voltage of described direct current stabilizer.
CN201310471384.0A 2013-10-10 2013-10-10 Method, system for adjusting digital potentiometers based on coherent signal and circuit Active CN103488233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310471384.0A CN103488233B (en) 2013-10-10 2013-10-10 Method, system for adjusting digital potentiometers based on coherent signal and circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310471384.0A CN103488233B (en) 2013-10-10 2013-10-10 Method, system for adjusting digital potentiometers based on coherent signal and circuit

Publications (2)

Publication Number Publication Date
CN103488233A CN103488233A (en) 2014-01-01
CN103488233B true CN103488233B (en) 2015-01-21

Family

ID=49828539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310471384.0A Active CN103488233B (en) 2013-10-10 2013-10-10 Method, system for adjusting digital potentiometers based on coherent signal and circuit

Country Status (1)

Country Link
CN (1) CN103488233B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984382B (en) * 2014-05-27 2015-10-14 中国科学院上海高等研究院 A kind of method to set up of digital regulation resistance exponent number of connecting
CN107317566A (en) * 2017-07-25 2017-11-03 铂元智能科技(北京)有限公司 High-resolution digital potentiometer
CN112600534B (en) * 2021-01-04 2024-06-11 广州千语软件信息科技有限公司 Control method of adjustable resistor combination circuit
CN114089802B (en) * 2021-11-30 2023-05-09 荣耀终端有限公司 Power supply circuit, terminal device and voltage control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1338423A (en) * 1970-01-16 1973-11-21 Hitachi Ltd Automatic voltage control system
DE3105198A1 (en) * 1981-02-13 1982-09-09 Philips Patentverwaltung Gmbh, 2000 Hamburg Circuit arrangement for accurate setting of an electrical voltage
CN1828467A (en) * 2005-03-03 2006-09-06 华邦电子股份有限公司 Adjustable stabilized voltage supply device
CN101833350A (en) * 2010-03-29 2010-09-15 东莞市盛星电脑科技有限公司 Midpoint voltage self-adaptation device of magnetic resistor network and self-adaptation method
CN103324227A (en) * 2013-07-03 2013-09-25 深圳市易能电气技术有限公司 Coder power supply voltage stabilizing circuit and voltage stabling method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1338423A (en) * 1970-01-16 1973-11-21 Hitachi Ltd Automatic voltage control system
DE3105198A1 (en) * 1981-02-13 1982-09-09 Philips Patentverwaltung Gmbh, 2000 Hamburg Circuit arrangement for accurate setting of an electrical voltage
CN1828467A (en) * 2005-03-03 2006-09-06 华邦电子股份有限公司 Adjustable stabilized voltage supply device
CN101833350A (en) * 2010-03-29 2010-09-15 东莞市盛星电脑科技有限公司 Midpoint voltage self-adaptation device of magnetic resistor network and self-adaptation method
CN103324227A (en) * 2013-07-03 2013-09-25 深圳市易能电气技术有限公司 Coder power supply voltage stabilizing circuit and voltage stabling method thereof

Also Published As

Publication number Publication date
CN103488233A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
CN103488224B (en) Method, system and circuit for adjusting digital potentiometers based on specific value
CN103488233B (en) Method, system for adjusting digital potentiometers based on coherent signal and circuit
US8390242B2 (en) Analog photovoltaic power circuit
CN109765502B (en) Program-controlled direct current electronic load
CN102435392A (en) Remote intelligent pressure sensor calibration system
CN106125813A (en) A kind of high stability constant-current source of portable wide amount limit
CN110441604A (en) The circuit and method of resistance are accurately measured in Wheatstone bridge using computer
CN103674552A (en) Aero-engine test bed trust loading and calibrating system and automatic control method
CN104331113A (en) High-precision numerically-controlled constant current source
CN202631620U (en) Optical module intelligent test board
CN104697659A (en) Temperature measuring device and method using NTC thermistor
CN106357107A (en) Voltage regulating circuit and programmable power supply
CN104679084A (en) Voltage correction circuit and low-dropout linear regulator system
CN104615186B (en) High-precision adjustable power source circuit
CN103295710B (en) Thermistor simulation module and the resistance output calibration steps to this module
CN104699154B (en) Adjustable power supply and average-current system with same
CN104242609B (en) Disturbance rejection device of buck circuit
CN114740941B (en) Bandgap reference circuit, integrated circuit, and electronic device
CN111367346A (en) Voltage stabilizing circuit, power supply and electric equipment
CN111077923B (en) Air supply system of airborne blasting device and control method thereof
CN213661446U (en) Power supply circuit and clamping circuit thereof
CN208568102U (en) A kind of High Precision Temperature Acquiring System
CN202420763U (en) Remote calibration intelligent pressure transducer system
Vostrukhin et al. Temperature sensor resistance conversion to binary code using pulse width modulation
Du Design of high precision and wide range current source based on microcontroller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant