


Summary:The liquid filling machine collects the filling set value through the weight AD. When the filling volume corresponding to the number of pulses reaches the set value, the relay is closed to cut off the motor drive circuit.The contact switch of the solenoid valve of the quantitative filling gun remains in a normally closed state and displays the current filling amount.
I / 0 allocation of the filling system, the need for seven switching individual input, an analog input signal real-time collection of filling quality, two switching output control pumps and solenoid valve action, the PLC system has two ways of working, the use of the main program to call the structure of the subroutine, to reduce the scanning time, the conversion of the measured value, the external reason for stopping and emergency stops, and so on. Upper machine using configuration software for monitoring interface design, the software can quickly component and generate the upper machine monitoring system, through the field data acquisition and processing, to animation display, alarm processing, process control. Real-time curve, historical curve and report output and other ways. Monitoring system through the screen real-time display of the current filling quality, filling the number of barrels and other field work status, in the host computer can carry out the corresponding operation, through the interface for the filling mode selection and start, stop and other buttons operation. It can change the filling quality, the number of barrels and manually remove the tare weight (i.e. the quality of filled bottles) when using different filling barrels.
Automatic filling machine using CMOS process design of low-power, high-performance 8-bit microcontroller. It has 8k internal in-system programmable Flash memory. The chip is fully instruction and pin compatible with industrial 80C51 products, and the on-chip Flash allows program memory to be programmed in-system and is also suitable for general programmers. The microcontroller is mainly used to collect the set value of the filling quantity, process the pulse signal of the module, the touch screen drives the relay to drive the frequency converter to control the motor and the centrifugal pump to convey the material, through the weighing module to calculate the pulse signal of the pipeline flow, to obtain the actual weight of the liquid discharged by the weighing system, and to control the motor according to the difference between the actual filling quantity and the set value, so as to realize the precise control of filling quantity according to the actual needs. Automatic filling machine is mainly composed of DC frequency conversion motor, centrifugal pump, weighing instrument with touch screen control box, filling machinery, cylinder filling gun, filter, pneumatic ball valve and so on. Among them, the control system is mainly composed of AT89S52 microcontroller, peripheral circuits, relays, potentiometers, weighing instruments and touch screen.
Through the weighing module to calculate the amount of liquid, the weighing sensor data into the control system control system and then control the motor operation, you can realize the real-time monitoring of the amount of liquid. The filling system mainly completes the collection of data from the weighing module, displaying the data by the touch screen, accepting the data input from the potentiometer, and controlling the stable operation of the control system by controlling the relays and solenoid valves, including the main program, the sensor data collection subroutine, the timer interrupt service program, and the LCD display subroutine. After the controller enters the program control, it first detects the mode button to determine under which working mode the system is under. The set value of filling is collected by AD; then, the relay is opened. The motor operation collects the pulse number of the sensor and displays it on the LCD in real time. When the filling quantity corresponding to the number of pulses reaches the set value, close the relay to cut off the motor drive circuit. The contact switch of the solenoid valve of the filling gun in the quantitative filling control circuit remains normally closed, and the weighing module displays the current filling quantity.