Digital control system for electric pipe expanding machine
Leave a message
Digital control system for electric pipe expanding machine
1: System hardware design
The control requirements of the electric expansion pipe machine require the control system to achieve the following functions:
a. Presets for different materials, pipe diameters, and pipe plate thicknesses
b. Real time adjustment of the torque of the expansion tube machine;
c. Emergency stop and display of the expansion tube machine malfunction.
Design a control principle block diagram based on PIC microcontroller as shown in Figure 1. During the process of tube expansion, the microcontroller control system completes the control of material selection, tube diameter selection, tube plate thickness selection, real-time adjustment of tube expansion machine torque (displayed in current), as well as fault emergency stop and digital display according to the control requirements.
The set value of the torque (current) of the tube expander is read into the microcontroller through the A/D channel. The switch, material selection, tube diameter selection, tube plate thickness selection, etc. are read into the microcontroller through the I/O port. The signals for power supply, tube expansion control, fault indication, and current digital display of the tube expander are output through the I/O port.
2: Software design
In this design, the control software adopts a modular design method, with the main program as the core and many functional subroutine modules set up. During operation, the main program calls the functional subroutine modules, simplifying the design structure. The main functional modules include initialization program, A/D conversion subroutine, parameter reading subroutine, and various delay subroutines. The main program flowchart is shown in Figure 2.
At the beginning of the program, the expansion tube machine is powered on, and the microcontroller immediately initializes each port. After initialization is completed, the microcontroller control system is in a standby state, waiting for the switch to be pressed. Once the switch is pressed and the power is turned on, the parameter reading subroutine is called to read in the torque, different materials, pipe diameter, and thickness of the expansion pipe machine set on the panel beforehand. Then, start the tube expansion operation according to the parameters read in. During the process of tube expansion, as the tube expander continues to expand, the torque provided by the tube expander also increases, and the motor current of the tube expander also increases. After sampling the torque (current), the digital tube displays the actual working current, which is compared with the pre-set tube expansion value torque. When the set value is reached, the motor automatically stops rotating. After the delay of the delay subroutine, the expansion tube machine outputs a stop expansion tube signal, and the expansion tube machine rotates counterclockwise, causing the expansion tube machine to start releasing. When the release time reaches a certain time, the expanding machine stops running, thus completing an expanding process.
Www.superbheater.com






