DToF intelligent background suppression photoelectric sensor
Through dToF intelligent background suppression photoelectric sensor, combined with dToF ranging module and MCU controller, simplified circuit design and automated learning are achieved, solving the problems of complex and cost of mechanical adjustment in traditional photoelectric sensors, and improving the ranging accuracy and detection efficiency.
Patent Information
- Application Number
- CN202323583310.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2033-12-27
AI Technical Summary
Traditional background suppression photoelectric sensors are based on triangulation method, which leads to the need for mechanical adjustment of lenses when detecting target objects. The adjustment is complex and the accuracy is high, and the hardware cost is high.
The dToF intelligent background suppression photoelectric sensor is adopted, combined with the dToF ranging module, MCU controller, compatible output circuit and intelligent learning buttons, the target object distance is measured through the dToF ranging module, and the MCU controller performs data acquisition and logic processing, and is compatible with output. The circuit outputs data and realizes one-click self-learning and ranging functions.
The circuit design is simplified, the blind spots of target object detection are reduced, accurate ranging and automated learning are achieved, and hardware costs and tuning complexity are reduced.
Smart Images

Figure CN222232885U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of sensors, in particular to a dToF intelligent background suppression photoelectric sensor. Background Art
[0002] dToF is a direct measurement of flight time. The principle is to emit light pulses to the object to be measured, and directly calculate the depth of the object to be measured by measuring the time interval between the reflected and emitted light pulses. The ranging principle ensures that the dTOF measurement accuracy will not decrease with the increase of distance, and the power consumption is lower and the anti-interference ability to ambient light is stronger. The dToF module is an optoelectronic ranging module that integrates SPAD photoelectric detection, laser and TDC in an integrated design. It has technical characteristics such as small size and high ranging accuracy, and is particularly suitable for industrial small photoelectric detection sensors. Background suppression sensor is one of the most commonly used sensors in the field of industrial automation. There are many types of photoelectric sensors, which are classified according to light sources: infrared photoelectric sensors, red light photoelectric sensors, and laser photoelectric sensors. According to function: background suppression photoelectric sensors, foreground suppression photoelectric sensors, etc. Its main feature is to shield the background and is not affected by the background and object color when working.
[0003] Traditional background suppression photoelectric sensors are based on triangulation to achieve target object detection and background shielding.
[0004] The following are two examples of the technical principles of background suppression sensors:
[0005] 1. Dual PD background suppression
[0006] Dual PD is a photoelectric detection device that integrates two photodiodes. The two photodiodes are arranged in parallel, and the distance between the two PDs is very small (micrometer level), which are called far-end PD and near-end PD respectively. The principle is that the sensor emits quasi-value light, which is reflected to the receiving lens after hitting the detection target and then received by the PD photodetector. According to the principle of triangulation, the signals received by the two PD diodes are different when the distance to the detection target is different. The distance of the target can be determined based on the difference in PD signals.
[0007] 2. PSD background suppression:
[0008] PSD optoelectronic devices are optoelectronic devices that use multiple photodiodes in an array layout, and the spacing between each photodiode is very small (micrometer level), which can convert light intensity signals into analog signal outputs. The principle is that the sensor emits quasi-value light, which is reflected to the receiving lens after hitting the detection target and then received by the PD photodetector. According to the principle of triangulation, the position of the light spot received by the PSD is different at different distances from the detection target, and the signal strength received by the PSD array is also different, and the analog signal value output by it changes.
[0009] The above two technical solutions are both based on triangulation. Their main technical disadvantage is that the detection of the target object uses the method of mechanically adjusting the lens to achieve distance adjustment. The adjustment of the sensor is complicated and tedious. The PSD solution has high detection accuracy, but its hardware cost is also high. For this reason, we propose a dToF intelligent background suppression photoelectric sensor. Utility Model Content
[0010] The purpose of the utility model is to provide a dToF intelligent background suppression photoelectric sensor to solve the problems raised in the background technology.
[0011] To achieve the above-mentioned purpose, the utility model provides the following technical solutions: a dToF intelligent background suppression photoelectric sensor, including a dToF ranging module, an MCU controller, a compatible output circuit and an intelligent learning button;
[0012] The output end of the dToF ranging module is electrically connected to the input end of the MCU controller, the output end of the MCU controller is electrically connected to the input end of the compatible output circuit, and the smart learning button is electrically connected to the input end of the MCU controller;
[0013] The dToF ranging module is used for measuring the distance of the target object;
[0014] The MCU controller is used for data acquisition and logic signal processing;
[0015] The compatible output circuit is used to output the logic signal after being processed by the MCU controller;
[0016] The intelligent learning button is used to control the operation of the MCU controller.
[0017] Furthermore, the dToF ranging module includes a chip U1, a resistor R3, a resistor R4 and a capacitor C3, the SCL pin of the chip U1 is connected to the resistor R3, the SDA pin of the chip U1 is connected to the resistor R4, and the VCC pin of the chip U1 is connected to the capacitor C3.
[0018] Furthermore, the MCU controller includes a chip U2, a working power indicator light D2, and a working status indicator light D4. The PD4 pin of the chip U2 is connected to the working power indicator light D2, and the working power indicator light D2 is connected to a resistor R7. The PA3 pin of the chip U2 is connected to the working status indicator light D4, and the working status indicator light D4 is connected to a resistor R9.
[0019] Furthermore, the compatible output circuit includes an NPN output transistor Q1, a PNP output transistor Q2, a unidirectional diode D1, a TVS protection diode D3 and a current limiting fuse U3, the PA2 pin of the chip U2 is connected to the PNP output transistor Q2, the PNP output transistor Q2 is connected to the unidirectional diode D1, the unidirectional diode D1 is connected to the NPN output transistor Q1, the NPN output transistor Q1 is connected to a resistor R5, the unidirectional diode D1 is connected to the current limiting fuse U3, and a TVS protection diode D3 is connected between the current limiting fuse U3 and the unidirectional diode D1.
[0020] Furthermore, the intelligent learning button includes a button K1, the button K1 is connected to the PD2 pin of the chip U2, and the button K1 is connected to a resistor R10.
[0021] Furthermore, the NRST pin of the chip U2 is connected to a resistor R1 , a capacitor C1 is connected between the VSS pin and the VCAP pin of the chip U2 , and a capacitor C2 is connected to the VDD pin of the chip U2 .
[0022] Furthermore, the resistor R3 is connected to a pull-up resistor R2, and the resistor R4 is connected to a pull-up resistor R6.
[0023] Compared with the prior art, the utility model has the following beneficial effects: the utility model can measure the distance of the target object by setting a dToF ranging module, and then the distance data collected by the dToF ranging module is transmitted to the MCU controller, the MCU controller collects the distance data and performs logical processing on the data, and then the processed logical data is output through NPN or PNP through a compatible output circuit, and the circuit design of the device is simple, and one-key self-learning and ranging functions can be realized, and the target detection blind area is small. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a schematic diagram of the system principle of the utility model;
[0025] Figure 2 This is a schematic diagram of the circuit structure of the dToF ranging module of the utility model;
[0026] Figure 3 This is a schematic diagram of the structure of the MCU controller circuit diagram of the utility model;
[0027] Figure 4 This is a schematic diagram of the circuit structure of the compatible output circuit of the utility model. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0029] See also Figure 1-Figure 4 ,The utility model provides a technical solution: a dToF intelligent background suppression photoelectric sensor, including a dToF ranging module, an MCU controller, a compatible output circuit and an intelligent learning button;
[0030] The output end of the dToF ranging module is electrically connected to the input end of the MCU controller, the output end of the MCU controller is electrically connected to the input end of the compatible output circuit, and the smart learning button is electrically connected to the input end of the MCU controller;
[0031] The dToF ranging module is used for measuring the distance of the target object;
[0032] The MCU controller is used for data acquisition and logic signal processing;
[0033] The compatible output circuit is used to output the logic signal after being processed by the MCU controller;
[0034] The intelligent learning button is used to control the operation of the MCU controller.
[0035] Among them, by setting up the dToF ranging module, the distance of the target object can be measured, and then the distance data collected by the dToF ranging module is transmitted to the MCU controller. The MCU controller collects the distance data and performs logical processing on the data. Then, the processed logical data is output through NPN or PNP through a compatible output circuit. The circuit design of this device is simple, and it can realize one-key self-learning and ranging functions, and the target detection blind area is small.
[0036] See also Figure 1 and Figure 2 The dToF ranging module includes a chip U1, a resistor R3, a resistor R4 and a capacitor C3. The SCL pin of the chip U1 is connected to the resistor R3, the SDA pin of the chip U1 is connected to the resistor R4, the VCC pin of the chip U1 is connected to the capacitor C3, the resistor R3 is connected to a pull-up resistor R2, and the resistor R4 is connected to a pull-up resistor R6.
[0037] Among them, the set chip U1 is the detection unit, and the resistors R3 and R4 are I2C impedance matching resistors, the resistors R2 and R6 are I2C communication pull-up resistors, and the MCU controller collects the distance data measured by the dToF ranging module through the I2C communication interface.
[0038] See also Figure 1 , Figure 2 and Figure 3 The MCU controller includes a chip U2, a working power indicator light D2, and a working status indicator light D4. The PD4 pin of the chip U2 is connected to the working power indicator light D2, and the working power indicator light D2 is connected to a resistor R7. The PA3 pin of the chip U2 is connected to the working status indicator light D4, and the working status indicator light D4 is connected to a resistor R9. The NRST pin of the chip U2 is connected to a resistor R1. A capacitor C1 is connected between the VSS pin and the VCAP pin of the chip U2, and a capacitor C2 is connected to the VDD pin of the chip U2.
[0039] Among them, the resistor R3 is connected to the PD6 pin of the chip U2, and the resistor R4 is connected to the PD5 pin of the chip, so that the distance data can be transmitted to the inside of the chip U2, and the set working power indicator light D2 displays the power connection status, and the set working status indicator light D4 displays different working status conditions.
[0040] See also Figure 1 , Figure 2 , Figure 3 and Figure 4 The compatible output circuit includes an NPN output transistor Q1, a PNP output transistor Q2, a unidirectional diode D1, a TVS protection diode D3 and a current limiting fuse U3. The PA2 pin of the chip U2 is connected to the PNP output transistor Q2, the PNP output transistor Q2 is connected to the unidirectional diode D1, the unidirectional diode D1 is connected to the NPN output transistor Q1, the NPN output transistor Q1 is connected to a resistor R5, the unidirectional diode D1 is connected to the current limiting fuse U3, and the TVS protection diode D3 is connected between the current limiting fuse U3 and the unidirectional diode D1.
[0041] Among them, when the data NPN is output, when OUT is high level, the PNP output transistor Q2, the unidirectional diode D1 is turned on to pull the emitter of the NPN output transistor Q1 low, and the current limiting fuse U3 outputs a low level signal;
[0042] When the data is PNP output and OUT is at a low level, the PNP output transistor Q2 is cut off, the unidirectional diode D1 is cut off, and the resistor R5 is pulled up. At this time, the base of the NPN output transistor Q1 is at a high level, the NPN output transistor Q1 transistor is turned on, and the current limiting fuse U3 outputs a high level signal.
[0043] See also Figure 1 , Figure 2 and Figure 3 The intelligent learning button includes a button K1, which is connected to the PD2 pin of the chip U2. The button K1 is connected to a resistor R10. The button K1 can achieve different self-learning states through different pressing methods.
[0044] When in use, first, the chip U1 is set as the detection unit, and the resistors R3 and R4 are I2C impedance matching resistors, the resistors R2 and R6 are I2C communication pull-up resistors, and the MCU controller collects the distance data measured by the dToF ranging module through the I2C communication interface, the resistor R3 is connected to the PD6 pin of the chip U2, and the resistor R4 is connected to the PD5 pin of the chip, so that the distance data can be transmitted to the inside of the chip U2, and the working power indicator D2 is set to display the power connection status, and the working status indicator D 4 shows different working status conditions. When data is NPN output, when OUT is high level, PNP output transistor Q2, unidirectional diode D1 is turned on to pull down the emitter of NPN output transistor Q1, and at this time the current limiting fuse U3 outputs a low level signal; when data is PNP output, when OUT is low level, PNP output transistor Q2 is cut off, unidirectional diode D1 is cut off, resistor R5 is pulled up, and at this time the base of NPN output transistor Q1 is high level, NPN output transistor Q1 transistor is turned on, and current limiting fuse U3 outputs a high level signal.
[0045] The MCU controller collects the distance data measured by the dToF ranging module through the I2C communication interface, and then the smart learning button triggers the MCU controller to start the smart learning program. The MCU controller then saves the learning results and outputs signals to the compatible output circuit according to the learning results when working.
[0046] The self-learning workflow is: by long pressing the button K1, the MCU controller enters the learning state, and the working status indicator D4 flashes at 500ms. Then place the detection target at the front of the device, press the button K1 again, and the working status indicator D4 flashes at 1S. Move the detection target away, press the button K1 again, and the entire device can enter the working state.
[0047] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A dToF intelligent background suppression photoelectric sensor, characterized in that: Including dToF ranging module, MCU controller, compatible output circuit and intelligent learning button; The output end of the dToF ranging module is electrically connected to the input end of the MCU controller, the output end of the MCU controller is electrically connected to the input end of the compatible output circuit, and the smart learning button is electrically connected to the input end of the MCU controller; The dToF ranging module is used for measuring the distance of the target object; The MCU controller is used for data acquisition and logic signal processing; The compatible output circuit is used to output the logic signal after being processed by the MCU controller; The intelligent learning button is used to control the operation of the MCU controller.
2. A dToF intelligent background suppression photoelectric sensor according to claim 1, characterized in that: The dToF ranging module includes a chip U1, a resistor R3, a resistor R4 and a capacitor C3. The SCL pin of the chip U1 is connected to the resistor R3, the SDA pin of the chip U1 is connected to the resistor R4, and the VCC pin of the chip U1 is connected to the capacitor C3.
3. A dToF intelligent background suppression photoelectric sensor according to claim 2, characterized in that: The MCU controller includes a chip U2, a working power indicator light D2, and a working status indicator light D4. The PD4 pin of the chip U2 is connected to the working power indicator light D2, and the working power indicator light D2 is connected to a resistor R7. The PA3 pin of the chip U2 is connected to the working status indicator light D4, and the working status indicator light D4 is connected to a resistor R9.
4. A dToF intelligent background suppression photoelectric sensor according to claim 3, characterized in that: The compatible output circuit includes an NPN output transistor Q1, a PNP output transistor Q2, a unidirectional diode D1, a TVS protection diode D3 and a current limiting fuse U3. The PA2 pin of the chip U2 is connected to the PNP output transistor Q2, the PNP output transistor Q2 is connected to the unidirectional diode D1, the unidirectional diode D1 is connected to the NPN output transistor Q1, the NPN output transistor Q1 is connected to a resistor R5, the unidirectional diode D1 is connected to the current limiting fuse U3, and the TVS protection diode D3 is connected between the current limiting fuse U3 and the unidirectional diode D1.
5. A dToF intelligent background suppression photoelectric sensor according to claim 4, characterized in that: The intelligent learning button includes a button K1, which is connected to the PD2 pin of the chip U2, and the button K1 is connected to a resistor R10.
6. A dToF intelligent background suppression photoelectric sensor according to claim 4, characterized in that: The NRST pin of the chip U2 is connected to a resistor R1 , a capacitor C1 is connected between the VSS pin and the VCAP pin of the chip U2 , and a capacitor C2 is connected to the VDD pin of the chip U2 .
7. A dToF intelligent background suppression photoelectric sensor according to claim 4, characterized in that: The resistor R3 is connected to a pull-up resistor R2 , and the resistor R4 is connected to a pull-up resistor R6 .
