Hi,
A "normal" opto-coupler (PC817 etc) are highly non-linear and won't work very well in your application. There are analog opto-isolators available such as the HCLP-7520 - read the datasheet - and others.
Another option is an isolation amplifer such as the ISO124P but it's a bit more expensive.
What's happening when it acts up?
/Henrik.
Bookmarks