Pollen intelligent monitoring and analysis system and control method thereof
Through the combination of glass slides and image acquisition devices, the problems of sampling jitter and difficult data traceability in the pollen online monitoring system are solved, accurate detection of pollen concentration and recovery of glass slides are achieved, and the accuracy and reliability of the monitoring system are improved. .
Patent Information
- Application Number
- CN202410799240.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-20
AI Technical Summary
The existing pollen online monitoring system has jitter problems during the sampling process, resulting in inaccurate pollen concentration monitoring, and the sampling film tape cannot be recycled, making data traceability difficult.
An intelligent monitoring system that combines glass slides and image acquisition devices is used to achieve precise placement and transfer of glass slides through a rotating mechanism and fine-tuning mechanism. A through-type stepper motor and drive mechanism are used to improve the sealing of the sampling chamber and ensure that pollen does not enter the phase. adjacent to the sampling area, and adjust the air flow through PID control.
It achieves accurate detection of pollen concentration and quantity, avoids jitter during the sampling process, ensures the recovery and data traceability of glass slides, and improves the accuracy and reliability of the monitoring system.
Smart Images

Figure CN118376561B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of pollen monitoring, and in particular to a pollen intelligent monitoring and analysis system and a control method thereof. Background Art
[0002] Plants in bloom produce pollen, which is 15-30 μm in diameter, large in quantity and light in weight. It is easy to attach to aerosols and spread through the air, generally known as airborne pollen. When the allergenic protein components in airborne pollen are inhaled by the human body, symptoms of pollen allergy such as runny nose, tears, itchy skin, and asthma may occur.
[0003] In the prior art, a pollen online monitoring system (CN201510731452.1) is used to monitor pollen types and quantities, so as to remind relevant meteorological departments to issue relevant warning reminders and take measures to reduce pollen floating, so as to guide people with pollen allergies to reduce activities in areas with high pollen index and alleviate allergic symptoms.
[0004] When collecting pollen, the existing online pollen monitoring system uses a sampling film belt to sample pollen, and then uses a conveyor belt-like method to transport the sampling film belt to a microscope for photography. The left shaft then rolls up the film belt that has collected and observed the pollen sample. Although this method can achieve online monitoring of pollen, there will be jitter when the sampling film belt is transported by a conveyor belt. If the pollen collected on the sampling film belt is dense, the pollen will be shaken to two adjacent sampling areas on the sampling film belt, thereby affecting the refined collection of pollen concentration. The sampling film belt that has been photographed is rolled up, and the pollen on the film belt will interfere with each other, making the sampling film belt unable to be recycled, and the source cannot be traced when there is doubt in the collected data. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the prior art, the intelligent pollen monitoring and analysis system and control method thereof provided by the present invention solve the problem that the existing pollen monitoring device uses a sampling membrane belt to transmit pollen and there is jitter, resulting in inaccurate pollen concentration monitoring.
[0006] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is:
[0007] In a first aspect, a pollen intelligent monitoring and analysis system is provided, including a monitoring box, a control module and a support platform are arranged in the monitoring box, a glass slide storage rack for storing a plurality of non-overlapping glass slides, a pollen sampling component for inhaling external ambient air and collecting pollen in the air onto the glass slide inside the glass slide by a volumetric method, an image acquisition device for amplifying the pollen image on the glass slide and performing image acquisition, and a glass slide transport mechanism for grabbing the glass slide on the glass slide storage rack and moving it to the pollen sampling component and the image acquisition device;
[0008] The slide storage rack is arranged on the rotating mechanism, and the image acquisition device is provided with a fine-tuning mechanism for adjusting the slide in three directions of XYZ; the rotating mechanism, the pollen sampling assembly, the image acquisition device, the slide transport mechanism and the fine-tuning mechanism are all connected to the control module, and the control module is used to control the start and stop of the components connected thereto and to identify the image uploaded by the image acquisition device to obtain the concentration and / or the number of pollen, and to send the image and the concentration and / or the number of pollen to the external management end.
[0009] Furthermore, the pollen sampling assembly includes a bottom plate and a pollen sampling chamber formed by buckling a glass cover and a buffer plate, a vertical plate extending in a vertical direction is mounted on the bottom plate, the glass cover is fixed on the vertical plate, and a linear guide rail slidingly matched with the buffer plate is arranged on the vertical plate below the glass cover, and a through-type stepping motor is mounted on the bottom plate to buckle / separate the buffer plate and the glass cover;
[0010] A glass slide table is installed on the inner surface of the buffer plate and slides relative to the buffer plate along the X-axis direction; a driving mechanism is fixed on the glass slide cover and slides with the glass slide table; the top of the glass slide cover is connected to an air inlet pipe extending from the monitoring box to introduce outside air into and impact the glass slide, and an exhaust hole connected to the exhaust fan is installed on the side wall of the glass slide cover; the through-type stepper motor and the driving mechanism are both electrically connected to the control module.
[0011] Furthermore, a pressure plate is connected to the lower surface of the buffer plate through a plurality of optical axis screws, and the diameter of the hole on the pressure plate for the optical axis screw to pass through is larger than the diameter of the optical axis screw; the pressure plate is fixedly connected to the lead screw of the through-type stepper motor, and a spring is mounted on the optical axis screw between the pressure plate and the buffer plate.
[0012] Furthermore, the driving mechanism includes a driving motor fixed to the outer surface of the side wall of the glass slide cover, the screw shaft of the driving motor passes through the sealing plate and penetrates into the glass slide cover, a screw nut I is mounted on the screw shaft, and the screw nut I has a limit plate extending vertically toward the buffer plate; a limit groove is provided on the side of the glass slide placement table, and when the buffer plate is buckled with the glass slide cover, the limit plate extends into the limit groove; the driving motor is electrically connected to the control module.
[0013] Furthermore, the slide transfer mechanism includes a gripper and a rotating table that drives the gripper to rotate 360°, a support block is fixed on the rotating table, a first lifting mechanism that drives the gripper to rise and fall in a vertical direction is installed on the support block, a lifting platform is provided on the first lifting mechanism, a first moving mechanism that drives the gripper to move linearly on a horizontal plane is installed on the lifting platform, and the rotating table, the first lifting mechanism and the first moving mechanism are all connected to the control module.
[0014] Furthermore, the gripper includes a plate-like body fixed on the first moving mechanism, and the non-mounting end of the plate-like body is forked and U-shaped; the two arms of the U-shape are forked into at least two extension strips for supporting the glass slide, and the outermost extension strip is provided with an L-shaped groove that contacts the edge of the glass slide; the non-outermost extension strip is provided with a receiving groove with a length equal to the maximum width of the glass slide and used to support the glass slide.
[0015] Further, the image acquisition device includes a microscope without an eyepiece, a camera electrically connected to the control module is installed at the installation position of the eyepiece of the microscope, and the fine-tuning mechanism is installed on the arm of the microscope;
[0016] The fine adjustment mechanism includes a glass slide carrier, an L-shaped slide and a second lifting mechanism fixed on the mirror arm and used for lifting the stage with the microscope in the Z axis; the short side of the slide is provided with a boss parallel to its long side, the boss is located in a slide groove along the Y axis direction provided on the lower surface of the stage, the mounting plate of the long side of the slide extends upward from the side of the stage, and its top surface is located above the stage;
[0017] The slide table is fixed on the second moving mechanism on the mirror arm and slides in the slide groove through the second moving mechanism; a third moving mechanism with a glass slide carrier sliding along the X-axis direction is fixed on the side of the mounting plate facing the stage.
[0018] Furthermore, the glass slide carrier includes an L-shaped slide plate, the short side of which is fixed on the screw nut II of the third moving mechanism, and the long side of which extends along the length direction of the screw of the third moving mechanism, and a support plate with two cantilevers is fixedly installed thereon, and a card slot for loading glass slides is opened on the cantilever.
[0019] Furthermore, the control module includes a micro host and an electrical box that are interconnected, and the rotating mechanism, pollen sampling component, image acquisition device, glass slide transport mechanism and fine-tuning mechanism are all connected to the electrical box and the backup power supply; the micro host is embedded with an execution program for controlling the rotating mechanism, pollen sampling component, image acquisition device, glass slide transport mechanism and fine-tuning mechanism; the micro host is connected to an input module placed in the monitoring box, and the input module is used to adjust the embedded execution program; a display electrically connected to the micro host is fixed on the inner side of the door panel of the monitoring box.
[0020] Furthermore, the monitoring box is also provided with a temperature sensor, a humidity sensor, an air conditioner which keeps the internal temperature of the monitoring box constant at a preset temperature, and a dehumidifier which dehumidifies when the internal humidity of the monitoring box is greater than the preset humidity. The temperature sensor, humidity sensor, air conditioner and dehumidifier are all electrically connected to the control module.
[0021] In a second aspect, a control method for a pollen intelligent monitoring and analysis system is provided, which comprises the steps of:
[0022] C1, determining whether the pollen sampling assembly has completed pollen collection on at least one glass slide, if so, proceeding to step C2, otherwise proceeding to step C4;
[0023] C2, read the number of sampling areas of the glass slide in the pollen sampling assembly and the sampling time of the last sampling area, and calculate the difference between the cut-off sampling time of the last sampling area and the cut-off time of the total sampling time;
[0024] C3, when the difference is equal to zero, open the pollen sampling assembly, move the glass slide that has completed pollen collection to the position where it is initially stored on the glass slide storage rack, and then enter step C4; when the difference is greater than zero, enter step C4;
[0025] C4. At the sampling start time of the glass slide to be sampled, read the serial number of the glass slide to be sampled, and start the rotating mechanism to rotate the glass slide with the corresponding serial number on the glass slide storage rack to the grabbing side of the glass slide transfer mechanism;
[0026] C5. Start the slide transport mechanism to grab the slide with the corresponding serial number, and move it into the opened pollen sampling assembly, and close the pollen sampling assembly;
[0027] C6. The pollen sampling component moves the sampling area on the glass slide to align with the air inlet according to the number of sampling areas on the glass slide and the sampling time of each sampling area, and draws air to hit the corresponding area of the glass slide for pollen sampling.
[0028] Furthermore, the control method of the pollen intelligent monitoring and analysis system also includes:
[0029] D1, determine whether the last glass slide that has completed pollen collection is located on the grabbing side of the glass slide transport mechanism, if so, proceed to step D3; otherwise, proceed to step D2;
[0030] D2, start the rotating mechanism to rotate the slide storage rack, so that the previous slide that has completed pollen collection rotates to the grabbing side of the slide transport mechanism;
[0031] D3, grab the last glass slide that has completed pollen collection, and transfer it to the image acquisition device, and collect multiple image information for each sampling area of the glass slide in turn;
[0032] D4. When multiple image information has been collected for each sampling area of the slide, the slide is moved to the position where it was initially stored on the slide storage rack.
[0033] Furthermore, the control method of the pollen intelligent monitoring and analysis system also includes adaptively adjusting the air flow entering the pollen sampling component:
[0034] E1. When the exhaust fan delivers air to the pollen sampling assembly, collect the flow value at the air inlet of the pollen sampling assembly;
[0035] E2, determine whether the flow value is within the preset flow range, if so, go to step E7, otherwise go to step E3;
[0036] E3. Calculate the flow error value in the PID controller based on the flow value e , flow error cumulative value i and flow error change rate d :
[0037] e = s - f , i = i 0+ e , d = e - p
[0038] in, s Preset thresholds for traffic; f is the flow value; p is the last flow error value; i 0 is the accumulated flow error value corresponding to the last flow judgment;
[0039] E4. According to the flow error value, adjust the proportional coefficient corresponding to the flow in the PID controller q l , integral coefficient u l and the differential coefficient w l :
[0040] When e<1, q l = q l0 , u l = u l0 , w l = w l0 *0.5; when e≥1, q l = q l0 *2, u l = u l0 , w l = w l0 ;
[0041] in, q l0 is the proportional coefficient threshold; u l0 is the integral coefficient threshold; w l0 is the differential coefficient threshold;
[0042] E5. According to e , i and d and q l , u l and w l , update the output value of the PID controller corresponding to the flow rate out l :
[0043] out l = q l * e + u l * i + w l * d
[0044] E6. According to the output value out l , adjust the output power of the exhaust fan so that the flow value at the air inlet is within the preset flow range, and then return to step E1 after a preset time;
[0045] E7, flow error value e Reset to zero, and then return to step E1 after a preset time.
[0046] Furthermore, the control method of the pollen intelligent monitoring and analysis system also includes a method for preventing pollen sampling from stacking on a glass slide:
[0047] S1, obtaining multiple image information of each sampling area of the current slide, and preprocessing the image to obtain a grayscale image. The current slide is the most recent slide that has completed pollen sampling;
[0048] S2, calculating the gray value of each pixel in the gray image, and determining the count value of the pixel in the black area of each sampling area according to the gray value;
[0049] S3, judging whether all sampling ratios of the current slide are greater than 1 or whether the number of sampling areas of the current slide is less than the total number of initial sampling areas, if so, proceeding to step S6, otherwise, proceeding to step S4;
[0050] S4, according to the count value of each sampling area, update the output out1 of the PID controller, and update the sampling ratio Pr = sampling ratio Pr + out1;
[0051] S5. When Pr≥1, the sampling time of the sampling area corresponding to the next slide is equal to the sampling dwell time of the current slide. When Pr<1, the sampling time of the sampling area corresponding to the next slide = Ts×Pr;
[0052] S6, selecting the maximum value among the count values of all sampling areas of the current slide as the stacking degree feedback value;
[0053] S7. According to the stacking degree feedback value, update the output out2 of the PID controller, and update the number of sampling areas St=St+int(out2), where int is a rounding function;
[0054] S8. According to the total sampling time Cy of a single glass slide and the number of sampling areas St, update the sampling dwell time Ts=Cy / St of the sampling area of the next glass slide, and the sampling time of each sampling area is equal to Ts.
[0055] The beneficial effects of the present invention are as follows: this scheme adopts glass slides to collect pollen, and then cooperates with the glass slide transport mechanism to grab the glass slide to transfer the glass slide, and adopts a clamping method to transfer a single glass slide during the transport process. There is no jitter during the transfer process, which can prevent pollen from entering two adjacent sampling areas, thereby ensuring the accuracy of pollen concentration and quantity detection.
[0056] This solution places the slides that have completed image acquisition on a slide storage rack. There is no overlap between the slides, and the pollen on the slides will not affect each other. The slides can be recycled and stored. When data anomalies are found in subsequent scientific research, the slides used for acquisition can be found to facilitate traceability.
[0057] This solution uses a glass slide cover and a buffer plate to form a pollen sampling chamber. Combined with a through-type stepper motor, the buffer plate can be quickly raised and lowered to achieve rapid placement and removal of the glass slide. When the buffer plate is fully in contact with the glass slide cover, the through-type stepper motor that continues to move will continue to move upward with the pressure plate. The elastic force generated by the compression spring can apply a certain amount of pressure to the buffer plate to improve the sealing of the pollen sampling chamber, thereby preventing external air leakage from contaminating the sampled material and causing the actual flow at the nozzle to be less than the set value. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 This is a three-dimensional image of the pollen intelligent monitoring and analysis system with the cabinet door opened.
[0059] Figure 2 A stereoscopic diagram of a slide storage rack, a pollen sampling assembly, an image acquisition device, and a slide transport mechanism installed on a support platform.
[0060] Figure 3 This is a three-dimensional view of the pollen sampling assembly when the buffer plate is in an open state.
[0061] Figure 4 This is a cross-sectional view of the pollen sampling assembly when the buffer plate is in the open state.
[0062] Figure 5 for Figure 4 Enlarged view of part A in the middle.
[0063] Figure 6 A three-dimensional image of a slide storage rack.
[0064] Figure 7 It is a stereoscopic diagram of the slide transport mechanism.
[0065] Figure 8 for Figure 7 Enlarged view of part B in the middle.
[0066] Fig. 9 It is a stereoscopic diagram of the image acquisition device.
[0067] Fig.10 for Fig. 9 Enlarged view of part C in the middle.
[0068] Fig.11 for Figure 1 A three-dimensional image of the pollen intelligent monitoring and analysis system after removing the upper plate inside the box.
[0069] Fig.12 The figure is a flow chart of the control method of the pollen intelligent monitoring and analysis system.
[0070] Among them, 1. monitoring box; 11. door panel; 12. support foot; 13. support platform; 2. glass slide storage rack; 21. connecting shaft; 22. platform plate; 221. support arm; 2211. protrusion; 3. rotating mechanism; 4. pollen sampling assembly; 41. pollen sampling chamber; 411. glass slide cover; 4111. exhaust hole; 412. buffer plate; 4121. optical axis screw; 4122. pressure plate; 413. glass slide placement table; 4131. limiting groove; 4132. sliding block; 4133. glass slide limiting plate; 414. air intake pipe; 415. Hall sensor; 42. bottom plate; 421. vertical plate; 422. through-type stepping motor; 43. driving mechanism; 431. driving motor; 432. screw shaft; 433. screw nut I; 4331. limiting plate;
[0071] 5. Image acquisition device; 51. Microscope; 511. Mirror arm; 52. Camera; 53. Stage; 6. Fine-tuning mechanism; 61. Slide carrier; 611. Slide plate; 612. Support plate; 6121. Cantilever; 62. Slide; 621. Mounting plate; 63. Second lifting mechanism; 64. Second moving mechanism; 65. Third moving mechanism; 651. Screw nut II; 7. Control module; 71. Display; 72. Electrical box; 73. Backup power supply; 74. Input module; 75. Dehumidifier; 8. Glass slide; 9. Glass slide transport mechanism; 91. Gripper; 911. Plate-shaped body; 912. Extension strip; 92. Rotating table; 93. Support block; 94. First lifting mechanism; 95. Lifting table; 96. First moving mechanism. DETAILED DESCRIPTION
[0072] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.
[0073] like Figure 1 and Fig.11 As shown, the pollen intelligent monitoring and analysis system provided by the present solution includes a monitoring box 1. Preferably, the monitoring box 1 is a box body having an openable and closable door panel 11, and a plurality of supporting feet 12 are arranged at the bottom thereof so that the monitoring box 1 is at a certain distance from the ground to reduce the interference of the ground environment to the monitoring box 1.
[0074] like Figure 2 As shown, a control module 7 and a support platform 13 are provided in the monitoring box 1, on which are installed a glass slide storage rack 2 for storing a plurality of non-overlapping glass slides 8, a pollen sampling assembly 4 for inhaling external ambient air and collecting pollen in the air onto the glass slide 8 inside the glass slide 8 by a volumetric method, an image acquisition device 5 for amplifying the pollen image on the glass slide 8 and performing image acquisition, and a glass slide transport mechanism 9 for grabbing the glass slide 8 on the glass slide storage rack 2 and moving it to the pollen sampling assembly 4 and the image acquisition device 5.
[0075] like Figure 6 As shown, the slide storage rack 2 is arranged on the rotating mechanism 3. The rotating mechanism 3 can adopt a relatively mature high-precision electric turntable in the prior art, or a servo electric drive worm gear, and then transmit power to a platform fixed on the worm gear, and the slide storage rack 2 is placed on the platform.
[0076] The slide storage rack 2 is a multi-layer structure formed by connecting a plurality of platform plates 22 together through a connecting shaft 21; in this solution, preferably, arms 221 for placing the slides 8 are provided in four directions on each platform plate 22, and the arms 221 have protrusions 2211 for preventing the slides 8 from slipping off. In this solution, the structure for placing the slides 8 on the platform plate 22 is set as the arms 221, which can facilitate the slide transport mechanism 9 to lift the slides 8 from below the slides 8, so as to complete the taking and placing of the slides 8.
[0077] like Fig. 9 As shown, the image acquisition device 5 is provided with a fine adjustment mechanism 6 for adjusting the slide 8 in three directions of X, Y and Z. The X-axis and Y-axis mentioned in this solution are located on the horizontal plane, and the Z-axis is located on the vertical plane. For details, please refer to Figure 4 The image acquisition device 5 includes a microscope 51 without an eyepiece, a camera 52 electrically connected to the control module 7 is installed at the installation position of the eyepiece of the microscope 51, and the fine-tuning mechanism 6 is installed on the arm 511 of the microscope 51.
[0078] The fine-tuning mechanism 6 includes a glass slide carrier 61, an L-shaped slide 62 and a second lifting mechanism 63 fixed on the mirror arm 511 and used to lift and lower the stage 53 with the microscope 51 in the Z axis; the short side of the slide 62 is provided with a boss parallel to its long side, and the boss is located in a slide groove along the Y axis direction opened on the lower surface of the stage 53; the mounting plate 621 of the long side of the slide 62 extends upward from the side of the stage 53, and its top surface is located above the stage 53.
[0079] The slide 62 is fixed on the second moving mechanism 64 on the mirror arm 511 and slides in the slide groove through the second moving mechanism 64; a third moving mechanism 65 is fixed on the side of the mounting plate 621 facing the stage 53, which carries the glass slide carrier 61 to slide along the X-axis direction.
[0080] like Fig.10 As shown, the glass slide carrier 61 includes an L-shaped slide plate 611, the short side of the slide plate 611 is fixed on the screw nut II 651 of the third moving mechanism 65, and the long side of the slide plate extends along the length direction of the screw of the third moving mechanism 65, and a support plate 612 with two cantilevers 6121 is fixedly installed thereon, and a card slot for loading the glass slide 8 is opened on the cantilever 6121.
[0081] The second lifting mechanism 63 of the image acquisition device 5 can use an electric push rod, or a servo motor to drive the worm gear to rotate, and the power is transmitted to the worm with threads in the middle and upper sections, so that when the worm rotates, it can slide the nut of its threaded section up and down to drive the stage 53 connected to the nut to move up and down; the second lifting mechanism 63 can also be combined with the original gear rack lifting mechanism of the microscope, and the original right coarse and fine focusing knob is replaced with a stepping motor to perform the up and down automatic focusing function of the stage. The second moving mechanism 64 and the third moving mechanism 65 both use a motor screw nut structure, which is a relatively mature structure in the prior art and will not be described here.
[0082] The rotating mechanism 3, the pollen sampling assembly 4, the image acquisition device 5, the slide transport mechanism 9 and the fine-tuning mechanism 6 are all connected to the control module 7. The control module 7 is used to control the start and stop of the components connected thereto and to identify the image uploaded by the image acquisition device 5 to obtain the concentration and / or the number of pollen, and to send the image and the concentration and / or the number of pollen to the external management terminal.
[0083] This solution obtains the concentration and / or number of pollen through image recognition, which is achieved by using relatively mature image recognition methods in the prior art, or by using a trained neural network model; these are relatively mature technologies in the prior art and will not be described in detail here.
[0084] Reference again Figure 1 The control module 7 includes a micro host and an electrical box 72 which are connected to each other. The rotating mechanism 3, the pollen sampling assembly 4, the image acquisition device 5, the slide transport mechanism 9 and the fine-tuning mechanism 6 are all connected to the electrical box 72 and the backup power supply 73; the backup power supply 73 can provide a short-time power supply when the pollen intelligent monitoring and analysis system suddenly loses power, so as to save the data being run or processed, and avoid the loss of part of the data being identified due to sudden power failure.
[0085] The micro host is embedded with an execution program for controlling the rotating mechanism 3, the pollen sampling component 4, the image acquisition device 5, the slide transport mechanism 9 and the fine-tuning mechanism 6; the micro host is connected to an input module 74 placed in the monitoring box 1, and the input module 74 is used to adjust the embedded execution program; the inner side of the door panel 11 of the monitoring box 1 is fixed with a display 71 electrically connected to the micro host.
[0086] The setting of the input module 74 and the display 71 can facilitate the management personnel to update the execution program inside the micro host to ensure that the rotating mechanism 3, the pollen sampling component 4, the image acquisition device 5, the slide transport mechanism 9 and the fine-tuning mechanism 6 use the best method to perform pollen intelligent monitoring.
[0087] The monitoring box 1 is also provided with a temperature sensor, a humidity sensor, an air conditioner for maintaining the internal temperature of the monitoring box 1 at a preset temperature, and a dehumidifier 75 for dehumidifying when the internal humidity of the monitoring box 1 is greater than the preset humidity. The temperature sensor, humidity sensor, air conditioner and dehumidifier 75 are all electrically connected to the control module 7.
[0088] The air conditioner can make each component in the monitoring box 1 work at a constant temperature, ensuring the normal operation of each component in a sealed environment. The dehumidifier 75 can remove water vapor in the monitoring box 1 to avoid affecting the operation of various internal electrical components in relatively humid weather.
[0089] like Figure 3 As shown, the pollen sampling assembly 4 provided in the present scheme includes a base plate 42 and a pollen sampling chamber 41 formed by snapping a glass cover 411 and a buffer plate 412, a vertical plate 421 extending in a vertical direction is mounted on the base plate 42, the glass cover 411 is fixed on the vertical plate 421, and a linear guide rail slidingly matched with the buffer plate 412 is provided on the vertical plate 421 below the glass cover 411, wherein the linear guide rail is arranged in a vertical direction, and the buffer plate 412 is fixed on a slider of the linear guide rail.
[0090] A through-type stepping motor 422 is mounted on the bottom plate 42 and is provided with a buffer plate 412 for engaging with or separating the glass cover 411 .
[0091] A glass slide table 413 is installed on the inner surface of the buffer plate 412 and slides relative to the buffer plate 412 along the X-axis direction; a driving mechanism 43 is fixed on the glass slide cover 411 and slides with the glass slide table 413; the top of the glass slide cover 411 is connected to an air inlet pipe 414 that introduces external air and impacts the glass slide 8, and the end of the air inlet pipe 414 located in the pollen sampling chamber 41 is connected to a rectangular sampling nozzle; an exhaust hole 4111 connected to an exhaust fan is installed on the side wall of the glass slide cover 411.
[0092] like Figure 5 As shown, the lower surface of the buffer plate 412 is connected to a pressure plate 4122 via a plurality of optical axis screws 4121, and the diameter of the hole on the pressure plate 4122 for the optical axis screws 4121 to pass through is larger than the diameter of the optical axis screws 4121; the pressure plate 4122 is fixedly connected to the lead screw of the through-type stepping motor 422, and a spring is mounted on the optical axis screws 4121 between the pressure plate 4122 and the buffer plate 412.
[0093] After adopting the above structure, the present solution can drive the step-by-step movement of the two components through a power component (through-type stepping motor 422), which can not only ensure the accurate alignment and fastening of the glass cover 411 and the buffer plate 412, but also apply pressure to the fastened buffer plate 412 through the spring, thereby improving the sealing of the pollen sampling chamber 41.
[0094] like Figure 4 As shown, the driving mechanism 43 includes a driving motor 431 fixed to the outer surface of the side wall of the glass cover 411, the screw shaft of the driving motor 431 passes through the sealing plate and penetrates into the glass cover 411, the screw shaft 432 is provided with a screw nut I 433, and the screw nut I 433 has a limit plate 4331 extending vertically toward the buffer plate 412; a limit groove 4131 is provided on the side of the glass placement table 413, and when the buffer plate 412 is buckled with the glass cover 411, the limit plate 4331 extends into the limit groove 4131.
[0095] In this solution, the driving mechanism 43 and the parts that need to be moved by it are arranged on two split structures. In this way, when the through-type stepper motor 422 is working, it only needs to move the parts with relatively light mass, and the through-type stepper motor 422 with relatively large power is not needed, which reduces the equipment cost investment to a certain extent; furthermore, in this solution, the driving motor 431 is arranged on the outside of the glass cover 411, which can prevent pollen from adhering to the driving motor 431 and affecting the driving motor 431, and can also greatly reduce the internal volume of the pollen sampling chamber 41.
[0096] When the glass slide placement table 413 is moved, the present solution uses the ingenious coordination between the limiting groove 4131 and the limiting plate 4331, which are in contact but not fixed. This not only enables the glass slide placement table 413 located on the buffer plate 412 to quickly coordinate with the screw shaft 432 for movement, but also when the buffer plate 412 descends, the limiting plate 4331 and the limiting groove 4131 can be quickly separated without damaging the structure of the screw shaft 432.
[0097] During implementation, the present scheme preferably adopts a glass slide placement table 413 including a sliding block 4132 and a glass slide limiting plate 4133 fixed on the sliding block 4132, wherein the lower surface of the sliding block 4132 adjacent to the vertical plate 421 is provided with a strip groove along the X direction that cooperates with the linear guide rail on the bottom plate 42, and the glass slide limiting plate 4133 is provided with a groove body for placing the glass slide 8, and the bottom of the groove body has a hollow structure for avoiding the gripper 91 for transporting the glass slide 8; the limiting groove 4131 is provided on the extension plate of the glass slide limiting plate 4133 toward the driving motor 431; wherein the height of the sliding block 4132 is greater than the thickness of the gripper 91 for transporting the glass slide 8.
[0098] The linear guide rail is installed tightly against the wall of the strip groove, and a certain friction resistance will be generated after installation to prevent the sliding block 132 from moving due to slight shaking and affecting the positioning of the limit groove. Limits are set at both ends of the linear guide rail on the base plate 42 to prevent the sliding block 4132 from falling off.
[0099] The sliding block 4132 can create a certain distance between the glass slide limiting plate 4133 and the buffer plate 412, so that the gripper 91 for transporting the glass slide 8 can smoothly enter under the glass slide limiting plate 4133 to place the glass slide 8 in the open slot.
[0100] During implementation, the present scheme preferably configures the upper portion of the limit groove 4131 to be a trumpet-shaped mouth that widens outward, with the wall surface at the lower end perpendicular to the glass slide placement table 413, and the width of the lower end equal to the thickness of the limit plate 4331; the upper structure can ensure that the limit plate 4331 accurately enters the limit groove 4131, and the lower structure can prevent the glass slide placement table 413 and the screw nut I 433 from loosening during movement, thereby affecting the precise control of the displacement of the glass slide 8.
[0101] During implementation, this solution preferably has a magnet embedded on the side of the screw nut I 433 opposite to the limit plate 4331, and a Hall sensor 415 electrically connected to the control module 7 is installed on the side wall of the glass cover 411. The magnet and the Hall sensor 415 cooperate to limit the movement of the screw nut I 433.
[0102] like Figure 7 As shown, the slide transfer mechanism 9 includes a gripper 91 and a rotating table 92 that drives the gripper 91 to rotate 360°, a support block 93 is fixed on the rotating table 92, a first lifting mechanism 94 that drives the gripper 91 to rise and fall in the vertical direction is installed on the support block 93, a lifting platform 95 is arranged on the first lifting mechanism 94, a first moving mechanism 96 that drives the gripper 91 to move linearly on a horizontal plane is installed on the lifting platform 95, and the rotating table 92, the first lifting mechanism 94 and the first moving mechanism 96 are all connected to the control module 7.
[0103] The structure of the rotating table 92 and the rotating mechanism 3 can be completely the same, or slightly simplified, and a servo motor can be directly used to rotate the rotating table; the first lifting mechanism 94 and the first moving mechanism 96 both use a motor screw nut structure.
[0104] like Figure 8 As shown, the gripper 91 includes a plate-like body 911 fixed on the first moving mechanism 96, and the non-mounting end of the plate-like body 911 is forked and U-shaped; the two arms of the U-shape are forked into at least two extension bars 912 for holding up the glass slide 8, and the outermost extension bar 912 is provided with an L-shaped groove that contacts the edge of the glass slide 8; the non-outermost extension bar 912 is provided with a receiving groove with a length equal to the maximum width of the glass slide 8 for holding up the glass slide 8. In this solution, the length of the outermost extension bar 912 is preferably less than the length of the remaining extension bars 912.
[0105] After the gripper 91 is set to the above structure, the L-shaped groove and the receiving groove can stably limit the glass slide 8, so that when the glass slide 8 is transported, the glass slide 8 can be prevented from sliding or shaking, so as to avoid the pollen adhered to the glass slide 8 from running around.
[0106] refer to Fig.12 , which shows a flow chart of a control method of a pollen intelligent monitoring and analysis system; Figure 1 As shown, method C includes steps C1 to C6.
[0107] In step C1, it is determined whether the pollen sampling assembly 4 has completed the pollen collection of at least one glass slide 8. If so, the process proceeds to step C2, otherwise, the process proceeds to step C4;
[0108] In step C2, the number of sampling areas of the glass slide 8 in the pollen sampling assembly 4 and the sampling duration of the last sampling area are read, and the difference between the cut-off sampling time of the last sampling area and the cut-off time of the total sampling time is calculated;
[0109] In step C3, when the difference is equal to zero, the pollen sampling assembly 4 is opened, and the glass slide 8 on which pollen collection is completed is moved to the position where it is initially stored on the glass slide storage rack 2, and then step C4 is entered; when the difference is greater than zero, step C4 is entered;
[0110] In step C4, at the sampling start time of the glass slide 8 to be sampled, the serial number of the glass slide 8 to be sampled is read, and the rotating mechanism 3 is started to rotate the glass slide 8 with the corresponding serial number on the glass slide storage rack 2 to the grabbing side of the glass slide transfer mechanism 9;
[0111] In step C5, the slide transport mechanism 9 is started to grab the slide 8 with the corresponding serial number, and move it into the opened pollen sampling assembly 4, and the pollen sampling assembly 4 is closed;
[0112] In step C6, the pollen sampling component 4 moves the sampling area on the glass slide 8 to align with the air inlet according to the number of sampling areas on the glass slide 8 and the sampling time of each sampling area, and draws air to hit the corresponding area of the glass slide 8 for pollen sampling.
[0113] In one embodiment of the present invention, the control method of the pollen intelligent monitoring and analysis system further includes:
[0114] D1, determine whether the last glass slide 8 that has completed pollen collection is located at the grabbing side of the glass slide transport mechanism 9, if so, proceed to step D3; otherwise, proceed to step D2;
[0115] D2, start the rotating mechanism 3 to rotate the slide storage rack 2, so that the previous slide 8 on which pollen collection has been completed is rotated to the grabbing side of the slide transport mechanism 9;
[0116] D3, grab the glass slide 8 on which pollen collection has been completed, and transport it to the image acquisition device 5, and collect multiple image information for each sampling area of the glass slide 8 in turn;
[0117] D4. When the collection of multiple images has been completed for each sampling area of the glass slide 8, the glass slide 8 is moved to the position where it is initially stored on the glass slide storage rack 2.
[0118] This solution uses a glass slide 8 to collect pollen, and then cooperates with the glass slide transfer mechanism 9 to grab the glass slide 8 to transfer the glass slide 8. During the transportation process, a clamping method is used to transfer a single glass slide 8. There is no jitter during the transfer process, which can prevent pollen from entering two adjacent sampling areas, thereby ensuring the accuracy of pollen concentration and type detection.
[0119] In the implementation process, the control method of the preferred pollen intelligent monitoring and analysis system of this scheme also includes adaptively adjusting the air flow entering the pollen sampling component 4:
[0120] E1. When the exhaust fan delivers air to the pollen sampling assembly 4, the flow value at the air inlet of the pollen sampling assembly 4 is collected;
[0121] E2, determine whether the flow value is within the preset flow range, if so, go to step E7, otherwise go to step E3;
[0122] E3. Calculate the flow error value in the PID controller based on the flow value e , flow error cumulative value i and flow error change rate d :
[0123] e = s - f , i = i 0+ e , d = e - p
[0124] in, s Preset thresholds for traffic; f is the flow value; p is the last flow error value; i 0 is the accumulated flow error value corresponding to the last flow judgment;
[0125] E4. According to the flow error value, adjust the proportional coefficient corresponding to the flow in the PID controller q l , integral coefficient ul and the differential coefficient w l :
[0126] When e<1, q l = q l0 , u l = u l0 , w l = w l0 *0.5; when e≥1, q l = q l0 *2, u l = u l0 , w l = w l0 ;
[0127] in, q l0 is the proportional coefficient threshold; u l0 is the integral coefficient threshold; w l0 is the differential coefficient threshold;
[0128] E5. According to e , i and d and q l , u l and w l , update the output value of the PID controller corresponding to the flow rate out l :
[0129] out l = q l * e + u l * i + w l * d
[0130] E6. According to the output value out l, adjust the output power of the exhaust fan so that the flow value at the air inlet is within the preset flow range, and then return to step E1 after a preset time;
[0131] E7, flow error value e Reset to zero, and then return to step E1 after a preset time.
[0132] Since the pollen intelligent monitoring and analysis system of this scheme is placed outdoors for pollen collection, the outdoor air is affected by airflow and wind speed, which will affect the gas flow entering the pollen sampling chamber 41, thereby affecting the collected pollen concentration; in order to avoid interference from the external environment, this scheme collects the intake air flow to determine whether the airflow entering the pollen sampling chamber 41 is unstable, and adjusts the output power of the exhaust fan to ensure that the incoming air flow is within a certain range.
[0133] Since there are differences in the types of plants that bloom in different seasons, there are also large differences in the concentration of pollen in the air. For example, in spring, there are many flowering plants and the pollen concentration in the air is high. If the collection time is relatively long, the pollen on the slide 8 will overlap, affecting the accurate identification of the pollen concentration or quantity.
[0134] In this regard, the control method of the pollen intelligent monitoring and analysis system of the present solution also includes a method for preventing pollen sampling from stacking on the glass slide 8, and the method S includes steps S1 to S8.
[0135] This solution divides the entire sampling area on the slide 8 into 30 small sampling areas. During the anti-stacking process, a virtual coordinate system will be established for the slide 8, and the coordinate information of each sampling area will be recorded when scanning and photographing. After the first sampling, a sampling result image will be obtained, and the sampling area to which the image belongs can be determined based on the X-axis information of the image coordinates. For example, the X-axis range between 46-50 is sampling area 1, and the X-axis range between 41-45 is sampling area 2. The calculation formula for the minimum X-axis range Xmin and the maximum X-axis range Xmax of any sampling area n is: Xmin=46-5*n; Xmax=50-5*n.
[0136] In this scheme, at the initial moment of sampling, the total sampling time of a single glass slide 8 is one day, and the initial value of the sampling residence time = 24h / N, where N is the total number of initial sampling areas; when pollen sampling is performed, the start time of pollen sampling in each sampling area is counted, and when the timing time is equal to the corresponding sampling time, sampling of the sampling area is stopped.
[0137] After the first sampling and scanning, a picture of each sampling area can be obtained, and the anti-stacking control method of this scheme can be used to adjust the sampling step size of the next slide 8 and the total number of sampling areas to avoid stacking or excessive dispersion of pollen in each sampling area.
[0138] In step S1, multiple image information of each sampling area of the current glass slide 8 is obtained, and the image is preprocessed to obtain a grayscale image. The current glass slide is the most recent glass slide 8 on which pollen sampling has been completed.
[0139] This solution preferably collects 5 pictures in each sampling area, specifically, each sampling area is divided into 5 equal parts, and one picture is collected in each part of each area.
[0140] In step S2, the grayscale value of each pixel in the grayscale image is calculated, and the count value of the pixel in the black area of each sampling area is determined according to the grayscale value;
[0141] During implementation, the preferred step S2 of this solution further includes:
[0142] S21. Calculate the gray value Gray of each pixel in the gray image:
[0143] Gray=0.299*R+0.587*G+0.114*B
[0144] Among them, R, G, and B are the values of the red, green, and blue channels of each pixel in the grayscale image;
[0145] S22, setting the pixel points whose grayscale value is less than the grayscale threshold to zero, and setting the pixel points whose grayscale value is greater than or equal to the grayscale threshold to 255;
[0146] S23, counting the total number of zero pixels in the same grayscale image, and calculating the average value of the total number of pixels of all grayscale images in the same sampling area as the count value.
[0147] In step S3, it is determined whether all sampling ratios of the current slide 8 are greater than 1 or whether the number of sampling areas of the current slide 8 is less than the total number of initial sampling areas. If so, it proceeds to step S6, otherwise, it proceeds to step S4;
[0148] In step S4, the output out1 of the PID controller is updated according to the count value of each sampling area, and the sampling ratio Pr is updated = sampling ratio Pr + out1;
[0149] In one embodiment of the present invention, the method for updating the output out1 of the PID controller includes:
[0150] S41. Calculate the error value Errvalue, the error accumulation value Intvalue and the error change rate Dervalue in the PID controller according to the count value of the sampling area:
[0151] Errvalue=Setvalue–Curvalue
[0152] Intvalue=Intvalue0+Errvalue
[0153] Dervalue=Errvalue–Preverror
[0154] Among them, Setvalue is the preset threshold; Curvalue is the count value; Preverror is the error correction value; Intvalue0 is the error accumulation value of the sampling area corresponding to the previous slide;
[0155] During implementation, the preferred method for obtaining the error correction value of this scheme includes:
[0156] B1, determine whether the error values of at least two slides 8 have been recorded before the current slide 8 is collected in the current month; if so, proceed to step B2, otherwise proceed to step B4;
[0157] B2, calculating the average value of the error values of all slides 8 in the current month corresponding to the same sampling area of the current slide 8;
[0158] B3, obtaining the error value of the sampling area corresponding to the previous slide 8 of the current sampling area of the current slide 8, and calculating the average of the error value and the average value as the final error correction value;
[0159] B4. Use the error value of the previous glass slide 8 corresponding to the same sampling area of the current glass slide 8 as the error correction value.
[0160] S42, according to the error value and the preset threshold, determine the proportional coefficient Kp, integral coefficient Ki and differential coefficient Kd in the PID controller:
[0161] When abs(Errvalue-Setvalue) <Th1:Kp=0,Ki=0,Kd=0;
[0162] When Th1 <abs(Errvalue-Setvalue)<Th2:Kp=Kp0,Ki=10*Ki0,Kd=Kd0;
[0163] When Th2 <abs(Errvalue-Setvalue):Kp=10*Kp0,Ki=Ki0,Kd=Kd0;
[0164] Where abs(.) is the absolute value function; Th1 and Th2 are the upper and lower thresholds, respectively; Kp0, Ki0, and Kd0 are the proportional coefficient, integral coefficient, and differential coefficient of the sampling area corresponding to the previous slide, respectively;
[0165] S43. Update the output out1 of the PID controller according to Errvalue, Intvalue, Dervalue, Kp, Ki and Kd:
[0166] Out1=Kp*Errvalue+Ki*Intvalue+Kd*Dervalue.
[0167] In order to improve the prediction performance of the present solution for the future, the present solution preferably further includes between step S42 and step S43:
[0168] A1, determine whether at least one glass slide 8 has been collected before the current glass slide 8 is collected in the current month, if so, proceed to step A2, otherwise directly proceed to step S43;
[0169] A2. Increase the differential coefficient Kd obtained in step S42 by a preset multiple, and then proceed to step S43.
[0170] In step S5, when Pr≥1, the sampling time of the sampling area corresponding to the next slide 8 is equal to the sampling dwell time of the current slide 8; when Pr<1, the sampling time of the sampling area corresponding to the next slide 8=Ts×Pr.
[0171] In step S6, the maximum value among the count values of all sampling areas of the current slide 8 is selected as the stacking degree feedback value;
[0172] In step S7, according to the stacking degree feedback value, the output out2 of the PID controller is updated, and the number of sampling areas St=St+int(out2) is updated, where int is a rounding function;
[0173] Methods for updating the output out2 of the PID controller include:
[0174] S71. According to the stacking degree feedback value of the current slide 8, the stacking error value Errvalue2, the stacking error cumulative value Intvalue2 and the stacking error change rate Dervalue2 in the PID controller are calculated:
[0175] Errvalue2=Setvalue2–Curvalue2
[0176] Intvalue2=Intvalue20+Errvalue2
[0177] Dervalue2=Errvalue2–Intvalue20
[0178] Among them, Curvalue2 is the stacking degree feedback value; Setvalue2 is the preset parameter value; Intvalue20 is the stacking error value corresponding to the last update of the sampling dwell time;
[0179] S72, update the stack proportional coefficient Kp2, the stack differential coefficient Ki2 and the stack integral coefficient Kd2:
[0180] When Curvalue2 <Thmin:Kp2=10*Kp2,Ki2=Ki2,Kd2=0;
[0181] When Thmin≤Curvalue2 <Thmax:Kp2=0,Ki2=Ki2,Kd2=0;
[0182] When Thmax≤Curvalue2: Kp2=10*Kp2, Ki2=Ki2, Kd2=0;
[0183] Among them, Kp20 and Ki20 are the stacking proportion coefficient and stacking differential coefficient corresponding to the last updated sampling residence time; Thmin and Thmax are the lower limit and upper limit of the stacking degree threshold respectively;
[0184] S73, calculate the output out2 of the PID controller:
[0185] Out2=Kp2*Errvalue2+Ki2*Intvalue2+Kd2*Dervalue2.
[0186] In step S8, according to the total sampling time Cy of a single glass slide 8 and the number of sampling areas St, the sampling dwell time Ts=Cy / St of the sampling area of the next glass slide 8 is updated, and the sampling time of each sampling area is equal to Ts.
[0187] This solution determines the number of pixels in the black area of the sampling area by the grayscale value of the pixels in the image of the sampling area, and then adjusts the sampling ratio of each sampling area based on the conditions set in step S3 and the output of the PID controller when the conditions are not met, so as to avoid overlapping pollen collected in the sampling areas. When the conditions are met, the number of sampling areas is adjusted to avoid too many sampling areas, which makes the pollen in the sampling areas too scattered; or too few sampling areas, which will cause pollen overlap no matter how the sampling ratio is adjusted.
[0188] This solution analyzes the overlap and dispersion of pollen on the glass slide 8 that has recently completed pollen collection, and adjusts the sampling residence time or the number of sampling areas in each sampling area to avoid the situation where pollen is stacked or too dispersed again when the next glass slide 8 is used for pollen sampling, affecting the accurate statistics of the pollen number, thereby ensuring the accuracy of subsequent pollen number statistics and pollen contour recognition.
[0189] After sampling of a glass slide 8 is completed, this scheme executes steps S1 to S8 once. The whole method includes several steps S1 to S8. For example, the algorithm is terminated once after executing 30 times. After that, when the control method of this scheme is started, all parameters are initialized.
[0190] In summary, the pollen intelligent monitoring and analysis system and its control method can realize the accurate collection of pollen concentration. It can also prevent interference from the external environment during the collection process. At the same time, when the pollen concentration in the air is high, pollen will pile up.
Claims
1. Pollen intelligent monitoring and analysis system, including a monitoring box, characterized in that: The monitoring box is provided with a control module and a support platform, on which a glass slide storage rack for storing a plurality of non-overlapping glass slides, a pollen sampling assembly for inhaling external ambient air and collecting pollen in the air onto the glass slide inside the monitoring box by a volumetric method, an image acquisition device for amplifying the pollen image on the glass slide and then acquiring the image, and a glass slide transport mechanism for grabbing the glass slide on the glass slide storage rack and moving it to the pollen sampling assembly and the image acquisition device are installed; The slide storage rack is arranged on the rotating mechanism, and the image acquisition device is provided with a fine-tuning mechanism for adjusting the slide in three directions of XYZ; the rotating mechanism, the pollen sampling assembly, the image acquisition device, the slide transport mechanism and the fine-tuning mechanism are all connected to the control module, and the control module is used to control the start and stop of the components connected thereto and to identify the image uploaded by the image acquisition device to obtain the concentration and / or the number of pollen, and to send the image and the concentration and / or the number of pollen to the external management terminal; The control module includes a micro host and an electrical box connected to each other, and the rotating mechanism, pollen sampling assembly, image acquisition device, glass slide transport mechanism and fine adjustment mechanism are all connected to the electrical box and the backup power supply; the micro host is embedded with an execution program for controlling the rotating mechanism, pollen sampling assembly, image acquisition device, glass slide transport mechanism and fine adjustment mechanism; the micro host is connected to an input module placed in the monitoring box, and the input module is used to adjust the embedded execution program; the inner side of the door panel of the monitoring box is fixed with a display electrically connected to the micro host; The monitoring box is also provided with a temperature sensor, a humidity sensor, an air conditioner for keeping the internal temperature of the monitoring box constant at a preset temperature, and a dehumidifier for dehumidifying when the internal humidity of the monitoring box is greater than the preset humidity. The temperature sensor, humidity sensor, air conditioner and dehumidifier are all electrically connected to the control module; The control method of the pollen intelligent monitoring and analysis system includes the following steps: C1, determining whether the pollen sampling assembly has completed pollen collection on at least one glass slide, if so, proceeding to step C2, otherwise proceeding to step C4; C2, read the number of sampling areas of the glass slide in the pollen sampling assembly and the sampling time of the last sampling area, and calculate the difference between the cut-off sampling time of the last sampling area and the cut-off time of the total sampling time; C3, when the difference is equal to zero, open the pollen sampling assembly, move the glass slide that has completed pollen collection to the position where it is initially stored on the glass slide storage rack, and then enter step C4; when the difference is greater than zero, enter step C4; C4. At the sampling start time of the glass slide to be sampled, read the serial number of the glass slide to be sampled, and start the rotating mechanism to rotate the glass slide with the corresponding serial number on the glass slide storage rack to the grabbing side of the glass slide transfer mechanism; C5. Start the slide transport mechanism to grab the slide with the corresponding serial number, and move it into the opened pollen sampling assembly, and close the pollen sampling assembly; C6. The pollen sampling component moves the sampling area on the glass slide to align with the air inlet according to the number of sampling areas on the glass slide and the sampling time of each sampling area, and draws air to hit the corresponding area of the glass slide for pollen sampling.
2. The pollen intelligent monitoring and analysis system according to claim 1, characterized in that: The pollen sampling assembly includes a bottom plate and a pollen sampling chamber formed by buckling a glass cover and a buffer plate, the bottom plate is provided with a vertical plate extending in a vertical direction, the glass cover is fixed on the vertical plate, and a linear guide rail slidingly matched with the buffer plate is provided on the vertical plate below the glass cover, and a through-type stepping motor is installed on the bottom plate to buckle / separate the buffer plate and the glass cover; A glass slide placing table is installed on the inner surface of the buffer plate and slides relative to the buffer plate along the X-axis direction; a driving mechanism is fixed on the glass slide cover and drives the glass slide placing table to slide; the top of the glass slide cover is connected to an air inlet pipe extending from the monitoring box to introduce outside air into and impact the glass slide, and an exhaust hole connected to an exhaust fan is installed on the side wall of the glass slide cover; the through-type stepping motor and the driving mechanism are both electrically connected to the control module.
3. The pollen intelligent monitoring and analysis system according to claim 2, characterized in that: The lower surface of the buffer plate is connected to a pressure plate via a plurality of optical axis screws, and the diameter of the hole on the pressure plate for the optical axis screw to pass through is larger than the diameter of the optical axis screw; the pressure plate is fixedly connected to the lead screw of the through-type stepping motor, and a spring is mounted on the optical axis screw between the pressure plate and the buffer plate.
4. The pollen intelligent monitoring and analysis system according to claim 2, characterized in that: The driving mechanism includes a driving motor fixed to the outer surface of the side wall of the glass slide cover, the screw shaft of the driving motor passes through the sealing plate and penetrates into the glass slide cover, the screw shaft is provided with a screw nut I, and the screw nut I has a limit plate extending vertically toward the buffer plate; a limit groove is provided on the side of the glass slide placement table, and when the buffer plate is buckled with the glass slide cover, the limit plate extends into the limit groove; the driving motor is electrically connected to the control module.
5. The pollen intelligent monitoring and analysis system according to claim 1, characterized in that: The slide transport mechanism includes a gripper and a rotating table that drives the gripper to rotate 360°, a support block is fixed to the rotating table, a first lifting mechanism that drives the gripper to rise and fall in a vertical direction is installed on the support block, a lifting platform is provided on the first lifting mechanism, a first moving mechanism that drives the gripper to move linearly on a horizontal plane is installed on the lifting platform, and the rotating table, the first lifting mechanism and the first moving mechanism are all connected to the control module.
6. The pollen intelligent monitoring and analysis system according to claim 5, characterized in that: The gripper includes a plate-like body fixed on the first moving mechanism, and the non-installation end of the plate-like body is forked and U-shaped; the two arms of the U-shape are forked into at least two extension strips for holding up the glass slide, and the outermost extension strip is provided with an L-shaped groove that contacts the edge of the glass slide; the non-outermost extension strip is provided with a receiving groove with a length equal to the maximum width of the glass slide and used to hold up the glass slide.
7. The pollen intelligent monitoring and analysis system according to claim 1, characterized in that: The image acquisition device comprises a microscope without an eyepiece, a camera electrically connected to a control module is installed at the installation position of the eyepiece of the microscope, and the fine-tuning mechanism is installed on the arm of the microscope; The fine adjustment mechanism includes a glass slide carrier, an L-shaped slide, and a second lifting mechanism fixed to the mirror arm and used for lifting the stage with the microscope in the Z axis; the short side of the slide is provided with a boss parallel to its long side, the boss is located in a slide groove along the Y axis direction provided on the lower surface of the stage, the mounting plate of the long side of the slide extends upward from the side of the stage, and its top surface is located above the stage; The slide table is fixed on the second moving mechanism on the mirror arm and slides in the slide groove through the second moving mechanism; a third moving mechanism with a glass slide carrier that slides along the X-axis direction is fixed on the side of the mounting plate facing the stage.
8. The pollen intelligent monitoring and analysis system according to claim 7, characterized in that: The glass slide carrier includes an L-shaped slide plate, the short side of which is fixed on the screw nut II of the third moving mechanism, and the long side of which extends along the length direction of the screw of the third moving mechanism, and a support plate with two cantilevers is fixedly mounted thereon, and a slot for loading glass slides is provided on the cantilever.
9. The pollen intelligent monitoring and analysis system according to claim 1, characterized in that: The control method of the pollen intelligent monitoring and analysis system also includes: D1, determine whether the last glass slide that has completed pollen collection is located on the grabbing side of the glass slide transport mechanism, if so, proceed to step D3; otherwise, proceed to step D2; D2, start the rotating mechanism to rotate the slide storage rack, so that the previous slide that has completed pollen collection rotates to the grabbing side of the slide transport mechanism; D3, grab the last glass slide that has completed pollen collection, and transfer it to the image acquisition device, and collect multiple image information for each sampling area of the glass slide in turn; D4. When multiple image information has been collected for each sampling area of the slide, the slide is moved to the position where it was initially stored on the slide storage rack.
10. The pollen intelligent monitoring and analysis system according to claim 1, characterized in that: The control method of the pollen intelligent monitoring and analysis system also includes adaptively adjusting the air flow entering the pollen sampling component: E1. When the exhaust fan delivers air to the pollen sampling assembly, collect the flow value at the air inlet of the pollen sampling assembly; E2, determine whether the flow value is within the preset flow range, if so, go to step E7, otherwise go to step E3; E3. Calculate the flow error value in the PID controller based on the flow value e , flow error cumulative value i and flow error change rate d : e = s - f , i = i 0+ e , d = e - p in, s Preset thresholds for traffic; f is the flow value; p is the last flow error value; i 0 is the accumulated flow error value corresponding to the last flow judgment; E4. According to the flow error value, adjust the proportional coefficient corresponding to the flow in the PID controller q l , integral coefficient u l and the differential coefficient w l : When e<1, q l = q l0 , u l = u l0 , w l = w l0 *0.5; when e≥1, q l = q l0 *2, u l = u l0 , w l = w l0 ; in, q l0 is the proportional coefficient threshold; u l0 is the integral coefficient threshold; w l0 is the differential coefficient threshold; E5. According to e , i and d and q l , u l and w l , update the output value of the PID controller corresponding to the flow rate out l : out l = q l * e + u l * i + w l * d E6. According to the output value out l , adjust the output power of the exhaust fan so that the flow value at the air inlet is within the preset flow range, and then return to step E1 after a preset time; E7, flow error value e Reset to zero, and then return to step E1 after a preset time.
11. The pollen intelligent monitoring and analysis system according to claim 1, characterized in that: The control method of the pollen intelligent monitoring and analysis system also includes a method for preventing pollen sampling from stacking on a glass slide: S1, obtaining multiple image information of each sampling area of the current slide, and preprocessing the image to obtain a grayscale image. The current slide is the most recent slide that has completed pollen sampling; S2, calculating the gray value of each pixel in the gray image, and determining the count value of the pixel in the black area of each sampling area according to the gray value; S3, judging whether all sampling ratios of the current slide are greater than 1 or whether the number of sampling areas of the current slide is less than the total number of initial sampling areas, if so, proceeding to step S6, otherwise, proceeding to step S4; S4. Update the output out1 of the PID controller according to the count value of each sampling area, and update the sampling ratio Pr = sampling ratio Pr + out1; S5. When Pr≥1, the sampling time of the sampling area corresponding to the next slide is equal to the sampling dwell time of the current slide. When Pr<1, the sampling time of the sampling area corresponding to the next slide = Ts×Pr; S6, selecting the maximum value among the count values of all sampling areas of the current slide as the stacking degree feedback value; S7. According to the stacking degree feedback value, update the output out2 of the PID controller, and update the number of sampling areas St=St+int(out2), where int is a rounding function; S8. According to the total sampling time Cy of a single glass slide and the number of sampling areas St, update the sampling dwell time Ts=Cy / St of the sampling area of the next glass slide, and the sampling time of each sampling area is equal to Ts.
