CN113485506B - Voltage current generator, generating method and generator application system - Google Patents
Voltage current generator, generating method and generator application system Download PDFInfo
- Publication number
- CN113485506B CN113485506B CN202110762641.0A CN202110762641A CN113485506B CN 113485506 B CN113485506 B CN 113485506B CN 202110762641 A CN202110762641 A CN 202110762641A CN 113485506 B CN113485506 B CN 113485506B
- Authority
- CN
- China
- Prior art keywords
- voltage
- resistor
- circuit
- digital
- composite circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05F—SYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
- G05F1/00—Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
- G05F1/10—Regulating voltage or current
- G05F1/46—Regulating voltage or current wherein the variable actually regulated by the final control device is dc
- G05F1/56—Regulating voltage or current wherein the variable actually regulated by the final control device is dc using semiconductor devices in series with the load as final control devices
- G05F1/561—Voltage to current converters
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Automation & Control Theory (AREA)
- Amplifiers (AREA)
Abstract
The generator comprises a control module, a digital-to-analog conversion module, a reverse amplification composite circuit, an analog switch and a mos tube switch circuit, wherein the control module transmits a digital signal to the digital-to-analog conversion module, the digital-to-analog conversion module transmits voltage to the reverse amplification composite circuit based on the digital signal, and the reverse amplification composite circuit outputs output voltage based on input voltage. The analog switch and the mos tube switch circuit respectively acquire pulse signals transmitted by the control module, and the structure and parameters of the reverse amplification composite circuit are changed to realize the change of the output voltage. The output voltage value of the reverse amplification composite circuit can be changed through the control module, and convenience and rapidness are achieved. The method and the device have the effects of conveniently and flexibly and accurately controlling the output value of the voltage current generator and improving the control precision of the working voltage or the working current of the load.
Description
Technical Field
The invention relates to the field of voltage and current control, in particular to a voltage and current generator, a generating method and a generator application system.
Background
The voltage current generator is an instrument capable of outputting voltage or current, and is widely applied to the field of power supply. For a precision instrument which needs voltage or current to drive, the magnitude of the voltage or current output by the voltage current generator is very important, and the working precision and the working efficiency of the precision instrument are influenced. Therefore, it is important to accurately control the output voltage or current of the voltage current generator.
In the related art voltage current generator, there are two ways to control the output voltage or current. One is a digital mode controlled by a digital-to-analog converter, the digital-to-analog converter is connected with an MCU controller, the MCU controller transmits a digital signal to the digital-to-analog converter, and the digital-to-analog converter outputs an output voltage or an output current based on the digital signal.
The other is a pure analog integrating circuit, a voltage source is arranged to provide input voltage for an operational amplifier in the integrating circuit, and the operational amplifier amplifies the input voltage and outputs output voltage.
In view of the above-mentioned related art, the inventor believes that the linearity of the output voltage output by the digital-to-analog converter is reduced due to the inherent integral nonlinearity and differential nonlinearity of the digital-to-analog converter, which affects the control accuracy of the output voltage; the output voltage of the integrating circuit has good linearity, but the magnitude of the output voltage is limited by the voltage source and is difficult to change. Therefore, neither the digital-to-analog converter nor the integrating circuit can control the output voltage or the output current more flexibly and accurately.
Disclosure of Invention
In order to conveniently and flexibly and accurately control the output value of the voltage current generator, the invention provides the voltage current generator, a generating method and a generator application system.
In a first aspect, the present application provides a voltage current generator, which adopts the following technical solutions:
a voltage current generator comprises a control module, a digital-to-analog conversion module, a reverse amplification composite circuit, an analog switch and a mos tube switch circuit;
the control module is connected with the digital-to-analog conversion module, the analog switch and the mos tube switch circuit and is used for transmitting a digital signal to the digital-to-analog conversion module, a first pulse signal to the analog switch and a second pulse signal to the mos tube switch circuit;
the output end of the digital-to-analog conversion module is connected with the input end of the reverse amplification composite circuit and is used for transmitting input voltage to the non-inverting input end and/or the reverse input end of the reverse amplification composite circuit based on digital signals;
the analog switch is connected with the reverse amplification composite circuit and used for switching the reverse amplification composite circuit into an inverting amplification circuit or an integrating circuit based on a first pulse signal;
the voltage input end of the mos tube switching circuit is connected with the non-inverting input end of the reverse amplification composite circuit, and the voltage output end of the mos tube switching circuit is grounded and used for switching on or switching off the voltage input end and the voltage output end based on a second pulse signal;
and the voltage output end of the reverse amplification composite circuit is used for being connected with a load circuit.
By adopting the technical scheme, the control module transmits a digital signal to the digital-to-analog conversion module, the digital-to-analog conversion module converts the digital signal into an analog voltage signal and transmits the analog voltage signal to the non-inverting input end and/or the inverting input end of the inverting amplification composite circuit; the reverse amplification composite circuit outputs voltage based on the voltage values of the non-inverting input end and the inverting input end; the digital-analog combination is realized, the advantage that the digital-analog conversion module is easy to control and the advantage that the reverse amplification composite circuit is stable in performance are conveniently utilized, and the output value of the voltage current generator is flexibly and accurately controlled.
The Mos tube switching circuit and the analog switch are controlled by pulse signals, the output value of the reverse amplification composite circuit and the duration time of each output value are changed, and the control flexibility of the output value of the voltage current generator is further improved.
The reverse amplification composite circuit is switched between the reverse amplification circuit and the integration circuit based on the control of the analog switch, so that the reverse amplification composite circuit can output various types and sizes of output values conveniently.
Optionally, an output end of the digital-to-analog conversion module is connected to a non-inverting input end of the inverting amplification composite circuit, and is configured to transmit an input voltage to the non-inverting input end of the inverting amplification composite circuit based on a digital signal.
Optionally, an output end of the digital-to-analog conversion module is connected to an inverting input end of the inverting amplification composite circuit, and is configured to transmit an input voltage to the inverting input end of the inverting amplification composite circuit based on a digital signal.
Optionally, the digital-to-analog conversion module includes a first digital-to-analog conversion unit and a second digital-to-analog conversion unit; the input end of the first digital-to-analog conversion unit is connected with the control module and used for receiving a first digital signal transmitted by the control module; the input end of the second digital-to-analog conversion unit is connected with the control module and used for receiving a second digital signal transmitted by the control module;
the output end of the first digital-to-analog conversion unit is connected with the non-inverting input end of the reverse amplification composite circuit and used for transmitting input voltage to the non-inverting input end of the reverse amplification composite circuit based on a first digital signal;
the output end of the second digital-to-analog conversion unit is connected with the inverting input end of the inverting amplification composite circuit and used for transmitting input voltage to the inverting input end of the inverting amplification composite circuit based on a second digital signal.
By adopting the technical scheme, the non-inverting input end of the reverse amplification composite circuit is connected with the first digital-to-analog conversion unit; the reverse input end is connected with a second digital-to-analog conversion unit. When the first digital signal and the second digital signal are changed, the output voltage of the reverse amplification composite circuit is changed along with the change of the first digital signal and the second digital signal, the two digital-to-analog conversion units can change the initial voltage value of the reverse amplification composite circuit and the maximum voltage value, and the flexibility of the voltage current generator is improved.
Optionally, the inverse amplification composite circuit includes an operational amplifier U1, a first resistor R1, a first capacitor C1, a second resistor R2, a third resistor R3, and a fifth resistor R5;
one end of the first capacitor C1 is connected with the inverting input end of the operational amplifier U1, and the other end of the first capacitor C1 is connected with the voltage output end of the operational amplifier U1; the end of the first capacitor C1 connected to the inverting input of the operational amplifier U1 is also connected to the first contact of the analog switch;
one end of a first resistor R1 is connected with one end of a first capacitor C1 far away from the analog switch, and the other end of the first resistor R1 is connected with a normally-connected pin of the analog switch and is used for being connected with the first capacitor C1 in parallel when the normally-connected pin of the analog switch is communicated with the first contact;
the inverting input end of the operational amplifier U1 is connected with a second resistor R2, and the other end of the second resistor R2 is connected with the output end of the second digital-to-analog conversion unit;
one end of the third resistor R3 is connected with the output end of the first digital-to-analog conversion unit, and the other end of the third resistor R3 is connected with the non-inverting input end of an operational amplifier U1;
the fifth resistor R5 is connected in series between the first capacitor C1 and the voltage output of the operational amplifier U1.
By adopting the technical scheme, the reverse amplification composite circuit is a pure physical circuit, so that the linearity of the output voltage is convenient to improve, and the control accuracy of the output value of the voltage current generator is convenient to improve.
Optionally, the mos transistor switch circuit includes a first mos transistor Q1, a sixth resistor R6, and a seventh resistor R7;
the grid electrode of the first mos tube Q1 is connected with a sixth resistor R6 and a seventh resistor R7, and the other end of the sixth resistor R6 is connected with the pulse signal output end of the control module; the other end of the seventh resistor R7 is grounded; the source electrode of the first mos tube Q1 is grounded, and the drain electrode of the first mos tube Q1 is connected with the non-inverting input end of the operational amplifier U1.
By adopting the technical scheme, the mos tube is easy to control and simple to operate, and when the period or duty ratio of the second pulse signal is changed, the action rule of the first mos tube Q1 is changed, so that the duration of the output voltage of each stage of the reverse amplification composite circuit is changed conveniently.
Optionally, a voltage output end of the reverse amplification composite circuit is connected to a voltage-current conversion circuit, and is configured to provide an output current to a load based on an output voltage of the reverse amplification composite circuit.
By adopting the technical scheme, when the load needs input current instead of input voltage, the output voltage of the reverse amplification composite circuit is converted into output current through the voltage-current conversion circuit, so that the voltage-current generator is convenient to be suitable for different types of loads.
Optionally, the voltage-to-current conversion circuit includes a second mos transistor Q2, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, and a second capacitor C2;
the grid electrode of the second mos tube Q2 is connected with the voltage output end of the reverse amplification composite circuit, the source electrode of the second mos tube Q2 is connected with one end of an eighth resistor R8, and the drain electrode of the second mos tube Q2 is connected with one end of an eleventh resistor R11; the other end of the eighth resistor R8 is connected to one end of a tenth resistor R10, the other end of the tenth resistor R10 being grounded; the ninth resistor R9 is connected in parallel with the eighth resistor R8; the other end of the eleventh resistor R11 is connected to both one end of the second capacitor C2 and the current end of the load, and the other end of the second capacitor C2 is grounded.
By adopting the technical scheme, the voltage-current conversion circuit is a pure physical circuit, so that the voltage-current conversion precision is convenient to improve.
In a second aspect, the voltage and current generation method provided by the present application adopts the following technical scheme:
a voltage current generation method comprising:
the control module inputs a constant digital signal to the digital-to-analog conversion module;
the control module controls the analog switch to switch the reverse amplification composite circuit into an inverse amplification circuit based on the first pulse signal; meanwhile, the mos tube switching circuit is controlled to conduct the in-phase input end and the grounding end of the reverse amplification composite circuit based on a second pulse signal, so that the output voltage value of the reverse amplification composite circuit is zero, and the duration time is a first time threshold;
the control module controls the analog switch to switch the reverse amplification composite circuit into an inverse amplification circuit based on the first pulse signal; simultaneously, the same-phase input end and the grounding end of the mos tube switching circuit are controlled to be cut off and the reverse amplification composite circuit is controlled based on a second pulse signal; enabling the output voltage value of the reverse amplification composite circuit to be constant initial voltage and lasting for a second time threshold;
the control module controls the analog switch to switch the reverse amplification composite circuit into an integrating circuit based on the first pulse signal, and controls the mos tube switch circuit to cut off the non-inverting input end and the grounding end of the reverse amplification composite circuit based on the second pulse signal; the output voltage value of the reverse amplification composite circuit is increased linearly with time.
By adopting the technical scheme, the output voltage of the reverse amplification composite circuit is divided into three stages through the first pulse signal and the second pulse signal, the output voltage value of the first stage is zero, the output voltage value of the second stage is the initial voltage, and the output voltage value of the third stage is linearly increased. And the duration of each stage can be changed by changing the duty ratio and the period of the first pulse signal and/or the second pulse signal, so that the method is convenient and quick and has high flexibility.
In a third aspect, the application system of the voltage current generator provided by the present application adopts the following technical solutions:
a voltage current generator application system comprising a first voltage unit, a second voltage unit and a current unit, further comprising a load and a voltage current generator according to claim 7 or 8; the first voltage unit and the second voltage unit are used for providing working voltage for the voltage current generator; the current unit is connected with a current input end of the load and used for providing input current for the load; the output end of the voltage current generator is connected with the current output end of the load and used for changing the working current of the load.
By adopting the technical scheme, the output current of the voltage current generator controls the working current of the load, so that the working current of the load is changed periodically. When the working current of the load needs to be changed, the pulse signal output by the control module in the voltage current generator can be changed, and the method is simple and convenient and has high flexibility. The voltage current generator ensures the precision of output current by utilizing the configuration flexibility of the digital-to-analog conversion module and the high linearity of the integrating circuit. After the output current precision is ensured, the duty ratio and the period of the pulse signal can correspond to the output current value, and the precision of the output current is easy to improve.
In summary, the matching of the digital-to-analog conversion module and the inverse amplification composite circuit, the matching of the integrating circuit and the inverse amplification circuit, and the pulse signal control switch facilitate flexible and accurate control of the output value of the voltage current generator. In addition, after the circuit parameters are fixed, the output value of the voltage current generator can be changed through the control module, and the method is convenient and quick.
Drawings
Fig. 1 is an overall block diagram of a voltage current generator according to an embodiment of the present application.
Fig. 2 is a circuit diagram of a voltage current generator according to embodiment 1 of the present application.
Fig. 3 is a circuit diagram of a voltage current generator according to embodiment 2 of the present application.
Fig. 4 is a circuit diagram of a voltage current generator according to embodiment 3 of the present application.
Fig. 5 is a graph showing a variation of an output current value of a voltage current generator according to an embodiment of the present application.
Fig. 6 is a flowchart of a voltage current generation method according to an embodiment of the present application.
Fig. 7 is a block diagram of an application system of a voltage current generator according to an embodiment of the present application.
Description of reference numerals:
1. a control module; 2. a digital-to-analog conversion module; 3. a reverse amplification composite circuit; 4. an analog switch; 5. mos tube switching circuitry; 6. a load; 7. a voltage-current conversion circuit; 8. a first voltage unit; 9. a second voltage unit; 10. a current unit; 11. a voltage current generator.
Detailed Description
The embodiment of the application discloses a voltage current generator. Referring to fig. 1, the voltage current generator includes a control module 1, a digital-to-analog conversion module 2, an inverse amplification complex circuit 3, an analog switch 4, and a mos transistor switch circuit 5. The control module 1 is connected with the digital-to-analog conversion module 2, the analog switch 4 and the mos tube switch circuit 5, and is used for transmitting a digital signal to the digital-to-analog conversion module 2, transmitting a first pulse signal to the analog switch 4 and transmitting a second pulse signal to the mos tube switch circuit 5. The control module 1 can be an MCU or an FPGA, and the first pulse signal and the second pulse signal are both PWM signals; the digital-to-analog conversion module 2 is a digital-to-analog converter; the analog switch 4 is a single-pole double-throw electronic switch.
The output end of the digital-to-analog conversion module 2 is connected with the input end of the reverse amplification composite circuit 3, and is used for transmitting input voltage to the non-inverting input end and/or the inverting input end of the reverse amplification composite circuit 3 based on the digital signal. It should be noted that the inverting amplifying composite circuit 3 includes an operational amplifier U1, and the digital-to-analog conversion module 2 inputs voltages to the non-inverting input terminal and/or the inverting input terminal of the inverting amplifying composite circuit 3 based on the digital signal, where the non-inverting input terminal and the inverting input terminal both refer to the non-inverting input terminal and the inverting input terminal of the operational amplifier U1.
The analog switch 4 is connected to the inverse amplification composite circuit 3, and is configured to switch the inverse amplification composite circuit 3 to an inverse amplification circuit or an integration circuit based on the first pulse signal. And the voltage input end of the Mos tube switching circuit 5 is connected with the in-phase input end of the reverse amplification composite circuit 3, and the voltage output end is grounded and used for switching on or off the voltage input end and the voltage output end based on the second pulse signal. The voltage output end of the reverse amplification composite circuit 3 is used for being connected with a load 6 and providing voltage for a load 6 circuit.
Based on the above-described voltage current generator, the voltage current generator will be described in detail below.
Example 1
Referring to fig. 2, the inverse amplification complex circuit 3 includes an operational amplifier U1, a first resistor R1, a first capacitor C1, a second resistor R2, a third resistor R3, and a fifth resistor R5. The inverting input terminal of the operational amplifier U1 is connected to the second resistor R2, and the other terminal of the second resistor R2 is connected to the first voltage source or the first voltage input circuit. The first voltage source and the first voltage input circuit are both for providing an input voltage to the end of the second resistor R2 remote from the operational amplifier U1.
The output end of the digital-to-analog conversion module 2 is connected with the non-inverting input end of the inverting amplification composite circuit 3, and is used for transmitting input voltage to the non-inverting input end of the inverting amplification composite circuit 3 based on the digital signal. Specifically, the output end of the digital-to-analog conversion module 2 is connected to the non-inverting input end of the operational amplifier U1, and the third resistor R3 is connected between the output end of the digital-to-analog conversion module 2 and the non-inverting input end of the operational amplifier U1. One end of the first capacitor C1 is connected with the inverting input end of the operational amplifier U1, and the other end is connected with the voltage output end of the operational amplifier U1; the end of the first capacitor C1 connected to the inverting input of the operational amplifier U1 is also connected to the first contact S1 of the analog switch 4. One end of the first resistor R1 is connected to one end of the first capacitor C1 far from the analog switch 4, and the other end of the first resistor R1 is connected to the normally-connected pin D of the analog switch 4, and is connected in parallel to the first capacitor C1 when the normally-connected pin D of the analog switch 4 is connected to the first contact S1. When the normally connected pin D of the analog switch 4 is disconnected from the first contact S1, the end of the first resistor R1 connected to the analog switch 4 is in an open circuit state, and the direction amplification composite circuit 3 is an integrating circuit; when the normally-connected pin D of the analog switch 4 is connected to the first contact S1, the first resistor R1 is connected in parallel with the first capacitor C1, the direction amplification composite circuit is an inverting amplification circuit, and the first resistor R1 has an effect of facilitating the discharge of the first capacitor C1. The fifth resistor R5 is connected in series between the first capacitor C1 and the voltage output of the operational amplifier U1.
Referring to fig. 2, a twelfth resistor R12 is further connected between the output end of the digital-to-analog conversion module 2 and the third resistor R3; one end of the third resistor R3, which is far from the non-inverting input terminal of the operational amplifier U1, is connected to one end of a third capacitor C3, and the other end of the third capacitor C3 is grounded. One end of the second resistor R2, which is far from the inverting input terminal of the operational amplifier U1, is connected to one end of a fourth capacitor C4, and the other end of the fourth capacitor C4 is grounded.
Referring to fig. 2, the voltage input terminal of the analog switch 4 is connected to a second voltage source or a second voltage input circuit, and the second voltage source or the second voltage input circuit is used for providing an operating voltage for the analog switch 4. The control terminal IN of the analog switch 4 is connected to the first pulse signal output terminal of the control module 1, and is configured to receive the first pulse signal transmitted by the control module 1. The normally-connected pin D of the analog switch 4 is used for switching between the first contact S1 and the second contact S2 of the analog switch 4, and when the normally-connected pin D is switched to the first contact S1, the first resistor R1 is connected in parallel with the first capacitor C1; when the normally-connected pin D is switched to the second contact S2, the first resistor R1 and the first capacitor C1 are disconnected.
Referring to fig. 2, the mos transistor switching circuit 5 includes a first mos transistor Q1, a sixth resistor R6, and a seventh resistor R7. The gate of the first mos transistor Q1 is connected to both the sixth resistor R6 and the seventh resistor R7, and the other end of the sixth resistor R6 is connected to the second pulse signal output terminal of the control module 1. The other end of the seventh resistor R7 is grounded; the source of the first mos transistor Q1 is grounded, and the drain is connected to the non-inverting input of the operational amplifier U1. The second pulse signal controls the conduction relation between the drain and the source of the first mos tube Q1; when the drain and the source of the first mos transistor are turned on, it means that the potential of the non-inverting input terminal of the operational amplifier U1 is zero, i.e., the output voltage of the operational amplifier U1 is zero. The conduction time between the drain and the source of the first mos transistor Q1 is controlled by the second pulse signal, and the conduction time between the drain and the source of the first mos transistor Q1 can be changed by changing the duty ratio and/or the period of the second pulse signal.
Whether the output voltage output from the operational amplifier U1 is directly applied to the load 6 is set according to the type of the load 6. For example, if the load 6 requires a stable input voltage, the voltage input terminal of the load 6 may be connected to the voltage output terminal of the operational amplifier U1. If the load 6 requires a stable input current, a voltage-to-current conversion circuit 7 may be connected to the voltage output terminal of the operational amplifier U1. The voltage-to-current conversion circuit 7 converts the output voltage of the inverting amplification composite circuit 3 into an output current, that is, converts the output voltage of the operational amplifier U1 into an output current.
Referring to fig. 2, in the present embodiment, a voltage-current conversion circuit 7 is connected to the voltage output terminal of the inverting amplification composite circuit 3. Specifically, the voltage-current conversion circuit 7 includes a second mos transistor Q2, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, and a second capacitor C2. The gate of the second mos transistor Q2 is connected to the voltage output terminal of the inverting amplifier composite circuit 3, that is, to the voltage output terminal of the operational amplifier U1, the source thereof is connected to one end of the eighth resistor R8, and the drain thereof is connected to one end of the eleventh resistor R11. The other end of the eighth resistor R8 is connected to one end of the tenth resistor R10, and the other end of the tenth resistor R10 is grounded. The ninth resistor R9 is connected in parallel with the eighth electronic device R8 and is a current limiting resistor. The other end of the eleventh resistor R11 is connected to both one end of the second capacitor C2 and the current terminal of the load 6, and the other end of the second capacitor C2 is grounded.
It will be understood that the current terminal of the load 6 also needs to be connected to a current source or current input circuit. The current source and the current input circuit are used for providing input current for the load 6, and the voltage-current conversion circuit 7 is used for changing the working current of the load 6 based on the input current of the load 6 and the output voltage of the operational amplifier U1.
Example 2
Referring to fig. 3, the difference from embodiment 1 is that an output terminal of the digital-to-analog conversion module 2 is connected to an inverting input terminal of the inverting amplifying composite circuit 3, and is configured to transmit an input voltage to an inverting output terminal of the inverting amplifying composite circuit 3 based on a digital signal. Specifically, the output terminal of the digital-to-analog conversion module 2 is connected to the inverting input terminal of the operational amplifier U1, and the second resistor R2 is connected between the output terminal of the digital-to-analog conversion module 2 and the inverting input terminal of the operational amplifier U1. One end of the third resistor R3 is connected to the non-inverting input terminal of the operational amplifier U1, and the other end is connected to a third voltage source or a third voltage input circuit. A third voltage source and a third voltage input circuit are used to provide an input voltage to the end of the third resistor R3 remote from the operational amplifier U1. In this embodiment, the voltage value output by the digital-to-analog conversion module 2 is changed by adjusting the digital signal transmitted from the control module 1 to the digital-to-analog conversion module 2, which is convenient and fast.
Example 3
Referring to fig. 4, the difference from embodiment 1 is that the digital-to-analog conversion module 2 includes a first digital-to-analog conversion unit and a second digital-to-analog conversion unit. The input end of the first digital-to-analog conversion unit is connected with the control module 1 and used for receiving a first digital signal transmitted by the control module 1; the input end of the second digital-to-analog conversion unit is connected with the control module 1 and is used for receiving a second digital signal transmitted by the control module 1. The output end of the first digital-to-analog conversion unit is connected with the non-inverting input end of the inverting amplification composite circuit 3, and is used for transmitting the input voltage to the non-inverting input end of the inverting amplification composite circuit 3 based on the first digital signal. Specifically, the output end of the first digital-to-analog conversion unit is connected with a fourteenth resistor R14, one end of the fourteenth resistor R14, which is far away from the first digital-to-analog conversion unit, is connected with a third resistor R3, and one end of the third resistor R3, which is far away from the fourteenth resistor R14, is connected with the non-inverting input end of the operational amplifier U1.
The output end of the second digital-to-analog conversion unit is connected with the inverting input end of the inverting amplification composite circuit 3, and is used for transmitting the input voltage to the inverting input end of the inverting amplification composite circuit 3 based on the second digital signal. Specifically, the output end of the second digital-to-analog conversion unit is connected with a fifteenth resistor R15, one end of the fifteenth resistor R15, which is far away from the second digital-to-analog conversion unit, is connected with the second resistor R2, and one end of the second resistor R2, which is far away from the fifteenth resistor R15, is connected with the inverting input end of the operational amplifier U1.
Two digital-to-analog conversion units are arranged to respectively control the non-inverting input voltage and the inverting input voltage of the operational amplifier U1, so that the control flexibility of the voltage current generator is improved.
The implementation principle of the voltage current generator in the embodiment of the application is as follows: when the input voltage of the non-inverting input terminal of the operational amplifier U1 is not changed and the input voltage of the inverting input terminal is also not changed, the output voltage value of the operational amplifier U1 is controlled by changing the duty ratio and the period of the first pulse signal and the second pulse signal.
For the sake of easy understanding, the structure of the voltage current generator in embodiment 3 is taken as an example, and the periods of the first pulse signal and the second pulse signal are made the same. In the first stage, the normally-connected pin D is connected to the first contact S1 by the first pulse signal, the first resistor R1 is connected in parallel with the first capacitor C1 for discharging, and the reverse amplification composite circuit 3 is switched to the reverse amplification circuit. The second pulse signal connects the drain and the source of the first mos transistor Q1, the voltage output by the first digital-to-analog conversion unit is led to the ground, the voltage at the non-inverting input terminal of the operational amplifier U1 is zero, the voltage at the inverting input terminal is zero, and the output voltage of the operational amplifier U1 is zero, so that the working current of the load 6 is zero.
Referring to fig. 5, the duration of the first phase is one tenth of the entire cycle. The first phase is followed by a second phase, which accounts for one tenth of the entire cycle. In the second phase, the first pulse signal connects the normally-connected pin D with the first contact S1, so that the first resistor R1 is connected in parallel with the first capacitor C1, i.e. the analog switch 4 is not turned on. The second pulse signal disconnects the drain and the source of the first mos transistor Q1, the voltage output by the first digital-to-analog conversion unit enters the non-inverting input terminal of the operational amplifier U1, the output voltage of the operational amplifier U1 is Ith, and Ith is greater than zero.
The second phase is followed by a third phase, which accounts for eight tenths of the entire cycle. In the third phase, the first pulse signal contacts the normally-connected pin D with the second contact S2, and the inverse amplification composite circuit 3 is switched to an integrating circuit. The second pulse signal disconnects the drain and the source of the first mos transistor Q1, and the voltage output by the first digital-to-analog conversion unit enters the non-inverting input terminal of the operational amplifier U1. The output voltage of the operational amplifier U1 increases linearly from Ith, and linearity of the output voltage is ensured due to the characteristics of the integration circuit.
After the third phase, the first phase of the next cycle is entered, the first capacitor C1 is discharged through the first resistor R1, and the output voltage of the operational amplifier U1 is zero.
When the duration of the output voltage of the operational amplifier U1 being zero or Ith needs to be changed, the duty ratio of the first pulse signal and/or the second pulse signal can be adjusted. When the Ih needs to be changed, the period of the first pulse signal and/or the second pulse signal is adjusted.
When the size of Ith and/or Ih needs to be changed, the digital signal transmitted to the first digital-to-analog conversion unit and/or the second digital-to-analog conversion unit by the control module 1 is changed. The control module 1 and the digital-to-analog conversion module 2 are used, so that convenience and flexibility in configuring the output voltage or current of the voltage current generator are improved; the linearity of the output voltage or current of the voltage current generator is improved by using physical devices such as an operational amplifier, and the like, so that the control precision is improved.
The embodiment of the application also discloses a voltage and current generation method. Referring to fig. 6, the voltage current generating method includes:
s100, the control module 1 inputs a constant digital signal to the digital-to-analog conversion module 2.
The constant digital signal, that is, the digital signal that does not change with time, does not change, so that the output value of the digital-to-analog conversion module 2 is not easily changed.
S200, the control module 1 controls the analog switch 4 to switch the reverse amplification composite circuit 3 into an inverting amplification circuit based on the first pulse signal; and meanwhile, the mos tube switching circuit 5 is controlled to conduct the non-inverting input end and the grounding end of the reverse amplification composite circuit 3 based on the second pulse signal, so that the output voltage value of the reverse amplification composite circuit 3 is zero, and the duration is the first time threshold.
The inverting amplification complex circuit 3 includes an operational amplifier U1, and an operational amplifier U1 is provided in the inverting amplification circuit. The Mos transistor switch circuit 5 turns on the non-inverting input terminal and the ground terminal of the reverse amplification composite circuit 3, that is, the source and the drain of the Mos transistor in the Mos transistor switch circuit 5 are turned on, and the potential of the non-inverting input terminal of the operational amplifier U1 is equal to the potential of the ground terminal, and both are zero, so that the output voltage value of the amplification composite circuit is zero. The first time threshold is set according to requirements, and the first time threshold is smaller than the periods of the first pulse signal and the second pulse signal. Increasing the first time threshold, and increasing the time length of the reverse amplification composite circuit 3 outputting the zero voltage value; and vice versa.
S300, the control module 1 controls the analog switch 4 to switch the reverse amplification composite circuit 3 into an inverting amplification circuit based on the first pulse signal; meanwhile, the mos tube switching circuit 5 is controlled to cut off the non-inverting input end and the grounding end of the reverse amplification composite circuit 3 based on a second pulse signal; the output voltage value of the reverse amplification composite circuit 3 is made to be a constant initial voltage, and the duration time is a second time threshold.
It is understood that, in step S300, the control module 1 controls the analog switch 4 to switch the inverting amplifying composite circuit to the inverting amplifying circuit based on the first pulse signal, which means that the state of the analog switch 4 in step S300 is the same as that in step S200, and the analog switch 4 does not operate.
The Mos tube switching circuit cuts off the non-inverting input end and the grounding end of the reverse amplification composite circuit 3, namely the source and the drain of the Mos tube in the Mos tube switching circuit 5, and is in an open circuit state. At this time, the potential of the non-inverting input terminal of the operational amplifier U1 in the inverting amplifier circuit is equal to the input potential.
The second time threshold is set according to requirements, and the sum of the second time threshold and the first time threshold is smaller than the periods of the first pulse signal and the second pulse signal. Increasing the second time threshold, and increasing the time length for which the output voltage value of the reverse amplification composite circuit 3 is the initial voltage; and vice versa.
S400, the control module 1 controls the analog switch 4 to switch the direction amplification composite circuit into an integration circuit based on a first pulse signal, and controls the mos tube switch circuit 5 to cut off the non-inverting input end and the grounding end of the reverse amplification composite circuit 3 based on a second pulse signal; the output voltage of the reverse amplification composite circuit 3 is increased linearly with time, and the duration is the third time threshold.
The output voltage of the inverse amplification composite circuit 3 linearly increases with the meeting, and the output voltage acts as an integrating circuit. The third time threshold is set according to requirements, and the sum of the third time threshold, the second time threshold and the first time threshold is equal to the period of the first pulse signal and the second pulse signal. Increasing the third time threshold, and increasing the time length of the linear increase of the output voltage of the reverse amplification composite circuit 3; and vice versa.
The embodiment of the application also discloses an application system of the voltage current generator. Referring to fig. 7, the voltage current generator application system includes: a first voltage unit 8, a second voltage unit 9, a current unit 10, a load 6 and the above-mentioned voltage current generator 11. The first voltage unit 8 and the second voltage unit 9 are both used for providing the voltage current generator 11 with an operating voltage. Specifically, the first voltage unit 8 is connected to the voltage input end of the analog switch 4 and the voltage positive input end of the operational amplifier; the second voltage unit 9 is connected to the negative voltage input of the operational amplifier. The first voltage unit 8 and the second voltage unit 9 may be voltage sources or voltage circuits.
The current unit 10 is connected to a current input of the load 6 for supplying the load 6 with an input current. In the present embodiment, the current unit 10 may be a current cell or a current circuit; the load 6 adopts a laser generator; it will be appreciated that the load 6 may be any other device requiring precise control of the operating current. The output of the voltage current generator 11 is connected to the current output of the load 6 for varying the operating current of the load 6.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.
Claims (8)
1. A voltage current generator characterized by: the device comprises a control module (1), a digital-to-analog conversion module (2), a reverse amplification composite circuit (3), an analog switch (4) and a mos tube switch circuit (5);
the control module (1) is connected with the digital-to-analog conversion module (2), the analog switch (4) and the mos tube switch circuit (5) and is used for transmitting a digital signal to the digital-to-analog conversion module (2), a first pulse signal to the analog switch (4) and a second pulse signal to the mos tube switch circuit (5);
the output end of the digital-to-analog conversion module (2) is connected with the input end of the reverse amplification composite circuit (3) and is used for transmitting input voltage to the non-inverting input end and/or the reverse input end of the reverse amplification composite circuit (3) based on digital signals;
the analog switch (4) is connected with the reverse amplification composite circuit (3) and is used for switching the reverse amplification composite circuit (3) into an inverting amplification circuit or an integrating circuit based on a first pulse signal;
the voltage input end of the mos tube switch circuit (5) is connected with the non-inverting input end of the reverse amplification composite circuit (3), and the voltage output end is grounded and used for switching on or off the voltage input end and the voltage output end based on a second pulse signal;
and the voltage output end of the reverse amplification composite circuit (3) is used for being connected with a load (6) circuit.
2. A voltage current generator according to claim 1, wherein: the output end of the digital-to-analog conversion module (2) is connected with the non-inverting input end of the reverse amplification composite circuit (3) and is used for transmitting input voltage to the non-inverting input end of the reverse amplification composite circuit (3) based on digital signals.
3. A voltage current generator according to claim 1, wherein: the output end of the digital-to-analog conversion module (2) is connected with the reverse input end of the reverse amplification composite circuit (3) and is used for transmitting input voltage to the reverse input end of the reverse amplification composite circuit (3) based on digital signals.
4. A voltage current generator according to claim 1, wherein: the digital-to-analog conversion module (2) comprises a first digital-to-analog conversion unit and a second digital-to-analog conversion unit; the input end of the first digital-to-analog conversion unit is connected with the control module (1) and used for receiving a first digital signal transmitted by the control module (1); the input end of the second digital-to-analog conversion unit is connected with the control module (1) and is used for receiving a second digital signal transmitted by the control module (1);
the output end of the first digital-to-analog conversion unit is connected with the non-inverting input end of the reverse amplification composite circuit (3) and is used for transmitting input voltage to the non-inverting input end of the reverse amplification composite circuit (3) based on a first digital signal;
the output end of the second digital-to-analog conversion unit is connected with the inverting input end of the inverting amplification composite circuit (3) and used for transmitting input voltage to the inverting input end of the inverting amplification composite circuit (3) based on a second digital signal.
5. A voltage current generator according to claim 4, wherein: the inverse amplification composite circuit (3) comprises an operational amplifier U1, a first resistor R1, a first capacitor C1, a second resistor R2, a third resistor R3 and a fifth resistor R5;
the end of the first capacitor C1 connected with the inverting input of the operational amplifier U1 is also connected with the first contact of the analog switch (4);
one end of a first resistor R1 is connected with one end of a first capacitor C1 far away from the analog switch (4), and the other end of the first resistor R1 is connected with a normally-connected pin of the analog switch (4) and is used for being connected with the first capacitor C1 in parallel when the normally-connected pin of the analog switch (4) is communicated with a first contact;
the inverting input end of the operational amplifier U1 is connected with a second resistor R2, and the other end of the second resistor R2 is connected with the output end of the second digital-to-analog conversion unit;
one end of the third resistor R3 is connected with the output end of the first digital-to-analog conversion unit, and the other end of the third resistor R3 is connected with the non-inverting input end of an operational amplifier U1;
the voltage output end of the reverse amplification composite circuit (3) is connected with a voltage-current conversion circuit (7) and is used for providing output current for a load (6) based on the output voltage of the reverse amplification composite circuit (3);
the voltage-current conversion circuit (7) includes a second mos tube Q2, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, and a second capacitor C2;
one end of the fifth resistor R5 is connected to the voltage output end of the operational amplifier U1, and the other end of the fifth resistor R5 is connected to the gate of the second mos transistor Q2;
the grid electrode of the second mos tube Q2 is connected with the voltage output end of the reverse amplification composite circuit (3), the source electrode of the second mos tube Q2 is connected with one end of an eighth resistor R8, and the drain electrode of the second mos tube Q2 is connected with one end of an eleventh resistor R11; one end of the first capacitor C1 is connected with the inverting input terminal of the operational amplifier U1, and the other end is connected between the source of the second mos transistor Q2 and the eighth resistor R8; the other end of the eighth resistor R8 is connected to one end of a tenth resistor R10, the other end of the tenth resistor R10 being grounded; the ninth resistor R9 is connected in parallel with the eighth resistor R8; the other end of the eleventh resistor R11 is connected to both one end of the second capacitor C2 and the current end of the load (6), and the other end of the second capacitor C2 is grounded.
6. A voltage current generator according to claim 5, wherein: the mos transistor switch circuit (5) comprises a first mos transistor Q1, a sixth resistor R6 and a seventh resistor R7;
the grid electrode of the first mos tube Q1 is connected with a sixth resistor R6 and a seventh resistor R7, and the other end of the sixth resistor R6 is connected with the pulse signal output end of the control module (1); the other end of the seventh resistor R7 is grounded; the source electrode of the first mos tube Q1 is grounded, and the drain electrode of the first mos tube Q1 is connected with the non-inverting input end of the operational amplifier U1.
7. A voltage-current generation method, comprising:
the control module (1) inputs a constant digital signal to the digital-to-analog conversion module (2);
the control module (1) controls the analog switch (4) to switch the reverse amplification composite circuit (3) into an inverse amplification circuit based on the first pulse signal; meanwhile, the mos tube switching circuit (5) is controlled to conduct the non-inverting input end and the grounding end of the reverse amplification composite circuit (3) based on a second pulse signal, so that the output voltage value of the reverse amplification composite circuit (3) is zero, and the duration time is a first time threshold;
the control module (1) controls the analog switch (4) to switch the reverse amplification composite circuit (3) into an inverse amplification circuit based on the first pulse signal; meanwhile, the non-inverting input end and the grounding end of the mos tube switching circuit (5) are controlled to be cut off and the non-inverting input end and the grounding end of the reverse amplification composite circuit (3) are controlled based on a second pulse signal; the output voltage value of the reverse amplification composite circuit (3) is made to be constant initial voltage, and the duration time is a second time threshold;
the control module (1) controls the analog switch (4) to switch the reverse amplification composite circuit (3) into an integrating circuit based on a first pulse signal, and controls the mos tube switch circuit (5) to cut off the non-inverting input end and the grounding end of the reverse amplification composite circuit (3) based on a second pulse signal; the output voltage value of the reverse amplification composite circuit (3) is increased linearly with time.
8. A voltage current generator application system comprising a first voltage unit (8), a second voltage unit (9) and a current unit (10), characterized in that: further comprising a load (6) and a voltage current generator (11) as claimed in any one of claims 1-6; the first voltage unit (8) and the second voltage unit (9) are used for providing working voltage for the voltage current generator (11); the current unit (10) is connected with a current input end of the load (6) and is used for providing input current for the load (6); the output end of the voltage current generator (11) is connected with the current output end of the load (6) and is used for changing the working current of the load (6).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110762641.0A CN113485506B (en) | 2021-07-06 | 2021-07-06 | Voltage current generator, generating method and generator application system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110762641.0A CN113485506B (en) | 2021-07-06 | 2021-07-06 | Voltage current generator, generating method and generator application system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113485506A CN113485506A (en) | 2021-10-08 |
CN113485506B true CN113485506B (en) | 2022-05-17 |
Family
ID=77940455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110762641.0A Active CN113485506B (en) | 2021-07-06 | 2021-07-06 | Voltage current generator, generating method and generator application system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113485506B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114204945B (en) * | 2021-12-13 | 2023-02-03 | 南京苏美达智能技术有限公司 | Enclosure signal transmitting circuit, base station and enclosure signal transmitting method thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102480602A (en) * | 2010-11-22 | 2012-05-30 | 株式会社东芝 | Solid-state imaging device |
CN203479873U (en) * | 2013-08-09 | 2014-03-12 | 中国科学院上海微系统与信息技术研究所 | Resettable incremental magnetic field elimination apparatus |
CN105048773A (en) * | 2015-07-23 | 2015-11-11 | 深圳开立生物医疗科技股份有限公司 | Output voltage control circuit |
CN107367926A (en) * | 2017-08-28 | 2017-11-21 | 电子科技大学 | A kind of high-precision Pixel-level time-to-amplitude converter of wide dynamic range |
CN111431532A (en) * | 2020-04-22 | 2020-07-17 | 上海微阱电子科技有限公司 | Wide-output-range high-precision integrator |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU5449999A (en) * | 1998-09-09 | 2000-03-27 | Hamamatsu Photonics K.K. | Solid-state camera |
-
2021
- 2021-07-06 CN CN202110762641.0A patent/CN113485506B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102480602A (en) * | 2010-11-22 | 2012-05-30 | 株式会社东芝 | Solid-state imaging device |
CN203479873U (en) * | 2013-08-09 | 2014-03-12 | 中国科学院上海微系统与信息技术研究所 | Resettable incremental magnetic field elimination apparatus |
CN105048773A (en) * | 2015-07-23 | 2015-11-11 | 深圳开立生物医疗科技股份有限公司 | Output voltage control circuit |
CN107367926A (en) * | 2017-08-28 | 2017-11-21 | 电子科技大学 | A kind of high-precision Pixel-level time-to-amplitude converter of wide dynamic range |
CN111431532A (en) * | 2020-04-22 | 2020-07-17 | 上海微阱电子科技有限公司 | Wide-output-range high-precision integrator |
Also Published As
Publication number | Publication date |
---|---|
CN113485506A (en) | 2021-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH04351969A (en) | Electric current measuring circuit | |
CN113485506B (en) | Voltage current generator, generating method and generator application system | |
CN109495078A (en) | A kind of reference voltage generating circuit and Switching Power Supply | |
US6507171B2 (en) | Method and apparatus for measuring battery charge and discharge current using a direct analog-to-digital conversion of a charge/discharge replica current | |
ATE418177T1 (en) | UNCONTROLLED ELECTRICAL CONVERTER | |
CN116388763B (en) | DAC compatible with voltage/current output | |
CN112583412A (en) | Digital-to-analog conversion circuit and digital-to-analog converter | |
JP2013207861A (en) | Charge and discharge circuit | |
CN109582073B (en) | Half-period capacitance ratio programmable band-gap reference circuit | |
CN216670106U (en) | Power switch overcurrent detection circuit and current detection circuit | |
TW200615730A (en) | Circuit device with different input/output common mode voltages | |
CN112965003A (en) | Power supply aging load circuit | |
CN111398656A (en) | High-precision battery voltage sampling circuit | |
DE60328167D1 (en) | DEVICE FOR A BATTERY CHARGER | |
US11316528B2 (en) | PWM DAC with improved linearity and insensitivity to switch resistance | |
CN216133358U (en) | High-precision constant-current source module | |
CN217935162U (en) | Wide voltage range constant current load system that discharges | |
CN109710012B (en) | Analog battery | |
CN212846534U (en) | Voltage/current output circuit with variable signal and constant air volume collector | |
CN216490415U (en) | Voltage amplifying circuit with high-voltage output capability | |
CN220528028U (en) | PWM processing circuit for replacing DAC digital-to-analog conversion circuit of process instrument | |
CN107846199B (en) | Dual-channel power amplifier | |
CN210958329U (en) | Control circuit for controlling and switching analog input mode | |
CN107831360B (en) | Radio frequency power measuring device | |
CN102253259B (en) | Adjustable resistance type testing device for mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |