PSpice Op-Amp Sawtooth Wave


I've got this homework about PSPice and op-amp.
I need to make this triangular waveform and sawtooth(?) waveform of non-inverting op-amp circuit.
I know the triangle one is 500us like the picture. But what about the sawtooth? The teacher told us to change TR and TF to 750us and 250us but it doesn't work. Am I missing something?

Oh and also, the triangle one supposed to start at 0V but mine starts at -4 volt instead.
What can I do about it?

I'm new to PSPIce so please be kind ^^ Please do minor changes at the circuit.. (ex. changing the value of VPULSE) because that is what my teacher wants. Sorry for my bad english, and thank you for any help you can provide.

The waveforms have to look like these

I know I get the 500us right, because my teacher said so. I also know the meaning of all attributes like TD, TF etc. The question is

triangular result.

down here is the sawtooth thing circuit I've tried and also the result.

sawtooth circuit

sawtooh result

Best Answer

There might be a better way to do it (look at the VPWL and VPWL_ENH sources), but to keep this simple, try putting two sources in series, each producing half the waveform.

enter image description here

enter image description here