Hello all, I've been trying without success to design a circuit that has 2 inputs and one output, such that the output is:- Vout = Vin1 + (Vin1-Vin2):-
Vin1----| >---- Vout Vin2----|
I'm using a single 5V supply and both input voltages come from op-amp voltage-followers, (originally derived from PWM signals). I need the output to swing from 0V to as close as possible to the 5V supply.
The circuit is intended as part of a closed-loop speed control system for a DC motor.
Can anyone help with ideas, links etc.?