We are Apogeeweb Semiconductor Electronic

WELCOME TO OUR BLOG

Home  Product Technical Articles   PC817 Optocoupler: 4 Simple Electronic Circuits [FAQ]

PC817 Optocoupler: 4 Simple Electronic Circuits [FAQ]

Author: Iggy Date: 24 Feb 2021  32

PC817 optocoupler has been widely used. You can see it in computer terminals, thyristor system equipment, measuring instruments, photocopiers, automatic ticketing, household appliances, such as fans, heaters, etc. Its signal transmission between circuits completely isolates the front end from the load, and its purpose is to increase safety, reduce circuit interference, and simplify circuit design.

PC817 is a commonly used linear optocoupler. It is often used as a coupling device in various functional circuits that require more precision. It can completely isolate the upper and lower circuits without affecting each other.

Main features of PC817:

1. Current transfer ratio (CTR: MIN. 50% at IF=5mA, VCE=5V);

2. High isolation voltage: 5000V effective value;

3. Compact dual-in-line package:

  • PC817 is a single-channel optocoupler;
  • PC827 is a dual-channel optocoupler;
  • PC837 is a three-channel optocoupler;
  • PC847 is a four-channel optocoupler;

4. Linear optocoupler components.

Catalog

Optocoupler PC817 application circuit diagram (1)

Optocoupler PC817 application circuit diagram (2)

Optocoupler PC817 application circuit diagram (3)

Optocoupler PC817 application circuit diagram (4)

Optocoupler PC817 application circuit diagram (1)

The PC817 is a commonly used linear optocoupler. It is often used as a coupling device in various functional circuits that require more precision. It has the effect of completely isolating the upper and lower circuits without affecting each other.

Optocoupler PC817 pin diagram and internal circuit

Figure 1. Optocoupler PC817 pin diagram and internal circuit

Optocoupler pc817 application circuit

Figure 2. Optocoupler pc817 application circuit

When an electric signal is applied to the input terminal, the light emitter emits light and illuminates the light receiver. The light receiver is turned on after receiving the light, and generates a photocurrent output from the output terminal, thus realizing the "electricity-optical-electricity" conversion.

Ordinary photocouplers can only transmit digital signals (switch signals), and are not suitable for transmitting analog signals. Linear optocoupler is a new type of photoelectric isolation device that can transmit continuously changing analog voltage or current signals. In this way, a corresponding optical signal will be generated as the strength of the input signal changes. Therefore, the conduction degree of the phototransistor is also different, and the output voltage or current is also different.

Optocoupler PC817 Application Circuit (2)

TL431 and PC817 are usually used for the voltage regulation feedback of switching power supply. If the output voltage requirement is not high, then Zener diode and PC817 can also be used. Let me illustrate the coordination of TL431 and PC817 through the following typical application circuit. The circuit diagram is as follows:

TL431& PC817 voltage regulation feedback circuit

Figure 3. TL431& PC817 voltage regulation feedback circuit

The value of R13 is not arbitrarily chosen, because two factors must be considered:

  1. TL431 refers to the current at the input terminal. Generally, this current is about 2uA. In order to prevent the current at this end from affecting the voltage divider ratio and avoid the influence of noise, the current flowing through the resistor R13 is generally more than 100 times the reference segment current, so the resistance should be less than 2.5V/200uA=12.5 K.
  2. Requirements for standby power consumption. If there is such a requirement, try to take a larger value if it meets <12.5K.

The dead zone current of TL431 is 1mA. That is, when the current of R6 is close to zero, ensure that 431 has 1mA. Therefore, R3≤1.2V/1mA=1.2K.

In addition, it is also a consideration of power consumption. R17 is to ensure the size of the dead zone current, and it may or may not be necessary. But there is one exception: when the output voltage is less than 7.5v, it should be considered must be used. The reason is that since R17 here provides TL431 dead zone current, it is only useful when the LED conduction voltage is insufficient.

If the light-emitting diode can be turned on, it can provide enough dead zone current for TL431. If Vo is very low, the calculation method is changed to R17=(Vo-Vk)/1mA (here Vk=Vr-0.7=1.8v);

When Vo=3.3V, the critical maximum value of R17 from the perspective of dead zone current is R17=(3.3-1.8)/1mA=1.5k, and the critical minimum value from the perspective of TL431 current limiting protection is R17=(3.3-1.8) /100mA=15Ω.

When Vo is high, that is, when Vo is greater than Vk+Vd, that is, almost 7.5v or more, the dead zone current required by TL431 can be provided by the conduction of the light-emitting diode, so R17 is not necessary.

Optocoupler PC817 Application Circuit (3)

TL431 is a precision voltage regulator source, and PC817 is a photoelectric coupling device. In the switching power supply, the design of the voltage regulator feedback circuit usually uses TL431 and PC817 to cooperate. In the design of flyback power supplies, feedback circuits often use them as references.

Circuit diagram of TL431 and PC817 used together

Figure 4. Circuit diagram of TL431 and PC817 used together

Next, using Figure 4 as a reference, various parameters in the circuit diagram will be analyzed and explained.

To understand the relationship between the two, you must first determine the values of the four parameters R1, R3, R5, and R6 in the TL431 part of Figure 4.

Suppose the output voltage is Vo, and the auxiliary winding rectified output voltage is 12V.

This circuit compares the output voltage with the reference voltage formed by TL431, and controls the C pole of the TOP tube through the current change of the photocoupler PC817, thereby changing the PWM width to achieve the purpose of stabilizing the output voltage.

Because the controlled object is the TOP tube, we must first understand the control characteristics of the TOP tube. According to the technical manual of TOPSwicth, the current Ic flowing into the control pin C is inversely proportional to the duty cycle D, as shown in Figure 5.

Relationship between TOPSwicth duty cycle and control current

Figure 5. Relationship between TOPSwicth duty cycle and control current

The current of Ic should be between 2-6mA, and PWM will change linearly. Therefore, the current Ice of the triode should also change within this range. While Ice is controlled by the diode current If, the PC817 diode forward current If can be correctly determined through the relationship curve of PC817's Vce and If.

Optocoupler PC817 application circuit diagram (4)

TTL control signal input circuit of 12V DC motor composed of PC817.

The figure below is a circuit diagram of the TTL control signal input circuit for turning on or off a 12V DC motor using a commonly used optocoupler PC817.

 

Figure 6. TTL control signal input circuit


Component Datasheet

PC817 Datasheet


FAQ

  • What is PC 817?

PC817 is also known as an optocoupler / optoisolator. It consists of Infrared Emitting Diode (IRED). This IRED is coupled to a photo transistor optically and not electrically. It is closed in a four (4) pin package. This package is usually available in two different forms.

  • Why is Optocoupler Used?

When used correctly, an Optocoupler can effectively: Remove electrical noise from signals. Isolate low-voltage devices from high-voltage circuits. Allow you to use small digital signals to control larger AC voltages.

  • What is a PC817 Pinout?

PC817 Pinout consists of four (4) pins in total, first two are connected with the Infrared Emitting Diode (IRED) while the last two are connected with Photo Transistor.

  • How Does PC817 Work?

In PC817 photoisolator IC circuit, the IR receives the noisy signal as a power from the one circuit and passes it to the other part through the IR signal. The other part receives the signal and then performs according to the circuit design.

Ordering & Quality

Photo Mfr. Part # Company Description Package PDF Qty Pricing
(USD)
PC817X1J000F PC817X1J000F Company:Sharp Microelectronics Remark:OPTOISOLATOR 5KV TRANS 4DIP Package:4-DIP (0.300", 7.62mm)
DataSheet
In Stock:On Order
Inquiry
Price:
Call
Inquiry

Related Articles

LM386 Power Amplifier Circuit

Irene 13 Oct 2020  1288

Introduction The LM386 is a power amplifier designed for use in low voltage consumer applications. The gain is internally set to 20 to keep external part count low, but the addition of an ex...

Continue reading »

IC 74HC595 Application: 8 Bit LED Digital Tube

Mia 9 Oct 2020  367

I DescriptionDo you know what the Digital Tube Display needs? The display of the digital tube requires a digital tube and a control circuit of multiple digital tubes. Take the single-chip microcompute...

Continue reading »

LM1875 Audio Amplifier: Datasheet, Equivalent, Pinout

Iggy 5 Jan 2021  1487

The LM1875 is a monolithic power amplifier that can provide very low distortion and high quality performance in audio applications. It uses advanced circuit design techniques to achieve minimal distor...

Continue reading »

L298N Based DC Motor PWM Control System Design

Iggy 25 Sep 2020  374

I. IntroductionDC motors are widely used in various fields due to their good speed regulation performance, large starting torque and strong overload capacity. In recent years, the structure and contro...

Continue reading »

LM2596 Buck Converter: 4 Circuit Analysis Examples

Mia 14 Oct 2020  2052

I DescriptionWhat is LM2596? LM2596 is a switching voltage regulator for step-down power management monolithic integrated circuits, capable of outputting 3A drive current, while having good linearity ...

Continue reading »

0 comment

Leave a Reply

Your email address will not be published.

 
 
   
 
Rating:

# 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z