Im trying to generate a custom waveform based on the instrumentation amplifier.
The concept is that using two signals* , square 2Vpp and triangular 1Vp, get the next output:
Under the next considerations:
- The signal must be reflected along the y axis, expecting something like
- The voltage peak to peak must be the same (from 8V to |-4|V=12V)
- The new max level must be anchored at +6V and the new min level must be -6V (i.e.: the 12V of vpp).
First the circuit simulated is(using the model of an instrumentation amplifier):
The circuit is available here
The output is the next waveform:
that indeed fits the first desired output.
The question is how can be reflected/mirrored and how to fix the levels?
For the mirror efect, I was thinking connect an inversor at the output, thus adding other opamp, but I dont know if there is another way to do so. If the phase is changed the only thing done is displace the signal to the left/right, if change the terminals of the square and triangle, perhaps gets reflected but over the x axis. And to set the levels to be +6 and -6 if dc voltage sources are added it will displace the max/min output levels.
So, what suggestions can be used to get the signal abd clamp the levels? Thanks in advance.
**I was told this signal can be done using only one source and making some kind of configuration,i.e.: generating both input signals from a single source. But I dont know if the square must be derived or a sin. signal filtered; is this viable to do?