Safety light curtain
阅读说明:本技术 一种安全光幕 (Safety light curtain ) 是由 邓志才 陈坤速 于 2019-10-22 设计创作,主要内容包括:本发明提供了一种安全光幕,包括红外发射器和红外接收器,红外发射器包括第一电源模块和发射模块,红外接收器包括依次相连的第二电源模块、信号接收及处理模块和双通道控制模块,每路控制模块均包括有控制MCU、输出控制电路和输出检测电路,两路控制MCU均连接于信号接收及处理模块,两路控制MCU分别连接于相应通道的输出控制电路以向输出控制电路输出控制信号,每路输出检测电路分别连接于相应通道的输出控制电路和控制MCU,以使每路通道通过输出检测电路对输出控制电路进行故障检测并反馈至相应的控制MCU。本发明能够实现有效的控制和诊断功能;从检测到输出都是双路自检和互检,单个元件的失效不会导致安全功能的丧失,保证安全。(The invention provides a safety light curtain which comprises an infrared transmitter and an infrared receiver, wherein the infrared transmitter comprises a first power supply module and a transmitting module, the infrared receiver comprises a second power supply module, a signal receiving and processing module and a dual-channel control module which are sequentially connected, each control module comprises a control MCU, an output control circuit and an output detection circuit, the two control MCUs are connected with the signal receiving and processing module, the two control MCUs are respectively connected with the output control circuit of a corresponding channel to output control signals to the output control circuit, and each output detection circuit is respectively connected with the output control circuit and the control MCU of the corresponding channel, so that each channel can detect faults of the output control circuit through the output detection circuit and feed back the faults to the corresponding control MCU. The invention can realize effective control and diagnosis functions; the output is detected to be double-path self-checking and mutual checking, the failure of a single element cannot cause the loss of the safety function, and the safety is ensured.)
1. A safety light curtain comprises an infrared transmitter (1) and an infrared receiver (2), wherein the infrared transmitter (1) comprises a first power module (11) and a transmitting module for transmitting infrared signals, and is characterized in that the infrared receiver (2) comprises a second power module (21), a signal receiving and processing module and a double-channel control module which are sequentially connected, each control module comprises a control MCU (22), an output control circuit (23) and an output detection circuit (26), the two control MCUs (22) are connected with the signal receiving and processing module, the two control MCUs (22) are respectively connected with the output control circuit (23) of the corresponding channel to output control signals to the output control circuit (23), and each output detection circuit (26) is respectively connected with the output control circuit (23) and the control MCU (22) of the corresponding channel, so that each channel can detect the fault of the output control circuit (23) through the output detection circuit (26) and feed back the fault to the corresponding control MCU (22).
2. The safety light curtain according to claim 1, wherein the output control circuit (23) comprises a first MOS transistor and a driving circuit for driving the first MOS transistor, and the control signal of the control MCU (22) is output to the driving circuit.
3. The safety light curtain of claim 2, wherein the voltage monitoring terminals of the two control MCUs (22) are respectively connected to the comparison circuit to respectively monitor the two control MCUs (22) for undervoltage and overvoltage, the comparison circuit connects the voltage monitoring output terminals of the two control MCUs (22) to the and circuit, and the output terminals of the and circuit are respectively connected to the two driving circuits of the two channel control module to realize the safety output of the two output control circuits (23) through the undervoltage and overvoltage signals of any control MCUs (22).
4. The safety light curtain of claim 3, wherein the two control MCUs (22) are connected to watchdog circuits respectively connected to the respective channels, and the two watchdog circuits are respectively connected to the corresponding channel driving circuits to realize the safety output to the corresponding output control circuits (23) through the watchdog circuits;
the two paths of control MCUs (22) are respectively connected with unloading control modules of respective channels, each unloading control module comprises a second MOS (metal oxide semiconductor) tube, and the second MOS tubes are bidirectionally connected with the control MCUs (22) of the corresponding channels so that the corresponding control MCUs (22) can carry out unloading control output self-checking.
5. The safety light curtain of claim 1, wherein the two control MCUs (22) are connected through parallel port communication for information exchange and two-way mutual detection, and a display module (27) is connected to the parallel port.
6. The safety light curtain according to any one of claims 2 to 5, wherein the transmitting module comprises a transmitting MCU (12) and a transmitting signal processing circuit (13) connected to the transmitting MCU (12), the transmitting signal processing circuit (13) is connected with a signal transmitting circuit (14), and a clock end of the signal transmitting circuit (14) is connected to the transmitting MCU (12) to control the start of transmission through the transmitting MCU (12).
7. A safety light curtain as claimed in claim 6, characterised in that the signal transmission circuit (14) comprises a plurality of emitting chips, each emitting chip having a plurality of light emitting diodes connected thereto for transmitting the emission signals in the form of infrared signals through the light emitting diodes;
and the transmitting MCU (12) outputs a preset code for each light emitting diode through the transmitting signal processing circuit (13) so that the transmitting signal processing circuit (13) transmits infrared signals in a light code form.
8. The safety light curtain of claim 7, wherein the clock terminal of each emitting chip is connected to the emitting MCU (12), the emitting chips are connected in cascade by means of connection of Do and Di, and the Di terminal of the first emitting chip and the Do terminal of the last emitting chip are connected to the emitting MCU (12) through the period scanning module (15) to perform control and monitoring of the cycle period through the emitting MCU (12).
9. The safety light curtain according to claim 8, wherein the signal receiving and processing module comprises a signal receiving circuit (24) and a received signal processing circuit (25), the signal receiving circuit (24) comprises a plurality of receiving chips for receiving infrared signals, the output ends of the receiving chips are connected to the received signal processing circuit (25), the received signal processing circuit (25) comprises a trigger signal processing circuit and a serial signal processing single chip microcomputer which are connected in sequence, and the trigger signal processing circuit and the serial signal processing single chip microcomputer are connected to the two MCUs to output trigger signals to the two control MCUs (22) and output the trigger signals in parallel.
10. The safety light curtain of claim 9, wherein the clock terminals of the plurality of receiving chips are connected to the two control MCUs (22), and one control MCU (22) provides a clock signal, and the other control MCU (22) monitors;
the receiving chips are connected in cascade in a Do and Di connection mode, and the Di end of the first receiving chip is connected to at least one of the two paths of control MCUs (22) so as to control the beginning of a receiving period through the control MCU (22).
Technical Field
The invention belongs to the technical field of safety light curtains, and particularly relates to a safety light curtain.
Background
The safety light curtain is composed of an infrared transmitter and an infrared receiver, the infrared transmitter and the infrared receiver are respectively installed on two sides of a shielding door or an elevator door, an equipment door and the like, the infrared transmitter can transmit infrared detection light beams, and the infrared receiver receives signals. When an object blocks the shielding door, the infrared receiver can not detect the light beam signal emitted by the emitter, and the light beam signal can be fed back to the control unit, and the control unit outputs a control signal to act, such as enabling the shielding door which is being closed to be opened reversely.
If the output control unit of the light curtain breaks down, the malfunction of the shielding door can not be reversed and opened in time, which causes danger and the like. The existing light curtain product cannot realize effective real-time self-checking and output control, and needs to be improved to improve safety and reliability.
Disclosure of Invention
The invention aims to solve the technical problems and provide a safety light curtain with a dual-channel control function.
In order to achieve the purpose, the invention adopts the following technical scheme:
the safety light curtain is characterized in that the infrared receiver comprises a second power module, a signal receiving and processing module and a double-channel control module which are sequentially connected, each control module comprises a control MCU, an output control circuit and an output detection circuit, the two control MCUs are connected to the signal receiving and processing module, the two control MCUs are respectively connected to the output control circuit of the corresponding channel to output control signals to the output control circuit, and each output detection circuit is respectively connected to the output control circuit and the control MCU of the corresponding channel, so that each channel can detect faults of the output control circuit through the output detection circuit and feed back the faults to the corresponding control MCU.
In the above safety light curtain, the output control circuit includes a first MOS transistor and a driving circuit for driving the first MOS transistor, and the control signal of the control MCU is output to the driving circuit.
In foretell safety light curtain, the voltage monitoring end of two way control MCU connects respectively in comparison circuit in order to carry out undervoltage and overvoltage monitoring respectively to two way control MCU, just comparison circuit links to each other through AND gate to two way control MCU's voltage monitoring output, AND gate's output is connected to two drive circuit of binary channels control module respectively in order to realize the safe output to two way output control circuit through arbitrary control MCU's undervoltage overvoltage signal.
In the above-mentioned safety light curtain, the two control MCU connections are respectively connected with the watchdog circuit of each channel, and the two watchdog circuits are respectively connected with the corresponding channel driving circuit to realize the safety output to the corresponding output control circuit through the watchdog circuit.
In the above safety light curtain, the two control MCUs are respectively connected with the unloading control modules of their respective channels, each unloading control module includes a second MOS transistor, and the second MOS transistors are bidirectionally connected to the control MCUs of the corresponding channels so that the corresponding control MCUs perform unloading control output self-checking.
In the above-mentioned safety light curtain, through parallel port communication connection in order to carry out information exchange and double-circuit mutual detection between two control MCU, just parallel port department is connected with display module.
In the above safety light curtain, the emission module includes an emission MCU and an emission signal processing circuit connected to the emission MCU, the emission signal processing circuit is connected to a signal transmission circuit, and a clock end of the signal transmission circuit is connected to the emission MCU to control the start of emission through the emission MCU.
In the above safety light curtain, the signal transmission circuit includes a plurality of emission chips, each emission chip is connected with a plurality of light emitting diodes to transmit the emission signal in the form of an infrared signal through the light emitting diode;
and the transmitting MCU outputs preset codes for each light emitting diode through the transmitting signal processing circuit so that the transmitting signal processing circuit transmits infrared signals in a light coding mode.
In the above safety light curtain, the clock end of each emission chip is connected to the emission MCU, the emission chips are connected in cascade via Do and Di, and the Di end of the first emission chip and the Do end of the last emission chip are connected to the emission MCU via the period scanning module to perform control and monitoring of the cycle period via the emission MCU.
In foretell safety light curtain, signal reception and processing module includes signal reception circuit and received signal processing circuit, signal reception circuit includes a plurality of receiving chips that are used for receiving infrared signal, receiving chip's output all connects in received signal processing circuit, received signal processing circuit is including consecutive trigger signal processing circuit and serial signal processing singlechip, trigger signal processing circuit and serial signal processing singlechip all connect in two ways MCU in order to carry out trigger signal and carry out parallel output to two way control MCU output.
In the safety light curtain, the clock ends of a plurality of receiving chips are connected with two paths of control MCUs, one path of the control MCU provides a clock signal, and the other path of the control MCU monitors;
the plurality of receiving chips are connected in cascade in a Do and Di connection mode, and the Di end of the first receiving chip is connected to at least one of the two paths of control MCUs so as to control the start of a receiving period through the control MCU.
The invention has the advantages that: the effective control and diagnosis functions can be realized by using a double-channel real-time diagnosis mode; the detected output is double-path self-checking and mutual-checking, the failure of a single element cannot cause the loss of the safety function, and the safety system can detect the failure when or before the next operation is carried out; the emitted light is designed into a coded signal, the capacity of resisting external light interference and the capacity of resisting EMC interference are improved, the system precision is also improved, and the system has stronger electromagnetic compatibility capability by matching with other conventional EMC measures.
Drawings
FIG. 1 is a block diagram of the circuit structure of the safety light curtain of the present invention;
FIG. 2 is a schematic block diagram of the emission of the safety light curtain of the present invention;
FIG. 3 is a timing diagram of the emission of the safety light curtain of the present invention;
FIG. 4 is a schematic block diagram of the reception of the safety light curtain of the present invention;
FIG. 5 is a timing diagram of the reception of the safety light curtain of the present invention;
FIG. 6 is a schematic diagram of the output control of the safety light curtain of the present invention;
fig. 7 is a flow chart of the safety light curtain program control of the present invention.
Reference numerals: an
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, this embodiment discloses a safety light curtain, including
Specifically, as shown in fig. 2 and 3, the
Preferably, the transmitting MCU12 outputs a preset code of a certain length for each light emitting diode through the transmitting
The clock end of each emission chip is connected to the emission MCU12, the emission chips are connected in cascade in a manner that Do and Di are connected, and the Di end of the first emission chip and the Do end of the last emission chip are connected to the emission MCU12 through the
Specifically, the emission principle of the present embodiment is described here by taking three emission chips, i.e., IC driver1, IC driver2, and IC driver13, as an example:
fig. 2 and 3 are a schematic block diagram and a timing diagram respectively illustrated by three emitting chips, i.e., an IC driver1, an IC driver2, and an
The main diagnostic measures of the
Preferably, the
Further, as shown in fig. 1, 4 and 5, the two
Further, two
As shown in fig. 6, the
Further, the two
Further, the two
In addition, the
Specifically, as shown in fig. 4, the
Furthermore, the clock ends of the multiple receiving chips are connected to the two paths of
The receiving principle of the present embodiment will be explained based on the foregoing explanation of the transmitting principle of the three transmitting chips:
as shown in fig. 4 and 5, similar to the transmission, the receiving chips IC 1-ICn are cascade-connected to sequentially and circularly receive the photocurrent signal of the light emitting diode, and the receiving operation is controlled by Di and CLK, here, for convenience of description, two
The
Output control principle of the present embodiment:
as shown in fig. 6, the output is a dual-channel output of cat.4 architecture, and the dual-channel control module controls the output of the overvoltage/undervoltage determination signal, the OSSD output control circuit, and the dongle monitoring circuit. The control process of the OSSD is a dynamic real-time monitoring process: during normal operation, a short signal change is made, here by a short circuit of 50us being output to the discharge control module, and by determining whether there is a current output, to check whether the circuit is intact or faulty.
The MCU1 and the MCU2 jointly output dynamic signals for voltage detection, overvoltage and undervoltage judgment signals and WDT output control OSSD output MOS tubes Q17 and Q11, and two I/O ports of the MCU1 respectively control an OSSD1 output control MOS tube Q17 and an OSSD1 unloading MOS tube Q20. The control WDT output of the MOS transistor Q17 has a priority control right, the over-voltage and under-voltage judgment signal has a second priority control right, and the
Preferably, the first
In order to save control resources, improve the stability of a circuit, reduce the volume of hardware and realize serial cyclic control of transmission and reception, a special transmission chip iC-NXL and a special reception chip iC-NK of iC-Haus are respectively selected for transmission and reception, and shift registers contained in the two special chips can realize the one-by-one work of the chips and the one-by-one transmission and reception of signals through CLK clock signals. The chips are connected in cascade in a Do and Di connection mode, the transmitting chip and the receiving chip finish transmitting and receiving work when CLK and Di ends of the chips are at low level respectively, and switching of transmitting channels or chips of a Lamp (LED) is finished through a rising edge and a falling edge of CLK, so that the cyclic work can be controlled only by providing a clock signal and a Di signal.
The software design method of the embodiment is as follows:
the control system software comprises a transmitting control program and a receiving control program, and is realized in a Keil environment by adopting C language.
The most critical in software design is how to achieve synchronous operation of transmission and reception. As shown in fig. 7, after initialization, the
In the
The
The specific embodiments described herein are merely illustrative of the spirit of the invention. Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.
Although
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种电磁干扰屏蔽装置