To facilitate production and save costs,enterprises often build factories in remote areas such as mountainous areas and towns,where there are often strong winds and valley winds between two mountains,and heavy vehicles frequently pass through the factory.Storage tanks are commonly used for storing raw materials and managing powders in industrial production.These tanks are subject to large temperature variations and may experience decreased sensor accuracy due to factors such as strong winds,interference from metal elements in mining areas,electromagnetic interference,and noise,which complicate wireless signal transmission in the environment.To address this challenge,the present study proposes a dynamic level monitoring system that utilizes GD32E231C8T6 that can work in complex environments.By analyzing project requirements,the article proposes an overall design scheme for the system,which consists of a collection end,a receiving end,and an upper computer.Additionally,the system includes a server that is responsible for analyzing,processing,and storing data,as well as displaying real-time results on the upper computer interface.In this paper,the hardware and software design of the system are elaborated,along with a multi-angle antinoise processing approach to mitigate the impact of noise on the system and enhance the reliability of the data,ensuring the safety of the production line.The system adopts a modular design scheme,which enhances development efficiency and facilitates future system troubleshooting and upgrades.The article also explains the design principles of the power module,weighing sensor module,Analog-to-digital module,DIP switch module,GD32 microcontroller minimum system,and peripheral auxiliary circuits,as well as the PCB layout design,soldering,and debugging using Altium Designer.Regarding software,the system’s development environment is initially outlined,followed by a detailed description of the program design for the communication module and sensor acquisition module,and AD module is completed using the C language.Then,the collected data is pre-processed,and the filtering algorithm used is introduced.Finally,the calculated results of the system are temperature compensated and vibration compensated,and the weight calculation method is explained.Through meticulous hardware and software design,the system undergoes multi-faceted noise reduction processing.The system was installed and debugged on-site at the production facility.Six sets of experimental data collected from enterprise production lines were selected and compared with the real data measured by the weighing platform.The findings demonstrated that the system effectively and consistently monitored the weight of materials inside the tank with stability and accuracy,achieving real-time monitoring with accuracy that meets the design requirements,which verifies the feasibility of this system and has high practicality and reliability. |