Anti-collision infrared detection device
By using two infrared receiving tubes in the infrared detection anti-collision device for difference calculation, the problem of inaccurate distance recognition of obstacles with poor reflective surfaces in the prior art is solved, and a higher accuracy of obstacle distance recognition and anti-collision accuracy are achieved.
Patent Information
- Application Number
- CN202421126284.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2034-05-22
AI Technical Summary
When existing infrared detection anti-collision devices detect obstacles with poor reflective surfaces, the accuracy of distance recognition is low.
The anti-collision infrared detection device including an MCU, an op amp unit, an infrared transmitter, a first infrared receiving tube and a second infrared receiving tube is adopted to perform the difference value of the infrared light signals received by the two infrared receiving tubes to determine the distance between the obstacle and the detection device.
By using the difference in the infrared receiving tube signal, the difference in the signal can be kept unchanged when the obstacle is a poor reflective surface, thereby improving the accuracy of obstacle distance recognition and thus improving the accuracy of anti-collision.
Smart Images

Figure CN222719707U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of circuit structure, more specifically to an anti-collision infrared detection device. Background Art
[0002] In many application scenarios, objects need to be detected at close range to avoid collisions. For example, when a sweeper or smart toy is in motion, it is necessary to avoid colliding with obstacles. The most commonly used device is the infrared detection anti-collision device, which has the advantage of being easy to use and low cost.
[0003] The existing infrared detection and anti-collision device mainly uses an infrared receiving tube to receive the infrared light signal reflected back when the infrared light emitted by the infrared transmitting tube collides with the object, and directly sends it to the MCU for distance detection. The problem with this solution is that when the object is an obstacle with a poor reflective surface, such as a black or close obstacle, the detected obstacle distance is much different from the actual obstacle distance, resulting in a low accuracy rate in obstacle distance recognition. Utility Model Content
[0004] The purpose of the utility model is to overcome the deficiencies of the prior art and provide an anti-collision infrared detection device.
[0005] In order to achieve the above purpose, the utility model adopts the following technical solutions:
[0006] The utility model provides an anti-collision infrared detection device, comprising an MCU, an operational amplifier unit, an infrared transmitting tube, a first infrared receiving tube and a second infrared receiving tube, wherein the infrared transmitting tube is used to transmit infrared light, the first infrared receiving tube and the second infrared receiving tube are used to receive infrared light signals reflected back when the emitted infrared light touches an object, and send the infrared light signals to the operational amplifier unit, the operational amplifier unit performs a difference operation based on the infrared light signals received from the first infrared receiving tube and the second infrared receiving tube to obtain a difference operation result, and the MCU determines the distance between the detection device and the object based on the difference operation result.
[0007] Furthermore, the first infrared receiving tube and the second infrared receiving tube are arranged side by side with the infrared transmitting tube in an interval manner.
[0008] Furthermore, the first infrared receiving tube is arranged closer to the infrared transmitting tube than the second infrared receiving tube.
[0009] Furthermore, the operational amplifier unit includes an operational amplifier U15-A, the first infrared receiving tube is connected to the negative input terminal of the operational amplifier U15-A, and the second infrared receiving tube is connected to the positive input terminal of the operational amplifier U15-A.
[0010] Furthermore, the operational amplifier unit also includes resistors R3, R4, R5 and R6, wherein the resistor R3 is connected between the second infrared receiving tube and the positive input terminal of the operational amplifier U15-A, the resistor R4 is connected between the first infrared receiving tube and the negative input terminal of the operational amplifier U15-A, one end of the resistor R5 is connected between the resistor R3 and the positive input terminal of the operational amplifier U15-A, the other end of the resistor R5 is grounded, one end of the resistor R6 is connected between the resistor R4 and the negative input terminal of the operational amplifier U15-A, and the other end of the resistor R6 is connected to the output terminal of the operational amplifier U15-A.
[0011] Furthermore, it also includes a resistor R1 and a resistor R2, one end of the resistor R1 is connected between the second infrared receiving tube and the resistor R3, and the other end of the resistor R1 is connected to the power supply voltage, one end of the resistor R2 is connected between the first infrared receiving tube and the resistor R4, and the other end of the resistor R2 is connected to the power supply voltage.
[0012] Furthermore, it also includes a capacitor C2 and a capacitor C3, one end of the capacitor C2 is connected between the second infrared receiving tube and the resistor R3, and the other end of the capacitor C2 is grounded, one end of the capacitor C3 is connected between the first infrared receiving tube and the resistor R4, and the other end of the capacitor C3 is grounded.
[0013] Furthermore, it also includes a capacitor C171, one end of which is connected to the portion of the operational amplifier U15-A connected to the power supply voltage, and the other end of the capacitor C171 is connected to the other end of the resistor R5 connected to the ground.
[0014] Furthermore, it also includes a resistor R15 and a resistor R16, one end of the resistor R15 is connected to the output end of the operational amplifier U15-A, the other end of the resistor R15 is connected to the ADC of the MCU, one end of the resistor R16 is connected between the resistor R15 and the ADC of the MCU, and the other end of the resistor R16 is grounded.
[0015] Furthermore, the operational amplifier U15-A adopts a model of LM358-MSOP8.
[0016] Compared with the prior art, the utility model has the following beneficial effects: the anti-collision infrared detection device includes an MCU, an operational amplifier unit, an infrared transmitting tube, a first infrared receiving tube and a second infrared receiving tube, the infrared transmitting tube is used to transmit infrared light, the first infrared receiving tube and the second infrared receiving tube are used to receive the infrared light signal reflected by the emitted infrared light touching the object, and send the infrared light signal to the operational amplifier unit, the operational amplifier unit performs a difference operation according to the infrared light signal received by the first infrared receiving tube and the second infrared receiving tube, obtains the difference operation result, and the MCU determines the distance between the detection device and the object according to the difference operation result. By using the difference of the infrared light signals received by the two infrared receiving tubes as the result of the operation to determine the obstacle distance, when the obstacle is a high-reflectivity object with a good reflective surface, the signals of the two infrared receiving tubes are increased at the same time, and when the obstacle is a low-reflectivity object with a poor reflective surface, the signals of the two infrared receiving tubes are reduced at the same time, but the difference of the infrared light signals of the two infrared receiving tubes can remain roughly unchanged, so the accuracy of obstacle distance recognition can be greatly improved, thereby improving the accuracy of anti-collision.
[0017] The above description is only an overview of the technical solution of the utility model. In order to more clearly understand the technical means of the utility model, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the utility model more obvious and easy to understand, the following preferred embodiments are specifically cited and described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the utility model, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A block diagram of the anti-collision infrared detection device provided by a specific embodiment of the utility model;
[0020] Figure 2 A schematic diagram of an application scenario of an anti-collision infrared detection device provided in a specific embodiment of the utility model;
[0021] Figure 3 This is a circuit schematic diagram of an anti-collision infrared detection device provided in a specific embodiment of the utility model. DETAILED DESCRIPTION
[0022] The following will be combined with the specific embodiments of the utility model to clearly and completely describe the technical solution of the utility model. Obviously, the described embodiments are part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of 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.
[0023] It should be understood that when used in this specification and claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections thereof.
[0024] It should also be understood that the terms used in the utility model specification are only for the purpose of describing specific embodiments and are not intended to limit the utility model. As used in the utility model specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0025] It should be further understood that the term “and / or” used in the present specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0026] like Figure 1-Figure 2 As shown, the embodiment of the utility model provides an anti-collision infrared detection device, including an MCU, an operational amplifier unit, an infrared transmitting tube (i.e. Figure 2 The transmitting tube IR1 in the first infrared receiving tube (i.e. Figure 1 Infrared receiver 1, Figure 2 PD1 in the infrared receiving tube (i.e. Figure 1 Infrared receiver 2, Figure 2PD2 in the figure), the infrared transmitting tube is used to transmit infrared light, the first infrared receiving tube and the second infrared receiving tube are used to receive the infrared light signal reflected by the infrared light emitted from the object, and send the infrared light signal to the operational amplifier unit, the operational amplifier unit performs a difference operation based on the infrared light signal received from the first infrared receiving tube and the second infrared receiving tube, and obtains the difference operation result, and the MCU determines the distance between the detection device and the object based on the difference operation result. By using the difference of the infrared light signals received by the two infrared receiving tubes as the result of the operation to determine the obstacle distance, when the obstacle is a high-reflectivity object with a good reflective surface, the signals of the two infrared receiving tubes are increased at the same time, and when the obstacle is a low-reflectivity object with a poor reflective surface, the signals of the two infrared receiving tubes are reduced at the same time, but the difference of the infrared light signals of the two infrared receiving tubes can remain roughly unchanged, so the accuracy of obstacle distance recognition can be greatly improved, thereby improving the accuracy of collision prevention.
[0027] Specifically, the first infrared receiving tube and the second infrared receiving tube are arranged side by side with the infrared transmitting tube in an interval, so as to ensure that the receiving positions of the two infrared receiving tubes are at the same horizontal position, thereby avoiding the distance error caused by not being at the same horizontal position.
[0028] In this embodiment, if Figure 2 As shown, the first infrared receiving tube is arranged closer to the infrared transmitting tube than the second infrared receiving tube.
[0029] Furthermore, if Figure 3 As shown, the operational amplifier unit includes an operational amplifier U15-A, a first infrared receiving tube PD1 is connected to the negative input terminal of the operational amplifier U15-A, and a second infrared receiving tube PD2 is connected to the positive input terminal of the operational amplifier U15-A. The operational amplifier unit also includes a resistor R3, a resistor R4, a resistor R5 and a resistor R6, wherein the resistor R3 is connected between the second infrared receiving tube PD2 and the positive input terminal of the operational amplifier U15-A, the resistor R4 is connected between the first infrared receiving tube PD1 and the negative input terminal of the operational amplifier U15-A, one end of the resistor R5 is connected between the resistor R3 and the positive input terminal of the operational amplifier U15-A, the other end of the resistor R5 is grounded, one end of the resistor R6 is connected between the resistor R4 and the negative input terminal of the operational amplifier U15-A, and the other end of the resistor R6 is connected to the output terminal of the operational amplifier U15-A.
[0030] Specifically, resistors R3, R4, R5 and R6 form a subtraction operational amplifier circuit with operational amplifier U15-A, and perform difference calculation through the received light signals radiated by the first infrared receiving tube PD1 and the second infrared receiving tube PD2, that is, subtract the light signal values of the two receiving tubes, and the obtained value is read by the MCU to measure the distance of the object.
[0031] like Figure 3 As shown, the first infrared receiving tube PD1 is connected to the negative input terminal of the operational amplifier U15-A, and the second infrared receiving tube PD2 is connected to the positive input terminal of the operational amplifier U15-A. When the voltage at the positive input terminal of the operational amplifier U15-A is higher than the voltage at the negative input terminal of the operational amplifier U15-A, the output terminal of the operational amplifier U15-A outputs a positive voltage signal, otherwise it does not output. The levels of the two infrared receiving pins are opposite to the received signals, that is, the stronger the received light, the smaller the level of the receiving pin. Since the first infrared receiving tube PD1 is closest to the infrared transmitting tube, when an object is close, the light signal received by the first infrared receiving tube PD1 is always larger than that of the second infrared receiving tube PD2, that is, the voltage signal at the positive input terminal of the operational amplifier U15-A is larger than the voltage signal at the negative input terminal of the operational amplifier U15-A, and the signal is output normally. Working process: When there is an object with high reflectivity, the signals of the two infrared receiving tubes are increased at the same time, and when there is an object with low reflectivity, the signals of the two infrared receiving tubes are reduced at the same time, so that the difference between them is approximately constant. This application utilizes this approximately constant difference to improve the accuracy of obstacle distance recognition, thereby improving the accuracy of collision avoidance.
[0032] In order to more fully understand the technical advantages of this application over the prior art, the following specific description is made:
[0033] The existing solution is: reflected light intensity (L1), receiving tube level (B1), they are proportional, to identify obstacles within 10 cm, if B1 = 10mv is set, the distance is 10 cm. However, since B1 is affected by L1, objects with different reflectivity will have different L1 for the same distance. If only the receiving tube level (B1) is used to judge the obstacle distance, it will lead to inaccurate judgment of the obstacle distance.
[0034] The solution of the present application is: receiving tube 2 (IR2) receiving tube 1 (IR1), reflected light intensity (L1) are proportional to each other. Receiving tube level (B1 = IR2-IR1). If B1 = 10mv is set, the distance is 10cm. However, L1 is proportional to IR2, IR2, so even if objects with different reflectivity have different L1 for the same distance, B1 will remain roughly unchanged, thereby greatly improving the accuracy of obstacle distance recognition, and thus improving the accuracy of anti-collision.
[0035] Furthermore, if Figure 3As shown, the anti-collision infrared detection device also includes a resistor R1 and a resistor R2, wherein the resistor R1 is used to provide a positive voltage bias for the second infrared receiving tube PD2, and the resistor R2 is used to provide a positive voltage bias for the first infrared receiving tube PD1. Specifically, one end of the resistor R1 is connected between the second infrared receiving tube PD2 and the resistor R3, and the other end of the resistor R1 is connected to the power supply voltage, and one end of the resistor R2 is connected between the first infrared receiving tube PD1 and the resistor R4, and the other end of the resistor R2 is connected to the power supply voltage.
[0036] Furthermore, if Figure 3 As shown, the anti-collision infrared detection device also includes a capacitor C2 and a capacitor C3, and the capacitor C2 and the capacitor C3 are used for signal filtering. Specifically, one end of the capacitor C2 is connected between the second infrared receiving tube PD2 and the resistor R3, and the other end of the capacitor C2 is grounded, and one end of the capacitor C3 is connected between the first infrared receiving tube PD1 and the resistor R4, and the other end of the capacitor C3 is grounded.
[0037] Furthermore, if Figure 3 As shown, the anti-collision infrared detection device also includes a capacitor C171, which is used as a filter capacitor of the operational amplifier U15-A. Specifically, one end of the capacitor C171 is connected to the part of the operational amplifier U15-A connected to the power supply voltage, and the other end of the capacitor C171 is connected to the other end of the resistor R5 connected to the ground.
[0038] Furthermore, if Figure 3 As shown, the anti-collision infrared detection device also includes a resistor R15 and a resistor R16, and the resistor R15 and the resistor R16 form a signal voltage divider circuit output. Specifically, one end of the resistor R15 is connected to the output end of the operational amplifier U15-A, the other end of the resistor R15 is connected to the ADC of the MCU, one end of the resistor R16 is connected between the resistor R15 and the ADC of the MCU, and the other end of the resistor R16 is grounded, wherein the ADC of the MCU refers to a component that converts an analog signal (usually a continuously changing voltage / current signal) into a digital signal.
[0039] Specifically, the operational amplifier U15-A uses a model of LM358-MSOP8, and the MCU uses a model of STM32, N76E003, or PMS132B-S14.
[0040] The above is only a specific implementation of the utility model, but the protection scope of the utility model is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the utility model, and these modifications or replacements should be included in the protection scope of the utility model. Therefore, the protection scope of the utility model should be based on the protection scope of the claims.
Claims
1. Anti-collision infrared detection device, characterized in that: It includes an MCU, an operational amplifier unit, an infrared transmitting tube, a first infrared receiving tube and a second infrared receiving tube, the infrared transmitting tube is used to transmit infrared light, the first infrared receiving tube and the second infrared receiving tube are used to receive infrared light signals reflected back when the emitted infrared light touches an object, and send the infrared light signals to the operational amplifier unit, the operational amplifier unit performs a difference operation based on the infrared light signals sent by the first infrared receiving tube and the second infrared receiving tube to obtain a difference operation result, and the MCU determines the distance between the detection device and the object based on the difference operation result.
2. The anti-collision infrared detection device according to claim 1, characterized in that: The first infrared receiving tube and the second infrared receiving tube are arranged side by side with the infrared emitting tube at intervals.
3. The anti-collision infrared detection device according to claim 2, characterized in that: The first infrared receiving tube is arranged closer to the infrared transmitting tube than the second infrared receiving tube.
4. The anti-collision infrared detection device according to claim 1, characterized in that: The operational amplifier unit includes an operational amplifier U15-A, the first infrared receiving tube is connected to the negative input terminal of the operational amplifier U15-A, and the second infrared receiving tube is connected to the positive input terminal of the operational amplifier U15-A.
5. The anti-collision infrared detection device according to claim 4, characterized in that: The operational amplifier unit also includes resistors R3, R4, R5 and R6. The resistor R3 is connected between the second infrared receiving tube and the positive input terminal of the operational amplifier U15-A. The resistor R4 is connected between the first infrared receiving tube and the negative input terminal of the operational amplifier U15-A. One end of the resistor R5 is connected between the resistor R3 and the positive input terminal of the operational amplifier U15-A. The other end of the resistor R5 is grounded. One end of the resistor R6 is connected between the resistor R4 and the negative input terminal of the operational amplifier U15-A. The other end of the resistor R6 is connected to the output terminal of the operational amplifier U15-A.
6. The anti-collision infrared detection device according to claim 5, characterized in that: It also includes a resistor R1 and a resistor R2, one end of the resistor R1 is connected between the second infrared receiving tube and the resistor R3, and the other end of the resistor R1 is connected to the power supply voltage, one end of the resistor R2 is connected between the first infrared receiving tube and the resistor R4, and the other end of the resistor R2 is connected to the power supply voltage.
7. The anti-collision infrared detection device according to claim 5, characterized in that: It also includes a capacitor C2 and a capacitor C3, one end of the capacitor C2 is connected between the second infrared receiving tube and the resistor R3, and the other end of the capacitor C2 is grounded, one end of the capacitor C3 is connected between the first infrared receiving tube and the resistor R4, and the other end of the capacitor C3 is grounded.
8. The anti-collision infrared detection device according to claim 5, characterized in that: It also includes a capacitor C171, one end of which is connected to the portion of the operational amplifier U15-A connected to the power supply voltage, and the other end of the capacitor C171 is connected to the other end of the resistor R5 connected to the ground.
9. The anti-collision infrared detection device according to claim 5, characterized in that: It also includes a resistor R15 and a resistor R16, one end of the resistor R15 is connected to the output end of the operational amplifier U15-A, the other end of the resistor R15 is connected to the ADC of the MCU, one end of the resistor R16 is connected between the resistor R15 and the ADC of the MCU, and the other end of the resistor R16 is grounded.
10. The anti-collision infrared detection device according to claim 4, characterized in that: The operational amplifier U15-A adopts the model LM358-MSOP8.