A kind of wide-range and the ac current source and processing method of closed-loop control
Technical field
The present invention relates to electronic technology field more particularly to the ac current sources and processing of a kind of wide-range and closed-loop control
Method.
Background technique
With the development of science and technology the high speed development of power electronic technique, many advanced electronic technology are continued to bring out, electronics
The field that equipment is related to becomes more and more wide in range, and the type of electrical equipment is also more and more, controls at the same time electrical equipment
The requirement of performance and the requirement of power supply precision also increase accordingly.Source of stable pressure and constant-current source are in instrument and meter, electronic equipment and high-new
It is occupied an important position in technical industry, however people more endeavour the research to source of stable pressure for a long time, say compared to face, people
It is relatively limited to the research of constant-current source especially ac current source, design.With high efficiency of power supply, high stability, high power
Density, modular development increasingly have great importance to the research and development of power supply and engineering net price value.
Constant-current source is a kind of power supply that can export constant current.A branch of the constant-current source as stabilized power supply, nearly five
Great development has been obtained during the decade, and the core devices for constituting constant-current source stride into half by the ballast tube of the electrovacuum structure of early stage
The conductor integrated circuit stage.The range being related to also by traditional stabilization electromagnetic field, correcting current table etc., extends to semiconductor devices
In the application such as performance test, sensor, medical diagnostic equipment.
The mentality of designing of traditional constant-current source is broadly divided into: constituting constant-current source with source of stable pressure and resistance;With constant current device structure
At constant-current source;And constant-current source is constituted with reversed feedback amplifier.The mode of several constant-current sources is each advantageous and disadvantage, is respectively adapted to
Several specific application environments, meanwhile, the also design for many novel constant-current circuits is offered reference and foundation.Due to temperature pair
Integrated transporting discharging parameter influences to influence the constant-current source tool significantly, being made of integrated transporting discharging not as good as on transistor or field-effect tube parameter
Have that stability is more preferable, the higher advantage of constant current performance.Require constant-current source output frequency, amplitude adjustable in special application field,
With good stability and precision simultaneously, therefore be the digital-control constant-flow source of control core in versatility, stability using single-chip microcontroller
And there is very big advantage in terms of reliability.
In view of above, in order to overcome defect present on the prior art, a kind of superhigh precision closed-loop control, range are provided
Changeable wide-range ac current source.
Summary of the invention
In order to overcome defect present on the prior art, the present invention discloses that a kind of range is changeable to be compatible with closed loop control simultaneously
The wide-range high-precision ac current source of system.
To achieve the above object, the presently disclosed wide-range and ac current source of closed-loop control includes:
V/I conversion circuit, for AC-input voltage to be converted into alternating current output, the input voltage is to be controlled by
Close loop control circuit is to realize the adjustable variable one of range;And the V/I conversion circuit is additionally provided at least two resistor coupled in parallel, with
The adjustable variable two of range is formed by total resistance value that on-off combines change parallel resistance;The output of the V/I conversion circuit
Electric current with the variable one and the variable two the linear transformation of quotient;
The sampling resistor being connected between the V/I conversion circuit and load;
The analog-to-digital conversion of required feedback data acquisition is realized in the close loop control circuit including connecting the sampling resistor
Device, the digital analog converter being connect with the V/I conversion circuit input terminal, and it is connected to the analog-digital converter and the digital-to-analogue
Processor between converter;The processor according to the feedback data and the variable two of the sampling resistor for calculating
Increment needed for adjusting the variable one out, and the increment is acted on into the V/I conversion circuit through the digital analog converter
Input terminal.
In order to achieve the above object, invention additionally discloses a kind of wide-range and the ac current source processing method of closed-loop control, packet
It includes:
AC-input voltage is converted into alternating current output with V/I conversion circuit, the input voltage is to be controlled by close
Ring control loop is to realize the adjustable variable one of range;And the V/I conversion circuit is additionally provided at least two resistor coupled in parallel, with logical
On-off combination is crossed to change total resistance value of parallel resistance and form the adjustable variable two of range;The output electricity of the V/I conversion circuit
Flow the linear transformation of quotient with the variable one and the variable two;
One sampling resistor, and construction close loop control circuit are set between the V/I conversion circuit and load, it is described to close
Ring control loop includes connecting the sampling resistor to turn with the analog-digital converter for realizing required feedback data acquisition and the V/I
Change the digital analog converter of circuit input end connection, and the place being connected between the analog-digital converter and the digital analog converter
Manage device;
According to the target environment parameter of load determine the variable two corresponding to parallel resistance on-off syntagmatic, and with
Adjustment institute is calculated according to the feedback data and the variable two of the sampling resistor in the processor of the close loop control circuit
Increment needed for stating variable one, and the increment is acted on to the input terminal of the V/I conversion circuit through the digital analog converter.
The ac current source and its processing method of wide-range of the present invention and closed-loop control have the advantages that
V/I conversion circuit combination closed-loop control inhibits and reduces component nonlinear change characteristic, noise jamming and temperature
The influence to current source such as drift, it is ensured that export the high-precision control of electric current.Moreover, circuit of the present invention is simple and performance stabilization can
Control, under the action of V/I conversion circuit and close loop control circuit, the output electric current of V/I conversion circuit is with variable one and variable two
Variation and carry out corresponding range switching, it is changeable to realize range, by changing variable one and/or variable two, in reality
In, wide-range can realize the switching from Naan to milliampere grade.
Below with reference to accompanying drawings, the present invention is described in further detail.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the V/I conversion circuit schematic illustration of the preferred embodiment of the present invention;
Fig. 2 is that the range of the V/I conversion circuit of the preferred embodiment of the present invention can be changed schematic illustration;
Fig. 3 is the functional block diagram of the preferred embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described in detail below in conjunction with attached drawing, but the present invention can be defined by the claims
Implement with the multitude of different ways of covering.
Embodiment 1
The present embodiment discloses the ac current source of a kind of wide-range and closed-loop control, comprising:
V/I conversion circuit, for AC-input voltage to be converted into alternating current output, the input voltage is to be controlled by
Close loop control circuit is to realize the adjustable variable one of range;And the V/I conversion circuit is additionally provided at least two resistor coupled in parallel, with
The adjustable variable two of range is formed by total resistance value that on-off combines change parallel resistance;The output of the V/I conversion circuit
Electric current with the variable one and the variable two the linear transformation of quotient;
The sampling resistor being connected between the V/I conversion circuit and load;
The analog-to-digital conversion of required feedback data acquisition is realized in the close loop control circuit including connecting the sampling resistor
Device, the digital analog converter being connect with the V/I conversion circuit input terminal, and it is connected to the analog-digital converter and the digital-to-analogue
Processor between converter;The processor according to the feedback data and the variable two of the sampling resistor for calculating
Increment needed for adjusting the variable one out, and the increment is acted on into the V/I conversion circuit through the digital analog converter
Input terminal.
Preferably, the present embodiment V/I conversion circuit includes:
Input terminal Vin, it is connect with the digital analog converter, and through resistance RSThe positive for connecting second operational amplifier U2 is defeated
Enter end;
The normal phase input end of the second operational amplifier U2 is also through resistance RCConnect the output of third operational amplifier U3
End;The inverting input terminal of the second operational amplifier U2 is through resistance R2Ground connection, the output end of the second operational amplifier U2
Resistance R is connected between inverting input terminalf, connected between the output end and inverting input terminal of the third operational amplifier U3
There is resistance R3;
The normal phase input end of the third operational amplifier U3 is at least two parallel connection through changing the variable two
Resistance connects the backward load R of the output end of the second operational amplifier U20Export electric current I0。
When the digital analog converter output be differential mode voltage signal when, the V/I conversion circuit further include: be connected to institute
State digital analog converter and the resistance RSBetween for signal conversion the first operational amplifier.
Structure and principle in relation to the present embodiment V/I conversion circuit can refer to Fig. 1 and Fig. 2.
In Fig. 1, DAC exports differential mode voltage signal, obtains input voltage V through amplifier U1in, VinRange and DAC export
Electric parameter is related, according to the empty short principle of amplifier, can obtain:
U+=U- formula (1)
UO=U3Formula (2);
According to the disconnected principle of amplifier void, can obtain:
Simultaneous above-mentioned formula (1) can obtain the output electric current of V/I conversion circuit with one V of variable to formula (5)inWith R1Quotient
Linear transformation.Such as: take R2=RS=RC=Rf, according to formula (1) (2) (3) (4) (5), can calculate:
Further, changeable in order to provide range, as shown in Fig. 2, the R1 in Fig. 1 to be changed to the parallel connection of multiple groups resistance, i.e., simultaneously
Join multiple groups resistance R1、R2、R3…Rn, by RAlwaysInverse be equal to each sub-resistance the sum of inverse, can obtain
Whereby, if according to above-mentionedR need to only be changedAlwaysValue, can change output electric current I0Value, not according to bearing power
Together, different resistance are combined using switch on and off, changes RAlwaysTo change IO, thus exported to generate wide electric current.
It is worth noting that: in relation to Fig. 1 and V/I conversion circuit shown in Fig. 2, those skilled in the art can also infer easily
Other various deformations or equivalent replacement, such deformation or equivalent replacement come under protection scope of the present invention, are not unfolded to carry out
It repeats one by one.
Further, referring to Fig. 3, the present embodiment close loop control circuit can include: the DSP of the analog-digital converter is connected,
The DSP connects the V/I conversion circuit through digital analog converter;Wherein, it is communicated between DSP and ADC and DAC with SPI.Phase
It is corresponding, in specific closed loop adjustment process, by DSP according to the present input voltage of sampling resistor fed back and current electricity
Increment needed for variable one is calculated in the corresponding relationship and target current of stream and the difference of current flow.Preferably, this reality
The sampling resistor that a sampling resistor is Low Drift Temperature 0.2ppm or more is applied, the precision of analog-digital converter is 32, the digital-to-analogue conversion
The precision of device is 24;It can ensure that the precision of the present embodiment ac current source 0.01% or more whereby.24 DAC used,
Theoretically output voltage minimum precision are as follows:
In above formula, n is DAC digit, VREFFor DAC reference data voltage.In general, DAC output voltage is up to μ V rank, so
Afterwards in conjunction with the value of two resistance of variable, output exchange range can be clipped to mA rank from nA grades, final to realize that range is variable, generate
Wide electric current output, range are clipped to mA rank from nA grades.
In the specific running of Fig. 3,32 superhigh precision ADC sample resistance, the differential mode voltage signal after sampling
It is delivered to dsp processor after processing, sample feedback signal back compared with dsp processor preset value and is modified, so
After send out signal adjusted, then export new electric current, through 24 DAC, V/I conversion circuits, entire signal link forms closed loop
Control, while possibility is provided for superhigh precision output.
To sum up, electric current of voltage regulation source disclosed in the present embodiment can combine high-precision DAC and the ADC conversion of industry cutting edge technology
Chip realizes up to nA grades of high-precision AC electric current output in conjunction with the V/I translation circuit for meeting performance requirement.Pass through change
RAlwaysValue generate wide electric current output so that output range is variable, range is clipped to mA rank from nA grades.Meet high-precision simultaneously to close
The characteristics of ring controls.
It is worth noting that: the superhigh precision performance in the present embodiment need to be turned by the high-precision digital-to-analogue in close loop control circuit
Parallel operation, high-precision adc and V/I conversion circuit are completed jointly, and the circuit of three functional modules requires to meet index ginseng
Number requires that superhigh precision output could be provided, indispensable.
Embodiment 2
Corresponding with above-described embodiment 1, the present embodiment discloses at a kind of wide-range and the ac current source of closed-loop control
Reason method, comprising the following steps:
Step S1, AC-input voltage is converted by alternating current output with V/I conversion circuit, which is controlled
In close loop control circuit to realize the adjustable variable one of range;And the V/I conversion circuit is additionally provided at least two resistor coupled in parallel, with
The adjustable variable two of range is formed by total resistance value that on-off combines change parallel resistance;The output electricity of the V/I conversion circuit
Stream with the variation of the variable one and variable two carries out corresponding range switching, and the output electric current of the V/I conversion circuit with
The linear transformation of quotient of the variable one and the variable two.
Step S2, a sampling resistor, and construction close loop control circuit are set between the V/I conversion circuit and load,
The close loop control circuit includes the analog-digital converter and the V/ for connecting the sampling resistor to realize required feedback data acquisition
The digital analog converter of I conversion circuit input terminal connection, and be connected between the analog-digital converter and the digital analog converter
Processor.
Step S3, according to the target environment parameter of load determine the variable two corresponding to parallel resistance on-off combination close
System, and adjustment is calculated according to the feedback data and the variable two of the sampling resistor with the processor of close loop control circuit
Increment needed for the variable one, and the increment is acted on to the input of the V/I conversion circuit through the digital analog converter
End.
Optionally, the present embodiment close loop control circuit processor is also wrapped in specifically closed loop control process using DSP
It includes:
The DSP is according to the present input voltage of sampling resistor fed back and the corresponding relationship and target of current flow
Increment needed for the variable one is calculated in the difference of electric current and current flow.
To sum up, ac current source and its processing method disclosed in the present embodiment above-described embodiment, have it is following the utility model has the advantages that
V/I conversion circuit combination closed-loop control inhibits and reduces component nonlinear change characteristic, noise jamming and temperature
The influence to current source such as drift, it is ensured that export the high-precision control of electric current.Moreover, circuit of the present invention is simple and performance stabilization can
Control, under the action of V/I conversion circuit and close loop control circuit, the output electric current of V/I conversion circuit is with variable one and variable two
Variation and carry out corresponding range switching, it is changeable to realize range, by changing variable one and/or variable two, in reality
In, wide-range can realize the switching from Naan to milliampere grade.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.