AC/DC correlation photoelectric sensorTechnical field
The present invention relates to sensor, more particularly, relate to a kind of AC/DC correlation photoelectric sensor.
Background technology
In recent years, the high speed development that China's economy is advanced by leaps and bounds, the process of the modernization of industry and electronics and information industry increase with more than 20% speed continuous high speed, have driven the fast rise of transducer market.The application also rapid growth of sensor in the special electronic equipment such as medical treatment, environmental protection, meteorology, sensor used accounts for 15% left and right of the market share.Measuring distance, output type, the power supply type of different company's different industries to sensor simultaneously, heat-resisting quantity, lower temperature resistance etc. also has different demands, in order to drive the development of industrial automation, particularly important to the research and development of this respect sensor.
Take correlation photoelectric sensor as example, it is generally used for the sensing of existence, position encoded limit sensing, motion detection and counting.Typical case applies as grating scale, ATM cash dispenser, automatic vending machine, cashing machine, duplicating machine, printer, film sensing, the equipment such as level monitoring, parking stall monitoring, conveying belt control.At present, general correlation photoelectric sensor adopts transistor output, and measuring distance is short, and power supply type is single, AC power or direct supply, and output current is little.
In a word, current correlation photoelectric sensor is as signal perception device, its output current is little, power requirement is strict, power-efficient is generally very low, do not there is the driving force of larger electric current and voltage, can only meet signal input or drive the requirement of relay, can not meet simple control occasion and directly control, drive the requirement of consumer.
Summary of the invention
For the defect existing in prior art, the object of this invention is to provide a kind of AC/DC correlation photoelectric sensor, can AC and DC general, adopt Switching Power Supply to improve power-efficient, the way of output is built-in relay, be have power supply and output isolation, simultaneously often provide open, five line correlation photoelectric sensors of normally closed output.
For achieving the above object, the present invention adopts following technical scheme:
A kind of AC/DC correlation photoelectric sensor, comprises plastic casing, comprises power circuit, signal transmission circuit and receiver in described plastic casing, and described receiver comprises signal receiving circuit and output circuit; The input end of described output circuit is connected with the input end of signal receiving circuit;
Described power circuit is connected with signal transmission circuit, signal receiving circuit and output circuit respectively;
Between described signal transmission circuit and signal receiving circuit, set up light path.
Described power circuit comprises bridge rectifier diode and switching power source chip, and the input end of described bridge rectifier diode connects 24V~240V direct current or interchange, and the input end of described switching power source chip is connected with the output terminal of bridge rectifier diode.
Described signal transmission circuit comprises the first single-chip microcomputer, potentiometer, NPN type triode and a power valve, and described potentiometer is located between the first single-chip microcomputer and a NPN type triode, and the C utmost point of a described NPN type triode is connected with power valve.
The first operational amplifier, the second operational amplifier and second singlechip that described signal receiving circuit comprises receiving tube, is connected successively with receiving tube.
Described output circuit comprises relay, diode and the 2nd NPN type triode, and described the 2nd NPN type triode is connected with diode and relay successively.
Compared with prior art, adopt a kind of AC/DC correlation photoelectric sensor of the present invention, simple in structure, maximum detection distance, adjusting and antijamming capability are strong, can directly realize induction, control, drive, be mainly used in directly controlling the low cost control application places of output consumer etc., reduce application intermediate link, can save for user the cost of overall applicability scheme, be now widely used in parking stall monitoring trade.
Accompanying drawing explanation
Fig. 1 is the principle schematic of a kind of AC/DC correlation photoelectric sensor of the present invention;
Fig. 2 is the circuit diagram of the power circuit in Fig. 1;
Fig. 3 is the circuit diagram of the signal transmission circuit in Fig. 1;
Fig. 4 is the circuit diagram of the signal receiving circuit in Fig. 1;
Fig. 5 is the circuit diagram of the output circuit in Fig. 1.
Embodiment
Below in conjunction with drawings and Examples, further illustrate technical scheme of the present invention.
Refer to a kind of AC/DC correlation photoelectric sensor shown in Fig. 1, Fig. 2, Fig. 3, Fig. 4, Fig. 5, comprise plastic casing (not shown), in plastic casing, comprise power circuit, signal transmission circuit and receiver, receiver comprises signal receiving circuit and output circuit; The input end of described output circuit is connected with the input end of signal receiving circuit;
Power circuit is connected with signal transmission circuit, signal receiving circuit and output circuit respectively;
Between described signal transmission circuit and signal receiving circuit, set up light path.
Described power circuit comprises bridge rectifier diode D3 and switching power source chip IC1, and the input end of bridge rectifier diode connects 24V~240V direct current or interchange, and the input end of switching power source chip IC1 is connected with the output terminal of bridge rectifier diode.
Signal transmission circuit comprises the first single-chip microcomputer U1, potentiometer P1, NPN type triode T1 and a power valve D2, and potentiometer P1 is located between the first single-chip microcomputer U1 and a NPN type triode T2, and the C utmost point of a NPN type triode T1 is connected with power valve D2.
The first operational amplifier IC1A, the second operational amplifier IC1 that signal receiving circuit comprises receiving tube D1, be connected successively with receiving tube D1 is not and second singlechip IC2.
Output circuit comprisesrelay K 1, diode D4 and the 2nd NPN type triode T2, and the 2nd NPN type triode T2 is connected with diode D4 andrelay K 1 successively.
The input end of power circuit be connected with outside two cable BU, BN; The output terminal of output circuit is connected with outside three cable GY, WH, BK.
Input power BN, the BU of power circuit, for 24V~240V direct current or interchange, by bridge rectifier diode D3, switching power source chip IC1 etc. form switch voltage-stabilizing circuit, and for whole sensor provides power supply, this power circuit has the advantages that input range is wide, conversion efficiency is high, sensor can normally be used under interchange or direct supply, expand power supply input range, reduced heating, improved sensor applicability.
Signal transmission circuit, signal receiving circuit separate, and aim at and set up light path respectively, be contained in and detect thing both sides, detected material by time stop light path, receiver is a switch controlling signal of action output just.Signal transmission circuit for power supply by power circuit, by pad X1, provided, the first single-chip microcomputer U1 that program burn writing is good power rear No. 3 pin output frequencies in 4.35kHz ± 2% and duty cycle range at 2%~3% pulse signal, then after the potentiometer P1 between pad X1-4 and X1-5, be input to the base stage of a NPN type triode T1, the collector of the one NPN type triode T1 is connected with power valve D2, by regulator potentiometer P1 resistance size, allow the base current of a NPN type triode T1 become large or diminish and allow the T1 conducting of NPN type triode or a not conducting, so just can control the work of power valve D2, and the power of the Infrared signal of power valve D2 transmitting.The power supply of signal receiving circuit is provided by pad X1 by power circuit, when giving signal transmission circuit, after signal receiving circuit is all powered, they are aimed at and set up light path, be contained in and detect thing both sides, power valve D2 can transmit, receiving tube D1 sends into amplifier ic chip 1A after having received the signal of power valve D2, IC1B amplifies and is input to second singlechip IC2 through two-stage, second singlechip aftertreatment pin 6 is exported high (or low) level to yellow indicator lamp D5,pin 7 is exported high (or low) level to output circuit, by built-in9V relay K 1, realize working current control interchange that sensor is little or the High-current output of direct current, provide simultaneously and often open NO, normally closed NC output is selected.
The present invention consists of square plastic shell, wiring board, mirror holder, lampshade, lens, lead-in wire.Wherein square plastic shell covers tightly capping with square plastic and makes degree of protection reach IP67.
Those of ordinary skill in the art will be appreciated that, above embodiment is only for object of the present invention is described, and not as limitation of the invention, as long as in essential scope of the present invention, variation, modification to the above embodiment all will drop in the scope of claim of the present invention.