Ultra-thin, light synchronization light curtain control circuit based on MCU core
Technical Field
The utility model relates to a light curtain control circuit technical field especially relates to an ultra-thin, light synchronization light curtain control circuit based on MCU core.
Background
Automation technology is widely used in industry, agriculture, military, scientific research, transportation, commerce, medical treatment, services, and home. The automatic technology can not only liberate people from heavy physical labor, partial mental labor and severe and dangerous working environments, but also expand the functions of human organs, greatly improve the labor productivity and enhance the ability of human to know the world and transform the world. Large plants in automation systems are also referred to as automation devices. Refers to a process in which a machine or apparatus automatically operates or controls according to a prescribed program or instruction without human intervention.
In the automation equipment, in order to ensure safety in the operation process, some equipment is provided with an induction light curtain which has the functions of preventing operation in the working process of the equipment and ensuring the safety coefficient; the existing induction light curtain control circuit is easy to cause electromagnetic interference in use, so that the problems of induction synchronization failure and the like exist.
SUMMERY OF THE UTILITY MODEL
In order to solve the above problem, the utility model provides an adopt ultra-thin, the light synchronization light curtain of MCU core. The transmitting and receiving synchronous light curtain eliminates the traditional synchronous line, and can solve the problem that the synchronous line is subjected to electromagnetic interference of equipment to cause synchronization failure.
The utility model adopts the technical proposal that: an ultra-thin and optical synchronization light curtain control circuit based on an MCU core comprises a light curtain transmitting end and a light curtain receiving end, wherein the light curtain transmitting end comprises a transmitting MCU chip, a logic circuit connected with the transmitting MCU chip, a transmitting triode connected with the logic circuit and an infrared emitting diode connected with the transmitting triode; the light curtain transmitting end is also provided with a transmitting reset circuit; the light curtain receiving end comprises a receiving MCU chip, a parallel-to-serial conversion circuit connected with the receiving MCU chip, an infrared receiving triode connected with the parallel-to-serial conversion circuit, a photoelectric coupler connected with the receiving MCU chip, a connecting triode connected with the photoelectric coupler and a receiving reset circuit connected with the receiving MCU chip.
The further improvement of the scheme is that the light curtain transmitting end is provided with a transmitting power supply chip.
The further improvement of the scheme is that the transmitting MCU chip is also connected with a transmitting LED lamp.
The further improvement of the scheme is that the transmitting MCU chip is also connected with a transmitting crystal oscillator.
The scheme is further improved in that the transmitting MCU chip is connected with a serial-to-parallel conversion circuit, the serial-to-parallel conversion circuit is connected with a logic circuit, and the logic circuit is an NAND gate.
The light curtain receiving end is provided with a receiving power supply chip.
The further improvement of the scheme is that the receiving MCU chip is also connected with a receiving LED lamp.
The further improvement of the scheme is that the receiving MCU chip is also connected with a receiving crystal oscillator.
The further improvement of the scheme is that the connecting tertiary pipe is connected with a PLC controller.
The utility model has the advantages that:
compare traditional light curtain circuit, the utility model discloses an ultra-thin, the synchronous light curtain of light of MCU core. The transmitting and receiving synchronous light curtain eliminates the traditional synchronous line, and can solve the problem that the synchronous line is subjected to electromagnetic interference of equipment to cause synchronization failure. The light curtain transmitting end comprises a transmitting MCU chip, a logic circuit connected with the transmitting MCU chip, a transmitting triode connected with the logic circuit and an infrared emitting diode connected with the transmitting triode; the light curtain transmitting end is also provided with a transmitting reset circuit; the light curtain receiving end comprises a receiving MCU chip, a parallel-to-serial conversion circuit connected with the receiving MCU chip, an infrared receiving triode connected with the parallel-to-serial conversion circuit, a photoelectric coupler connected with the receiving MCU chip, a connecting triode connected with the photoelectric coupler and a receiving reset circuit connected with the receiving MCU chip. In the working process, the transmitting end MCU transmits the coded data to the serial-to-parallel conversion circuit according to a programmed sequence, the parallel output signal is inverted with a carrier signal phase provided by the MCU again, and the triode is driven to drive the infrared emitting diode to emit a corresponding infrared signal.
Drawings
Fig. 1 is a schematic connection diagram of the light curtain emitting end of the present invention;
fig. 2 is a schematic connection diagram of the light curtain receiving end of the present invention;
FIG. 3 is a schematic circuit diagram of the MCU chip of the present invention;
fig. 4 is a schematic circuit diagram of the transmission reset circuit and the reception reset circuit of the present invention;
fig. 5 is a schematic circuit diagram of the transmitting power chip and the receiving power chip of the present invention;
fig. 6 is a schematic circuit diagram of the serial-to-parallel conversion circuit of the present invention;
fig. 7 is a schematic circuit diagram of the logic circuit, the emitting transistor and the infrared emitting diode of the present invention;
FIG. 8 is a schematic circuit diagram of the MCU receiving chip of the present invention;
fig. 9 is a circuit schematic diagram of a parallel-to-serial conversion circuit according to the present invention;
fig. 10 is a schematic circuit diagram of the infrared receiving transistor of the present invention;
fig. 11 is a schematic diagram of the circuit of the photoelectric coupler and the connecting transistor of the present invention.
Description of reference numerals: the light curtain comprises a light curtain transmitting end 100, a transmitting MCU chip 110, a logic circuit 120, a transmitting triode 130, an infrared transmitting diode 140, a transmitting reset circuit 150, a light curtain receiving end 200, a receiving MCU chip 210, a parallel-to-serial conversion circuit 220, an infrared receiving triode 230, a photoelectric coupler 240, a connecting triode 250 and a receiving reset circuit 260.
Detailed Description
The present invention will be further described with reference to the accompanying drawings.
As shown in fig. 1 to 11, an ultra-thin, optical synchronization light curtain control circuit based on MCU core includes a light curtain transmitting end 100 and a light curtain receiving end 200, where the light curtain transmitting end 100 includes a transmitting MCU chip 110, a logic circuit 120 connected to the transmitting MCU chip 110, a transmitting triode 130 connected to the logic circuit 120, and an infrared emitting diode 140 connected to the transmitting triode 130; the light curtain transmitting end 100 is further provided with a transmitting reset circuit 150; the light curtain receiving end 200 includes a receiving MCU chip 210, a parallel-to-serial conversion circuit 220 connected to the receiving MCU chip 210, an infrared receiving triode 230 connected to the parallel-to-serial conversion circuit 220, a photoelectric coupler 240 connected to the receiving MCU chip 210, a connecting triode 250 connected to the photoelectric coupler 240, and a receiving reset circuit 260 connected to the receiving MCU chip 210.
The light curtain transmitting end 100 is provided with a transmitting power supply chip, and the further improvement is that the light curtain receiving end 200 is provided with a receiving power supply chip for power supply control of the light curtain through the power supply chip.
The transmitting MCU chip 110 is further connected with a transmitting LED lamp, and the receiving MCU chip 210 is further connected with a receiving LED lamp for indicating the LED lamp.
The transmitting MCU chip 110 is further connected with a transmitting crystal oscillator, and the further improvement is that the receiving MCU chip 210 is further connected with a receiving crystal oscillator, so that the stability of signals can be effectively improved through the crystal oscillator.
The transmitting MCU chip 110 is connected with a serial-to-parallel conversion circuit, the serial-to-parallel conversion circuit is connected with the logic circuit 120, the logic circuit 120 is a nand gate, and the nand gate is a basic logic circuit 120 of the digital circuit. Is a superposition of an AND gate and an NOT gate, having a plurality of inputs and an output.
The connecting triode is connected with the PLC, so that intelligent control of the equipment is conveniently realized.
The utility model discloses an ultra-thin, the light synchronization light curtain of MCU core. The transmitting and receiving synchronous light curtain eliminates the traditional synchronous line, and can solve the problem that the synchronous line is subjected to electromagnetic interference of equipment to cause synchronization failure. Specifically, a light curtain transmitting end 100 and a light curtain receiving end 200 are provided, the light curtain transmitting end 100 includes a transmitting MCU chip 110, a logic circuit 120 connected to the transmitting MCU chip 110, a transmitting triode 130 connected to the logic circuit 120, and an infrared emitting diode 140 connected to the transmitting triode 130; the light curtain transmitting end 100 is further provided with a transmitting reset circuit 150; the light curtain receiving end 200 includes a receiving MCU chip 210, an infrared receiving triode 230 connected to the parallel-to-serial conversion circuit 220, a photoelectric coupler 240 connected to the receiving MCU chip 210, a connecting triode 250 connected to the photoelectric coupler 240, and a receiving reset circuit 260 connected to the receiving MCU chip 210. In the working process, the transmitting end MCU sends the coded data to the serial-to-parallel conversion circuit according to the programmed sequence, the parallel output signal is inverted with the phase of the carrier signal provided by the MCU again, and the triode is driven to drive the infrared emitting diode 140 to emit the corresponding infrared signal.
The above-mentioned embodiments only represent some embodiments of the present invention, and the description thereof is specific and detailed, but not to be construed as limiting the scope of the present invention. It should be noted that, for those skilled in the art, without departing from the spirit of the present invention, several variations and modifications can be made, which are within the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the appended claims.