0

I've been trying to invert the phase response of a non-inverting low pass filter by using a "negative resistor" (-5000 ohms,) which is achieved by the simulation below (bode plot + circuit): enter image description here

enter image description here

When I built the circuit using LM358 op amps, the NIC makes the original low pass filter circuit lose its output signal.

I've also noticed that the NIC makes the power supply for the first op amp, U1, behave erratically - i.e. the negative voltage supply pings left when I turn on the positive voltage supply.

I use a different power supply for each op amp, and the power supply pins on both op amps have decoupling capacitors in place.

Could the NIC circuit just not be usable in the actual circuit?

JRE
  • 67,678
  • 8
  • 104
  • 179
  • 3
    Have you tried doing a transient simulation in order to see what the circuit is actually doing? – Dave Tweed Jun 10 '21 at 14:46
  • 2
    The phase is positive, that means unstable. – a concerned citizen Jun 10 '21 at 14:56
  • I've done an actual bode plot of the non-inverting low pass filter without the NIC using a function generator and an oscilloscope to plot both the gain and phase response via comparing the input signal with the output signal. However, when the NIC is used instead of a 5000 Ohm resistor, the output signal disappears. – tupsman Jun 10 '21 at 15:09
  • Also, I tried the circuit again just now - with the -12V power supplies removed (both op amps now use 12V and ground). Surprisingly, I got an output signal but the gain values and phase were wrong. [Specifically, the phase was 0 instead of -180 with an input of 100Hz sine] – tupsman Jun 10 '21 at 15:12
  • 1
    As Dave says, you should do a transient simulation **before** doing an AC analysis. The latter only makes sense if the circuit is behaving more-or-less linearly. – Spehro Pefhany Jun 10 '21 at 19:56
  • 1
    Please use engineering prefixes! – winny Jun 10 '21 at 19:57
  • Is your real circuit oscillating? You need disable the bandwidth limit on the scope. This is the time to use an analog scope as digital scopes will filter out high frequency signals which is sweep rate dependent, especially on the cheaper scopes. – qrk Jun 10 '21 at 22:20
  • What does "invert the phase response" mean? It feels like you're using a weird approach. – Scott Seidman Nov 01 '22 at 18:12

2 Answers2

1

Trying to grasp the idea behind your circuit first I see an op-amp non-inverting integrator (R4, C1 and U1)... then a current-inversion NIC (INIC) injecting a current through the capacitor that is proportional to the voltage across it.

Really, the INIC is floating and it should be supplied by separate voltage sources VB1, VB2. The two equal resistors R2, R3 and the op-amp U2 form a non-inverting amplifier with a gain of two... but I think these 200 ohm resistances (400 ohm voltage divider in the negative feedback) are too low.

Circuit fantasist
  • 13,593
  • 1
  • 17
  • 48
0

A good start would be to put in all the parasitics into LT spice and make the simulation more like the real world. Wires have inductance and resistance, this can be calculated. If your building this circuit on a breadboard, you'll have a lot of capacitance in the pF's range between tracks and contact resistance.

Capacitors also have a small amount of inductance in the nH range and a high value of resistance.

The last thing is noise. Put in a noise generator and see what the circuit does. You can then make the circuit match the real world (a bit more) before building.

Voltage Spike
  • 75,799
  • 36
  • 80
  • 208