A monitoring system for secondary fiber papermaking wastewater based on an embedded structure
2026-04-06 05:11:49··#1
Abstract: The system is developed and designed based on embedded configuration software, realizing the acquisition, processing and real-time monitoring of secondary fiber sewage treatment signals, and can complete the functions of report generation and printing. The system integrates control technology, database technology and computer graphics interface technology, realizes the dynamic display, historical data query and data recording of the system, and provides a user-friendly human-machine interface, high reliability and strong maintainability. Keywords: embedded; Win CE; real-time monitoring; human-machine interface; data acquisition WinCE.net provides a robust real-time operating system for quickly building the next generation of intelligent embedded devices. Its real-time response capability, good communication capability, excellent graphical user interface and rich application programming interface have made it increasingly used in the field of industrial control [1][2]. Although the development of embedded systems is booming, the application of embedded systems, especially embedded real-time operating systems, is not common in the field of sewage treatment, and it is difficult to find relevant reports in existing materials. China has increased its efforts to achieve the standard discharge of papermaking wastewater, and has achieved initial results. However, it is still necessary to realize online monitoring of wastewater discharge and treatment process. On the one hand, it can ensure the supervision of manufacturers by environmental protection departments, and on the other hand, it can provide conditions for automatic control of wastewater treatment process, so as to achieve consistent compliance of discharge and further reduce operating costs [3][4]. In the field of industrial control, embedded systems have become a promising development direction due to their high reliability, small size and low cost. However, the development of configuration software for embedded monitoring systems is relatively lagging behind [5][6]. Due to the special nature of sewage treatment, there are also special requirements for computers: ① The design of hardware and software should be tailored to the specific needs of each link of sewage treatment, and unnecessary configuration should be reduced to reduce power consumption and hardware and software expenses; ② Since the water quality of sewage is constantly changing, the computer control system is required to have good real-time performance, so that the response time of sewage treatment is as short as possible and adapts to the changes in water quality; ③ There are many functions (or tasks) to be processed at the same time in the sewage treatment process. Therefore, the computer control system is required to adopt a multi-task processing mechanism, so that each task can be coordinated according to its own priority while ensuring the real-time performance of the system. Each task must maintain a certain degree of independence and not be affected by other tasks, while also being able to achieve communication between tasks to realize information sharing and interaction; ④ The computer is required to have good reliability and be able to withstand strong interference and strong noise in the industrial field [7]. Based on the above requirements, the computer system required by the system should be a computer system dedicated to sewage treatment. It has an embedded system structure, and its software and hardware should be configured and tailored according to the specific requirements of sewage treatment. Its software and hardware functions should also be set for the special requirements of sewage treatment. It is precisely because the system has strong pertinence and specialization that, in view of this situation, this paper further explores the development of embedded configuration software based on the Windows CE.NET operating system and applies the software to the waste paper and papermaking wastewater treatment control system. 1 System Design 1.1 Main Hardware of the System 1.1.1 Host Computer The host computer is the core part of the system. It has functions such as monitoring the lower computer, data acquisition and processing, issuing start and shutdown commands, modifying control parameters, recording and displaying the operating status of the equipment, fault alarm, redundancy and communication. Its data can be stored in the hard disk and designed for retention period so that it can be called at any time [8]. Traditional control system hardware platforms consist of industrial PCs, PLCs and related sensing devices. Their disadvantages are: the system is large and complex, the anti-interference ability is poor, and it is not suitable for use in harsh environments. Furthermore, because industrial PCs use ordinary operating systems, the real-time response is poor, the control lag is serious, and the entire control system may even completely collapse due to the instability of the operating system [9]. However, by adopting an embedded system structure, a computer control system specifically for sewage treatment can be developed more quickly. This system can highly integrate various functions and only requires connecting a few external sensing devices to realize the online detection and control of the system. 1.1.2 Lower-level machine The lower-level machine is the key to realizing the system functions. Its main function is to accept the parameters or commands set by the upper-level machine, realize the real-time data acquisition, real-time judgment and decision-making and real-time control of the site, and transmit the site status to the upper-level machine. This design uses S7-200, which can directly realize switch control, and can also collect the 4-20mA standard signal input from the field measuring instrument (composed of sensor and transmitter) through A/D converter, and output the signal after A/D conversion to control the corresponding actuators (such as frequency converter + motor, regulating valve, etc.) [10][11]. Through STEP7, users can configure the system and write and debug the program, complete the PLC hardware configuration, control the running status of the PLC and the status of the I/O channel, etc. Usually, the user program consists of organization block (OB), function block (FB, FC) and data block (DB). Among them, OB is used to control the operation of the program and is the main control module of the lower computer software system. FB and FC are user subroutines, and DB is the storage area used to access data [12]. When the program starts, the startup interface shown in Figure 1 appears on the LCD display of the embedded device. The interface includes 5 sub-interfaces, which are: wastewater treatment schematic diagram, data list, collection quantity definition, historical data query, and real-time trend chart. Figure 1 Startup screen 1.2 System software configuration software includes necessary initialization acquisition programs, configuration programs for engineer stations and operation programs for operator stations. They are all independent executable files and communicate with each other through a real-time database system. The initialization process requires setting and using relevant PC equipment. After initialization, it can receive data collected by the field control station at regular intervals. System configuration needs to be performed offline for different application areas. After being put into operation, it can also be configured online according to the situation of the field control station. Similar to general configuration software, users form an application system in the embedded configuration software development environment. The work to be completed includes generating monitoring screens, defining the attributes of each variable that needs to be monitored, setting the parameters of hardware and software communication, and automatically generating some data files accordingly. Then, the debugging stage is entered. The application system program is downloaded from the development machine to the target machine for running through the serial port or TCP/IP protocol. The generation and debugging process can be repeated until the application system program meets the user's needs. Finally, the system running program and the application system program are stored in the electronic hard disk (or Compact Flash card) of the target machine for real-time operation [14]. The configuration software has the following functions, as shown in Figure 3: 2. Software Operation Screen Analysis This paper constructs an automatic treatment system for papermaking wastewater. An embedded device, along with online monitoring of the system's effluent quality, adjusts the dosage of chemicals in real time. Software experiments were conducted on papermaking wastewater under laboratory conditions. The wastewater used in the experiment was taken from a paper mill in Guangdong Province, with a COD value of 500–1500 mg/L. The flocculant concentration used in the experiment was 5‰, and the coagulant aid concentration was 1‰. The configured project was downloaded to the embedded device of the monitoring system and run. All experimental data obtained were stored in the database. The experiment involved four main variables: raw water COD value, influent flow rate, chemical dosing flow rate (including flocculant and coagulant aid flow rates), and effluent COD value, as shown in Table 1. The data was also displayed in real-time trend chart 3 on the embedded configuration software interface: Figure 3 Software Functional Modules Table 1 September 2006 Operation Status Figure 4 September 2006 Real-time Trend Chart Sometimes users don't want to view all historical data. If they only need to know the production situation for the past few days or a week, they can use the "Historical Data Query" function, as shown in Figure 5. The interface in Figure 5 includes a data table display control and two buttons: "Query Definition" and "Start Query". Clicking the "Query Definition" button will bring up a dialog box where the time interval for the query is defined. The program will automatically generate a query SQL statement. Then, clicking the "Start Query" button in Figure 5 executes the SQL statement to retrieve the desired results from the database and displays them in the data table display control shown in Figure 6. [align=center]Figure 5 Historical Data Query Screen Figure 6 Data List Interface[/align] 3 Conclusion Through actual operation, the developed monitoring software platform has proven stable and performs well, receiving positive feedback from users. The developed .NET-based embedded monitoring system software for wastewater treatment includes a human-machine interface and an embedded database module, enabling interaction with users and the storage and display of experimental data. WinCE.net's real-time response capabilities, excellent communication capabilities, outstanding graphical user interface, and rich application programming interfaces ensure the software's excellent performance. The application of automated control in wastewater treatment can safely and reliably realize various complex processes, reducing potential accidents, hidden dangers, and errors caused by human factors, thus ensuring effective wastewater treatment. Simultaneously, it can reduce labor intensity, improve labor efficiency and effectiveness, optimize the resource combination of wastewater treatment plants, effectively save energy, and bring about qualitative changes in the production, operation, and management of wastewater treatment plants. This includes transformation of departmental functions, reduction of redundant departments and personnel, departmental optimization and reorganization, and achieving staff reduction and efficiency improvement. References [1] Wu Songhua, Wu Guowei Design and implementation of embedded monitoring software based on WinCE.net [J] Computer and Information Technology 44-45 [2] Zu Zhihua, Huang Yingxia Application of embedded system in environmental monitoring [J] Special Technology and Engineering Application 2006.36(7):56-58 [3] Song Yinghao, Cui Zhifeng, Xie Enliang Design of automatic control system of sewage treatment plant [J] Industrial Control Computer 2006 Vol.19 No.9 81-82 [4] Wan Jinquan, Ma Yongwen. Waste paper making and pollution control [M]. Beijing: China Light Industry Press, 2004.7. [5] Zhong Weihong, Guan Hongwei Current status and development of industrial control configuration software [J] Journal of Anhui Electronic Information Vocational and Technical College 2006.4(5):94-96 [6] Ma Guohua Monitoring configuration software and application. Tsinghua University Press [M], 1998 [7] Yi Zhao, Li Renfa: Design and Implementation of Wastewater Treatment Control System Based on Embedded Structure [J] Automation Instrumentation 2004.25(11): 43-46 [8] Pei Junyuan, Wang Lei, Zhang Hou: Automation Control Network System for Water Treatment Plant [J] Shandong Metallurgy 2005.4 58-59 [9] Li Bing: Application of PLC and Host Computer in Wastewater Treatment Control System [J] Shanxi Architecture Vol.30 No.2 2004.30(2):135-136 [10] Sun Xin, Zhao Liangliang, Wang Yongjun: Application of PLC in Wastewater Treatment Engineering [J] Water Supply and Drainage 2003.29(10):95-96 [11] Zhao Fang, Li Congbing: Wastewater Treatment Control System Based on PLC [J] Industrial Control Computer 2006.19(4): 59-60 [12] Zhang Honglong, Wei Zhang, Li Jian: Waste Acid Water Treatment Control System of Steel Plant Based on PLC and Configuration Software [J] Microcomputer Information Measurement and Control Automation 2006(22):109-112 [13] Mu Li, Li Di Embedded Monitoring System Implementation Technology and Its Application in Wastewater Treatment [J] Computer Applications 2006.26(4):774-775