Intelligent seawater stratified sampler based on STM32 single chip microcomputer and control method of intelligent seawater stratified sampler

Through the intelligent seawater layered sampler based on STM32 microcontroller, using technologies such as Bluetooth module, positioning antenna and pressure sensor, the precise control and automated operation of seawater layered sample is achieved, solving the problems of low efficiency and limited accuracy in traditional methods. , improves the accuracy and operational convenience of sampling data.

CN118937010APending Publication Date: 2024-11-12HAINAN TROPICAL OCEAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411283175.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In traditional marine hydrological surveys and marine water quality monitoring, seawater stratified sampling efficiency is low, high cost, limited sampling accuracy, and lacks independent, accurate and efficient sampling equipment.

Method used

Design an intelligent seawater layered sampler based on STM32 microcontroller, using Bluetooth module, positioning antenna, pressure sensor and micro servo motor and other components, and automatically sink, sampling and floating through the control mechanism, combined with buoyant airbags and warning lights to achieve Accurate control and safe recycling.

Benefits of technology

It realizes accurate layered sampling of seawater at different depths, simplifies operational processes, real-time positioning and data transmission, ensures safe return of the sampler, and improves the accuracy and operation efficiency of the sampled data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118937010A_ABST
    Figure CN118937010A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent seawater stratified sampler based on an STM32 single-chip microcomputer and a control method thereof, and belongs to the technical field of marine scientific instruments, the intelligent seawater stratified sampler comprises a sampler frame, and the sampler frame is provided with a Bluetooth module antenna and a positioning antenna; the control mechanism is arranged on the sampler frame, is connected with the Bluetooth module antenna and the positioning antenna, and is used for receiving and transmitting signals; the plurality of sampling mechanisms are uniformly distributed on the sampler frame, are respectively connected with the control mechanism, and are used for stratified sampling of seawater at different depths; and the pressure sensor is arranged on the sampler frame and is connected with the control mechanism. According to the invention, accurate control of the sampling depth and intelligent operation of stratified sampling of the sampler are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of marine scientific instruments, and specifically relates to an intelligent seawater stratified sampler based on an STM32 single-chip microcomputer and a control method thereof, which is suitable for scientific research and practical application scenarios such as marine hydrological surveys and marine water quality monitoring. Background Art

[0002] The ocean is the largest body of water on Earth, and its temperature, salinity, depth and other parameters have a significant impact on marine ecology, climate change, etc. In order to obtain accurate marine environmental data, it is necessary to conduct stratified sampling of seawater at different depths. Traditional methods mostly rely on manual operations, which have problems such as low efficiency, high cost and limited sampling accuracy.

[0003] Therefore, there is an urgent need to develop an intelligent device that can autonomously, accurately and efficiently perform stratified sampling of seawater. Summary of the invention

[0004] In order to achieve the above object, the present invention adopts the following technical solutions:

[0005] An intelligent seawater stratified sampler based on an STM32 single-chip microcomputer, comprising:

[0006] A sampler rack, wherein a Bluetooth module antenna and a positioning antenna are provided on the sampler rack;

[0007] A control mechanism, which is arranged on the sampler rack and connected to the Bluetooth module antenna and the positioning antenna, and is used to receive and transmit signals;

[0008] A plurality of sampling mechanisms, wherein the plurality of sampling mechanisms are evenly distributed on the sampler frame and are respectively connected to the control mechanism for performing stratified sampling of seawater at different depths;

[0009] A pressure sensor is arranged on the sampler rack and connected to the control mechanism; the pressure sensor transmits the detected pressure to the control mechanism, and the control mechanism analyzes the transmitted pressure to obtain the depth of the seabed where the sampler is located.

[0010] Further, the control mechanism includes a control cabin and a plurality of control cabin watertight joints matching the sampling mechanism;

[0011] The inner cavity of the control cabin is provided with a battery for providing energy and a main control board for controlling the operation of the sampler;

[0012] A plurality of control cabin watertight joints are evenly distributed on the outer top of the control cabin and are arranged corresponding to the sampling mechanism; the control cabin watertight joints are connected to the sampling mechanism.

[0013] Furthermore, a compressed gas tank and a folded buoyancy airbag are also provided on the outer top of the control cabin, and the compressed gas tank is connected to the buoyancy airbag via an inflation solenoid valve; wherein the inflation solenoid valve is provided in the inner cavity of the control cabin and is threadedly and sealedly connected to the buoyancy airbag and the compressed gas tank respectively;

[0014] The sampler rack is also provided with a warning light for facilitating the recovery of the sampler;

[0015] The warning light and the inflation solenoid valve are respectively connected to the main control board.

[0016] Furthermore, the sampling mechanism includes a sampling barrel, a sampling barrel sealed cabin and a sampling barrel watertight joint; wherein the sampling barrel sealed cabin is arranged on the top of the sampling barrel, and the sampling barrel sealed cabin is sealed and connected to the sampling barrel;

[0017] The sampling barrel watertight joint is arranged outside the sampling barrel sealed cabin and is connected to the control cabin watertight joint;

[0018] The inner cavity of the sampling barrel sealed cabin is provided with a micro servo motor, and the micro servo motor is connected to the watertight joint of the sampling barrel for realizing electrical control;

[0019] The inner cavity of the sampling barrel is provided with a connecting shaft, and the connecting shaft passes through the top of the sampling barrel and the sealing cabin of the sampling barrel through a connecting rod, and is connected to the micro servo motor;

[0020] An upper hole is formed on the top of the sampling barrel, and a lower hole is formed on the bottom of the sampling barrel; an upper sealing component and a lower sealing component are respectively provided at both ends of the connecting shaft; wherein the upper sealing component and the lower sealing component move relative to / against each other along the connecting shaft;

[0021] The upper sealing component matches the upper hole, and the upper sealing component cooperates with the top of the sampling barrel to form a sealing surface; the lower sealing component matches the lower hole, and the lower sealing component cooperates with the bottom of the sampling barrel to form a sealing surface.

[0022] Further, the connecting shaft comprises an upper connecting shaft and a lower connecting shaft, one end of the upper connecting shaft is connected to one end of the lower connecting shaft through a shaft connecting sleeve; wherein the upper sealing assembly is sleeved on one end of the upper connecting shaft away from the lower connecting shaft, and the lower sealing assembly is sleeved on one end of the lower connecting shaft away from the upper connecting shaft;

[0023] Wherein, the contact surface between the upper connecting rotating shaft and the lower connecting rotating shaft is a spiral surface.

[0024] Furthermore, a first spring is sleeved on the upper connecting shaft between the upper sealing assembly and the shaft connecting sleeve; and a second spring is sleeved on the lower connecting shaft between the lower sealing assembly and the shaft connecting sleeve.

[0025] Furthermore, the upper sealing assembly includes an upper sealing valve seat and a plurality of upper sealing valves; the upper sealing valve seat is sleeved on one end of the upper connecting shaft away from the lower connecting shaft; the upper sealing valve seat is provided with a first spiral groove, the upper connecting shaft is provided with a first pin shaft, and the first pin shaft is slidably provided in the first spiral groove; the plurality of upper sealing valves are evenly distributed on the upper sealing valve seat along the circumferential direction of the upper connecting shaft; the upper holes are provided with a plurality of the upper holes, and the plurality of the upper sealing valves match the plurality of the upper sealing valves, and the upper sealing valve cooperates with the top of the sampling barrel to form a sealing surface;

[0026] The lower sealing assembly comprises a lower sealing valve seat and a plurality of lower sealing valves; the lower sealing valve seat is sleeved on one end of the lower connecting shaft away from the upper connecting shaft; the lower sealing valve seat is provided with a second spiral groove, the lower connecting shaft is provided with a second pin shaft, and the second pin shaft is slidably provided in the second spiral groove; the plurality of lower sealing valves are evenly distributed on the lower sealing valve seat along the circumferential direction of the lower connecting shaft; the plurality of lower holes are provided, the plurality of lower holes are matched with the plurality of lower sealing valves, and the lower sealing valve cooperates with the bottom of the sampling barrel to form a sealing surface;

[0027] Wherein, the first spiral groove and the second spiral groove have opposite rotation directions.

[0028] Furthermore, a drain port for discharging water in the sampling barrel is also provided at the bottom of the sampling barrel, and a drain valve is provided in the drain port.

[0029] Furthermore, it also includes a user terminal wireless receiving module, and the main control board includes a voltage stabilizing module, a positioning module, a Bluetooth module, an automatic floating module, a wireless transmission module and a microcontroller;

[0030] The voltage stabilizing module is respectively connected to the pressure sensor, the positioning module, the Bluetooth module, the wireless transmission module and the microcontroller, and is used to transmit signals to the pressure sensor, the positioning module, the Bluetooth module, the wireless transmission module and the microcontroller;

[0031] The warning light, the pressure sensor, the plurality of micro servo motors and the inflation solenoid valve are respectively connected to the microcontroller; wherein the pressure sensor is used to transmit the detected pressure to the microcontroller, and the transmitted pressure is analyzed by the microcontroller to obtain the depth signal of the seabed where the sampler is located. The microcontroller analyzes the depth signal and controls the operation of the micro servo motor, the inflation solenoid valve and the warning light respectively;

[0032] The Bluetooth module and the positioning module are respectively connected to the microcontroller, and are used to transmit the coordinate information of the sampler to the microcontroller; wherein the Bluetooth module is connected to the Bluetooth module antenna, and the positioning module is connected to the positioning antenna;

[0033] The wireless transmission module is connected to the microcontroller and the user terminal wireless receiving module respectively, and is used to transmit the coordinate position information acquired by the microcontroller to the user terminal wireless receiving module.

[0034] The control method of the intelligent seawater stratified sampler based on the STM32 single chip microcomputer comprises the following steps:

[0035] S1. Set multiple sampling depths, transmit the set multiple sampling depth data to the sampler, and start the sampler for initialization; the micro servo motor reverses and locks the upper sealing valve and the lower sealing valve, so that the upper sealing valve cooperates with the top of the sampling barrel to form a sealing surface, and the lower sealing valve cooperates with the bottom of the sampling barrel to form a sealing surface, so as to prevent non-sampling depth liquid from entering the sampling barrel;

[0036] S2. Throw the sampler into the seawater, and the sampler automatically sinks. When the pressure sensor detects that the sampler has reached the set first sampling depth signal, the main control board issues a command, and a micro servo motor in one of the sampling mechanisms rotates forward, causing the upper sealing valve seat and the lower sealing valve seat to move relative to each other along the connecting shaft, driving the upper sealing valve and the lower sealing valve of the sampling barrel to open, and exhausting air from the upper hole, while letting water into the lower hole;

[0037] S3. After a certain period of time, the main control board issues a command, and the micro-servo motor in the sampling mechanism reverses, so that the upper sealing valve seat and the lower sealing valve seat move in opposite directions along the connecting shaft, so that the upper sealing valve cooperates with the top of the sampling barrel to form a sealing surface, and the lower sealing valve cooperates with the bottom of the sampling barrel to form a sealing surface, and the upper sealing valve and the lower sealing valve are closed; when the main control board detects that the current of the micro-servo motor is close to the stall current, the micro-servo motor stops and locks the sampling barrel;

[0038] S4, the sampler continues to sink, and after the pressure sensor detects that the sampler has reached the set second sampling depth signal, the main control board issues a command to issue a command to the micro servo motor in another sampling mechanism, and steps S2-S3 are repeated;

[0039] S5, repeating steps S2-S4 until the different settings are completed and sampling is performed using the depth sampling bucket;

[0040] S6. After the stratified sampling is completed, the main control board sends a command to the inflation solenoid valve, and the inflation solenoid valve opens, so that the compressed air in the compressed gas tank enters the folding buoyancy airbag, so that the folding buoyancy airbag expands after being inflated, and drives the sampler to float up;

[0041] S7, the sampler floats up. When the pressure sensor detects that the pressure is 0, the system receives the positioning signal through the positioning antenna and sends the positioning data to the wireless receiving module of the user terminal through the wireless transmission module, and turns on the warning light to give an intermittent warning.

[0042] Beneficial effects:

[0043] 1. Accurately control the sampling depth: Through the pressure sensor and the main control board, the sampling depth can be accurately controlled to improve the accuracy of the sampling data.

[0044] 2. Intelligent operation: Users only need to set the sampling depth through the mobile phone APP to complete the automatic placement, sinking, sampling, floating and positioning of the sampler, simplifying the operation process.

[0045] 3. Real-time positioning and data transmission: Through the positioning module and wireless transmission module, the real-time positioning and data transmission of the sampler can be realized, which is convenient for users to obtain sampling data in time.

[0046] 4. Safe and reliable: The design of compressed gas tank, folded buoyancy airbag and warning light ensures that the sampler can return safely after completing the sampling task and reminds the user.

[0047] 5. Strong scalability: Multiple sampling buckets can be controlled at the same time through the mobile phone APP to achieve stratified sampling in one go. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 This is a structural schematic diagram of an intelligent seawater stratified sampler based on an STM32 single-chip microcomputer of the present invention;

[0049] Figure 2 is a cross-sectional view of the sampling mechanism of the present invention;

[0050] Figure 3 It is a structural schematic diagram of the connecting shaft, the upper sealing assembly and the lower sealing assembly of the present invention;

[0051] Figure 4 It is a structural schematic diagram of the connecting shaft of the present invention;

[0052] Figure 5 is a cross-sectional view of the control mechanism of the present invention;

[0053] Figure 6 This is a schematic diagram of the connection of the main control board of the present invention;

[0054] Figure 7 Mobile APP control interface;

[0055] Figure 8 is a flow chart of the control method of the present invention;

[0056] Among them: 1 control cabin, 102 control cabin upper cover, 103 battery, 104 inflation solenoid valve, 105 main control board, 106 first sealing ring, 107 control cabin watertight joint, 101 control cabin shell, 2 Bluetooth module antenna, 3 positioning antenna, 4 warning light, 5 buoyancy airbag, 6 compressed gas tank, 7 sampler rack, 8 pressure sensor, 9 sampling mechanism, 901 micro servo motor, 902 T20 connecting rod, 903 upper sealing valve, 904 upper connecting shaft, 905 sampling barrel, 906 lower connecting shaft, 907 lower sealing valve, 908 upper cover, 909 first spring, 910 shaft connecting sleeve, 911 second sealing ring, 912 lower cover, 913 drain valve, 914 upper sealing valve seat, 915 lower sealing valve seat, 916 collection barrel sealing cabin, 917 collection barrel sealing cabin cover, 918 second sealing ring, 919 sampling barrel watertight joint. DETAILED DESCRIPTION

[0057] Example 1

[0058] refer to Figure 1 - Figure 5 , an intelligent seawater stratified sampler based on STM32 single chip microcomputer, comprising:

[0059] A sampler rack 7, on which a Bluetooth module antenna 2 and a positioning antenna 3 are arranged;

[0060] A control mechanism, which is arranged on the sampler rack 7 and connected to the Bluetooth module antenna 2 and the positioning antenna 3, and is used to receive and transmit signals;

[0061] A plurality of sampling mechanisms 9, the plurality of sampling mechanisms 9 are evenly distributed on the sampler frame 7 and are respectively connected to the control mechanism for performing stratified sampling of seawater at different depths;

[0062] The pressure sensor 8 is arranged on the sampler frame 7 and connected to the control mechanism. The pressure sensor 8 transmits the detected pressure to the control mechanism, and the control mechanism analyzes the transmitted pressure to obtain the depth of the seabed where the sampler is located.

[0063] Preferably, the control mechanism includes a control cabin 1 and a plurality of control cabin watertight joints 107 matching the sampling mechanism 9;

[0064] The inner cavity of the control cabin 1 is provided with a battery 103 for providing energy and a main control board 105 for controlling the operation of the sampler;

[0065] A plurality of control cabin watertight joints 107 are evenly distributed on the outer top of the control cabin 1 and are arranged corresponding to the sampling mechanism 9 ; the control cabin watertight joints 107 are connected to the sampling mechanism 9 .

[0066] In this embodiment, the positioning antenna 3 is a Beidou antenna.

[0067] In this embodiment, the control cabin 1 is composed of a control cabin upper cover 102 and a control cabin outer shell 101; wherein the control cabin upper cover 102 is connected to the top of the control cabin outer shell 101 by bolts, and a first sealing ring 106 is provided at the connection between the control cabin upper cover 102 and the control cabin outer shell 101.

[0068] In this embodiment, the sampler rack 7 is a double-circular ring-shaped bracket arranged up and down, the control cabin 1 is cylindrical, and the control cabin 1 matches the inner ring of the sampler rack 7, and the control cabin 1 is arranged at the center of the inner ring of the sampler rack 7;

[0069] In this embodiment, there are 8 sampling mechanisms 9 and 8 control cabin watertight joints 107, and the 8 sampling mechanisms 9 are evenly distributed along the circumference of the sampler rack 7, and the 8 control cabin watertight joints 107 are evenly distributed along the circumference of the control cabin 1, wherein the control cabin watertight joints 107 and the sampling mechanisms 9 are arranged one by one;

[0070] Preferably, a compressed gas tank 6 and a folded buoyancy airbag 5 are further provided on the outer top of the control cabin 1, and the compressed gas tank 6 is connected to the buoyancy airbag 5 through an inflation solenoid valve 104; wherein the inflation solenoid valve 104 is provided in the inner cavity of the control cabin 1, and is threadedly sealed with the buoyancy airbag 5 and the compressed gas tank 6, respectively;

[0071] The sampler rack 7 is also provided with a warning light 4 for facilitating the recovery of the sampler;

[0072] The warning light 4 and the inflation solenoid valve 104 are connected to the main control board 105 respectively.

[0073] In this embodiment, the inflation solenoid valve 104 is a one-way solenoid valve.

[0074] Preferably, the sampling mechanism 9 includes a sampling barrel 905, a sampling barrel sealed cabin 916 and a sampling barrel watertight joint 919; wherein the sampling barrel sealed cabin 916 is arranged on the top of the sampling barrel 905, and the sampling barrel sealed cabin 916 is sealed and connected to the sampling barrel 905;

[0075] The sampling barrel watertight joint 919 is arranged outside the sampling barrel sealed cabin 916 and is connected to the control cabin watertight joint 107;

[0076] The inner cavity of the sampling barrel sealed cabin 916 is provided with a micro servo motor 901, which is connected to the sampling barrel watertight joint 919 for realizing electrical control;

[0077] The inner cavity of the sampling barrel is provided with a connecting shaft, which passes through the top of the sampling barrel 905 and the sampling barrel sealed cabin 916 through a connecting rod and is connected to the micro servo motor 901;

[0078] An upper hole is formed at the top of the sampling barrel 905, and a lower hole is formed at the bottom of the sampling barrel 905; an upper sealing component and a lower sealing component are respectively provided at both ends of the connecting shaft; wherein the upper sealing component and the lower sealing component move relative to / opposite to each other along the connecting shaft;

[0079] The upper sealing component matches the upper hole, and the upper sealing component cooperates with the top of the sampling barrel 905 to form a sealing surface; the lower sealing component matches the lower hole, and the lower sealing component cooperates with the bottom of the sampling barrel 905 to form a sealing surface.

[0080] In this embodiment, the connecting rod is a T20 connecting rod 902 .

[0081] In this embodiment, the sampling barrel sealed cabin 916 is composed of a sampling barrel sealed cabin shell and a sampling barrel sealed cabin cover 917, wherein the sampling barrel sealed cabin cover 917 is connected to the top of the sampling barrel sealed cabin shell by bolts, and a second sealing ring 918 is provided at the connection between the sampling barrel sealed cabin cover 917 and the sampling barrel sealed cabin shell.

[0082] In this embodiment, the sampling barrel 905 is composed of a sampling barrel shell, an upper cover 908 and a lower cover 912; wherein, the upper cover 908 is sealed and connected to the top of the sampling barrel shell by bolts, and the lower cover 912 is sealed and connected to the bottom of the sampling barrel shell by bolts; the upper hole is set on the upper cover 908, and the lower hole is set on the lower cover.

[0083] Preferably, the connecting shaft comprises an upper connecting shaft 904 and a lower connecting shaft 906, one end of the upper connecting shaft 904 is connected to one end of the lower connecting shaft 906 via a shaft connecting sleeve 910; wherein the upper sealing assembly is sleeved on one end of the upper connecting shaft 904 away from the lower connecting shaft 906, and the lower sealing assembly is sleeved on one end of the lower connecting shaft 906 away from the upper connecting shaft 904;

[0084] The contact surface between the upper connecting shaft 904 and the lower connecting shaft 906 is a spiral surface, which is used to compensate for the insufficient sealing pressure caused by the processing error of the upper sealing valve 903 and the lower sealing valve 907 .

[0085] Preferably, a first spring is sleeved on the upper connecting shaft 904 between the upper sealing assembly and the shaft connecting sleeve 910 ; and a second spring is sleeved on the lower connecting shaft 906 between the lower sealing assembly and the shaft connecting sleeve 910 .

[0086] Preferably, the upper sealing assembly includes an upper sealing valve seat 914 and a plurality of upper sealing valves 903; the upper sealing valve seat 914 is sleeved on one end of the upper connecting shaft 904 away from the lower connecting shaft 906; the upper sealing valve seat 914 is provided with a first spiral groove, and the upper connecting shaft 904 is provided with a first pin shaft, and the first pin shaft is slidably arranged in the first spiral groove; the plurality of upper sealing valves 903 are evenly distributed on the upper sealing valve seat 914 along the circumferential direction of the upper connecting shaft 904; a plurality of upper holes are provided, and the plurality of upper holes match the plurality of upper sealing valves 903, and the upper sealing valve 903 cooperates with the top of the sampling barrel 905 to form a sealing surface;

[0087] The lower sealing assembly includes a lower sealing valve seat 915 and a plurality of lower sealing valves 907; the lower sealing valve seat 915 is sleeved on one end of the lower connecting shaft 906 away from the upper connecting shaft 904; the lower sealing valve seat 915 is provided with a second spiral groove, and the lower connecting shaft 906 is provided with a second pin shaft, and the second pin shaft is slidably arranged in the second spiral groove; the plurality of lower sealing valves 907 are evenly distributed on the lower sealing valve seat 915 along the circumferential direction of the lower connecting shaft 906; a plurality of lower holes are provided, and the plurality of lower holes are matched with the plurality of lower sealing valves 907, and the lower sealing valve 907 cooperates with the bottom of the sampling barrel 905 to form a sealing surface;

[0088] The first spiral groove and the second spiral groove have opposite rotation directions.

[0089] In this embodiment, there are only three upper sealing valves 903, lower sealing valves 907, upper holes and lower holes; the three upper sealing valves 903 are evenly distributed on the upper sealing valve seat 914 along the circumferential direction of the upper connecting shaft 904, and the three lower sealing valves 907 are evenly distributed on the lower sealing valve seat 915 along the circumferential direction of the lower connecting shaft 906; wherein, the upper hole is arranged corresponding to the upper sealing valve 903, and the lower hole is arranged corresponding to the lower sealing valve 907.

[0090] In this embodiment, the upper sealing valve 903 and the lower sealing valve 907 have the same structure, both of which are cylindrical structures, and a plurality of vertical holes are formed in the side wall of the cylindrical structure.

[0091] Preferably, a drain port for discharging water in the sampling barrel 905 is also provided at the bottom of the sampling barrel 905, and a drain valve 913 is provided in the drain port.

[0092] In this embodiment, the drain port is disposed on the lower cover 912 .

[0093] Example 2

[0094] refer to Figure 6-Figure 8 This embodiment is further configured on the basis of the embodiment 1.

[0095] The sampler also includes a user terminal wireless receiving module, and the main control board includes a voltage stabilization module, a positioning module, a Bluetooth module, an automatic floating module, a wireless transmission module and a microcontroller;

[0096] The voltage stabilizing module is respectively connected to the pressure sensor 8, the positioning module, the Bluetooth module, the wireless transmission module and the microcontroller, and is used to transmit signals to the pressure sensor 8, the positioning module, the Bluetooth module, the wireless transmission module and the microcontroller;

[0097] The warning light, the pressure sensor 8, the plurality of micro servo motors 901 and the inflation solenoid valve 104 are respectively connected to the microcontroller; wherein the pressure sensor 8 is used to transmit the detected pressure to the microcontroller, and the transmitted pressure is analyzed by the microcontroller to obtain the depth signal of the seabed where the sampler is located. The microcontroller analyzes the depth signal and controls the operation of the micro servo motor 901, the inflation solenoid valve 104 and the warning light respectively;

[0098] The Bluetooth module and the positioning module are respectively connected to the microcontroller, and are used to transmit the coordinate information of the sampler to the microcontroller; wherein the Bluetooth module is connected to the Bluetooth module antenna 2, and the positioning module is connected to the positioning antenna 3;

[0099] The wireless transmission module is connected to the microcontroller and the user terminal wireless receiving module respectively, and is used to transmit the coordinate position information acquired by the microcontroller to the user terminal wireless receiving module.

[0100] In this embodiment, the wireless receiving module of the user terminal is set on the mobile phone APP. The user only needs to set multiple sampling depths on the mobile phone APP to control multiple sampling buckets and realize stratified sampling in one time.

[0101] In this embodiment, the microcontroller is STM32F103C8T6.

[0102] In this embodiment, the inflation solenoid valve 104 is connected to the microcontroller via an intermediate relay.

[0103] In this embodiment, the positioning module is a Beidou positioning module.

[0104] Example 3

[0105] refer to Figure 5-Figure 7 In this embodiment, based on the device of embodiment 2, the control method of the intelligent seawater stratified sampler based on the STM32 single chip microcomputer includes the following steps:

[0106] S1. Set multiple sampling depths, transmit the set multiple sampling depth data to the sampler, and start the sampler for initialization; the micro servo motor 901 reverses and locks the upper sealing valve 903 and the lower sealing valve 907, so that the upper sealing valve 903 cooperates with the top of the sampling barrel to form a sealing surface, and the lower sealing valve 907 cooperates with the bottom of the sampling barrel 905 to form a sealing surface, so as to prevent non-sampling depth liquid from entering the sampling barrel 905;

[0107] In this embodiment, 8 sampling depths are set to perform stratified sampling of seawater.

[0108] S2, throw the sampler into the seawater, the sampler automatically sinks, when the pressure sensor 8 detects that the sampler reaches the set first sampling depth signal, the main control board 105 issues a command, and the micro servo motor 901 in one sampling mechanism 9 rotates forward, so that the upper sealing valve seat 914 and the lower sealing valve seat 915 move relative to each other along the connecting shaft, driving the upper sealing valve 903 and the lower sealing valve 907 of the sampling barrel to open, and the air is discharged from the upper hole, and the water enters the lower hole at the same time;

[0109] S3. After a certain period of time, the main control board 105 issues a command, and the micro servo motor 901 in the sampling mechanism 9 reverses, so that the upper sealing valve seat 914 and the lower sealing valve seat 915 move in opposite directions along the connecting shaft, so that the upper sealing valve 903 cooperates with the top of the sampling barrel 905 to form a sealing surface, and the lower sealing valve 907 cooperates with the bottom of the sampling barrel 905 to form a sealing surface, and the upper sealing valve 903 and the lower sealing valve 907 are closed; when the main control board 705 detects that the current of the micro servo motor 901 is close to the stall current, the micro servo motor 901 stops and locks the sampling barrel 905;

[0110] In this embodiment, the certain time can be 10s, 15s, 20s, or 25s. The specific setting time is based on the capacity of the sampling bucket. Preferably, the sampling bucket is a 1-liter sampling bucket. After the micro servo motor 901 in the sampling mechanism 9 has been operating for 10s, the main control board 105 issues a command.

[0111] S4, the sampler continues to sink, and after the pressure sensor 8 detects that the sampler has reached the set second sampling depth signal, the main control board 105 issues a command to issue a command to the micro servo motor 901 in another sampling mechanism 9, and repeats steps S2-S3;

[0112] S5, repeating steps S2-S4 until the different settings are completed and sampling is performed using the depth sampling bucket;

[0113] In this embodiment, steps S2-S4 are repeated until the stratified sampling of seawater at 8 different seawater depths is completed.

[0114] S6. After the stratified sampling is completed, the main control board 105 sends a command to the inflation solenoid valve 104, and the inflation solenoid valve 104 opens, so that the compressed air in the compressed gas tank 6 enters the folding buoyancy airbag 5, so that the folding buoyancy airbag 5 expands after being inflated, and drives the sampler to float;

[0115] S7, the sampler floats up, when the pressure sensor 8 detects that the pressure is 0, the system receives the positioning signal through the positioning antenna 3 and sends the positioning data to the wireless receiving module of the user terminal through the wireless transmission module, and turns on the warning light 4 to give an intermittent warning.

[0116] The above description is only a preferred embodiment of the present invention and does not limit the technical scope of the present invention. Therefore, any slight modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention still fall within the scope of the technical solution of the present invention.

Claims

1. An intelligent seawater stratified sampler based on STM32 single chip microcomputer, characterized in that: include: A sampler rack, wherein a Bluetooth module antenna and a positioning antenna are provided on the sampler rack; A control mechanism, which is arranged on the sampler rack and connected to the Bluetooth module antenna and the positioning antenna, and is used to receive and transmit signals; A plurality of sampling mechanisms, wherein the plurality of sampling mechanisms are evenly distributed on the sampler frame and are respectively connected to the control mechanism for performing stratified sampling of seawater at different depths; A pressure sensor is arranged on the sampler rack and connected to the control mechanism; the pressure sensor transmits the detected pressure to the control mechanism, and the control mechanism analyzes the transmitted pressure to obtain the depth of the seabed where the sampler is located.

2. According to claim 1, an intelligent seawater stratification sampler based on STM32 single-chip microcomputer is characterized in that: The control mechanism includes a control cabin and a plurality of control cabin watertight joints matching the sampling mechanism; The inner cavity of the control cabin is provided with a battery for providing energy and a main control board for controlling the operation of the sampler; A plurality of control cabin watertight joints are evenly distributed on the outer top of the control cabin and are arranged corresponding to the sampling mechanism; the control cabin watertight joints are connected to the sampling mechanism.

3. An intelligent seawater stratified sampler based on STM32 single-chip microcomputer according to claim 2, characterized in that: The outer top of the control cabin is also provided with a compressed gas tank and a folded buoyancy airbag, and the compressed gas tank is connected to the buoyancy airbag through an inflation solenoid valve; wherein the inflation solenoid valve is arranged in the inner cavity of the control cabin and is threadedly sealed with the buoyancy airbag and the compressed gas tank respectively; The sampler rack is also provided with a warning light for facilitating the recovery of the sampler; The warning light and the inflation solenoid valve are respectively connected to the main control board.

4. According to claim 3, an intelligent seawater stratification sampler based on STM32 single-chip microcomputer is characterized in that: The sampling mechanism comprises a sampling barrel, a sampling barrel sealed cabin and a sampling barrel watertight joint; wherein the sampling barrel sealed cabin is arranged on the top of the sampling barrel, and the sampling barrel sealed cabin is sealed and connected to the sampling barrel; The sampling barrel watertight joint is arranged outside the sampling barrel sealed cabin and is connected to the control cabin watertight joint; The inner cavity of the sampling barrel sealed cabin is provided with a micro servo motor, and the micro servo motor is connected to the watertight joint of the sampling barrel for realizing electrical control; The inner cavity of the sampling barrel is provided with a connecting shaft, and the connecting shaft passes through the top of the sampling barrel and the sealing cabin of the sampling barrel through a connecting rod, and is connected to the micro servo motor; An upper hole is formed on the top of the sampling barrel, and a lower hole is formed on the bottom of the sampling barrel; an upper sealing component and a lower sealing component are respectively provided at both ends of the connecting shaft; wherein the upper sealing component and the lower sealing component move relative to / against each other along the connecting shaft; The upper sealing component matches the upper hole, and the upper sealing component cooperates with the top of the sampling barrel to form a sealing surface; the lower sealing component matches the lower hole, and the lower sealing component cooperates with the bottom of the sampling barrel to form a sealing surface.

5. An intelligent seawater stratification sampler based on STM32 single-chip microcomputer according to claim 4, characterized in that: The connecting shaft comprises an upper connecting shaft and a lower connecting shaft, one end of the upper connecting shaft is connected to one end of the lower connecting shaft through a shaft connecting sleeve; wherein the upper sealing assembly is sleeved on one end of the upper connecting shaft away from the lower connecting shaft, and the lower sealing assembly is sleeved on one end of the lower connecting shaft away from the upper connecting shaft; Wherein, the contact surface between the upper connecting rotating shaft and the lower connecting rotating shaft is a spiral surface.

6. The intelligent seawater stratification sampler based on STM32 single chip microcomputer according to claim 5, characterized in that: A first spring is sleeved on the upper connecting shaft between the upper sealing component and the shaft connecting sleeve; and a second spring is sleeved on the lower connecting shaft between the lower sealing component and the shaft connecting sleeve.

7. The intelligent seawater stratified sampler based on STM32 single chip microcomputer according to claim 5, characterized in that: The upper sealing assembly comprises an upper sealing valve seat and a plurality of upper sealing valves; the upper sealing valve seat is sleeved on one end of the upper connecting shaft away from the lower connecting shaft; the upper sealing valve seat is provided with a first spiral groove, the upper connecting shaft is provided with a first pin shaft, and the first pin shaft is slidably provided in the first spiral groove; the plurality of upper sealing valves are evenly distributed on the upper sealing valve seat along the circumferential direction of the upper connecting shaft; the upper holes are provided with a plurality of the upper holes, and the plurality of the upper sealing valves match the plurality of the upper sealing valves, and the upper sealing valve cooperates with the top of the sampling barrel to form a sealing surface; The lower sealing assembly comprises a lower sealing valve seat and a plurality of lower sealing valves; the lower sealing valve seat is sleeved on one end of the lower connecting shaft away from the upper connecting shaft; the lower sealing valve seat is provided with a second spiral groove, the lower connecting shaft is provided with a second pin shaft, and the second pin shaft is slidably provided in the second spiral groove; the plurality of lower sealing valves are evenly distributed on the lower sealing valve seat along the circumferential direction of the lower connecting shaft; the plurality of lower holes are provided, the plurality of lower holes are matched with the plurality of lower sealing valves, and the lower sealing valve cooperates with the bottom of the sampling barrel to form a sealing surface; Wherein, the first spiral groove and the second spiral groove have opposite rotation directions.

8. An intelligent seawater stratified sampler based on STM32 single chip microcomputer according to claim 4, characterized in that: The bottom of the sampling barrel is also provided with a drain port for discharging water in the sampling barrel, and a drain valve is arranged in the drain port.

9. The intelligent seawater stratified sampler based on STM32 single chip microcomputer according to claim 4, characterized in that: It also includes a user terminal wireless receiving module, and the main control board includes a voltage stabilization module, a positioning module, a Bluetooth module, an automatic floating module, a wireless transmission module and a microcontroller; The voltage stabilizing module is respectively connected to the pressure sensor, the positioning module, the Bluetooth module, the wireless transmission module and the microcontroller, and is used to transmit signals to the pressure sensor, the positioning module, the Bluetooth module, the wireless transmission module and the microcontroller; The warning light, the pressure sensor, the plurality of micro servo motors and the inflation solenoid valve are respectively connected to the microcontroller; wherein the pressure sensor is used to transmit the detected pressure to the microcontroller, and the transmitted pressure is analyzed by the microcontroller to obtain the depth signal of the seabed where the sampler is located. The microcontroller analyzes the depth signal and controls the operation of the micro servo motor, the inflation solenoid valve and the warning light respectively; The Bluetooth module and the positioning module are respectively connected to the microcontroller, and are used to transmit the coordinate information of the sampler to the microcontroller; wherein the Bluetooth module is connected to the Bluetooth module antenna, and the positioning module is connected to the positioning antenna; The wireless transmission module is connected to the microcontroller and the user terminal wireless receiving module respectively, and is used to transmit the coordinate position information acquired by the microcontroller to the user terminal wireless receiving module.

10. The control method of the intelligent seawater stratified sampler based on the STM32 single chip microcomputer according to any one of claims 1 to 9, characterized in that: The following steps are involved: S1. Set multiple sampling depths, transmit the set multiple sampling depth data to the sampler, and start the sampler for initialization; the micro servo motor reverses and locks the upper sealing valve and the lower sealing valve, so that the upper sealing valve cooperates with the top of the sampling barrel to form a sealing surface, and the lower sealing valve cooperates with the bottom of the sampling barrel to form a sealing surface, so as to prevent non-sampling depth liquid from entering the sampling barrel; S2. Throw the sampler into the seawater, and the sampler automatically sinks. When the pressure sensor detects that the sampler has reached the set first sampling depth signal, the main control board issues a command, and a micro servo motor in one of the sampling mechanisms rotates forward, causing the upper sealing valve seat and the lower sealing valve seat to move relative to each other along the connecting shaft, driving the upper sealing valve and the lower sealing valve of the sampling barrel to open, and exhausting air from the upper hole, while letting water into the lower hole; S3. After a certain period of time, the main control board issues a command, and the micro-servo motor in the sampling mechanism reverses, so that the upper sealing valve seat and the lower sealing valve seat move in opposite directions along the connecting shaft, so that the upper sealing valve cooperates with the top of the sampling barrel to form a sealing surface, and the lower sealing valve cooperates with the bottom of the sampling barrel to form a sealing surface, and the upper sealing valve and the lower sealing valve are closed; when the main control board detects that the current of the micro-servo motor is close to the stall current, the micro-servo motor stops and locks the sampling barrel; S4, the sampler continues to sink, and after the pressure sensor detects that the sampler has reached the set second sampling depth signal, the main control board issues a command to issue a command to the micro servo motor in another sampling mechanism, and steps S2-S3 are repeated; S5, repeating steps S2-S4 until the different settings are completed and sampling is performed using the depth sampling bucket; S6. After the stratified sampling is completed, the main control board sends a command to the inflation solenoid valve, and the inflation solenoid valve opens, so that the compressed air in the compressed gas tank enters the folding buoyancy airbag, so that the folding buoyancy airbag expands after being inflated, and drives the sampler to float up; S7, the sampler floats up. When the pressure sensor detects that the pressure is 0, the system receives the positioning signal through the positioning antenna and sends the positioning data to the wireless receiving module of the user terminal through the wireless transmission module, and turns on the warning light to give an intermittent warning.