Hi,
I am using an OPA197 in simple non-inverting configuration and a gain of 20x
I need to power the opamp on and off continuously to save energy.
When I power it on, the output has a peak of 1.2V and then goes to 0 again as showed in the attached pic1 and pic2 (2 is zoomed in).
1) Is it a normal behavior?
2) How can I prevent it or smooth it out? I tried to use a 1uF bypassing capacitor and it helps a bit (pic3) but it's not enough. Other values (singularly or in parallel to the 1uF) are either not enough or cut my output signal
Thank you, I switched to an opamp with SHDN and it's working fine.
One last thing I need to do is "flip" the logic of the input signal to the SHDN. When PWM is high the SHDN has to be low, or just floating, when PWM is LOW the SHDN has to be connected to the supply or a high signal. Would a p-channel MOSFET be a good/proper solution? I need something very simple and with the least amount of components
A simple logic inverter, such as the 74HC1G14 will do.
A simple logic inverter, such as the 74HC1G14 will do.Thanks Zero, the solution works. But another reason to have a device with shutdown is to save energy, and the Schmitt trigger increases the consumption of 2-3mA which is too much and I didn't find something with low current. I need something in the order of microamps.
I used low power comparator ICs in and those might work, but besides complicating the circuit a bit, it seems to be an overshoot to me.
A simple NC switch to connect the SHDN to V_supply, that opens when PWM is high is also ok. I tried the TS12A4515 but for some reason when PWM is high the shdwn gets conneted to vsupply but the opamp doesn't enter shutdowm mode
Thanks again
the Schmitt trigger increases the consumption of 2-3mA which is too much and I didn't find something with low current. I need something in the order of microamps.
the Schmitt trigger increases the consumption of 2-3mA which is too much and I didn't find something with low current. I need something in the order of microamps.
It's hard to do too much better than a single logic gate here. Don't be confused by the "additional current" specification in the logic gate's datasheets. That specification is trying to describe the behavior where CMOS logic gates draw extra current if their input voltage is near midrail. It's basically shoot-through in the gate's input stage. With a clean logic input pulse to the gate, the input voltage races past midrail, so the current draw is large for only a very tiny amount of time, and integrates to very, very little average power consumed per transition. However, if the input frequency is very high, this can still add up to be non-negligible.
The Schmitt trigger is worse than a standard gate, because it has additional leakage paths. These paths also keep the gate stable so its inputs can be held near midrail, such as when the input waveform changes very slowly. If you are driving from a digital source, like another gate or a processor GPIO, you can go with a standard inverter ('04) just fine. (In fact, this is usually the better choice: the Schmitt trigger also adds unwanted jitter.) That said, the Schmitt trigger will not be much more power hungry, but if you have a free choice, you might as well pick the better one....
Logic gates are optimized to do this sort of job and do it with as little power as possible. If they look worse on paper than the other options, it is probably because their datasheets are being more conservative. Analog switches and comparators aren't often rated to toggle at 100 MHz; logic gates are, and they still meet all of their specs doing it.
In terms of logic family, generally AUP leaks less than LVC, which leaks less than HC. So if you are at 3.3V or below, choose AUP; 5V, choose LVC; 6V, choose HC. (I forget where LV falls in there, much less the other, rarer families. Honestly, you basically want the newest one.) Or choose their differently-named equivalents from other vendors.
How lower supply current do you require? The 74HC1G14 uses a maximum current of only 20µA, with its input at either +V or 0V and a maximum of 850µA
Logic gates are optimized to do this sort of job and do it with as little power as possible. If they look worse on paper than the other options, it is probably because their datasheets are being more conservative. Analog switches and comparators aren't often rated to toggle at 100 MHz; logic gates are, and they still meet all of their specs doing it.
In terms of logic family, generally AUP leaks less than LVC, which leaks less than HC. So if you are at 3.3V or below, choose AUP; 5V, choose LVC; 6V, choose HC. (I forget where LV falls in there, much less the other, rarer families. Honestly, you basically want the newest one.) Or choose their differently-named equivalents from other vendors.
Description
This single Schmitt-trigger inverter is operational at 0.8-V to 2.7-V VCC, but is designed specifically for 1.65-V to 1.95-V VCC operation.
Absolute Maximum Ratings
VCC Supply voltage –0.5V MIN 3.6V MAX
Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only, which do not imply functional operation of the device at these or any other conditions beyond those indicated under Recommended Operating Conditions. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
Recommended Operating Conditions
VCC Supply voltage 0.8 MIN 2.7 V MAX
One thing to note is that the absolute maximum rating is of the SN74AUC1G14 3.6V, which means it shouldn't burn up at that voltage, but it doesn't mean it will actually work at that voltage. It's only gauranteed to work from 0.8V to 2.7V.
As you don't need the speed, I'd strongly recommend the 74HC1G14 or 74HC1G04.