Nondestructive testing method and apparatus, as well as method and system for configuring light source and detector based on nondestructive testing method

By configuring light source and detector angles based on a three-layer tissue light transmission model, the method enhances near-infrared spectroscopy signal intensity and accuracy for pomelo testing, addressing the challenge of spectral attenuation in thick-skinned fruits.

US20260376214A1Pending Publication Date: 2026-11-26VEGETABLE RES INST GUANGDONG ACAD OF AGRI SERVICES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/640710
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2025-05-26
Filing Date
2026-04-07
Publication Date
2026-11-26

Smart Images

  • Figure US20260376214A1-D00000_ABST
    Figure US20260376214A1-D00000_ABST
Patent Text Reader

Abstract

A method for configuring a light source and a detector for a nondestructive testing method are provided. The method includes: acquiring and measuring multiple citrus fruit samples to obtain optical characteristic parameters of three tissue layers; processing the optical characteristic parameters of the three tissue layers to obtain light transmission simulation parameters of the three tissue layers; constructing a three-layer tissue light transmission model according to the optical characteristic parameters and the light transmission simulation parameters; acquiring multiple light source incident angles and detector receiving angles to obtain a photon-number image and multiple spectral images; and analyzing the photon-number image and the multiple spectral images to determine an optimal light source incident angle and an optimal detector receiving angle. In addition, a system based on the foregoing method, as well as a non-destructive testing method and an apparatus, are provided.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATION

[0001] This patent application claims the benefit and priority of Chinese Patent Application No. 202510685133.5 filed with the China National Intellectual Property Administration on May 26, 2025, the disclosure of which is incorporated by reference herein in its entirety as part of the present application.TECHNICAL FIELD

[0002] The present disclosure relates to the technical field of nondestructive testing, and in particular to a nondestructive testing method and apparatus, as well as a method and system for configuring a light source and a detector for the nondestructive testing method.BACKGROUND

[0003] Pomelo, a member of the Rutaceae family, is the largest type of citrus fruit, which is abundant in nutritional components and pleasant in flavor, and thus is highly favored by consumers in traditional Chinese fruits. The tissue structure of the pomelo can be divided into three layers: a pericarp oil layer, a peel sponge layer and a pulp flap. Although visible / near-infrared spectroscopy has been widely used for nondestructive testing of internal quality of fruit, for the pomelo which is a thick-skinned fruit with large size, thick peel, and significant attenuation of spectral transmission, the accuracy of internal quality assessment is low.

[0004] In Patent CN202210746484, a nondestructive testing method for a soluble solid content of a honey pomelo based on near-infrared spectral detection information is provided, which includes the steps as follows: S1, establishing a corresponding relationship between a soluble solid content of a honey pomelo fruit and a near-infrared spectrum on the fruit surface; S2, performing near-infrared spectroscopy detection on a surface of the honey pomelo fruit to be tested; S3, establishing a corresponding relationship model between the soluble solid content of the honey pomelo fruit and the near-infrared spectrum; S4, calculating, by the model, a soluble solid content of the honey pomelo fruit to be tested. In this testing method, the soluble solid content can be obtained by establishing a corresponding relationship between the soluble solid content and the near-infrared spectrum on the fruit surface and then analyzing the near-infrared spectrum. However, a significant transmission attenuation of the near-infrared spectrum in the pomelo may reduce the detection accuracy.

[0005] The technical problem needing to be solved in the present disclosure is how to improve the signal intensity of near-infrared spectroscopy and the effect of non-destructive testing for internal quality.SUMMARY

[0006] A main objective of the present disclosure is to provide a method for configuring a light source and a detector for a nondestructive testing method. An optimal light source incident angle and an optimal detector receiving angle are determined by adjusting a light source incident angle and a detector receiving angle, thereby improving the signal intensity of near-infrared spectroscopy and the effect of nondestructive testing.

[0007] In addition, the present disclosure further provides a system based on the foregoing method, as well as a nondestructive method and an apparatus.

[0008] To achieve the objective, the present disclosure employs the technical solution as follows.

[0009] A method for configuring a light source and a detector for a nondestructive testing method, including the following steps:

[0010] step 1: acquiring and measuring a plurality of citrus fruit samples to obtain optical characteristic parameters of three tissue layers;

[0011] step 2: processing the optical characteristic parameters of the three tissue layers through an inverse adding doubling (IAD) algorithm to obtain light transmission simulation parameters of the three tissue layers;

[0012] step 3: constructing a three-layer tissue light transmission model according to the optical characteristic parameters of the three tissue layers and the light transmission simulation parameters of the three tissue layers;

[0013] step 4: acquiring a plurality of light source incident angles and a plurality of detector receiving angles according to a predetermined method, inputting the plurality of light source incident angles into the three-layer tissue light transmission model to obtain a plurality of spectral images, and inputting the plurality of detector receiving angles into the three-layer tissue light transmission model to obtain a photon-number image; and

[0014] step 5: analyzing the plurality of spectral images according to light penetration degree and energy attenuation degree to determine an optimal light source incident angle; and analyzing the photon-number image according to a number of photons to determine an optimal detector receiving angle.

[0015] Preferably, the three tissue layers comprise a pericarp oil layer, a peel sponge layer, and a pulp flap; the optical characteristic parameters comprise reflectivity, a thickness, a spot diameter, total reflectivity, total transmittance, an average refractive index, and an anisotropy coefficient; and the light transmission simulation parameters comprise an absorption coefficient, a scattering coefficient, a reduced scattering coefficient, a total reflected flux, and a total transmitted flux.

[0016] Preferably, the step 1 comprises: acquiring the plurality of citrus fruit samples, and measuring optical characteristic parameters of the plurality of citrus fruit samples at wavelengths of 400-1100 nm by means of a single integrating sphere, and averaging the optical characteristic parameters to obtain the optical characteristic parameters of the three tissue layers.

[0017] Preferably, the step 3 comprises: simulating a citrus fruit model according to the optical characteristic parameters of the three tissue layers; simulating a photon flight distance and probability through a Monte Carlo photon tracing method according to the light transmission simulation parameters of the three tissue layers; constructing a light source model and a detector model; and constructing the three-layer tissue light transmission model according to the citrus fruit model, the light source model, the detector model, and the photon flight distance and probability.

[0018] Preferably, in the step 4, the predetermined method is an equal incremental method, the light source incident angles range from 0° to 90°; the detector receiving angles range from 0° to 40°, and the light source and the detector are arranged on both sides of a normal line, respectively.

[0019] Preferably, the method further includes step 6: setting a light transmission test platform according to the plurality of light source incident angles and the plurality of detector receiving angles, and performing a test through the light transmission test platform to verify an accuracy of the three-layer tissue light transmission model.

[0020] In addition, a system based on the foregoing method is further provided, including the following units:

[0021] a sample measuring unit, configured to acquire and measure a plurality of citrus fruit samples to obtain optical characteristic parameters of three tissue layers;

[0022] a simulation parameter acquisition unit, configured to process the optical characteristic parameters of the three tissue layers through the inverse adding doubling (IAD) algorithm to obtain light transmission simulation parameters of the three tissue layers;

[0023] a model construction unit, configured to construct the three-layer tissue light transmission model according to the optical characteristic parameters of the three tissue layers and the light transmission simulation parameters of the three tissue layers;

[0024] an image acquisition unit, configured to acquire the plurality of light source incident angles and the plurality of detector receiving angles according to the predetermined method, input the plurality of light source incident angles into the three-layer tissue light transmission model to obtain the plurality of spectral images, and input the plurality of detector receiving angles into the three-layer tissue light transmission model to obtain the photon-number image; and

[0025] an image analysis unit, configured to analyze the plurality of spectral images according to the light penetration degree and the energy attenuation degree to determine the optimal light source incident angle, and analyze the photon-number image according to the number of photons to determine the optimal detector receiving angle.

[0026] A nondestructive testing method is further provided, including the following steps:

[0027] step 1: obtaining an optimal light source incident angle and an optimal detector receiving angle;

[0028] step 2: configuring a light source and a detector according to the optimal light source incident angle and the optimal detector receiving angle, respectively;

[0029] step 3: performing near-infrared spectroscopy testing on a citrus fruit to be tested to obtain near-infrared spectral data; and

[0030] step 4: processing the near-infrared spectral data to obtain a soluble solid content of the citrus fruit;

[0031] the optimal light source incident angle forms an included angle of 30-40° with a normal line, the optimal detector receiving angle forms an included angle of 5-15° with the normal line, and the light source and the detector are arranged on both sides of the normal line, respectively.

[0032] Preferably, the light source comprises six to eight halogen lamps with power of 130-170 W; a distance from the light source to the citrus fruit is 1-3 cm, and a distance from the detector to the citrus fruit is 0.1-1 cm.

[0033] Preferably, the step 4 comprises: performing Savitzky-Golay (SG) smoothing, Standard Normalization Transformation (SNV), Competitive Adaptive Reweighted Sampling (CARS) feature extraction on the near-infrared spectral data, and inputting processed data into a trained partial least squares model to obtain the soluble solid content of the citrus fruit.

[0034] In addition, a nondestructive testing apparatus is further provided, which is configured to implement the nondestructive testing method for a citrus fruit described above, and includes a detector, a support platform, and a light source, where the support platform is arranged between the detector and the light source;

[0035] the light source includes a reflection cup and multiple bulbs, and the multiple bulbs are equidistantly arranged in the reflection cup.

[0036] Preferably, the reflection cup is made of an aluminum alloy, the bulb is a 150 W halogen lamp, and a number of the bulbs is seven; a distance from the light source to the support platform is 1-3 cm, a distance from the detector to the support platform is 0.1-1 cm, a light source incident angle is set as an included angle of 30-40° with a normal line, a detector receiving angle is set as an included angle of 5-15° with the normal line, and the light source and the detector are arranged on both sides of the normal line, respectively.

[0037] Compared with the prior art, this scheme has the following beneficial effects.

[0038] According to an optimization method provided by this scheme, by adjusting an angle of the light source to an optimal light source incident angle, the transmission degree of near-infrared light in the citrus fruits is enhanced, the attenuation degree of the near-infrared spectroscopy is reduced. Afterwards, an angle of the detector is adjusted to an optimal detector receiving angle, the number of photons received by the detector is improved, the more the number of photons, the stronger the signal of the near-infrared spectroscopy. By integrating the optimal light source incident angle and the optimal detector receiving angle, the signal intensity and quality of the near-infrared spectroscopy are comprehensively improved, thereby improving the accuracy of nondestructive testing.BRIEF DESCRIPTION OF THE DRAWINGS

[0039] FIG. 1 is a flowchart of an optimization method according to Embodiment 1;

[0040] FIG. 2 is a structural diagram of three tissue layers of a pomelo according to Embodiment 1;

[0041] FIG. 3 is a flight distance versus probability diagram of photon transmission in a pericarp oil layer according to Embodiment 1;

[0042] FIG. 4 is a flight distance versus probability diagram of photon transmission in a peel sponge layer according to Embodiment 1;

[0043] FIG. 5 is a flight distance versus probability diagram of photon transmission in a pulp flap according to Embodiment 1;

[0044] FIG. 6 is a diagram of a three-layer tissue light transmission model according to Embodiment 1;

[0045] FIG. 7 is a spectral image simulated at a light source incident angle of 0° according to Embodiment 1;

[0046] FIG. 8 is a spectral image simulated at a light source incident angle of 18° according to Embodiment 1;

[0047] FIG. 9 is a spectral image simulated at a light source incident angle of 36° according to Embodiment 1;

[0048] FIG. 10 is a spectral image simulated at a light source incident angle of 54° according to Embodiment 1;

[0049] FIG. 11 is a spectral image simulated at a light source incident angle of 72° according to Embodiment 1;

[0050] FIG. 12 is a photon-number image simulated at different detector receiving angles according to Embodiment 1;

[0051] FIG. 13 is a diagram of the light source incident angle and the detector receiving angle according to Embodiments 1, 3, 4;

[0052] FIG. 14 is a front view of a device used in Embodiments 1, 3, 4;

[0053] FIG. 15 is an energy intensity image of tests at different light source incident angles according to Embodiment 1;

[0054] FIG. 16 is an energy intensity image of tests at different detector receiving angles according to Embodiment 1;

[0055] FIG. 17 is a block diagram of an optimization system according to Embodiment 2;

[0056] FIG. 18 is a flowchart of a nondestructive testing method according to Embodiment 3;

[0057] FIG. 19 is a result diagram of Embodiment 3 where both the light source incident angle and the detector receiving angle are 0°;

[0058] FIG. 20 is a result diagram of Embodiment 3 where the light source incident angle is 18° and the detector receiving angle rotates by 10° around a Z-axis;

[0059] FIG. 21 is a result diagram of Embodiment 3 where the light source incident angle is 36° and the detector receiving angle rotates by 10° around the Z-axis;

[0060] FIG. 22 is a result diagram of Embodiment 3 where the light source incident angle is 36° and the detector receiving angle rotates by 10° around the Z-axis;

[0061] FIG. 23 is a structural diagram of a light source according to Embodiment 4.DETAILED DESCRIPTION OF THE EMBODIMENTS

[0062] To make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be illustrated clearly and completely below in conjunction with accompanying drawings. Apparently, the embodiments described are a part rather than all embodiments of the present disclosure. Components implemented in the present disclosure, which are generally described and illustrated in the accompanying drawings here, may be arranged and designed in various different configurations.Embodiment 1

[0063] With reference to FIGS. 1 to 19, a method for configuring a light source and a detector based on a nondestructive testing method includes the following steps.

[0064] Step 1. Multiple citrus fruit samples are acquired and measured to obtain optical characteristic parameters of three tissue layers.

[0065] Preferably, the three tissue layers include a pericarp oil layer, a peel sponge layer, and pulp flap. The optical characteristic parameters include reflectivity, a thickness, a spot diameter, total reflectivity, total transmittance, an average refractive index, and an anisotropy coefficient; and the light transmission simulation parameters include an absorption coefficient, a scattering coefficient, a reduced scattering coefficient, a total reflected flux, and a total transmitted flux.

[0066] Preferably, the step 1 is specifically as follows. Multiple citrus fruit samples are acquired, and the optical characteristic parameters of the multiple citrus fruit samples at wavelengths of 400-1100 nm are measured by means of a single integrating sphere, and the optical characteristic parameters are averaged to obtain the optical characteristic parameters of the three tissue layers.

[0067] In this embodiment, the citrus fruit is pomelo, thirty red-fleshed honey pomelos are picked from an orchard garden, and the three tissue layers of each of the thirty red-fleshed honey pomelos are peeled off to obtain pericarp oil layer, a peel sponge layer and a pulp flap, as shown in FIG. 2. Through the collection by the single integrating sphere, the reflectivity of each of the pericarp oil layer, the peel sponge layer and the pulp flap at wavelength of 400-1100 nm is measured by a reflectivity detection instrument (Model: JY-F03; Manufacturer: Guangzhou Jingyi Photoelectric Technology Co., Ltd.). The total transmittance is measured by a general light transmittance detection instrument (Model: JY-T03; Manufacturer: Guangzhou Jingyi Optoelectronics Technology Co., Ltd.). The thickness of each of the pericarp oil layer, the peel sponge layer and the pulp flap is measured by a vernier caliper. The data measured on the thirty red-fleshed honey pomelos are averaged to obtain that the reflectivity of the pericarp oil layer, the peel sponge layer and the pulp flap are 0.51, 0.66 and 0.70, respectively, the thicknesses of the pericarp oil layer, the peel sponge layer and the pulp flap are 2.00 mm, 24.00 mm and 90.00 mm, respectively, the spot diameter is 2 mm, the total reflectivity is 0.53, and the total transmittance is 0.14. In addition, it can be known from Optical path simulation and experiment for spectral nondestructive detection of pomelo fruit internal quality based on ZEMAX that average refractive indexes of the pericarp oil layer, the peel sponge layer and the pulp flap are 1.80, 1.65 and 1.40, respectively, and the anisotropy coefficients of the three layers are 0.63, 0.63 and 0.60, respectively.

[0068] Step 2. The optical characteristic parameters of the three tissue layers are processed through an inverse adding doubling (IAD) algorithm to obtain light transmission simulation parameters of the three tissue layers.

[0069] The measured optical characteristic parameters are processed by using the IAD algorithm to calculate the absorption coefficient, the scattering coefficient, the reduced scattering coefficient, the total reflected flux, and the total transmitted flux, with specific data shown in Table 1:TABLE 1Light transmission simulation parametersReducedTotalTotalAbsorptionScatteringscatteringreflectedtransmittedNamecoefficientcoefficientcoefficientfluxfluxPericarp oil0.490.510.190.070.40layerPeel sponge0.060.110.040.120.40layerPulp flap0.010.020.010.100.46

[0070] Step 3. A three-layer tissue light transmission model is constructed according to the optical characteristic parameters of the three tissue layers and the light transmission simulation parameters of the three tissue layers.

[0071] Preferably, the step 3 is specifically as follows. A citrus fruit model is simulated according to the optical characteristic parameters of the three tissue layers; a photon flight distance and probability are simulated through a Monte Carlo photon tracing method according to the light transmission simulation parameters of the three tissue layers; a light source model and a detector model are constructed; and the three-layer tissue light transmission model is constructed according to the citrus fruit model, the light source model, the detector model, and the photon flight distance and probability.

[0072] In this embodiment, MCX software is used to model the pomelo, the light source, and the detector. The optical characteristic parameters of the three tissue layers are input into the software to construct the citrus fruit model, the light source model is set as a Gaussian light source with a weight of 5 and a circular shape with a radius of 20 mm. A radius of the detector model is set as 6 mm, the center of the detector model is kept at a same height as that of the light source model, with a shutter T0=0 and acquisition time Dt=200 ms, which is used for time-domain photon migration simulation. Initialization parameters are set as (0, 0, 1, 1), a random seed for light transmission simulation is 1648335518, and the number of photons is 108.

[0073] MATLAB software is used to obtain a photon flight distance and probability via a steady-state optical

[0074] MC (Monte Carlo) transmission program in multi-layer tissue. The principle of the MC transmission program is as follows: reflection occurs between the exterior of the fruit tissue and air. Specific formulas are as follows:Rsp=(n1-n2)2(n1+n2)2where Rsp is specular reflectance, n1 is an air refractive index, and n2 is a reflective index of each layer of tissue of a pomelo;Δ⁢s=-ln⁢ ξμα+μswhere Δs is a motion step size of a photon, μa is an absorption coefficient, μs is a scattering coefficient, and ξ is a random number in the range of [0,1].ωn+1=ωn(1-μsμα+μs)where the weight ω of the photon attenuates with each motion step, and the photon motion terminates when a threshold value is lower than 0.00001.When the light transmission simulation parameters are input into the steady-state light MC transmission program of the multi-layer tissue, the number of emergent photons is set as 104, and the Monte Carlo photon tracing method is used to obtain the flight distances and probabilities of the photon in the pericarp oil layer (as shown in FIG. 3), in the peel sponge layer (as shown in FIG. 4), and in the pulp flap (as shown in FIG. 5). It is deduced that for 100-mm tissue, the flight distance of the photon in the pericarp oil layer ranges from 100 cm to 300 cm, with the probability of approximately 0 to 0.004; the flight distance of the photon in the peel sponge layer ranges from 8 cm to 83 cm, with the probability of about 0.0025 to 0.14; and the flight distance of the photon in the pulp flap ranges from 0 cm to 33 cm, with the probability of about 0.05 to 0.48.The three-layer tissue light transmission model is constructed according to the set citrus fruit model, light source model, detector model and photon flight distance and probability, and is configured to simulate the light transmission of the pomelo, as shown in FIG. 6.Step 4. Multiple light source incident angles and detector receiving angles are acquired according to a predetermined method, the multiple light source incident angles are input into the three-layer tissue light transmission model to obtain multiple spectral images, and the multiple detector receiving angles are input into the three-layer tissue light transmission model to obtain a photon-number image.Preferably, in the step 4, the predetermined method is an equal incremental method, the light source incident angles range from 0° to 90°; the detector receiving angles range from 0° to 40°, and the light source and the detector are arranged on both sides of a normal line, respectively.In this embodiment, through the equal increment method, the light source incident angles are set as included angles of 0°, 18°, 36°, 54° and 72° with the normal line, the detector receiving angle is 0°. These angles are input into the three-layer tissue light transmission model to adjust and simulate the light source model and the detector model, thereby obtaining a spectral image at a light source incident angle of 0° shown in FIG. 7, a spectral image at a light source incident angle of 18° shown in FIG. 8, a spectral image at a light source incident angle of 36° shown in FIG. 9, a spectral image at a light source incident angle of 54° shown in FIG. 10, and a spectral image at a light source incident angle of 72° shown in FIG. 11.

[0080] Through the equal increment method, the detector is set to be rotated by 0°, 10°, 20°, 30°, and 40° around the Z-axis and to be rotated by 0°, 10°, 20°, 30°, and 40° around the Y-axis, the light source incident angle is 36°, and these angles are input into the three-layer tissue light transmission model to obtain a photon-number image, as shown in FIG. 12.

[0081] It should be noted that the normal line is parallel to a horizontal plane, the light source irradiates the pomelo obliquely downward, the detector is rotated around the Z-axis, that is, the detector is rotated by 0°, 10°, 20°, 30°, and 40° on the horizontal plane, the detector is rotated around the Y-axis, that is, the detector is rotated by 0°, 10°, 20°, 30°, and 40° on the vertical plane, and positions of the light source incident angle (α) and the detector receiving angle (β) are shown in FIG. 13.

[0082] Step 5. The multiple spectral images are analyzed according to light penetration degree and energy attenuation degree to determine an optimal light source incident angle; and the photon-number image is analyzed according to the number of photons to determine an optimal detector receiving angle.

[0083] In this embodiment, the spectral images of FIGS. 7 to 11 are analyzed. In FIGS. 10 and 11, the energy in the middle is relatively high, but does not penetrate the pulp flap of the entire pomelo, which is likely to cause the omission of spectral information. In FIGS. 7 and 8, although the energy penetrates the entire pulp flap, it is seriously attenuated in the peel. In FIG. 9, the energy density is the highest at the pulp, and the energy attenuation is minimal after penetrating the pericarp oil layer. A longitudinal distance when penetrating the peel sponge layer is short, indicating that the energy attenuation is relatively small, so that the optimal light source incident angle is 36°.

[0084] As can be known from the photon-number image, when the detector rotates by 10° around the Z-axis, the number of photons reaches the maximum, the more the number of photons, the stronger the spectroscopy signal. Therefore, the optimal detector receiving angle is set as an included angle of 10° with the normal line.

[0085] Preferably, the method further includes step 6. A light transmission test platform is set according to the multiple light source incident angles and detector receiving angles, and a test is performed through the light transmission test platform to verify the accuracy of the three-layer tissue light transmission model.

[0086] In this embodiment, a structure of the light transmission test platform is shown in FIG. 14, the light source 1 is made of seven 150 W halogen lamps and one reflection cup made of aluminum. The light source is rotated by a certain angle before being locked; the detector 3 is slid in a hemispherical groove to adjust its rotating angle before being locked. An optical fiber of the detector is replaced with an optical fiber probe which pierces the pomelo tissue to complete a light transmission test. QEpro spectrometer is configured to collect near-infrared spectral data. Before collection, the device is preheated for 10 min, and the test is initiated after black and white boards calibration, and a wavelength ranges from 400 nm to 1100 nm, with integration time of 1000 ms and an averaging count of 1.

[0087] The optical fiber probe is configured to pierce the three tissue layers of the pomelo with a thickness of 0-60 mm and adjust a light source incident angle (0°, 18°, 36°, 54° and 72°, respectively), thereby obtaining energy intensity image at different light source incident angles, as shown in FIG. 15. The test results are basically consistent with those of the three-layer tissue light transmission model.

[0088] The light source incident angle remains unchanged, the detector rotating angle is adjusted to rotate by 0°, 10°, 20°, 30°, and 40° along the Z-axis and rotate by 0°, 10°, 20°, 30°, and 40° along the Y-axis to obtain energy intensity images, as shown in FIG. 16. Test results are basically the same as those of the three-layer tissue light transmission model.Embodiment 2

[0089] With reference to FIG. 17, a system based on the foregoing method includes the following units:

[0090] a sample measuring unit, configured to acquire and measure multiple citrus fruit samples to obtain optical characteristic parameters of three tissue layers;

[0091] a simulation parameter acquisition unit, configured to process the optical characteristic parameters of the three tissue layers through an inverse adding doubling (IAD) algorithm to obtain light transmission simulation parameters of the three tissue layers;

[0092] a model construction unit, configured to construct the three-layer tissue light transmission model according to the optical characteristic parameters of the three tissue layers and the light transmission simulation parameters of the three tissue layers;

[0093] an image acquisition unit, configured to acquire multiple light source incident angles and detector receiving angles according to a predetermined method, input the multiple light source incident angles into the three-layer tissue light transmission model to obtain multiple spectral images, and input the multiple detector receiving angles into the three-layer tissue light transmission model to obtain a photon-number image; and

[0094] an image analysis unit, configured to analyze the multiple spectral images according to light penetration degree and energy attenuation degree to determine an optimal light source incident angle, and analyze the photon-number image according to the number of photons to determine an optimal detector receiving angle.

[0095] In this embodiment, a specific workflow of an optimization system is as follows. The sample measuring unit is configured to measure and average the optical characteristic parameters of pericarp oil layers, peel sponge layers and pulp flaps, respectively, of multiple citrus fruit samples by means of corresponding detection devices to obtain optical characteristic parameters of the three tissue layers, and to input the optical characteristic parameters of the three layers of tissue into the simulation parameter acquisition unit.

[0096] After receiving the optical characteristic parameters of the three tissue layers, the simulation parameter acquisition unit is configured to process the optical characteristic parameters of the three tissue layers through the IAD algorithm to obtain light transmission simulation parameters of the three tissue layers, and to input the light transmission simulation parameters of the three tissue layers into the model construction unit.

[0097] The model construction unit is configured to model a pomelo, a light source, and a detector by MCX software. The pulp flap of the citrus fruit is represented by a sphere, and the pericarp oil layer and the peel sponge layer are composed of spherical shells with different thicknesses, the optical characteristic parameters of the three-layer structure are input into the software to construct a citrus fruit model, the light source model is set as a Gaussian light source with a weight of 5 and a circular shape with a radius of 20 mm; a radius of the detector model is set as 6 mm, and the center of the detector model is kept at a same height as that of the light source model, with a shutter T0=0 and acquisition time Dt=200 ms, which is used for time-domain photon migration simulation. Initialization parameters are set as (0, 0, 1, 1), a random seed for light transmission simulation is 1648335518, and the number of photons is 108. Afterwards, the light transmission simulation parameters are input into a steady-state MC transmission program of the multi-layer tissue, the number of emergent photons is set as 104, and the Monte Carlo photon tracing method is used to obtain a flight distance and probability of the photon in the pericarp oil layer. Then, a three-layer tissue light transmission model is constructed by combining the citrus fruit model, the light source model, the detector model and the photon flight distance and probability, and the three-layer tissue light transmission model is input into the image acquisition unit.

[0098] The image acquisition unit is configured to set different light source incident angles and detector receiving angles through an equal increment method and to input the different light source incident angles and detector receiving angles into the three-layer tissue light transmission model through a control variate method, so as to obtain a photon-number image and multiple spectral images, and to input the photon-number image and the multiple spectral images into the image analysis unit.

[0099] The image analysis unit is configured to analyze the multiple spectral images to obtain a spectral image with the best quality according to a method that the higher the light penetration degree, the lower the energy attenuation degree, and the better the quality of the spectral image, thereby determining a light source incident angle corresponding to the spectral image with the best quality as the optimal light source incident angle. According to a method that the more the number of photons, the stronger the spectroscopy signal, a detector receiving angle corresponding to the maximum number of photons in the photon-number image is obtained, thereby determining the optimal detector receiving angle.Embodiment 3

[0100] With reference to FIGS. 18 to 22, a nondestructive testing method is further provided, including the following steps.

[0101] Step 1. An optimal light source incident angle and an optimal detector receiving angle are obtained.

[0102] Through an optimization method in Embodiment 1, the optimal light source incident angle and the optimal detector receiving angle are obtained. The optimal light source incident angle is set as an included angle of 36° with a normal line, and the optical detector receiving angle is set as an included angle of 10° with the normal line.

[0103] Step 2. A light source 1 and a detector 3 are arranged according to the optimal light source incident angle and the optimal detector receiving angle.

[0104] In this embodiment, the light source 1 and the detector 3 in a nondestructive testing device are arranged, parameters of the light source 1 are set as follows: the light source incident angle is set as an included angle of 36° with the normal line. The light source 1 is made of seven halogen lamps with the power of 150 W, and a distance from the light source 1 to a citrus fruit is 2 cm.

[0105] Parameters of the detector 3 are set as follows: a rotating angle is set as an included angle of 10° with the normal line, and a distance from the detector 3 to the citrus fruit is 0.5 cm.

[0106] Step 3. Near-infrared spectroscopy testing is performed on a citrus fruit to be tested to obtain near-infrared spectral data.

[0107] In this embodiment, the citrus fruit to be tested is placed in a properly adjusted nondestructive testing device to obtain the near-infrared spectral data.

[0108] Step 4. The near-infrared spectral data is processed to obtain a soluble solid content of the citrus fruit.

[0109] Preferably, the step 4 is specifically as follows. The near-infrared spectral data is subjected to Savitzky-Golay (SG) smoothing, Standard Normalization Transformation (SNV), Competitive Adaptive Reweighted Sampling (CARS) feature extraction, and the processed data is input into a trained partial least squares (PLS) model to obtain a soluble solid content of the citrus fruit.

[0110] In this embodiment, a training way of partial least squares model is as follows. Near-infrared spectral data of thirty pomelos are collected, and the soluble solid matter contents in the pulp of the thirty pomelos are measured by a digital optical refractometer, the near-infrared spectral data is subjected to SG smoothing, SNV, and CARS feature extraction. Then, modeling is performed via partial least squares; the near-infrared spectral data and soluble solid content are divided into a training set and a prediction set with a ratio of 3:1 to achieve model training.

[0111] After obtaining the near-infrared spectral data of the citrus fruit to be tested, the near-infrared spectral data is subjected to SG smoothing, SNV, and CARS feature extraction, and then is input into a trained partial least squares model to obtain a soluble solid content of the citrus fruit.

[0112] To further describe that the optimal light source incident angle and the optimal detector receiving angle can improve the detection accuracy, near-infrared spectral data of different light source incident angles and detector receiving angles of thirty pomelos, as well as soluble solid contents of the pulp of corresponding pomelos are collected. The near-infrared spectral data corresponding to different light source incident angles and detector receiving angles, together with the soluble solid contents of pulp, are divided into training sets and prediction sets. R2 (a coefficient of determination) and RMSEC (Root Mean Square Error of Calibration) of the training set, as well as R2 (a coefficient of determination) and RMSEP (Root Mean Square Error of Calibration) of the prediction set, are calculated, the higher the R2 value and the lower the RMSEC and RMSEP values, the higher the detection accuracy.

[0113] When the light source incident angle is 0° and the detector receiving angle is 0°, the results of the R2 and RMSEC of the training set and the R2 and RMSEP of the prediction set are shown in FIG. 19. When the light source incident angle is 18° and the detector receiving angle is rotated by 10° along the Z-axis, the results of the R2 and RMSEC of the training set and the R2 and RMSEP of the prediction set are shown in FIG. 20. When the light source incident angle is 36° and the detector receiving angle is rotated by 10° along the Z-axis, the results of the R2 and RMSEC of the training set and the R2 and RMSEP of the prediction set are shown in FIG. 21. When the light source incident angle is 36° and the detector receiving angle is rotated by 10° along the Y-axis, the results of the R2 and RMSEC of the training set and the R2 and RMSEP of the prediction set are shown in FIG. 22. It can be seen from the foregoing that when the light source incident angle is 36° and the detector receiving angle is rotated by 10° along the Z-axis, the R2 and RMSEC of the training set and the R2 and RMSEP of the prediction set have the highest value, the R2 and RMSEC of the training set are 0.89 and 0.25, respectively, and the R2 and RMSEP of the prediction set are 0.84 and 0.38, respectively, proving that the detection accuracy can be improved by setting the optimal light source incident angle and the optimal detector receiving angle.Embodiment 4

[0114] With reference to FIGS. 13 and 23, a nondestructive testing apparatus for a citrus fruit is configured to implement the nondestructive testing method for a citrus fruit described above, and includes a detector 3, a support platform 2, and a light source 1, where the support platform 2 is arranged between the detector 3 and the light source 1.

[0115] The light source 1 includes a reflection cup 11 and multiple bulbs 12, and the multiple bulbs 12 are equidistantly arranged in the reflection cup 11.

[0116] Preferably, the reflection cup 11 is made of an aluminum alloy, the bulb 12 is a 150 W halogen lamp, and the number of the bulbs 12 is seven. A distance from the light source 1 to the support platform 2 is 1-3 cm, and a distance from the detector 3 to the support platform 2 is 0.1-1 cm. The light source incident angle is set as an included angle of 30-40° with a normal line, the detector receiving angle is set as an included angle of 5-15° with the normal line, and the light source and the detector are arranged on both sides of the normal line, respectively.

[0117] In this embodiment, the light source 1 includes a reflection cup 11 made of aluminum and seven bulbs 12. The seven bulbs 12 are equidistantly arranged in the reflection cup 11. In other words, the distance between two adjacent bulbs 12 is the same, the normal line of the light source 1 for the citrus fruit is parallel to the horizontal plane, an incident angle of the light source 1 to the citrus fruit is set as an included angle of 36° with the normal line (rotating downward by 36°), and a distance from the light source 1 to the support platform 2 is 2 cm. When the detector 3 is arranged, the receiving angle of the detector 3 is set as an included angle of 10° with the normal line (rotated upward by 10°), and a distance from the detector 3 to the support platform 2 is 0.1 cm. The citrus fruit is placed on the support platform 2, the light source 1 is turned on to irradiate the citrus fruit, the detector 3 receives an optical signal transmitting the citrus fruit and converts the optical signal into an electric signal to convey to the QEpro optical spectrometer, thereby collecting a near-infrared spectrum, and then analysis and detection are performed through the partial least squares algorithm.

[0118] Although the implementations of the present disclosure have been shown and described, those of ordinary skill in the art may understand that many changes, modifications, replacements and variations can be made to these implementations without departing from the principles and purposes of the present disclosure, and the scope of the present disclosure is defined by the claims and their equivalents.

Claims

1. A method for configuring a light source and a detector based on a nondestructive testing technology, comprising following steps:step 1: acquiring and measuring a plurality of citrus fruit samples to obtain optical characteristic parameters of three tissue layers;step 2: processing the optical characteristic parameters of the three tissue layers through an inverse adding doubling (IAD) algorithm to obtain light transmission simulation parameters of the three tissue layers;step 3: constructing a three-layer tissue light transmission model according to the optical characteristic parameters of the three tissue layers and the light transmission simulation parameters of the three tissue layers;step 4: acquiring a plurality of light source incident angles and a plurality of detector receiving angles according to a predetermined method, inputting the plurality of light source incident angles into the three-layer tissue light transmission model to obtain a plurality of spectral images, and inputting the plurality of detector receiving angles into the three-layer tissue light transmission model to obtain a photon-number image; andstep 5: analyzing the plurality of spectral images according to light penetration degree and energy attenuation degree to determine a light source incident angle; and analyzing the photon-number image according to a number of photons to determine a detector receiving angle.

2. The method for configuring a light source and a detector based on the nondestructive testing technology according to claim 1, wherein the three tissue layers comprise a pericarp oil layer, a peel sponge layer, and a pulp flap; the optical characteristic parameters comprise reflectivity, a thickness, a spot diameter, total reflectivity, total transmittance, an average refractive index, and an anisotropy coefficient; and the light transmission simulation parameters comprise an absorption coefficient, a scattering coefficient, a reduced scattering coefficient, a total reflected flux, and a total transmitted flux.

3. The method for configuring a light source and a detector based on a nondestructive testing technology according to claim 1, wherein the step 1 comprises: acquiring the plurality of citrus fruit samples, and measuring optical characteristic parameters of the plurality of citrus fruit samples at wavelengths of 400-1100 nm by means of a single integrating sphere, and averaging the optical characteristic parameters to obtain the optical characteristic parameters of the three tissue layers.

4. The method for configuring a light source and a detector based on a nondestructive testing technology according to claim 1, wherein the step 3 comprises: simulating a citrus fruit model according to the optical characteristic parameters of the three tissue layers; simulating a photon flight distance and probability through a Monte Carlo photon tracing method according to the light transmission simulation parameters of the three tissue layers; constructing a light source model and a detector model; and constructing the three-layer tissue light transmission model according to the citrus fruit model, the light source model, the detector model, and the photon flight distance and probability.

5. The method for configuring a light source and a detector based on a nondestructive testing technology according to claim 1, wherein in the step 4, the predetermined method is an equal incremental method, the light source incident angles range from 0° to 90°; the detector receiving angles range from 0° to 40°, and the light source and the detector are arranged on both sides of a normal line, respectively.

6. The method for configuring a light source and a detector based on a nondestructive testing technology according to claim 1, further comprising step 6: setting a light transmission test platform according to the plurality of light source incident angles and the plurality of detector receiving angles, and performing a test through the light transmission test platform to verify an accuracy of the three-layer tissue light transmission model.

7. A system based on the method according to claim 1, comprising:a sample measuring unit, configured to acquire and measure a plurality of citrus fruit samples to obtain optical characteristic parameters of three tissue layers;a simulation parameter acquisition unit, configured to process the optical characteristic parameters of the three tissue layers through the inverse adding doubling (IAD) algorithm to obtain light transmission simulation parameters of the three tissue layers;a model construction unit, configured to construct the three-layer tissue light transmission model according to the optical characteristic parameters of the three tissue layers and the light transmission simulation parameters of the three tissue layers;an image acquisition unit, configured to acquire the plurality of light source incident angles and the plurality of detector receiving angles according to the predetermined method, input the plurality of light source incident angles into the three-layer tissue light transmission model to obtain the plurality of spectral images, and input the plurality of detector receiving angles into the three-layer tissue light transmission model to obtain the photon-number image; andan image analysis unit, configured to analyze the plurality of spectral images according to the light penetration degree and the energy attenuation degree to determine the light source incident angle, and analyze the photon-number image according to the number of photons to determine the detector receiving angle.

8. The system according to claim 7, wherein the three tissue layers comprise a pericarp oil layer, a peel sponge layer, and a pulp flap; the optical characteristic parameters comprise reflectivity, a thickness, a spot diameter, total reflectivity, total transmittance, an average refractive index, and an anisotropy coefficient; and the light transmission simulation parameters comprise an absorption coefficient, a scattering coefficient, a reduced scattering coefficient, a total reflected flux, and a total transmitted flux.

9. The system according to claim 7, wherein the step 1 comprises: acquiring the plurality of citrus fruit samples, and measuring optical characteristic parameters of the plurality of citrus fruit samples at wavelengths of 400-1100 nm by means of a single integrating sphere, and averaging the optical characteristic parameters to obtain the optical characteristic parameters of the three tissue layers.

10. The system according to claim 7, wherein the step 3 comprises: simulating a citrus fruit model according to the optical characteristic parameters of the three tissue layers; simulating a photon flight distance and probability through a Monte Carlo photon tracing method according to the light transmission simulation parameters of the three tissue layers; constructing a light source model and a detector model; and constructing the three-layer tissue light transmission model according to the citrus fruit model, the light source model, the detector model, and the photon flight distance and probability.

11. The system according to claim 7, wherein in the step 4, the predetermined method is an equal incremental method, the light source incident angles range from 0° to 90°; the detector receiving angles range from 0° to 40°, and the light source and the detector are arranged on both sides of a normal line, respectively.

12. The system according to claim 7, further comprising step 6: setting a light transmission test platform according to the plurality of light source incident angles and the plurality of detector receiving angles, and performing a test through the light transmission test platform to verify an accuracy of the three-layer tissue light transmission model.

13. A nondestructive testing method, comprising the following steps:step 1: obtaining a light source incident angle and a detector receiving angle;step 2: configuring a light source and a detector according to the light source incident angle and the detector receiving angle, respectively;step 3: performing near-infrared spectroscopy testing on a citrus fruit to be tested to obtain near-infrared spectral data; andstep 4: processing the near-infrared spectral data to obtain a soluble solid content of the citrus fruit, whereinthe light source incident angle forms an included angle of 30-40° with a normal line, the detector receiving angle forms an included angle of 5-15° with the normal line, and the light source and the detector are arranged on both sides of the normal line, respectively.

14. The nondestructive testing method according to claim 13, wherein the light source comprises six to eight halogen lamps with power of 130-170 W; a distance from the light source to the citrus fruit is 1-3 cm, and a distance from the detector to the citrus fruit is 0.1-1 cm.

15. The nondestructive testing method according to claim 13, wherein the step 4 comprises: performing Savitzky-Golay (SG) smoothing, Standard Normalization Transformation (SNV), Competitive Adaptive Reweighted Sampling (CARS) feature extraction on the near-infrared spectral data, and inputting processed data into a trained partial least squares model to obtain the soluble solid content of the citrus fruit.

16. A nondestructive testing apparatus configured to implement the nondestructive testing method for the citrus fruit according to claim 13, comprising a detector, a support platform, and a light source, wherein the support platform is arranged between the detector and the light source; andthe light source comprises a reflection cup and a plurality of bulbs, wherein the plurality of bulbs are equidistantly arranged in the reflection cup.

17. The nondestructive testing apparatus according to claim 16, wherein the reflection cup is made of an aluminum alloy, the bulb is a 150 W halogen lamp, and a number of the bulbs is seven; a distance from the light source to the support platform is 1-3 cm, a distance from the detector to the support platform is 0.1-1 cm, a light source incident angle is set as an included angle of 30-40° with a normal line, a detector receiving angle is set as an included angle of 5-15° with the normal line, and the light source and the detector are arranged on both sides of the normal line, respectively.