Hi guys, I need a bit of help with this. I've got an op-amp and the standard formula:(adsbygoogle = window.adsbygoogle || []).push({});

[itex]V_{out} = -\frac{1}{RC}\int V_{in} dt[/itex]

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:

[itex] V(t) = V[/itex] for [itex] 0 \leq t \leq 0.0025[/itex]

[itex] V(t) = -V[/itex] for [itex]0.0025 \leq t \leq 0.005[/itex]

[itex]V_{out} = -\frac{1}{RC} [ \int_{0}^{0.0025}Vdt - \int_{0.0025}^{0.005}Vdt][/itex]

[itex]V_{out} = -\frac{1}{RC} (0.0025V - (0.005V - 0.0025V)) = 0[/itex]

How can i get around this problem? Cheers.

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Integrating square to triangle?

Loading...

Similar Threads for Integrating square triangle | Date |
---|---|

Meaning of the FFT of a Poynting Vector integral, reflection coefficient | Feb 5, 2018 |

IC Physical Design Software Inquiry | Jan 21, 2018 |

Understanding current measurement on an irregular waveform | Jan 10, 2018 |

Maintaining the integrity of an analog signal | Apr 27, 2017 |

What integrated circuits, etc. for an amateur? | Mar 11, 2017 |

**Physics Forums - The Fusion of Science and Community**