# Electrical – op amplifier with both negative and positive feedback

circuit analysisoperational-amplifier

For must of the circuits, I know how to analyze them but I am having difficulty with this one, and with the understanding of its purpose.

the switch changes his state every 0.5 msec.
VZ is 5.6V

the problem I am having with this circuit, which is where I think I am doing my mistakes, is that I can't decide if this is a negative feedback or positive feedback.
Also because of my fail to analyze the circuit correctly, I can't understand what is it for? I think it supposed to be astable multivibrator but I can't confirm it.

edit :
the output of the circuit is the output of the opamp.

edit2 :
assume general ideal op-amp, I used the TL because it was the 1st op-amp I saw.

edit 3:
I am trying to draw the timing diagram and this is what I get and I can't understand why I am wrong here.
sorry for the poor handwriting, no ruler was around.
Vs = Vswitch. Vx= Voltage point between R1 and R2.

This circuit produces a linear ramp output. The zener diode and R1 produce a constant voltage across R2 (since the op-amp output tracks the capacitor voltage as it increases). The output slope is \$+\frac{V_Z}{R_2 C_2}\$ (once the switch opens, before that it sits near 0V, depending on the op-amp and supplies).