120Views7Replies

# integrate signals?

hi i have square wave start 5 then 0 picture 1with variable duty cycle i want to convert it to the signal in picture2i did integration in picture 3 but didnt invert the signal .

120Views7Replies

hi i have square wave start 5 then 0 picture 1with variable duty cycle i want to convert it to the signal in picture2i did integration in picture 3 but didnt invert the signal .

## Discussions

Best Answer 5 years ago

you want to convert a square wave to a triangle wave.

RC filter

This will change with frequency on the output put a resistor to a capacitor that goes to ground where the cap and resistor meet you get a triangle wave.

Joe

Answer 5 years ago

yes but i need it to be zero on negative square cycle and half triangle at positive edge i did like you said but i need to make it zero at negative square cycle i thought i can do it using scr ?

Answer 5 years ago

That or a diode on the output then it only goes 0 to + or 0 to - depending on the direction of your diode.

Joe

Answer 5 years ago

thanks Joe

5 years ago

What are you trying to do ?

Answer 5 years ago

generate the signal 2 from signal 1

Answer 5 years ago

yes, I can see that, but what for? like Joe says, an RC filter will do that.