Carving industry dedicated software structure and program flow of the equipment
According to the demands of engraving machine control system, the system task module can be divided into: man-machine interface module, USB interface module and control module.
Man-machine interface module including LCD display and keyboard commands read;
Through the USB interface module to read the original design data;
Carved after the control module to read the data analysis and calculation speed control and the trajectory control.
Software structure diagram is shown in figure 1.
Figure 1 system software structure of control system, the ARM through the analysis of the design data and computing speed control, complete the FPGA by interpolation arithmetic to complete trajectory control.
Flow chart of control system application is shown in figure 2.
Figure 2 control system flow chart of the application (
Read data, found in speed without mutation can carve the smallest unit of line number, called convicted & other
Calculate & other;
Displacement of each axis in the total amount, define & other
And & other
Respectively, X, Y and Z axis displacement amount.
According to the operation setting maximum speed and acceleration, calculate the segment displacement velocity and acceleration of each axis in the component.
Determine what kind of speed, the current data in the calculation of paragraphs according to different situations of displacement period of acceleration, uniform speed and slowdown of the pulse number and the speed of the initial frequency, etc. These data, and the data sent to FPGA.
FPGA according to the received data interpolation arithmetic, finally control the turning speed of the stepper motor, realize three-axis linkage.
Engraving machine prices, engraving and milling machine, CNC engraving machine price information in yifan numerical control net.