Looking forward to your help in sorting out this issue.
The objective is to switch between an analog voltage and ground at high switching speeds with reasonable current drive capability (about 20-30mA).
The signal sequence is as follows: a microcontroller generates the analog voltage (needs to be software configurable and hence the uC). The uC output is connected to one input of a TS5A23159 analog SPDT, the other input being shorted to ground. The output of the switch is connected to a high speed opamp OP4830 configured in unity gain mode.
The problem is as follows: The output rings as the switch transistions from ground to analog voltage. Following is the oscilloscope screenshot
The output has to transition from 0 to ~3.5V when this happens. Further, the ringing does not end in the output settling to 3.5V there is some sort of capacitor charging behavior following up.
Following is the screenshot (zoomed out and a larger time frame)
The above measurements are with no-load at the output of the opamp.
Please advise on the following:
1) How to reduce the ringing
2) The output has to rise from 0 to 1V in less than 200ns (the switching speeds of the chain components add up to this number).
What could be the reason for such a response?
Thank you for your time in looking into my case,
In reply to SM:
Following is the schematic
The ringing problem has been solved (in a certain sense). The ringing was being caused due to the oscilloscope probe. Adding a series resistor around 5K (to the tip of the oscilloscope probe) stopped the ringing completely (but also made the rising edge less sharp).
However the ~10us capacitive charge like waveform in the transition from zero to high voltage still persists. Please advise.
The slew rate of the opamp used is 560V/us so that should not be the cause.
In reply to Adam Torma:
Thank you for your reply and time.
The yellow waveform is the input at the NO port and the blue waveform is at COM (note the difference in voltage scales).
We also tried the alternate approach of using the trimpot to feed the voltage at the NO port (please refer to the schematic). The behavior is same but the delay is much less now. Following is a picture of the waveforms,
Looking forward to your input,
The wave forms look good from a switch perspective. The switch is passing the input to the output with no distortion. We will need to look elsewhere in the circuit for your extra loading. It appears the when you switch to the NO path that your power supply is getting loaded and cant immediately drive the input to the op amp. I'm going to move this thread to the op amp forum for more assistance on that part of your circuit.
Can you please post a screenshot of the opamp output after adding the series 5kOhm so I can see what we are dealing with. The reason you are seeing a slow rise time is because the 5kohm series resistor along with the probe capacitance forms a low pass filter which will slow down the edge rise/fall time.
Also, can you configure the amplifier in a gain of 2 (6dB). If you look at figure 2 you will notice that in unity gain config, there is 5-6dB of peaking in the frequency response. This indicates insufficient phase margin and can lead to ringing and other stability issues.
Please do a before and after screenshot so I can see what issues were resolved with these 2 fixes.
Finally what is the output impedance of the uC analog output?
We disconnected the op-amp from the path and the ouput is still the same so I am quite sure that the problem is with the switching circuit. Again, we have tried both the potentiometer and the microcontroller's DAC as sources of voltage and in both cases there is a drop at the output; the only difference being the time required to recover.
Yes, the circuit now is only the switch and power supply.
Looking forward to your inputs.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.