The optocoupler is a new type of device that combines the photoelectric effect with electronic switching technology. It has the characteristics of optical isolation, no contact, long life, strong anti-interference ability, and is widely used in industrial control, instruments and meters, communications, computers, household appliances, medical equipment and other fields.