CN103217999B - Numerical-control direct-current power source - Google Patents

Numerical-control direct-current power source Download PDF

Info

Publication number
CN103217999B
CN103217999B CN201210018274.4A CN201210018274A CN103217999B CN 103217999 B CN103217999 B CN 103217999B CN 201210018274 A CN201210018274 A CN 201210018274A CN 103217999 B CN103217999 B CN 103217999B
Authority
CN
China
Prior art keywords
module
voltage
current
port
modular converter
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
CN201210018274.4A
Other languages
Chinese (zh)
Other versions
CN103217999A (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.)
Institute of Electronics of CAS
Original Assignee
Institute of Electronics 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 Institute of Electronics of CAS filed Critical Institute of Electronics of CAS
Priority to CN201210018274.4A priority Critical patent/CN103217999B/en
Publication of CN103217999A publication Critical patent/CN103217999A/en
Application granted granted Critical
Publication of CN103217999B publication Critical patent/CN103217999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a numerical-control direct-current power source. Reference voltage is provided by a D/A (digital to analog) module, and is outputted by a power operational amplifying module, the output is sampled and fed back to the input end of the power operational amplifying module for closed loop control, the outputted voltage can range from several millivolts to several dozens of volts, the current can range from several milliamperes to several amperes, the accuracy can reach 1 per mill, and the bidirectional voltage output and the bidirectional current output can be realized without an output polar reversing circuit. In addition, the numerical-control direct-current power source also has an overvoltage/overcurrent protection function and an outputted voltage and current measuring and displaying function.

Description

Numerical control direct supply
Technical field
The present invention relates to electronic information industry power technique fields, relate in particular to a kind of numerical control direct supply of controlling output with digital signal input.
Background technology
Electric current and voltage source is one of key Design of a lot of instrument and equipments development, and the error that power supply produces in the time of work can affect the degree of accuracy of whole system, and power supply can cause a lot of adverse consequencess in use.
Conventional DC stabilized voltage supply kind is a lot, but all has following problem: 1. output voltage or electric current regulate by coarse adjustment (waver) and fine tuning (potentiometer).Like this, when output voltage or electric current need accurately output, or need to change among a small circle at one time (as 1.01~1.02V or 1.01~1.02mA), difficulty is just larger.In addition, along with the increase of service time, the unavoidable loose contact of waver and potentiometer, has impact to output; 2. show and use mechanical voltage, cause user's required voltage, electric current to be difficult to accurate control, in traditional method for designing, if show, output is that the quantized value of voltage is directly carried out to coding display output, its displayed value is the input quantity of D/A conversion, due to the error that D/A conversion and power driving circuit are introduced, make may occur larger deviation between displayed value and power supply real output value.Traditional multifunctional DC stabilized voltage supply function is simple, difficulty is controlled, reliability is low, interference is large, precision is low and volume is large, complexity is high.
Along with the develop rapidly of information age, the advantages such as power-supply device is also gradually to digitizing future development, and DCPS digitally controlled power source is high with its intelligent degree, control can be lived, precision is high, simple to operation, man-machine interface is friendly are used more and more widely in electronic installation.Present DCPS digitally controlled power source adopts digital-to-analog converter to produce reference voltage more, adopt analog to digital converter sampling output valve, deviation to setting value and output valve is revised, in order to be exported accurately, what have has also adopted Fuzzy Adaptive PID Control technology, also has output polarity commutating circuit in the time of output bipolar voltage.
Applicant finds that existing DCPS digitally controlled power source exists following technological deficiency realizing in process of the present invention: its intelligent degree is low, controls complicatedly, and user is difficult to grasp conventionally; And its complex structure, is unfavorable for the maintenance in later stage.
Summary of the invention
(1) technical matters that will solve
For solving above-mentioned one or more problems, the invention provides a kind of numerical control direct supply, to improve the intelligent degree of numerical control direct supply, simplify its structure.
(2) technical scheme
According to an aspect of the present invention, provide a kind of numerical control direct supply.This numerical control direct supply comprises: control module, forwarding module, D/A modular converter, power amplifier module, electric current gear are selected module, sampling module and mode selection module.Control module, for generation of the first digital signal V in1, and by the first digital signal V in1be sent to forwarding module.Forwarding module, is connected with control module, for by the first digital signal V in1be forwarded to D/A modular converter.D/A modular converter, its input end is connected with forwarding module, for by the first digital signal V in1switch analog voltages VIS.Power amplifier module, its first input end is connected with the first output terminal of D/A modular converter, its second input end grounding.Electric current gear is selected module, and its input end is connected with the output terminal of power amplifier module, and its output terminal is connected with the output terminal of numerical control direct supply, for exporting the first digital signal V in1corresponding output voltage V oor output current I o.Sampling module comprises current sampling unit and voltage sample unit, wherein: two input ends of current sampling unit select the input end of module to be connected with output terminal with electric current gear respectively, and its output terminal is connected to the first port of mode selection module; The input end of voltage sample unit is connected with the load of numerical control direct supply, and its output terminal is connected to the second port of mode selection module.Mode selection module, its 3rd port is connected to the second input port of power amplifier module, under voltage source mode of operation, the second port is connected to the 3rd port; Under current source mode of operation, the first port is connected to the 3rd port.
(3) beneficial effect
Can find out from technique scheme, the present invention has following beneficial effect:
1, numerical control direct current power acquisition provided by the invention is used by D/A modular converter and is provided reference voltage to export by power amplifier module again, carry out closed-loop control from output sampling feedback to the input end of power amplifier module, output voltage can be from several millivolts to tens volts, electric current can be from several microamperes to several amperes, precision can reach 1 ‰, just can realize bi-directional voltage output and bidirectional current output without output polarity commutating circuit;
2, numerical control direct supply provided by the invention also has overvoltage/overcurrent protection function and the measurement Presentation Function to output voltage and electric current.
Brief description of the drawings
Fig. 1 is the schematic diagram of embodiment of the present invention numerical control direct current voltage source annexation;
Fig. 2 is the circuit diagram of embodiment of the present invention numerical control direct current voltage source;
Fig. 3 is the schematic diagram that the embodiment of the present invention has the numerical control direct current voltage source of overcurrent protection module;
Fig. 4 is the schematic diagram of embodiment of the present invention Digital Control Direct Current Source annexation;
Fig. 5 is the circuit diagram of embodiment of the present invention Digital Control Direct Current Source;
Fig. 6 is the schematic diagram that the embodiment of the present invention has the Digital Control Direct Current Source of overvoltage protective module;
Fig. 7 is the schematic diagram of embodiment of the present invention numerical control direct supply annexation;
Fig. 8 is the circuit diagram of embodiment of the present invention numerical control direct supply.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.Although the demonstration of the parameter that comprises particular value can be provided herein, should be appreciated that, parameter is without definitely equaling corresponding value, but can in acceptable error margin or design constraint, be similar to described value.
The present invention proposes a kind of numerical control voltage/current origin system, the parameters of power supply and operation all arrange in the control interface on PC, and the control chip of power supply is controlled other each several part circuit collaborative work according to arranging, and is met the power supply of requirement.It should be noted that, the present invention is taking PC and programmable logic chip FPGA as example, and those skilled in the art should understand, and other the device with identical function or module also can replace corresponding component, no longer describes in detail herein.
The present invention will be described below to divide three parts: voltage source, current source, can realize the AC-battery power source of voltage source and current source conversion.
Part I: numerical control direct current voltage source
Fig. 1 is the schematic diagram of embodiment of the present invention numerical control direct current voltage source annexation.As shown in Figure 1, PC and the FPGA PORT COM after by PC is connected, and the parameter preset of power supply is passed to after treatment FPGA by the control software on PC, and output voltage values or current value that FPGA measures A/D modular converter are passed to PC.FPGA selects module, sampling module, pressure measurement/flow measurement to select module, A/D modular converter to be connected with D/A modular converter, electric current gear, realizes control and data interaction to them.The digital signal that D/A modular converter is sent FPGA here converts analog voltage to and outputs to power amplifier module and overcurrent protection module.The module of selecting electric current gear realizes the gear of output current and selects.Sampling module is realized the sampling to output voltage and output current, and gives power amplifier module by output voltage sampled signal and realize constant Voltage-output; Give the overcurrent protection module current limliting that realization is exported by output voltage and output current sampled signal; Give pressure measurement/flow measurement by output voltage and output current sampled signal and select module, pressure measurement/flow measurement selects module the sampled signal of output voltage or output current to be given to A/D modular converter and realized the measurement of output voltage or output current.
Fig. 2 is the circuit diagram of embodiment of the present invention numerical control direct current voltage source.Electric current gear is selected K in module 1k ncorresponding different current gear respectively, the range of current of every grade can be set by the control software flexible on PC.Suppose K 1corresponding range of current is [I 1, I 1], K 2corresponding range of current is [I 2,-I 1) and (I 1, I 2], K ncorresponding range of current is [I n,-I n-1) and (I n-1, I n], wherein 0 < I 1< I 2< ... < I n-1< I n.At any time, K 1k nin only have a switch closure, wherein the value of n can be determined according to the scope of output current.G in sampling module 1g mcorresponding different voltage sample coefficient respectively.Suppose G 1corresponding voltage range is [V 1, V 1], voltage sample coefficient is q 1, G 2corresponding voltage range is [V 2,-V 1) and (V 1, V 2], voltage sample coefficient is q 2, G mcorresponding voltage range is [V m,-V m-1) and (V m-1, V m], voltage sample coefficient is q m, wherein 0 < V 1< V 2< ... < V m-1< V m.At any time, G 1g min only have a switch closure, wherein the value of m can be determined according to the scope of output voltage.Pressure measurement/flow measurement is selected in module, in the time that voltage source is set to pressure measurement, and switch J 2h, L conducting, give A/D modular converter by the sampled signal of output voltage; In the time that voltage source is set to flow measurement, switch J 2h, M conducting, give A/D modular converter by the sampled signal of output current.Overcurrent protection module is limited in output current in default current-limiting zone.
As shown in Figure 2, the present embodiment numerical control direct current voltage source comprises: control module, forwarding module, D/A modular converter, power amplifier module and sampling module, wherein: control module, for generation of the first digital signal V in1, and by the first digital signal V in1be sent to forwarding module; Forwarding module, is connected with control module, for by the first digital signal V in1be forwarded to D/A modular converter; D/A modular converter, its input end is connected with forwarding module, for by the first digital signal V in1be converted to analog voltage VIS; Power amplifier module, its first input end is connected with the first output terminal of D/A modular converter, and its output terminal connects the output terminal of numerical control direct current voltage source, for exporting the first digital signal V in1corresponding output voltage V o.
In the present embodiment, numerical control direct current voltage source also comprises: sampling module.Control module, comprising: storage unit, circuit selected cell and computing unit; Wherein: storage unit, for voltage range interval and the corresponding voltage sample coefficient thereof of the sampling module m group voltage sampling circuit that prestores; Selected cell, for according to default output voltage values V oset1 group of voltage sampling circuit corresponding to voltage range interval selection at place, and the sequence number of this voltage sampling circuit is sent to sampling module by forwarding module; Computing unit, for according to output voltage values V osetthe voltage sample coefficient q corresponding with selecteed voltage sampling circuit icalculate (V oset× q i), and be translated into the first digital signal V according to the transformational relation of D/A modular converter in1, m>=1 (wherein, (V oset× q i) be a floating number, and the input of D/A modular converter is 2 ary codes, therefore, before the numerical value of floating number is inputed to D/A modular converter, needs according to it is changed, to adapt to the requirement of D/A modular converter).Sampling module, comprising: voltage sample unit and the first control module; Wherein: voltage sample unit, its control end is connected with the first control module, and its input end is connected with the load of numerical control direct current voltage source, and its output terminal is connected with the second input end of power amplifier module, comprising: n group voltage sampling circuit in parallel; The first control module, is connected with forwarding module, for being communicated with corresponding voltage sampling circuit according to the sequence number of voltage sampling circuit, disconnects the voltage sampling circuit except this voltage sampling circuit simultaneously.
Wherein, sampling module, in voltage sample unit, each group voltage sampling circuit comprises: operator unit, for realizing the output voltage V of numerical control direct current voltage source othe voltage sample coefficient q corresponding with this group voltage sampling circuit iproduct calculation; And switch subelement, with operator units in series, under the control at the first control module, realize connection and the disconnection of this group voltage sampling circuit.For each group voltage sampling circuit G in voltage sample unit i: voltage range pass interval and voltage sample coefficient be voltage range interval be multiplied by the voltage range interval of voltage sample coefficient gained will be in the operating voltage range interval of D/A modular converter.So far, can realize the effect of accurate control output voltage.
In addition,, in order to realize the accurate measurement to numerical control direct current voltage source output current, as shown in Figure 2, numerical control direct current voltage source of the present invention also comprises: electric current gear is selected module.In control module: storage unit, also select module n group electric current gear in parallel to select the range of current interval of circuit for the electric current gear that prestores; Selected cell, also for according to default output current limiting value I lsetselect circuit with 1 group of electric current gear corresponding to range of current interval selection in storage unit, and this group electric current gear is selected the sequence number of circuit be sent to electric current gear selection module by forwarding module.Electric current gear is selected module, between power amplifier module and the load of numerical control direct current voltage source, comprise: the second control module and gear selected cell, wherein: gear selected cell, its control end is connected with the second control module, its input end is connected with the output terminal of power amplifier module, and its output terminal is connected with the load of numerical control direct current voltage source; Comprise: n group electric current gear in parallel is selected circuit, n >=1; The second control module, is connected with forwarding module, selects the electric current gear corresponding to sequence number of circuit to select circuit communication electric current gear for controlling, and selects circuit to disconnect other electric current gears.
In the present embodiment, electric current gear is selected module, and in gear selected cell, each group electric current gear selects circuit to comprise: sampling resistor and switch subelement; Switch subelement is connected with sampling resistor, under the control at the second control module, realizes connection and the disconnection of this group electric current gear selection circuit.Select module for electric current gear, in gear selected cell, each group electric current gear is selected circuit K j: the pass of range of current interval, resistance and current sample coefficient p be range of current interval be multiplied by resistance be multiplied by again the voltage range interval of current sample coefficient gained will be in the operating voltage range interval of A/D modular converter.
In addition,, for general numerical control direct current voltage source, also need to show on PC magnitude of voltage and the output current value of its output.As shown in Figure 2, numerical control direct current voltage source of the present invention also comprises: pressure measurement/flow measurement is selected module and A/D modular converter.Pressure measurement/flow measurement is selected module, and its first port is connected with the output port of described current sampling unit, and its second port is connected with the output port of described voltage sample unit, and its 3rd port is connected to the input port of described A/D modular converter; Under pressure measurement pattern, the second port is connected to the 3rd port, under flow measurement pattern, the first port is connected to the 3rd port.Sampling module comprises: voltage sample unit and current sampling unit.Voltage sample unit, its input end is connected with the load of voltage source, and its output terminal and pressure measurement/flow measurement selects the second port of module to be connected, for by the output voltage signal V collecting fvbe sent to pressure measurement/flow measurement and select module, wherein, V fv=V o× q i, wherein V ofor voltage source output voltage, q ifor voltage sample coefficient corresponding to selecteed voltage sampling circuit.Current sampling unit, its two input end selects the input end of circuit to be connected with output terminal with electric current gear respectively, and its output terminal is connected with the first port of pressure measurement/flow measurement selection module, for by the output current signal V collecting fibe sent to pressure measurement/flow measurement and select module, wherein V fi=I o× R j× p, I ofor voltage source output current, R jfor the interval corresponding sampling resistor of selecteed electric current gear, p is current sample coefficient.A/D modular converter, its input end and pressure measurement/flow measurement selects the 3rd port of module to be connected, under pressure measurement pattern, for by output voltage sampled signal V fvbe converted to digital signal by simulating signal, and this digital signal is sent to control module by forwarding module, control module is converted into floating number according to the transformational relation of A/D modular converter, and this voltage measuring value is shown on PC, under flow measurement pattern, for by output current sampled signal V fibe converted to digital current signal by simulating signal, and this digital current signal is sent to control module by forwarding module, control module is converted into floating number according to the transformational relation of A/D modular converter, and judge that measured current value is whether in selected Current Zone, and carry out following steps according to judged result: if not, and between this Current Zone, not the electric current gear interval of minimum level, select the sequence number of circuit to be sent to the second control module by forwarding module the electric current gear of little one-level and re-start measurement, if or between this Current Zone, be the electric current gear interval of minimum level, this current measurement value is shown on PC.In the time that voltage source is worked, if control module constantly makes analog-to-digital conversion module carry out the measurement of voltage and current, output voltage and output current that can Real-Time Monitoring voltage source.So far, realize measurement and the Presentation Function of output voltage and output current.
Further, for numerical control direct current voltage source of the present invention, also there is the function of overcurrent protection.Fig. 3 is the schematic diagram that the embodiment of the present invention has the numerical control direct current voltage source of overcurrent protection function.As shown in Figure 3, numerical control direct current voltage source of the present invention also comprises: overcurrent protection module.In control module, computing unit, also for calculating (I lset× R j× value p), and be translated into the second digital signal V according to the transformational relation of D/A modular converter in2, then be sent to D/A modular converter by forwarding module, and wherein, R jfor the resistance value in selecteed electric current gear interval; D/A modular converter, for by digital signal V in2be converted to simulation current limliting voltage VIL, and from its second output terminal output; Overcurrent protection module, comprise: the first amplifier unit and the second amplifier unit, wherein, the first amplifier unit, its first input end is connected with the second output terminal of D/A modular converter by the 4th resistance, and be connected with the output terminal of voltage sample unit by the 3rd resistance, its second input end is connected with the output terminal of current sampling unit by the 5th resistance, its output terminal is connected to the first output terminal of D/A modular converter by the first diode, and is connected with its first input end by the 9th resistance; The second amplifier unit, its first input end is connected with the second output terminal of D/A modular converter with phase inverter by the 7th resistance, and be connected with the output terminal of voltage sample unit by the 6th resistance, its second input end is connected with current sampling unit by the 8th resistance, its output terminal is connected to the first output terminal of D/A modular converter by the second diode, and is connected with its first input end by the tenth resistance.
As voltage source output current I o> | I lset| time, the first diode current flow, works as I o<-| I lset| time, the second diode current flow, thereby make output current meet-| I lset| < I o< | I lset|, output current is limited in default current-limiting zone.So far, realize the function of overcurrent protection.
So far, numerical control direct current voltage source of the present invention is introduced complete.Those skilled in the art should understand, and control module is PC, and forwarding module is fpga chip; Or control module comprises: the logic control part of PC and fpga chip, the signal that forwarding module is fpga chip forwards part.Below by a concrete scene, numerical control direct current voltage source of the present invention is described.
If voltage source is preset output voltage values V oset∈ (V 3, V 4], default output current limiting value I lset∈ (I 3, I 4], FPGA makes switch G in voltage sample unit 4closure, makes electric current gear select K switch in module 4closed.
As shown in Figure 3, PC is by (V oset× q 4) be translated into the first digital signal V according to the transformational relation of D/A modular converter in1, and by V in1give FPGA, FPGA controls D/A modular converter by the digital signal V receiving in1convert analog voltage VIS to.VIS is by the first resistance R 1deliver to the first input end of power amplifier, output voltage sampled signal (V o× q 4) by the second resistance R 2deliver to the first input end of power amplifier, the second input end grounding of power amplifier, wherein R 1=R 2therefore, have-V oset× q 4+ V o× q 4=0, i.e. V o=V osetthereby making output voltage constant is default output voltage.So far, realized the function of numerical control direct current voltage source.
PC is by (I lset× R 4× p) be translated into the second digital signal V according to the transformational relation of D/A modular converter in2, and by V in2give FPGA, FPGA controls D/A modular converter by the digital signal V receiving in2convert simulation cut-off current VIL to.Suppose diode D 1, D 2conduction voltage drop be respectively V d1, V d2, have again R 3=R 4=R 5=R 6=R 7=R 8=R 9=R 10, can be obtained by Fig. 3: (V o-V o1) × p-(V o× q 4)-VIL-V d1< VIS < (V o-V o1) × p-(V o× q 4)+VIL+V d2, VIS=-V again oset× q 4=-V o× q 4therefore ,-(VIL+V d2) < (V o-V o1) × p < VIL+V d1, V again o-V o1=I o× R 4, VIL=I lset× R 4× p, therefore - I Lset &times; R 4 &times; p + V D 2 R 4 &times; p < I O < I Lset &times; R 4 &times; p + V D 1 R 4 &times; p . If ignore the conduction voltage drop of diode, have-I lset< I o< I lset, be limited in default current-limiting zone by output current.
In the time carrying out voltage measurement, pressure measurement/flow measurement module the second port is connected with the 3rd port, by output voltage sampled signal (V o× q 4) deliver to A/D modular converter, A/D modular converter is converted to digital signal by voltage sampling signal and is sent to control module, and control module is converted into floating number according to the transformational relation of A/D modular converter, if this floating number is y 4, control module is calculated electric power output voltage and be presented on PC.Due to default output voltage V oset∈ (V 3, V 4], therefore voltage measurement is accurately.Owing to having adopted voltage sample unit, in voltage range (as several millivolts to tens volts) that can be very large, realize the accurate measurement of output voltage.
In the time carrying out current measurement, pressure measurement/flow measurement module the first port is connected with the 3rd port, by output current sampled signal ((V o-V o1) × p) delivered to A/D modular converter, and A/D modular converter is converted to digital signal by current sampling signal and is sent to control module, and control module is converted into floating number according to the transformational relation of A/D modular converter, if this floating number is s 4, K switch again 4closure has I o× R 4=V o-V o1, wherein I ofor output current value, control module can calculate if I o∈ (I 3, I 4], measure and finish, and be presented on PC.If I o≤ I 3, FPGA will be from K 1k nthe electric current gear of the little one-level of middle selection is measured, i.e. K 3closure, has I o× R 3=V o-V o1, A/D modular converter remeasures out output current sampled signal ((V o-V o1the value of) × p), if result is s 3, can calculate if I o∈ (I 2, I 3], to measure so far, control module is presented at measurement result on PC, and makes electric current gear select the K switch in module 3disconnect K 4closed.If I o≤ I 2, FPGA continues from K 1k nthe electric current gear of the less one-level of middle selection is measured, until minimum current gear interval.Owing to having adopted electric current gear to select circuit, in range of current (as several microamperes to several amperes) that can be very large, realize the accurate measurement of output current.
In the time that voltage source is worked, if control module constantly makes A/D modular converter carry out the measurement of voltage and current, output voltage and output current that can Real-Time Monitoring voltage source.
This numerical control direct current voltage source adopts provides reference voltage to export by power amplifier module by D/A again, input end from output voltage sampling feedback to power amplifier module carries out closed-loop control, output voltage can reach tens volts, precision can reach 1 ‰, just can realize bi-directional voltage output without output polarity commutating circuit.In addition, numerical control direct supply provided by the invention also has overcurrent protection function and the measurement Presentation Function to output voltage and electric current.
Part II: Digital Control Direct Current Source
Fig. 4 is the schematic diagram of embodiment of the present invention Digital Control Direct Current Source annexation.As shown in Figure 4, PC and the FPGA PORT COM after by PC is connected, and the parameter preset of current source is passed to after treatment FPGA by the control software on PC, and output voltage values or current value that FPGA measures A/D modular converter are passed to PC.FPGA selects module, sampling module, pressure measurement/flow measurement to select module, A/D modular converter to be connected with D/A modular converter, electric current gear, realizes control and data interaction to them.The digital signal that D/A modular converter is sent FPGA here converts analog voltage to and outputs to power amplifier module and overvoltage protective module.The module of selecting electric current gear realizes the gear of output current and selects.Sampling module is realized the sampling to output voltage and output current, and gives power amplifier module by output current sampled signal and realize constant electric current output; Give the overvoltage crowbar pressure limiting that realization is exported by output voltage and output current sampled signal; Give pressure measurement/flow measurement by output voltage and output current sampled signal and select module, pressure measurement/flow measurement selects module the sampled signal of output voltage or output current to be given to A/D modular converter and realized the measurement of output voltage or output current.
Fig. 5 is the circuit diagram of embodiment of the present invention Digital Control Direct Current Source.Electric current gear is selected K in module 1k ncorresponding different current gear respectively, the range of current of every grade can be set by the control software flexible on PC.Suppose K 1corresponding range of current is [I 1, I 1], K 2corresponding range of current is [I 2,-I 1) and (I 1, I 2], K ncorresponding range of current is [I n,-I n-1) and (I n-1, I n], wherein 0 < I 1< I 2< ... < I n-1< I n.At any time, K 1k nin only have a switch closure, wherein the value of n can be determined according to the scope of output current.G in sampling module 1g mcorresponding different voltage sample coefficient respectively.Suppose G 1corresponding voltage range is [V 1, V 1], voltage sample coefficient is q 1, G 2corresponding voltage range is [V 2,-V 1) and (V 1, V 2], voltage sample coefficient is q 2, G mcorresponding voltage range is [V m,-V m-1) and (V m-1, V m], voltage sample coefficient is q m, wherein 0 < V 1< V 2< ... < V m-1< V m.At any time, G 1g min only have a switch closure, wherein the value of m can be determined according to the scope of output voltage.Pressure measurement/flow measurement is selected in module, in the time that current source is set to pressure measurement, and switch J 2h, L conducting, give A/D modular converter by the sampled signal of output voltage; In the time that current source is set to flow measurement, switch J 2h, M conducting, give A/D modular converter by the sampled signal of output current.Overvoltage crowbar is limited in output voltage within the scope of default pressure limiting.
As shown in Figure 5, the present embodiment Digital Control Direct Current Source comprises: control module, forwarding module, D/A modular converter, power amplifier module and sampling module.Wherein: control module, for generation of the first digital signal V in1, and by the first digital signal V in1be sent to forwarding module; Forwarding module, is connected with control module, for by the first digital signal V in1be forwarded to D/A modular converter; D/A modular converter, its input end is connected with forwarding module, for by the first digital signal V in1switch analog voltages VIS; Power amplifier module, its first input end is connected with the first output terminal of D/A modular converter, and its output terminal connects the output terminal of Digital Control Direct Current Source, for exporting the first digital signal V in1corresponding output current I o.
In the present embodiment, Digital Control Direct Current Source also comprises: electric current gear is selected module and sampling module.Control module, comprising: storage unit, circuit selected cell and computing unit.Wherein: storage unit, select module n group electric current gear in parallel to select range of current interval and the respective resistivity values of circuit for the electric current gear that prestores; Selected cell, for the default output current value I of basis osetselect circuit with 1 group of electric current gear corresponding to range of current interval selection in storage unit, and this group electric current gear is selected the sequence number of circuit be sent to electric current gear selection module by forwarding module; Computing unit, for according to output voltage values I osetwith resistance value R corresponding to selecteed voltage sample module jcalculate (I oset× R j× p), and be translated into digital signal V according to the transformational relation of D/A in1, n>=1, p is current sample coefficient (the wherein, (I of current sampling unit in sampling module oset× R j× p) be a floating number, and the input of D/A modular converter is 2 ary codes, therefore, before the numerical value of floating number is inputed to D/A modular converter, needs according to it is changed, to adapt to the requirement of D/A modular converter).Electric current gear is selected module, between power amplifier module and the load of Digital Control Direct Current Source, comprise: the second control module and gear selected cell, wherein: gear selected cell, its control end is connected with the second control module, its input end is connected with the output terminal of power amplifier module, and its output terminal is connected with the load of Digital Control Direct Current Source; Comprise: n group electric current gear in parallel is selected circuit; The second control module, is connected with forwarding module, selects circuit communication for electric current gear corresponding to sequence number of electric current gear being selected to circuit, selects circuit to disconnect other electric current gears.Sampling module comprises: current sampling unit; Current sampling unit, its two input end selects the input end of circuit to be connected with output terminal with electric current gear respectively, and its output terminal is connected with the second input end of power amplifier module, for by the current signal V collecting fibe sent to the second input end of power amplifier module, wherein V fi=(V o-V o1) × p, V oand V o1be respectively electric current gear and select the input end of circuit and the voltage of output terminal, p is current sample coefficient.
In the present embodiment, electric current gear is selected module, and in gear selected cell, each group electric current gear selects circuit to comprise: sampling resistor and switch subelement; Switch subelement is connected with sampling resistor, under the control at the second control module, realizes connection and the disconnection of this group electric current gear selection circuit.Wherein, select module for electric current gear, in gear selected cell, each group electric current gear is selected circuit K j: the pass of range of current interval, resistance, current sample coefficient be range of current interval be multiplied by resistance be multiplied by again the voltage range interval of current sample coefficient gained will be in the operating voltage range interval of D/A modular converter.So far, to realize the effect of accurate control output current.
In addition, as shown in Figure 5, Digital Control Direct Current Source of the present invention also comprises: sampling module and voltage sample unit.Control module, comprising: storage unit, circuit selected cell and computing unit; Wherein: storage unit, for voltage range interval and the corresponding voltage sample coefficient thereof of the sampling module m group voltage sample module that prestores; Selected cell, for according to default output voltage limiting value V lset1 group of voltage sample module corresponding to voltage range interval selection at place, and the sequence number of this voltage sample module is sent to sampling module by forwarding module.Sampling module, comprising: voltage sample unit and the first control module; Wherein: voltage sample unit, its control end is connected with the first control module, and its input end is connected with the output terminal of Digital Control Direct Current Source, and its output terminal is connected with the second port of pressure measurement/flow measurement module, comprises m group voltage sample module in parallel; The first control module, is connected with forwarding module, for be communicated with corresponding voltage sample module according to the sequence number of voltage sample module, disconnects the voltage sample module except this voltage sample module simultaneously.
In the present embodiment, in voltage sample unit, each group voltage sample module comprises: operator unit, and for realizing the output voltage V of Digital Control Direct Current Source othe product calculation of the voltage sample coefficient corresponding with this group voltage sample module; And switch subelement, with operator units in series, under the control at the first control module, realize connection and the disconnection of this group voltage sample module.For each group voltage sample module G in voltage sample unit i: voltage range pass interval and voltage sample coefficient be voltage range interval be multiplied by the voltage range interval of voltage sample coefficient gained will be in the operating voltage range interval of A/D modular converter.
In addition,, for general Digital Control Direct Current Source, also need to show on PC magnitude of voltage and the output current value of its output.As shown in Figure 5, Digital Control Direct Current Source of the present invention also comprises: pressure measurement/flow measurement is selected module and A/D modular converter.Pressure measurement/flow measurement is selected module, and its first port is connected with the output port of described current sampling unit, and its second port is connected with the output port of described voltage sample unit, and its 3rd port is connected to the input port of described A/D modular converter; Under pressure measurement pattern, the second port is connected to the 3rd port, under flow measurement pattern, the first port is connected to the 3rd port.Sampling module comprises: voltage sample unit and current sampling unit.Voltage sample unit, its input end is connected with the load of current source, and its output terminal and pressure measurement/flow measurement selects the second port of module to be connected, for by the output voltage signal V collecting fvbe sent to pressure measurement/flow measurement and select module, wherein, V fv=V o× q i, wherein V ofor current source output voltage, q ifor voltage sample coefficient corresponding to selecteed voltage sample module.Current sampling unit, its two input end selects the input end of circuit to be connected with output terminal with electric current gear respectively, and its output terminal is connected with the first port of pressure measurement/flow measurement selection module, for by the output current signal V collecting fibe sent to pressure measurement/flow measurement and select module, wherein V fi=I o× R j× p, I ofor current source output current, R jfor the interval corresponding sampling resistor of selecteed electric current gear, p is current sample coefficient.A/D modular converter, its input end and pressure measurement/flow measurement selects the 3rd port of module to be connected, under flow measurement pattern, for by output current sampled signal V fibe converted to digital signal by simulating signal, and this digital signal is sent to control module by forwarding module, control module is converted into floating number according to the transformational relation of A/D modular converter, and this current measurement value is shown on PC, under pressure measurement pattern, for by output voltage sampled signal V fvbe converted to digital voltage signal by simulating signal, and this digital voltage signal is sent to control module by forwarding module, control module is converted into floating number according to the transformational relation of A/D modular converter, and judge that measured magnitude of voltage is whether in selected voltage range interval, and carry out following steps according to judged result: if not, and the voltage range interval that this voltage range interval is not minimum level, the sequence number in the voltage range interval of little one-level is sent to the first control module by forwarding module and re-starts measurement, if or the voltage range interval that is minimum level, this voltage range interval, this voltage measuring value is shown on PC.In the time that current source is worked, if control module constantly makes analog-to-digital conversion module carry out the measurement of voltage and current, output voltage and output current that can Real-Time Monitoring current source.So far, realize measurement and the Presentation Function to output voltage and output current.Owing to having adopted voltage sample unit, in voltage range (as several millivolts to tens volts) that can be very large, realize the accurate measurement of output voltage.Meanwhile, owing to having adopted electric current gear to select circuit, in range of current (as several microamperes to several amperes) that can be very large, realize the accurate measurement of output current.
Further, for Digital Control Direct Current Source of the present invention, also there is the function of overvoltage protection.Fig. 6 is the circuit diagram that the embodiment of the present invention has the Digital Control Direct Current Source of overvoltage protective module.As shown in Figure 6, Digital Control Direct Current Source of the present invention also comprises: overvoltage protective module.In control module, computing unit, also for calculating (V lset× q i) value, and be translated into the second digital signal V according to the transformational relation of D/A modular converter in2, then be sent to D/A modular converter by forwarding module, and wherein, q ifor the interval corresponding voltage sample coefficient of selecteed voltage range; D/A modular converter, for by the second digital signal V in2be converted to simulation voltage limiting value VIL, and from its second output terminal output; Overvoltage protective module, comprise: the first amplifier unit and the second amplifier unit, wherein, the first amplifier unit, its first input end is connected with the second output terminal of D/A modular converter by the 4th resistance, and be connected with the output terminal of current sampling unit by the 3rd resistance, its second input end is connected with the output terminal of voltage sample unit by the 5th resistance, its output terminal is connected to the first output terminal of D/A modular converter by the first diode, and is connected with its first input end by the 9th resistance; The second amplifier unit, its first input end is connected with the second output terminal of D/A modular converter with phase inverter by the 7th resistance, and be connected with the output terminal of current sampling unit by the 6th resistance, its second input end is connected with voltage sample unit by the 8th resistance, its output terminal is connected to the first output terminal of D/A modular converter by the second diode, and is connected with its first input end by the tenth resistance.
When current source output voltage V o> | V lset| time, the first diode current flow, works as V o<-| V lset| time, the second diode current flow, thereby make output current meet-| V lset| < V o< | V lset|, output voltage is limited within the scope of default pressure limiting.So far, realize the function of overvoltage protection.
So far, Digital Control Direct Current Source of the present invention is introduced complete.Those skilled in the art should understand, and control module is PC, and forwarding module is fpga chip; Or control module comprises: the logic control part of PC and fpga chip, the signal that forwarding module is fpga chip forwards part.Below by a concrete scene, Digital Control Direct Current Source of the present invention is described.
As shown in Figure 6, if the default output current value I of current source oset∈ (I 5, I 6], default output voltage limiting value V lset∈ (V 4, V 5] time, FPGA makes electric current gear select K switch 6 closures in module, makes switch G in voltage sample module 5closed.
As shown in Figure 6, PC is by (I oset× R 6× p) be converted into the first digital signal V according to the transformational relation of D/A modular converter in1, and by V in1give FPGA, FPGA controls D/A modular converter by the digital signal V receiving in1convert analog voltage VIS to.VIS is by the first resistance R 1deliver to the first input end of power amplifier, output current sampled signal ((V o-V o1) × p) is by the second resistance R 2deliver to the first input end of power amplifier, the second input end grounding of power amplifier, wherein R 1=R 2therefore, have-I oset× R 6× p+ (V o-V o1) × p=0, again K switch 6closure has V o-V o1=I o× R 6, i.e. I o=I osetthereby making constant output current is default output current.So far, realized the function of Digital Control Direct Current Source.
PC is by (V lset× q 5) be translated into the second digital signal V according to the transformational relation of D/A modular converter in2, and by V in2give FPGA, FPGA controls D/A modular converter by the digital signal V receiving in2convert simulation cut-off current VIL to.Suppose diode D 1, D 2conduction voltage drop be respectively V d1, V d2, have again R 3=R 4=R 5=R 6=R 7=R 8=R 9=R 10, can be obtained by Fig. 6: V o× q 5-(V o-V o1) × p-VIL-V d1< VIS < V o× q5 -(V o-V o1) × p+VIL+V d2, VIS=-I again oset× R 6× p=-I o× R 6× p=-(V o-V o1) × p, therefore-(VIL+V d2) < V o× q 5< VIL+V d1, VIL=V again lset× q 5therefore, if ignore the conduction voltage drop of diode, have-V lset< V o< V lsey, be limited within the scope of default pressure limiting by output voltage.
In the time carrying out current measurement, pressure measurement/flow measurement selects module the first port to be connected with the 3rd port, by output current sampled signal ((V o-V o1) × p) delivered to A/D modular converter, and A/D modular converter is converted to digital signal by current sampling signal and is sent to control module, and control module is converted into floating number according to the transformational relation of A/D modular converter, if this floating number is s 6, K switch again 6closure has I o× R 6=V o-V o1, wherein I ofor output current value, control module can calculate and be presented on PC.Due to default output current I oset∈ (I 5, I 6], therefore current measurement is accurately.
In the time carrying out voltage measurement, pressure measurement/flow measurement module the second port is connected with the 3rd port, by output voltage sampled signal (V o× q 5) deliver to A/D modular converter, A/D modular converter is converted to digital signal by voltage sampling signal and is sent to control module, and control module is converted into floating number according to the transformational relation of A/D modular converter, if this floating number is y 5, control module is calculated current source output voltage if V o∈ (V 4, V 5], measure and finish, and be presented on PC.If V o≤ V 4, FPGA will be from G 1g mthe voltage range interval of the little one-level of middle selection is measured, i.e. G 4closure, A/D modular converter remeasures out output voltage sampled signal (V o× q 4) value, if result is y 4, can calculate if V o∈ (V 3, V 4], to measure so far, control module is presented at measurement result on PC, and makes the switch G in voltage sample unit 4disconnect G 5closed.If V o≤ V 3, FPGA continues from G 1g mthe voltage range interval of the little one-level of middle selection is measured, until minimum voltage scope interval.So far, realized the Measurement accuracy to output voltage in Digital Control Direct Current Source.
In the time that current source is worked, if control module constantly makes A/D modular converter carry out the measurement of voltage and current, output voltage and output current that can Real-Time Monitoring current source.
This Digital Control Direct Current Source adopts provides voltage directly to export by power amplifier module by D/A modular converter again, carries out FEEDBACK CONTROL from output current sampling, and output current can be from several microamperes to several amperes, and precision can reach 1 ‰, and can realize bidirectional current output.In addition, numerical control direct supply provided by the invention also has over-voltage protecting function and the measurement to output current and output voltage and Presentation Function.
Part III: numerical control direct supply
Fig. 7 is the schematic diagram of embodiment of the present invention numerical control direct supply annexation.As shown in Figure 7, PC and the FPGA PORT COM after by PC is connected, and the parameter preset of power supply is passed to after treatment FPGA by the control software on PC, and output voltage values or current value that FPGA measures A/D modular converter are passed to PC.FPGA selects module, sampling module, mode selection module, A/D modular converter to be connected with D/A modular converter, electric current gear, realizes control and data interaction to them.The digital signal that D/A modular converter is sent FPGA here converts analog voltage to and outputs to power amplifier module and overvoltage/overcurrent protection module.The module of selecting electric current gear realizes the gear of output current and selects.Sampling module is realized the sampling to output voltage and output current, and sampled result is sent to mode selection module.The sampled signal of output voltage is given power amplifier module by mode selection module, realizes the selection of voltage source; The sampled signal of output current is given power amplifier module by mode selection module, realizes the selection of current source; Mode selection module is given overvoltage/overcurrent protection module by the sampled signal of output voltage and output current and is realized pressure limiting or the current limliting exported; Mode selection module is given A/D modular converter by the sampled signal of output voltage or output current and is realized the measurement to output voltage or output current.A/D modular converter converts the sampled signal of output voltage or output current to digital signal and gives FPGA.Power amplifier module and D/A modular converter, electric current gear select module, mode selection module, overvoltage/overcurrent protection module to be connected, are default output voltage or are default output current by constant output current constant output voltage.
Fig. 8 is the circuit diagram of embodiment of the present invention numerical control direct supply.Electric current gear is selected K in module 1k ncorresponding different current gear respectively, the range of current of every grade can be set by the control software flexible on PC.Suppose that the range of current that K1 is corresponding is [I 1, I 1], K 2corresponding range of current is [I 2,-I 1) and (I 1, I 2], K ncorresponding range of current is [I n,-I n-1) and (I n-1, I n], wherein 0 < I 1< I 2< ... < I n-1< I n.At any time, K 1k nin only have a switch closure, wherein the value of n can be determined according to the scope of output current.G in sampling module 1g mcorresponding different voltage sample coefficient respectively.Suppose G 1corresponding voltage range is [V 1, V 1], voltage sample coefficient is q 1, G 2corresponding voltage range is [V 2,-V 1) and (V 1, V 2], voltage sample coefficient is q 2, G mcorresponding voltage range is [V m,-V m-1) and (V m-1, V m], voltage sample coefficient is q m, wherein 0 < V 1< V 2< ... < V m-1< V m.At any time, G 1g min only have a switch closure, wherein the value of m can be determined according to the scope of output voltage.In mode selection module, in the time that power mode is set to voltage source, switch J 1e, C conducting, give power amplifier module and overvoltage/overcurrent protection module by the sampled signal of output voltage, simultaneously F, D conducting, deliver to overvoltage/overcurrent protection module by the sampled signal of output current; In the time that power mode is set to current source, switch J 1e, A conducting, give power amplifier module and overvoltage/overcurrent protection module by the sampled signal of output current, simultaneously F, B conducting, deliver to overvoltage/overcurrent protection module by the sampled signal of output voltage; In the time that power mode is set to pressure measurement, switch J 2h, L conducting, give A/D modular converter by the sampled signal of output voltage; In the time that power mode is set to flow measurement, switch J 2h, M conducting, give A/D modular converter by the sampled signal of output current.
As shown in Figure 8, the present embodiment numerical control direct supply comprises: control module, forwarding module, D/A modular converter, power amplifier module, electric current gear are selected module, sampling module and mode selection module.Wherein: control module, for generation of the first digital signal V in1, and by the first digital signal V in1be sent to forwarding module.Forwarding module, is connected with control module, for by the first digital signal V in1be forwarded to D/A modular converter.D/A modular converter, its input end is connected with forwarding module, for by the first digital signal V in1be converted to analog voltage VIS.Power amplifier module, its first input end is connected with the first output terminal of D/A modular converter.Electric current gear is selected module, and its input end is connected with power amplifier module, and its output terminal is connected with the load of numerical control direct supply, for exporting the first digital signal V in1corresponding output voltage V oor output current I o.Sampling module comprises current sampling unit and voltage sample unit, and wherein, two input ends of current sampling unit select the input end of module to be connected with output terminal with electric current gear respectively, and its output terminal is connected to the first port of mode selection module; The input end of voltage sample unit is connected with the load of power supply, and its output terminal is connected to the second port of mode selection module.Mode selection module, its 3rd port is connected to the second input port of power amplifier module, under voltage source mode of operation, the second port is connected to the 3rd port, under current source mode of operation, the first port is connected to the 3rd port.
The present invention also provides the numerical control direct supply with overvoltage/overcurrent protection module.Overvoltage/overcurrent protection module, comprising: the first amplifier unit and the second amplifier unit, wherein:
The first amplifier unit, its first input end is connected with the second output terminal of D/A modular converter by the 4th resistance, and be connected with the 3rd port of described mode selection module by the 3rd resistance, its second input end is connected with the 4th port of described mode selection module by the 5th resistance, its output terminal is connected to the first output terminal of D/A modular converter by the first diode, and is connected with its first input end by the 9th resistance;
The second amplifier unit, its first input end is connected with the second output terminal of D/A modular converter with phase inverter by the 7th resistance, and be connected with the 3rd port of described mode selection module by the 6th resistance, its second input end is connected with the 4th port of described mode selection module by the 8th resistance, its output terminal is connected to the first output terminal of described D/A modular converter by the second diode, and is connected with its first input end by the tenth resistance.
Described mode selection module, its first port is connected with the output terminal of described current sampling unit, its second port is connected with the output terminal of described voltage sample unit, under voltage source mode of operation, described the second port is connected to described the 3rd port, described the first port is connected to described the 4th port simultaneously; Under current source mode of operation, described the first port is connected to described the 3rd port, described the second port is connected to described the 4th port simultaneously.
Visible, as long as corresponding signal in pattern modular converter is connected, in conjunction with the first amplifier unit in overvoltage/overcurrent protection module and the second amplifier unit, just can realize the function of overvoltage/overcurrent protection.Wherein, having the numerical control direct current voltage source of overcurrent protection can be with reference to Fig. 3.The Digital Control Direct Current Source with overvoltage protection can be with reference to Fig. 6.So far, the present embodiment numerical control direct supply is introduced complete, realizes the detail of voltage source and current source as for the present embodiment numerical control direct supply, can, with reference to the embodiment of the voltage source of above-mentioned Part I and Part II and current source, no longer repeat herein.
In addition, for power supply, the voltage source of Part I and the current source of Part II of this part, for described each group voltage sampling circuit G i, described voltage range pass interval and voltage sample coefficient is: the voltage range interval of voltage sample coefficient gained is multiplied by voltage range interval will be in the operating voltage range interval of D/A modular converter and A/D modular converter.
For example: the analog output voltage scope of selected D/A modular converter is [10V, 10V], the analog input voltage scope of selected A/D modular converter is [10V, 10V], voltage range interval [0.9V, 0.9V] corresponding voltage sample coefficient is 10, voltage range interval [9V,-0.9V] and [0.9V, 9V] corresponding voltage sample coefficient is 1, voltage range interval [27V ,-9V] and [9V, 27V] corresponding voltage sample coefficient is 1/3, the scope that voltage sample coefficient is multiplied by voltage range interval is so in the operating voltage range interval of A/D and D/A.
In like manner, select circuit K for described each group electric current gear j: the pass of described range of current interval, described resistance, current sample coefficient be range of current interval be multiplied by resistance be multiplied by again the voltage range interval of current sample coefficient gained will be in the operating voltage range interval of D/A modular converter and A/D modular converter.
For example: the analog output voltage scope of selected D/A modular converter is [10V, 10V], the analog input voltage scope of selected A/D modular converter is [10V, 10V], current sample coefficient p equals 10, range of current interval [9uA, 9uA] corresponding resistance is 100K Ω, range of current interval [90uA,-9uA] and [9uA, 90uA] corresponding resistance is 10K Ω, range of current interval [900uA,-90uA] and [90uA, 900uA] corresponding resistance is 1K Ω, range of current interval [9mA,-900uA] and [900uA, 9mA] corresponding resistance is 100 Ω, range of current interval [90mA,-9mA] and [9mA, 90mA] corresponding resistance is 10 Ω, range of current interval [900mA,-90mA] and [90mA, 900mA] corresponding resistance is 1 Ω, range of current is multiplied by corresponding resistor to be multiplied by current sample coefficient is [9V again so,-0.9V] and [0.9V, 9V], in the operating voltage range interval of A/D and D/A.
Numerical control direct current power acquisition provided by the invention is used by D/A modular converter and is provided reference voltage to export by power amplifier module again, carry out closed-loop control from output sampling feedback to the input end of power amplifier module, output voltage can be from several millivolts to tens volts, electric current can be from several microamperes to several amperes, precision can reach 1 ‰, just can realize bi-directional voltage output and bidirectional current output without output polarity commutating circuit.In addition, numerical control direct supply provided by the invention also has overvoltage/overcurrent protection function and the measurement Presentation Function to output voltage and electric current.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any amendment of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. a numerical control direct supply, is characterized in that, comprising: control module, forwarding module, D/A modular converter, power amplifier module, electric current gear are selected module, sampling module and mode selection module, wherein:
Described control module, for generation of the first digital signal V in1, and by described the first digital signal V in1be sent to described forwarding module;
Described forwarding module, is connected with described control module, for by described the first digital signal V in1be forwarded to D/A modular converter;
Described D/A modular converter, its input end is connected with described forwarding module, for by described the first digital signal V in1be converted to analog voltage VIS;
Described power amplifier module, its first input end is connected with the first output terminal of described D/A modular converter;
Described electric current gear is selected module, and its input end is connected with the output terminal of described power amplifier module, and its output terminal is connected with the load of described numerical control direct supply, for exporting described the first digital signal V in1corresponding output voltage V oor output current I o;
Described sampling module comprises current sampling unit and voltage sample unit, wherein:
Two input ends of described current sampling unit select the input end of module to be connected with output terminal with described electric current gear respectively, and its output terminal is connected to the first port of mode selection module;
The input end of described voltage sample unit is connected with the load of described numerical control direct supply, and its output terminal is connected to the second port of described mode selection module;
Described mode selection module, its 3rd port is connected to the second input port of described power amplifier module, under voltage source mode of operation, described the second port is connected to described the 3rd port; Under current source mode of operation, described the first port is connected to described the 3rd port.
2. numerical control direct supply according to claim 1, is characterized in that,
Described control module, comprising: storage unit, circuit selected cell and computing unit; Wherein:
Described storage unit, for voltage range interval and the corresponding voltage sample coefficient thereof of the described sampling module m group voltage sampling circuit that prestores, described m >=1; Also select module n group electric current gear in parallel to select range of current interval and the respective resistivity values of circuit, described n >=1 for the described electric current gear that prestores;
Under voltage source mode of operation, described selected cell, for according to default output voltage values V oset1 group of voltage sampling circuit corresponding to voltage range interval selection at place, and the sequence number of this voltage sampling circuit is sent to described sampling module by described forwarding module; Described computing unit, for calculating (V oset× q i) value, wherein said q ifor voltage sample coefficient corresponding to selecteed voltage sampling circuit, and be converted into described the first digital signal V in1, described 1≤i≤m;
Under current source mode of operation, described selected cell, for the default output current value I of basis osetselect circuit with 1 group of electric current gear corresponding to range of current interval selection in described storage unit, and this group electric current gear is selected the sequence number of circuit be sent to described electric current gear selection module by forwarding module; Described computing unit, for calculating (I oset× R j× p) value, wherein, R jselect resistance value corresponding to circuit for selecteed electric current gear, p is current sample coefficient, and is converted into described the first digital signal V in1, described 1≤j≤n; Described electric current gear is selected module, between described power amplifier module and the load of described numerical control direct supply, comprising: the second control module and gear selected cell, wherein:
Described gear selected cell, its control end is connected with described the second control module, and its input end is connected with the output terminal of described power amplifier module, and its output terminal is connected with the load of numerical control direct supply; Comprise: n group electric current gear in parallel is selected circuit;
The second control module, is connected with described forwarding module, selects circuit communication for electric current gear corresponding to sequence number of electric current gear being selected to circuit, selects circuit to disconnect other electric current gears;
Described sampling module also comprises: the first control module, wherein:
Described voltage sample unit, its control end is connected with described the first control module, comprises the m group voltage sampling circuit of described parallel connection;
Described the first control module, is connected with described forwarding module, for being communicated with corresponding voltage sampling circuit according to the sequence number of described voltage sampling circuit, disconnects the voltage sampling circuit except this voltage sampling circuit simultaneously;
Described current sampling unit, for by the output current signal V collecting fibe sent to the first port of described mode selection module, wherein V fi=(V o-V o1) × p, V oand V o1be respectively electric current gear and select the output terminal of circuit and the voltage of input end, p is current sample coefficient.
3. numerical control direct supply according to claim 2, is characterized in that,
In described sampling module, in described voltage sample unit, each group voltage sampling circuit comprises:
Operator unit, for realizing the output end voltage V of electric current gear selection circuit othe product calculation of the voltage sample coefficient corresponding with this group voltage sampling circuit; And
Switch subelement, with described operator units in series, under the control at described the first control module, realizes connection and the disconnection of this group voltage sampling circuit;
Described electric current gear is selected in module, and in described gear selected cell, each group electric current gear selects circuit to comprise:
Sampling resistor; And
Switch subelement, connects with described sampling resistor, under the control at described the second control module, realizes connection and the disconnection of this group electric current gear selection circuit.
4. numerical control direct supply according to claim 3, is characterized in that,
For described each group voltage sampling circuit G i, described voltage range pass interval and voltage sample coefficient is: the voltage range interval of voltage sample coefficient gained is multiplied by voltage range interval will be in the operating voltage range interval of D/A modular converter;
Select circuit K for described each group electric current gear j, the pass of described range of current interval, resistance and current sample coefficient be range of current interval be multiplied by resistance be multiplied by again the voltage range interval of current sample coefficient gained will be in the operating voltage range interval of D/A modular converter.
5. numerical control direct supply according to claim 4, is characterized in that, under flow measurement pattern, also comprises: A/D modular converter, and its output terminal is connected to forwarding module;
Described mode selection module, its five-port is connected to the input end of described A/D modular converter, and its first port is connected to described five-port;
Described A/D modular converter, for the analog voltage signal of input is converted to digital voltage signal, and is sent to described control module by described digital voltage signal by forwarding module;
Described control module, for the digital current signal returning from A/D modular converter being converted to floating number according to the transformational relation of A/D modular converter, and judge that measured value is whether in selected Current Zone, and carry out following steps according to judged result: if not, and between this Current Zone, not the electric current gear interval of minimum level, select the sequence number of circuit to be sent to the second control module by forwarding module the electric current gear of little one-level and re-start measurement, if or between this Current Zone, be the electric current gear interval of minimum level, this measurement result is shown.
6. numerical control direct supply according to claim 4, is characterized in that, under pressure measurement pattern, also comprises: A/D modular converter, and its output terminal is connected to forwarding module;
Described mode selection module, its five-port is connected to the input end of described A/D modular converter, and its second port is connected to described five-port;
Described A/D modular converter, for the analog voltage signal of input is converted to digital voltage signal, and is sent to described control module by described digital voltage signal by forwarding module;
Described control module, for the digital voltage signal returning from A/D modular converter being converted to floating number according to the transformational relation of A/D modular converter, and judge that measured value is whether in selected voltage range interval, and carry out following steps according to judged result: if not, and the voltage range interval that this voltage range interval is not minimum level, the sequence number of the voltage sampling circuit of little one-level is sent to the first control module by forwarding module and re-starts measurement, if or the voltage range interval that is minimum level, this voltage range interval, this measurement result is shown.
7. according to the numerical control direct supply described in claim 5 or 6, it is characterized in that,
For described each group voltage sampling circuit G i, described voltage range pass interval and voltage sample coefficient is: the voltage range interval of voltage sample coefficient gained is multiplied by voltage range interval will be in the operating voltage range interval of A/D modular converter;
Select circuit K for described each group electric current gear j, the pass of described range of current interval, resistance and current sample coefficient be range of current interval be multiplied by resistance be multiplied by again the voltage range interval of current sample coefficient gained will be in the operating voltage range interval of A/D modular converter.
8. numerical control direct supply according to claim 7, is characterized in that, also comprises: overvoltage/overcurrent protection module, and with described sampling module, power amplifier module is connected with D/A modular converter, comprising: the first amplifier unit and the second amplifier unit, wherein:
The first amplifier unit, its first input end is connected with the second output terminal of D/A modular converter by the 4th resistance, and be connected with the 3rd port of described mode selection module by the 3rd resistance, its second input end is connected with the 4th port of described mode selection module by the 5th resistance, its output terminal is connected to the first output terminal of D/A modular converter by the first diode, and is connected with its first input end by the 9th resistance;
The second amplifier unit, its first input end is connected with the second output terminal of D/A modular converter with phase inverter by the 7th resistance, and be connected with the 3rd port of described mode selection module by the 6th resistance, its second input end is connected with the 4th port of described mode selection module by the 8th resistance, its output terminal is connected to the first output terminal of described D/A modular converter by the second diode, and is connected with its first input end by the tenth resistance;
Described mode selection module, its first port is connected with the output terminal of described current sampling unit, its second port is connected with the output terminal of described voltage sample unit, under voltage source mode of operation, described the second port is connected to described the 3rd port, described the first port is connected to described the 4th port simultaneously; Under current source mode of operation, described the first port is connected to described the 3rd port, described the second port is connected to described the 4th port simultaneously.
CN201210018274.4A 2012-01-20 2012-01-20 Numerical-control direct-current power source Active CN103217999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210018274.4A CN103217999B (en) 2012-01-20 2012-01-20 Numerical-control direct-current power source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210018274.4A CN103217999B (en) 2012-01-20 2012-01-20 Numerical-control direct-current power source

Publications (2)

Publication Number Publication Date
CN103217999A CN103217999A (en) 2013-07-24
CN103217999B true CN103217999B (en) 2014-10-15

Family

ID=48815895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210018274.4A Active CN103217999B (en) 2012-01-20 2012-01-20 Numerical-control direct-current power source

Country Status (1)

Country Link
CN (1) CN103217999B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677051B (en) * 2013-12-30 2015-11-18 上海贝岭股份有限公司 A kind of reference source circuit
US10333302B2 (en) 2014-06-30 2019-06-25 Skyworks Solutions, Inc. Circuits, devices and methods for selecting voltage sources
CN105446409B (en) * 2015-10-27 2017-04-26 中国电子科技集团公司第四十一研究所 Method for calibrating power supply and tuning power supply unit
CN105468068B (en) * 2015-11-25 2017-06-27 广东工业大学 The extraordinary constant-current source and its control method of a kind of semi-conducting material high temperature thermoelectric performance measurement
CN107272805B (en) * 2017-07-27 2018-11-23 中科亿海微电子科技(苏州)有限公司 Digital Control Direct Current Source
CN108712077B (en) * 2018-05-29 2019-09-24 中国科学院武汉物理与数学研究所 A kind of low drifting low noise high direct voltage output circuit
CN110687956B (en) * 2019-08-23 2021-06-04 深圳市精泰达科技有限公司 Programmable output power module
CN110928349A (en) * 2019-11-12 2020-03-27 无锡天芯互联科技有限公司 Power supply adjusting device
CN113849027B (en) * 2021-09-30 2023-12-01 深圳安吉尔饮水产业集团有限公司 Gear adjusting current source circuit
CN114280360A (en) * 2021-12-24 2022-04-05 紫光展讯通信(惠州)有限公司 Current measurement circuit and current measurement method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5221890A (en) * 1992-03-16 1993-06-22 Sierra Semiconductor Corporation Reference generator
US7511465B2 (en) * 2005-03-31 2009-03-31 Silicon Laboratories Inc. Digital pulse width modulated power supply with variable LSB
CN201788434U (en) * 2009-10-19 2011-04-06 株洲南车时代电气股份有限公司 Multipath bidirectional digital controlled constant current source

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5221890A (en) * 1992-03-16 1993-06-22 Sierra Semiconductor Corporation Reference generator
US7511465B2 (en) * 2005-03-31 2009-03-31 Silicon Laboratories Inc. Digital pulse width modulated power supply with variable LSB
CN201788434U (en) * 2009-10-19 2011-04-06 株洲南车时代电气股份有限公司 Multipath bidirectional digital controlled constant current source

Also Published As

Publication number Publication date
CN103217999A (en) 2013-07-24

Similar Documents

Publication Publication Date Title
CN103217999B (en) Numerical-control direct-current power source
CN103026626B (en) Multi-input circuit
CN103218000B (en) Numerical-control direct-current current source
CN103218004B (en) Numerical-control direct-current voltage source
CN103605396A (en) Converter output current processing circuit and converter output current processing method
CN102223089B (en) Large-scope linearly-adjusted high-precision high voltage circuit
CN110297169A (en) A kind of 10kV metal oxide arrester integrated experiment device
CN103792445A (en) Fully intelligent electric power overcurrent protection tester
CN102520696B (en) Apparatus for realizing automatic channel switching control of large dam monitoring apparatus collective line box and method thereof
WO2005067381A2 (en) Digitally controlled power supply
CN202330558U (en) Three-channel direct current resistance tester
CN103616544A (en) Intelligent control device for measurement of positive-sequence parameter and zero-sequence parameter of high-tension power transmission line
CN112953171B (en) High-precision power supply based on direct-current resistance measurement and implementation method thereof
CN201045626Y (en) Full electronic source type mutual inductor rapid testing apparatus
CN203963225U (en) Intelligent valve positioner controller
CN108663592A (en) It is a kind of to towed SVG modular debuggings platform and method
CN210427782U (en) Collect multiple calibration function in electric type tester calibrating device of an organic whole
CN211603344U (en) Direct current resistance and open short circuit testing device
CN201259531Y (en) Magnetic characteristic detection and test apparatus for circuit breaker
CN2932402Y (en) Host/slave module equipment of DC electronic loader
CN202372845U (en) Device for achieving changing-over control of automatic channels of dam monitoring instrument line centralizing box
CN208350911U (en) A kind of pair of towed SVG modular debugging platform
KR101023106B1 (en) Tap position indicator
RU100285U1 (en) ELECTRIC ENERGY METER
CN114236226B (en) Voltage measuring circuit

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