Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Vary voltage in synchrony with other voltage?

Status
Not open for further replies.

cupoftea

Advanced Member level 5
Joined
Jun 13, 2021
Messages
2,607
Helped
54
Reputation
108
Reaction score
115
Trophy points
63
Activity points
13,665
Hi,
We have a voltage which will vary from 2v to 5v
When it does this, we want another voltage to go from 1.76V to 0.7V.
(just signal voltages)
(linearly)
Is the attached the lowest component way for this?
LTspice and jpeg attached
 

Attachments

  • Vary voltage.jpg
    Vary voltage.jpg
    100.1 KB · Views: 76
  • vary voltage.zip
    1.2 KB · Views: 60

Simple Math leads to simple design.
In = 2 to 5V
Out=1.76V to 0.7V
Gain = (1.76-0.70) / (2 - 5)= 1.06/-3 = -0.35333
Offset= Mean (out-in) = {(1.76+0.7)-(2+5)}/2 = -2.27V
Using a Differential Amplifier with negative gain = -0.3533 and offset of -2.27 using +Vref= 1.82V = (1+Av-)*5V

Choose R values and tolerances to meet your expectations. (design specs)

 
Last edited:
Is the attached the lowest component way for this?
A single transistor can do the job although to adjust values is a trial-and-error task.
NPN inverts the slope of the incoming signal.
Is your power supply 5V? It can be dropped via zener/led/diode string.

NPN level shift signal 2-5V (invert direction n reduce).png
 

If interested, here is a procedure for determining the component values for the circuit in post #5.
This is basically a variation of the procedure posted in post #3.

  • The inverting gain must equal -0.35333 as D. A. calculated in post #3 (the closest value of -0.3549 generated here by the values of R1 and R2).
  • This output for a 2V input would then be 2 * -0.3549 = -.7099V (without any added offset)
  • Since +2V input should give +1.76V at the output, a positive output offset of (+1.76V + 0.7099V) = +2.47V is thus needed.
  • The non-inverting gain at the (+) input is (1+ 0.3549) =1.3549 so a voltage of (+2.47V / 1.3533) = +1.823V is required at the (+) input, which is generated by the voltage divider R3 and R4 from the +5V supply.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top