CN210640867U - Conversion device and system for infrared photoelectric switch signals - Google Patents

Conversion device and system for infrared photoelectric switch signals Download PDF

Info

Publication number
CN210640867U
CN210640867U CN201922271852.5U CN201922271852U CN210640867U CN 210640867 U CN210640867 U CN 210640867U CN 201922271852 U CN201922271852 U CN 201922271852U CN 210640867 U CN210640867 U CN 210640867U
Authority
CN
China
Prior art keywords
port
resistor
photoelectric switch
input port
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201922271852.5U
Other languages
Chinese (zh)
Inventor
肖国庆
陈志金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jiayu Mechatronic Co ltd
Original Assignee
Shenzhen Jiayu Mechatronic Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jiayu Mechatronic Co ltd filed Critical Shenzhen Jiayu Mechatronic Co ltd
Priority to CN201922271852.5U priority Critical patent/CN210640867U/en
Application granted granted Critical
Publication of CN210640867U publication Critical patent/CN210640867U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Electronic Switches (AREA)

Abstract

The utility model provides a conversion equipment and system of infrared photoelectric switch signal relates to floodgate machine technical field. The device includes: input port, detection circuitry, treater, converting circuit, output port and communication port, wherein: the input port is connected with the infrared photoelectric switch; the processor is respectively connected with the input port and the output end of the conversion circuit through a detection circuit, and the detection circuit is used for detecting signals of the input port and the output end of the conversion circuit; the input end of the conversion circuit is connected with the input port, the output end of the conversion circuit is also connected with the output port, and the conversion circuit is used for converting the received infrared photoelectric switch signal into a signal of a signal type matched with the gate controller and outputting the converted signal through the output port; the processor is connected with the gate controller through the communication port, and the gate controller is also connected with the output port. Use the embodiment of the utility model provides a, can accurately judge pedestrian's current state.

Description

Conversion device and system for infrared photoelectric switch signals
Technical Field
The utility model relates to a floodgate machine technical field particularly, relates to a conversion equipment and system of infrared photoelectric switch signal.
Background
The gate is a channel blocking device, is used for managing pedestrian flow and standardizing pedestrian access, and is mainly applied to a subway gate system and a charging and ticket checking system. The sensor on the floodgate machine generally adopts infrared photoelectric switch, and for high-end floodgate machine, usually will adopt more than 10 pairs of infrared photoelectric switches, and the controller on the floodgate machine passes through the processing to infrared photoelectric switch signal, judges pedestrian's current state.
Currently, an infrared switch in the gate can be connected with a processor, the processor detects a signal output by the infrared switch and informs a gate controller of the detected signal, and the gate controller judges the pedestrian passing state based on the detected signal.
However, when the processor does not detect the signal, or the processor detects that the signal is not matched with the signal type of the gate controller, the gate controller cannot accurately judge the passing state of the pedestrian.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to the not enough among the above-mentioned prior art, provide an infrared photoelectric opens conversion equipment and system of light signal, can accurately judge pedestrian's current state.
In order to achieve the above object, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a conversion device for infrared photoelectric switch optical signals, including: input port, detection circuitry, treater, converting circuit, output port and communication port, wherein:
the input port is connected with the infrared photoelectric switch and used for receiving a signal output by the infrared photoelectric switch;
the processor is respectively connected with the input port and the output end of the conversion circuit through the detection circuit, and the detection circuit is used for detecting signals of the input port and the output end of the conversion circuit;
the input end of the conversion circuit is connected with the input port, the output end of the conversion circuit is also connected with the output port, and the conversion circuit is used for converting the received infrared photoelectric switch signal into a signal of a signal type matched with a gate controller and outputting the converted signal through the output port;
the processor is connected with the gate controller through the communication port, and the gate controller is further connected with the output port.
Further, the input port includes: an NPN input port and a PNP input port; the output port includes: an NPN output port and a PNP output port;
the conversion circuit includes: a first conversion circuit; the NPN input port is connected with the PNP output port through the first conversion circuit;
the conversion circuit further includes: a second conversion circuit; the PNP input port is connected with the NPN output port through the second conversion circuit.
Further, the first conversion circuit includes: PNP type triode, first resistance, second resistance and third resistance, wherein:
the base electrode of the PNP type triode is connected with one end of the second resistor, the other end of the second resistor is connected with the NPN input port and one end of the first resistor, the emitting electrode of the PNP type triode is connected with the power supply end, the power supply end is connected with the other end of the first resistor, the collecting electrode of the PNP type triode is respectively connected with the PNP output port and one end of the third resistor, and the other end of the third resistor is grounded.
Further, the second conversion circuit includes: NPN type triode, first resistance, fourth resistance, fifth resistance, wherein:
a base electrode of the NPN type triode is connected with one end of the fourth resistor and one end of the fifth resistor respectively, the other end of the fourth resistor is connected with the PNP input port, the other end of the fifth resistor is grounded with an emitter of the NPN type triode respectively, a collector of the NPN type triode is connected with one end of the first resistor and the NPN output port respectively, and the other end of the first resistor is connected with a power supply end.
Further, the detection circuit includes:
the diodes are connected in parallel, anodes of the diodes are connected with the processor, and cathodes of the diodes are connected with the NPN input port, the NPN output port and one end of the first resistor respectively.
Furthermore, the power supply end and the infrared photoelectric switch share the same direct-current power supply.
Further, the communication port transmits the state data detected by the processor to the gate controller in a 485 communication mode.
Further, the conversion apparatus further includes: the processor is connected with the dial switch, and the dial switch is used for setting a communication address of the processor.
In a second aspect, the present invention also provides a gate controller system, including: a gate controller, a gate, an infrared photoelectric switch and the switching device of the first aspect; the gate controller is connected with the gate, the infrared photoelectric switch is connected with the input port in the conversion device, and the gate controller is also connected with the communication port and the output port in the conversion device respectively.
The utility model has the advantages that:
the embodiment of the utility model provides a conversion equipment and system of infrared photoelectric switch signal, the detection circuit that both can pass through the treater connection detects the signal of infrared photoelectric switch input, transmits the signal that detects to the floodgate machine controller through the communication port for the floodgate machine controller carries out the control of switching on and switching off to the floodgate machine; still can carry out type conversion to the signal of infrared photoelectric switch input through converting circuit to the signal of the matching signal type that converts into the floodgate machine controller, make the floodgate machine controller carry out the control of switching on and off the floodgate machine, thereby make the floodgate machine controller can carry out the control of switching on and off the floodgate machine based on the signal of multiple passageway output, no matter whether the signal of infrared photoelectric switch input matches with the floodgate machine controller, also no matter whether the treater can acquire detection circuitry's detected signal, all can realize the control to the floodgate machine, thereby make the current state of judgement pedestrian that the floodgate machine controller can be accurate.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a signal conversion device of an infrared photoelectric switch according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of another signal conversion device for an infrared photoelectric switch according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a first conversion circuit and a detection circuit according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a second conversion circuit and a detection circuit according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a conversion circuit and a detection circuit according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another infrared photoelectric switch signal conversion device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a processor detecting an infrared photoelectric switch signal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a gate control system according to an embodiment of the present invention.
Icon: 100-infrared photoelectric switch; 200-a conversion device; 101-an input port; 102-a detection circuit; 103-a processor; 104-a communication port; 202-a conversion circuit; 203-output port; 300-a gate controller; 400-a gate; 110-NPN input port; 111-PNP input port; 220-a first conversion circuit; 221-a second conversion circuit; 230-NPN output port; 231-PNP output port; Q1-PNP type triode; r1 — first resistance; r2 — second resistance; r3 — third resistance; r6-sixth resistance; d1-multiple diodes in parallel; c1-capacitance; HWN-detection port; VCC 1-power supply terminal 1; VCC 2-power supply terminal 2; GND-ground; Q2-NPN type triode; r4-fourth resistor; r5-fifth resistor; 150-a dial switch; 1-a first pin; 2-a second pin; 4-a fourth pin; 5-a fifth pin; 14-fourteenth pin; 8 to 13-eighth to thirteenth pins; 15 to 19-fifteenth pin to nineteenth pin; 20-twentieth pin; 21-twenty-first pin; 28-twenty eighth pin; HW 1-detection port 1; HW2 to HW 7-detect port 2 to detect port 7; HW8 to HW 12-detection port 8 to detection port 17.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the accompanying drawings, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts belong to the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Fig. 1 is a schematic structural diagram of a conversion device for infrared photoelectric switch signals according to an embodiment of the present invention, as shown in fig. 1, the conversion device 200 includes: input port 101, detection circuit 102, processor 103, conversion circuit 202, output port 203 and communication port 104, wherein:
input port 101 is connected to infrared photoelectric switch 100, and is configured to receive a signal output by infrared photoelectric switch 100;
the processor 103 is connected to the input port 101 and the output end of the conversion circuit 202 through the detection circuit 102, and the detection circuit 102 is used for detecting signals at the input port 101 and the output end of the conversion circuit 202;
the input end of the conversion circuit 202 is connected with the input port 101, the output end of the conversion circuit 202 is also connected with the output port 203, and the conversion circuit 202 is used for converting the received infrared photoelectric switch signal into a signal of a signal type matched with the gate controller 300 and outputting the converted signal through the output port 203;
the processor 103 is connected to the gate controller 300 through the communication port 104, and the gate controller 300 is further connected to the output port 203.
Specifically, the infrared photoelectric switch 100 may input the output infrared photoelectric switch signal to the detection circuit 102 through the input port 101 of the switching device 200, or may input the output infrared switch signal to the switching circuit 202, and the output end of the switching circuit 202 may input the converted signal to the detection circuit 102. The processor 103 can detect the state of the infrared photoelectric switch signal through the output end of the detection circuit 102, the processor 103 can transmit the detected state of the infrared photoelectric switch signal to the gate controller 300 through the communication port 104, and the gate controller 300 analyzes the received state of the infrared photoelectric switch signal and sends a control signal for switching on or switching off.
The input end of the conversion circuit 202 is connected to the input port 101 of the conversion device 200, the output end of the conversion circuit 202 is connected to the output port 203 of the conversion device 200 and the detection circuit 102, the conversion circuit 202 can convert the ir photoelectric switch signal accessed from the input port 101 into a signal type matched with the input port of the gate controller 300, and transmit the converted signal to the gate controller 300 through the output port 203, and the gate controller 300 analyzes the state of the received ir photoelectric switch signal and sends a control signal for switching on or switching off.
By adopting the conversion device for the infrared photoelectric switching signal shown in fig. 1, a detection circuit connected with a processor can be used for detecting a signal input by the infrared photoelectric switch, and the detected signal is transmitted to the gate controller through a communication port, so that the gate controller can control the switching on and off of the gate; the type conversion can be carried out on the signal input by the infrared photoelectric switch through the conversion circuit so as to convert the signal into a signal matched with the signal type of the gate controller, the gate controller can control the opening and closing of the gate, and the gate controller can control the opening and closing of the gate based on the signal output by various channels.
Fig. 2 is a schematic structural diagram of another infrared photoelectric switch signal conversion apparatus provided in an embodiment of the present invention, as shown in fig. 2, an input port 101 includes: an NPN input port 110 and a PNP input port 111; the output port 203 includes: an NPN output port 230 and a PNP output port 231.
The conversion circuit 202 includes: a first conversion circuit 220; the NPN input port 110 is connected to the PNP output port 231 through the first conversion circuit 220.
Further, the conversion circuit 202 further includes: a second conversion circuit 221; the PNP input port 111 is connected to the NPN output port 230 through the second conversion circuit 221.
Specifically, the infrared photoelectric on/off signal generally outputs two types of signals, which are respectively an NPN type and a PNP type, and when the gate controller needs a PNP type infrared photoelectric switch signal, the NPN type infrared photoelectric switch signal can be firstly connected to the NPN input port 110, and then converted into a PNP type infrared photoelectric switch signal by the first conversion circuit 220, and then the PNP type infrared photoelectric switch signal is output from the PNP output port 231; when the gate controller needs the NPN-type infrared photoelectric switch signal, the PNP-type infrared photoelectric switch signal may be first connected to the PNP input port 111, and then converted into the NPN-type infrared photoelectric switch signal by the second conversion circuit 221, and then the NPN-type infrared photoelectric switch signal is output from the NPN output port 230. Through converting circuit 202, can convert NPN type infrared photoelectric switch signal into PNP type infrared photoelectric switch signal, also can convert PNP type infrared photoelectric switch signal into NPN type infrared photoelectric switch signal, so no matter what type of infrared photoelectric switch signal is matchd to floodgate controller 300, all can connect through output port 203, make the floodgate can normally work.
Fig. 3 is a schematic structural diagram of a first conversion circuit and a detection circuit provided in an embodiment of the present invention, including a PNP type triode Q1, a first resistor R1, a second resistor R2, a third resistor R3, and a plurality of parallel diodes D1, a sixth resistor R6, a capacitor C1, a detection port HWN, and a ground terminal GND, wherein:
the base of the PNP transistor Q1 is connected to one end of the second resistor R2, the other end of the second resistor R2 is connected to the NPN input port 110 and one end of the first resistor R1, the emitter of the PNP transistor Q1 is connected to the power supply terminal VCC1, the power supply terminal 1VCC1 is connected to the other end of the first resistor R1, the collector of the PNP transistor is connected to the PNP output port 231 and one end of the third resistor R3, the other end of the third resistor R3 is grounded, the anodes of the diodes D1 are connected to the detection port HWN of the processor, one end of the capacitor C1 and one end of the sixth resistor R6, the other end of the sixth resistor R6 is connected to the power supply terminal 2VCC2, the other end of the capacitor C1 is grounded, and the cathodes of the diodes D1 are connected to the NPN input port 110 and one end of the first resistor R1.
The power supply terminal 1VCC1 may be 12V or 24V, which is not limited herein, and the power supply terminal 2VCC2 may be 5V, which is used as a working power supply of the processor, and this is not limited herein, as long as the voltage provided by the power supply terminal 2VCC2 is less than the voltage provided by the power supply terminal 1VCC1, assuming that the power supply terminal 1VCC1 is 12V and the power supply terminal 2VCC2 is 5V, for example, when the infrared photoelectric switch type is normally-on and no person passes through, at this time, the infrared photoelectric switch signal is in a high impedance state, the NPN input port 110 is suspended, the PNP triode Q1 is not turned on, the PNP output port 231 outputs a low level, and the gate controller can determine that there is no person at this time according to the state of the received signal, because the first resistor R1 is a pull-up resistor, the voltage at the right ends of the multiple diodes D1 connected in parallel is 12V, the sixth resistor R6 is also a pull-up resistor, so that the voltage at the left end of the multiple, then the diodes D1 are not conducted at this time, the detection port HWN detects a high level, and the gate controller can also determine that no person is at the infrared photoelectric switch at this time according to the signal state; when the infrared photoelectric switch type is a normally open type and a pedestrian passes through, at this time, an infrared photoelectric switch signal is at a low level, the NPN input port 110 inputs the low level, the base of the PNP triode Q1 has current flowing, the PNP triode Q1 is turned on, the PNP output port 231 outputs the high level, the gate controller can determine that the infrared photoelectric switch is at the current moment according to the received signal state, because the first resistor R1 is a current-limiting resistor at this time, the voltage at the right end of the plurality of diodes D1 connected in parallel is close to 0V, the sixth resistor R6 is a pull-up resistor, the voltage at the left end of the plurality of diodes D1 is 5V, the plurality of diodes D1 are turned on in the forward direction at this time, the detection port HWN detects the low level, and the gate controller can also determine that the infrared photoelectric switch is at the current moment according to the received signal state.
Fig. 4 is a schematic structural diagram of a second conversion circuit and a detection circuit provided in an embodiment of the present invention, including an NPN type triode Q2, a first resistor R1, a fourth resistor R4, a fifth resistor R5, and a plurality of diodes D1, a sixth resistor R6, a capacitor C1, a detection port HWN, and a ground terminal GND connected in parallel, wherein:
the base of the NPN transistor Q2 is connected to one end of the fourth resistor R4 and one end of the fifth resistor R5, respectively, the other end of the fourth resistor R4 is connected to the PNP input port 111, the other end of the fifth resistor R5 is connected to the ground of the emitter of the NPN transistor Q2, the collector of the NPN transistor Q2 is connected to the first resistor R1 and the NPN output port 230, respectively, the cathodes of the diodes D1 are connected to the NPN output port 230 and one end of the first resistor R1, respectively, and the connection relationship between the other same components is the same as that in fig. 3, which is not described herein again.
The power supply terminal 1VCC1 may be 12V or 24V, which is not limited herein, and the power supply terminal 2VCC2 may be 5V, which is used as a working power supply of the processor, and this is not limited herein, as long as the voltage provided by the power supply terminal 2VCC2 is less than the voltage provided by the power supply terminal 1VCC1, assuming that the power supply terminal 1VCC1 is 12V and the power supply terminal 2VCC2 is 5V, for example, when the infrared photoelectric switch type is normally-on and no person passes through, at this time, the infrared photoelectric switch signal is in a high impedance state, the PNP input port 111 is floating, the NPN type triode Q2 is not conducting, the NPN output port 230 outputs a high level, and the gate controller can determine that there is no person at this time according to the state of the received signal, because the first resistor R1 is a pull-up resistor, the voltage at the right ends of the plurality of diodes D1 connected in parallel is 12V, the sixth resistor R6 is also a pull-up resistor, so that the voltage at the left end of the, then the diodes D1 are not conducted at this time, the detection port HWN detects a high level, and the gate controller can also determine that no person is at the infrared photoelectric switch at this time according to the state of the received signal; when the infrared photoelectric switch type is a normally open type and a pedestrian passes through, at this time, an infrared photoelectric switch signal is at a high level, the PNP input port 111 inputs the high level, the base of the NPN triode Q2 has a current flowing through, at this time, the NPN triode Q2 is turned on, the NPN output port 230 outputs a low level, the gate controller can determine that the infrared photoelectric switch is at the current moment according to the received signal state, because the first resistor R1 is a current-limiting resistor at this time, the voltage at the right end of the plurality of diodes D1 connected in parallel is close to 0V, the sixth resistor R6 is a pull-up resistor, the voltage at the left end of the plurality of diodes D1 is 5V, the plurality of diodes D1 are turned on in the forward direction at this time, the detection port HWN detects the low level, and the gate controller can also determine that the infrared photoelectric switch is at this time according to the received signal state.
Further, in one embodiment, the power terminal 1VCC1 may also provide power to the infrared optoelectronic switch.
Fig. 5 is a schematic structural diagram of a conversion circuit and a detection circuit according to an embodiment of the present invention, the device names and connection relationships in the circuit diagram are the same as those in fig. 3 and fig. 4, but a general circuit diagram combining the first conversion circuit and the second conversion circuit is omitted here for brevity.
In the above-mentioned conversion device, further, a dial switch 150 is further included, as shown in fig. 6, which is a schematic structural diagram of another infrared photoelectric switch signal conversion device provided by the embodiment of the present invention;
specifically, for example, when the output signal of the infrared photoelectric switch is NPN type, the infrared photoelectric switch may input the NPN type signal output by the infrared photoelectric switch to the detection circuit 102 through the input port 101 of the conversion device, when the output signal of the infrared photoelectric switch is PNP type, the infrared photoelectric switch may input the PNP type signal output by the infrared photoelectric switch to the second conversion circuit 221 through the input port 101 of the conversion device, the second conversion circuit 221 transmits the converted signal to the detection circuit 102, the processor 103 may detect the states of various infrared photoelectric switch signals through the output port of the detection circuit 102, the state of the infrared photoelectric switch signal detected by the processor 103 transmits the signal state to the gate controller 300 through the communication port 104, the dial switch 150 is connected to the processor 103, and may set the communication address of the processor 103, the gate controller 300 analyzes the state of the received infrared photoelectric switch signal, and sending a control signal for switching on or switching off. The combination of the communication port 104 and the dial switch 150 transmits the infrared photoelectric switch signal to the gate controller 300 in a communication manner, so that the gate controller 300 can more accurately determine the passing state of the pedestrian.
For example, when one type of ports of the gate controller 300 receiving the ir photoelectric switch signal is damaged, the signal can be transmitted to the gate controller 300 in a communication manner to determine the passing state of the pedestrian, and when the number of ir photoelectric switches installed on the gate exceeds the number of ports on the gate controller 300, for example, when 20 ir photoelectric switches are installed on the gate and the gate controller 300 has only 12 ports for receiving the ir photoelectric switch signal, the ir photoelectric switch signal can also be transmitted to the gate controller 300 in a 485 communication manner, when the number of detection ports on one processor is less than 20, one processor can be connected again, the communication address of the corresponding processor is set through the dial switch 150, and finally the ir photoelectric switch signal is transmitted to the gate controller 300 through the communication port 104, the gate controller 300 analyzes the state of the received ir photoelectric switch signal, and a control signal for switching on or switching off is sent out, so that the condition that the pedestrian passing state cannot be accurately judged due to the condition is avoided.
Fig. 7 is a schematic structural diagram of a processor detecting an infrared photoelectric switch signal according to an embodiment of the present invention. Alternatively, as depicted in fig. 7, the processor may be an STC12C5201AD chip.
Specifically, when the processor is an STC12C5201AD chip, the first pin 1, the eighth pin 8 to the thirteenth pin 13, and the fifteenth pin 15 to the nineteenth pin 19 may respectively connect to the corresponding detection port 1HW1, the detection port 2HW2 to the detection port 7HW7, and the detection port 8HW8 to the detection port 12HW12, the second pin 2, the fourth pin 4, and the fifth pin 5 are 485 communication function pins, the twentieth pin 20 and the twenty-first pin 21 are connected to a dial switch, the twenty-eighth pin 28 is connected to a power supply of the chip, the fourteenth pin 14 is grounded, and other pin functions may refer to corresponding chip manuals.
By adopting the conversion device provided by the embodiment of the utility model, the detection circuit connected with the processor can detect the signal input by the infrared photoelectric switch and transmit the detected signal to the gate controller, so that the gate controller can control the switching on and off of the gate; still can carry out type conversion to the signal of infrared photoelectric switch input through converting circuit to the signal of the matching signal type that converts into the floodgate machine controller, make the floodgate machine controller carry out the control of switching on and off the floodgate machine, thereby make the floodgate machine controller can carry out the control of switching on and off the floodgate machine based on the signal of multiple passageway output, no matter whether the signal of infrared photoelectric switch input matches with the floodgate machine controller, also no matter whether the treater can acquire detection circuitry's detected signal, all can realize the control to the floodgate machine, thereby make the current state of judgement pedestrian that the floodgate machine controller can be accurate.
Fig. 8 is a schematic structural diagram of a gate control system according to an embodiment of the present invention. Comprises a gate controller 300, a gate 400, an infrared photoelectric switch 100 and a conversion device 200; the gate controller 300 is connected to the gate 400, the infrared photoelectric switch 100 is connected to the input port of the switching device 200, and the gate controller 300 is further connected to the communication port and the output port of the switching device 200, respectively.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. An apparatus for converting an infrared photoelectric switch signal, comprising: input port, detection circuitry, treater, converting circuit, output port and communication port, wherein:
the input port is connected with the infrared photoelectric switch and used for receiving a signal output by the infrared photoelectric switch;
the processor is respectively connected with the input port and the output end of the conversion circuit through the detection circuit, and the detection circuit is used for detecting signals of the input port and the output end of the conversion circuit;
the input end of the conversion circuit is connected with the input port, the output end of the conversion circuit is also connected with the output port, and the conversion circuit is used for converting the received infrared photoelectric switch signal into a signal of a signal type matched with a gate controller and outputting the converted signal through the output port;
the processor is connected with the gate controller through the communication port, and the gate controller is further connected with the output port.
2. The conversion apparatus of claim 1, wherein the input port comprises: an NPN input port and a PNP input port; the output port includes: an NPN output port and a PNP output port;
the conversion circuit includes: the NPN input port is connected with the PNP output port through the first conversion circuit;
the conversion circuit further includes: and the PNP input port is connected with the NPN output port through the first conversion circuit.
3. The conversion apparatus of claim 2, wherein the first conversion circuit comprises: PNP type triode, first resistance, second resistance and third resistance, wherein:
the base electrode of the PNP type triode is connected with one end of the second resistor, the other end of the second resistor is connected with the NPN input port and one end of the first resistor, the emitting electrode of the PNP type triode is connected with the power supply end, the power supply end is connected with the other end of the first resistor, the collecting electrode of the PNP type triode is respectively connected with the PNP output port and one end of the third resistor, and the other end of the third resistor is grounded.
4. The conversion apparatus of claim 2, wherein the second conversion circuit comprises: NPN type triode, first resistance, fourth resistance, fifth resistance, wherein:
a base electrode of the NPN type triode is connected with one end of the fourth resistor and one end of the fifth resistor respectively, the other end of the fourth resistor is connected with the PNP input port, the other end of the fifth resistor is grounded with an emitter of the NPN type triode respectively, a collector of the NPN type triode is connected with one end of the first resistor and the NPN output port respectively, and the other end of the first resistor is connected with a power supply end.
5. The conversion apparatus of claim 1, wherein the detection circuit comprises:
the positive electrodes of the diodes are connected with the processor, and the negative electrodes of the diodes are respectively connected with the NPN input port, the NPN output port and one end of the first resistor.
6. The conversion apparatus according to claim 3 or 4, wherein said power source terminal and said infrared photoelectric switch share the same DC power source.
7. The switching device of claim 1, wherein the communication port transmits status data detected by the processor to the gate controller using a 485 communication scheme.
8. The conversion apparatus of claim 1, further comprising: the processor is connected with the dial switch, and the dial switch is used for setting a communication address of the processor.
9. A gate control system, comprising: a gate controller, a gate, an infrared optoelectronic switch and a switching device according to any one of claims 1 to 8; the gate controller is connected with the gate, the infrared photoelectric switch is connected with the input port in the conversion device, and the gate controller is also connected with the communication port and the output port in the conversion device respectively.
CN201922271852.5U 2019-12-13 2019-12-13 Conversion device and system for infrared photoelectric switch signals Active CN210640867U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201922271852.5U CN210640867U (en) 2019-12-13 2019-12-13 Conversion device and system for infrared photoelectric switch signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201922271852.5U CN210640867U (en) 2019-12-13 2019-12-13 Conversion device and system for infrared photoelectric switch signals

Publications (1)

Publication Number Publication Date
CN210640867U true CN210640867U (en) 2020-05-29

Family

ID=70798975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201922271852.5U Active CN210640867U (en) 2019-12-13 2019-12-13 Conversion device and system for infrared photoelectric switch signals

Country Status (1)

Country Link
CN (1) CN210640867U (en)

Similar Documents

Publication Publication Date Title
CN208126373U (en) IIC fault detection response circuit and IIC bus system
US7836239B2 (en) Secured USB peripheral
US20040119517A1 (en) Can receiver wake-up circuit
US20060015670A1 (en) Apparatus for detecting connection of a peripheral unit to a host system
CN108982897B (en) Signal detection circuit, measuring device and gear speed measurement system
CN109309375A (en) One kind being based on monolithic processor controlled POE power supply system
CN202309677U (en) An input circuit capable of being compatible with the polarity of different signal levels
CN110890883A (en) Conversion device and system for infrared photoelectric switch signals
CN210640867U (en) Conversion device and system for infrared photoelectric switch signals
US10923945B2 (en) Mark and hold system and method
US7763874B2 (en) Signal detection circuit and signal detection method, and state detection circuit
US6212402B1 (en) System connector
US8097841B2 (en) Conversion circuit for converting data of signal line between an air-conditioner and a computer
CN216216832U (en) Dual-input signal synchronous detection circuit
JP2017041983A (en) Charging system
CN210428581U (en) Switching circuit who possesses MIPI screen interface and LVDS screen interface
CN208836279U (en) Light-source control system, camera module and electronic equipment
CN209046639U (en) A kind of data transmit-receive circuit and communication instrument
CN110009898B (en) Infrared receiving device and infrared receiving system
CN215894733U (en) Voltage signal detection circuit, power supply device and electric device
CN220709332U (en) Port state detection circuit and angular radar position detection system
KR20190018365A (en) Two line non-polar communication system
CN221103359U (en) POE power supply identification chip and POE power supply circuit
CN212539207U (en) Detection system
CN219351346U (en) Dual-battery switching circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant