Abstract

This paper implements the model predictive control to fulfill the position control of a 3-DOF 3-RRR planar parallel manipulator. The research work covers experimental and numerical studies. First, an experimental hardware-in-the-loop system to control the manipulator is constructed. The manipulator is driven by three DC motors, and each motor has an encoder to measure the rotating angles of the motors. The entire system is designed as a semiclosed-loop control system. The controller receives the encoder signals as inputs to produce signals driving the motors. Secondly, the motor parameters are obtained by system identification, and the controllers are designed based on these parameters. Finally, the numerical simulations are performed by incorporating the manipulator kinematics and the motor dynamics; the results are compared with those from the experiments. Both results show that they are in good agreement at steady state. There are two main contributions in this paper. One is the application of the model predictive control to the planar parallel manipulator, and the other one is to overcome the effects of the uncertainties of the DC motors and the performance of the position control due to the dynamic behavior of the manipulator.

1. Introduction

Parallel manipulators are essentially closed-loop kinematics chain mechanisms, and an end-effector is linked to the base of the manipulator by several independent kinematics chains [1]. The first parallel manipulator developed by Gough and Whitehall is a six-linear jack system for use as a universal tire-testing machine [2]. Later, a platform manipulator for use as an aircraft simulator was developed by Stewart [3]. After these two manipulators were presented, there are numerous parallel manipulators developed for various industrial applications, such as assembly, packaging, and machining operations. [46].

A 3-DOF 3-RRR planar parallel manipulator is typical robot arm designed to manipulate precision positioning tasks. Gosselin and Angeles investigated the manipulator from a kinematic viewpoint and established four different design criteria to produce designs having optimum characteristics [7]. Yang et al. focused on the forward singularity analysis of the manipulator and proposed a simple geometric approach based on the concept of instantaneous center [8]. Arsenault and Boudreau presented the synthesis of the manipulator using a genetic algorithm [9]. Oetomo et al. presented the direct kinematic solution of the manipulators, where they are possible to decouple the polynomial further into two quadratic equations, describing the position and orientation of the end-effector, respectively [10]. Cha et al. presented the singularity avoidance of the manipulator using kinematic redundancy [11]. Arakelian and Smith discussed the development of the reactionless manipulators, which apply no reaction forces or moments to the mounting base during motion [12].

In reviewing literature, there are numerous papers addressing the control of various types of robotic manipulators. However, a limited number of publications emphasize the control of the 3-DOF 3-RRR planar parallel manipulator. Noshadi et al. presented a method to control the manipulator using an active force control strategy [13]. The authors also implemented a two-level fuzzy tuning resolved acceleration control to the manipulators to demonstrate the stable response of the manipulator in performing trajectory tracking tasks in the absence of the disturbances [14]. Nasa and Bandyopadhyay presented a strategy, which enables the manipulator to trace a curve containing singularities by virtue of allowing its orientation to change [15]. Recently, hydraulic rotary actuators are applied to robots [16]. Liyanage et al. propose a selective compliant assembly robotic arm (SCARA) with two revolute joints for poultry deboning. The joint actuators of the arm are operated by servovalves, which control hydraulic fluid flow and direction, and a PID control is considered for controlling the position of each joint [17]. Hera et al. proposed the modeling and control of a hydraulic rotary actuator, where the experimental results of working with a particular sensing device for angular position as a complement to pressure sensing devices were presented [18]. Yao et al. presented an adaptive integral robust controller for a hydraulic rotary actuator, in which the intermediary virtual control law and the final control law are derived from an auxiliary error signal and its dynamics [19].

Model predictive control is a relatively new control theory and has broadly industrial applications. This control theory can be regarded as an extended version of optimal control theory, since it optimizes relevant variables at the current and future time based on a finite-time horizon. Thus, the model predictive control has better robustness and is suitable for the manipulator with uncertainties. This paper applies the model predictive control to fulfill the position control of the 3-DOF 3-RRR planar parallel manipulator. The work covers both experimental and numerical studies. One uses a real-time embedded system as a controller and three DC motors with encoders to construct a hardware-in-the-loop experimental platform. One also designs a semiclosed-loop control system. The controller uses the signals of the encoders as feedback signals and produces signals to drive the motors. A graphic interface is also designed. This paper presents both numerical simulation and experimental results, and both results are compared to each other. This paper is organized as follows. Section 2 investigates the kinematics analysis of the manipulator. Section 3 introduces the model predictive control. Section 4 presents the experimental setup and testing. Section 5 illustrates the simulation and experimental results. Section 6 summarizes the significant conclusions.

2. Kinematics Analysis

A parallel manipulator is shown in Figure 1(a). Three motors are mounted on points , and the motors drive the rigid links . There is a rigid end-effector, triangle , which is driven through the rigid links .

2.1. Inverse Kinematics

The inverse kinematics implies that the position and the orientation of the end-effector are given, and the rotating angles of the motors need to be determined. Consider one set of links and define a coordinate system as shown in Figure 2. Based on this figure and the trigonometric formulas, one obtains [7] where Note that the subscripts are 1, 2, and 3, and is the radius of the circle formed by the positions of the three motors.

Using (1) to (6), the rotating angles of the motors can be determined.

2.2. Direct Kinematics

For the direct kinematics, the rotating angles of the motors are given, and the position and the orientation of the end-effector need to be determined. Based on Figure 1(b), one has the following algebraic equations: where

Substitute (10) into (8) and (9) and then subtract them by (7). One can obtain two equations in terms of two unknowns and , so these two variables can be obtained but in terms of angle . Substituting them into (8) leads to an equation in terms of angle , so the angle can be determined.

2.3. Workspace

To determine the workspace of the end-effector, (3) can be rewritten as which can be further reduced as

where Note that is the distance between any two motors.

Based on (12), the workspace of the end-effector can be obtained and is shown in Figure 2.

3. Model Predictive Control

Consider an SISO discrete-time system as [20] where is an input, is an output, and is a vector in terms of state variables.

Define new variables as Then, (14) can be rewritten as

Define a new state variable as

Then, a new state-space model can be obtained as where Note that is a zero vector.

Define two vectors as where and are called the prediction horizon and the control horizon, respectively.

Using (19) to (21), one obtains where

Define a vector as where is a one matrix and is a reference signal.

Define a cost function as where    is a weighting matrix and is a identity matrix.

Substituting (22) into (25) leads to

To obtain the optimal control vector , the cost function is minimized by taking derivative with respect to and then is set to zero, so one obtains

Equation (27) reduces to the optimal control vector as

Although the optimal control vector contains the controls , one only implements the first sample of the control sequence. This procedure is called the receding horizon control.

4. Experimental Setup and Validation

4.1. Experimental Setup

Based on the planar parallel manipulator shown in Figure 1(a), an experimental manipulator is designed in Figure 3. The manipulator consists of six links, an end-effector, and three DC motors. The end-effector is connected by three branches, and each branch consists of two links. One of the links is driven by a DC brushed motors, and all motors are fixed and mounted under the platform (see Figure 3(b)). Each motor is also equipped by a two-channel Hall-effect encoder to measure the rotating angle of the motor. The connections between any two links are revolute joints. The positions of the three motors form an equilateral triangle. The shape of the end-effector is also an equilateral triangle. Both triangles can individually form two circles, and their radii are 26.5 and 6 cm. The length of each link is 18 cm.

One intends to construct a semiclosed-loop control system for the experimental manipulator. The hardware-in-the-loop system is illustrated in Figure 4. The rotating angles of the motors are measured and are treated as feedback signals. The control of each motor is dominated by an individual controller. The difference of a command signal and a feedback encoder signal is treated as an input of a controller. The controller outputs drive the three motors. In addition to the experimental manipulator, one utilizes some hardware components, including a personal computer, a real-time embedded system CompactRIO, and a power supply. The CompactRIO system consists of an embedded controller for communication and processing, a reconfigurable chassis housing the user-programmable FPGA, hot-swappable I/O modules, and graphical LabVIEW software for rapid real-time, Windows, and FPGA programming, so the system includes a reconfigurable chassis (cRIO 9112), a real-time embedded controller (eRIO 9022), and three servomotor drivers (NI 9505). The system is illustrated in Figure 5.

4.2. Motor Drivers

The motor drivers include two parts. One generates PWM signals, and the other one decodes the signals of the encoders. The driver codes are included in the FPGA, which generates PWM signals. The signals are delivered and received by the module NI 9505. The oscillation frequency of the FPGA is 40 MHz, and it can generate a square wave with 20 kHz. For the PWM signals, the wave crest can be adjusted, so the percentage of the duration of the wave crest in a square wave decides the voltage applied to the motors. The PWM codes are also stored in the FPGA. After testing, the accuracy of the encoder is 0.367 degrees.

4.3. System Identification of Motors and Drivers

For the purpose of the controller design, it is necessary to know the mathematical model of the motors. Since one uses the PWM signals to drive the motors, the driver and the motor are represented as a transfer function. The block diagram is illustrated in Figure 6. One uses 0–30% PWM signals as an input and the rotating angle of the motor as an output, and there are 15 sets of data collected to complete the system identification of the driver and the motor. One also applies MATLAB system identification toolbox to process the model as where , , and are three parameters to be determined.

After processing the system identification, the three parameters in (29) are determined and shown in Table 1.

4.4. Kinematics Simulations

Based on the formulations in Section 2, one uses the software LabVIEW to generate a graphic interface shown in Figure 7 for the kinematics analysis of the manipulator. For the purpose of application, the graphic interface is for the inverse kinematics. (A graphic interface of the direct kinematics is also generated for verification, but it is not shown in this paper.) One can input the position and the rotating angle of the end-effector through the graphic interface, and the rotating angle of the motors and the positions of points and can be calculated and shown. Besides, the configuration of the manipulator can be viewed on the graphic interface.

5. Simulation and Experimental Results

One intends to move the end-effector of the manipulator from to (cm, cm, deg), where and are the coordinates of the end-effector and is the rotating angle of the end-effector. First, using the kinematics formulations checks if the moving trajectory is in the workspace of the end-effector, and the results are shown in Figure 8. The figure shows that the initial and final positions are both in the area of the workspace. Secondly, based on the kinematics formulations, the rotating angles of the three motors are from to degrees. The initial and final configurations are shown in Figure 9. Thirdly, based on the two configurations, one applies the model predictive control to the position control of the manipulator. There are three cases studied in the task. The first one is the case by preforming numerical simulations. The second one is the case by performing an experiment without the links and the end-effector. There are two reasons are to proceed with this case. One is to check if the designed controller can make the motor rotate properly, and the other one is to avoid unexpected damages on this experimental facility. The third one is the case by performing another experiment with links and the end-effector. The time responses of the rotating angles of the three motors are shown in Figure 10. Finally, one proceeds to the direct kinematics based on the related formulations and the time responses of the rotating angles of the three motors, and the results are shown in Figure 11. Since the CompactRIO system has some limitations on the FPGA computations, one divides the motion of the end-effector into two steps. The first step is to rotate the first and second motors. After they reach the desired rotating angles, one proceeds to the second step, which is to rotate the third motor. In the first step, one sets the duration as 0.4 seconds, which can ensure that the motor dynamics reach the steady state. In Figure 11, one can observe that the motion of the second step begins after the first step executes 0.4 seconds. To compare the three cases, there are some differences between them in the transient responses. Since the controller design is only based on the model of the DC motors and the kinematics of the manipulator, the dynamic characteristics of the manipulator are not considered in the controller design. However, the results of the three cases all reach the desired configurations of the end-effector at the steady state.

6. Conclusions

This paper applies the model predictive control to a 3-DOF 3-RRR planar parallel manipulator based on a semiclosed-loop control system. Both the numerical simulations and experimental results are demonstrated. The results show that the model predictive control can fulfill the position control of the manipulator, and both results are in good agreement at the steady state.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgment

This study was sponsored with a Grant, NSC-101-2221-E-011-105, from the National Science Council, Taiwan.