As the water area of Poyang Lake is wide, including the Ganjiang River (Waizhou Station), Fuhe River (Lijiadu Station), Xinjiang River (Meigang Station), Changjiang River (Dufengkeng Station), Le'an River (Shizhenjie Station), Xiuhe River (Yongxiu Station), Xihe River (Shimenjie Station) and Boyang River (Zifang Station), the current water quality testing method is to send people to various areas to take water samples, and then put them in a special laboratory for testing. This cannot achieve continuous testing of lake water and is not efficient. This paper proposes a wireless sensor network design scheme for automatic water quality detection, which can realize automatic detection of water quality, and the detected data can be sent to the computer at the receiving point designated by the environmental protection department through the GPRS network. The detected data can be displayed in real time using the software of the computer there, and data sharing can be achieved through the Internet network to realize multi-level data management.
1 System overall structure
The water quality wireless sensor network detection system adopts a two-level system. The first level is the computer (host computer) designated by the environmental protection department to receive water quality detection data, and the second level is the water quality monitoring station in the water area. The host computer is responsible for monitoring, managing and controlling the water quality monitoring station; the water quality monitoring station is responsible for collecting and transmitting water quality data. GPRS wireless transmission is used for data communication between the host computer and the water quality monitoring station. Since GPRS communication is a data packet communication network based on IP address, the host computer is configured with a fixed IP address, and each water quality data collection point uses a unified SIM card of a mobile communication company. At the same time, the system database written in the host computer is used to save relevant water quality parameter data, perform statistical processing on the information, and generate various report outputs. It supports 24-hour real-time online, and enables the information collection point to transmit the collected water quality information data every 20 minutes, and can display the data graphically to realize the mapping and visualization of water quality data. The structure of the single-point detection point and the host computer system is shown in Figure 1.
2 Hardware Design
2.1 CPU Module Design
The importance of water quality protection in Poyang Lake has put forward high requirements for water quality detection with fast speed and accurate measurement. The CPU is the "heart" and "brain" of the entire water quality detection. As the center of the entire system, it receives all signals and data from water quality sensors, processes each data, and finally sends it to the GPRS module. The use of high-performance CPU chips can greatly improve the efficiency of water quality detection. This design uses a Samsung ARM core chip S3C44B0, which has a working efficiency of 4 to 5 times that of ordinary 8-bit microcontrollers and is very suitable for water quality parameter processing. S3C44B0 is a CPU based on the ARM7TDMI-S core. The 32-bit memory interface and unique acceleration structure enable the code to run at the maximum clock rate. From the overall performance point of view, the reason for using the S3C44B0 chip design is that it is fast, easy to debug, and stable. The signal lines connecting S3C44B0 and other external devices are shown in Figure 2.
2.2 Design of water quality sensor unit
The quality of water is determined by parameters such as pH value and turbidity, among which pH value is a very important parameter. The pH meter circuit is shown in Figure 3.
The core of this pH meter circuit is an inexpensive silver or silver chloride probe connected to the input of an ultra-low current amplifier. The typical impedance of the signal output from the pH meter probe is 10 to 1000 MΩ. Because of the high impedance, the input current of the amplifier is very low, which is very important. V1 is the LMC6001 amplifier, which has an input current of less than 25 fA, which is exactly what a pH meter needs. The theoretical output voltage of a standard silver or silver chloride probe at room temperature is 59.16 mV/pH at 25 °C, and the output voltage is 0 V at pH 7. The ultra-low input current amplifier LM6001 amplifies the output signal of the probe to +/-100 mV/pH relative to pH 7. The overall gain of the pH meter can be adjusted by the adjustable potentiometer R2. V2 provides reverse bias for the micropower amplifier LMC6041, so that the output voltage remains linear with pH over the entire measuring range of the probe.
2.3 GPRS unit design
GPRS is the "wireless" transmission part of the wireless sensor network. The GPRS module used in the system is WISMOQ2403 from WAVECOM. This module has complete functions, stable performance, small size, and is very suitable for embedded applications.
Its circuit design is shown in Figure 4. Most of the pins of this module do not need to be connected. You only need to pay attention to the SIM card signal and the serial port signal. As long as these two parts of the circuit are connected well, the GPRS hardware module can work normally.
3 Software Design
The online water quality monitoring system software consists of two parts: the lower computer program and the upper computer program. The design process is shown in Figure 5(a) and Figure 5(b) respectively.
4 System Experimental Results
Figure 6 is the crystal oscillation diagram of the CPU minimum system test. Figure 6 (a) is the main crystal oscillation diagram, the oscillation frequency is 10 MHz, and Figure 6 (b) is the RTC oscillation diagram, the oscillation frequency is 32.76 kHz. The main crystal oscillator starts to oscillate, proving that the CPU minimum system has started to work. The RTC mainly provides clock signals for the timing module.
Figure 7 is a pH value display chart, which can display the current pH situation in real time. Environmental monitoring personnel can not only see the data in real time, but also process the data in a graphical form, which is more intuitive.
Previous article:Analysis of static characteristics of sensors based on virtual instruments
Next article:Application of Wireless Sensor Networks in Medical Treatment
- Popular Resources
- Popular amplifiers
- Molex leverages SAP solutions to drive smart supply chain collaboration
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- CGD and Qorvo to jointly revolutionize motor control solutions
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Nidec Intelligent Motion is the first to launch an electric clutch ECU for two-wheeled vehicles
- Bosch and Tsinghua University renew cooperation agreement on artificial intelligence research to jointly promote the development of artificial intelligence in the industrial field
- GigaDevice unveils new MCU products, deeply unlocking industrial application scenarios with diversified products and solutions
- Advantech: Investing in Edge AI Innovation to Drive an Intelligent Future
- CGD and QORVO will revolutionize motor control solutions
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- [RVB2601 Creative Application Development] Build CDK Development Environment
- This strange cut made the PCB hang inexplicably
- It seems that I have a good relationship with Shide——Part 2
- 【Silicon Labs BG22-EK4108A Bluetooth Development Review】I. Hardware Appreciation and Development Environment Introduction
- [ESP32-S2-Kaluga-1 Review] 4. LCD example compilation pitfalls
- HuaDa MCU FLASH operation instructions and precautions
- I am working on a product for traffic security equipment recently. The project has high safety requirements and heavy tasks. I am having a headache recently...
- Several issues on key-controlled 8X8LED dot matrix screen displaying graphics program
- FAQ: PolarFire SoC FPGA Secure Boot | Microchip Security Solutions Seminar Series 12
- Some Problems on Measuring AC Current with Current Transformer