isolate output from input using optocoupler

Discussion in 'General Electronics Chat' started by karas, May 18, 2015.

1. karas Thread Starter Active Member

Sep 8, 2011
158
0
View attachment 86000 I am trying to isolate input(0-5v) from output(V4) by using optocoupler but the circuit is not linear I need to make V4 the same like (0-5v), i need to do the circuit without using transformer so is there any suggestion to make the circuit work
Thanks

• Scan10001.JPG
File size:
558.9 KB
Views:
45

Jan 15, 2015
2,105
895
If you want to optically couple a linear signal you should use a Linear Optocoupler. Do a Google of "linear optocoupler" to get started.

Ron

karas likes this.
3. karas Thread Starter Active Member

Sep 8, 2011
158
0
thanks so much

Aug 21, 2008
3,930
1,097
5. crutschow Expert

Mar 14, 2008
16,575
4,477
Driving a standard opto coupler with a current rather than a voltage will significantly improve the input to output linearity since it eliminates the non-linear input voltage to current relationship.

Below is the LTspice simulation of such a circuit.

Op amp U3 is configured as a current driver for the opto input, generating a current proportional to the voltage input.

As you can see the output is quite linear with respect to the input.
The simulation results are somewhat idealized of course, and the real linearity will depend upon the actual characteristics of the opto coupler used, but hopefully will still be adequate for your application.
The linearity degrades at higher operating currents due to reduction in the CTR of the opto but it should be fairly good if the maximum current is kept to no more than a few mA (2.5mA in this simulation).

R3 will likely need to be tweaked to get the desired voltage output depending upon the gain of the particular opto isolator you have (you could make it a 5kΩ pot).
A higher value increases the gain.

The opamps are rail-rail types.

• Opo Coupler Op Amp Linear Single Supply.asc
File size:
1.8 KB
Views:
5
Last edited: May 20, 2015
AnalogKid likes this.