A stepper motor is usually operated in position open-loop control for simplicity. However, in order to improve the transient and steady-state performances of the stepper motor-based drive system, a high performance stepper motor drive system is usually designed to feed the encoder signal back to form a closed-loop system such as a general servo motor drive, and high-performance position and speed loop controller can then be used to overcome the nonlinear characteristics of the motor, such as the cogging force and impacts from external load. On the other hand, the existed cogging force of the hybrid stepper motor must be solved to increase the positioning precision. The variable structure control (VSC) is insensitive to the bounded uncertainty and load disturbance, and has been known as a high-performance controller. A predefined sliding surface is used to shape the system performances, and incorporate with switching control to achieve the robustness property. Thus, we applied the VSC to implement the stepper motor drive system about the position and speed control, and the switching control is used to overcome the cogging force. The field programmable gate array (FPGA) is a good alternative to be used to realize a motor drive system by considering its programmable ability and diverse designing environment. It is easily developed as an intellectual property (IP) for future use or combined as a part of a large control system. This paper showed the procedures to develop the hardware circuits for the variable structure controller, and applied it to stepper motor position and velocity control. Functions such as PI controllers, dq-axis transformation and two-phase space vector space vector modulation (SVPWM) designed for the stepper motor drives are also shown in the paper. The system simulation and hardware circuit realization are based on MATLAB/Simulink, and realized on Altera FPGA. Simulations on MATLAB/Simulink with trapezoidal velocity profile command, and experiments with and without the load added are shown to demonstrate the hardware performances and correctness.
In this paper, we present the modeling, analysis, and realization of current vector control for a permanent magnet synchronous motor (PMSM) drive using MATLAB/Simulink and a field programmable gate array (FPGA). In AC motor drive systems, most of the current vector controls are realized by digital signal processors (DSPs) because of their complete and compact hardware functions. However, the performances of drive systems realized by low-cost DSP are limited by the hardware structure and computation capacity, which may lead to the difficulty of reaching a fast enough response, above all, for those motors with a small electrical time constant. Therefore, we use FPGA to speed up the calculation about the current vector control to attain a fast response. Simulations and practical experimental results are used to verify the correctness and performance of the designed full hardware system.
Owing to the benefits of programmable and parallel processing of field programmable gate arrays (FPGAs), they have been widely used for the realization of digital controllers and motor drive systems. Furthermore, they can be used to integrate several functions as an embedded system. In this paper, based on Matrix Laboratory (Matlab)/Simulink and the FPGA chip, we design and implement a stepper motor drive. Generally, motion control systems driven by a stepper motor can be in open-loop or closed-loop form, and pulse generators are used to generate a series of pulse commands, according to the desired acceleration/run/deceleration, in order to the drive system to rotate the motor. In this paper, the speed and position are designed in closed-loop control, and a vector control strategy is applied to the obtained rotor angle to regulate the phase current of the stepper motor to achieve the performance of operating it in low, medium, and high speed situations. The results of simulations and practical experiments based on the FPGA implemented control system are given to show the performances for wide range speed control.
This paper proposes a new control system by integrating integral state feedback control and sliding mode control to eliminate the influences from the reference input change, external load, and parameter variations. For most control systems, integral action is used to overcome the reference input change and external load. However, its control performance cannot be guaranteed. State feedback control is used to dominate the pole location of the closed-loop control system. However, the system parameters determine their pole locations and may change due to uncertainties. Thus, the characteristics of the closed-loop control system are changed. Sliding mode control is used to compensate for the effect of the parameter variations and make the system invariant. The resulting system combines linear state feedback and sliding mode control to guarantee the desired performance. This shows that the proposed system can be easily applied and designed. A servo control system is used to demonstrate the performance, and simulations and experiments are carried out to evaluate the newly defined structure. They show that the strategies and control design can reach robust performance even with uncertainties or external load, and the chattering of the sliding mode control can be minimized.
Owing to the benefits of programmable and parallel processing of the field programmable gate arrays (FPGAs), they have been widely used to the realization of digital controllers and motor drive systems. In this study, we adopt the FPGA chip to realize the Linear Shaft Motor (LSM) drive system which includes the position, speed and current vector controls. Linear shaft motor is a special motor which has the magnet as the shaft and stator coils are on the forcer. Thus, it reveals a small mechanical time constant. In addition, the electrical side can be looked as a general three-phase Alternating Current (AC) system which can be powered by inverter and vector control technique can be applied to the system. The designed system needs high performance calculation ability about position/speed control and vector current control loops. The mathematical model of linear shaft motor drive system is first built and simulated by MATLAB/Simulink and the accuracy about the effect from the speed estimation method is proposed. The resulting digital model of the drive system is stored into Verilog Hardware Description Language (Verilog HDL) codes and realized by FPGA. At last, the hardware circuits as well as the power module are used to test the performance of the developed hardware system in terms of the trapezoidal velocity profile. The experimental results show that the designed system realized by FPGA has attained the desired performance.
A Field Programmable Gate Array based system is a great hardware platform to support the implementation of hardware controllers such as PID controller and fuzzy controller. It is also programmed as hardware accelerator to speed up the mathematic calculation and greatly enhance the performance as applied to motor drive and motion control. Furthermore, the open structure of FPGA-based system is suitable for those designs with the ability of parallel processing or soft code processor embedded. In this paper, we apply the FPGA to a multi-axis velocity controller design. The developed system integrated three functions inside the FPGA chip, which are respectively the stepping motor drive, the multi-axis motion controller and the motion planning. Furthermore, an embedded controller with a soft code processor compatible to 8051 micro-control unit (MCU) is built to handle the data transfer between the FPGA board and host PC. The MCU is also used to initialize the motion control and run the interpolator. The designed system is practically applied to a XYZ motion platform which is driven by stepping motors to verify its performance.