Exulus
- 50
- 0
Hi guys, I need a bit of help with this. I've got an op-amp and the standard formula:
V_{out} = -\frac{1}{RC}\int V_{in} dt
And i need to integrate a square wave from it in order to determine some capacitor/resistor values to get an output amplitude of 5V and freq 200Hz (triangle wave). Every time i try to do it i end up getting 0 as an answer (which is kind of logical, considering one half of the cycle is the negative of the other). For example:
V(t) = V for 0 \leq t \leq 0.0025
V(t) = -V for 0.0025 \leq t \leq 0.005
V_{out} = -\frac{1}{RC} [ \int_{0}^{0.0025}Vdt - \int_{0.0025}^{0.005}Vdt]
V_{out} = -\frac{1}{RC} (0.0025V - (0.005V - 0.0025V)) = 0
How can i get around this problem? Cheers.
V_{out} = -\frac{1}{RC}\int V_{in} dt
And i need to integrate a square wave from it in order to determine some capacitor/resistor values to get an output amplitude of 5V and freq 200Hz (triangle wave). Every time i try to do it i end up getting 0 as an answer (which is kind of logical, considering one half of the cycle is the negative of the other). For example:
V(t) = V for 0 \leq t \leq 0.0025
V(t) = -V for 0.0025 \leq t \leq 0.005
V_{out} = -\frac{1}{RC} [ \int_{0}^{0.0025}Vdt - \int_{0.0025}^{0.005}Vdt]
V_{out} = -\frac{1}{RC} (0.0025V - (0.005V - 0.0025V)) = 0
How can i get around this problem? Cheers.