A dual-channel receiving sensor detection circuit and detection method

Through the dual-channel receiving sensor detection circuit, using dual PD receiving tubes and adjustable potentiometers, the problem of large detection errors for dark and light-colored targets by a single-channel receiving sensor is solved, and detection with higher accuracy and reliability is achieved. And supports the adjustment of detection distance.

CN117872496BActive Publication Date: 2024-09-17SHENZHEN CHEVEN TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311712459.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-13
Publication Date
2024-09-17
Estimated Expiration
2043-12-13

AI Technical Summary

Technical Problem

Due to the use of a single receiving diode, the existing diffuse reflection photoelectric sensor cannot accurately detect dark and light target objects, resulting in large detection errors, especially for black and white target objects, and cannot accurately determine whether there is a target in the detection area. objects, resulting in misjudgment.

Method used

A dual-channel receiving sensor detection circuit is used to transmit pulse signals through the transmitting module. The receiving module uses dual PD receiving tubes to receive and differentially amplify the signal. The main control module compares the differentially amplified signal with the preset threshold, and the adjustment module passes the adjustable potentiometer. Adjust the intensity of the transmitted signal, and provide short-circuit protection and working status indication through the output protection module and indicator light module.

Benefits of technology

The detection accuracy is improved, the detection error is reduced, the accurate detection of dark and light target objects is achieved, the reliability and operability of the detection circuit are enhanced, the detection distance is adjustable, and the production cost is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117872496B
    Figure CN117872496B
Patent Text Reader

Abstract

The present application discloses a dual-channel receiving sensor detection circuit and detection method, wherein the detection circuit includes a transmitting module, a receiving module, and a main control module connected to the transmitting module and the receiving module; the transmitting module is used to transmit a pulse signal; the receiving module is used to receive the pulse signal through a dual PD receiving tube, and transmit the received two-channel pulse signal to the main control module after differential amplification; the main control module is used to compare the differentially amplified pulse signal with a preset threshold to determine whether a target detection object exists; and also includes an adjustment module connected to the main control module; the adjustment module is provided with an adjustable potential element with adjustable resistance, and by adjusting the resistance of the adjustable potential element so that the main control module controls the emission intensity of the transmitted pulse signal according to the detected voltage change, higher detection accuracy can be achieved, and the circuit structure is simple and the cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of sensor technology, and specifically relates to a dual-path receiving sensor detection circuit and detection method. Background Art

[0002] The diffuse reflection photoelectric sensor is a sensor that integrates a transmitter and a receiver. When there is a detection object, the object diffusely reflects a sufficient amount of light emitted by the transmitter and passes through the light-transmitting lens back to the receiver. The receiving end receives the light that passes through the detection area and generates a detection signal corresponding to the received light. The detection signal becomes an amplified signal after amplification processing. The amplified signal is compared with the threshold to reflect whether there is an object in the detection area.

[0003] Most of the existing diffuse reflection photoelectric sensors use a single-channel receiving diode, which receives one signal and amplifies the received signal. Since dark colors absorb light and light colors reflect light, this single-channel receiving method cannot accurately obtain the received signal, resulting in large detection errors of the diffuse reflection photoelectric sensor for dark and light target objects, and even greater detection errors for black and white objects, further causing the diffuse reflection photoelectric sensor to be unable to accurately determine whether there is a target object in the detection area, resulting in misjudgment. Summary of the invention

[0004] The present application provides a dual-channel receiving sensor detection circuit and a detection method for accurately determining whether there is a target detection object in a detection area to avoid the problem of misjudgment.

[0005] In order to solve the above technical problems, the present application provides a dual-path receiving sensor detection circuit, which includes a transmitting module, a receiving module, and a main control module connected to the transmitting module and the receiving module;

[0006] The transmitting module is used to transmit a pulse signal;

[0007] The receiving module is used to receive the pulse signal through a dual PD receiving tube, differentially amplify the two received pulse signals, and transmit them to the main control module;

[0008] The main control module is used to compare the differentially amplified pulse signal with a preset threshold value to determine whether a target detection object exists.

[0009] As a further improvement of the present application, the detection circuit further includes a regulating module connected to the main control module;

[0010] The regulating module is provided with an adjustable potential element with adjustable resistance, and the voltage at the end of the regulating module connected to the main control module is adjusted by adjusting the resistance of the adjustable potential element, so that the main control module controls the emission intensity of the emission pulse signal according to the detected voltage change;

[0011] The voltage detected by the main control module is proportional to the emission intensity of the emission pulse signal, and the emission intensity of the emission pulse signal is proportional to the detection distance between the emission module and the receiving module.

[0012] As a further improvement of the present application, the detection circuit further includes an output protection module and an indicator light module connected to the main control module;

[0013] The output module module is used to provide output short-circuit protection for the detection circuit;

[0014] The main control module is also used to control the working state of the indicator light in the indicator light module according to the judgment result of whether the target detection object exists.

[0015] As a further improvement of the present application, the transmitting module includes a first triode and a first light emitting diode;

[0016] The collector of the first triode is connected to the first light-emitting diode and the first resistor in sequence, a first capacitor and a second capacitor arranged in parallel are connected between one end of the first resistor and the anode of the first light-emitting diode, the other ends of the first capacitor and the second capacitor are grounded, and the other end of the first resistor is connected to the input voltage;

[0017] The emitter of the first transistor is connected to a second resistor, a third resistor is connected between the emitter of the first transistor and the base of the first transistor, one end of the third resistor is connected to the second resistor and then grounded, the other end of the third resistor is connected to the base of the first transistor and then connected to a fourth resistor, and the other end of the fourth resistor is connected to the PWM pin of the main control module;

[0018] The main control module controls the duty cycle of the transmission pulse signal through the PWM pin to control the emission intensity of the first light emitting diode.

[0019] As a further improvement of the present application, the receiving module includes the dual PD receiving tube, a third capacitor, a first operational amplifier and a second operational amplifier;

[0020] The anode of the dual PD receiving tube is connected to the working voltage through the fifth resistor, one end of the third capacitor is connected to the connection node between the fifth resistor and the anode of the dual PD receiving tube, and the other end of the third capacitor is grounded;

[0021] The first cathode end of the dual PD receiving tube is connected to the fourth capacitor and the sixth resistor and then connected to the inverting input end of the first operational amplifier; the second cathode end of the dual PD receiving tube is connected to the fifth capacitor and the seventh resistor and then connected to the non-inverting input end of the first operational amplifier; the connection node between the first cathode end of the dual PD receiving tube and the fourth capacitor is connected to the eighth resistor; the connection node between the second cathode end of the dual PD receiving tube and the fifth capacitor is connected to the ninth resistor; and the other ends of the eighth resistor and the ninth resistor are grounded;

[0022] A tenth resistor is connected between the output end of the first operational amplifier and the inverting input end of the first operational amplifier, a sixth capacitor is connected in parallel at both ends of the tenth resistor, a seventh capacitor and an eleventh resistor are connected between the output end of the first operational amplifier and the inverting input end of the second operational amplifier, a twelfth resistor is connected between the non-inverting input end of the second operational amplifier and the non-inverting input end of the first operational amplifier, a thirteenth resistor is connected to a connection node between the twelfth resistor and the non-inverting input end of the second operational amplifier, an eighth capacitor is connected in parallel at both ends of the thirteenth resistor, the eighth capacitor and the thirteenth resistor are connected in parallel and are grounded, the other end of the thirteenth resistor is connected to a working voltage through a fourteenth resistor, a ninth capacitor is connected to a connection node between the fourteenth resistor and the working voltage, and the other end of the ninth capacitor is grounded;

[0023] A fifteenth resistor is connected between the inverting input terminal of the second operational amplifier and the output terminal of the second operational amplifier, a tenth capacitor is connected in parallel at both ends of the fifteenth resistor, a first diode is connected in parallel at both ends of the tenth capacitor, a second diode is connected in parallel at both ends of the first diode, and the output terminal of the second operational amplifier is connected to the Receiver pin of the main control module;

[0024] The pulse signal received by the dual PD receiving tube is differentially amplified by the first operational amplifier, and the second operational amplifier performs secondary amplification on the differential signal of the previous stage, and then is transmitted to the main control module through the receiver pin.

[0025] As a further improvement of the present application, the output protection module includes a varistor, a second triode and a third triode;

[0026] A sixteenth resistor is connected between the emitter of the second triode and the base of the second triode, a seventeenth resistor is connected to the emitter of the second triode, and the sixteenth resistor and the seventeenth resistor are connected together and then grounded; the collector of the second triode is connected to the varistor, one end of the varistor is connected to an OUT pin for open-circuit output, and the other end of the varistor is grounded;

[0027] An eighteenth resistor is connected between the emitter of the second triode and the base of the third triode, a nineteenth resistor is connected between the emitter of the third triode and the base of the third triode, one end of the nineteenth resistor is connected with the eighteenth resistor and then connected to the base of the third triode, and the other end of the nineteenth resistor is connected with the emitter of the third triode and then grounded;

[0028] The collector of the third transistor is connected to the working voltage through the twentieth resistor, and the connection node of the twentieth resistor and the working voltage is connected to the NPN_Short pin of the main control module; the base of the second transistor is connected to the sixteenth resistor and then connected to the twenty-first resistor, and the other end of the twenty-first resistor is connected to the OUT_DRIVER pin of the main control module;

[0029] When the NPN_Short pin is at a low level, the main control module controls the OUT_DRIVER pin to be at a low level to provide output short circuit protection for the detection circuit.

[0030] As a further improvement of the present application, the indicator light module includes a second light emitting diode connected to the LED_GREEN pin of the main control module, and the other end of the second light emitting diode is connected to a twenty-second resistor and then grounded;

[0031] It also includes a third light emitting diode connected to the LED_RED pin of the main control module, and the other end of the third light emitting diode is connected to a twenty-third resistor and then grounded;

[0032] When the detection circuit is powered on normally, the main control module controls the LED_GREEN pin to output a high level so that the second light emitting diode is in a light-on state; otherwise, the main control module controls the LED_GREEN pin to output a low level so that the second light emitting diode is in a light-off state;

[0033] When the judgment result is that the amplified pulse signal is greater than the preset threshold, the main control module controls the LED_RED pin to output a high level so that the third light-emitting diode is in a lit state; otherwise, the main control module controls the LED_RED pin to output a low level so that the third light-emitting diode is in an off state.

[0034] As a further improvement of the present application, the regulating module includes an eleventh capacitor and the adjustable potential element, and the adjustable potential element is an adjustable potentiometer;

[0035] The first end of the adjustable potentiometer is connected to the working voltage through the twenty-fourth resistor, and the second end of the adjustable potentiometer is connected to the RV pin of the main control module through the twenty-fifth resistor;

[0036] One end of the eleventh capacitor is connected between the twenty-fifth resistor and the RV pin, and the third end of the adjustable potentiometer is grounded;

[0037] By adjusting the resistance value of the adjustable potentiometer, the main control module controls the emission intensity of the emission pulse signal according to the detected voltage change of the RV point.

[0038] As a further improvement of the present application, the detection circuit further includes a power supply module, and the power supply module is used to convert the power supply voltage into an operating voltage;

[0039] The power supply module includes a linear regulator, a third diode and a second varistor, the anode of the third diode is connected to the power supply voltage, one end of the second varistor is grounded, and the other end of the second varistor is connected between the anode of the third diode and the power supply voltage;

[0040] The cathode of the third diode is connected to the input end of the linear regulator through a twenty-fourth resistor, a voltage regulator diode and a twelfth capacitor are arranged in parallel between the twenty-fourth resistor and the input end of the linear regulator, the anode of the voltage regulator diode is grounded, one end of the twelfth capacitor is grounded, and the other end of the twelfth capacitor is connected to the input voltage after being connected to the twenty-fourth resistor;

[0041] The output end of the linear regulator is connected to a thirteenth capacitor, one end of the thirteenth capacitor is grounded, and the other end of the thirteenth capacitor is connected to the output end of the linear regulator to output the working voltage.

[0042] The present application also provides a detection method based on the above-mentioned dual-path receiving sensor detection circuit, which is applied to a diffuse reflection sensor and includes the following steps:

[0043] Collect RV voltage value;

[0044] Controlling the transmitting end to transmit a pulse signal with a fixed period and duty cycle according to the RV voltage value;

[0045] The pulse signal is received by a dual PD receiving tube, and the two received pulse signals are differentially amplified and compared with a preset threshold value corresponding to the RV voltage value;

[0046] When it is determined that the amplified pulse signal is greater than a preset threshold, the control indicator light is on, and at this time there is a target detection object between the transmitting end and the receiving end of the diffuse reflection sensor; otherwise, the control indicator light is off, and at this time there is no target detection object between the transmitting end and the receiving end of the diffuse reflection sensor.

[0047] The present application provides a dual-channel receiving sensor detection circuit and detection method, which have the following beneficial effects:

[0048] The present application receives the infrared light signal emitted by the first light-emitting diode through the optical PD receiving tube, performs differential amplification processing on it and transmits the amplified signal to the main control module, and then the main control module compares the amplified signal with the preset threshold value to determine whether there is a target detection object, thereby improving the accuracy of circuit detection; an output protection module is set to provide output short-circuit protection for the detection circuit to avoid damage to various components and improve the reliability of the detection circuit; indicator lights of different colors are set to correspond to different working states of the detection circuit, further simplifying the circuit structure and making the display more intuitive; an adjustable potentiometer is set to enable the main control module to adjust the emission intensity of the pulse signal according to the collected voltage, thereby realizing the adjustable detection distance, strong operability, and effectively saving production costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] 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 embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only part of the embodiments of the present application, rather than all the embodiments. For ordinary technicians in this field, without paying creative work, other drawings obtained based on these drawings all fall within the scope of protection of this application.

[0050] Figure 1 It is a structural schematic diagram of a dual-path receiving sensor detection circuit provided in an embodiment of the present application;

[0051] Figure 2 It is a circuit diagram of a transmitting module in a dual-path receiving sensor detection circuit provided in an embodiment of the present application;

[0052] Figure 3 is a circuit diagram of a receiving module in a dual-path receiving sensor detection circuit provided in an embodiment of the present application;

[0053] Figure 4 It is a circuit diagram of an output protection module in a dual-channel receiving sensor detection circuit provided in an embodiment of the present application;

[0054] Figure 5It is a circuit diagram of an indicator light module in a dual-channel receiving sensor detection circuit provided in an embodiment of the present application;

[0055] Figure 6 It is a circuit diagram of an adjustment module in a dual-path receiving sensor detection circuit provided in an embodiment of the present application;

[0056] Figure 7 It is a circuit diagram of a power module in a dual-channel receiving sensor detection circuit provided in an embodiment of the present application;

[0057] Figure 8 It is a circuit diagram of a main control module in a dual-channel receiving sensor detection circuit provided in an embodiment of the present application;

[0058] Fig. 9 It is a structural schematic diagram of a high beam area and a low beam area in a dual-path receiving sensor detection circuit provided in an embodiment of the present application;

[0059] Fig.10 is a flow chart of a detection method based on a dual-path receiving sensor detection circuit provided in an embodiment of the present application;

[0060] Description of reference numerals:

[0061] R1-first resistor; R2-second resistor; R3-third resistor; R4-fourth resistor; R5-fifth resistor; R6-sixth resistor; R7-seventh resistor; R8-eighth resistor; R9-ninth resistor; R10-tenth resistor; R11-eleventh resistor; R12-twelfth resistor; R13-thirteenth resistor; R14-fourteenth resistor; R15-fifteenth resistor; R16-sixteenth resistor; R17-seventeenth resistor; R18-eighteenth resistor; R19-nineteenth resistor; R20-twentieth resistor; R21-twenty-first resistor; R22-twenty-second resistor; R23-twenty-third resistor; R24-twenty-fourth resistor; R25-twenty-fifth resistor; R26-twenty-sixth resistor;

[0062] C1-first capacitor; C2-second capacitor; C3-third capacitor; C4-fourth capacitor; C5-fifth capacitor; C6-sixth capacitor; C7-seventh capacitor; C8-eighth capacitor; C9-ninth capacitor; C10-tenth capacitor; C11-eleventh capacitor; C12-twelfth capacitor; C13-thirteenth capacitor; C14-fourteenth capacitor;

[0063] Q1-first transistor; Q2-second transistor; Q3-third transistor;

[0064] VD1-first light emitting diode; VD2-second light emitting diode; VD3-third light emitting diode;

[0065] D1-first diode; D2-second diode; D3-third diode;

[0066] U1-first operational amplifier; U2-second operational amplifier;

[0067] RV1-first varistor; RV2-second varistor;

[0068] RT1-adjustable potentiometer;

[0069] ZD1-Zener diode;

[0070] Z1 - linear regulator;

[0071] VCC-power supply voltage; VIN-input voltage; +5V-operating voltage. DETAILED DESCRIPTION

[0072] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0073] In order to make the description of the disclosed content more detailed and complete, the following is an illustrative description of the implementation methods and specific examples of the present application; however, this is not the only form of implementing or applying the specific embodiments of the present application. The implementation methods cover the features of multiple specific embodiments and the method steps and their sequences for constructing and operating these specific embodiments. However, other specific embodiments can also be used to achieve the same or equal functions and step sequences. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0074] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application 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 numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.

[0075] In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" refers to two or more than two, and other quantifiers are similar. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application, and the embodiments of the present application and the features in the embodiments may be combined with each other without conflict.

[0076] Please refer to Figure 1-Figure 9 , the embodiment of the present application proposes a dual-path receiving sensor detection circuit and detection method, which is used to accurately determine whether there is a target detection object between the transmitting end and the receiving end of the diffuse reflection sensor to avoid the problem of misjudgment; please refer to Figure 1 , is a structural schematic diagram of a dual-path receiving sensor detection circuit provided in an embodiment of the present application, wherein the detection circuit includes a transmitting module, a receiving module, and a main control module connected to the transmitting module and the receiving module.

[0077] In an embodiment of the present application, the above-mentioned transmitting module is used to transmit a pulse signal, and the receiving module is used to receive the above-mentioned pulse signal through a dual PD receiving tube, and transmit the two received pulse signals to the main control module after differential amplification. The main control module is used to compare the pulse signal after differential amplification with a preset threshold to determine whether there is a target detection object.

[0078] As an optional implementation, a dual-path receiving sensor detection circuit provided in the present application can be applied to a diffuse reflection sensor to determine whether there is a target detection object directly between the transmitting end and the receiving end of the diffuse reflection sensor. At this time, the pulse signal emitted by the transmitting module is an infrared light signal emitted by the transmitting end, and the pulse signal received by the receiving module is specifically an infrared light signal received by the receiving end through a dual PD receiving tube. The receiving module converts the infrared light signal into an electrical signal, performs differential amplification on the electrical signal, and then transmits it to the main control module. The main control module can be set inside the diffuse reflection sensor, or it can be set outside the diffuse reflection sensor and connected to the above-mentioned transmitting module and receiving module wirelessly. Of course, the above is a specific application embodiment provided by the present application, and does not serve as a further limitation on the application scenario of the present application.

[0079] It should be noted that the PD (Photodetector) receiving tube is an important component in the optical communication system. Its function is to convert the received optical signal into a corresponding electrical signal. The dual PD receiving tube used in this application can receive two optical signals at the same time compared to ordinary PD receiving tubes, and can be implemented by using the dual PD infrared receiving head that has been produced in the prior art; in a specific embodiment provided in this application, the dual PD receiving tube can use a dual PD infrared receiving head of the GOODTAKE brand and model SDR338P-TR. As long as it can realize the simultaneous reception of two optical signals, any dual PD receiving tube selected is feasible, and this application does not impose further restrictions on this.

[0080] Preferably, the present application is also provided with a regulating module connected to the main control module, and the regulating module is provided with an adjustable potential element with adjustable resistance. The voltage at the end of the regulating module connected to the main control module is adjusted by adjusting the resistance of the adjustable potential element, so that the main control module controls the emission intensity of the emission pulse signal according to the detected voltage change, thereby adjusting the detection distance that the detection circuit can achieve.

[0081] In a specific embodiment provided in the present application, the adjustable potential element is an adjustable potentiometer, and the voltage detected by the main control module is proportional to the emission intensity of the transmitted pulse signal, and the emission intensity of the transmitted pulse signal is proportional to the detection distance between the transmitting module and the receiving module; that is, the greater the voltage detected by the main control module, the greater the emission intensity of the transmitted pulse signal is made by adjusting the duty cycle of the transmitted signal, and the greater the detection distance that the detection circuit can achieve; the smaller the voltage detected by the main control module, the smaller the emission intensity of the transmitted pulse signal is made by adjusting the duty cycle of the transmitted signal, and the smaller the detection distance that the detection circuit can achieve. Therefore, the adjustable potential element with adjustable resistance value set by the present application can adjust the voltage of the adjustment module connected to the main control module according to actual needs, thereby realizing adaptive adjustment of the detection distance between the transmitting end and the receiving end of the diffuse reflection sensor, and has high flexibility in use.

[0082] For details, please refer to Figure 2 , is a circuit diagram of a transmitting module in a dual-path receiving sensor detection circuit provided in an embodiment of the present application, the transmitting module includes a first transistor Q1 and a first light-emitting diode VD1;

[0083] The collector of the first transistor Q1 is connected to the first light-emitting diode VD1 and the first resistor R1 in sequence, a first capacitor C1 and a second capacitor C2 arranged in parallel are connected between one end of the first resistor R1 and the anode of the first light-emitting diode VD1, the other ends of the first capacitor C1 and the second capacitor C2 are grounded, and the other end of the first resistor R1 is connected to the input voltage VIN.

[0084] Furthermore, the emitter of the first transistor Q1 is connected to the second resistor R2, and a third resistor R3 is connected between the emitter of the first transistor Q1 and the base of the first transistor Q1. One end of the third resistor R3 is connected to the second resistor R2 and then grounded together. The other end of the third resistor R3 is connected to the base of the first transistor Q1 and then connected to a fourth resistor R4. The other end of the fourth resistor R4 is connected to the PWM pin of the main control module, so that the main control module controls the duty cycle of the transmitted pulse signal through the PWM pin to control the emission intensity of the first light-emitting diode VD1, thereby adjusting the emission intensity of the transmitted pulse signal.

[0085] The transmitting module provided in the present application is a constant current source circuit, and adopts the amplification effect of the first transistor Q1 as a driver, so that the transmitting circuit of the first light-emitting diode VD1 can be kept constant, further improving the stability of the detection circuit.

[0086] As an optional implementation, please refer to Figure 3 , is a circuit diagram of a receiving module in a dual-path receiving sensor detection circuit provided in an embodiment of the present application, the receiving module includes the above-mentioned dual PD receiving tube, a third capacitor C3, a first operational amplifier U1 and a second operational amplifier U2; wherein the anode of the dual PD receiving tube is connected to the working voltage +5V through the fifth resistor R5, one end of the third capacitor C3 is connected to the connection node of the fifth resistor R5 and the anode of the dual PD receiving tube, and the other end of the third capacitor C3 is grounded.

[0087] Furthermore, the first cathode end of the dual PD receiving tube is connected to the fourth capacitor C4 and the sixth resistor R6 and then connected to the reverse input end of the first operational amplifier U1, the second cathode end of the dual PD receiving tube is connected to the fifth capacitor C5 and the seventh resistor R7 and then connected to the same direction input end of the first operational amplifier U1, the connection node between the first cathode end of the dual PD receiving tube and the fourth capacitor C4 is connected to the eighth resistor R8, the connection node between the second cathode end of the dual PD receiving tube and the fifth capacitor C5 is connected to the ninth resistor R9, and the other ends of the eighth resistor R8 and the ninth resistor R9 are grounded.

[0088] Please continue to refer to Figure 3A tenth resistor R10 is connected between the output end of the first operational amplifier U1 and the reverse input end of the first operational amplifier U1, and a sixth capacitor C6 is connected in parallel at both ends of the tenth resistor R10. A seventh capacitor C7 and an eleventh resistor R11 are connected between the output end of the first operational amplifier U1 and the reverse input end of the second operational amplifier U2. A twelfth resistor R12 is connected between the non-inverting input end of the second operational amplifier U2 and the non-inverting input end of the first operational amplifier U1. A thirteenth resistor R13 is connected to a connection node between the twelfth resistor R12 and the non-inverting input end of the second operational amplifier U2. An eighth capacitor C8 is connected in parallel at both ends of the thirteenth resistor R13. The eighth capacitor C8 and the thirteenth resistor R13 are connected in parallel and then grounded. The other end of the thirteenth resistor R13 is connected to the working voltage +5V through the fourteenth resistor R14. A ninth capacitor C9 is connected to the connection node between the fourteenth resistor R14 and the working voltage +5V, and the other end of the ninth capacitor C9 is grounded.

[0089] Furthermore, a fifteenth resistor R15 is connected between the reverse input terminal of the second operational amplifier U2 and the output terminal of the second operational amplifier U2, a tenth capacitor C10 is arranged in parallel at both ends of the fifteenth resistor R15, a first diode D1 is arranged in parallel at both ends of the tenth capacitor C10, a second diode D2 is arranged in parallel at both ends of the first diode D1, and the output terminal of the second operational amplifier U2 is connected to the Receiver pin of the main control module, so that the pulse signal received by the dual PD receiving tube is differentially amplified by the first operational amplifier U1, and the differential signal generated by the previous stage first operational amplifier U1 is secondary amplified by the second operational amplifier and then transmitted to the main control module by the Receiver pin.

[0090] It should be noted that the present application provides a two-stage operational amplifier in the receiving module. The first stage of the operation is a differential amplifier circuit, which performs differential amplification on the two signals received by the dual PD receiving tube through the first operational amplifier U1. The second stage of the operational amplifier is an amplifier circuit, which performs a second amplification on the differential signal output by the first operational amplifier U1 through the second operational amplifier U2. The amplified signal is transmitted to the main control module via the Receiver pin, making it easier to be sampled and identified by the main control module.

[0091] In a specific embodiment provided in the present application, a dual PD receiving tube receives an infrared light signal emitted by a first light-emitting diode VD1 in a transmitting module, converts the received infrared light signal into a current signal, and the current signal is amplified by a first operational amplifier U1 and a second operational amplifier U2, and then transmitted to a main control module through a Receiver pin for processing.

[0092] As for how the first light emitting diode VD1 emits infrared light signals and how the dual PD receiving tubes receive infrared light signals and convert them into electrical signals, these are commonly used technical means in the field of photoelectric sensors, so this application will not go into details.

[0093] Please refer to Figure 8 , which is a circuit diagram of a main control module in a dual-channel receiving sensor detection circuit provided in an embodiment of the present application. The main control module is the core control part of the entire detection circuit and can be implemented based on common MCU (Microcontroller Unit), FPGA (Field Programmable Gate Array), single-chip microcomputer, etc., and is used to receive information sent by other modules through each pin, and issue instructions to other modules after processing and calculating the information.

[0094] In a specific embodiment provided in the present application, the main control module is preferably implemented using an MCU processor, which has at least 20 pins, wherein pin 4 is connected to a working voltage of +5V, pins 5 and 6 are connected as receiver pins to connect the signal after differential amplification of the receiving module, pin 11 is a PWM pin for connecting to the transmitting module, and is used to control the duty cycle and emission intensity of the pulse signal, pin 12 is a VSS pin grounded, pin 13 is a VDD pin connected to a working voltage of +5V, and a fourteenth capacitor C14 is connected between pins 12 and 13, and pin 20 is grounded through a twenty-sixth resistor R26. The present application does not further restrict the specific wiring method of the main control module.

[0095] In the embodiment of the present application, the main control module is used to compare the pulse signal after the differential amplification with a preset threshold value to determine whether there is a target detection object.

[0096] As an optional implementation, taking a diffuse reflection sensor as an example, when the infrared light signal emitted by the diffuse reflection sensor transmitter encounters a rough object, diffuse reflection will be generated on the surface of the object. Since the receiving module set in this application adopts two-way reception, please refer to Fig. 9 , is a structural schematic diagram of the high beam area and the low beam area in a dual-channel receiving sensor detection circuit provided in an embodiment of the present application. When the reflected light spot falls on the exact center of the low beam area and the high beam area, the signal strengths of the two channels received by the dual PD receiving tubes are basically the same. The two channels of received signals can be differentially amplified to obtain a stable voltage value after amplification. The voltage value is used as the preset threshold value corresponding to the detection distance. The preset threshold value is the critical voltage value of whether the target detection object is detected between the transmitting end and the receiving end.

[0097] Therefore, under the premise of a certain detection distance, if the main control module determines that the amplified voltage value is greater than the critical voltage value, it means that there is a target detection object between the transmitter and the receiver at this time, otherwise there is no target detection object between the transmitter and the receiver at this time.

[0098] As an optional implementation, please refer to Figure 6 , is a circuit diagram of an adjustment module in a dual-path receiving sensor detection circuit provided in an embodiment of the present application, the adjustment module includes an eleventh capacitor C11 and the above-mentioned adjustable potential element, wherein the adjustable potential element is an adjustable potentiometer RT1.

[0099] Specifically, the first end of the adjustable potentiometer RT1 is connected to the working voltage +5V through the twenty-fourth resistor R24, the second end of the adjustable potentiometer RT1 is connected to the RV pin of the main control module through the twenty-fifth resistor R25, one end of the eleventh capacitor C11 is connected between the twenty-fifth resistor R25 and the RV pin, and the third end of the adjustable potentiometer RT1 is grounded. By adjusting the resistance value of the adjustable potentiometer RT1, the main control module controls the emission intensity of the transmitted pulse signal according to the voltage change of the detected RV point.

[0100] In the embodiment of the present application, the main control module detects the voltage value of the RV point in the regulation module through the RV pin.

[0101] When the voltage value of the RV point detected by the main control module is larger, the duty cycle of the transmitting signal will be adjusted to make the emission intensity of the transmitting pulse signal larger, and the detection distance that the detection circuit can achieve will be larger; when the voltage value of the RV point detected by the main control module is smaller, the duty cycle of the transmitting signal will be adjusted to make the emission intensity of the transmitting pulse signal smaller, and the detection distance that the detection circuit can achieve will be smaller; when the resistance value of the adjustable potentiometer RT1 is fixed, the voltage value of the RV point detected by the main control module remains unchanged, and the transmitting module forms a constant current circuit. At this time, the emission intensity of the first light-emitting diode VD1 remains unchanged, thereby realizing adaptive adjustment of the detection distance between the transmitting end and the receiving end of the diffuse reflection sensor, and having high flexibility in use.

[0102] It should be noted that different resistance values ​​of the adjustable potentiometer RT1 can achieve different detection distances. Therefore, the resistance range that the adjustable potentiometer RT1 can achieve can be adjusted according to actual needs, or the adjustment accuracy of the resistance value of the adjustable potentiometer RT1 can be adjusted to achieve precise adjustment of the detection distance. The above methods are all feasible and this application does not impose further restrictions on this.

[0103] In a specific embodiment provided in the present application, the voltage value at the RV point can be controlled to vary between 0V-5V by changing the resistance value of the adjustable potentiometer RT1.

[0104] As an optional implementation, the detection circuit provided in the present application also includes an output protection module and an indicator light module connected to the main control module, wherein the output protection module not only serves as the output circuit of the detection circuit, but also can provide output short-circuit protection for the detection circuit to avoid damage to various components and improve the reliability of the detection circuit; the indicator light module includes a set indicator light, and the main control module controls the working status of the indicator light in the indicator light module according to the judgment result of whether there is a target detection object.

[0105] Please refer to Figure 4 , is a circuit diagram of an output protection module in a dual-path receiving sensor detection circuit provided in an embodiment of the present application, the output protection module includes a varistor RV1, a second triode Q2 and a third triode Q3; wherein, a sixteenth resistor R16 is connected between the emitter of the second triode Q2 and the base of the second triode Q2, the emitter of the second triode Q2 is connected to a seventeenth resistor R17, the sixteenth resistor R16 and the seventeenth resistor R17 are connected together and then grounded, the collector of the second triode Q2 is connected to the varistor RV1, one end of the varistor RV1 is connected to an OUT pin for open-circuit output, and the other end of the varistor RV1 is grounded.

[0106] Furthermore, an eighteenth resistor R18 is connected between the emitter of the second transistor Q2 and the base of the third transistor Q3, and a nineteenth resistor R19 is connected between the emitter of the third transistor Q3 and the base of the third transistor Q3. One end of the nineteenth resistor R19 is connected to the base of the third transistor Q3 after being connected to the eighteenth resistor R18, and the other end of the nineteenth resistor R19 is connected to the emitter of the third transistor Q3 and then grounded.

[0107] Please continue to refer to Figure 4 The collector of the third transistor Q3 is connected to the working voltage +5V through the twentieth resistor R20, and the connection node of the twentieth resistor R20 and the working voltage +5V is connected to the NPN_Short pin of the main control module. The base of the second transistor Q2 is connected to the sixteenth resistor R16 and then connected to the twenty-first resistor R21, and the other end of the twenty-first resistor R21 is connected to the OUT_DRIVER pin of the main control module; when the NPN_Short pin is at a low level, the main control module controls the OUT_DRIVER pin to be at a low level to provide output short-circuit protection for the detection circuit.

[0108] In an embodiment of the present application, a second diode Q2 is used to realize OC open-circuit output and a load is connected through the OUT pin to realize the output function of the detection circuit, and at the same time has an output short-circuit protection function. When the main control module detects that the NPN_Short pin is at a low level, that is, the collector of the third transistor Q3 is at a low level, the main control module controls the OUT_DRIVER pin to a low level to provide output short-circuit protection for the detection circuit.

[0109] As an optional implementation, please refer to Figure 5 , which is a circuit diagram of an indicator light module in a dual-channel receiving sensor detection circuit provided in an embodiment of the present application. The indicator light module includes a second light-emitting diode VD2 connected to the LED_GREEN pin of the main control module, and the other end of the second light-emitting diode VD2 is connected to the twenty-second resistor R22 and then grounded.

[0110] Furthermore, the above-mentioned indicator light module also includes a third light-emitting diode VD3 connected to the LED_RED pin of the main control module, and the other end of the third light-emitting diode VD3 is connected to the twenty-third resistor R23 and then grounded; when the detection circuit is powered on normally, the main control module controls the LED_GREEN pin to output a high level so that the second light-emitting diode VD2 is in a lit state; otherwise, the main control module controls the LED_GREEN pin to output a low level so that the second light-emitting diode VD2 is in an off state.

[0111] When the judgment result is that the amplified pulse signal is greater than the preset threshold, the main control module controls the LED_RED pin to output a high level to turn on the third light-emitting diode VD3; otherwise, the main control module controls the LED_RED pin to output a low level to turn off the third light-emitting diode VD3.

[0112] In a specific embodiment provided in the present application, the above-mentioned second light-emitting diode VD2 is a green LED light used to indicate the power-on status of the detection circuit. When the green LED light is on, it means that the detection circuit is in power-on operation. The third light-emitting diode VD3 is a red LED light used to indicate whether there is a target detection object in the detection area. When the red LED light is on, it means that there is a target detection object.

[0113] Of course, the second light-emitting diode VD2 can be set to be in a lit state when the detection circuit is powered on normally, otherwise the second light-emitting diode VD2 is in an off state; the second light-emitting diode VD2 can also be set to be in an off state when the detection circuit is powered on normally, otherwise the second light-emitting diode VD2 is in a lit state; and a speaker can also be set to provide a sound indication of the power-on status of the detection circuit.

[0114] Similarly, the third light-emitting diode VD3 can be set to be lit when there is a target detection object between the transmitting end and the receiving end, otherwise the third light-emitting diode VD3 is off; the third light-emitting diode VD3 can also be set to be off when there is a target detection object between the transmitting end and the receiving end, otherwise the third light-emitting diode VD3 is lit; a speaker can also be set to provide sound indication of the current detection status. As long as it is possible to distinguish whether there is a target detection object between the transmitting end and the receiving end, other selected settings are feasible, and the present application does not impose further restrictions on this.

[0115] As an optional implementation, the present application also provides a power supply module for powering the detection circuit, which is used to convert the power supply voltage VCC into an operating voltage for use by the above-mentioned transmitting module, receiving module, output protection module, indicator light module and adjustment module; in a specific embodiment provided in the present application, the power supply module is used to convert the power supply voltage VCC into a +5V working power supply.

[0116] Please refer to Figure 7 , which is a circuit diagram of a power supply module in a dual-path receiving sensor detection circuit provided in an embodiment of the present application. It can be observed that the power supply module provided in the present application includes a linear regulator Z1, a third diode D3 and a second varistor RV2; wherein the anode of the third diode D3 is connected to the power supply voltage VCC, one end of the second varistor RV2 is grounded, and the other end of the second varistor RV2 is connected between the anode of the third diode D3 and the power supply voltage VCC.

[0117] Further, the cathode of the third diode D3 is connected to the input end of the linear regulator Z1 through the twenty-fourth resistor R24, and a Zener diode ZD1 and a twelfth capacitor C12 are arranged in parallel between the twenty-fourth resistor R24 ​​and the input end of the linear regulator Z1, the anode of the Zener diode ZD1 is grounded, one end of the twelfth capacitor C12 is grounded, the other end of the twelfth capacitor C12 is connected to the twenty-fourth resistor R24 ​​and then connected to the input voltage VIN, and at the same time, the output end of the linear regulator Z1 is connected to the thirteenth capacitor C13, one end of the thirteenth capacitor C13 is grounded, and the other end of the thirteenth capacitor C13 is connected to the output end of the linear regulator Z1 to output a working voltage +5V.

[0118] In the power module provided in the embodiment of the present application, the voltage regulator diode ZD1 is a Schottky diode with unidirectional conductivity, which can prevent the power line from being burned out when the positive and negative poles are reversed. The linear regulator Z1 can linearly step down the input voltage range to obtain a stable voltage of +5V to ensure the normal power supply of the entire system.

[0119] Please continue to refer to Figure 8, used to describe how to connect the above-mentioned output protection module, adjustment module and indicator light module to the main control module, wherein pin 7 is connected to the indicator light module as the LED_GREEN pin, pin 9 is used as the RV pin to connect to the adjustment module and collect the voltage value of the RFV end, pin 11 is connected to the transmitting module as the PWM pin to adjust the emission intensity of the pulse signal, pin 14 is connected to the output protection module as the OUT_DRIVER pin, and pin 18 is also connected to the output protection module as the NPN_Short pin. When the main control module detects that the NPN_Short pin is at a low level, the OUT_DRIVER pin is controlled to be at a low level to provide output short-circuit protection for the detection circuit, and pin 19 is also connected to the indicator light module as the LED_RED pin. Of course, the above description is an example description of the main control module in this application, and does not serve as a further limitation on the specific wiring method of the main control module. Those skilled in the art should know this.

[0120] When a dual-path receiving sensor detection circuit provided in the present application is applied to a diffuse reflection sensor, when the infrared light signal emitted by the transmitting end of the diffuse reflection sensor encounters a rough and uneven object, diffuse reflection will be generated on the surface of the object, and the infrared light signal emitted by the first light-emitting diode VD1 will be received by the dual PD receiving tube, and the receiving module will differentially amplify the two received signals, and the amplified signal will be transmitted to the main control module via the Receiver pin, and then the main control module will compare the amplified signal with the preset threshold. If the judgment result is that the amplified pulse signal is greater than the preset threshold, the main control module controls the third light-emitting diode VD3 to be in a lit state, and there is a target detection object between the transmitting end and the receiving end of the diffuse reflection sensor. Otherwise, the main control module controls the third light-emitting diode VD3 to be in an extinguished state, and there is no target detection object between the transmitting end and the receiving end of the diffuse reflection sensor.

[0121] It should be noted that lenses need to be set at corresponding positions between the transmitting end and the receiving end of the diffuse reflection sensor to focus energy, so that the emitted light energy and the diffusely reflected light energy can be better received and utilized, further improving the detection accuracy of the diffuse reflection sensor.

[0122] Since dark colors absorb light and light colors reflect light, the conventional single-channel signal receiving method is inaccurate, which will cause the diffuse reflection photoelectric sensor to have large detection errors for dark-colored target objects and light-colored target objects, and even greater detection errors for black and white detection objects, resulting in the diffuse reflection photoelectric sensor being unable to accurately detect whether there is a target detection object. In a specific embodiment provided in the present application, by applying the detection circuit provided in the present application to the diffuse reflection photoelectric sensor, it was found through many experiments that the detection error of black detection objects and white detection objects can be improved from about 80% to about 50%, further proving that the present application can effectively avoid detection errors for dark-colored target detection objects and light-colored target objects, and achieve higher detection accuracy.

[0123] Please refer to Fig.10 , is a flow chart of a detection method based on a dual-path receiving sensor detection circuit provided in an embodiment of the present application. The detection method based on the dual-path receiving sensor detection circuit provided in the present application is applied to a diffuse reflection sensor. The method includes the following steps:

[0124] S1: collect RV voltage value;

[0125] As an optional implementation, the above-mentioned acquisition of the RV voltage value includes setting the resistance value of the adjustable potentiometer RT1 in advance, so that the main control module detects the voltage value of the RV point in the adjustment module through the RV pin.

[0126] S2: Control the transmitter to transmit a pulse signal with a fixed period and duty cycle according to the RV voltage value;

[0127] In the embodiment of the present application, in the embodiment of the present application, the main control module detects the voltage value of the RV point in the adjustment module through the RV pin. When the voltage value of the RV point detected by the main control module is larger, the duty cycle of the transmission signal will be adjusted to make the emission intensity of the first light-emitting diode VD1 larger, and the detection distance that the detection circuit can achieve will be larger; when the voltage value of the RV point detected by the main control module is smaller, the duty cycle of the transmission signal will be adjusted to make the emission intensity of the first light-emitting diode VD1 smaller, and the detection distance that the detection circuit can achieve will be smaller; it should be understood that the present application adjusts the achievable detection distance of the diffuse reflection sensor through the adjustable potentiometer RT1. This step is performed under the premise that the detection distance and the preset threshold are set. In principle, there is no need to adjust the resistance of the adjustable potentiometer RT1 during the detection process to avoid changes in the preset threshold and affect the detection accuracy of the diffuse reflection sensor.

[0128] S3: receiving the pulse signal through a dual PD receiving tube, differentially amplifying the two received pulse signals and comparing them with a preset threshold corresponding to the RV voltage value;

[0129] As an optional implementation, the present application receives two infrared light signals emitted by the first light-emitting diode VD1 of the dual PD receiving tube, and performs differential amplification on them. The amplified signal is transmitted to the main control module via the Receiver pin, and the MCU processor in the main control module compares the amplified voltage signal with the preset threshold. The preset threshold has been explained in detail in the above application, so it will not be repeated here.

[0130] S4: When it is determined that the amplified pulse signal is greater than a preset threshold, the control indicator light is on, and at this time there is a target detection object between the transmitting end and the receiving end of the diffuse reflection sensor; otherwise, the control indicator light is off, and at this time there is no target detection object between the transmitting end and the receiving end of the diffuse reflection sensor.

[0131] As an optional implementation, if the judgment result is that the amplified pulse signal is greater than the preset threshold, the main control module controls the third light-emitting diode VD3 to be in a lit state, and there is a target detection object between the transmitting end and the receiving end of the diffuse reflection sensor; otherwise, the main control module controls the third light-emitting diode VD3 to be in an off state, and there is no target detection object between the transmitting end and the receiving end of the diffuse reflection sensor.

[0132] For other details about how the above-mentioned technical solution is implemented in each step of the above-mentioned detection method, reference may be made to the description of a dual-path receiving sensor detection circuit provided in the above-mentioned application embodiment, which will not be repeated here.

[0133] In the several embodiments provided in the present application, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0134] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0135] The present application provides a dual-path receiving sensor detection circuit and detection method, which receives the infrared light signal emitted by the first light-emitting diode through an optical PD receiving tube, performs differential amplification processing on the infrared light signal, and transmits the amplified signal to the main control module, and then the main control module compares the amplified signal with a preset threshold value to determine whether there is a target detection object, thereby improving the accuracy of circuit detection; an output protection module is provided to provide output short-circuit protection for the detection circuit to avoid damage to various components and improve the reliability of the detection circuit; indicator lights of different colors are provided to correspond to different working states of the detection circuit, thereby further simplifying the circuit structure and making the display more intuitive; an adjustable potentiometer is provided to enable the main control module to adjust the emission intensity of the pulse signal according to the collected voltage, thereby realizing the adjustable detection distance, having strong operability, and effectively saving production costs.

[0136] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A dual-channel receiving sensor detection circuit, It is characterized in that It includes a transmitting module, a receiving module, and a main control module connected to the transmitting module and the receiving module; The transmitting module is used to transmit a pulse signal; The receiving module is used to receive the pulse signal through a dual PD receiving tube, differentially amplify the two received pulse signals, and transmit them to the main control module; The main control module is used to compare the differentially amplified pulse signal with a preset threshold value to determine whether a target detection object exists; Wherein, the receiving module includes the dual PD receiving tube, a third capacitor, a first operational amplifier and a second operational amplifier; The anode of the dual PD receiving tube is connected to the working voltage through the fifth resistor, one end of the third capacitor is connected to the connection node between the fifth resistor and the anode of the dual PD receiving tube, and the other end of the third capacitor is grounded; The first cathode end of the dual PD receiving tube is connected to the fourth capacitor and the sixth resistor and then connected to the inverting input end of the first operational amplifier; the second cathode end of the dual PD receiving tube is connected to the fifth capacitor and the seventh resistor and then connected to the non-inverting input end of the first operational amplifier; the connection node between the first cathode end of the dual PD receiving tube and the fourth capacitor is connected to the eighth resistor; the connection node between the second cathode end of the dual PD receiving tube and the fifth capacitor is connected to the ninth resistor; and the other ends of the eighth resistor and the ninth resistor are grounded; A tenth resistor is connected between the output end of the first operational amplifier and the inverting input end of the first operational amplifier, a sixth capacitor is connected in parallel at both ends of the tenth resistor, a seventh capacitor and an eleventh resistor are connected between the output end of the first operational amplifier and the inverting input end of the second operational amplifier, a twelfth resistor is connected between the non-inverting input end of the second operational amplifier and the non-inverting input end of the first operational amplifier, a thirteenth resistor is connected to a connection node between the twelfth resistor and the non-inverting input end of the second operational amplifier, an eighth capacitor is connected in parallel at both ends of the thirteenth resistor, the eighth capacitor and the thirteenth resistor are connected in parallel and are grounded, the other end of the thirteenth resistor is connected to a working voltage through a fourteenth resistor, a ninth capacitor is connected to a connection node between the fourteenth resistor and the working voltage, and the other end of the ninth capacitor is grounded; A fifteenth resistor is connected between the inverting input terminal of the second operational amplifier and the output terminal of the second operational amplifier, a tenth capacitor is arranged in parallel at both ends of the fifteenth resistor, a first diode is arranged in parallel at both ends of the tenth capacitor, a second diode is arranged in parallel at both ends of the first diode, and the output terminal of the second operational amplifier is connected to the Receiver pin of the main control module.

2. A dual-path receiving sensor detection circuit as claimed in claim 1, It is characterized in that The detection circuit also includes a regulating module connected to the main control module; The regulating module is provided with an adjustable potential element with adjustable resistance, and the voltage at the end of the regulating module connected to the main control module is adjusted by adjusting the resistance of the adjustable potential element, so that the main control module controls the emission intensity of the emission pulse signal according to the detected voltage change; The voltage detected by the main control module is proportional to the emission intensity of the emission pulse signal, and the emission intensity of the emission pulse signal is proportional to the detection distance between the emission module and the receiving module.

3. A dual-path receiving sensor detection circuit as claimed in claim 1, It is characterized in that The detection circuit also includes an output protection module and an indicator light module connected to the main control module; The output module is used to provide output short-circuit protection for the detection circuit; The main control module is also used to control the working state of the indicator light in the indicator light module according to the judgment result of whether the target detection object exists.

4. A dual-path receiving sensor detection circuit as claimed in claim 1, It is characterized in that The transmitting module includes a first triode and a first light emitting diode; The collector of the first triode is connected to the first light-emitting diode and the first resistor in sequence, a first capacitor and a second capacitor arranged in parallel are connected between one end of the first resistor and the anode of the first light-emitting diode, the other ends of the first capacitor and the second capacitor are grounded, and the other end of the first resistor is connected to the input voltage; The emitter of the first transistor is connected to a second resistor, a third resistor is connected between the emitter of the first transistor and the base of the first transistor, one end of the third resistor is connected to the second resistor and then grounded, the other end of the third resistor is connected to the base of the first transistor and then connected to a fourth resistor, and the other end of the fourth resistor is connected to the PWM pin of the main control module; The main control module controls the duty cycle of the transmission pulse signal through the PWM pin to control the emission intensity of the first light emitting diode.

5. A dual-path receiving sensor detection circuit as claimed in claim 1, It is characterized in that The pulse signal received by the dual PD receiving tube is differentially amplified by the first operational amplifier, and the second operational amplifier performs secondary amplification on the differential signal of the previous stage, and then is transmitted to the main control module through the Receiver pin.

6. A dual-path receiving sensor detection circuit as claimed in claim 3, It is characterized in that The output protection module includes a varistor, a second triode and a third triode; A sixteenth resistor is connected between the emitter of the second triode and the base of the second triode, a seventeenth resistor is connected to the emitter of the second triode, and the sixteenth resistor and the seventeenth resistor are connected together and then grounded; the collector of the second triode is connected to the varistor, one end of the varistor is connected to an OUT pin for open-circuit output, and the other end of the varistor is grounded; An eighteenth resistor is connected between the emitter of the second triode and the base of the third triode, a nineteenth resistor is connected between the emitter of the third triode and the base of the third triode, one end of the nineteenth resistor is connected with the eighteenth resistor and then connected to the base of the third triode, and the other end of the nineteenth resistor is connected with the emitter of the third triode and then grounded; The collector of the third transistor is connected to the working voltage through the twentieth resistor, and the connection node of the twentieth resistor and the working voltage is connected to the NPN_Short pin of the main control module; the base of the second transistor is connected to the sixteenth resistor and then connected to the twenty-first resistor, and the other end of the twenty-first resistor is connected to the OUT_DRIVER pin of the main control module; When the NPN_Short pin is at a low level, the main control module controls the OUT_DRIVER pin to be at a low level to provide output short circuit protection for the detection circuit.

7. A dual-path receiving sensor detection circuit as claimed in claim 3, It is characterized in that The indicator light module includes a second light emitting diode connected to the LED_GREEN pin of the main control module, and the other end of the second light emitting diode is connected to a twenty-second resistor and then grounded; It also includes a third light emitting diode connected to the LED_RED pin of the main control module, and the other end of the third light emitting diode is connected to a twenty-third resistor and then grounded; When the detection circuit is powered on normally, the main control module controls the LED_GREEN pin to output a high level so that the second light emitting diode is in a light-on state; otherwise, the main control module controls the LED_GREEN pin to output a low level so that the second light emitting diode is in a light-off state; When the judgment result is that the amplified pulse signal is greater than the preset threshold, the main control module controls the LED_RED pin to output a high level so that the third light-emitting diode is in a lit state; otherwise, the main control module controls the LED_RED pin to output a low level so that the third light-emitting diode is in an off state.

8. A dual-path receiving sensor detection circuit as claimed in claim 2, It is characterized in that The regulating module comprises an eleventh capacitor and the adjustable potential element, and the adjustable potential element is an adjustable potentiometer; The first end of the adjustable potentiometer is connected to the working voltage through the twenty-fourth resistor, and the second end of the adjustable potentiometer is connected to the RV pin of the main control module through the twenty-fifth resistor; One end of the eleventh capacitor is connected between the twenty-fifth resistor and the RV pin, and the third end of the adjustable potentiometer is grounded; By adjusting the resistance value of the adjustable potentiometer, the main control module controls the emission intensity of the emission pulse signal according to the detected voltage change of the RV point.

9. A dual-path receiving sensor detection circuit as claimed in claim 1, It is characterized in that The detection circuit also includes a power supply module, and the power supply module is used to convert the power supply voltage into an operating voltage; The power supply module includes a linear regulator, a third diode and a second varistor, the anode of the third diode is connected to the power supply voltage, one end of the second varistor is grounded, and the other end of the second varistor is connected between the anode of the third diode and the power supply voltage; The cathode of the third diode is connected to the input end of the linear regulator through a twenty-fourth resistor, a voltage regulator diode and a twelfth capacitor are arranged in parallel between the twenty-fourth resistor and the input end of the linear regulator, the anode of the voltage regulator diode is grounded, one end of the twelfth capacitor is grounded, and the other end of the twelfth capacitor is connected to the input voltage after being connected to the twenty-fourth resistor; The output end of the linear regulator is connected to a thirteenth capacitor, one end of the thirteenth capacitor is grounded, and the other end of the thirteenth capacitor is connected to the output end of the linear regulator to output the working voltage.

10. A detection method based on the sensor detection circuit as claimed in claim 8, applied to a diffuse reflection sensor, It is characterized in that The following steps are involved: Collect RV voltage value; Controlling the transmitting end to transmit a pulse signal with a fixed period and duty cycle according to the RV voltage value; The pulse signal is received by a dual PD receiving tube, and the two received pulse signals are differentially amplified and compared with a preset threshold value corresponding to the RV voltage value; When it is determined that the amplified pulse signal is greater than a preset threshold, the control indicator light is on, and at this time there is a target detection object between the transmitting end and the receiving end of the diffuse reflection sensor; otherwise, the control indicator light is off, and at this time there is no target detection object between the transmitting end and the receiving end of the diffuse reflection sensor.