Use a photoelectric-FET optocoupler as a linear voltage-controlled potentiometer

Texas Instruments LM358A

You can use a photoelectric FET as a variable resistor or a potentiometer in combination with a fixed resistor. The H11F3M photoelectric FET has an isolation voltage of 7.5 kV, enabling you to safely control high-voltage circuit parameters. The nonlinear-transfer characteristics of these devices are problematic, however (Figure 1). To correct the nonlinearity, using a simple feedback mechanism as a potentiometer yields a linear response (Figure 2). This circuit uses two photoelectric FETs – one for feedback and the other for applications requiring an isolated potentiometer. You connect the inputs of the two photoelectric FETs in series to ensure the same amount of current for the input LEDs.

The output resistance of a photoelectric FET is nonlinear with respect to the input-LED current.
Figure 1. The output resistance of a photoelectric FET is nonlinear with respect
to the input-LED current.
 
This circuit feeds back the response of an identical photoelectric FET to linearize the response.
Figure 2. This circuit feeds back the response of an identical photoelectric FET to linearize the response.

Place 50-kΩ resistors at the FET outputs to mimic the response of a potentiometer. The circuit amplifies the difference between the set input voltage, which you adjust using potentiometer R7, and the feedback from photoelectric FET 1. The resulting output controls the current in the photoelectric-FET LEDs until the feedback voltage equals the input voltage. The output voltage follows linearly with the input voltage (Figure 3). You might think that photoelectric FETs bearing the same part number are identical, but small manufacturing discrepancies can be present. Five H11F3M parts have offsets within 3%.

The feedback circuit greatly improves output linearity.
Figure 3. The feedback circuit greatly improves output linearity.

Materials on the topic

  1. Datasheet onsemi H11F3M
  2. Datasheet Texas Instruments LM358A

EDN