A high-precision in-situ seawater pH sensor control system and control method

The modularly designed high-precision in-situ seawater pH sensor control system solves the problems of large volume, complex operation and poor stability of the seawater pH measurement system, achieving small size, high integration, low power consumption and stability in humid environments. operation, supporting accurate measurement and data processing of seawater pH.

CN109164731BInactive Publication Date: 2024-09-03OCEAN UNIV OF CHINA +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810943617.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-08-18
Publication Date
2024-09-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing seawater pH measurement systems are bulky, clumsy, and complex to operate, making it difficult to meet promotion requirements. They are also easily affected by humid environments when working underwater for a long time, leading to stability and power consumption problems.

Method used

A high-precision in-situ seawater pH sensor control system is designed, using a modular architecture, including a microprocessor, peristaltic pump drive module, constant flow light source drive module, reversing valve drive module, spectrometer communication module, etc., through the microprocessor Controls each module to achieve low power consumption and stable operation, and is equipped with a humidity alarm module to prevent water leakage.

Benefits of technology

A small, highly integrated, automated seawater pH measurement system has been realized. It has over-current and over-voltage protection, reduces power consumption, maintains stable operation in humid environments, and supports subsequent function additions and upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109164731B
    Figure CN109164731B
Patent Text Reader

Abstract

The invention discloses a high-precision in-situ seawater pH sensor control system, the improvement of which is that the control system includes a microprocessor, a peristaltic pump drive module, a pulse pump drive module, a reversing valve drive module, a constant current light source drive module, a spectrometer communication module, a temperature sensor communication module, a salinity sensor communication module, a host computer communication module, a data storage module and a humidity alarm module which are electrically connected to and controlled by the microprocessor, and a power supply module supplies power to various components in the control system. The control system disclosed by the invention has a modular design in its hardware architecture, is small in size, has a high degree of integration and automation, has a sophisticated hardware structure, has low power consumption, has overcurrent, overvoltage, leakage and humidity protection functions, and works more stably.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of instruments and meters, and particularly relates to a high-precision in-situ seawater pH sensor control system and a control method in the field. Background Art

[0002] The pH value of seawater is one of the important parameters for quantitatively describing the characteristics of marine chemistry, and is of great significance for studying seawater acidification and carbon cycle. At present, the accurate measurement of the pH value of seawater generally adopts the measurement method based on spectrophotometry, which has gradually become a standard measurement method. However, this method has certain difficulties in implementation, and most of them are still in the laboratory measurement stage. In terms of instrument design, it is necessary to integrate the liquid path, circuit, optical path and other pathways in the instrument, which puts forward requirements for the integration of the instrument; in terms of technology, the liquid path reversal and liquid path drive have a great impact on the overall stable operation and power consumption of the instrument when the instrument is working, and how to achieve low power consumption and stable operation of each part is also a problem that needs to be considered; in terms of signal acquisition and processing, this method requires accurate light intensity measurement to ensure accuracy; in addition, considering that the instrument works underwater for a long time, excessive humidity or even leakage in the instrument cabin will have an adverse effect on the instrument. At present, a series of seawater pH measurement systems based on spectrophotometry developed by researchers at home and abroad are mostly large and clumsy, complicated to operate, and difficult to meet the requirements of promotion. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a high-precision in-situ seawater pH sensor control system and control method designed based on spectrophotometry.

[0004] The present invention adopts the following technical solution:

[0005] A high-precision in-situ seawater pH sensor control system, the improvement of which is that the control system comprises a microprocessor, a peristaltic pump drive module, a pulse pump drive module, a reversing valve drive module, a constant current light source drive module, a spectrometer communication module, a temperature sensor communication module, a salinity sensor communication module, a host computer communication module, a data storage module and a humidity alarm module which are electrically connected to and controlled by the microprocessor, and a power supply module supplies power to various components in the control system.

[0006] Furthermore, the microprocessor includes a power-on reset circuit, a basic clock circuit, a real-time clock circuit and a program test circuit; wherein the power-on reset circuit is a first-order RC network formed by a resistor and a capacitor connected in series, the resistor has a resistance of 10kΩ, the capacitor has a capacitance of 100nF, and the connection point of the resistor and the capacitor is connected to the reset pin of the microprocessor; the program test circuit is a resistor and an LED connected in series on the pin of the microprocessor and grounded.

[0007] Furthermore, the microprocessor is preferably a STM32RCT6 single-chip microcomputer, the basic clock frequency is provided by an 8 MHz active crystal oscillator, and the real-time clock frequency is provided by a 32.768 kHz passive crystal oscillator.

[0008] Furthermore, the peristaltic pump drive module is composed of an integrated stepper motor driver chip and its peripheral circuits. The microprocessor control pin outputs a 0~10kHz PWM signal to the peristaltic pump drive module, corresponding to the peristaltic pump speed of 0~10 gears. The peristaltic pump drive module limits the peristaltic pump power to within 10W and the instantaneous current to within 3A; the pulse pump drive module is a relay, and the microprocessor outputs a low-frequency pulse through the control pin to control the NPN transistor to switch between the cutoff area and the saturation area. The current control relay after the NPN transistor expands the current switches between the normally open and normally closed contacts, thereby controlling the start and stop of the pulse pump; the reversing valve drive module is a 4-way Darlington tube, which controls the 4-way reversing valve respectively. The microprocessor outputs a level signal through the pin to control the cutoff or saturation of a certain Darlington tube, thereby adjusting the direction of the corresponding reversing valve.

[0009] Furthermore, the constant current light source driving module is a three-way constant current source with an accuracy within 1%. The current of the three constant current sources is set to 20mA by configuring resistors. The current of the constant current source can be changed by adjusting the output voltage of the microprocessor DA pin or configuring resistors. The maximum current of the constant current source does not exceed 50mA. Each constant current source is electrically connected to an LED light source. The microprocessor controls the switch of a certain constant current source through a pin output level signal, thereby controlling the switch of the corresponding LED light source.

[0010] Furthermore, the spectrometer communication module and the temperature sensor communication module are TTL / RS232 serial port circuits, the salinity sensor communication module is a TTL / RS485 serial port circuit, and the host computer communication module is an RS485 serial port circuit.

[0011] Furthermore, the data storage module is a TF card, the humidity alarm module is a humidity detection resistor, and the microprocessor collects the resistance divided voltage of the humidity detection resistor through the AD pin.

[0012] Furthermore, the power supply module includes a protection circuit electrically connected to the DC 12V power supply end, the protection circuit is electrically connected to the microprocessor through the DC 12V to 5V power supply circuit and the DC 5V to 3.3V power supply circuit in sequence, the microprocessor backup register power supply is electrically connected to the microprocessor, the power management circuit is electrically connected to the microprocessor and controlled by it, the power input end of the power management circuit is electrically connected to the protection circuit and the power output end of the DC 12V to 5V power supply circuit respectively, the power output end of the power management circuit is electrically connected to the power input end of the DC 12V controllable power supply and the DC 5V controllable power supply respectively, the DC 12V controllable power supply supplies power to the peristaltic pump, the pulse pump and the reversing valve, and the DC 5V controllable power supply supplies power to the constant current light source drive module, the spectrometer, the temperature sensor and the salinity sensor.

[0013] Furthermore, the protection circuit limits the voltage to within 18V, which is achieved by a transient suppression diode with a reverse-parallel threshold of 18V, and limits the current to within 5A, which is achieved by a self-recovery fuse; the DC 12V to 5V power supply circuit is a switching power supply circuit, which is achieved by building a step-down circuit with an integrated switching power supply chip; the DC 5V to 3.3V power supply circuit is a linear power supply circuit, which is achieved by an integrated linear power supply chip; the microprocessor backup register power supply is provided by a rechargeable button lithium battery; the power management circuit is achieved by the microprocessor controlling the on and off of the N-channel MOS tube, and the microprocessor control pin outputs a high level for on and a low level for off; the reference grounds of power supplies of different voltage levels, digital power supplies, and analog power supplies are isolated by single-point connection through magnetic beads and 0Ω resistors.

[0014] A high-precision in-situ seawater pH sensor control method uses the above control system, and its improvement lies in: the power module supplies power to various components in the control system; the microprocessor controls the operation of the peristaltic pump through a peristaltic pump drive module, controls the start and stop of the pulse pump through a pulse pump drive module, controls the direction of the reversing valve through a reversing valve drive module, and controls the switch and brightness of the LED light source through a constant current light source drive module; the microprocessor calibrates, configures parameters and reads data for the spectrometer, temperature sensor and salinity sensor through a spectrometer communication module, a temperature sensor communication module and a salinity sensor communication module; the microprocessor communicates with a host computer through a host computer communication module to realize parameter configuration, download, firmware update and data reading of the control system by the host computer; the microprocessor stores data collected by the control system through a data storage module; the microprocessor judges the humidity of the control system cabin and whether it is leaking through a humidity alarm module, and if it is detected that the humidity in the control system cabin exceeds a set threshold, the current working state will be saved, an alarm signal will be sent to the host computer, and the system will wait for processing or shutdown; the above process is solidified in the FLASH in the microprocessor chip, and the microprocessor can run once or continuously according to the process.

[0015] The beneficial effects of the present invention are:

[0016] The control system disclosed in the present invention has a modular hardware architecture, a small size, a high degree of integration and automation, a delicate hardware structure, low power consumption, over-current, over-voltage, leakage and humidity protection functions, and more stable operation. When certain components are not in use, their power supply can be cut off through the power management circuit to reduce power consumption. A power isolation circuit is formed by a single-point connection of a magnetic bead and a 0Ω resistor to prevent interference between power supplies of different voltage levels, digital power supplies and analog power supplies when the control system is running.

[0017] The control method disclosed in the present invention fully considers the technical problems in the operation of the control system, and can realize the control of the seawater pH accurate measurement process and data processing. The modular design concept can download the process and parameters and facilitate the subsequent function addition and upgrade. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a schematic diagram of the overall control architecture of the control system disclosed in Example 1 of the present invention;

[0019] Figure 2 It is a schematic diagram of the composition and connection relationship of the power module in the control system disclosed in Example 1 of the present invention. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0021] Embodiment 1, as Figure 1 As shown, this embodiment discloses a high-precision in-situ seawater pH sensor control system, the control system includes a microprocessor, a peristaltic pump drive module, a pulse pump drive module, a reversing valve drive module, a constant current light source drive module, a spectrometer communication module, a temperature sensor communication module, a salinity sensor communication module, a host computer communication module, a data storage module and a humidity alarm module, which are electrically connected to and controlled by the microprocessor, and the power module supplies power to each component in the control system.

[0022] In this embodiment, the microprocessor includes a power-on reset circuit, a basic clock circuit, a real-time clock (RTC) circuit and a program test circuit; the microprocessor should wait for other devices to be ready before it can work after power-on, the power-on reset circuit is a first-order RC network composed of a resistor and a capacitor in series, the resistor value is 10kΩ, the capacitor value is 100nF, and the connection point of the resistor and the capacitor is connected to the reset pin of the microprocessor; the program test circuit is a resistor and an LED connected in series on the pin of the microprocessor and grounded, and the operating state of the system can be tested by programming to see if it is normal. The microprocessor is preferably an STM32RCT6 single-chip microcomputer, the basic clock frequency is provided by an 8MHz active crystal oscillator, and the real-time clock frequency is provided by a 32.768kHz passive crystal oscillator.

[0023] The peristaltic pump drive module is composed of an integrated stepper motor driver chip and its peripheral circuits. The microprocessor control pin outputs a 0-10kHz PWM signal to the peristaltic pump drive module, corresponding to the peristaltic pump speed of 0-10 gears. The peristaltic pump drive module limits the peristaltic pump power to within 10W and the instantaneous current to within 3A; the pulse pump drive module is a relay. The microprocessor outputs a low-frequency pulse through the control pin to control the NPN transistor to switch between the cut-off area and the saturation area. The current control relay after the NPN transistor expands the current switches between the normally open and normally closed contacts, thereby controlling the start and stop of the pulse pump; the reversing valve drive module is a 4-way Darlington tube, which controls the 4-way reversing valve respectively. The microprocessor outputs a level signal through the pin to control the cut-off or saturation of a certain Darlington tube, thereby adjusting the direction of the corresponding reversing valve. The redundancy of the above-mentioned Darlington tube drive channel can be expanded.

[0024] The constant current light source driving module is a 3-way constant current source with an accuracy within 1%. The current of the three constant current sources is set to 20mA by configuring resistors. The current of the constant current source can be changed by adjusting the output voltage of the microprocessor DA pin or configuring resistors. The current of the constant current source does not exceed 50mA. Each constant current source is electrically connected to an LED light source. The microprocessor controls the switch of a certain constant current source through a pin output level signal, thereby controlling the switch of the corresponding LED light source. The constant current source can ensure the stability of the brightness of the LED light source.

[0025] The spectrometer communication module and the temperature sensor communication module are TTL / RS232 serial port circuits, the salinity sensor communication module is TTL / RS485 serial port circuit, and the host computer communication module is RS485 serial port circuit, so as to improve the communication distance and stability.

[0026] The data storage module is a TF card, and the humidity alarm module is a humidity detection resistor. The resistance of the humidity detection resistor decreases as the humidity in the instrument cabin increases. The microprocessor collects the resistance divided voltage of the humidity detection resistor through the AD pin to determine the humidity of the control system cabin and whether there is water leakage.

[0027] like Figure 2 As shown, the power module includes a protection circuit electrically connected to a DC 12V power supply terminal, the protection circuit is electrically connected to a microprocessor via a DC 12V to 5V power supply circuit and a DC 5V to 3.3V power supply circuit in sequence, the microprocessor backup register power supply is electrically connected to the microprocessor, the power management circuit is electrically connected to the microprocessor and is controlled by it, the power input terminal of the power management circuit is electrically connected to the protection circuit and the power output terminal of the DC 12V to 5V power supply circuit respectively, the power output terminal of the power management circuit is electrically connected to the power input terminal of a DC 12V controllable power supply and a DC 5V controllable power supply respectively, the DC 12V controllable power supply supplies power to a peristaltic pump, a pulse pump and a reversing valve, and the DC 5V controllable power supply supplies power to a constant current light source drive module, a spectrometer, a temperature sensor and a salinity sensor.

[0028] The protection circuit has the functions of voltage transient suppression protection and overcurrent protection. The voltage is limited to less than 18V by reverse-parallel-connecting a transient suppression diode with a threshold of 18V, and the current is limited to less than 5A by a self-recovery fuse. The DC 12V to 5V power supply circuit is a switching power supply circuit, which is implemented by building a step-down circuit (Buck circuit) with an integrated switching power supply chip. The DC 5V to 3.3V power supply circuit is a linear power supply circuit, which supplies power to the microprocessor and is implemented by an integrated linear power supply chip. The power supply for the backup register of the microprocessor is provided by a rechargeable button lithium battery, which is used as a backup power supply for the microprocessor. The power management circuit is implemented by the microprocessor controlling the on and off of the N-channel MOS tube. The microprocessor control pin outputs a high level for on and a low level for off, so as to cut off the power supply of certain components when they are not in use (DC 12V controllable power supply or DC 5V controllable power supply). The reference grounds of power supplies of different voltage levels, digital power supplies, and analog power supplies are isolated by single-point connection of magnetic beads and 0Ω resistors.

[0029] The present embodiment also discloses a high-precision in-situ seawater pH sensor control method, using the above control system, the power module supplies power to each component in the control system; the microprocessor controls the operation of the peristaltic pump through the peristaltic pump drive module, controls the start and stop of the pulse pump through the pulse pump drive module, controls the direction of the reversing valve through the reversing valve drive module, and controls the switch and brightness of the LED light source through the constant current light source drive module; the microprocessor calibrates, configures parameters and reads data for the spectrometer, temperature sensor and salinity sensor through the spectrometer communication module, the temperature sensor communication module and the salinity sensor communication module; the microprocessor communicates with the host computer through the host computer communication module to realize the parameter configuration, download, firmware update and data reading of the control system by the host computer; the microprocessor stores the data collected by the control system through the data storage module; the microprocessor judges the humidity of the control system cabin and whether it is leaking through the humidity alarm module. If it is detected that the humidity in the control system cabin exceeds the set threshold, the current working state will be saved, and an alarm signal will be sent to the host computer to wait for processing or shutdown; the above process is solidified in the FLASH in the microprocessor chip, and the microprocessor can run once or continuously according to the process.

Claims

1. A high-precision in-situ seawater pH sensor control method, using a high-precision in-situ seawater pH sensor control system, the control system includes a microprocessor, a peristaltic pump drive module, a pulse pump drive module, a reversing valve drive module, a constant current light source drive module, a spectrometer communication module, a temperature sensor communication module, a salinity sensor communication module, a host computer communication module, a data storage module and a humidity alarm module that are electrically connected to and controlled by the microprocessor, and a power module supplies power to various components in the control system; the protection circuit limits the voltage to within 18V, which is achieved by reverse-parallel connection of a transient suppression diode with a threshold of 18V, and limits the current to within 5A, which is achieved by a self-recovery fuse; the DC 12V to 5V power supply circuit is a switching power supply circuit, which is achieved by building a step-down circuit with an integrated switching power supply chip; the DC 5V to 3.3V power supply circuit is a linear power supply circuit, which is achieved by an integrated linear circuit The power supply chip is realized; the power supply of the microprocessor backup register is provided by a rechargeable button lithium battery; the power management circuit is realized by the microprocessor controlling the on and off of the N-channel MOS tube, and the microprocessor control pin outputs a high level to turn on and a low level to turn off; the reference grounds of power supplies of different voltage levels, digital power supplies, and analog power supplies are isolated by magnetic beads and 0Ω resistors at a single point connection; the microprocessor includes a power-on reset circuit, a basic clock circuit, a real-time clock circuit, and a program test circuit; wherein the power-on reset circuit is a first-order RC network formed by a resistor and a capacitor in series, the resistor value is 10kΩ, the capacitor value is 100nF, and the connection point of the resistor and the capacitor is connected to the reset pin of the microprocessor; the program test circuit is a resistor and an LED connected in series on the pin of the microprocessor and grounded; the microprocessor is an STM32RCT6 single-chip microcomputer, the basic clock frequency is provided by an 8MHz active crystal oscillator, and the real-time clock frequency is provided by a 32.768kHz passive crystal oscillator is provided; the peristaltic pump drive module is composed of an integrated stepper motor driver chip and its peripheral circuits. The microprocessor control pin outputs a 0~10kHz PWM signal to the peristaltic pump drive module, corresponding to the peristaltic pump speed 0~10 gears. The peristaltic pump drive module limits the peristaltic pump power to within 10W and the instantaneous current to within 3A; the pulse pump drive module is a relay. The microprocessor outputs a low-frequency pulse through the control pin to control the NPN transistor to switch between the cutoff region and the saturation region. The current control relay after the NPN transistor expands the current switches between the normally open and normally closed contacts, thereby Control the start and stop of the pulse pump; the reversing valve driving module is a 4-way Darlington tube, which controls the 4-way reversing valve respectively. The microprocessor controls the cutoff or saturation of a certain Darlington tube through the pin output level signal, thereby adjusting the direction of the corresponding reversing valve; the constant current light source driving module is a 3-way constant current source with an accuracy within 1%. The current of the three constant current sources is set to 20mA by configuring resistors. The current size of the constant current source can be changed by adjusting the output voltage of the microprocessor DA pin or configuring resistors. The maximum current of the constant current source does not exceed 50mA. Each constant current source is electrically connected to an LED light source. The microprocessor controls the The switch of a certain constant current source is controlled, thereby controlling the switch of the corresponding LED light source; the spectrometer communication module and the temperature sensor communication module are TTL / RS232 serial port circuits, the salinity sensor communication module is TTL / RS485 serial port circuit, and the host computer communication module is RS485 serial port circuit; the data storage module is a TF card, the humidity alarm module is a humidity detection resistor, and the microprocessor collects the resistance divided voltage of the humidity detection resistor through the AD pin; the power supply module includes a protection circuit electrically connected to the DC 12V power supply end, and the protection circuit is sequentially converted through the DC 12V to 5V power supply circuit and the DC 5V The 3.3V power supply circuit is electrically connected to the microprocessor, the microprocessor backup register power supply is electrically connected to the microprocessor, the power management circuit is electrically connected to the microprocessor and is controlled by it, the power input end of the power management circuit is electrically connected to the protection circuit and the power output end of the DC 12V to 5V power supply circuit respectively, the power output end of the power management circuit is electrically connected to the power input end of the DC 12V controllable power supply and the DC 5V controllable power supply respectively, the DC 12V controllable power supply is used to power the peristaltic pump, the pulse pump and the reversing valve, the DC 5V controllable power supply is used to power the constant current light source drive module, the spectrometer, the temperature sensor and the salinity sensor, and the characteristics are: The power module supplies power to each component in the control system; the microprocessor controls the operation of the peristaltic pump through the peristaltic pump driver module, controls the start and stop of the pulse pump through the pulse pump driver module, controls the direction of the reversing valve through the reversing valve driver module, and controls the switch and brightness of the LED light source through the constant current light source driver module; the microprocessor calibrates, configures parameters and reads data for the spectrometer, temperature sensor and salinity sensor through the spectrometer communication module, temperature sensor communication module and salinity sensor communication module; the microprocessor communicates with the host computer through the host computer communication module to realize the host computer's parameter configuration, download, firmware update and data reading of the control system; the microprocessor stores the data collected by the control system through the data storage module; the microprocessor determines the humidity of the control system cabin and whether it is leaking through the humidity alarm module. If it is detected that the humidity in the control system cabin exceeds the set threshold, the current working state will be saved, and an alarm signal will be sent to the host computer to wait for processing or shutdown.