A target adaptive visible near infrared detection light source posture adjustment device and method

By designing a near-infrared fruit detection device with adjustable light source position, the destructive and low-precision problems of traditional fruit detection methods are solved, efficient non-destructive detection of large thick-skinned fruits is achieved, the light source parameter adjustment process is simplified, and detection efficiency is improved. Accuracy and efficiency.

CN111443060BActive Publication Date: 2024-10-22广东省农业科学院农业质量标准与监测技术研究所
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010413267.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-15
Publication Date
2024-10-22
Estimated Expiration
2040-05-15

AI Technical Summary

Technical Problem

Traditional fruit quality detection methods are destructive, have long detection cycles and are highly subjective. Existing near-infrared detection technology has poor non-destructive detection signal passability for large thick-skinned fruits and cannot accurately obtain internal quality information. Moreover, the adjustment of light source parameters relies on manual operation, and the accuracy is poor. Low cost and time consuming.

Method used

A near-infrared fruit detection device with adjustable light source position is designed, including a horizontal panel, a fixed plate, a mounting slot, multiple light source modules and an integrating sphere. The light source angle, light intensity and Automatic distance adjustment simplifies the light source parameter adjustment process.

Benefits of technology

It improves detection accuracy and efficiency, reduces human errors, achieves accurate quality detection of large thick-skinned fruits, and reduces detection costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111443060B_ABST
    Figure CN111443060B_ABST
Patent Text Reader

Abstract

The present invention relates to a device and method for adjusting the attitude of a target-adaptive visible near-infrared detection light source, comprising a panel, a fixed plate arranged parallel to the top of the panel, the fixed plate being slidably connected to the panel through a bracket structure; a mounting slot is arranged on the fixed plate, a plurality of light source modules are arranged on the edge of the mounting slot, and each light source module is rotatably connected to the edge of the mounting slot; an integrating sphere is arranged at a position corresponding to the mounting slot on the panel, the light emitted by the light source module passes through the fruit to be tested to reach the integrating sphere, the integrating sphere is equipped with a signal processing mechanism, and the signal processing mechanism is used to analyze the light collected by the integrating sphere to obtain a detection spectrum. The near-infrared fruit detection device can adjust the light intensity by turning on different numbers of light source modules, and the angle of the emitted light of the light source module can be flexibly adjusted, and has a wide range of applications. In addition, the three-dimensional adjustment of the position of the light source module can be achieved through the bracket structure, thereby improving the accuracy and efficiency of position adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fruit detection, and in particular to a device and method for adjusting the posture of a target-adaptive visible or near-infrared detection light source. Background Art

[0002] Traditional fruit quality detection methods are destructive tests, with complex sample pretreatment operations, long detection cycles, and strong subjectivity. Therefore, rapid nondestructive testing technology has gradually become the mainstream of fruit industry testing. In recent years, visible-near infrared spectroscopy technology has good spectral transmittance and little effect of detection parameters on detection accuracy. Under full spectral transmission, the same detection parameters can almost adapt to the quality detection of most small thin-skinned fruits, and has achieved good application. However, for different large and thick-skinned fruits, due to the large differences in fruit shape, complex internal structure, and more cellulose contained, the passability of nondestructive detection signals is relatively poor. At present, only semi-transmission can be used to complete quality detection. The semi-transmission detection process requires visible-near infrared light to pass through the fruit as much as possible to carry more internal quality information, and at the same time, it is necessary to minimize the attenuation of spectral signals in the fruit. In order to achieve the desired detection effect, this puts higher requirements on the adjustment of light source parameters, such as light source angle, light intensity, distance between light source and target, etc. If any light source parameter is not appropriate, accurate detection data cannot be obtained. At present, the adjustment process of light source parameters is mainly achieved through manual adjustment. For example, the tester directly changes the placement of the light source device to adjust the light source angle and the distance between the light source and the target; or places multiple light source devices to increase the light intensity. This method of directly adjusting the light source parameters by manually moving the light source device is not only relatively low in accuracy and easy to introduce human errors, but also requires a lot of manpower and material resources in the entire adjustment process, which is not conducive to reducing the detection cost. Therefore, it is particularly important to develop a near-infrared fruit detection device with freely adjustable light source position. Summary of the invention

[0003] In order to solve the above technical problems, the present invention provides a near-infrared fruit detection device with adjustable light source position, comprising a horizontally arranged panel, the panel is used to place the fruit to be tested, a fixed plate is arranged in parallel above the panel, and the fixed plate is slidably connected to the panel through a bracket structure; an installation slot is opened on the fixed plate, and a plurality of light source modules are arranged at the edge of the installation slot, and each of the light source modules is rotatably connected to the edge of the installation slot; the panel is provided with an integrating sphere for collecting light at a position corresponding to the installation slot, the light emitted by the light source module passes through the fruit to be tested and reaches the integrating sphere, and the integrating sphere is equipped with a signal processing mechanism, and the signal processing mechanism is used to analyze the light collected by the integrating sphere to obtain a detection spectrum.

[0004] Furthermore, the light source module includes a lamp body and a lamp holder connected to the lamp body, the lamp holder is equipped with a U-shaped seat, the lamp holder is rotatably arranged in the U-shaped seat, and the U-shaped seat is arranged at the edge of the installation slot through a turntable mechanism.

[0005] Furthermore, a mounting through hole is provided on the lamp holder, and the mounting through hole is arranged perpendicular to the axis of the lamp holder. A rotating shaft is provided in the mounting through hole. A first fixing hole and a second fixing hole matching the rotating shaft are respectively provided at both ends of the U-shaped seat. One end of the rotating shaft passes through the first fixing hole and is connected to the first motor, and the other end of the rotating shaft passes through the second fixing hole and is connected to the bearing seat.

[0006] Furthermore, the turntable mechanism includes a circular turntable and an annular fixed platform arranged on the outside of the circular turntable, the outer side surface of the circular turntable is slidably connected to the inner side surface of the annular fixed platform along the circumferential direction, one side of the circular turntable is fixedly connected to the U-shaped seat, and the other side is equipped with a second motor, the second motor is used to drive the circular turntable to rotate in the annular fixed platform, and the annular fixed platform is fixedly connected to the edge of the mounting groove.

[0007] Furthermore, the inner side surface of the annular fixing platform is provided with an annular groove, which is arranged along the circumference of the annular fixing platform, and the outer side surface of the circular turntable is provided with a plurality of sliders matching the annular groove, which are evenly arranged along the circumference of the circular turntable.

[0008] Furthermore, the support structure includes two support components arranged on opposite sides of a fixed plate, each of the support components includes a first support arm, a second support arm, a third support arm and a fourth support arm; the third support arm and the fourth support arm are respectively fixedly arranged on the panel and are parallel to each other; the second support arm is arranged parallel to the panel, the two ends of the second support arm are respectively slidably connected to the third support arm and the fourth support arm, and the second support arm is perpendicular to the third support and the fourth support arm; the first support arm is arranged perpendicular to the panel, the end of the first support arm corresponding to the panel is slidably arranged on the second support arm, the first support arm is provided with a slide groove on the side corresponding to the fixed plate, and the fixed plate is provided with a slider matching the slide groove.

[0009] Furthermore, the first support arm is equipped with a first driving device, and the first driving device is used to drive the fixed plate to slide on the first support arm; the second support arm is equipped with a second driving device, and the second driving device is used to drive the first support arm to slide on the second support arm; the third support arm is equipped with a third driving device, and the third driving device is used to drive the second support arm to slide on the third support arm and the fourth support arm.

[0010] Furthermore, the panel is provided with an electric cabinet box on the side opposite to the fixing plate, and the electric cabinet box is provided with a control button, and the control button is used to realize automatic adjustment of the position of the light source module.

[0011] Furthermore, the panel is provided with a dust cover on the side opposite to the electric cabinet box, and the dust cover is detachably connected to the panel; and a plurality of cooling fans are respectively provided on the electric cabinet box and the dust cover.

[0012] A near-infrared fruit detection method with adjustable light source position, based on the above-mentioned near-infrared fruit detection device with adjustable light source position, comprises:

[0013] A. Place the fruit to be tested on the panel so that it is between the light source module and the integrating sphere;

[0014] B. Adjust the light source angle, light intensity, and the distance between the light source and the fruit to be tested to determine the best light source angle, best light intensity, and the best distance between the light source and the fruit to be tested;

[0015] C. The signal processing mechanism acquires the detection light through an integrating sphere and generates a detection spectrum.

[0016] D. Analyze the test graph to determine whether the fruit to be tested is qualified.

[0017] The beneficial technical effects of the present invention are as follows:

[0018] Compared with the prior art, the present invention discloses a target adaptive visible near-infrared detection light source posture adjustment device and method. The near-infrared fruit detection device simultaneously sets a plurality of light source modules on the edge of the installation slot, so that during the detection process, the operator can choose the number of light source modules to be turned on according to the needs, thereby realizing the adjustment of the light source intensity. At the same time, each light source module is rotatably installed on the U-shaped seat through a rotating shaft, and the U-shaped seat is connected to the edge of the installation slot through a turntable mechanism, which makes the light emission angle of each light source module flexible and adjustable, which is conducive to meeting the detection needs of various fruits. In addition, the fixed plate in the near-infrared fruit detection device is connected to the panel through a bracket structure with a three-axis position adjustment function, which realizes a large adjustment of the spatial position of the light source module, greatly simplifies the adjustment difficulty of the light source module, improves the accuracy and efficiency of the position adjustment, and facilitates the accurate detection of the fruit to be tested. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a schematic diagram of the overall structure of the target adaptive visible near-infrared detection light source posture adjustment device in Example 1.

[0020] Figure 2Schematic diagram of the connection relationship between the light source module, the fixing plate, the bracket structure, the panel and the integrating sphere in Example 1.

[0021] Figure 3 Schematic diagram of the rotational connection relationship between the light source module and the U-shaped seat in Example 1.

[0022] Figure 4 Schematic diagram of the turntable mechanism in Example 1.

[0023] Figure 5 Schematic diagram of the connection relationship between the light source module, the U-shaped seat and the turntable mechanism in Example 1.

[0024] Figure 6 Schematic diagram of the positional relationship of the light source module, the fixing plate, the bracket structure, the panel and the electrical cabinet in Example 1

[0025] Reference numerals:

[0026] 1-panel, 2-fixing plate, 3-installing slot, 4-light source module, 5-integrating sphere, 6-signal processing mechanism, 7-U-shaped seat, 8-turntable mechanism, 9-electrical cabinet, 10-control button, 11-dust cover, 12-cooling fan, 13-first support arm, 14-second support arm, 15-third support arm, 16-fourth support arm, 17-connecting rod, 18-rotating shaft, 19-first motor, 20-bearing seat, 21-first screw hole, 22-circular turntable, 23-annular fixing table, 24-second screw hole, 25-second motor, 26-third screw hole.

[0027] The drawings are only used for illustrative purposes and should not be construed as limitations on this patent. In order to better illustrate this embodiment, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted. The same or similar numbers correspond to the same or similar parts. The terms describing the positional relationship in the drawings are only used for illustrative purposes and should not be construed as limitations on this patent. DETAILED DESCRIPTION

[0028] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby more clearly defining the protection scope of the present invention.

[0029] Embodiment 1:

[0030] like Figure 1-Figure 2As shown, this embodiment provides a target adaptive visible near-infrared detection light source posture adjustment device, including a horizontally arranged panel 1, and the panel 1 is used to place the fruit to be tested. A fixed plate 2 is arranged parallel to the panel 1, and the distance between the fixed plate 2 and the panel 1 is greater than the height of the fruit to be tested. The fixed plate 2 is slidably connected to the panel 1 through a bracket structure to achieve the adjustability of the position of the fixed plate 2. A mounting groove 3 is provided on the fixed plate 2, and the mounting groove 3 is circular and located at the center of the fixed plate 2. A plurality of light source modules 4 are arranged at the edge of the mounting groove 3, and the plurality of light source modules 4 are evenly arranged along the edge of the mounting groove 3. In this embodiment, 12 light source modules 4 are arranged at the edge of the mounting groove 3, and the light source modules 4 are halogen lamps. Each light source module 4 is rotatably connected to the edge of the mounting groove 3, that is, the light source module 4 can achieve pitch angle adjustment and left and right angle adjustment. The panel 1 is provided with a mounting hole at a position corresponding to the mounting groove 3, and at least one integrating sphere 5 for collecting light is fixedly provided in the mounting hole. The number of integrating spheres 5 is preferably 4, and the 4 integrating spheres 5 are symmetrically arranged in the mounting hole and arranged directly below the mounting groove 3. The light emitted by the light source module 4 can pass through the fruit to be tested to reach the integrating sphere 5. The integrating sphere 5 is equipped with a signal processing mechanism 6. In this embodiment, the signal processing mechanism 6 adopts a computer device installed with corresponding processing software, and the integrating sphere 5 is connected to the computer device through an optical fiber. The integrating sphere 5 will transmit the collected light energy to the signal processing mechanism 6, and the signal processing mechanism 6 will analyze the light collected by the integrating sphere 5 to obtain a detection spectrum.

[0031] like Figure 3 As shown, preferably, the light source module 4 includes a lamp body and a lamp holder connected to the lamp body, the lamp holder is equipped with a U-shaped seat 7, the lamp holder is rotatably arranged in the U-shaped seat 7, and the U-shaped seat 7 is arranged at the edge of the mounting groove 3 through a turntable mechanism 8. In this embodiment, a mounting through hole is provided on the lamp holder, the mounting through hole is perpendicular to the axis of the lamp holder, and a rotating shaft 18 is inserted into the mounting through hole. A first fixing hole and a second fixing hole matching the rotating shaft 18 are respectively provided at both ends of the U-shaped seat 7, one end of the rotating shaft 18 passes through the first fixing hole to be connected to the first motor 19, and the other end of the rotating shaft 18 passes through the second fixing hole to be connected to the bearing seat 20. In actual use, the first motor 19 will drive the light source module 4 to rotate in the U-shaped seat 7 through the rotating shaft 18 to adjust the pitch angle of the light source module 4.

[0032] like Figure 4 and Figure 5As shown, as a preferred embodiment, the turntable mechanism 8 includes a circular turntable 22 and an annular fixed platform 23 arranged outside the circular turntable 22. The outer side surface of the circular turntable 22 is slidably connected to the inner side surface of the annular fixed platform 23 along the circumferential direction, that is, the circular turntable 22 can rotate circumferentially inside the annular fixed platform 23. One side of the circular turntable 22 is fixedly connected to the U-shaped seat 7, and the other side is equipped with a second motor 25. The second motor 25 is used to drive the circular turntable 22 to rotate inside the annular fixed platform 23. The annular fixed platform 23 is fixedly connected to the edge of the mounting groove 3. In this embodiment, the inner side surface of the annular fixed platform 23 is provided with an annular groove, and the annular groove is arranged along the circumference of the annular fixed platform 23. The outer side surface of the circular turntable 22 is provided with a plurality of sliders matching the annular groove. The plurality of sliders are evenly arranged along the circumference of the circular turntable 22. The circular turntable 22 is rotatably arranged in the annular fixed platform 23 through the sliders. Of course, the connection structure between the circular turntable 22 and the annular fixed platform 23 is not limited to the annular groove and the slider. For example, the outer side surface of the circular turntable 22 can also be provided with an annular protrusion along the circumferential direction, so that the annular protrusion matches the annular groove to achieve a sliding connection between the two. No unique limitation is made here. In this embodiment, two first screw holes 21 are provided on the U-shaped seat 7, and the circular turntable 22 is provided with a second screw hole 24 matching the first screw hole 21. The U-shaped seat 7 is fixedly connected to the circular turntable 22 through a stud, and a third screw hole 26 is also provided on the annular fixed platform 23. A fourth screw hole matching the third screw hole 26 is provided at the edge of the installation slot 3. The annular fixed platform 23 is fixedly set at the edge of the installation slot 3 through a stud, and the annular fixed platform 23 is set on the side of the fixed plate 2 opposite to the panel 1.

[0033] like Figure 1 , Figure 2 and Figure 6As shown, as a preference, the support structure includes two support assemblies arranged on opposite sides of the fixed plate 2, and the two support assemblies are used to fix the fixed plate 2 in parallel above the panel 1. Each support assembly includes a first support arm 13, a second support arm 14, a third support arm 15 and a fourth support arm 16. The third support arm 15 and the fourth support arm 16 are respectively fixedly arranged on the panel 1 and are parallel to each other, and the third support arm 15 and the fourth support arm 16 parallel to each other serve as X-axis sliding arms. The second support arm 14 is arranged parallel to the panel 1, and the two ends of the second support arm 14 are respectively slidably connected to the third support arm 15 and the fourth support arm 16, and the second support arm 14 is arranged perpendicular to the third support arm 15 and the fourth support arm 16, and the second support arm 14 serves as a Y-axis sliding arm. The first support arm 13 is vertically arranged with the panel 1, and the end of the first support arm 13 corresponding to the panel 1 is slidably arranged on the second support arm 14, the first support arm 13 is provided with a slide groove on the side corresponding to the fixed plate 2, and a slider matching the slide groove is provided on the fixed plate 2, and the fixed plate 2 can slide along the axial direction of the first support arm 13, and the first support arm 13 serves as a Z-axis sliding arm. In this embodiment, the third support arm 15 and the fourth support arm 16 are respectively installed with a first guide rail, and the two ends of the second support arm 14 are provided with a first slide groove matching the first guide rail, and the second support arm 14 is installed with a second guide rail on the side corresponding to the first support arm 13, and the end of the first support arm 13 corresponding to the panel 1 is provided with a second slide groove matching the second guide rail. Of course, the sliding connection between the third support arm 15, the fourth support arm 16 and the second support arm 14, and the sliding connection between the second support arm 14 and the first support arm 13 are not limited to the above-mentioned connection structure, as long as the sliding connection can be achieved, it should be within the protection scope. In addition, the first support arm 13 is also provided with a first driving device, which is used to drive the fixing plate 2 to slide on the first support arm 13; the second support arm 14 is provided with a second driving device, which is used to drive the first support arm 13 to slide on the second support arm 14; the third support arm 15 is provided with a third driving device, which is used to drive the second support arm 14 to slide on the third support arm 15 and the fourth support arm 16. In this embodiment, the first driving device, the second driving device and the third driving device are cylinders.

[0034] like Figure 1 and Figure 6As shown, as a preferred embodiment, the panel 1 is further provided with an electric cabinet box 9 on the side opposite to the fixing plate 2, and a plurality of control buttons 10 are provided on the electric cabinet box 9, and the control buttons 10 are used to realize automatic adjustment of the position of the light source module 4. In this embodiment, 12 switch control buttons are provided on the electric cabinet box, and the 12 switch control buttons are electrically connected to the 12 light source modules respectively, and the 12 switch control buttons are used to control the switch and brightness of the 12 light source modules. In addition, 2 motor control buttons and 3 drive device control buttons are also provided on the electric cabinet box 9, wherein the 2 motor control buttons are respectively controlled and connected to the first motor 19 and the second motor 25, and the 3 drive device control buttons are respectively controlled and connected to the first drive device, the second drive device and the third drive device. In this embodiment, the control connection between each light source module 4, the first motor 19, the second motor 25, the first drive device, the second drive device and the third drive device and the corresponding control button 10 can be realized by the control circuit board in the prior art, and since the control circuit board technology is relatively mature, it will not be repeated here. Of course, the control circuit board is not the only way to achieve the control connection. Other control connection methods used between the control button 10 and the light source module 4, the first motor 19, the second motor 25, the first drive device, the second drive device and the third drive device should also be within the protection scope of this solution, and no uniqueness restriction is made here.

[0035] like Figure 1 As shown, as a preferred embodiment, the panel 1 is further provided with a dust cover 11 on the side opposite to the electric cabinet 9, and the dust cover 11 is detachably connected to the panel 1, such as by snap connection or screw connection, and an operation window is provided on the dust cover 11, which is convenient for putting in or taking out the fruit to be tested, and a cover is provided on the operation window, which is rotatably connected to the dust cover 11. A plurality of cooling fans 12 are also provided on the electric cabinet 9 and the dust cover 11, respectively, to prevent the internal temperature of the dust cover 11 from rising and affecting the normal detection process.

[0036] Based on the above-mentioned target adaptive visible near-infrared detection light source posture adjustment device, this embodiment also discloses a near-infrared fruit detection method with adjustable light source position, and the specific process is as follows:

[0037] Taking pineapple as an example of the fruit to be tested, the pineapple to be tested needs to be placed on the panel 1 and placed between the light source module 4 and the integrating sphere 5. Then adjust the light source angle, the distance between the light source and the fruit to be tested, and the light intensity to adapt to the subsequent batch detection of fruits. In the process of adjusting the light source angle, first control the distance between the light source and the upper surface of the fruit to be tested to 40cm, and the light intensity to 100W. Under the condition that these two parameters remain unchanged, set the initial value of the light source angle to 25 degrees. The light source angle mentioned here refers to the acute angle between the light emitted by the light source module 4 and the surface of the fruit to be tested. Under the condition that the light source angle is 25 degrees, the signal processing mechanism 6 will obtain the first detection spectrum Y1. Then, under the condition that other parameters remain unchanged, increase the light source angle by 5 degrees (the increment of the light source angle can be freely set as needed), and then use the signal processing mechanism 6 to obtain the second detection spectrum Y2, and then compare the first detection spectrum Y1 with the second detection spectrum Y2, and calculate the increase in transmittance R of the second detection spectrum Y2 relative to the first detection spectrum Y1. YD Among them, R YD =(R Y2 -R Y1 ) / R Y1 *100%, R YD is the increase in transmittance, R Y2 is the transmittance of the second detection spectrum Y2, and R Y1 is the transmittance of the first detection spectrum Y1. At the same time, the number of features R in the first detection spectrum Y1 and the second detection spectrum Y2 are counted respectively. N1 and R N2 , and calculate the increase in the number of features of the second detection map Y2 relative to the first detection map Y1 R ND , R ND =(R N2 -R N1 ) / R N1 *100%. The number of features here refers to the number of peaks and valleys. If R YD >5% and R ND > -5%, then continue to increase the light source angle by 5 degrees and repeat the above analysis process until R YD ≤5% or R ND ≤-5%, it is considered that the transmittance increases by R YD and the increase in the number of features R NDThe sensitivity to the change of the light source angle decreases, and the light source angle is stopped at this time, and the light source angle at this moment is regarded as the optimal light source angle. When the light source angle adjustment is completed, continue to adjust the light intensity. In the process of adjusting the light intensity, keep the light source angle at the optimal light source angle, keep the distance between the light source and the upper surface of the fruit to be tested at 40cm, and under the condition that these two parameters remain unchanged, turn on 12 halogen lamps, and set the initial value of the light intensity of each halogen lamp to 100w. Then place the pineapple to be tested between the light source module 4 and the integrating sphere 5, and use the signal processing mechanism 6 to obtain the third detection spectrum Y3. Then, under the condition that other parameters remain unchanged, increase the light intensity of each light source module 4 to 200w, and use the signal processing mechanism 6 again to obtain the fourth detection spectrum Y4. Comparing the third detection spectrum Y3 and the fourth detection spectrum Y4, the transmittance increase amplitude R of the fourth detection spectrum Y4 relative to the third detection spectrum Y3 is further obtained using the above-mentioned transmittance increase amplitude calculation formula and feature quantity increase amplitude calculation formula. YD And the increase in the number of features R ND , when R YD >5% and R ND >-5%, then the illumination intensity of each light source module 4 can be further increased by 100w, and then the above adjustment process is repeated. YD ≤5% or R ND ≤-5%, at this time, it can be considered that the transmittance increases by R YD and the increase in the number of features R ND The sensitivity to changes in light intensity decreases, so stop increasing the light intensity, and use the light intensity at this moment as the optimal light intensity. After determining the optimal light source angle and the optimal light intensity, the light source angle can be set to the optimal light source angle, and the light intensity can be set to the optimal light intensity. Then, under this condition, the distance between the light source and the fruit to be tested can be further adjusted. In the process of adjusting the distance between the light source and the fruit to be tested, first set the distance between the light source and the fruit to be tested to 40 cm, then place the pineapple to be tested between the light source module 4 and the integrating sphere 5, and obtain the fifth detection spectrum Y5 through the signal processing mechanism 6. Then, while keeping other conditions unchanged, shorten the distance between the light source and the pineapple to be tested by 3 cm, and use the signal processing mechanism 6 again to obtain the sixth detection spectrum Y6. Comparing the fifth detection spectrum Y5 and the sixth detection spectrum Y6, the transmittance increase amplitude R of the fifth detection spectrum Y5 relative to the sixth detection spectrum Y6 is further obtained using the above-mentioned transmittance increase amplitude calculation formula and the feature quantity increase amplitude calculation formula. YD And the increase in the number of features R ND If R YD >2% and R ND>-2%, the distance between the light source and the pineapple to be tested can be further shortened by 3 cm, and the above adjustment process can be repeated. YD ≤2% or R ND ≤-2%, it is considered that the transmittance increases by R YD and the increase in the number of features R ND The sensitivity of the distance change between the light source and the pineapple to be tested decreases, and the distance between the light source and the pineapple to be tested is stopped at this time, and the distance between the light source and the pineapple to be tested at this moment is regarded as the optimal distance. So far, all adjustments to the light source angle, the distance between the light source and the fruit to be tested, and the light intensity have been completed. Finally, the light source angle is set to the optimal light source angle, the distance between the light source and the fruit to be tested is set to the optimal distance, and the light intensity is set to the optimal light intensity, and the quality inspection of the batch pineapples is completed under this condition.

[0038] In the present embodiment, in the process of adjusting the light intensity, it is also possible to select to open only part of the light source modules 4 according to actual needs, that is, a part of the light source modules 4 is in the open state, and the other part of the light source modules 4 is in the closed state, and then the light intensity of the light source modules 4 in the open state is adjusted. As for the number of light source modules 4 opened, it is determined by the experimenter according to the specific situation of the fruit to be tested, and no restriction is made here. The process of opening part of the light source modules 4 and adjusting the light intensity of part of the light source modules 4 is similar to the above-mentioned light intensity adjustment process, and no further description is given here.

[0039] The near-infrared fruit detection device provided in this embodiment can realize flexible adjustment of the light source position and light angle, simplify the difficulty of adjusting the light source parameters, avoid human errors, so as to achieve better non-destructive detection signal acquisition effect and improve detection accuracy.

[0040] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A target adaptive visible near infrared detection light source attitude adjustment device, characterized in that: The invention comprises a horizontally arranged panel (1), the panel (1) being used to place a fruit to be tested, a fixing plate (2) being arranged above the panel (1) in parallel, the fixing plate (2) being slidably connected to the panel (1) via a bracket structure; a circular mounting slot (3) being provided at the center of the fixing plate (2), a plurality of light source modules (4) being evenly arranged at the edge of the mounting slot (3), each of the light source modules (4) being rotatably connected to the edge of the mounting slot (3); an integrating sphere (5) for collecting light is provided at a position of the panel (1) corresponding to the mounting slot (3), the light emitted by the light source module (4) passing through the fruit to be tested reaches the integrating sphere (5), the integrating sphere (5) being provided with a signal processing mechanism (6), the signal processing mechanism (6) being used to analyze the light collected by the integrating sphere (5) to obtain a detection spectrum; The light source module (4) comprises a lamp body and a lamp holder connected to the lamp body, the lamp holder being provided with a U-shaped seat (7), the lamp holder being rotatably arranged in the U-shaped seat (7), and the U-shaped seat (7) being arranged at an edge position of the installation slot (3) via a turntable mechanism (8); The turntable mechanism (8) comprises a circular turntable (22) and an annular fixed platform (23) arranged outside the circular turntable (22); the outer side surface of the circular turntable (22) is slidably connected to the inner side surface of the annular fixed platform (23) along the circumferential direction; one side of the circular turntable (22) is fixedly connected to the U-shaped seat (7); the other side is provided with a second motor (25); the second motor (25) is used to drive the circular turntable (22) to rotate inside the annular fixed platform (23); the annular fixed platform (23) is fixedly connected to the edge of the mounting slot (3).

2. A target-adaptive visible-near infrared detection light source attitude adjustment device as claimed in claim 1, characterized in that: The lamp holder is provided with a mounting through hole, the mounting through hole being arranged perpendicular to the axis of the lamp holder, a rotating shaft (18) being arranged in the mounting through hole, a first fixing hole and a second fixing hole matching the rotating shaft (18) being respectively arranged at two ends of the U-shaped seat (7), one end of the rotating shaft (18) passing through the first fixing hole is connected to the first motor (19), and the other end of the rotating shaft (18) passing through the second fixing hole is connected to the bearing seat (20).

3. A target-adaptive visible near-infrared detection light source attitude adjustment device as claimed in claim 1, characterized in that: The inner side surface of the annular fixing platform (23) is provided with an annular groove, which is arranged along the circumference of the annular fixing platform (23); the outer side surface of the circular turntable (22) is provided with a plurality of sliding blocks matching the annular groove, which are evenly arranged along the circumference of the circular turntable (22).

4. A target-adaptive visible near-infrared detection light source attitude adjustment device as claimed in claim 1, characterized in that: The support structure comprises two support assemblies arranged on opposite sides of the fixed plate (2), each of the support assemblies comprising a first support arm (13), a second support arm (14), a third support arm (15) and a fourth support arm (16); the third support arm (15) and the fourth support arm (16) are respectively fixedly arranged on the panel (1) and are parallel to each other; the second support arm (14) is arranged parallel to the panel (1), the two ends of the second support arm (14) are respectively slidably connected to the third support arm (15) and the fourth support arm (16), and the second support arm (14) is arranged perpendicularly to the third support arm (15) and the fourth support arm (16); the first support arm (13) is arranged perpendicularly to the panel (1), the end of the first support arm (13) corresponding to the panel (1) is slidably arranged on the second support arm (14), the first support arm (13) is provided with a slide groove on the side corresponding to the fixed plate (2), and the fixed plate (2) is provided with a slider matching the slide groove.

5. A target-adaptive visible-near infrared detection light source attitude adjustment device as claimed in claim 4, characterized in that: The first support arm (13) is provided with a first driving device, the first driving device is used to drive the fixing plate (2) to slide on the first support arm (13); the second support arm (14) is provided with a second driving device, the second driving device is used to drive the first support arm (13) to slide on the second support arm (14); The third support arm (15) is provided with a third driving device, and the third driving device is used to drive the second support arm (14) to slide on the third support arm (15) and the fourth support arm (16).

6. A target-adaptive visible-near infrared detection light source attitude adjustment device as claimed in any one of claims 1 to 5, characterized in that: The panel (1) is also provided with an electric cabinet box (9) on the side opposite to the fixing plate (2), and the electric cabinet box (9) is provided with a control button (10), and the control button (10) is used to realize automatic adjustment of the position of the light source module (4).

7. A target-adaptive visible-near infrared detection light source attitude adjustment device as claimed in claim 6, characterized in that: The panel (1) is also provided with a dust cover (11) on the side opposite to the electric cabinet box (9), and the dust cover (11) is detachably connected to the panel (1); and a plurality of cooling fans (12) are respectively provided on the electric cabinet box (9) and the dust cover (11).

8. A near-infrared fruit detection method with adjustable light source position, based on a target-adaptive visible near-infrared detection light source posture adjustment device according to any one of claims 1 to 7, characterized in that: include: A. placing the fruit to be tested on the panel (1) so that it is located between the light source module (4) and the integrating sphere (5); B. Adjust the light source angle, light intensity, and the distance between the light source and the fruit to be tested to determine the best light source angle, best light intensity, and the best distance between the light source and the fruit to be tested; C. The signal processing mechanism obtains the detection light through the integrating sphere (5) and generates a detection spectrum; D. Analyze the test graph to determine whether the fruit to be tested is qualified.