How to design a special voltage function?

Thread Starter

Teddy Doloir

Joined Feb 9, 2019
15
I want to convert analog voltage as below:
if input 0V : output 1.6V
if input 5V : output 0.6V
I can i do that? Using which circuit?
 

Alec_t

Joined Sep 17, 2013
15,119
Welcome to AAC!
It's doable. What are the input and output tolerances you need?
What provides the input signal?
Do you want to use discrete components or a microprocessor?
 

Thread Starter

Teddy Doloir

Joined Feb 9, 2019
15
Voltage provides from DAC circuit (LTC2644) Because I convert pwm duty to a voltage range 0V-5V. And after that, I need a linear precision 0.6V to 1.6V with confortable tolerance using discrete components (no microprocessor).
 

ericgibbs

Joined Jan 29, 2010
21,442
hi TD,
There is a circuit error on that diagram, I will correct and repost.
Eric

EDIT:
Corrected input circuit, reposted. in post #6
 
Last edited:

ericgibbs

Joined Jan 29, 2010
21,442
hi Teddy,
This circuit is for
if input 0V : output 1.6V
if input 5V : output 0.6V

Added:
Set Up
1. Set the Vinput Source of the 1st OPA to 5v, adjust R7 so that Vout of the 1st OPA is 1v.

2. Set the Vinput Source of the 1st OPA to 0v. adjust R2 so that Vout of the 2nd OPA is 1.6v

3. Reconnect the Vinput Source to the DAC output.



I will leave the earlier circuit posted, just in case you have it reversed, like I did.:rolleyes:
I misread as:
if input 5V : output 1.6V
if input 0V : output 0.6V

Eric
 

Attachments

Last edited:

crutschow

Joined Mar 14, 2008
38,513
Here's a single op amp version:
The minor disadvantage of this single amp is that the offset voltage is affected by the gain setting, so you must first set the gain to give a 1Vpp signal swing, and then adjust the offset (which does not affect the gain) to the desired value.

upload_2019-2-9_13-28-18.png
 
Last edited:
Top