Food detection device and detection method
Through the mechanized food detection device, the samples are automatically extracted and moved, and combined with a near-infrared spectrometer for detection, the problems of high intensity and pollution of manual sampling and detection are solved, and efficient and accurate liquid food detection is achieved.
Patent Information
- Application Number
- CN202510654611.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2025-08-12
AI Technical Summary
In the prior art, when testing liquid food (such as milk), manual sampling and testing work is high, and manual hands are prone to contaminating the detection source, resulting in errors in the detection result.
A food detection device is adopted, using hydraulic cylinders, servo motors and near-infrared spectrometers, and samples are automatically extracted and moved through mechanized suction devices, combined with near-infrared spectrometers for detection, and the cleaning device prevents cross-contamination.
Automatic sample sampling and testing is realized, which reduces work intensity, avoids manual contamination, and improves detection efficiency and accuracy.
Smart Images

Figure CN120468029A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of food detection, and in particular to a food detection device and a detection method. Background Art
[0002] Food is the most important thing for people. Safety is the minimum requirement for food consumption. Without safety, there is no color, fragrance, taste and nutrition. Safety is also the highest requirement for food consumption. It concerns the health and even life of the people. Food safety is paramount. Everyone needs safe food, and everyone must maintain food safety.
[0003] Nowadays, there are a wide variety of foods on the market. Food safety must be strictly controlled in every link of production, processing, sales, etc. Especially during the production and processing process, various indicators of food must be strictly checked to ensure that they meet the requirements.
[0004] Food safety is related to people's physical health and also restricts economic development, which has attracted great attention from people. Food safety testing is to detect harmful substances in food according to national indicators, mainly some harmful and toxic indicators.
[0005] Regarding the existing related technologies, the inventors believe that the following defects exist: when testing liquid food (milk), manual extraction is generally used for sampling and testing. Workers need to conduct periodic sampling and testing, which is work-intensive. In addition, during manual sampling and testing, human hands can easily touch the liquid to be tested or the sampling test tube, which can easily contaminate the detection source and cause errors in the test results. Summary of the Invention
[0006] In order to solve the technical problems that existing staff need to perform periodic sampling and testing, which has high work intensity and is prone to touching the liquid to be tested or the sampling test tube with their hands during manual sampling and testing, which can easily contaminate the detection source and cause errors in the detection results, the present invention provides a food detection device and detection method.
[0007] The present invention is implemented by the following technical solution: a food testing device, comprising a base and a workbench, the workbench being located on top of the base, a near-infrared spectrometer being placed on one end of the top of the workbench, a fixing frame being provided on one end of the top of the near-infrared spectrometer, a testing dish being provided inside the fixing frame, a limiting frame being fixedly connected to the top of the workbench, a sample cylinder being provided inside the limiting frame, and a cleaning box being fixedly connected to the other end of the top of the workbench; The top of the base is fixedly connected to two columns, the top of the columns is fixedly connected to a fixing frame, one end of the fixing frame is provided with a first servo motor, one end of the first servo motor is fixedly connected to a threaded rod, one end of the threaded rod is threadedly connected to a threaded seat, one end of the threaded seat is fixedly connected to a side plate, the top of the side plate is fixedly connected to a crossbeam, the bottom of the crossbeam is fixedly connected to a hydraulic cylinder, and the bottom of the hydraulic cylinder is fixedly connected to the bottom plate; Secondly, a second servo motor is provided on the top of the base plate, and a suction device is fixedly connected to the bottom of one end of the base plate. The suction device includes a shell and a liquid suction port, and the bottom of the shell is fixedly connected to the top of the liquid suction port.
[0008] Preferably, the bottom of the second servo motor is fixedly connected to a screw rod, the bottom of the screw rod is threadedly connected to a lifting column, the bottom of the lifting column is fixedly connected to a sealing plug, and the sealing plug is movably connected to the inside of the housing.
[0009] Preferably, the top of the lifting column is fixedly connected to a fixing ring, the bottom of the base plate is fixedly connected to two guide rods, the guide rods are located inside the shell, and the fixing ring is movably connected to the outside of the guide rods.
[0010] Preferably, a movable groove is processed on one side of the fixing frame, the threaded rod is rotatably connected to the inside of the movable groove, and the threaded seat is movably connected to the inside of the movable groove.
[0011] Preferably, one end of the base plate is fixedly connected to a slider, one side of the side plate is processed with a slide groove, the slider is movably connected inside the slide groove, both ends of the base plate are fixedly connected to two clamping blocks, both ends of the side plate are processed with a clamping groove, the clamping blocks are movably connected inside the clamping groove.
[0012] Preferably, one end of the top of the cleaning box is fixedly connected to a water inlet pipe, and one end of the bottom of the cleaning box is fixedly connected to a water outlet pipe.
[0013] Preferably, the top of the workbench is fixedly connected to a fixed seat, a stepper motor is arranged inside the fixed seat, the top of the stepper motor is fixedly connected to a rotating column, the top of the rotating column is movably connected to a counterweight ring, and the counterweight ring is fixedly connected to multiple connecting rods around it, and one end of the connecting rod is fixedly connected to the detection dish.
[0014] Preferably, an electric push rod is provided inside the rotating column, the top of the electric push rod is contact-connected with a movable column, the top of the movable column is fixedly connected with a bottom ring, and the bottom ring is fixedly connected to the bottom of the counterweight ring.
[0015] Preferably, a groove is processed inside the electric push rod, the movable column is movably connected inside the groove, a placement groove is processed on the top of the groove, the bottom ring is movably connected inside the placement groove, two limit grooves are processed on both sides of the groove, two limit bars are fixedly connected on both sides of the movable column, and the limit bars are movably connected inside the limit grooves.
[0016] Preferably, the method comprises the following steps: S1: When food (milk) needs to be tested, first pour the milk to be tested into the sample tube, and then place the sample tube inside the limit frame; S2: Then the hydraulic cylinder is started, which drives the bottom plate to move downward, and the bottom plate drives the suction device to move downward, so that the suction port is located inside the sample cylinder, thereby extracting the test liquid from the milk through the suction device; S3: Activate the hydraulic cylinder again to separate the outer shell from the interior of the sample tube, then activate the first servo motor, which drives the threaded rod to rotate. The threaded rod drives the threaded seat, side plates, crossbeam, bottom plate and suction device to move, so that the suction device moves to the top of the test dish. The suction device is then moved downward to squeeze the milk into the test dish. Finally, the near-infrared spectrometer is turned on to test the milk in the test dish, and the results are displayed within one minute. S4: Then, the suction device is moved so that the suction port enters the interior of the cleaning box, and the interior of the housing is cleaned by repeatedly sucking and releasing pure water by the suction device; S5: Start the electric push rod again, the movable column will drive the counterweight ring and the test dish to move upward, so that the test dish is separated from the interior of the fixed frame, and then start the stepper motor, the rotating column will drive the counterweight ring and the test dish to rotate, and finally the next test dish will be located inside the fixed frame, making it convenient for the suction device to suck samples multiple times and pour them into multiple test dishes for testing.
[0017] Compared with the prior art, the present invention has the following beneficial effects: When the present invention is in use, by starting the hydraulic cylinder, the bottom plate will drive the suction device to move downward, so that the liquid suction port is located inside the sample tube, which is convenient for the suction device to extract the test liquid. The hydraulic cylinder is then started again to separate the outer shell from the inside of the sample tube. Then, the first servo motor is started, and the threaded rod rotates to drive the threaded seat, side plate, crossbeam, bottom plate and suction device to move, so that the suction device moves to just above the test dish. The suction device is then moved downward to squeeze the milk into the test dish. Finally, the milk inside the test dish is tested by a near-infrared spectrometer.
[0018] When the present invention is in use, after the near-infrared spectrometer completes the detection of the first test dish, the electric push rod is first started, and the movable column will drive the counterweight ring, the connecting rod and the test dish to move upward, so that the test dish is separated from the interior of the fixed frame. Then the stepping motor is started, and the rotation of the rotating column will drive the counterweight ring to rotate, so that the next test dish is rotated to the top of the fixed frame, and finally the test dish is moved downward into the interior of the fixed frame. At the same time, the suction device is used to sequentially take samples from the upper, middle and lower depths of the sample cylinder and place them into the interiors of different test dishes, so as to avoid precipitation inside the sample cylinder that affects the detection structure, and achieve higher efficiency.
[0019] When the present invention is in use, the suction device is moved into the interior of the cleaning box, and the pure water inside the cleaning box is repeatedly pumped out to clean the interior of the shell, avoiding cross contamination that affects the test results, facilitating multiple sampling of the sample cylinder by the suction device, and the operation is simple and convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a schematic diagram of the overall structure of the present invention; Figure 2 This is a schematic diagram of the top structure of the workbench of the present invention; Figure 3 This is a schematic diagram of the internal structure of the rotating column of the present invention; Figure 4 This is a schematic diagram of the position structure of the fixing frame and the side panels of the present invention; Figure 5 This is a schematic diagram of the specific structure of the suction device of the present invention; Figure 6 For the present invention Figure 4 Enlarged schematic diagram of part A in the middle.
[0021] In the figure: 1. Base; 2. Workbench; 3. Near-infrared spectrometer; 301. Fixed frame; 4. Suction device; 401. Housing; 402. Liquid suction port; 403. Screw; 404. Lifting column; 405. Sealing plug; 406. Fixed ring; 407. Guide rod; 5. Sample tube; 6. Detection dish; 7. Cleaning box; 701. Water inlet pipe; 702. Water outlet pipe; 8. Column; 9. Fixed frame; 10. First servo motor; 11. Threaded rod; 12. Threaded Seat; 13. Movable slot; 14. Side panel; 15. Crossbeam; 16. Hydraulic cylinder; 17. Bottom plate; 18. Second servo motor; 19. Slider; 20. Slide; 21. Block; 22. Slot; 23. Limit frame; 24. Fixed seat; 25. Stepper motor; 26. Rotating column; 27. Electric push rod; 28. Movable column; 29. Bottom ring; 30. Counterweight ring; 31. Connecting rod; 32. Placement slot; 33. Groove; 34. Limit strip; 35. Limit slot. DETAILED DESCRIPTION
[0022] The present invention will be further described below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form new embodiments.
[0023] Example 1: Please refer to Figure 1 - Figure 6 A food detection device and detection method of this embodiment include a base 1 and a workbench 2. The workbench 2 is located on the top of the base 1. A near-infrared spectrometer 3 is placed on one end of the top of the workbench 2. A fixing frame 301 is provided on one end of the top of the near-infrared spectrometer 3. A detection dish 6 is provided inside the fixing frame 301. The top of the workbench 2 is fixedly connected to a limit frame 23. A sample cylinder 5 is provided inside the limit frame 23. The other end of the top of the workbench 2 is fixedly connected to a cleaning box 7. The top of the base 1 is fixedly connected to two columns 8. The top of the column 8 is fixedly connected to a fixing frame 9. One end of the fixing frame 9 is provided with a first servo Servo motor 10, one end of the first servo motor 10 is fixedly connected to a threaded rod 11, one end of the threaded rod 11 is threadedly connected to a threaded seat 12, one end of the threaded seat 12 is fixedly connected to a side plate 14, the top of the side plate 14 is fixedly connected to a crossbeam 15, the bottom of the crossbeam 15 is fixedly connected to a hydraulic cylinder 16, the bottom of the hydraulic cylinder 16 is fixedly connected to a bottom plate 17, a second servo motor 18 is provided on the top of the bottom plate 17, one end of the bottom of the bottom plate 17 is fixedly connected to a suction device 4, the suction device 4 includes a shell 401 and a liquid suction port 402, the bottom of the shell 401 is fixedly connected to the top of the liquid suction port 402; When it is necessary to test the food milk, the milk to be tested is first poured into the sample cylinder 5, and then the sample cylinder 5 is placed inside the limit frame 23. The hydraulic cylinder 16 is then activated, and the hydraulic cylinder 16 drives the bottom plate 17 to move downward, and the bottom plate 17 drives the suction device 4 to move downward, so that the liquid suction port 402 is located inside the sample cylinder 5, so that the test liquid is extracted from the milk through the suction device 4. Secondly, when the suction device 4 sucks a certain amount, the hydraulic cylinder 16 is started, and the hydraulic cylinder 16 will drive the suction device 4 to move upward through the bottom plate 17, so that the shell 401 is separated from the interior of the sample tube 5. Then the first servo motor 10 is started, and the first servo motor 10 will drive the threaded rod 11 to rotate. The threaded rod 11 will drive the threaded seat 12 to move. The threaded seat 12 will drive the side plate 14 to move. The side plate 14 will drive the crossbeam 15, the bottom plate 17 and the suction device 4 to move, so that the suction device 4 moves to the top of the test dish 6. Then the suction device 4 is moved downward, and the milk inside the suction device 4 is squeezed into the interior of the test dish 6. Finally, the near-infrared spectrometer 3 is turned on and preheated to test the milk inside the test dish 6, and the result is displayed within 1-2 minutes. Furthermore, the bottom of the second servo motor 18 is fixedly connected to a screw rod 403, the bottom of the screw rod 403 is threadedly connected to a lifting column 404, the bottom of the lifting column 404 is fixedly connected to a sealing plug 405, and the sealing plug 405 is movably connected to the inside of the housing 401; When the aspirating device 4 needs to aspirate milk from the sample tube 5 for testing, the aspirating port 402 is positioned inside the sample tube 5, and then the second servo motor 18 is started. The second servo motor 18 drives the screw rod 403 to rotate, which in turn drives the lifting column 404 to move upward. The lifting column 404 drives the sealing plug 405 to move upward, thereby generating negative pressure at the bottom of the sealing plug 405. As a result, under the action of atmospheric pressure, the milk is aspirated into the bottom of the housing 401. The mechanized operation makes it easier to control the amount of sampling each time, while preventing manual sampling from easily contaminating the detection source. Furthermore, a fixing ring 406 is fixedly connected to the top of the lifting column 404, and two guide rods 407 are fixedly connected to the bottom of the base plate 17. The guide rods 407 are located inside the housing 401, and the fixing rings 406 are movably connected to the outside of the guide rods 407. When the lifting column 404 moves upward, the lifting column 404 will drive the fixing rings 406 to move, and the fixing rings 406 will move along the outside of the guide rods 407. The guide rods 407 will limit the movement of the fixing rings 406, so that the fixing rings 406 remain stable during movement. Furthermore, a movable groove 13 is machined on one side of the fixing frame 9, the threaded rod 11 is rotatably connected to the inside of the movable groove 13, and the threaded seat 12 is movably connected to the inside of the movable groove 13. When the threaded rod 11 drives the threaded seat 12 to move, the threaded seat 12 will move along the inside of the movable groove 13, and the movable groove 13 will limit the movement of the threaded seat 12; Furthermore, one end of the bottom plate 17 is fixedly connected to a slider 19, and a slide groove 20 is processed on one side of the side plate 14. The slider 19 is movably connected to the inside of the slide groove 20. Two clamping blocks 21 are fixedly connected to both ends of the bottom plate 17, and a clamping groove 22 is processed on both ends of the side plate 14. The clamping block 21 is movably connected to the inside of the clamping groove 22. When the hydraulic cylinder 16 drives the bottom plate 17 to move, the bottom plate 17 will drive the slider 19 to move, and the slider 19 will move up and down along the inside of the slide groove 20. The slide groove 20 will limit the movement of the slider 19. At the same time, the bottom plate 17 will drive the two clamping blocks 21 to move, and one end of the clamping block 21 will be stuck in the inside of the clamping groove 22 and move up and down, so that the bottom plate 17 remains stable during movement.
[0024] Example 2: Based on Example 1, this example describes the specific structure of the detection dish 6 and the rotating column 26. The top of the workbench 2 is fixedly connected to the fixed base 24. The fixed base 24 is provided with a stepping motor 25 inside. The top of the stepping motor 25 is fixedly connected to the rotating column 26. The top of the rotating column 26 is movably connected to the counterweight ring 30. The counterweight ring 30 is fixedly connected to multiple connecting rods 31 around the periphery. One end of the connecting rod 31 is fixedly connected to the detection dish 6. In order to ensure the accuracy of the test and avoid the sedimentation inside the sample tube 5 affecting the test structure, it is necessary to perform sampling tests at three depths, the upper, middle and lower depths of the sample tube 5. After the near-infrared spectrometer 3 completes the test of the first test dish 6, the electric push rod 27 is first started. The electric push rod 27 drives the movable column 28 to move upward, the movable column 28 drives the bottom ring 29 to move, the bottom ring 29 drives the counterweight ring 30 to move, the counterweight ring 30 drives the connecting rod 31 to move upward, and the connecting rod 31 drives the test dish 6 to move upward, so that the test dish 6 is separated from the interior of the fixed frame 301. Next, the stepper motor 25 is started, which drives the rotating column 26 to rotate. The rotating column 26 drives the connecting rod 31 to rotate through the movable column 28, the bottom ring 29 and the counterweight ring 30. After the rotating column 26 rotates 120 degrees, the next test dish 6 will be located above the fixed frame 301. Finally, the electric push rod 27 is started to move the test dish 6 downward into the fixed frame 301, making it easier for the suction device 4 to pour the next sample into the test dish 6 for testing. This allows for rapid and multiple tests with higher efficiency. Furthermore, a water inlet pipe 701 is fixedly connected to one end of the top of the cleaning box 7, and a water outlet pipe 702 is fixedly connected to one end of the bottom of the cleaning box 7. After the suction device 4 extracts the milk in the sample tube 5 into the testing dish 6, the suction device 4 is moved to the top of the cleaning box 7, and then the suction device 4 is moved downward into the cleaning box 7. By repeatedly pumping and releasing pure water in the cleaning box 7, the interior of the housing 401 is cleaned, thereby avoiding cross contamination affecting the test results, facilitating secondary sampling of the sample tube 5 by the suction device 4, and the operation is simple and convenient. Among them, one end of the water inlet pipe 701 is connected to the pure water bucket through a valve, and one end of the water outlet pipe 702 is connected to the wastewater recovery tank through a water pipe, so as to facilitate the replacement of the pure water inside the cleaning box 7; Furthermore, an electric push rod 27 is provided inside the rotating column 26. The top of the electric push rod 27 is contact-connected with a movable column 28. The top of the movable column 28 is fixedly connected to a bottom ring 29. The bottom ring 29 is fixedly connected to the bottom of the counterweight ring 30. A groove 33 is machined inside the electric push rod 27. The movable column 28 is movably connected inside the groove 33. A placement groove 32 is machined at the top of the groove 33. The bottom ring 29 is movably connected inside the placement groove 32. Two limiting grooves 35 are machined on both sides of the groove 33. Two limiting bars 34 are fixedly connected on both sides of the movable column 28. The limiting bars 34 are movably connected inside the limiting grooves 35. Among them, when the detection dish 6 is located inside the fixed frame 301, the bottom ring 29 will be located inside the placement groove 32. When the electric push rod 27 drives the movable column 28 to move, the movable column 28 will move along the inside of the groove 33. The movement of the groove 33 will drive the limit bar 34 to move. The limit bar 34 will move along the inside of the limit groove 35. The limit groove 35 will limit the movement of the limit bar 34, so that the movable column 28 remains stable during movement; when it is necessary to remove multiple detection dishes 6, the counterweight ring 30 is lifted upward, and the counterweight ring 30 will drive the bottom ring 29 and the movable column 28 to move, so that the movable column 28 is separated from the inside of the groove 33, thereby facilitating the removal of multiple detection dishes 6 for cleaning and replacement.
[0025] Example 3: Based on Example 1 and Example 2, this example introduces a food detection method, including the following steps: S1: When food milk needs to be tested, first pour the milk to be tested into the interior of the sample tube 5, and then place the sample tube 5 inside the limit frame 23; S2: Then the hydraulic cylinder 16 is started, which drives the bottom plate 17 downward, and the bottom plate 17 drives the suction device 4 downward, so that the suction port 402 is located inside the sample tube 5, thereby extracting the test liquid from the milk through the suction device 4; S3: The hydraulic cylinder 16 is activated again to separate the outer shell 401 from the interior of the sample tube 5. The first servo motor 10 is then activated. The first servo motor 10 drives the threaded rod 11 to rotate. The threaded rod 11 drives the threaded seat 12, the side plate 14, the crossbeam 15, the bottom plate 17 and the suction device 4 to move, so that the suction device 4 moves to the top of the test dish 6. The suction device 4 is then moved downward to squeeze the milk into the test dish 6. Finally, the near-infrared spectrometer 3 is turned on to test the milk in the test dish 6. The results are displayed within 1-2 minutes. Based on near-infrared spectroscopy technology, the absorption characteristics of milk at specific wavelengths of light are detected to quickly analyze the content of components such as protein, fat, and lactose. S4: Then, the suction device 4 is moved to allow the housing 401 to enter the cleaning box 7. The interior of the housing 401 is cleaned by the suction device 4 sucking and releasing pure water multiple times. S5: Restart the electric push rod 27, the movable column 28 will drive the counterweight ring 30 and the test dish 6 to move upward, so that the test dish 6 is separated from the interior of the fixed frame 301, and then start the stepper motor 25 again. The rotating column 26 will drive the counterweight ring 30 and the test dish 6 to rotate, and finally the next test dish 6 will be located inside the fixed frame 301, making it convenient for the suction device 4 to suck samples multiple times and pour them into multiple test dishes 6 for testing. Working principle: When it is necessary to test the food milk, first pour the milk to be tested into the interior of the sample tube 5, then place the sample tube 5 inside the limit frame 23, and then start the hydraulic cylinder 16, the hydraulic cylinder 16 will drive the bottom plate 17 to move downward, the bottom plate 17 will drive the suction device 4 to move downward, so that the suction port 402 is located inside the sample tube 5, so that the test liquid is extracted from the milk through the suction device 4, and then start the hydraulic cylinder 16 to separate the shell 401 from the interior of the sample tube 5, and then start the first servo motor 10, the first The servo motor 10 will drive the threaded rod 11 to rotate, and the threaded rod 11 will drive the threaded seat 12, side plate 14, cross beam 15, bottom plate 17 and suction device 4 to move, so that the suction device 4 moves to the top of the test dish 6, and then the suction device 4 moves downward to squeeze the milk into the test dish 6. Finally, the near-infrared spectrometer 3 is turned on to test the milk inside the test dish 6, and the results are displayed within 1-2 minutes. Based on near-infrared spectroscopy technology, by detecting the absorption characteristics of milk to light of specific wavelengths, the content of components such as protein, fat, and lactose can be quickly analyzed.
[0026] The above embodiments are only preferred embodiments of the present invention and cannot be used to limit the scope of protection of the present invention. Any non-substantial changes and replacements made by technicians in this field on the basis of the present invention fall within the scope of protection required by the present invention.
Claims
1. A food testing device, comprising a base (1) and a workbench (2), characterized in that: The workbench (2) is located on the top of the base (1), a near-infrared spectrometer (3) is placed on one end of the top of the workbench (2), a fixed frame (301) is provided on one end of the top of the near-infrared spectrometer (3), a detection dish (6) is provided inside the fixed frame (301), the top of the workbench (2) is fixedly connected to a limit frame (23), a sample cylinder (5) is provided inside the limit frame (23), and the other end of the top of the workbench (2) is fixedly connected to a cleaning box (7); The top of the base (1) is fixedly connected to two columns (8), the top of the columns (8) is fixedly connected to a fixing frame (9), one end of the fixing frame (9) is provided with a first servo motor (10), one end of the first servo motor (10) is fixedly connected to a threaded rod (11), one end of the threaded rod (11) is threadedly connected to a threaded seat (12), one end of the threaded seat (12) is fixedly connected to a side plate (14), the top of the side plate (14) is fixedly connected to a crossbeam (15), the bottom of the crossbeam (15) is fixedly connected to a hydraulic cylinder (16), and the bottom of the hydraulic cylinder (16) is fixedly connected to a bottom plate (17); Secondly, a second servo motor (18) is provided on the top of the base plate (17), and a suction device (4) is fixedly connected to the bottom of one end of the base plate (17). The suction device (4) includes a shell (401) and a liquid suction port (402), and the bottom of the shell (401) is fixedly connected to the top of the liquid suction port (402).
2. A food detection device according to claim 1, characterized in that: The bottom of the second servo motor (18) is fixedly connected to a screw rod (403), the bottom of the screw rod (403) is threadedly connected to a lifting column (404), the bottom of the lifting column (404) is fixedly connected to a sealing plug (405), and the sealing plug (405) is movably connected to the inside of the housing (401).
3. A food detection device according to claim 2, characterized in that: The top of the lifting column (404) is fixedly connected to a fixing ring (406), the bottom of the base plate (17) is fixedly connected to two guide rods (407), the guide rods (407) are located inside the housing (401), and the fixing ring (406) is movably connected to the outside of the guide rods (407).
4. A food detection device according to claim 1, characterized in that: A movable groove (13) is machined on one side of the fixing frame (9), the threaded rod (11) is rotatably connected to the inside of the movable groove (13), and the threaded seat (12) is movably connected to the inside of the movable groove (13).
5. A food detection device according to claim 1, characterized in that: One end of the bottom plate (17) is fixedly connected to a slider (19), one side of the side plate (14) is processed with a slide groove (20), and the slider (19) is movably connected inside the slide groove (20). Two ends of the bottom plate (17) are fixedly connected to two clamping blocks (21), and both ends of the side plate (14) are processed with a clamping groove (22), and the clamping block (21) is movably connected inside the clamping groove (22).
6. A food detection device according to claim 1, characterized in that: One end of the top of the cleaning box (7) is fixedly connected to a water inlet pipe (701), and one end of the bottom of the cleaning box (7) is fixedly connected to a water outlet pipe (702).
7. A food detection device according to claim 1, characterized in that: The top of the workbench (2) is fixedly connected to a fixed seat (24), a stepper motor (25) is arranged inside the fixed seat (24), the top of the stepper motor (25) is fixedly connected to a rotating column (26), the top of the rotating column (26) is movably connected to a counterweight ring (30), the counterweight ring (30) is fixedly connected to a plurality of connecting rods (31) around the periphery, and one end of the connecting rod (31) is fixedly connected to the detection dish (6).
8. A food detection device according to claim 7, characterized in that: An electric push rod (27) is provided inside the rotating column (26), the top of the electric push rod (27) is contact-connected with a movable column (28), the top of the movable column (28) is fixedly connected with a bottom ring (29), and the bottom ring (29) is fixedly connected to the bottom of the counterweight ring (30).
9. A food detection device according to claim 8, characterized in that: A groove (33) is machined inside the electric push rod (27), the movable column (28) is movably connected inside the groove (33), a placement groove (32) is machined on the top of the groove (33), the bottom ring (29) is movably connected inside the placement groove (32), two limiting grooves (35) are machined on both sides of the groove (33), two limiting bars (34) are fixedly connected on both sides of the movable column (28), and the limiting bars (34) are movably connected inside the limiting grooves (35).
10. A food detection method according to claim 1, characterized in that: A food detection device according to any one of claims 1 to 9, comprising the following steps: S1: When food (milk) needs to be tested, the milk to be tested is first poured into the interior of the sample cylinder (5), and then the sample cylinder (5) is placed inside the limit frame (23); S2: Then the hydraulic cylinder (16) is started, the hydraulic cylinder (16) drives the bottom plate (17) to move downward, and the bottom plate (17) drives the suction device (4) to move downward, so that the suction port (402) is located inside the sample cylinder (5), thereby extracting the test liquid from the milk through the suction device (4); S3: Start the hydraulic cylinder (16) again to separate the housing (401) from the interior of the sample tube (5), and then start the first servo motor (10). The first servo motor (10) will drive the threaded rod (11) to rotate, and the threaded rod (11) will drive the threaded seat (12), the side plate (14), the crossbeam (15), the bottom plate (17) and the suction device (4) to move, so that the suction device (4) moves to the top of the test dish (6). Then, the suction device (4) moves downward to squeeze the milk into the test dish (6). Finally, the near-infrared spectrometer (3) is turned on to test the milk inside the test dish (6), and the result is displayed within 1-2 minutes. S4: Then, the suction device (4) is moved so that the liquid suction port (402) enters the interior of the cleaning box (7), and the interior of the housing (401) is cleaned by the suction device (4) sucking and releasing pure water multiple times; S5: The electric push rod (27) is started again, and the movable column (28) drives the counterweight ring (30) and the test dish (6) to move upward, so that the test dish (6) is separated from the interior of the fixed frame (301). The stepper motor (25) is started again, and the rotating column (26) drives the counterweight ring (30) and the test dish (6) to rotate, and finally the next test dish (6) is located inside the fixed frame (301), which facilitates the suction device (4) to suck samples multiple times and pour them into the interior of multiple test dishes (6) for detection.