Opposite emission type photoelectric sensor

By designing a through-beam photoelectric sensor with a multi-circuit structure, the problems of strict power supply requirements and low power efficiency of traditional sensors are solved, and the driving capability and power efficiency of large current and high voltage loads are improved.

CN221595302UActive Publication Date: 2024-08-23SHENZHEN CHEVEN TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420183648.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-01-25
Publication Date
2024-08-23
Estimated Expiration
2034-01-25

AI Technical Summary

Technical Problem

Traditional through-beam photoelectric sensors have strict power supply requirements, low power efficiency, and cannot drive large current and high voltage loads.

Method used

A through-beam photoelectric sensor including a transmitting module and a receiving module is designed. The first power circuit and the second power circuit are used to connect the infrared transmitting circuit and the infrared receiving circuit respectively, the MCU control circuit and the relay circuit, which can receive large voltage DC. Or AC power supply, generates a second level signal of small voltage to drive the relay to realize the driving of large current and large voltage loads.

Benefits of technology

It achieves the ability to drive large voltage loads with small signals, expands the input voltage range, and improves power efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221595302U
    Figure CN221595302U
Patent Text Reader

Abstract

The utility model belongs to the technical field of sensors, and discloses a correlation type photoelectric sensor, the correlation type photoelectric sensor comprises a transmitting module and a receiving module, the transmitting module comprises a first power supply circuit and an infrared transmitting circuit; the receiving module comprises a second power supply circuit, an infrared receiving circuit, an MCU control circuit and a relay circuit; the first power supply circuit is connected to the infrared emission circuit; the second power supply circuit is respectively connected with the MCU control circuit and the infrared receiving circuit; the infrared transmitting circuit is used for transmitting an infrared light signal, and the infrared receiving circuit is used for receiving the infrared light signal to generate a first level signal; the MCU main control circuit is further connected with the infrared receiving circuit and the relay circuit so as to output a second level signal according to the first level signal and control the relay circuit according to the second level signal. The correlation type photoelectric sensor provided by the utility model can receive a high-voltage direct-current power supply or alternating-current power supply and generate a small-voltage signal to drive the relay, so that a high-voltage load is driven by the small signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of sensor technology, and in particular to a through-beam photoelectric sensor. Background Art

[0002] Traditional through-beam photoelectric sensors use transistor output, so the power supply type can only be a low-voltage DC power supply. This type of through-beam photoelectric sensor has strict power supply requirements and low power efficiency. It can only be used to drive small loads and does not have the ability to drive larger currents and voltages. Utility Model Content

[0003] In view of the above problems, the present application provides a through-beam photoelectric sensor to solve the above technical problems.

[0004] The present application provides a through-beam photoelectric sensor, comprising a transmitting module and a receiving module.

[0005] The transmitting module includes a first power supply circuit and an infrared transmitting circuit; the receiving module includes a second power supply circuit, an infrared receiving circuit, an MCU control circuit, and a relay circuit;

[0006] The first power supply circuit is connected to the infrared transmitting circuit to supply power to the infrared transmitting circuit;

[0007] The second power supply circuit is respectively connected to the MCU control circuit and the infrared receiving circuit to supply power to the MCU control circuit and the infrared receiving circuit;

[0008] The infrared transmitting circuit is used to transmit an infrared light signal, and the infrared receiving circuit is used to receive the infrared light signal to generate a first level signal;

[0009] The MCU main control circuit is also connected to the infrared receiving circuit and the relay circuit respectively, so as to output a second level signal according to the first level signal, and control the relay circuit according to the second level signal.

[0010] The through-beam photoelectric sensor provided by the present application generates a first level signal according to the detection result of the through-beam photoelectric sensor, and then drives the MCU main control circuit to generate a second level signal, and controls the on and off of the relay circuit with the second level signal. The through-beam photoelectric sensor provided by the present application can receive a high-voltage DC or AC power supply, generate a low-voltage second level signal to drive the relay to work, has the ability to drive high current and high voltage loads, and realizes driving high voltage loads with small signals. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0012] Figure 1 A schematic structural diagram of a relay circuit provided in an embodiment of the present application is shown.

[0013] Figure 2 A schematic structural diagram of a first power conversion circuit provided in an embodiment of the present application is shown.

[0014] Figure 3 A schematic structural diagram of a first buck circuit provided in an embodiment of the present application is shown.

[0015] Figure 4 A schematic structural diagram of a second power conversion circuit provided in an embodiment of the present application is shown.

[0016] Figure 5 A schematic structural diagram of a second step-down circuit provided in an embodiment of the present application is shown.

[0017] Figure 6 A schematic diagram of the structure of an output switching circuit provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0018] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0019] In the embodiments of the present application, it should be noted that, in this article, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.

[0020] It should be noted that in the embodiments of the present application, "connection" can be understood as electrical connection, and the connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be either a direct connection between A and B or an indirect connection between A and B through one or more other electrical components.

[0021] An embodiment of the present application provides a through-beam photoelectric sensor, which includes a transmitting module and a receiving module.

[0022] The transmitting module comprises a first power supply circuit and an infrared transmitting circuit; the receiving module comprises a second power supply circuit, an infrared receiving circuit, an MCU control circuit, and a relay circuit.

[0023] The first power supply circuit is connected to the infrared emitting circuit to supply power to the infrared emitting circuit. Specifically, an input end of the first power supply circuit is connected to an AC power supply or a DC power supply to supply power to the infrared emitting circuit.

[0024] The second power supply circuit is respectively connected to the MCU control circuit and the infrared receiving circuit to supply power to the MCU control circuit and the infrared receiving circuit. Specifically, the input end of the second power supply circuit is connected to an AC power supply or a DC power supply to supply power to the MCU control circuit and the infrared receiving circuit.

[0025] The infrared transmitting circuit is used to transmit an infrared light signal, and the infrared receiving circuit is used to receive the infrared light signal to generate a first level signal. Specifically, the infrared transmitting circuit and the infrared receiving circuit constitute a detection optical path. When an object appears between the infrared transmitting circuit and the infrared receiving circuit, it will affect the intensity of the infrared light signal received by the infrared receiving circuit, and the infrared receiving circuit will then generate a first level signal.

[0026] The MCU main control circuit is also connected to the infrared receiving circuit and the relay circuit respectively to output a second level signal according to the first level signal, and control the relay circuit according to the second level signal. Specifically, the MCU main control circuit includes an MCU (microcontroller). After receiving the first level signal, the MCU can determine whether an object is detected according to the strength of the first level signal, and then output a second level signal to the relay circuit to control the conduction and disconnection of the relay in the relay circuit.

[0027] The embodiment of the present application provides a through-beam photoelectric sensor, which generates a first level signal according to the detection result of the through-beam photoelectric sensor, and then drives the MCU main control circuit to generate a second level signal, and controls the on and off of the relay circuit with the second level signal. The through-beam photoelectric sensor provided by the present application can receive a high-voltage DC or AC power supply, generate a low-voltage second level signal to drive the relay to work, has the ability to drive high current and high voltage loads, and realizes driving high voltage loads with small signals.

[0028] In some embodiments, Figure 1 The structure diagram of the relay circuit provided in the embodiment of the present application is shown as follows: Figure 1 As shown, the relay circuit includes a first resistor R1, a second resistor R2, a third resistor R3, a first transistor Q1, a first diode D1 and a relay KA.

[0029] The first end of the first resistor is connected to the MCU control circuit, and the second end is grounded. The first resistor is a pull-down resistor in the relay circuit and is used to stabilize the circuit.

[0030] The first end of the second resistor is connected to the MCU control circuit to receive the second level signal, and the second end is connected to the first electrode of the first transistor. The second resistor is a current limiting resistor in the relay circuit.

[0031] The first end of the third resistor is connected to the second electrode of the first transistor, and the second end is grounded. The third resistor forms a constant current circuit in the relay circuit for stabilizing the circuit.

[0032] The third electrode of the first transistor is connected to the anode of the first diode, and the cathode of the first diode is connected to the second power supply circuit (indicated by V9P0 in the figure) to be powered by the second power supply circuit.

[0033] The anode and cathode of the first diode are also connected to the two terminals of the relay respectively. The first diode is a freewheeling diode to eliminate the reverse electromotive force generated by the switching of the relay.

[0034] In the relay circuit provided in the embodiment of the present application, when the first level signal drives the first transistor to turn on, the relay is energized and turned on, thereby being able to control the load element connected to the relay to operate.

[0035] It should be clear that in the relay circuit provided in the embodiment of the present application, the first transistor is a triode or a MOS tube or other MOS devices that can be used for switching, and the embodiment of the present application does not limit the type of triode or MOS tube, and the triode or MOS tube can be either NPN type or PNP type. The embodiment of the present application can drive the NPN / PNP triode or MOS tube to conduct by changing the state of the first level signal.

[0036] In some embodiments, in the through-beam photoelectric sensor provided in the embodiments of the present application, the first power supply circuit includes a first power conversion circuit and a first buck circuit.

[0037] The first power conversion circuit is used to connect a 24V-240V DC power supply or an AC power supply, and to step down the DC power to supply power to the first step-down circuit, or to convert the AC power into a DC power and step down the AC power to supply power to the first step-down circuit.

[0038] The first step-down circuit is also connected to the infrared emitting circuit to continue stepping down the voltage of the received direct current to supply power to the infrared emitting circuit.

[0039] In the through-beam photoelectric sensor provided in the embodiment of the present application, the first power supply circuit can receive 24 to 240V DC or AC, which greatly expands the input voltage range of the transmitting module.

[0040] In some embodiments, Figure 2 FIG. 4 shows a schematic diagram of the structure of a first power conversion circuit provided in an embodiment of the present application. Figure 2 As shown, the first power conversion circuit includes a first rectifier and filter circuit, a first switching power supply chip U1, a first capacitor C1, a second diode D2, a fourth resistor R4, a fifth resistor R5, a third diode D3, a second capacitor C2, a third capacitor C3, a fourth capacitor C4 and a first inductor L1.

[0041] Optionally, in the through-beam photoelectric sensor provided in the embodiment of the present application, the model of the first switch power chip is LNK304DG-TL1, and the pins of the applied switch power chip include:

[0042] Drain (D) pin: The drain of the power MOSFET inside the chip. Used to provide internal operating current for startup and steady-state operation.

[0043] BYPASS (BP) Pin: Connection point for an external 0.1mF bypass capacitor for the internally generated 5.8V supply.

[0044] Feedback (FB) pin: During normal operation, the switching of the power MOSFET inside the chip is controlled by this pin. When a current greater than 49mA is delivered to this pin, the MOSFET switching is terminated.

[0045] SOURCE (S) pin: The source of the power MOSFET inside the chip. It is also the ground reference for the BYPASS pin and FEEDBACK pin.

[0046] It should be clear that for the through-beam photoelectric sensor provided in the embodiment of the present application, the model of the first switching power supply chip is not limited to LNK304DG-TL1. In fact, any type of switching power supply chip can be used as long as it can step down DC power to power the first step-down circuit, or convert AC power into DC power and step down it to power the first step-down circuit.

[0047] The first rectifying and filtering circuit is respectively connected to the AC power supply or the DC power supply, and the drain pin of the first switching power supply chip.

[0048] Alternatively, if Figure 2 As shown, the first rectifier and filter circuit includes a rectifier TB, a filter capacitor and a current limiting resistor, the two AC input terminals of the rectifier are connected to an AC power supply or a DC power supply, the current limiting resistor is arranged between the power supply and the rectifier input terminal, one output terminal of the rectifier is grounded, and the other output terminal is connected to the drain pin of the first switching power supply chip, and the two ends of the filter capacitor are connected to the output terminal of the rectifier, wherein the filter capacitor preferably uses an electrolytic capacitor.

[0049] It should be clear that the through-beam photoelectric sensor provided in the embodiment of the present application does not limit the circuit structure of the first rectifier and filter circuit, and it only needs to be able to convert alternating current into direct current and output it to the switching power supply chip.

[0050] like Figure 2 As shown, the first end of the first capacitor is connected to the bypass pin of the first switching power chip, and the second end is connected to the source pin of the first switching power chip. The anode of the second diode is grounded, and the cathode is connected to the source pin of the first switching power chip. The fourth resistor and the fifth resistor are connected in series, and the two ends are respectively connected to the source pin of the first switching power chip and the cathode of the third diode, and the fourth resistor and the fifth resistor are also connected to the feedback pin of the first switching power chip. The first end of the second capacitor is connected to the cathode of the third diode, and the second end is connected to the source pin of the first switching power chip. The third capacitor and the fourth capacitor are connected in parallel, one end is respectively connected to the anode of the third diode and the first buck circuit, and the other end is grounded. The first end of the first inductor is connected to the source pin of the first switching power chip, and the second end is connected to the anode of the third diode, wherein the fourth capacitor preferably uses an electrolytic capacitor.

[0051] Specifically, in the first power conversion circuit provided in the embodiment of the present application, the first capacitor C1, the second diode D2, the fourth resistor R4, the fifth resistor R5, the third diode D3, the second capacitor C2, the third capacitor C3, the fourth capacitor C4 and the first inductor L1 are connected to the first switching power supply chip U1 to form a step-down circuit, which is used to perform a step-down process on the DC power output by the first rectifier and filter circuit, that is, the output voltage of the circuit is the new voltage after step-down (V9P0), and the output voltage of the fourth capacitor can be changed by changing the resistance values ​​of the fourth resistor and the fifth resistor. In one embodiment, the output voltage of the circuit is 9V.

[0052] In some embodiments, Figure 3 FIG. 4 shows a schematic diagram of the structure of a first step-down circuit provided in an embodiment of the present application. Figure 3 As shown, the first buck circuit includes a first buck chip U2, a fifth capacitor C5, a sixth capacitor C6 and a seventh capacitor C7.

[0053] The input pin (VIN) of the first buck chip is respectively connected to the first power conversion circuit (i.e., connected to the output end of the first power conversion circuit to receive the output voltage) and the first end of the fifth capacitor, the output pin (VOUT) is respectively connected to the first end of the sixth capacitor, the first end of the seventh capacitor and the infrared transmitting circuit, and the ground pin (GND) is grounded. The second end of the fifth capacitor, the second end of the sixth capacitor, and the second end of the seventh capacitor are grounded.

[0054] It should be clear that the embodiment of the present application does not limit the model of the first buck chip, and any model of buck chip can be selected.

[0055] In one embodiment, the first step-down circuit is used to step down a 9V voltage to 5V.

[0056] In some embodiments, in the through-beam photoelectric sensor provided by the embodiments of the present application, the second power supply circuit includes a second power conversion circuit and a second buck circuit.

[0057] The second power conversion circuit is used to connect a 24V to 240V DC or AC power source and step down the DC power to supply power to the second step-down circuit and the relay circuit, or convert the AC power into DC power and step down the power to supply power to the second step-down circuit and the relay circuit.

[0058] The second step-down circuit is also connected to the MCU control circuit and the infrared receiving circuit respectively, so as to continue to step down the voltage of the received direct current to supply power to the MCU control circuit and the infrared receiving circuit.

[0059] In the through-beam photoelectric sensor provided in the embodiment of the present application, the second power supply circuit can receive 24 to 240V DC or AC, which greatly expands the input voltage range of the receiving module.

[0060] In some embodiments, Figure 4 FIG. 4 shows a schematic diagram of the structure of a second power conversion circuit provided in an embodiment of the present application. Figure 4 As shown, the second power conversion circuit includes a second rectifier and filter circuit, a second switching power supply chip U3, an eighth capacitor C8, a fourth diode D4, a sixth resistor R6, a seventh resistor R7, a fifth diode D5, a ninth capacitor C9, a tenth capacitor C10, an eleventh capacitor C11 and a second inductor L2.

[0061] Optionally, in the through-beam photoelectric sensor provided in the embodiment of the present application, the model of the second switching power supply chip is LNK304DG-TL1, and the pins of the switching power supply chip used include a drain (D) pin, a bypass (BP) pin, a feedback (FB) pin and a source (S) pin.

[0062] It should be clear that for the through-beam photoelectric sensor provided in the embodiment of the present application, the model of the second switching power supply chip is not limited to LNK304DG-TL1. In fact, any type of switching power supply chip can be used as long as it can step down DC power to power the second step-down circuit, or convert AC power into DC power and step down it to power the second step-down circuit.

[0063] The second rectifying and filtering circuit is respectively connected to the AC power supply and the drain pin of the second switching power supply chip.

[0064] Alternatively, if Figure 4As shown, the second rectifier and filter circuit includes a rectifier TB, a filter capacitor and a current limiting resistor, the two AC input terminals of the rectifier are connected to an AC power supply or a DC power supply, the current limiting resistor is arranged between the power supply and the rectifier input terminal, one output terminal of the rectifier is grounded, and the other output terminal is connected to the drain pin of the first switching power supply chip, and the two ends of the filter capacitor are connected to the output terminal of the rectifier, wherein the filter capacitor preferably uses an electrolytic capacitor.

[0065] It should be clear that the through-beam photoelectric sensor provided in the embodiment of the present application does not limit the circuit structure of the second rectifier and filter circuit, and it only needs to be able to convert alternating current into direct current and output it to the switching power supply chip.

[0066] like Figure 4 As shown, the first end of the eighth capacitor is connected to the bypass pin of the second switch power chip, and the second end is connected to the source pin of the second switch power chip. The anode of the fourth diode is grounded, and the cathode is connected to the source pin of the second switch power chip. The sixth resistor and the seventh resistor are connected in series, and the two ends are respectively connected to the source pin of the second switch power chip and the cathode of the fifth diode, and the sixth resistor and the seventh resistor are also connected to the feedback pin of the second switch power chip. The first end of the eighth capacitor is connected to the cathode of the fifth diode, and the second end is connected to the source pin of the second switch power chip. The ninth capacitor and the tenth capacitor are connected in parallel, one end is respectively connected to the anode of the fifth diode, the second buck circuit and the relay circuit (i.e., the cathode of the first diode), and the other end is grounded. The first end of the second inductor is connected to the source pin of the second switch power chip, and the second end is connected to the anode of the fifth diode.

[0067] Specifically, in the second power conversion circuit provided in the embodiment of the present application, the eighth capacitor C8, the fourth diode D4, the sixth resistor R6, the seventh resistor R7, the fifth diode D5, the ninth capacitor C9, the tenth capacitor C10, the eleventh capacitor C11 and the second inductor L2 are connected to the first switching power supply chip U1 to form a step-down circuit, which is used to perform a step-down process on the DC power output by the second rectifier and filter circuit, that is, the output voltage of the circuit is the new voltage after stepping down (V9P0), and the output voltage can be changed by changing the resistance values ​​of the sixth resistor and the seventh resistor. In one embodiment, the output voltage of the circuit is 9V.

[0068] In some embodiments, Figure 5 FIG. 4 shows a schematic diagram of the structure of a second step-down circuit provided in an embodiment of the present application. Figure 5 As shown, the second buck circuit includes a second buck chip U4, a twelfth capacitor C12, a thirteenth capacitor C13 and a fourteenth capacitor C14.

[0069] The input pin (VIN) of the second buck chip is respectively connected to the second power conversion circuit (i.e., connected to the output end of the second power conversion circuit to receive the output voltage) and the first end of the twelfth capacitor, the output pin (VOUT) is respectively connected to the first end of the thirteenth capacitor, the first end of the fourteenth capacitor, the infrared receiving circuit and the MCU control circuit, and the ground pin (GND) is grounded. The second end of the twelfth capacitor, the second end of the thirteenth capacitor, and the second end of the fourteenth capacitor are grounded.

[0070] It should be clear that in the through-beam photoelectric sensor provided in the embodiment of the present application, the infrared transmitting circuit of the transmitting module, the infrared receiving circuit of the receiving module, and the MUC main control circuit are all necessary structures of the through-beam photoelectric sensor. Therefore, the embodiment of the present application does not describe the detailed structure of these circuits.

[0071] As an implementation mode, the infrared transmitting circuit includes a square wave generating circuit, a switching circuit and an infrared transmitting diode. The square wave generating circuit is connected to the switching circuit to generate a square wave to drive the switching circuit to conduct, thereby driving the infrared transmitting diode to emit an infrared light signal. The switching circuit preferably uses switching elements such as triodes or MOS tubes.

[0072] As an implementation method, the infrared receiving circuit includes an infrared receiving diode and an operational amplifier circuit. The infrared receiving diode receives the infrared light signal generated by the infrared transmitting circuit to generate an electrical signal. The electrical signal is amplified by the operational amplifier circuit to a first level signal and output to the MCU main control circuit. When there is an object, the electrical signal generated by the infrared receiving diode is weakened, and the corresponding first level signal amplified by the operational amplifier circuit is also weakened. The MCU main control circuit judges that there is an object passing between the transmitting module and the receiving module based on this. Among them, the embodiment of the present application does not limit the amplification level of the operational amplifier circuit.

[0073] As an implementation mode, the MCU main control circuit includes an MCU chip, an IO port of which receives a first level signal. The MCU chip can determine whether an object passes between the transmitting module and the receiving module based on the strength of the first level signal, and then generate a second level signal at another IO port. The second level signal is output to the relay circuit to control the on and off of the first transistor in the relay circuit.

[0074] In some embodiments, in the through-beam photoelectric sensor provided in the embodiments of the present application, the transmitting module further includes a first indicator light circuit connected to the first power supply circuit to indicate the operating status of the transmitting module.

[0075] The first indicator light circuit includes an indicator light and a current limiting resistor, and the first power supply circuit supplies power to the first indicator light circuit. Specifically, the first indicator light circuit receives the output voltage of the first step-down circuit, and when the indicator light is always on, it indicates that the output of the first step-down circuit is normal, and further indicates that the transmitting module normally transmits the infrared light signal.

[0076] The receiving module also includes a second indicator light circuit connected to the MCU control circuit to indicate the operating state of the receiving module.

[0077] Specifically, the second indicator light circuit includes an indicator light and a current limiting resistor, and receives a second level signal to indicate whether the receiving module detects an object.

[0078] Preferably, the second indicator light circuit also includes another indicator light and a corresponding current limiting resistor, which are connected to an IO port of the MCU chip. The MCU chip modifies the signal strength output to the indicator light according to the first level signal strength, so that the indicator light can indicate the intensity of the infrared light signal received by the receiving module.

[0079] It should be clear that for a through-beam photoelectric sensor, the specific structure of the indicator light circuit has various forms, so the embodiment of the present application only provides an example of the indicator light circuit.

[0080] In some embodiments, in the through-beam photoelectric sensor provided in the embodiments of the present application, the receiving module further includes an output switching circuit. Figure 6 The structure diagram of the output switching circuit provided in the embodiment of the present application is shown as follows: Figure 6 As shown, the output switching circuit includes a potentiometer RT1, an eighth resistor R8 and a fifteenth capacitor C15.

[0081] Among them, the fixed pin of the potentiometer is connected to the second step-down circuit and grounded, the sliding pin is connected to the first end of the eighth resistor, the second end of the eighth resistor is respectively connected to the first end of the fifteenth capacitor and the MCU control circuit (i.e., connected to an IO port of the MCU chip), and the second end of the fifteenth capacitor is grounded.

[0082] In the through-beam photoelectric sensor provided in the embodiment of the present application, the output switching circuit can adjust the potentiometer to change the level of the second level signal before the MCU control circuit receives the first level signal, and then can control whether the first transistor of the relay circuit is turned on or off in the normal state, so as to realize the relay in the normally open state or the normally closed state. If the output switching circuit controls the second level signal to turn off the first transistor, when the first level signal arrives, changing the state of the second level signal will turn on the first transistor, and vice versa.

[0083] The through-beam photoelectric sensor provided in the present application can be connected to a 24-240V DC power supply or an AC power supply, and generate a small voltage second-level signal to drive the relay to work. It has a wide input voltage range and has the ability to drive large current and high voltage loads, thereby realizing the use of small signals to drive large voltage loads.

[0084] The above contents are further detailed descriptions of the present application in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present application is limited to these descriptions. For ordinary technicians in the technical field to which the present application belongs, several simple deductions or substitutions can be made without departing from the concept of the present application, which should be regarded as the protection scope of the present application.

Claims

1. A through-beam photoelectric sensor, characterized in that: Including transmitting module and receiving module, The transmitting module includes a first power supply circuit and an infrared transmitting circuit; the receiving module includes a second power supply circuit, an infrared receiving circuit, an MCU control circuit, and a relay circuit; The first power supply circuit is connected to the infrared transmitting circuit to supply power to the infrared transmitting circuit; The second power supply circuit is respectively connected to the MCU control circuit and the infrared receiving circuit to supply power to the MCU control circuit and the infrared receiving circuit; The infrared transmitting circuit is used to transmit an infrared light signal, and the infrared receiving circuit is used to receive the infrared light signal to generate a first level signal; The MCU control circuit is also connected to the infrared receiving circuit and the relay circuit respectively, so as to output a second level signal according to the first level signal, and control the relay circuit according to the second level signal.

2. The through-beam photoelectric sensor according to claim 1, wherein: The relay circuit includes a first resistor, a second resistor, a third resistor, a first transistor, a first diode and a relay. A first end of the first resistor is connected to the MCU control circuit, and a second end thereof is grounded; A first end of the second resistor is connected to the MCU control circuit, and a second end is connected to the first electrode of the first transistor; A first end of the third resistor is connected to the second electrode of the first transistor, and a second end thereof is grounded; The third electrode of the first transistor is connected to the anode of the first diode; The cathode of the first diode is connected to the second power supply circuit; The anode and cathode of the first diode are also connected to two connection terminals of the relay respectively.

3. The through-beam photoelectric sensor according to claim 1, wherein: The first power supply circuit includes a first power conversion circuit and a first step-down circuit. The first power conversion circuit is used to connect a 24V to 240V DC power supply or an AC power supply, and to step down the DC power to supply power to the first step-down circuit, or to convert the AC power into DC power and step down the AC power to supply power to the first step-down circuit; The first step-down circuit is also connected to the infrared transmitting circuit to continue stepping down the voltage of the received direct current to supply power to the infrared transmitting circuit.

4. The through-beam photoelectric sensor according to claim 3, wherein: The first power conversion circuit includes a first rectifier filter circuit, a first switch power chip, a first capacitor, a second diode, a fourth resistor, a fifth resistor, a third diode, a second capacitor, a third capacitor, a fourth capacitor and a first inductor. The first rectifying and filtering circuit is respectively connected to the AC power supply or the DC power supply, and the drain pin of the first switching power supply chip; The first end of the first capacitor is connected to the bypass pin of the first switching power chip, and the second end is connected to the source pin of the first switching power chip; The anode of the second diode is grounded, and the cathode is connected to the source pin of the first switching power supply chip; The fourth resistor and the fifth resistor are connected in series, and both ends are connected to the source pin of the first switching power chip and the cathode of the third diode respectively, and the fourth resistor and the fifth resistor are also connected to the feedback pin of the first switching power chip; A first end of the second capacitor is connected to the cathode of the third diode, and a second end is connected to the source pin of the first switching power supply chip; The third capacitor and the fourth capacitor are connected in parallel, one end of which is connected to the anode of the third diode and the first step-down circuit respectively, and the other end is grounded; The first end of the first inductor is connected to the source pin of the first switching power supply chip, and the second end of the first inductor is connected to the anode of the third diode.

5. The through-beam photoelectric sensor according to claim 3, wherein: The first step-down circuit includes a first step-down chip, a fifth capacitor, a sixth capacitor and a seventh capacitor. The input pin of the first buck chip is respectively connected to the first power conversion circuit and the first end of the fifth capacitor, the output pin is respectively connected to the first end of the sixth capacitor, the first end of the seventh capacitor and the infrared transmitting circuit, and the ground pin is grounded; The second end of the fifth capacitor, the second end of the sixth capacitor, and the second end of the seventh capacitor are grounded.

6. The through-beam photoelectric sensor according to claim 1, wherein: The second power supply circuit includes a second power conversion circuit and a second step-down circuit. The second power conversion circuit is used to connect a 24V to 240V DC power supply or an AC power supply, and to step down the DC power to supply power to the second step-down circuit and the relay circuit, or to convert the AC power into a DC power and step down the AC power to supply power to the second step-down circuit and the relay circuit; The second step-down circuit is also connected to the MCU control circuit and the infrared receiving circuit respectively, so as to continue to step down the voltage of the received direct current to supply power to the MCU control circuit and the infrared receiving circuit.

7. The through-beam photoelectric sensor according to claim 6, wherein: The second power conversion circuit includes a second rectifier filter circuit, a second switch power chip, an eighth capacitor, a fourth diode, a sixth resistor, a seventh resistor, a fifth diode, a ninth capacitor, a tenth capacitor, an eleventh capacitor and a second inductor. The second rectifying and filtering circuit is respectively connected to the AC power supply or the DC power supply, and the drain pin of the second switching power supply chip; A first end of the eighth capacitor is connected to a bypass pin of the second switching power chip, and a second end of the eighth capacitor is connected to a source pin of the second switching power chip; The anode of the fourth diode is grounded, and the cathode is connected to the source pin of the second switching power supply chip; The sixth resistor and the seventh resistor are connected in series, and both ends are connected to the source pin of the second switching power chip and the cathode of the fifth diode respectively, and the sixth resistor and the seventh resistor are also connected to the feedback pin of the second switching power chip; A first end of the eighth capacitor is connected to the cathode of the fifth diode, and a second end is connected to the source pin of the second switching power supply chip; The ninth capacitor and the tenth capacitor are connected in parallel, one end of which is respectively connected to the anode of the fifth diode, the second step-down circuit and the relay circuit, and the other end of which is grounded; A first end of the second inductor is connected to a source pin of the second switching power supply chip, and a second end of the second inductor is connected to an anode of the fifth diode.

8. The through-beam photoelectric sensor according to claim 6, wherein: The second step-down circuit includes a second step-down chip, a twelfth capacitor, a thirteenth capacitor and a fourteenth capacitor. The input pin of the second buck chip is respectively connected to the second power conversion circuit and the first end of the twelfth capacitor, the output pin is respectively connected to the first end of the thirteenth capacitor, the first end of the fourteenth capacitor, the infrared receiving circuit and the MCU control circuit, and the ground pin is grounded; The second end of the twelfth capacitor, the second end of the thirteenth capacitor, and the second end of the fourteenth capacitor are grounded.

9. The through-beam photoelectric sensor according to claim 1, wherein: The transmitting module further comprises a first indicator light circuit connected to the first power supply circuit to indicate the operating state of the transmitting module; The receiving module also includes a second indicator light circuit connected to the MCU control circuit to indicate the operating status of the receiving module.

10. The through-beam photoelectric sensor according to claim 6, wherein: The receiving module further includes an output switching circuit, wherein the output switching circuit includes a potentiometer, an eighth resistor and a fifteenth capacitor. The fixed pin of the potentiometer is connected to the second step-down circuit and grounded, the sliding pin is connected to the first end of the eighth resistor, the second end of the eighth resistor is respectively connected to the first end of the fifteenth capacitor and the MCU control circuit, and the second end of the fifteenth capacitor is grounded; The output switching circuit is used to adjust the potentiometer to change the level of the second level signal before the MCU control circuit receives the first level signal.