Photoelectric detection device and conveying equipment
By designing a photoelectric detection device including a detection module, a switch module and a cleaning module, the problem that the photoelectric switches are easily blocked by foreign objects in the production and processing environment is solved, and the high accuracy and self-cleaning function of photoelectric detection are achieved.
Patent Information
- Application Number
- CN202421831673.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2034-07-30
AI Technical Summary
In production and processing environments, the photoelectric switch is easily blocked by foreign objects such as dust or debris, resulting in low photoelectric detection accuracy.
A photoelectric detection device is designed, including a detection module, a first switching module, a control module, a second switching module and a cleaning module. The detection module performs photoelectric detection, and the control module controls the conduction of the first switch module according to the detection results, powers up the control module, and controls the cleaning module to start through the second switch module to realize the cleaning of the detection module.
The self-cleaning function of the photoelectric detection device is realized, avoiding foreign objects blocking, and improving the accuracy of photoelectric detection.
Smart Images

Figure CN222825810U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of photoelectric detection, in particular to a photoelectric detection device and a conveying equipment. Background Art
[0002] In the production and processing process, photoelectric switches are the most commonly used detection devices for logistics conveying equipment, such as chain conveyors, roller conveyors, etc. The commonly used detection method is: install a rod-shaped bracket on the outside of the conveying equipment, and fix the photoelectric switch on the bracket to detect objects.
[0003] However, in a production and processing environment, photoelectric switches are easily blocked by foreign objects such as dust or debris, and the accuracy of photoelectric detection is low. Utility Model Content
[0004] The utility model provides a photoelectric detection device and a conveying device to avoid being blocked by foreign objects and improve the accuracy of photoelectric detection.
[0005] According to one aspect of the utility model, a photoelectric detection device is provided, the photoelectric detection device comprising: a detection module, a first switch module, a control module, a second switch module and a cleaning module;
[0006] The detection module is used to perform photoelectric detection and control the on or off of the first switch module;
[0007] The positive terminal of the first switch module is connected to the detection module; the negative terminal of the first switch module is grounded; the first end of the first switch module is connected to the power supply voltage; the second end of the first switch module is connected to the host computer; the third end of the first switch module is connected to the control module; the first switch module is used to control the power on of the host computer and the control module;
[0008] The control module is also connected to the positive terminal of the second switch module; the negative terminal of the second switch module is grounded; the first terminal of the second switch module is connected to the third terminal of the first switch module; the second terminal of the second switch module is connected to the cleaning module;
[0009] The control module is used to control the on or off of the second switch module; the second switch module is used to control the start and stop of the cleaning module; and the cleaning module is used to clean the detection module.
[0010] Optionally, the detection module includes: a photoelectric detection unit and a switch unit;
[0011] The positive terminal of the photoelectric detection unit is connected to the power supply voltage; the negative terminal of the photoelectric detection unit is grounded; the output terminal of the photoelectric detection unit is connected to the control terminal of the switch unit; the input terminal of the switch unit is connected to the power supply voltage; the output terminal of the switch unit is connected to the first switch module;
[0012] The photoelectric detection unit is used to perform photoelectric detection and generate a detection signal; the switch unit is used to control the on or off of the first switch module according to the detection signal.
[0013] Optionally, the switch unit includes: a switch tube;
[0014] The emitter of the switch tube is connected to the power supply voltage; the collector of the switch tube is grounded; and the base of the switch tube is connected to the photoelectric detection unit.
[0015] Optionally, the detection module further includes: an indication unit;
[0016] The indicating unit is connected to the photoelectric detection unit;
[0017] The indicating unit is used to indicate the working state of the photoelectric detection unit.
[0018] Optionally, the indicating unit includes: at least one indicator light; each of the indicator lights is connected to the photoelectric detection unit.
[0019] Optionally, the first switch module includes: a first relay and a second relay;
[0020] The first end of the first relay is connected to the host computer; the second end of the first relay is connected to the power supply voltage; the positive end of the first relay is connected to the detection module; the negative end of the first relay is grounded; the first end of the second relay is connected to the power supply voltage; the second end of the second relay is connected to the control module; the positive end of the second relay is connected to the detection module; and the negative end of the second relay is grounded.
[0021] Optionally, the control module includes: a control chip, a first resistor, a first diode, a first capacitor, a second capacitor, a sliding resistor, a second resistor, a third capacitor and a second diode;
[0022] The first end of the control chip is connected to the first switch module; the second end of the control chip is connected to the first end of the control chip; the third end of the control chip is connected to the first end of the first resistor; the second end of the first resistor is connected to the first end of the control chip; the fourth end of the control chip is connected to the anode end of the first diode; the cathode end of the first diode is connected to the second switch module; the fifth end of the control chip is connected to the first end of the first capacitor; the second end of the first capacitor is connected to the sixth end of the control chip; the sixth end of the control chip is grounded; the seventh end of the control chip is connected to the first end of the second capacitor; the second end of the second capacitor is grounded; the eighth end of the control chip is connected to the seventh end of the control chip; the first end of the sliding resistor is connected to the first end of the control chip; the second end of the sliding resistor is connected to the first end of the sliding resistor; the third end of the sliding resistor is connected to the first end of the second resistor; the second end of the second resistor is connected to the first end of the second capacitor; the first end of the third capacitor is connected to the first end of the first resistor; the second end of the third capacitor is grounded; the anode end of the second diode is connected to the second end of the third capacitor; the cathode end of the second diode is connected to the cathode end of the first diode.
[0023] Optionally, the second switch module includes: a third relay;
[0024] The first end of the third relay is connected to the first switch module; the second end of the third relay is connected to the positive end of the cleaning module; the negative end of the cleaning module is grounded; the positive end of the third relay is connected to the control module; and the negative end of the third relay is grounded.
[0025] Optionally, the cleaning module includes: a fan.
[0026] According to another aspect of the present invention, a conveying device is further provided. The conveying device includes a host computer and the photoelectric detection device described in any one of the above embodiments.
[0027] The embodiment of the utility model performs photoelectric detection through the detection module, and the control module controls the conduction of the first switch module according to the result of the photoelectric detection, so that the control module is powered on. After powering on, the control module controls the conduction of the second switch module, so that the cleaning module is started, and then the detection module is cleaned. Compared with the prior art, the photoelectric detection device provided by the embodiment of the utility model can perform self-cleaning, which is conducive to avoiding foreign matter obstruction and improving the accuracy of photoelectric detection.
[0028] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present utility model, nor are they intended to limit the scope of the present utility model. Other features of the present utility model will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0030] Figure 1 It is a schematic diagram of a photoelectric detection device provided by an embodiment of the utility model;
[0031] Figure 2 is a schematic diagram of another photoelectric detection device provided by an embodiment of the utility model;
[0032] Figure 3 It is a schematic diagram of another photoelectric detection device provided by an embodiment of the utility model;
[0033] Figure 4 It is a schematic diagram of another photoelectric detection device provided by an embodiment of the utility model;
[0034] Figure 5 It is a schematic diagram of another photoelectric detection device provided by an embodiment of the utility model;
[0035] Figure 6 It is a schematic diagram of a photoelectric detection device provided by an embodiment of the utility model;
[0036] Figure 7 is a structural diagram of a photoelectric detection device provided by an embodiment of the utility model;
[0037] Figure 8 It is a schematic diagram of a conveying device provided in an embodiment of the utility model. DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the solution of the utility model, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is only a part of the embodiment of the utility model, not all of the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the utility model.
[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the utility model and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the utility model described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0040] The embodiment of the utility model provides a photoelectric detection device which is suitable for use in conveying equipment of a production line to detect whether materials are being transported in the conveying equipment. Figure 1 Schematic diagram of a photoelectric detection device provided by an embodiment of the utility model. Figure 1 The photoelectric detection device includes: a detection module 110, a first switch module 120, a control module 130, a second switch module 140 and a cleaning module 150.
[0041] The detection module 110 is used to perform photoelectric detection and control the on or off of the first switch module 120; the positive terminal of the first switch module 120 is connected to the detection module 110; the negative terminal of the first switch module 120 is grounded; the first end of the first switch module 120 is connected to the power supply voltage VCC; the second end of the first switch module 120 is connected to the host computer 210; the third end of the first switch module 120 is connected to the control module 130; the first switch module 120 is used to control the power on of the host computer 210 and the control module 130; the control module 130 is also connected to the positive terminal of the second switch module 140; the negative terminal of the second switch module 140 is grounded; the first end of the second switch module 140 is connected to the third end of the first switch module 120; the second end of the second switch module 140 is connected to the cleaning module 150; the control module 130 is used to control the on or off of the second switch module 140; the second switch module 140 is used to control the start and stop of the cleaning module 150; the cleaning module 150 is used to clean the detection module. The negative terminal of the first switch module 120 and the negative terminal of the second switch module 140 are both grounded through the grounding point GND.
[0042] Specifically, when the detection module 110 is blocked, the detection module 110 continuously applies a driving current to the positive terminal of the first switch module 120 to control the first switch module 120 to be powered on. The duration of the detection module 110 applying the driving current to the positive terminal of the first switch module 120 is the same as the shielding time of the detection module 110. When the first switch module 120 is turned on, the connection between the host computer 210 and the power supply voltage VCC is turned on, and the connection between the control module 130 and the power supply voltage VCC is also turned on. At this time, the host computer 210 and the control module 130 are powered on. It should be noted that the host computer 210 can be powered by the power supply voltage VCC or by an independent power supply. Exemplarily, when the host computer 210 is powered by an independent power supply, the host computer 210 detects the level state of the second end of the first switch module 120. The host computer 210 controls the operation of the conveying device when it is powered on or detects that the level state of the second end of the first switch module 120 changes.
[0043] Exemplarily, when the control module 130 is powered on, the control module 130 controls the second switch module 140 to be turned on and delays the preset time. When both the first switch module 120 and the second switch module 140 are turned on, the connection between the cleaning module 150 and the power supply voltage VCC is turned on, and at this time, the cleaning module 150 cleans the detection module 110. When the preset time is reached, the control module 130 controls the second switch module 140 to be turned off, and at this time, the connection between the cleaning module 150 and the power supply voltage VCC is disconnected, and the cleaning module 150 is powered off and stops working. Among them, the preset time is the preset working time of the cleaning module 150. In actual application, the preset time can be set according to actual needs, and this embodiment does not limit this.
[0044] The embodiment of the utility model performs photoelectric detection through the detection module 110, and the control module 110 controls the conduction of the first switch module 120 according to the result of the photoelectric detection, so that the control module 130 is powered on. After powering on, the control module 130 controls the conduction of the second switch module 140, so that the cleaning module 150 is started, thereby cleaning the detection module 110. Compared with the prior art, the photoelectric detection device provided by the embodiment of the utility model can perform self-cleaning, which is conducive to avoiding foreign matter obstruction and improving the accuracy of photoelectric detection.
[0045] Figure 2 is a schematic diagram of another photoelectric detection device provided by an embodiment of the utility model. Based on the above embodiment, optionally, refer to Figure 2 The detection module 110 includes: a photoelectric detection unit 111 and a switch unit 112 .
[0046] The positive terminal of the photoelectric detection unit 111 is connected to the power supply voltage VCC; the negative terminal of the photoelectric detection unit 111 is grounded; the output end of the photoelectric detection unit 111 is connected to the control end of the switch unit 112; the input end of the switch unit 112 is connected to the power supply voltage VCC; the output end of the switch unit 112 is connected to the first switch module 120; the photoelectric detection unit 111 is used to perform photoelectric detection and generate a detection signal; the switch unit 112 is used to control the conduction or shutdown of the first switch module 120 according to the detection signal.
[0047] Specifically, when the photoelectric detection unit 111 is blocked, the photoelectric detection unit 111 continues to generate a detection signal. The switch unit 112 controls the connection between the first switch module 120 and the power supply voltage VCC to be turned on or off according to the detection signal to control the first switch module 120 to be powered on. When the switch unit 112 obtains the detection signal, the switch unit 112 controls the connection between the first switch module 120 and the power supply voltage VCC to be turned on. Among them, the duration of the photoelectric detection unit 111 generating the detection signal is the same as the time when the photoelectric detection unit 111 is blocked. When the first switch module 120 is turned on, the connection between the host computer 210 and the power supply voltage VCC is turned on, and the connection between the control module 130 and the power supply voltage VCC is also turned on. At this time, the host computer 210 and the control module 130 are powered on.
[0048] Based on the above embodiments, optionally, continue to refer to Figure 2 The detection module 110 also includes: an indication unit 113.
[0049] The indicating unit 113 is connected to the photoelectric detection unit 111; the indicating unit 113 is used to indicate the working state of the photoelectric detection unit 111. The start and stop of the indicating unit 113 are related to the working state of the photoelectric detection unit 111. Exemplarily, when the photoelectric detection unit 111 is blocked, the indicating unit 113 starts working; when the photoelectric detection unit 111 is not blocked, the indicating unit 113 stops working.
[0050] Figure 3 Schematic diagram of another photoelectric detection device provided by the embodiment of the utility model. Based on the above embodiments, optionally, refer to Figure 3 , the switch unit 112 includes: a switch tube Q1.
[0051] The emitter of the switch tube Q1 is connected to the power supply voltage VCC; the collector of the switch tube Q1 is grounded; and the base of the switch tube Q1 is connected to the photoelectric detection unit 111 .
[0052] Optionally, the switch unit 112 may also be provided with a voltage-stabilizing diode ZD and a first anti-reverse diode V1. The voltage-stabilizing diode ZD is connected between the emitter and collector of the switch tube Q1, and is used to stabilize the voltage between the emitter and collector of the switch tube Q1; the first anti-reverse diode V1 is connected between the collector of the switch tube Q1 and the first switch module 120, and is used to prevent reverse current shock.
[0053] Based on the above embodiments, optionally, continue to refer to Figure 3 The indicating unit 113 includes: at least one indicating light L; each indicating light L is connected to the photoelectric detecting unit 111 .
[0054] Specifically, Figure 3 An exemplary structure is given in which the indicating unit 113 has two indicating lights L. Exemplarily, when the indicating unit 113 has two indicating lights L, when the photoelectric detection unit 111 is blocked, one of the indicating lights L in the indicating unit 113 is lit; when the photoelectric detection unit 111 is not blocked, the other indicating light L in the indicating unit 113 is lit.
[0055] Based on the above embodiments, optionally, continue to refer to Figure 3 , a protection unit 114 may also be provided in the detection module 110, and the protection unit 114 is connected between the negative terminal of the photoelectric detection unit 111 and the grounding point GND, and the protection unit 114 is used to prevent reverse current impact. Exemplarily, the protection unit 114 includes a second anti-reverse diode V2. The anode terminal of the second anti-reverse diode V2 is connected to the photoelectric detection unit, and the cathode terminal of the second anti-reverse diode V2 is connected to the grounding point GND.
[0056] Figure 4 Schematic diagram of another photoelectric detection device provided by the embodiment of the utility model. Based on the above embodiments, optionally, refer to Figure 4 The first switch module 120 includes: a first relay KA1 and a second relay KA2.
[0057] The first end of the first relay KA1 is connected to the host computer 210; the second end of the first relay KA1 is connected to the power supply voltage VCC; the positive end of the first relay KA1 is connected to the detection module 110; the negative end of the first relay KA1 is grounded; the first end of the second relay KA2 is connected to the power supply voltage VCC; the second end of the second relay KA2 is connected to the control module 130; the positive end of the second relay KA2 is connected to the detection module 110; the negative end of the second relay KA2 is grounded.
[0058] Specifically, the positive terminal of the first relay KA1 and the positive terminal of the second relay KA2 are connected in parallel. The first relay KA1 and the second relay KA2 are both controlled by the detection module 110, and the first relay KA1 and the second relay KA2 are synchronously turned on or off during operation.
[0059] Figure 5 Schematic diagram of another photoelectric detection device provided by the embodiment of the utility model. Based on the above embodiments, optionally, refer to Figure 5 The control module 130 includes: a control chip U1, a first resistor R1, a first diode D1, a first capacitor C1, a second capacitor C2, a sliding resistor RP, a second resistor R2, a third capacitor C3 and a second diode D2.
[0060] The first end of the control chip U1 is connected to the first switch module 120; the second end of the control chip U1 is connected to the first end of the control chip U1; the third end of the control chip U1 is connected to the first end of the first resistor R1; the second end of the first resistor R1 is connected to the first end of the control chip U1; the fourth end of the control chip U1 is connected to the anode end of the first diode D1; the cathode end of the first diode D1 is connected to the second switch module 140; the fifth end of the control chip U1 is connected to the first end of the first capacitor C1; the second end of the first capacitor C1 is connected to the sixth end of the control chip U1; the sixth end of the control chip U1 is grounded; the seventh end of the control chip U1 is connected to the first end of the second capacitor C2 The eighth terminal of the control chip U1 is connected to the seventh terminal of the control chip U1; the first terminal of the sliding resistor RP is connected to the first terminal of the control chip U1; the second terminal of the sliding resistor RP is connected to the first terminal of the sliding resistor RP; the third terminal of the sliding resistor RP is connected to the first terminal of the second resistor R2; the second terminal of the second resistor R2 is connected to the first terminal of the second capacitor C2; the first terminal of the third capacitor C3 is connected to the first terminal of the first resistor R1; the second terminal of the third capacitor C3 is grounded; the anode terminal of the second diode D2 is connected to the second terminal of the third capacitor C3; the cathode terminal of the second diode D2 is connected to the cathode terminal of the first diode D1.
[0061] Optionally, continue to refer to Figure 5 , the control module 130 may also be provided with a light emitting diode LED and a current limiting resistor R3. The light emitting diode LED and the current limiting resistor R3 are connected in series between the first end of the control chip U1 and the first switch module 120. Specifically, the light emitting diode LED is used to indicate the working state of the control module 130. When the control module 130 is powered on, the light emitting diode LED lights up; the current limiting resistor R3 is used to limit the current flowing into the control module 130 to protect the control module 130.
[0062] Figure 6is a schematic diagram of a photoelectric detection device provided by an embodiment of the utility model. Based on the above embodiments, optionally, refer to Figure 6 , the second switch module 140 includes: a third relay KA3.
[0063] The first end of the third relay KA3 is connected to the first switch module 120; the second end of the third relay KA3 is connected to the positive end of the cleaning module 150; the negative end of the cleaning module 150 is grounded; the positive end of the third relay KA3 is connected to the control module 130; and the negative end of the third relay KA3 is grounded.
[0064] Based on the above embodiments, optionally, continue to refer to Figure 6 The cleaning module 150 includes a fan M. Specifically, the positive terminal of the fan M serves as the positive terminal of the cleaning module 150 , and the negative terminal of the fan M serves as the negative terminal of the cleaning module 150 .
[0065] Based on the above embodiments, optionally, continue to refer to Figure 6 The photoelectric detection device may also be provided with a fuse module 160. A first end of the fuse module 160 is connected to the power supply voltage VCC, and the other end of the fuse module 160 is connected to the control module 110 and the first switch module 120. The fuse module 160 is used to prevent current overload. Exemplarily, the fuse module 160 may be composed of a fuse FU.
[0066] On the basis of the above embodiments, optionally, in practical application, the first switch module 120, the control module 130 and the second switch module 140 can be integrated on the same circuit board. Figure 7 1 is a structural diagram of a photoelectric detection device provided by an embodiment of the utility model. Figure 7 , the detection module 110 and the cleaning module 150 are arranged on the same bracket 170. Taking the cleaning module 150 as a fan M as an example, the air outlet of the fan M faces the detection module 110. When the fan M is started, the wind pressure generated by the fan M drives the dust accumulated on the detection module 110 to fly away.
[0067] The first switch module 120, the control module 130 and the second switch module 140 can be integrated on the same circuit board 180. The detection module 110 and the cleaning module 150 are connected to the circuit board 180 through cables, and the host computer 210 is connected to the circuit board 180 through cables. Optionally, the circuit board 180 can be arranged in a junction box 190, and the junction box 190 is used to protect the circuit board 180.
[0068] The embodiment of the utility model also provides a conveying device. Figure 8 Schematic diagram of a conveying device provided by an embodiment of the utility model. Figure 8The conveying device 200 includes a host computer 210 and the photoelectric detection device 100 provided in any of the above embodiments. For example, the host computer 210 can be a programmable logic controller (PLC). The conveying device 200 provided in this embodiment has the beneficial effects of the photoelectric detection device 100 provided in any of the above embodiments, which will not be repeated here.
[0069] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0070] The above specific implementations do not constitute a limitation on the protection scope of the present utility model. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present utility model shall be included in the protection scope of the present utility model.
Claims
1. A photoelectric detection device, characterized in that: include: A detection module, a first switch module, a control module, a second switch module and a cleaning module; The detection module is used to perform photoelectric detection and control the on or off of the first switch module; The positive terminal of the first switch module is connected to the detection module; the negative terminal of the first switch module is grounded; the first end of the first switch module is connected to the power supply voltage; the second end of the first switch module is connected to the host computer; the third end of the first switch module is connected to the control module; the first switch module is used to control the power on of the host computer and the control module; The control module is also connected to the positive terminal of the second switch module; the negative terminal of the second switch module is grounded; the first terminal of the second switch module is connected to the third terminal of the first switch module; the second terminal of the second switch module is connected to the cleaning module; The control module is used to control the on or off of the second switch module; the second switch module is used to control the start and stop of the cleaning module; and the cleaning module is used to clean the detection module.
2. The photoelectric detection device according to claim 1, characterized in that: The detection module includes: a photoelectric detection unit and a switch unit; The positive terminal of the photoelectric detection unit is connected to the power supply voltage; the negative terminal of the photoelectric detection unit is grounded; the output terminal of the photoelectric detection unit is connected to the control terminal of the switch unit; the input terminal of the switch unit is connected to the power supply voltage; the output terminal of the switch unit is connected to the first switch module; The photoelectric detection unit is used to perform photoelectric detection and generate a detection signal; the switch unit is used to control the on or off of the first switch module according to the detection signal.
3. The photoelectric detection device according to claim 2, characterized in that: The switch unit comprises: a switch tube; The emitter of the switch tube is connected to the power supply voltage; the collector of the switch tube is grounded; and the base of the switch tube is connected to the photoelectric detection unit.
4. The photoelectric detection device according to claim 2, characterized in that: The detection module further includes: an indication unit; The indicating unit is connected to the photoelectric detection unit; The indicating unit is used to indicate the working state of the photoelectric detection unit.
5. The photoelectric detection device according to claim 4, characterized in that: The indicating unit includes: at least one indicator light; each of the indicator lights is connected to the photoelectric detection unit.
6. The photoelectric detection device according to claim 1, characterized in that: The first switch module includes: a first relay and a second relay; The first end of the first relay is connected to the host computer; the second end of the first relay is connected to the power supply voltage; the positive end of the first relay is connected to the detection module; the negative end of the first relay is grounded; the first end of the second relay is connected to the power supply voltage; the second end of the second relay is connected to the control module; the positive end of the second relay is connected to the detection module; and the negative end of the second relay is grounded.
7. The photoelectric detection device according to claim 1, characterized in that: The control module includes: a control chip, a first resistor, a first diode, a first capacitor, a second capacitor, a sliding resistor, a second resistor, a third capacitor and a second diode; The first end of the control chip is connected to the first switch module; the second end of the control chip is connected to the first end of the control chip; the third end of the control chip is connected to the first end of the first resistor; the second end of the first resistor is connected to the first end of the control chip; the fourth end of the control chip is connected to the anode end of the first diode; the cathode end of the first diode is connected to the second switch module; the fifth end of the control chip is connected to the first end of the first capacitor; the second end of the first capacitor is connected to the sixth end of the control chip; the sixth end of the control chip is grounded; the seventh end of the control chip is connected to the first end of the second capacitor; the second end of the second capacitor is grounded; the eighth end of the control chip is connected to the seventh end of the control chip; the first end of the sliding resistor is connected to the first end of the control chip; the second end of the sliding resistor is connected to the first end of the sliding resistor; the third end of the sliding resistor is connected to the first end of the second resistor; the second end of the second resistor is connected to the first end of the second capacitor; the first end of the third capacitor is connected to the first end of the first resistor; the second end of the third capacitor is grounded; the anode end of the second diode is connected to the second end of the third capacitor; the cathode end of the second diode is connected to the cathode end of the first diode.
8. The photoelectric detection device according to claim 1, characterized in that: The second switch module includes: a third relay; The first end of the third relay is connected to the first switch module; the second end of the third relay is connected to the positive end of the cleaning module; the negative end of the cleaning module is grounded; the positive end of the third relay is connected to the control module; and the negative end of the third relay is grounded.
9. The photoelectric detection device according to claim 1, characterized in that: The cleaning module includes: a fan.
10. A conveying device, characterized in that: It comprises a host computer and a photoelectric detection device as claimed in any one of claims 1 to 9.