An Improved ADSE Algorithm for Dynamic Weighing System

Junfeng Gao, Guangyi Tang, Yao WangInternational Journal of Control and Automation 2015

Abstract

In most industrial processes, products are weighed in motion using dynamic weighing systems before measurement is finalized. However, measurement accuracy and dynamic response speed are often contradictory goals. To address these challenges, this paper proposes an improved adaptive dynamic state estimation (ADSE) algorithm for gravimetric filling machines. The ADSE algorithm treats the weighing process as a series of finite states, controlling state migration through next-state estimation and dynamic compensation for "in-flight" material. Compared to traditional static and dynamic compensation methods, the ADSE algorithm provides superior measurement accuracy and dynamic response.

Introduction

In high-speed industrial packaging, dynamic weighing systems—where products are weighed while in motion—face two primary obstacles: mechanical noise and latency. Mechanical vibrations and sensor lag create "dirty" data, while "in-flight" material (the material still falling after valves close) leads to overfilling. Traditional solutions like Static Compensation (SC) use fixed offsets that fail under changing flow rates, while Dynamic Compensation (DC) often lacks the predictive power to prevent timing errors. The proposed ADSE algorithm bridges this gap by using a Moore finite state machine and Kalman filtering to predict in-flight weight and optimize valve shut-off timing.

Methodology

The ADSE algorithm employs a two-stage approach to data processing and mechanical control. First, raw sensor data is passed through a Kalman filter to mitigate mechanical vibrations and environmental noise, providing a stable weight estimate.

Second, a Moore State Machine manages the filling process through four distinct states, as shown in the transition diagram below:

State transition diagram of the Moore finite state machine used in the ADSE algorithm.
  • State 111: Large, medium, and small valves are open for maximum speed.
  • States 011 & 001: Valves are closed sequentially to transition from "coarse" to "fine" weighing.
  • State 000: All valves are closed once the target weight is reached.

Crucially, the algorithm calculates a "timer counter" based on current material flux (rate of change). By treating the process as a series of linear stages with varying flux, the system can adaptively predict exactly when to close valves to account for material still in the air.

Experimental Results

The algorithm was tested using a custom experimental rig (ATmega328 processor and AD7730 ADC) against two nominal weights: 10kg and 50kg. The ADSE algorithm was compared against standard Static Compensation (SC) and Dynamic Compensation (DC) methods.

Comparison of weighing performance (10kg load) between ADSE, Static Compensation (SC), and Dynamic Compensation (DC).

In the 10kg test, the SC algorithm failed to meet accuracy specifications because it could not adapt to rapid flow changes. In the 50kg test, the DC algorithm was too slow to meet required throughput. In both cases, the ADSE algorithm maintained high precision and provided the most consistent "Weight vs. Time" curve, showing smooth transitions between weighing stages without the erratic oscillations seen in simpler methods.

Conclusion

The ADSE algorithm successfully balances the trade-off between speed and accuracy in dynamic weighing. By combining Kalman filtering for noise reduction with a Moore state machine for intelligent valve control, the system handles the non-linear nature of material filling more effectively than traditional methods. Future work will focus on testing the algorithm's robustness in live industrial environments with complex variables like temperature swings and varying material densities, as well as porting the logic to standard industrial PLC architectures.

Summary updated

Abstract

In the most industrial processes, products are weighed in motion using dynamic weighing systems before the measurement has taken place. There are many kinds of influence factors that affect weighing process. The accuracy of measurement and speed of dynamic response is closely related to the performance of the dynamic weighing system, which are contradictory each other. It is necessary to address these impacts on dynamic weighing system. To compensate affection caused by these factors, an improved adaptive dynamic state estimation (ADSE) algorithm running on the controller of dynamic weighing system for a gravimetric filling machine is proposed in this paper. The ADSE algorithm regards the weighing process as a finite state that controls state migration by estimating the next state of measurement and dynamic compensation for in-flight material. Compared with static compensation algorithm and dynamic compensation algorithm, the results showed that ADSE algorithm can provide accurate measurement and excellent dynamic response.
BibTeX
@article{gao2015improved,
  author = {Junfeng Gao and Guangyi Tang and Yao Wang},
  title = {{An Improved ADSE Algorithm for Dynamic Weighing System}},
  journal = {International Journal of Control and Automation},
  year = {2015},
  doi = {10.14257/ijca.2015.8.6.03},
}

Loading related content...

Figure