Title: An automatic batch weighing controller