Electronic – PWM – signal modulation (sawtooth vs triangle signal)

pwm

In order to get the PWM signal out of a sawtooth (ramp up/down) I usualy use an operational amplifier and set the reference value with a potentiometer. This is how I can then modify the PWM by turning the potentiometer.

Is it possible to get a PWM signal out of a triangle signal using operational amplifier in a similar way?

Best Answer

Yes. The difference is that the PWM pulse will be centered within the train rather than against either edge (type 1).