Description: Create a 0-25 mA current limiter using a control voltage input of 0-5 V to regulate the current through a resistive load (R2), which can vary between 0-200 ohms. The O2 operational amplifier (op-amp) functions as a differential amplifier with a gain of 2. For example, when 25 mA flows through the load R2, the output of op-amp O2, labeled CSense, should be 5 V. The output from op-amp O2 is then fed into op-amp O1, which compares the control voltage with the feedback from O2 to limit the current. However, the circuit is experiencing oscillation issues. The oscillation frequency varies between 50 kHz and 150 kHz, and the output of op-amp O2 does not match the expected output based on the voltage across R2. The input voltage (V2) is a sine wave, but when set to DC, the output still oscillates. The slew rate of the op-amp is noted, and it is suggested that the non-linear behavior of the current through the MOSFET may be causing instability. Recommendations include adding resistance and capacitance to dampen the system and considering a PNP transistor instead of a FET for better linearity.
The circuit described is a current limiter designed to regulate the output current through a resistive load based on a control voltage. The primary components include two operational amplifiers, O1 and O2, which are configured to form a feedback loop to maintain the desired current output. The O2 op-amp is set up as a differential amplifier with a gain of 2, allowing it to amplify the voltage across the load (R2) to the required level for the feedback loop.
In operation, when a control voltage of 0-5 V is applied, the goal is to produce a corresponding output current ranging from 0 to 25 mA through the load. The output from the O2 op-amp, marked as CSense, is expected to be 5 V when the load is at maximum current. However, oscillation issues have been reported, indicating that the feedback loop may not be stable under certain conditions.
The oscillation behavior observed, with frequencies varying from 50 kHz to 150 kHz, suggests that the system may be experiencing instability due to the non-linear characteristics of the MOSFET used in the circuit. As the control voltage increases, the amplitude and frequency of the CSense signal also change, indicating a potential mismatch in the expected and actual behavior of the feedback loop.
To address these oscillation issues, it is recommended to introduce a damping mechanism by adding resistance in series with the input signal to the negative input of O1, along with capacitance between the output of O1 and its negative input. This modification can help stabilize the circuit by reducing the gain at certain operating points, thus preventing oscillations.
Additionally, it is advised to consider replacing the MOSFET with a PNP transistor in the circuit design. Given that the required compliance range is only 5 V (200 ohms multiplied by 25 mA), using a PNP transistor with an appropriate emitter resistor can provide a more linear current source while simplifying the design. The transistor can be configured with its collector connected to the controlled current output and its base driven directly by the output of the op-amp, ensuring that the output can swing sufficiently close to the positive supply voltage.
Overall, careful attention to the feedback loop design and component selection will be crucial in achieving a stable and reliable current limiting circuit.Make a 0-25 mA current limiter. I want to take a control voltage of 0-5 V as input and have it control a current of 0-25 mA through a restive load (the restive load may vary between 0-200, it`s represented as R2 below). The O2 op-amp is used to make a differential amplifier with a gain of 2. Example: 25mA of current through the lo ad R2, op-amp O2`s output should be 5V (marked CSense). The output from op-amp O2 is then the input to op-amp O1. Op-amp O1 compares the control voltage with O2`s feedback to limit the current. Or at least that`s my intention. I have triple checked my pin-out and wiring, and messed around with lots of other things, but the circuit still just oscillates. When V2 is a higher value the oscillation is slower. What I am seeing on the DSO is that mosfet T1 goes between full on and full off, and CSense is a triangle wave that varies in amplitude with the control voltage.
A higher control voltage makes CSense have higher amplitude and lower frequency. The oscillation frequency varies from about 50kHz to 150kHz. Update Everyone is focusing on O1, but I think the problem is in the O2 circuit. Below is a DSO screen shot. V2 is at 1. 25 VDC. The yellow trace is the voltage over R2 @ 100. The red trace is the output of O2 (marked as CSense in my schematics). I would expect the red trace to be 2x the yellow trace, but instead it`s a completely different shape! What in the world is going on For clarity: I would expect the yellow line to be 0. 625 VDC, and the red line to be 1. 25 VDC (same as the V2 input). Also my power supply is ~8 VDC here, things blow up at 24. The V2 input is a sine wave. The output is supposed to follow the input. If you change V2 to DC, the output will also simulate as DC. On my bench, V2 is DC, but the output oscillates between 30kHz-250kHz. Imbue Apr 12 `13 at 15:38 Is the second op-amp slewing According to the datasheet, the slew rate is 0.
5V/us. If I read your o-scope capture correctly, the rise and fall time for the red trace is approximately the slew rate of the OPA2170 Alfred Centauri Apr 12 `13 at 17:03 Also note how R2 introduces a common mode swing to the inputs of OA2. Crappy old parts like TL0XX do not have good rejection for that (as low as 75 dB). Why introduce it Kaz Apr 12 `13 at 17:17 The problem is that the current thru M1 as a function of gate voltage is highly non-linear.
At some point in the function, the gain is very high, which is making things unstable. If you don`t need high speed response from this circuit, you can dampen it somewhat past the point where you experimentally determine it won`t oscillate at any operating point. To do that, add some resistance in series with the input signal going into the negative input of O1, then add some capacitance immediately between the O1 output and its negative input.
Author Mazi Hosseini describes a simple, low-cost voltage-controlled current source using two operational amplifiers that provides a good range of current and maximum load.
The circuit described by Mazi Hosseini utilizes two operational amplifiers (op-amps) to create a voltage-controlled current source,...
Non-sinusoidal waveform generators are also referred to as relaxation oscillators. The op-amp relaxation oscillator depicted in the figure functions as a square wave generator. Generally, square waves are relatively simple to generate. Similar to the UJT relaxation oscillator, the frequency...
A constant current source is utilized in the differential amplifier circuit, which includes an emitter resistor. In this configuration, an increase in the output voltage (Ua) is not desirable. To ensure that Ua remains stable, the supply voltage (Ucc) can...
A high-quality microphone preamplifier utilizing a single power supply, designed for dynamic or electret microphones.
This microphone preamplifier circuit is engineered to enhance the audio signal from microphones, providing a clean and amplified output suitable for further processing or mixing. The...
A lens is a specialized perspective on the content within a repository. It can be considered a sophisticated type of list that enables users to view content from the viewpoint of trusted organizations and individuals.
A lens in this context serves...
To amplify small current signals, such as those from an electron collector inside a vacuum chamber, it is beneficial for reasons related to noise and bandwidth to utilize a "head amplifier" connected to the chamber. The operational amplifier N1 is...
A composite amplifier can be constructed that offers high gain, wide bandwidth, and good DC accuracy by cascading the sections of a dual video amplifier and incorporating two suitable phase compensation components. The operational amplifier drives a 150-ohm load and...
The circuit features a current protection mechanism utilizing transistors VTa, VT4, and a sense resistor Ro. When an overcurrent or short-circuit fault occurs, the power supply cannot resume normal operation because the conduction condition of VT3 remains unchanged, resulting in...
This circuit utilizes the CA3100 BiMOS operational amplifier to drive a 1-mA meter movement to its full scale with a 1-V RMS input.
The circuit configuration incorporates the CA3100 BiMOS operational amplifier, which is known for its high input impedance and...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more