Light detection system and device
By using a control module that outputs enable signals in a time-division manner and a receiving unit with strong anti-interference capabilities, the problem that existing optical detection systems can only identify one feature point has been solved, and stable identification of the object under test has been achieved.
Patent Information
- Application Number
- CN202210873015.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-22
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2042-07-22
AI Technical Summary
Existing optical detection systems can only identify one feature point of the object being measured, resulting in unstable recognition results.
A control module that uses a time-division output enable signal controls the transmitting module to emit two light pulses to different feature points of the object being measured, and the receiving module receives and processes the reflected light pulse signals, thereby improving the recognition accuracy by utilizing a receiving unit with strong anti-interference capabilities.
It achieves stable recognition of two feature points of the object under test, improving recognition accuracy and stability.
Smart Images

Figure CN115267794B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of optical detection, and particularly relates to an optical detection system and device. BACKGROUND
[0002] In the industry, an optical detection system is often used to identify the features of a measured object. First, a light pulse is emitted to the measured object, then a light pulse reflected by the measured object is received, and finally the reflected light pulse is processed and analyzed to identify the features of the measured object. However, the current optical detection system can only identify one feature point of the measured object, resulting in unstable final identification results. SUMMARY
[0003] The optical detection system and device provided by the embodiments of the application can solve the problem that the current optical detection system can only identify one feature point of a measured object, resulting in unstable final identification results.
[0004] In a first aspect, the embodiments of the application provide an optical detection system, comprising a control module, a transmitting module and a receiving module; the control module is electrically connected with the transmitting module and the receiving module respectively;
[0005] The control module is configured to output a target signal, and is further configured to output a first enabling signal and a second enabling signal in time, and send the target signal, the first enabling signal and the second enabling signal to the transmitting module;
[0006] The transmitting module is configured to emit a first light pulse according to the target signal and the first enabling signal, and emit a second light pulse according to the target signal and the second enabling signal;
[0007] The receiving module is configured to receive a first target light pulse reflected by a measured object on the first light pulse, and send a first target signal to the control module according to the first target light pulse; the receiving module is further configured to receive a second target light pulse reflected by the measured object on the second light pulse, and send a second target signal to the control module according to the second target light pulse;
[0008] The control module is further configured to obtain an identification result of the measured object according to the first target signal and the second target signal.
[0009] In a possible implementation manner of the first aspect, the transmitting module comprises a signal following unit, a time sharing unit, a first driving unit, a second driving unit, a first light emitting unit and a second light emitting unit; the time sharing unit is electrically connected with the control module, the signal following unit, the first driving unit and the second driving unit respectively; the first driving unit is electrically connected with the first light emitting unit; the second driving unit is electrically connected with the second light emitting unit; and the signal following unit is electrically connected with the control module.
[0010] The signal following unit is configured to follow the target signal and send the target signal to the time sharing unit; the time sharing unit is configured to send the target signal to the first driving unit according to the first enable signal; the first driving unit is configured to output a first control signal according to the target signal, and the first control signal controls the first light emitting unit to emit the first light pulse; the time sharing unit is further configured to send the target signal to the second driving unit according to the second enable signal; and the second driving unit is configured to output a second control signal according to the target signal, and the second control signal controls the second light emitting unit to emit the second light pulse.
[0011] In a possible implementation manner of the first aspect, the first light emitting unit and the second light emitting unit are electrically connected with the control module.
[0012] The control module is further configured to output a first dimming signal, and the first dimming signal is used for adjusting the light emitting intensity of the first light pulse; and the control module is further configured to output a second dimming signal, and the second dimming signal is used for adjusting the light emitting intensity of the second light pulse.
[0013] In a possible implementation manner of the first aspect, the receiving module comprises a first receiving unit, a second receiving unit and a third receiving unit; the first receiving unit, the second receiving unit and the third receiving unit are electrically connected with the control module.
[0014] The first receiving unit is configured to receive a red light component in the first target light pulse, and send a red light component in the first target signal to the control module according to the red light component in the first target light pulse; and the first receiving unit is further configured to receive a red light component in the second target light pulse, and send a red light component in the second target signal to the control module according to the red light component in the second target light pulse.
[0015] The second receiving unit is configured to receive the blue light component in the first target light pulse, and send the blue light component in the first target signal to the control module according to the blue light component in the first target light pulse; and the second receiving unit is further configured to receive the blue light component in the second target light pulse, and send the blue light component in the second target signal to the control module according to the blue light component in the second target light pulse.
[0016] The third receiving unit is configured to receive the green light component in the first target light pulse, and send the green light component in the first target signal to the control module according to the green light component in the first target light pulse; and the third receiving unit is further configured to receive the green light component in the second target light pulse, and send the green light component in the second target signal to the control module according to the green light component in the second target light pulse.
[0017] In a possible implementation manner of the first aspect, the first receiving unit comprises a first filter circuit, a first amplification circuit, a second filter circuit, a second amplification circuit, a switch circuit, an interference detection circuit and a pulse signal generation circuit.
[0018] The first filter circuit is electrically connected with the pulse signal generation circuit and the first amplification circuit respectively, the second filter circuit is electrically connected with the first amplification circuit and the second amplification circuit respectively, the second amplification circuit is electrically connected with the interference detection circuit and the switch circuit respectively, and the interference detection circuit and the switch circuit are electrically connected with the control module.
[0019] The pulse signal generation circuit is configured to receive the red light component in the first target light pulse, generate a first pulse signal according to the red light component in the first target light pulse, and send the first pulse signal to the first filter circuit.
[0020] The first filter circuit is configured to filter the first pulse signal, and send the filtered first pulse signal to the first amplification circuit; the first amplification circuit is configured to amplify the filtered first pulse signal to obtain a first-level pulse signal, and send the first-level pulse signal to the second filter circuit; the second filter circuit is configured to filter the first-level pulse signal to obtain a filtered first-level pulse signal, and send the filtered first-level pulse signal to the second amplification circuit; and the second amplification circuit is configured to amplify the filtered first-level pulse signal to obtain the red light component in the first target signal, and send the red light component in the first target signal to the interference detection circuit.
[0021] The interference detection circuit is configured to detect whether the red light component in the first target signal is interfered, and send a first level signal to the control module if the red light component in the first target signal is interfered; the control module is further configured to control the switch circuit to not output the red light component in the first target signal according to the first level signal; and the interference detection circuit is configured to send a second level signal to the control module if the red light component in the first target signal is not interfered; and the control module is further configured to control the switch circuit to output the red light component in the first target signal according to the second level signal.
[0022] In a possible implementation manner of the first aspect, if the red light component in the first target signal is less than a preset range, the control module sends an adjustment instruction to the switch circuit; and the switch circuit is configured to adjust the amplification multiple of the second amplification circuit according to the adjustment instruction, so that the red light component in the first target signal meets the preset range.
[0023] In a possible implementation manner of the first aspect, the pulse signal generation circuit comprises a thirtieth resistor, a thirty-first resistor, a twenty-sixth capacitor, a twenty-seventh capacitor and a photoelectric sensing circuit.
[0024] A first end of the thirtieth resistor is electrically connected to a direct current power supply, and a second end of the thirtieth resistor is electrically connected to a first end of the twenty-sixth capacitor, a first end of the twenty-seventh capacitor and the photoelectric sensing circuit respectively; a second end of the twenty-sixth capacitor and a second end of the twenty-seventh capacitor are grounded; the photoelectric sensing circuit is electrically connected to the first filter circuit and a first end of the thirty-first resistor respectively; and a second end of the thirty-first resistor is grounded.
[0025] In a possible implementation manner of the first aspect, the photoelectric sensing circuit comprises a plurality of photosensitive diodes; negative poles of the plurality of photosensitive diodes are connected in parallel and electrically connected to the second end of the thirtieth resistor, and positive poles of the plurality of photosensitive diodes are connected in parallel and electrically connected to the first filter circuit and the first end of the thirty-first resistor respectively; and a red film is coated on the photosensitive diodes.
[0026] In a possible implementation manner of the first aspect, the second receiving unit and the third receiving unit have the same circuit structure as the first receiving unit; a blue film is coated on the photosensitive diodes in the second receiving unit, and a green film is coated on the photosensitive diodes in the third receiving unit.
[0027] In a possible implementation manner of the first aspect, the second receiving unit and the third receiving unit have the same circuit structure as the first receiving unit; a blue film is coated on the photosensitive diodes in the second receiving unit, and a green film is coated on the photosensitive diodes in the third receiving unit.
[0028] Compared with the prior art, the embodiment of the present application has the beneficial effects that:
[0029] The embodiment of the present application provides a light detection system. When the light detection system is used for feature recognition of a measured object, the control module is configured to output a target signal, and is further configured to output a first enabling signal and a second enabling signal in time, and send the target signal, the first enabling signal and the second enabling signal to the emission module. The emission module is configured to emit a first light pulse according to the target signal and the first enabling signal, and emit a second light pulse according to the target signal and the second enabling signal, the first light pulse being emitted to a point on the surface of the measured object, and the second light pulse being emitted to another point on the surface of the measured object, so as to identify two feature points of the measured object.
[0030] The receiving module is configured to receive a first target light pulse reflected by the first light pulse on the measured object, and send a first target signal to the control module according to the first target light pulse. The receiving module is further configured to receive a second target light pulse reflected by the second light pulse on the measured object, and send a second target signal to the control module according to the second target light pulse. The arrangement of the receiving module makes the first target signal and the second target signal have strong anti-interference capability, and improves the recognition accuracy of the measured object. The control module is further configured to identify two feature points of the measured object according to the first target signal and the second target signal, and obtain a recognition result of the measured object.
[0031] In summary, the light detection system provided by the embodiment of the present application can identify two feature points of the measured object, so that the final recognition result is more stable.
[0032] It can be understood that the beneficial effects of the second aspect can be understood in the above-mentioned related description of the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0034] Figure 1 is a principle block diagram of a light detection system provided by an embodiment of the present application;
[0035] Figure 2 is a principle block diagram of a light detection system provided by another embodiment of the present application;
[0036] Figure 3 is a principle block diagram of a light detection system provided by another embodiment of the present application;
[0037] Figure 4 is a circuit connection schematic diagram of a transmitting module in a light detection system provided by an embodiment of the present application;
[0038] Figure 5 is a circuit connection schematic diagram of a first receiving unit in a receiving module in a light detection system provided by another embodiment of the present application.
[0039] In the figure: 10, a control module; 11, a single-chip microcomputer data processing unit; 12, a display unit; 13, a data output unit; 20, a transmitting module; 21, a signal following unit; 22, a time-sharing unit; 23, a first driving unit; 24, a second driving unit; 25, a first light-emitting unit; 26, a second light-emitting unit; 30, a lens module; 31, a first lens; 32, a second lens; 40, a receiving module; 41, a first receiving unit; 411, a first filter circuit; 412, a first amplification circuit; 413, a second filter circuit; 414, a second amplification circuit; 415, a switching circuit; 416, an interference detection circuit; 417, a pulse signal generation circuit; 42, a second receiving unit; 43, a third receiving unit. DETAILED DESCRIPTION
[0040] In the following description, specific details are set forth in order to provide a thorough understanding of embodiments of the application. However, persons having ordinary skill in the art will appreciate that embodiments of the application can be practiced without the specific details, and that the scope of the application is not limited to the particular embodiments described herein.
[0041] As shown in Figure 1 , an embodiment of the present application provides a light detection system, which includes a control module 10, a transmitting module 20 and a receiving module 40. The control module 10 is electrically connected with the transmitting module 20 and the receiving module 40 respectively.
[0042] Specifically, when the light detection system is used to identify the features of a measured object, the control module 10 is configured to output a target signal, and is further configured to output a first enable signal and a second enable signal in time-sharing manner, and send the target signal, the first enable signal and the second enable signal to the transmitting module 20. The transmitting module 20 is configured to emit a first light pulse according to the target signal and the first enable signal, and emit a second light pulse according to the target signal and the second enable signal, the first light pulse being emitted to a point on the surface of the measured object, and the second light pulse being emitted to another point on the surface of the measured object, so as to identify two feature points of the measured object.
[0043] The receiving module 40 is configured to receive the first target light pulse reflected by the measured object, and send a first target signal to the control module 10 according to the first target light pulse. The receiving module 40 is also configured to receive the second target light pulse reflected by the measured object, and send a second target signal to the control module 10 according to the second target light pulse. The receiving module 40 is configured to make the first target signal and the second target signal have strong anti-interference ability, and improve the recognition accuracy of the measured object. The control module 10 is also configured to recognize two feature points of the measured object according to the first target signal and the second target signal, and obtain a recognition result of the measured object.
[0044] In summary, the light detection system provided by the embodiments of the present application can recognize two feature points of the measured object, so that the final recognition result is more stable.
[0045] The light detection system provided by the embodiments of the present application can be applied to printing occasions (such as detecting whether the color deviation of printing is within a controllable range, and also detecting whether there is missing printing or misprinting), marking or automatic labeling occasions (such as realizing accurate positioning of the labeling position, and detecting whether the label is missing or skewed).
[0046] It should be noted that the first enable signal and the second enable signal are both PWM signals, and the first enable signal and the second enable signal have a preset time interval.
[0047] As shown in Figure 2 The light detection system provided by the embodiments of the present application further includes a lens module 30. The lens module 30 is configured to focus the first light pulse, so that the first light pulse emitted to the measured object is more stable. The lens module 30 is also configured to focus the second light pulse, so that the second light pulse emitted to the measured object is more stable.
[0048] Further, as shown in Figure 3 The lens module 30 includes a first lens 31 and a second lens 32. The first lens 31 is configured to focus the first light pulse, so that the first light pulse emitted to the measured object is more stable. The second lens 32 is configured to focus the second light pulse, so that the second light pulse emitted to the measured object is more stable.
[0049] As shown in Figure 3 The control module 10 includes a single-chip microcomputer data processing unit 11, a display unit 12 and a data output unit 13. The single-chip microcomputer data processing unit 11 is electrically connected with the emitting module 20, the receiving module 40, the display unit 12 and the data output unit 13 respectively.
[0050] Specifically, the single-chip data processing unit 11 is configured to output the target signal, and is further configured to output the first enable signal and the second enable signal in time division manner, and send the target signal, the first enable signal and the second enable signal to the transmitting module 20, so that the transmitting module 20 transmits two light pulses in time division manner.
[0051] The single-chip data processing unit 11 is further configured to obtain an identification result of the measured object according to the first target signal and the second target signal. The single-chip data processing unit 11 is configured to perform analog-to-digital conversion, feature extraction and judgment on the first target signal and the second target signal. For example, when the light detection system is used to identify whether two colors on the surface of the measured object are similar, the single-chip data processing unit 11 is configured to pre-set a threshold, and then perform analog-to-digital conversion and feature extraction on the first target signal and the second target signal, and perform judgment on the processed first target signal and the processed second target signal. If the difference between the processed first target signal and the processed second target signal is greater than the threshold, the similarity between the color corresponding to the first target signal and the color corresponding to the second target signal is small, which indicates that the two colors on the surface of the measured object are different. If the difference between the processed first target signal and the processed second target signal is less than the threshold, the similarity between the color corresponding to the first target signal and the color corresponding to the second target signal is large, which indicates that the two colors on the surface of the measured object are similar.
[0052] The display unit 12 is configured to display the identification result of the measured object, so that an operator can intuitively view the identification result. The data output unit 13 is configured to output the identification result of the measured object for subsequent operation. The output mode of the data output unit 13 includes NPN output and PNP output. The NPN output is low-level output, and the PNP output is high-level output.
[0053] As shown in FIG. 1, Figure 3 The transmitting module 20 includes a signal following unit 21, a time division unit 22, a first driving unit 23, a second driving unit 24, a first light emitting unit 25 and a second light emitting unit 26. The time division unit 22 is electrically connected with the control module 10, the signal following unit 21, the first driving unit 23 and the second driving unit 24. The first driving unit 23 is electrically connected with the first light emitting unit 25. The second driving unit 24 is electrically connected with the second light emitting unit 26. The signal following unit 21 is electrically connected with the control module 10.
[0054] Specifically, as shown in FIG. 2, Figure 3As shown in the figure, the signal following unit 21 and the time-sharing unit 22 are both electrically connected with the single-chip microcomputer data processing unit 11 in the control module 10. The single-chip microcomputer data processing unit 11 in the control module 10 is configured to output a target signal and send the target signal to the signal following unit 21. The single-chip microcomputer data processing unit 11 in the control module 10 is also configured to output a first enable signal and a second enable signal in time-sharing mode and send the first enable signal and the second enable signal to the time-sharing unit 22. The signal following unit 21 is configured to follow the target signal and send the target signal to the time-sharing unit 22. The time-sharing unit 22 is configured to send the target signal to the first driving unit 23 according to the first enable signal. The first driving unit 23 is configured to output a first control signal according to the target signal, and the first control signal controls the first light-emitting unit 25 to emit a first light pulse. The time-sharing unit 22 is also configured to send the target signal to the second driving unit 24 according to the second enable signal. The second driving unit 24 is configured to output a second control signal according to the target signal, and the second control signal controls the second light-emitting unit 26 to emit a second light pulse.
[0055] Further, as shown in the figure, Figure 3 The first light-emitting unit 25 and the second light-emitting unit 26 are both electrically connected with the control module 10, and specifically electrically connected with the single-chip microcomputer data processing unit 11 in the control module 10.
[0056] Specifically, the single-chip microcomputer data processing unit 11 in the control module 10 is also configured to output a first light adjusting signal, and the first light adjusting signal is used to adjust the light intensity of the first light pulse to adapt to different measured objects. The single-chip microcomputer data processing unit 11 in the control module 10 is also configured to output a second light adjusting signal, and the second light adjusting signal is used to adjust the light intensity of the second light pulse to adapt to different measured objects.
[0057] The application realizes the time-sharing emission of the first light pulse and the second light pulse by setting the emission module 20, so that the light detection system can identify two feature points of the measured object, and the recognition ability and stability of the light detection system can be enhanced.
[0058] As shown in the figure, Figure 4 The signal following unit 21 includes a first operational amplifier U1, a first resistor R1, a second resistor R2 and a first capacitor C1. The non-inverting input end 3 of the first operational amplifier U1 is electrically connected with the first end of the first capacitor C1 and the first end of the second resistor R2 respectively, the second end of the second resistor R2 is electrically connected with the first end of the first resistor R1 and the single-chip microcomputer data processing unit 11 respectively, the second end of the first resistor R1 and the second end of the first capacitor C1 are both grounded, and the inverting input end 4 of the first operational amplifier U1 is electrically connected with the output end 1 of the first operational amplifier U1 and the time-sharing unit 22 respectively.
[0059] The signal follower unit 21 also includes a second capacitor C2. The positive power supply input terminal 5 of the first operational amplifier U1 is electrically connected to the DC power supply VCC and the first terminal of the second capacitor C2, respectively. The second terminal of the second capacitor C2 is grounded, and the negative power supply input terminal 2 of the first operational amplifier U1 is grounded.
[0060] Specifically, the microcontroller data processing unit 11 controls the internal digital-to-analog converter to output the target signal. The target signal is divided by the first resistor R1 and the second resistor R2 to obtain VP, which is input from the non-inverting input terminal 3 of the first operational amplifier U1. The first operational amplifier U1 acts as a voltage follower. Utilizing the "virtual short" and "virtual open" characteristics of operational amplifiers, the output VOUT of the first operational amplifier U1 is equal to VP, thus allowing VOUT to follow the target signal. The first capacitor C1 and the second capacitor C2 are used for filtering.
[0061] like Figure 4 As shown, the time-division unit 22 includes a first analog switch U4 and a third capacitor C3. The first pin 1 and the fifth pin 5 of the first analog switch U4 are electrically connected to the signal follower unit 21. The second pin 2 of the first analog switch U4 is electrically connected to the first drive unit 23. The sixth pin 6 of the first analog switch U4 is electrically connected to the second drive unit 24. The fourth pin 4 of the first analog switch U4 is grounded. The eighth pin 8 of the first analog switch U4 is electrically connected to the DC power supply VCC and the first terminal of the third capacitor C3, respectively. The second terminal of the third capacitor C3 is grounded. The seventh pin 7 of the first analog switch U4 is the first enable terminal, and the third pin 3 of the first analog switch U4 is the second enable terminal. Both the third pin 3 and the seventh pin 7 of the first analog switch U4 are electrically connected to the microcontroller data processing unit 11.
[0062] Specifically, such as Figure 4 As shown, the first pin 1 and the fifth pin 5 of the first analog switch U4 are both electrically connected to the inverting input terminal 4 of the first operational amplifier U1 in the signal follower unit 21, and are used to receive the VOUT output of the first operational amplifier U1.
[0063] The single-chip microcomputer data processing unit 11 is also configured to output the first and second enable signals in time division mode and send the first and second enable signals to the first analog switch U4. The first and second enable signals act on the first analog switch U4 alternately, specifically, the first enable signal is used to enable the seventh pin 7 of the first analog switch U4, and the second enable signal is used to enable the third pin 3 of the first analog switch U4. When the first enable signal enables the seventh pin 7 of the first analog switch U4, the first and second pins 1 and 2 of the first analog switch U4 are turned on, and the VOUT output by the first operational amplifier U1 is sent to the first driving unit 23. When the second enable signal enables the third pin 3 of the first analog switch U4, the fifth and sixth pins 5 and 6 of the first analog switch U4 are turned on, and the VOUT output by the first operational amplifier U1 is sent to the second driving unit 24. The third capacitor C3 is used for filtering.
[0064] As shown in Figure 4 The first driving unit 23 includes a second operational amplifier U2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a fourth capacitor C4, and a fifth capacitor C5. The non-inverting input end 3 of the second operational amplifier U2 is electrically connected to the first end of the third resistor R3 and the first end of the fourth resistor R4 respectively, the second end of the fourth resistor R4 is grounded, the second end of the third resistor R3 is electrically connected to the time division unit 22, the inverting input end 4 of the second operational amplifier U2 is electrically connected to the first light emitting unit 25, the positive power supply input end 6 of the second operational amplifier U2 is electrically connected to the direct current power supply VCC, the first end of the fourth capacitor C4, and the disable pin 5 of the second operational amplifier U2 respectively, the second end of the fourth capacitor C4 is grounded, the negative power supply input end 2 of the second operational amplifier U2 is grounded, the output end 1 of the second operational amplifier U2 is electrically connected to the first end of the fifth resistor R5 and the first light emitting unit 25 respectively, the second end of the fifth resistor R5 is electrically connected to the first end of the fifth capacitor C5, and the second end of the fifth capacitor C5 is grounded.
[0065] Specifically, as shown in Figure 4As shown, the second end of the third resistor R3 is electrically connected to the second pin 2 of the first analog switch U4 in the time-division unit 22. According to the above analysis, when the first enable signal enables the seventh pin 7 of the first analog switch U4, the first pin 1 and the second pin 2 of the first analog switch U4 are turned on, transmitting the VOUT output of the first operational amplifier U1 to the second end of the third resistor R3 in the first drive unit 23. VOUT is then divided by the third resistor R3 and the fourth resistor R4 and input from the non-inverting input 3 of the second operational amplifier U2. The second operational amplifier U2 acts as a differential comparator, comparing the voltage at the non-inverting input 3 with the voltage at the inverting input 4. When the voltage at the non-inverting input 3 is greater than the voltage at the inverting input 4, the output 1 of the second operational amplifier U2 outputs a first control signal, which is at a high level.
[0066] like Figure 4 As shown, the first light-emitting unit 25 includes a first light-emitting diode D1, a first switching transistor Q1, a ninth resistor R9, a tenth resistor R10, an eighth capacitor C8, a ninth capacitor C9, a second switching transistor Q2, an eleventh resistor R11, and a twelfth resistor R12. The control terminal of the first switch Q1 is electrically connected to the first drive unit 23. The first conducting terminal of the first switch Q1 is electrically connected to the negative terminal of the first light-emitting diode D1. The positive terminal of the first light-emitting diode D1 is electrically connected to the first terminal of the ninth capacitor C9, the first terminal of the eighth capacitor C8, and the first terminal of the ninth resistor R9. The second terminal of the ninth resistor R9 is electrically connected to the DC power supply VCC. The second terminals of the ninth capacitor C9 and the eighth capacitor C8 are both grounded. The second conducting terminal of the first switch Q1 is electrically connected to the first terminal of the tenth resistor R0, the first terminal of the eleventh resistor R1, and the first drive unit 23. The second terminal of the tenth resistor R10 is grounded. The control terminal of the second switch Q2 is electrically connected to the first terminal of the twelfth resistor R12 and the microcontroller data processing unit 11. The first conducting terminal of the second switch Q2 is electrically connected to the second terminal of the eleventh resistor R11. The second conducting terminal of the second switch Q2 and the second terminal of the twelfth resistor R12 are both grounded.
[0067] Specifically, such as Figure 4 As shown, the control terminal of the first switch Q1 is electrically connected to the output terminal 1 of the second operational amplifier U2 in the first drive unit 23. The second conducting terminal of the first switch Q1 is electrically connected to the first terminal of the tenth resistor R0, the first terminal of the eleventh resistor R1, and the inverting input terminal 4 of the second operational amplifier U2 in the first drive unit 23.
[0068] Based on the above analysis, the second operational amplifier U2 is used as a differential comparator to compare the voltage at the non-inverting input terminal 3 with the voltage at the inverting input terminal 4. Combined with...Figure 4 It can be known that the inverting input end 4 of the second operational amplifier U2 is grounded through the tenth resistor R10, so the voltage at the inverting input end 4 of the second operational amplifier U2 is zero, and thus the voltage at the non-inverting input end 3 of the second operational amplifier U2 is necessarily greater than that at the inverting input end 4, so that the first control signal output by the second operational amplifier U2 is high level. When the first control signal is high level, the first switch tube Q1 is driven to be turned on, so that the first light emitting diode D1 is turned on to emit a first light pulse, which is emitted to a point on the surface of the measured object to identify a feature point of the measured object.
[0069] The single-chip microcomputer data processing unit 11 is also used to output a first light modulation signal, which is used to control the turn-on and turn-off of the second switch tube Q2. When the first light emitting diode D1 is turned on and the second switch tube Q2 is turned on, the eleventh resistor R11 and the tenth resistor R10 are connected in parallel, so that the current flowing through the first light emitting diode D1 is increased, and thus the luminous intensity of the first light pulse emitted by the first light emitting diode D1 is increased. When the first light emitting diode D1 is turned on and the second switch tube Q2 is turned off, the eleventh resistor R11 is not connected in the circuit, so that the current flowing through the first light emitting diode D1 is decreased, and thus the luminous intensity of the first light pulse emitted by the first light emitting diode D1 is decreased. By controlling the turn-on and turn-off of the second switch tube Q2, the luminous intensity of the first light pulse is coarsely adjusted. Meanwhile, the digital-to-analog converter in the single-chip microcomputer data processing unit 11 is a 12-bit digital-to-analog converter, which can realize 4095 times of adjustment range of the output target signal to finely adjust the luminous intensity of the first light pulse, so as to enhance the identification range and sensitivity of the measured object, and the black sponge-like object with almost no reflection and the super strong reflective object with almost mirror surface can be well identified.
[0070] It should be noted that the first switch tube Q1 is an NMOS tube, the control end of the first switch tube Q1 is the gate of the NMOS tube, the first conduction end of the first switch tube Q1 is the drain of the NMOS tube, and the second conduction end of the first switch tube Q1 is the source of the NMOS tube. The second switch tube Q2 is an NMOS tube, the control end of the second switch tube Q2 is the gate of the NMOS tube, the first conduction end of the second switch tube Q2 is the drain of the NMOS tube, and the second conduction end of the second switch tube Q2 is the source of the NMOS tube.
[0071] As shown in FIG. 1, the light identification device comprises a light emitting unit 1 and a light receiving unit 2. Figure 4As shown, the second driving unit 24 comprises a third operational amplifier U3, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a sixth capacitor C6 and a seventh capacitor C7. The non-inverting input 3 of the third operational amplifier U3 is electrically connected to the first end of the sixth resistor R6 and the first end of the seventh resistor R7 respectively, the second end of the sixth resistor R6 is electrically connected to the time-sharing unit 22, the second end of the seventh resistor R7 is grounded, the inverting input 4 of the third operational amplifier U3 is electrically connected to the second light-emitting unit 26, the positive power input 6 of the third operational amplifier U3 is electrically connected to the direct current power supply VCC, the first end of the sixth capacitor C6 and the disable pin 5 of the third operational amplifier U3 respectively, the second end of the sixth capacitor C6 is grounded, the negative power input 2 of the third operational amplifier U3 is grounded, the output of the third operational amplifier U3 is electrically connected to the first end of the eighth resistor R8 and the second light-emitting unit 26 respectively, the second end of the eighth resistor R8 is electrically connected to the first end of the seventh capacitor C7, and the second end of the seventh capacitor C7 is grounded.
[0072] Specifically, as shown in FIG. 4, the second end of the sixth resistor R6 is electrically connected to the sixth pin 6 of the first analog switch U4 in the time-sharing unit 22. Figure 4 As shown, the second end of the sixth resistor R6 is electrically connected to the sixth pin 6 of the first analog switch U4 in the time-sharing unit 22. According to the above analysis, when the second enable signal enables the third pin 3 of the first analog switch U4, the fifth pin 5 and the sixth pin 6 of the first analog switch U4 are turned on, and the VOUT output by the first operational amplifier U1 is transmitted to the second end of the sixth resistor R6 in the second driving module 400. VOUT is divided by the sixth resistor R6 and the seventh resistor R7, and then input from the non-inverting input 3 of the third operational amplifier U3. The third operational amplifier U3 is used as a differential comparator to compare the voltage at the non-inverting input 3 of the third operational amplifier U3 with the voltage at the inverting input 4 of the third operational amplifier U3. When the voltage at the non-inverting input 3 of the third operational amplifier U3 is greater than the voltage at the inverting input 4 of the third operational amplifier U3, the output 1 of the third operational amplifier U3 outputs the second control signal, and at this time the second control signal is at a high level.
[0073] As shown in FIG. 4, the second end of the sixth resistor R6 is electrically connected to the sixth pin 6 of the first analog switch U4 in the time-sharing unit 22. Figure 4As shown, the second light-emitting unit 26 comprises a second light-emitting diode D2, a third switch tube Q3, a thirteenth resistor R13, a fourteenth resistor R14, a tenth capacitor C10, an eleventh capacitor C11, a fourth switch tube Q4, a fifteenth resistor R15 and a sixteenth resistor R16. The control end of the third switch tube Q3 is electrically connected with the second driving unit 24, the first conduction end of the third switch tube Q3 is electrically connected with the negative electrode of the second light-emitting diode D2, the positive electrode of the second light-emitting diode D2 is electrically connected with the first end of the eleventh capacitor C11, the first end of the tenth capacitor C10 and the first end of the thirteenth resistor R13 respectively, the second end of the thirteenth resistor R13 is electrically connected with the direct current power supply VCC, the second end of the eleventh capacitor C11 and the second end of the tenth capacitor C10 are grounded, the second conduction end of the third switch tube Q3 is electrically connected with the first end of the fourteenth resistor R14, the first end of the fifteenth resistor R15 and the second driving unit 24 respectively, the second end of the fourteenth resistor R14 is grounded, the control end of the fourth switch tube Q4 is electrically connected with the first end of the sixteenth resistor R16 and the single-chip microcomputer data processing unit 11 respectively, the first conduction end of the fourth switch tube Q4 is electrically connected with the second end of the fifteenth resistor R15, and the second conduction end of the fourth switch tube Q4 and the second end of the sixteenth resistor R16 are grounded.
[0074] Specifically, as shown in the figure, Figure 4 the control end of the third switch tube Q3 is electrically connected with the output end 1 of the third operational amplifier U3 in the second driving unit 24. The second conduction end of the third switch tube Q3 is electrically connected with the first end of the fourteenth resistor R14, the first end of the fifteenth resistor R15 and the inverting input end 4 of the third operational amplifier U3 in the second driving unit 24 respectively.
[0075] According to the above analysis, the third operational amplifier U3 is used as a differential comparator to compare the voltage at the non-inverting input end 3 with the voltage at the inverting input end 4 of the third operational amplifier U3. In combination with Figure 3 It can be known that the voltage at the inverting input end 4 of the third operational amplifier U3 is zero through the fourteenth resistor R14, so the voltage at the non-inverting input end 3 of the third operational amplifier U3 must be greater than the voltage at the inverting input end 4, so that the second control signal output by the third operational amplifier U3 is high level. The second control signal is high level, so that the third switch tube Q3 is driven to be turned on, so that the second light-emitting diode D2 is turned on, the second light pulse is emitted, and the second light pulse is emitted to another point on the surface of the measured object, which is used to identify another feature point of the measured object.
[0076] The single-chip microcomputer data processing unit 11 is also configured to output a second dimming signal, and the second dimming signal is configured to control the conduction and non-conduction of the fourth switch tube Q4. When the second light-emitting diode D2 is turned on and the fourth switch tube Q4 is turned on, the fourteenth resistor R14 and the fifteenth resistor R15 are connected in parallel, so that the current flowing through the second light-emitting diode D2 is increased, and thus the luminous intensity of the second light pulse emitted by the second light-emitting diode D2 is increased. When the second light-emitting diode D2 is turned on and the fourth switch tube Q4 is turned off, the fifteenth resistor R15 is not connected to the circuit, so that the current flowing through the second light-emitting diode D2 is reduced, and thus the luminous intensity of the second light pulse emitted by the second light-emitting diode D2 is reduced. By controlling the conduction and non-conduction of the fourth switch tube Q4, the luminous intensity of the second light pulse is coarsely adjusted. Meanwhile, the digital-to-analog converter in the single-chip microcomputer data processing unit 11 is a 12-bit digital-to-analog converter, which can realize 4095 times of adjustment range of the output target signal, so as to finely adjust the luminous intensity of the second light pulse, and can enhance the recognition range and sensitivity of the measured object, and can well recognize the black sponge-like object with almost no reflection and the super strong reflection object similar to a mirror surface.
[0077] It should be noted that the third switch tube Q3 is an NMOS tube, the control end of the third switch tube Q3 is the gate of the NMOS tube, the first conduction end of the third switch tube Q3 is the drain of the NMOS tube, and the second conduction end of the third switch tube Q3 is the source of the NMOS tube. The fourth switch tube Q4 is an NMOS tube, the control end of the fourth switch tube Q4 is the gate of the NMOS tube, the first conduction end of the fourth switch tube Q4 is the drain of the NMOS tube, and the second conduction end of the fourth switch tube Q4 is the source of the NMOS tube.
[0078] As shown in Figure 3 The receiving module 40 includes a first receiving unit 41, a second receiving unit 42, and a third receiving unit 43. The first receiving unit 41, the second receiving unit 42, and the third receiving unit 43 are electrically connected with the control module 10.
[0079] Specifically, as shown in Figure 3 The first receiving unit 41, the second receiving unit 42, and the third receiving unit 43 are electrically connected with the single-chip microcomputer data processing unit 11 in the control module 10.
[0080] The first receiving unit 41 is configured to receive the red component in the first target light pulse, and send the red component in the first target signal to the single-chip microcomputer data processing unit 11 in the control module 10 according to the red component in the first target light pulse. The first receiving unit 41 is also configured to receive the red component in the second target light pulse, and send the red component in the second target signal to the single-chip microcomputer data processing unit 11 in the control module 10 according to the red component in the second target light pulse.
[0081] The second receiving unit 42 is configured to receive the blue light component in the first target light pulse and send the blue light component in the first target signal to the single-chip microcomputer data processing unit 11 in the control module 10 according to the blue light component in the first target light pulse. The second receiving unit 42 is also configured to receive the blue light component in the second target light pulse and send the blue light component in the second target signal to the single-chip microcomputer data processing unit 11 in the control module 10 according to the blue light component in the second target light pulse.
[0082] The third receiving unit 43 is configured to receive the green light component in the first target light pulse and send the green light component in the first target signal to the single-chip microcomputer data processing unit 11 in the control module 10 according to the green light component in the first target light pulse. The third receiving unit 43 is also configured to receive the green light component in the second target light pulse and send the green light component in the second target signal to the single-chip microcomputer data processing unit 11 in the control module 10 according to the green light component in the second target light pulse.
[0083] The single-chip microcomputer data processing unit 11 is also configured to identify two feature points of the measured object according to the red light component, the green light component and the blue light component in the first target signal and the red light component, the green light component and the blue light component in the second target signal, and obtain an identification result of the measured object.
[0084] As shown in Figure 3 The first receiving unit 41 includes a first filter circuit 411, a first amplification circuit 412, a second filter circuit 413, a second amplification circuit 414, a switch circuit 415, an interference detection circuit 416 and a pulse signal generation circuit 417. The first filter circuit 411 is electrically connected with the pulse signal generation circuit 417 and the first amplification circuit 412 respectively, the second filter circuit 413 is electrically connected with the first amplification circuit 412 and the second amplification circuit 414 respectively, the second amplification circuit 414 is electrically connected with the interference detection circuit 416 and the switch circuit 415 respectively, and the interference detection circuit 416 and the switch circuit 415 are electrically connected with the control module 10.
[0085] Specifically, as shown in Figure 5 The interference detection circuit 416 and the switch circuit 415 are electrically connected with the single-chip microcomputer data processing unit 11 in the control module 10.
[0086] The pulse signal generation circuit 417 is configured to receive the red light component in the first target light pulse, generate a first pulse signal according to the red light component in the first target light pulse, and send the first pulse signal to the first filter circuit 411. The first filter circuit 411 is configured to filter the first pulse signal, and send the filtered first pulse signal to the first amplification circuit 412. The first amplification circuit 412 is configured to amplify the filtered first pulse signal to obtain a first-level pulse signal, and send the first-level pulse signal to the second filter circuit 413. The second filter circuit 413 is configured to filter the first-level pulse signal to obtain a filtered first-level pulse signal, and send the filtered first-level pulse signal to the second amplification circuit 414. The second amplification circuit 414 is configured to amplify the filtered first-level pulse signal to obtain the red light component in the first target signal, and send the red light component in the first target signal to the interference detection circuit 416. The second amplification circuit 414 is also configured to suppress the interference signal and the useless signal.
[0087] The interference detection circuit 416 is configured to detect whether the red light component in the first target signal has interference. If the red light component in the first target signal has interference, the interference detection circuit 416 sends a first level signal to the single-chip microcomputer data processing unit 11 in the control module 10. The single-chip microcomputer data processing unit 11 in the control module 10 is also configured to control the switch circuit 415 not to output the red light component in the first target signal according to the first level signal. If the red light component in the first target signal has no interference, the interference detection circuit 416 sends a second level signal to the single-chip microcomputer data processing unit 11 in the control module 10. The single-chip microcomputer data processing unit 11 in the control module 10 is also configured to control the switch circuit 415 to output the red light component in the first target signal according to the second level signal.
[0088] Furthermore, the microcontroller data processing unit 11 in the control module 10 is also used to collect the red light component in the first target signal and analyze it. If the red light component in the first target signal is within a preset range, it is determined to be a useful signal. If the red light component in the first target signal is less than the preset range, the microcontroller data processing unit 11 in the control module 10 sends an adjustment command to the switching circuit 415. The switching circuit 415 is used to adjust the amplification factor of the second amplification circuit 414 according to the adjustment command so that the red light component in the first target signal meets the preset range. If the switching circuit 415 adjusts the amplification factor of the second amplification circuit 414 according to the adjustment command but still cannot make the red light component in the first target signal meet the preset range, the microcontroller data processing unit 11 in the control module 10 adjusts the target signal and sends the adjusted target signal to the transmitting module 20. The transmitting module 20 is used to adjust the luminous intensity of the first light pulse according to the adjusted target signal so that the red light component in the first target signal meets the preset range. If the red light component in the first target signal exceeds a preset range, the microcontroller data processing unit 11 in the control module 10 continues to adjust the target signal and sends the adjusted target signal to the transmitting module 20. The transmitting module 20 adjusts the luminous intensity of the first light pulse according to the adjusted target signal so that the red light component in the first target signal meets the preset range.
[0089] In summary, the first receiving unit 41 in the receiving module 40 first filters the received pulse signal through the first filtering circuit 411 and the second filtering circuit 413, thereby removing interference signals and improving the anti-interference capability of the receiving module 40. Then, the second amplification circuit 414 suppresses interference and unwanted signals, further enhancing the anti-interference capability of the receiving module 40. Finally, the interference detection circuit 416 detects interference in the red light component of the first target signal, further improving the anti-interference capability of the receiving module 40, ensuring higher accuracy of the red light component in the output first target signal, and more accurate identification of the object being measured.
[0090] like Figure 5 As shown, the pulse signal generation circuit 417 includes a 30th resistor R30, a 31st resistor R31, a 26th capacitor C26, a 27th capacitor C27, and a photoelectric sensing circuit. The first terminal of the 30th resistor R30 is electrically connected to the DC power supply VCC. The second terminal of the 30th resistor R30 is electrically connected to the first terminals of the 26th capacitor C26, the 27th capacitor C27, and the photoelectric sensing circuit. The second terminals of both the 26th capacitor C26 and the 27th capacitor C27 are grounded. The photoelectric sensing circuit is electrically connected to the first filter circuit 411 and the first terminal of the 31st resistor R31. The second terminal of the 31st resistor R31 is grounded.
[0091] Specifically, when the photoelectric sensing circuit does not receive the red light component in the first target light pulse, the internal resistance of the photoelectric sensing circuit tends to be infinite. When the photoelectric sensing circuit receives the red light component in the first target light pulse, the internal resistance of the photoelectric sensing circuit instantaneously decreases and tends to be 0. The twenty-sixth capacitor C26 is configured to buffer the instantaneous current generated when the photoelectric sensing circuit receives the red light component in the first target light pulse. The twenty-seventh capacitor C27 is configured to filter. The thirty-first resistor R31 is pulled down to the ground. When the photoelectric sensing circuit receives the red light component in the first target light pulse, the internal resistance of the photoelectric sensing circuit is very low, and there is current flowing, and an electromotive force is generated on the thirty-first resistor R31, so that the first pulse signal is output at the first end of the thirty-first resistor R31.
[0092] It should be noted that the time of the first target light pulse is very short, only a few microseconds.
[0093] As shown in Figure 5 , the photoelectric sensing circuit includes a plurality of light-sensitive diodes D3. The negative electrodes of the plurality of light-sensitive diodes D3 are connected in parallel and electrically connected to the second end of the thirtieth resistor R30, and the positive electrodes of the plurality of light-sensitive diodes D3 are connected in parallel and electrically connected to the first end of the thirty-first resistor R31 and the first filter circuit 411. The light-sensitive diodes D3 are coated with a red film.
[0094] Further, the second receiving unit 42 and the third receiving unit 43 have the same circuit structure as the first receiving unit 41. The light-sensitive diodes in the second receiving unit 42 are coated with a blue film, and the light-sensitive diodes in the third receiving unit 43 are coated with a green film.
[0095] It should be noted that the light-sensitive diodes in the first receiving unit 41, the second receiving unit 42, and the third receiving unit 43 are arranged in N rows and M columns. Since the response of red and green is better and the response of blue is poorer, the number of light-sensitive diodes coated with a blue film can be slightly more. When arranging the light-sensitive diodes coated with a red film, the center lines of the first light-emitting unit 25 and the second light-emitting unit 26 in the light-emitting module 20 should be used as the reference for symmetrical arrangement. Similarly, when arranging the light-sensitive diodes coated with a blue film and a green film, they are arranged according to the above rules.
[0096] As shown in Figure 5 , the first filter circuit 411 includes a twelfth capacitor C12. The first end of the twelfth capacitor C12 is electrically connected to the pulse signal generating circuit 417, and the second end of the twelfth capacitor C12 is electrically connected to the first amplification circuit 412.
[0097] Specifically, as shown in Figure 5As shown, the first terminal of the twelfth capacitor C12 is electrically connected to the positive terminals of several photodiodes D3 in the pulse signal generation circuit 417. The twelfth capacitor C12 is used to receive the first pulse signal, filter the first pulse signal to remove high-frequency components, and improve the anti-interference capability of the receiving module 40. The filtered first pulse signal is then sent to the first amplification circuit 412.
[0098] like Figure 5 As shown, the first amplifier circuit 412 includes a fourth operational amplifier U5, a seventeenth resistor R17, an eighteenth resistor R18, a nineteenth resistor R19, a thirteenth capacitor C13, and a fifteenth capacitor C15. The first terminal of the seventeenth resistor R17 is electrically connected to the DC power supply VCC. The second terminal of the seventeenth resistor R17 is electrically connected to the non-inverting input terminal 3 of the fourth operational amplifier U5, the first terminal of the thirteenth capacitor C13, and the first terminal of the eighteenth resistor R18, respectively. The second terminals of the thirteenth capacitor C13 and the eighteenth resistor R18 are both grounded. The inverting input terminal 4 of the fourth operational amplifier U5 is electrically connected to the first filter circuit 411, the first terminal of the nineteenth resistor R19, and the first terminal of the fifteenth capacitor C15, respectively. The output terminal 1 of the fourth operational amplifier U5 is electrically connected to the second filter circuit 413, the second terminal of the nineteenth resistor R19, and the second terminal of the fifteenth capacitor C15, respectively.
[0099] The first amplifier circuit 412 also includes a fourteenth capacitor C14. The positive power supply input terminal 5 of the fourth operational amplifier U5 is electrically connected to the DC power supply VCC and the first terminal of the fourteenth capacitor C14, respectively, and the negative power supply input terminal 2 of the fourth operational amplifier U5 is grounded. The second terminal of the fourteenth capacitor C14 is grounded.
[0100] Specifically, such as Figure 5 As shown, the inverting input terminal 4 of the fourth operational amplifier U5 is electrically connected to the second terminal of the twelfth capacitor C12, the first terminal of the nineteenth resistor R19, and the first terminal of the fifteenth capacitor C15 in the first filter circuit 411.
[0101] The first pulse signal filtered by the twelfth capacitor C12 is input from the inverting input terminal 4 of the fourth operational amplifier U5. The direct current power supply VCC is divided by the seventeenth resistor R17 and the eighteenth resistor R18 to provide a first reference voltage for the non-inverting input terminal 3 of the fourth operational amplifier U5 to limit the floating range of the first pulse signal, i.e. to retain the useful waveform part. The equivalent capacitance of the nineteenth resistor R19 and the twelfth capacitor C12 constitutes a feedback amplification circuit. After the first pulse signal passes through the fourth operational amplifier U5, a first-level pulse signal is output from the output terminal 1 of the fourth operational amplifier U5. The waveform of the first pulse signal is a square wave and the pulse signal is a current signal, and the waveform of the first-level pulse signal is converted from a square wave to a waveform similar to a sine wave in the opposite direction and with a smaller amplitude, and the first-level pulse signal is a voltage signal, at this time the first processing of the first pulse signal is completed. The thirteenth capacitor C13 is used to filter the noise of the direct current power supply VCC.
[0102] For example, the fourth operational amplifier U5 is a low-bias current operational amplifier, which has the advantage of high sensitivity.
[0103] As shown in Figure 5 , the second filter circuit 413 includes a sixteenth capacitor C16. The first end of the sixteenth capacitor C16 is electrically connected with the first amplification circuit 412, and the second end of the sixteenth capacitor C16 is electrically connected with the second amplification circuit 414.
[0104] Specifically, as shown in Figure 5 , the first end of the sixteenth capacitor C16 is electrically connected with the output terminal 1 of the fourth operational amplifier U5 in the first amplification circuit 412. The sixteenth capacitor C16 is used to receive the first-level pulse signal output by the fourth operational amplifier U5, and filter the first-level pulse signal to filter out the high-frequency components in the first-level pulse signal, thereby improving the anti-interference ability of the receiving module 40. And send the filtered first-level pulse signal to the second amplification circuit 414.
[0105] As shown in Figure 5As shown, the second amplifier circuit 414 includes a fifth operational amplifier U6, a twentieth resistor R20, a twenty-first resistor R21, a twenty-second resistor R22, a twenty-third resistor R23, a twenty-fourth resistor R24, a seventeenth capacitor C17, an eighteenth capacitor C18, and a twentieth capacitor C20. The first terminal of the twenty-first resistor R21 is electrically connected to the DC power supply VCC. The second terminal of the twenty-first resistor R21 is electrically connected to the non-inverting input terminal 3 of the fifth operational amplifier U6, the first terminal of the seventeenth capacitor C17, the first terminal of the twenty-second resistor R22, and the first terminal of the eighteenth capacitor C18. The second terminals of the seventeenth capacitor C17, the twenty-second resistor R22, and the eighteenth capacitor C18 are all grounded. The inverting input terminal 4 of the fifth operational amplifier U6 is electrically connected to the first terminal of the twentieth resistor R20, the first terminal of the twenty-third resistor R23, the first terminal of the twentieth capacitor C20, and the switching circuit 415. The output terminal 1 of the fifth operational amplifier U6 is electrically connected to the switching circuit 415, the interference detection circuit 416, the second terminal of the twenty-third resistor R23, the second terminal of the twentieth capacitor C20, and the first terminal of the twenty-fourth resistor R24. The second terminal of the twenty-fourth resistor R24 is electrically connected to the switching circuit 415. The second terminal of the twentieth resistor R20 is electrically connected to the second filter circuit 413.
[0106] The second amplifier circuit 414 also includes a nineteenth capacitor C19. The positive power supply input terminal 5 of the fifth operational amplifier U6 is electrically connected to the DC power supply VCC and the first terminal of the nineteenth capacitor C19, respectively. The negative power supply input terminal 2 of the fifth operational amplifier U6 is grounded. The second terminal of the nineteenth capacitor C19 is grounded.
[0107] Specifically, such as Figure 5 As shown, the second end of the twentieth resistor R20 is electrically connected to the second end of the sixteenth capacitor C16 in the second filter circuit 413.
[0108] The first-stage pulse signal filtered by the sixteenth capacitor C16 is input from the inverting input terminal 4 of the fifth operational amplifier U6. The direct current power supply VCC is divided by the twenty-first resistor R21 and the twenty-second resistor R22 to provide a second reference voltage for the non-inverting input terminal 3 of the fifth operational amplifier U6 to limit the floating range of the first-stage pulse signal, i.e. to retain the useful waveform part. The first-stage pulse signal is amplified twice by the second amplification circuit 414 composed of the twentieth resistor R20, the twenty-third resistor R23 and the fifth operational amplifier U6, and the red component in the first target signal is output from the output terminal 1 of the fifth operational amplifier U6. The waveform of the red component in the first target signal is rotated again in the reverse direction, becoming a waveform similar to a sine wave with the same direction as the first pulse signal, larger amplitude and higher similarity. The circuit compatible design of the second amplification circuit 414 is an integral circuit composed of the twentieth resistor R20, the twentieth capacitor C20 and the fifth operational amplifier U6, which functions to suppress interference signals and useless signals and improve the anti-interference ability of the receiving module 40. The seventeenth capacitor C17 is used to filter the noise of the direct current power supply VCC.
[0109] For example, the fifth operational amplifier U6 is a low-bias current operational amplifier, which has the advantage of high sensitivity.
[0110] As shown in Figure 5 , the interference detection circuit 416 includes a comparator U7, a twenty-eighth resistor R28, a twenty-ninth resistor R29, a twenty-third capacitor C23 and a twenty-fourth capacitor C24. The first end of the twenty-eighth resistor R28 is electrically connected with the direct current power supply VCC, and the second end of the twenty-eighth resistor R28 is electrically connected with the first end of the twenty-third capacitor C23, the first end of the twenty-ninth resistor R29, the first end of the twenty-fourth capacitor C24 and the positive input terminal 3 of the comparator U7 respectively. The second end of the twenty-third capacitor C23, the second end of the twenty-ninth resistor R29 and the second end of the twenty-fourth capacitor C24 are all grounded. The negative input terminal 4 of the comparator U7 is electrically connected with the switch circuit 415 and the second amplification circuit 414 respectively. The output terminal 1 of the comparator U7 is electrically connected with the single-chip microcomputer data processing unit 11.
[0111] The interference detection circuit 416 further includes a twenty-fifth capacitor C25. The positive power supply input terminal 5 of the comparator U7 is electrically connected with the direct current power supply VCC and the first end of the twenty-fifth capacitor C25 respectively, and the negative power supply input terminal 2 of the comparator U7 is grounded. The second end of the twenty-fifth capacitor C25 is grounded.
[0112] Specifically, as shown in Figure 5 , the negative input terminal 4 of the comparator U7 is electrically connected with the output terminal 1 of the fifth operational amplifier U6 in the switch circuit 415 and the second amplification circuit 414 respectively.
[0113] The red light component in the first target signal output from the output terminal 1 of the fifth operational amplifier U6 is input from the negative input terminal 4 of the comparator U7. The direct current power supply VCC provides a third reference voltage for the positive input terminal 3 of the comparator U7 through the voltage division of the twenty-eighth resistor R28 and the twenty-ninth resistor R29, and the third reference voltage is greater than the second reference voltage input from the non-inverting input terminal 3 of the fifth operational amplifier U6. The comparator U7 compares the red light component in the first target signal with the third reference voltage, and when the red light component in the first target signal is interfered, the comparator U7 sends a first level signal to the single-chip microcomputer data processing unit 11, and the first level signal is low. The single-chip microcomputer data processing unit 11 controls the switch circuit 415 not to output the red light component in the first target signal according to the first level signal, and at this time, the signal is not collected. When the red light component in the first target signal is not interfered, the comparator U7 sends a second level signal to the single-chip microcomputer data processing unit 11, and the second level signal is high. The single-chip microcomputer data processing unit 11 controls the switch circuit 415 to output the red light component in the first target signal according to the second level signal, so as to realize the collection of the signal. The setting of the interference detection circuit 416 and the switch circuit 415 can ensure that the signal is not collected when the red light component in the first target signal is interfered, and the signal is collected when the red light component in the first target signal is not interfered, so as to reduce the interference of the impurity signal on the red light component in the first target signal, and improve the precision of the signal collection.
[0114] As shown in Figure 5 The switch circuit 415 includes the second analog switch U8, the twenty-seventh resistor R27, the twenty-fifth resistor R25, the twenty-sixth resistor R26, the twenty-second capacitor C22 and the twenty-first capacitor C21. The first pin 1 and the second pin 2 of the second analog switch U8 are electrically connected with the second amplification circuit 414, the seventh pin 7 of the second analog switch U8 is the first enable terminal, the third pin 3 of the second analog switch U8 is the second enable terminal, the seventh pin 7 and the third pin 3 of the second analog switch U8 are electrically connected with the single-chip microcomputer data processing unit 11, the sixth pin 6 of the second analog switch U8 is respectively electrically connected with the first end of the twenty-second capacitor C20 and the first end of the twenty-seventh resistor R27, the second end of the twenty-second capacitor C20 is electrically connected with the second amplification circuit 414 and the interference detection circuit 416, the second end of the twenty-seventh resistor R27 is electrically connected with the single-chip microcomputer data processing unit 11, the fifth pin 5 of the second analog switch U8 is respectively electrically connected with the first end of the twenty-fifth resistor R25 and the first end of the twenty-sixth resistor R26, the second end of the twenty-fifth resistor R25 is electrically connected with the direct current power supply VCC, the second end of the twenty-sixth resistor R26 is grounded, the eighth pin 8 of the second analog switch U8 is respectively electrically connected with the direct current power supply VCC and the first end of the twenty-first capacitor C21, the second end of the twenty-first capacitor C21 is grounded, and the fourth pin 4 of the second analog switch U8 is grounded.
[0115] Specifically, as shown in the first pin 1 of the second analog switch U8 is electrically connected with the second end of the twenty-fourth resistor R24 in the second amplification circuit 414, the second pin 2 of the second analog switch U8 is electrically connected with the inverting input end 4 of the fifth operational amplifier U6 in the second amplification circuit 414, and the second end of the twenty-second capacitor C22 is electrically connected with the output end 1 of the fifth operational amplifier U6 in the second amplification circuit 414 and the negative input end 4 of the comparator U7 in the interference detection circuit 416, respectively.
[0116] According to the above analysis, when the red light component in the first target signal exists interference, the comparator U7 sends a first level signal to the single-chip microcomputer data processing unit 11, and the first level signal is a low level. The single-chip microcomputer data processing unit 11 sends a first instruction to the switch circuit 415 according to the first level signal. The first instruction enables the third pin 3 in the second analog switch U8, and makes the fifth pin 5 and the sixth pin 6 in the second analog switch U8 conductive. Since the resistance values of the twenty-fifth resistor R25 and the twenty-sixth resistor R26 are quite different, the direct current power supply VCC is divided by the twenty-fifth resistor R25 and the twenty-sixth resistor R26, and the electrical property limit of the twenty-sixth resistor R26 is ground, but not completely ground. Therefore, when the red light component in the first target signal exists interference, the fifth pin 5 and the sixth pin 6 in the second analog switch U8 are conductive, the red light component in the first target signal is led out through the fifth pin 5 of the second analog switch U8, and at this time, signal collection is not performed. When the red light component in the first target signal does not exist interference, the comparator U7 sends a second level signal to the single-chip microcomputer data processing unit 11, and the second level signal is a high level. The single-chip microcomputer data processing unit 11 sends a collection instruction to the switch circuit 415 according to the second level signal, and the twenty-seventh resistor R27 in the switch circuit 415 outputs the red light component in the first target signal according to the collection instruction, so as to realize signal collection. When signal collection is performed, the twenty-second capacitor C22 is also used to filter the direct current component in the red light component in the first target signal, and convert the finally collected red light component in the first target signal into the full range of the analog-to-digital converter inside the single-chip microcomputer data processing unit 11, so that the range of the analog-to-digital converter inside the single-chip microcomputer data processing unit 11 is effectively used.
[0117] The single-chip microcomputer data processing unit 11 is also used for analyzing the red light component in the collected first target signal. If the red light component in the first target signal is within a preset range, the red light component in the first target signal is determined as a useful signal. If the red light component in the first target signal is less than the preset range, it indicates that the red light component in the first target signal is relatively weak. At this time, the single-chip microcomputer data processing unit 11 generates an adjusting instruction to the switching circuit 415. The adjusting instruction enables the seventh pin 7 of the second analog switch U8, so that the first pin 1 and the second pin 2 of the second analog switch U8 are turned on. After the first pin 1 and the second pin 2 of the second analog switch U8 are turned on, the twenty-fourth resistor R24 and the twenty-third resistor R23 in the second amplification circuit 414 are connected in parallel, which improves the reverse amplification multiple of the fifth operational amplifier U5, so that the red light component in the first target signal meets the preset range, and the effectiveness of the red light component in the first target signal is ensured.
[0118] In summary, the first light-emitting unit 25 and the second light-emitting unit 26 in the emission module 20 can realize a coarse adjustment range of 30-50 times of the light-emitting intensity through the switching of the resistance values, and can realize a fine adjustment range of 4095 times of the light-emitting intensity through the 12-bit digital-to-analog converter in the single-chip microcomputer data processing unit 11, so that the emission module 20 can realize a dynamic adjustment range of 200,000 times of the light-emitting intensity. The receiving module 40 can realize an adjustment range of 10-20 times of the light-emitting intensity through the switching of the resistance values. Therefore, the light detection system provided in the embodiment of the application can realize a dynamic adjustment range of 2,000,000 times of the light-emitting intensity, and can enhance the recognition range and the recognition sensitivity of the measured object. The light detection system can well recognize the black sponge-like object with almost no light reflection and the super strong light-reflecting object similar to a mirror. Since the strong light-reflecting objects such as copper foil and aluminum foil can be accurately recognized, the light detection system provided in the embodiment of the application can also be applied to the production field of batteries to detect the electrode materials of the batteries.
[0119] As shown in , the first receiving unit 41 further includes a diode D4. The negative electrode of the diode D4 is electrically connected with the switching circuit 415, and the positive electrode of the diode D4 is grounded.
[0120] Specifically, as shown in , the negative electrode of the diode D4 is electrically connected with the second end of the twenty-seventh resistor R27 in the switching circuit 415. The purpose of arranging the diode D4 is to stably and safely transmit the red light component in the first target signal to the single-chip microcomputer data processing unit 11 when the single-chip microcomputer data processing unit 11 collects the red light component in the first target signal, and to ensure the stable work of the single-chip microcomputer data processing unit 11.
[0121] Exemplarily, the diode D4 is a Schottky diode.
[0122] It should be noted that when the first receiving unit 41 is used to receive the red light component in the second target light pulse, the first receiving unit 41 has the same processing principle for the red light component in the second target light pulse as the processing principle for the red light component in the first target light pulse, which will not be described here.
[0123] The working principle of the second receiving unit 42 and the working principle of the third receiving unit 43 are the same as the working principle of the first receiving unit 41, which will not be described here.
[0124] The embodiment of the present application also provides a light detection device comprising the light detection system.
[0125] Specifically, when the light detection device is used for feature recognition of a measured object, the control module in the light detection system is configured to output a target signal, and is also configured to output a first enable signal and a second enable signal in time, and send the target signal, the first enable signal and the second enable signal to the emitting module. The emitting module is configured to emit a first light pulse according to the target signal and the first enable signal, and emit a second light pulse according to the target signal and the second enable signal, the first light pulse is emitted to a point on the surface of the measured object, and the second light pulse is emitted to another point on the surface of the measured object, so as to identify two feature points of the measured object.
[0126] The receiving module in the light detection system is configured to receive a first target light pulse reflected by the first light pulse on the measured object, and send a first target signal to the control module according to the first target light pulse. The receiving module is also configured to receive a second target light pulse reflected by the second light pulse on the measured object, and send a second target signal to the control module according to the second target light pulse. The arrangement of the receiving module makes the first target signal and the second target signal have strong anti-interference ability, and improves the recognition accuracy of the measured object. The control module in the light detection system is also configured to identify two feature points of the measured object according to the first target signal and the second target signal, and obtain a recognition result of the measured object.
[0127] In summary, the light detection device provided by the embodiment of the present application can detect two feature points of a measured object, so that the final recognition result is more stable.
[0128] In the above embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in detail in a certain embodiment can be referred to the related description of other embodiments.
[0129] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not limit them; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement to part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A light detection system, characterized by, The application relates to a light emitting and receiving module. The control module is used for outputting a target signal, and is further used for outputting a first enabling signal and a second enabling signal in time, and sending the target signal, the first enabling signal and the second enabling signal to the transmitting module. The transmitting module is used for transmitting a first light pulse according to the target signal and the first enabling signal, and transmitting a second light pulse according to the target signal and the second enabling signal. The receiving module is used for receiving a first target light pulse reflected by a measured object, and sending a first target signal to the control module according to the first target light pulse; and the receiving module is further used for receiving a second target light pulse reflected by the measured object, and sending a second target signal to the control module according to the second target light pulse. The control module is further used for obtaining an identification result of the measured object according to the first target signal and the second target signal. The transmitting module comprises a signal following unit, a time division unit, a first driving unit, a second driving unit, a first light emitting unit and a second light emitting unit; the time division unit is electrically connected with the control module, the signal following unit, the first driving unit and the second driving unit respectively; the first driving unit is electrically connected with the first light emitting unit; the second driving unit is electrically connected with the second light emitting unit; and the signal following unit is electrically connected with the control module. The signal following unit is used for following the target signal, and sending the target signal to the time division unit; the time division unit is used for sending the target signal to the first driving unit according to the first enabling signal; the first driving unit is used for outputting a first control signal according to the target signal, and the first control signal controls the first light emitting unit to emit the first light pulse; the time division unit is further used for sending the target signal to the second driving unit according to the second enabling signal; and the second driving unit is used for outputting a second control signal according to the target signal, and the second control signal controls the second light emitting unit to emit the second light pulse. The first receiving unit comprises a first filter circuit, a first amplification circuit, a second filter circuit, a second amplification circuit, a switch circuit, an interference detection circuit and a pulse signal generation circuit. The first filter circuit is electrically connected with the pulse signal generation circuit and the first amplification circuit respectively; the second filter circuit is electrically connected with the first amplification circuit and the second amplification circuit respectively; the second amplification circuit is electrically connected with the interference detection circuit and the switch circuit respectively; and the interference detection circuit and the switch circuit are electrically connected with the control module. The pulse signal generation circuit is used for receiving a red light component in the first target light pulse, generating a first pulse signal according to the red light component in the first target light pulse, and sending the first pulse signal to the first filter circuit. The first filter circuit is configured to filter the first pulse signal and send the filtered first pulse signal to the first amplification circuit; The first amplification circuit is configured to amplify the filtered first pulse signal to obtain a first-level pulse signal and send the first-level pulse signal to the second filter circuit; The second filter circuit is configured to filter the first-level pulse signal to obtain a filtered first-level pulse signal and send the filtered first-level pulse signal to the second amplification circuit; and the second amplification circuit is configured to amplify the filtered first-level pulse signal to obtain a red component of the first target signal and send the red component of the first target signal to the interference detection circuit; The interference detection circuit is configured to detect whether the red component of the first target signal has interference, and send a first level signal to the control module if the red component of the first target signal has interference; the control module is further configured to control the switch circuit to not output the red component of the first target signal according to the first level signal; and the interference detection circuit is configured to send a second level signal to the control module if the red component of the first target signal has no interference; and the control module is further configured to control the switch circuit to output the red component of the first target signal according to the second level signal.
2. The light detection system of claim 1, wherein, The first light emitting unit and the second light emitting unit are electrically connected to the control module; The control module is further configured to output a first dimming signal, and the first dimming signal is used to adjust the light emitting intensity of the first light pulse; and the control module is further configured to output a second dimming signal, and the second dimming signal is used to adjust the light emitting intensity of the second light pulse.
3. The light detection system of claim 1, wherein, The receiving module includes a first receiving unit, a second receiving unit and a third receiving unit; the first receiving unit, the second receiving unit and the third receiving unit are electrically connected to the control module; The first receiving unit is configured to receive the red component of the first target light pulse and send the red component of the first target signal to the control module according to the red component of the first target light pulse; and the first receiving unit is further configured to receive the red component of the second target light pulse and send the red component of the second target signal to the control module according to the red component of the second target light pulse; The second receiving unit is configured to receive the blue component of the first target light pulse and send the blue component of the first target signal to the control module according to the blue component of the first target light pulse; and the second receiving unit is further configured to receive the blue component of the second target light pulse and send the blue component of the second target signal to the control module according to the blue component of the second target light pulse; and The third receiving unit is configured to receive the green component of the first target light pulse and send the green component of the first target signal to the control module according to the green component of the first target light pulse; and the third receiving unit is further configured to receive the green component of the second target light pulse and send the green component of the second target signal to the control module according to the green component of the second target light pulse. The third receiving unit is configured to receive the green light component in the first target light pulse and send the green light component in the first target signal to the control module according to the green light component in the first target light pulse; and the third receiving unit is also configured to receive the green light component in the second target light pulse and send the green light component in the second target signal to the control module according to the green light component in the second target light pulse.
4. The light detection system of claim 1, wherein, If the red light component in the first target signal is less than a preset range, the control module sends an adjustment instruction to the switch circuit; and the switch circuit is configured to adjust the amplification multiple of the second amplification circuit according to the adjustment instruction, so that the red light component in the first target signal meets the preset range.
5. The light detection system of claim 3, wherein, The pulse signal generation circuit comprises a thirtieth resistor, a thirty-first resistor, a twenty-sixth capacitor, a twenty-seventh capacitor and a photoelectric sensing circuit. The first end of the thirtieth resistor is electrically connected with a direct current power supply, the second end of the thirtieth resistor is electrically connected with the first end of the twenty-sixth capacitor, the first end of the twenty-seventh capacitor and the photoelectric sensing circuit respectively; the second end of the twenty-sixth capacitor and the second end of the twenty-seventh capacitor are grounded; the photoelectric sensing circuit is electrically connected with the first filter circuit and the first end of the thirty-first resistor respectively; and the second end of the thirty-first resistor is grounded.
6. The light detection system of claim 5, wherein, The photoelectric sensing circuit comprises a plurality of photosensitive diodes; the cathodes of the plurality of photosensitive diodes are connected in parallel and electrically connected with the second end of the thirtieth resistor, the anodes of the plurality of photosensitive diodes are connected in parallel and electrically connected with the first filter circuit and the first end of the thirty-first resistor respectively; and a red film is coated on the photosensitive diodes.
7. The light detection system of claim 6, wherein, The circuit structure of the second receiving unit and the third receiving unit is the same as that of the first receiving unit; a blue film is coated on the photosensitive diodes in the second receiving unit, and a green film is coated on the photosensitive diodes in the third receiving unit.
8. A light detecting device, characterized by, The light detection system comprises the light detection system according to any one of claims 1-7.
Citation Information
Patent Citations
Light emitting circuit and device
CN218006252U