A method and apparatus for non-destructive detection of spoilage in transparently packaged food products
By combining spectral detection components, supplementary lighting, and an automated conveying system to create a darkroom environment, the problem of non-destructive and rapid online detection of early oil oxidation and deterioration in transparently packaged foods has been solved, achieving efficient and continuous deterioration detection and rejection of defective products.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGQIU PROD QUALITY INSPECTION & TESTING RES CENT
- Filing Date
- 2026-04-14
- Publication Date
- 2026-06-05
AI Technical Summary
Existing technologies cannot achieve non-destructive, rapid, and online detection of early oil oxidation and deterioration in transparently packaged foods, and traditional spectroscopic detection devices are difficult to adapt to the detection requirements of products of different specifications, resulting in poor detection accuracy.
By combining a spectral detection component, supplementary light, support and adjustment component, light-shielding component, and centering guide component with an automated conveying system, a darkroom environment is constructed. Non-destructive testing is achieved through near-infrared spectral acquisition and automated control. The detection distance is adjusted according to the thickness of the food to ensure optical path consistency and acquisition position accuracy.
It enables non-destructive, efficient, and continuous spoilage detection of transparently packaged food, improves detection accuracy and repeatability, reduces the impact of external light interference and packaging surface reflection, and can monitor and reject unqualified products online in real time.
Smart Images

Figure CN122150181A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of non-destructive testing technology for transparently packaged food, and in particular to a non-destructive method and apparatus for detecting spoilage in transparently packaged food. Background Technology
[0002] In the storage and transportation of fried pastries (such as shortbread, peach crisps, and twisted dough sticks) in transparently packaged foods, early spoilage is mainly manifested by the oxidation and rancidity of oils. At this time, the appearance, color, and packaging shape of the food do not show obvious changes, and there is no mold, swelling, or turbidity and sediment. Traditional machine vision inspection cannot identify this type of early spoilage. When using external gas sensors for detection, the high barrier properties of transparent packaging make it difficult for internal oxidized volatiles to penetrate to the outside, resulting in distorted detection results. In addition, although traditional spectroscopic detection instruments can achieve effective detection, existing detection methods are mostly offline sampling modes, which require the food to be removed from the production line and placed in a special darkroom environment for manual operation. The detection efficiency is low and it is impossible to achieve full-product online monitoring. It is difficult to achieve the demand for low-cost, stable, non-destructive, and rapid detection of early rancidity on the production line. At the same time, due to the reflective, wrinkled, and uneven packaging thickness of the surface of fried pastries in transparent packaging, traditional fixed spectroscopic acquisition devices are difficult to adapt to the detection distance requirements of different product specifications, which easily leads to poor spectral signal stability and poor repeatability, making it difficult to guarantee detection accuracy.
[0003] Therefore, this invention proposes a non-destructive method and apparatus for detecting spoilage in transparently packaged food. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of the prior art by proposing a non-destructive transparent packaged food spoilage detection method and device.
[0005] To achieve the above objectives, the present invention adopts the following technical solution: A non-destructive transparent packaged food spoilage detection device includes a frame, a mounting box, a conveyor belt, a spectral detection component, a supplementary light, a support and adjustment component, a light-shielding component, and a centering guide component. The mounting box is fixedly mounted on the frame. The conveyor belt is mounted on the frame and passes through the mounting box, and is used for conveying the transparent packaged food. The spectral detection component and the supplementary light are both located inside the mounting box, and are used for spoilage detection of the transparent packaged food and for supplementary lighting during detection. The support and adjustment component is mounted on the mounting box and connected to the spectral detection component, and is used for supporting and adjusting the height of the spectral detection component and the supplementary light. The light-shielding component is mounted on the frame and located on both sides of the mounting box, and is used to block light from entering the mounting box and interfering with the normal detection of the spectral detection component. The centering guide component is located above the conveyor belt and connected to the light-shielding component, and is used to confine the transparent packaged food to a centered position during conveying.
[0006] Preferably, the support adjustment assembly includes a support base, an electric cylinder, a lifting base, and multiple guide rods; the support base is detachably mounted on the top of the mounting box; the electric cylinder is fixedly mounted on the support base; the lifting base is fixedly mounted on the telescopic end of the electric cylinder; the spectral detection component and the supplementary light are both fixedly mounted on the bottom side of the lifting base, and the supplementary light is arranged at equal intervals around the spectral detection component; multiple guide rods are all fixedly mounted on the top side of the lifting base along the axial direction of the electric cylinder, and multiple guide rods are slidably connected to the support base.
[0007] Preferably, the light-shielding assembly includes two light-shielding boxes, a light-shielding plate, and two flexible light-shielding curtains; both light-shielding boxes are fixedly installed on the top side of the frame and located on the left and right sides of the mounting box; the light-shielding plate is fixedly installed on the frame and parallel to the top surface of the mounting box; the two flexible light-shielding curtains are respectively fixedly installed on the inner top side of the corresponding light-shielding box.
[0008] Preferably, the inner wall of the mounting box and the inner walls of the two light-shielding boxes are provided with a light-absorbing coating.
[0009] Preferably, the centering guide assembly includes two guide plates; the two guide plates are symmetrically arranged above the conveyor belt and pass through the mounting box and two light-shielding boxes, both guide plates are fixedly connected to the two light-shielding boxes, and the side of the two guide plates that is close to each other is arranged in a state that is wider at the top and narrower at the bottom.
[0010] Preferably, the non-destructive transparent packaged food spoilage detection device further includes a photoelectric trigger sensor and two mounting bases; the photoelectric trigger sensor is set on the front and rear sides of the conveyor belt inside the mounting box and is electrically connected to the spectral detection component through a controller; the two mounting bases are detachably installed on the front and rear sides of the mounting box respectively, and the transmitting end and receiving end of the photoelectric trigger sensor are fixedly installed on the side of the two mounting bases that are close to each other and located on the same axis.
[0011] Preferably, the non-destructive transparent packaged food spoilage detection device further includes a material-removing component, which is disposed on the light-shielding box on the left side. The material-removing component is used to remove the unqualified products detected by the spectral detection component from the conveyor belt. Preferably, the material feeding assembly includes a support block, a servo motor, a strip plate, a guide pin, a support pin, a support rod, and a feeding plate; the support block is fixedly installed on the top of the left side of the light-shielding box; the servo motor is fixedly installed on the support block and electrically connected to the spectral detection assembly via a controller; the strip plate is radially fixedly installed on the output shaft of the servo motor; the guide pin is radially fixedly installed on the side of the strip plate away from the servo motor; the support pin is rotatably installed on the support block; the support rod is radially fixedly installed on the support pin, and a guide opening is provided on the support rod, with the guide pin slidingly contacting the inner wall of the guide opening; the feeding plate is fixedly installed at the bottom end of the support rod.
[0012] Preferably, the non-destructive transparent packaged food spoilage detection device further includes a collection box; the collection box is open and movably attached to the frame, the collection box is used to receive transparent packaged food that is pushed off the conveyor belt by the push plate, the bottom of the collection box is fixedly installed with multiple casters, and a permanent magnet chuck is fixedly installed on the collection box and adsorbed and fixed to the frame.
[0013] Preferably, a plurality of parallel support rollers are rotatably mounted on the frame, and all of the support rollers are in contact with the upper conveying section of the conveyor belt.
[0014] This invention also provides a method for detecting spoilage in non-destructive, transparently packaged food, comprising the following steps: S1: Place the transparently packaged food items to be tested sequentially on the conveyor belt from the right side, and then transport them towards the mounting box. With the help of the centering guide component, the food items are kept centered on the conveyor belt. When the transparently packaged food items pass the photoelectric trigger sensor, the photoelectric trigger sensor is triggered and sends a signal to the controller. The controller then starts the spectral detection component and the supplementary light. The spectral detection component collects near-infrared spectra of the transparently packaged food items. The collected spectral data is transmitted to the built-in analysis module via the controller. The analysis module then analyzes and processes the received spectral data, thereby enabling non-destructive testing. S2: The food continues to be conveyed to the left under the action of the conveyor belt. Food that passes the test of the spectral detection component is conveyed out of the light-shielding box on the left and continues to be conveyed. Food that fails the test will be removed from the conveyor belt by the material-picking component controlled by the controller and temporarily collected in the collection box.
[0015] S3: During the detection of transparently packaged food using the spectral detection component, the use of light-shielding components and light-absorbing coatings effectively avoids interference from external light. At the same time, the use of supplementary lighting provides a stable and uniform auxiliary lighting environment for the spectral detection component, ensuring the accuracy and consistency of near-infrared spectral acquisition. Furthermore, the use of support and adjustment components allows for real-time adjustment of the detection distance between the spectral detection component and the food surface according to the thickness of transparently packaged food of different specifications, maintaining optimal focal length and optical path.
[0016] Compared with the prior art, the present invention provides a non-destructive method and apparatus for detecting spoilage of transparently packaged food, which has the following advantages: (1) By combining spectral detection technology with an automated conveying system, this invention can achieve non-destructive, efficient and continuous full-product deterioration detection of transparently packaged food. At the same time, by using a dark room environment constructed with a light-shielding box and a light-absorbing coating, and with supplementary lights arranged evenly in the circumference, it provides stable and controllable optical conditions for near-infrared spectral acquisition, significantly reducing the interference of external stray light and reflection from the packaging surface.
[0017] (2) The detection distance can be adjusted according to the thickness difference of food by setting the support adjustment component. At the same time, the food can be centered and positioned by the centering guide component. Both of these ensure the consistency of optical path and the accuracy of acquisition position, thereby improving the repeatability of spectral signal and detection accuracy.
[0018] (3) The precise timing of detection is achieved through the linkage control of photoelectric trigger sensor and spectral detection component, so that spectral acquisition is started only when food arrives at the detection position, which saves energy and extends the service life of the equipment. At the same time, the detection of unqualified products can be temporarily stored in the collection box through the cooperation of feeding component and collection box. Attached Figure Description
[0019] Figure 1 This is a three-dimensional structural diagram of a non-destructive transparent packaged food spoilage detection device proposed in this invention; Figure 2 In this invention Figure 1 A schematic diagram of the cross-sectional structure; Figure 3 In this invention Figure 2 Front view structural diagram; Figure 4 In this invention Figure 1 A schematic diagram of the left-side view structure; Figure 5 This is a partial three-dimensional structural diagram of the present invention; Figure 6 for Figure 5 A partial sectional view of the structure; Figure 7This is a schematic diagram of the material feeding assembly proposed in this invention; Figure 8 This is a schematic diagram of the mounting base and photoelectric trigger sensor portion proposed in this invention; Figure 9 This is a schematic diagram of the structure of the collection box, casters, and permanent magnet chuck proposed in this invention.
[0020] In the diagram: 1. Frame; 11. Conveyor belt; 12. Support roller; 2. Mounting box; 201. Light-absorbing coating; 21. Support base; 22. Lifting base; 221. Electric cylinder; 222. Guide rod; 23. Spectral detection component; 24. Supplemental light; 25. Photoelectric trigger sensor; 251. Mounting base; 3. Light-shielding box; 31. Flexible light-shielding curtain; 32. Light-shielding plate; 4. Guide plate; 5. Pulley; 51. Support block; 52. Servo motor; 53. Strip plate; 531. Guide pin; 54. Support rod; 541. Support pin; 6. Collection box; 61. Permanent magnet chuck. Detailed Implementation
[0021] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0022] In the description of this invention, it should be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.
[0023] Reference Figure 1-9A non-destructive transparent packaged food spoilage detection device includes a frame 1, a mounting box 2, a conveyor belt 11, a spectral detection component 23, a supplementary light 24, a support and adjustment component, a light-shielding component, and a centering guide component. The mounting box 2 is fixedly mounted on the frame 1. The conveyor belt 11 is set on the frame 1 and passes through the mounting box 2, and is used for conveying the transparent packaged food. The spectral detection component 23 and the supplementary light 24 are both set inside the mounting box 2, and are used for spoilage detection of the transparent packaged food and for supplementary lighting during detection. The spectral detection component 23 is preferably a reflective single-point near-infrared spectral detection component, which includes a near-infrared light source, a fiber optic probe, a spectrometer, and a data processing unit. The fiber optic probe is arranged vertically downwards directly above the conveyor belt 11, and the light emitted by the near-infrared light source is transmitted through the fiber optic cable to the probe end face, illuminating the transparent packaged food. After the food is packaged, some of the reflected light is received by the same probe and transmitted to a spectrometer for spectroscopic detection. The detection wavelength range of the spectrometer is preferably 1000nm to 1700nm. This band has characteristic absorption of peroxides, aldehydes and ketones, and free fatty acids produced by oil oxidation. The data processing unit has a built-in oil rancidity index prediction model based on partial least squares method. The model uses acid value and peroxide value as reference indicators and extracts spectral characteristic variables through principal component analysis to achieve quantitative assessment of the early oxidation degree of oil. The supplementary light 24 is preferably a low-power LED ring light source with a color temperature controlled in the range of 5000K to 6500K and an adjustable luminous flux range of 50lm to 200lm. It is set in a circumferentially equidistant manner around the spectral detection component 23 to effectively eliminate shadow interference and reduce the impact of additional heat radiation on food quality.
[0024] The support adjustment assembly is mounted on the mounting box 2 and connected to the spectral detection assembly 23. The support adjustment assembly includes a support base 21, an electric cylinder 221, a lifting seat 22, and multiple guide rods 222. The top of the mounting box 2 has an installation opening. The support base 21 is detachably installed in the installation opening by bolt connection. Preferably, a shock-absorbing washer made of nitrile rubber with a thickness of 5mm is provided between the support base 21 and the installation opening to absorb the influence of equipment operation vibration on the spectral detection assembly 23. The electric cylinder 221 is fixedly mounted on the support base. 21. The lifting seat 22 is fixedly installed on the telescopic end of the electric cylinder 221. The spectral detection component 23 and the supplementary light 24 are both fixedly installed on the bottom side of the lifting seat 22, and the supplementary light 24 is arranged at equal intervals around the spectral detection component 23. Multiple guide rods 222 are fixedly installed on the top side of the lifting seat 22 along the axial direction of the electric cylinder 221, and multiple guide rods 222 are slidably connected to the support seat 21, which can provide effective support for the spectral detection component 23 and the supplementary light 24, and can also be adjusted according to the size of the transparent packaged food. The light-shielding assembly is mounted on the frame 1 and located on both sides of the mounting box 2. The light-shielding assembly includes two light-shielding boxes 3, a light-shielding plate 32, and two flexible light-shielding curtains 31. The two light-shielding boxes 3 are fixedly mounted on the top side of the frame 1 and located on the left and right sides of the mounting box 2. The light-shielding plate 32 is fixedly mounted on the frame 1 and parallel to the top surface of the mounting box 2. The two flexible light-shielding curtains 31 are respectively fixedly mounted on the inner wall of the top side of the corresponding light-shielding box 3, which can effectively block external light from entering the mounting box 2 and interfering with the normal detection of the spectral detection component 23. In order to further reduce the interference of external light on the normal detection of the spectral detection component 23, a light-absorbing coating 201 is provided on the inner wall of the mounting box 2 and the inner walls of the two light-shielding boxes 3. The centering guide component is positioned above the conveyor belt 11 and connected to the light-shielding component. The centering guide component includes two guide plates 4. The two guide plates 4 are symmetrically positioned above the conveyor belt 11 and pass through the mounting box 2 and the two light-shielding boxes 3. Both guide plates 4 are fixedly connected to the two light-shielding boxes 3. The side of the two guide plates 4 that is close to each other is set in a state that is wider at the top and narrower at the bottom. This can center and guide the transparent packaged food conveyed by the conveyor belt 11, so that it can stably pass directly below the spectral detection component 23 during the process of being conveyed by the conveyor belt 11.
[0025] Based on the above, and referring to Figure 1 , Figure 2 , Figure 3 and Figure 8 As shown, the non-destructive transparent packaged food spoilage detection device also includes a photoelectric trigger sensor 25 and two mounting bases 251. The photoelectric trigger sensor 25 is set on the front and rear sides of the conveyor belt 11 inside the mounting box 2 and is electrically connected to the spectral detection component 23 through a controller. The two mounting bases 251 are detachably installed on the front and rear sides of the mounting box 2 by bolts. The transmitting end and receiving end of the photoelectric trigger sensor 25 are respectively fixedly installed on the side of the two mounting bases 251 that are close to each other and located on the same axis. It can be triggered when the transparent packaged food passes by and start the spectral detection component 23 through the controller to perform detection operation, so as to avoid missed detection.
[0026] Based on the above, and referring to Figure 1 , Figure 2 , Figure 3 , Figure 4 and Figure 7As shown, the non-destructive transparent packaged food spoilage detection device also includes a material-dispensing assembly, which is set on the light-shielding box 3 on the left side. The material-dispensing assembly includes a support block 51, a servo motor 52, a strip plate 53, a guide pin 531, a support pin 541, a support rod 54, and a dispensing plate 5. The support block 51 is fixedly installed on the top of the light-shielding box 3 on the left side. The servo motor 52 is fixedly installed on the support block 51 and electrically connected to the spectral detection assembly 23 through a controller. The strip plate 53 is radially fixedly installed on the output shaft of the servo motor 52. The guide pin 531 is radially fixedly installed on the side of the strip plate 53 away from the servo motor 52. The support pin 541 is rotatably installed on the support block 51. The support rod 54 is radially fixedly installed on the support pin 541. A guide opening is provided on the support rod 54, and the guide pin 531 slides in contact with the inner wall of the guide opening. The dispensing plate 5 is fixedly installed at the bottom end of the support rod 54 and can dispense the detected unqualified transparent packaged food from the conveyor belt 11 as needed.
[0027] Based on the above, and referring to Figure 1 , Figure 2 , Figure 3 , Figure 4 and Figure 9 As shown, the non-destructive transparent packaged food spoilage detection device also includes a collection box 6; the collection box 6 is open and movably latched onto the frame 1. The collection box 6 is used to receive the transparent packaged food that the push plate 5 pushes off the conveyor belt 11. The bottom of the collection box 6 is fixedly equipped with multiple casters, and the collection box 6 is fixedly equipped with a permanent magnet chuck 61 that is adsorbed and fixed to the frame 1, which can receive the transparent packaged food that the push plate 5 pushes off, and at the same time facilitates movement and fixation.
[0028] Based on the above, in order to provide stable support for the conveyor belt 11, refer to Figures 1-3 As shown, multiple parallel support rollers 12 are rotatably mounted on the frame 1. All support rollers 12 are in contact with the upper conveying section of the conveyor belt 11. It is worth noting that no support rollers 12 are set directly below the deflector plate 5, which is intended to reserve a channel for the substandard transparent packaged food that the deflector plate 5 deflects off the conveyor belt 11 to enter the collection box 6.
[0029] This embodiment also provides a deterioration detection method for a non-destructive transparent packaged food deterioration detection device, comprising the following steps: S1: Based on the specifications of the transparent packaged food to be tested, the controller starts the electric cylinder 221, driving the lifting seat 22 to vertically adjust along the guide rod 222, so that the fiber optic probe end face of the spectral detection component 23 maintains the optimal detection distance between itself and the food surface. At the same time, the supplementary light 24 is synchronously adjusted to the corresponding height along with the lifting seat 22 to ensure that the uniformity of illumination in the detection area meets the requirements. After adjustment, the conveyor belt 11 is started and the transparent packaged food to be tested is placed one by one on the right feed end of the conveyor belt 11. The food moves to the left under the drive of the conveyor belt 11. When passing the right light shielding box 3, the flexible light shielding curtain 31... The adaptive food height forms a dynamic seal, blocking external light from entering. When the front of the food enters the inlet of the two guide plates 4, the two guide plates 4 can center and guide the food, so that it can be accurately positioned on the central axis of the conveyor belt 11. When the food completely enters the mounting box 2 and blocks the light path of the photoelectric trigger sensor 25, the photoelectric trigger sensor 25 generates a trigger signal and transmits it to the controller. The controller then starts the spectral detection component 23 to collect near-infrared spectrum. After processing and analysis, the raw spectral data collected will be used to calculate the predicted value of the rancidity index of the oil and compare it with the preset threshold for judgment.
[0030] S2: Food deemed qualified continues to be conveyed to the left by the conveyor belt 11. After passing through the flexible light-blocking curtain 31 of the left light-blocking box 3, it enters the subsequent packaging or storage process. If it is deemed unqualified, the controller outputs a control command to the servo motor 52. The servo motor 52 drives the strip plate 53 to rotate. The guide pin 531 slides in the guide port of the support rod 54, converting the rotational motion into the reciprocating swing of the support rod 54 around the support pin 541. The pusher plate 5 then performs a rapid material-pushing action above the conveyor belt 11, pushing the unqualified food from the side of the conveyor belt 11, so that it falls into the collection box 6 after passing over the suspended area of the unsupported roller 12. When the unqualified food in the collection box 6 accumulates to the set capacity, the permanent magnet chuck 61 is released from the adsorption and fixation of the frame 1, and the collection box 6 is transferred to the centralized processing area by the universal wheels.
[0031] S3: During the detection process, the light-absorbing coating 201 continuously absorbs stray reflected light from the inside of the mounting box 2 and the light-shielding box 3. The top light-shielding channel formed by the light-shielding plate 32 and the top surface of the mounting box 2 blocks interference from the light source above. The ring-shaped low-power LED light source of the supplementary light 24 provides stable auxiliary lighting for the detection area as needed. At the same time, the shock-absorbing pad absorbs the vibration of the conveyor belt 11 and the environment, ensuring the detection stability of the spectral detection component 23. When it is necessary to switch to detect different specifications of food, the height adjustment is performed by repeating step S1. When it is necessary to maintain or replace the guide plate 4, the replacement can be achieved by disassembling the bolts.
[0032] All standard parts used in this invention can be purchased from the market, and irregular parts can be customized according to the description and drawings. The specific connection methods of each part adopt conventional methods such as bolts, rivets, and welding that are mature in the prior art. The machinery, parts and equipment adopt conventional models in the prior art, and the circuit connection adopts conventional connection methods in the prior art, which will not be described in detail here.
Claims
1. A non-destructive, transparently packaged food spoilage detection device, characterized in that, include: A frame (1) and a mounting box (2), wherein the mounting box (2) is fixedly mounted on the frame (1); A conveyor belt (11) is mounted on a frame (1) and passes through a mounting box (2). The conveyor belt (11) is used for conveying transparently packaged food. The spectral detection component (23) and the supplementary light (24) are both installed in the installation box (2). The spectral detection component (23) and the supplementary light (24) are used for the deterioration detection of transparent packaged food and for supplementary lighting during the detection. A support adjustment assembly is installed on the mounting box (2) and connected to the spectral detection assembly (23). The support adjustment assembly is used for the support and lifting adjustment of the spectral detection assembly (23) and the supplementary light (24). A light-shielding assembly is set on the frame (1) and located on both sides of the mounting box (2). The light-shielding assembly is used to block light from entering the mounting box (2) and interfering with the normal detection of the spectral detection assembly (23). A centering guide assembly is disposed above the conveyor belt (11) and connected to the light-shielding assembly. The centering guide assembly is used to confine the transparent packaged food to a central position for conveying.
2. The non-destructive transparent packaged food spoilage detection device according to claim 1, characterized in that, The support adjustment component includes: Support base (21) is detachably mounted on the top of mounting box (2); An electric cylinder (221) is fixedly mounted on a support base (21); The lifting seat (22) is fixedly installed on the telescopic end of the electric cylinder (221). The spectral detection component (23) and the supplementary light (24) are both fixedly installed on the bottom side of the lifting seat (22), and the supplementary light (24) is arranged at equal intervals around the spectral detection component (23). Multiple guide rods (222) are fixedly installed on the top side of the lifting seat (22) along the axial direction of the electric cylinder (221), and multiple guide rods (222) are slidably connected to the support seat (21).
3. The non-destructive transparent packaged food spoilage detection device according to claim 1, characterized in that, The light-shielding component includes: Two light-shielding boxes (3) are fixedly installed on the top side of the frame (1) and located on the left and right sides of the mounting box (2); A light shield (32) is fixedly installed on the frame (1) and parallel to the top surface of the mounting box (2); Two flexible blackout curtains (31) are fixedly installed on the top inner wall of the corresponding blackout box (3).
4. The non-destructive transparent packaged food spoilage detection device according to claim 3, characterized in that, The inner wall of the mounting box (2) and the inner walls of the two light-shielding boxes (3) are all provided with light-absorbing coatings (201).
5. A non-destructive transparent packaged food spoilage detection device according to claim 3, characterized in that, The centering guidance component includes: Two guide plates (4) are symmetrically arranged above the conveyor belt (11) and pass through the mounting box (2) and the two light shields (3). Both guide plates (4) are fixedly connected to the two light shields (3), and the two guide plates (4) are arranged with the upper side wider than the lower side.
6. The non-destructive transparent packaged food spoilage detection device according to claim 1, characterized in that, Also includes: The photoelectric trigger sensor (25) is set on both sides of the conveyor belt (11) inside the mounting box (2) and electrically connected to the spectral detection component (23) through the controller; Two mounting bases (251) are detachably installed on the front and rear sides of the mounting box (2), respectively. The transmitting end and receiving end of the photoelectric trigger sensor (25) are fixedly installed on the side of the two mounting bases (251) that are close to each other and located on the same axis.
7. A non-destructive transparent packaged food spoilage detection device according to claim 3, characterized in that, It also includes a material-removing assembly, which is set on the light-shielding box (3) on the left side. The material-removing assembly is used to remove the defective products detected by the spectral detection assembly (23) from the conveyor belt (11). The feeding assembly includes: The support block (51) is fixedly installed on the top of the left-side light-shielding box (3); A servo motor (52) is fixedly mounted on a support block (51) and electrically connected to a spectral detection assembly (23) via a controller; A strip plate (53) is radially fixedly mounted on the output shaft of a servo motor (52); The guide pin (531) is radially fixed on the side of the strip plate (53) away from the servo motor (52); The support pin (541) is rotatably mounted on the support block (51); The support rod (54) is radially fixed on the support pin (541). A guide opening is provided on the support rod (54), and the guide pin (531) slides in contact with the inner wall of the guide opening. The lever (5) is fixedly installed at the bottom end of the support rod (54).
8. A non-destructive transparent packaged food spoilage detection device according to claim 7, characterized in that, Also includes: The collection box (6) is open and is movably attached to the frame (1). The collection box (6) is used to receive transparent packaged food that is pushed off the conveyor belt (11) by the push plate (5). The bottom of the collection box (6) is fixedly equipped with multiple casters, and a permanent magnet chuck (61) is fixedly installed on the collection box (6) and adsorbed and fixed to the frame (1).
9. A non-destructive transparent packaged food spoilage detection device according to claim 1, characterized in that, Multiple parallel support rollers (12) are rotatably mounted on the frame (1), and all the support rollers (12) are in contact with the upper conveying section of the conveyor belt (11).
10. A method for detecting spoilage using a non-destructive transparent packaged food spoilage detection device according to any one of claims 1 to 9, characterized in that, Includes the following steps: S1: Place the transparent packaged food to be tested sequentially on the conveyor belt (11) from the right side, and then transport it to the mounting box (2) via the conveyor belt (11). Under the action of the centering guide component, it can be kept in the center of the conveyor belt (11). When the transparent packaged food passes the position of the photoelectric trigger sensor (25), the photoelectric trigger sensor (25) is triggered and sends a signal to the controller. The controller then starts the spectral detection component (23) and the supplementary light (24). The spectral detection component (23) collects the near-infrared spectrum of the transparent packaged food. The collected spectral data is transmitted to the built-in analysis module via the controller. Then the analysis module analyzes and processes the received spectral data, thereby enabling non-destructive testing. S2: Under the action of the conveyor belt (11), the transparent packaged food that is qualified after being detected by the spectral detection component (23) will continue to be conveyed after being transported out of the light shield box (3) on the left. The transparent packaged food that is unqualified after detection will be removed from the conveyor belt (11) by the control of the material feeding component and temporarily collected in the collection box (6). S3: During the detection of transparent packaged food by the spectral detection component (23), the setting of the light-shielding component and the light-absorbing coating (201) can effectively avoid interference caused by external light. At the same time, the setting of the supplementary light (24) can provide a stable and uniform auxiliary lighting environment for the spectral detection component (23), ensuring the accuracy and consistency of near-infrared spectrum acquisition. Furthermore, by setting the support adjustment component, the detection distance between the spectral detection component (23) and the surface of the transparent packaged food can be adjusted in real time according to the thickness of different specifications of transparent packaged food, maintaining the optimal focal length and optical path.