Next Article in Journal
Analysis of Dielectric Waveguide Grating and Fabry–Perot Modes in Elastic Grating in Optical Detection of Ultrasound
Next Article in Special Issue
A Discrete-Time Extended Kalman Filter Approach Tailored for Multibody Models: State-Input Estimation
Previous Article in Journal
Performance Analysis of the IEEE 802.15.4 Protocol for Smart Environments under Jamming Attacks
Previous Article in Special Issue
A Track Geometry Measuring System Based on Multibody Kinematics, Inertial Sensors and Computer Vision
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Vision-Based Hybrid Controller to Release a 4-DOF Parallel Robot from a Type II Singularity

1
Departamento de Ingeniería de Sistemas y Automática, Instituto de Automática e Informática Industrial, Universitat Politècnica de València, 46022 Valencia, Spain
2
Departamento de Ingeniería Mecánica y de Materiales, Instituto Universitario de Investigación Concertado de Ingeniería Mecánica y Biomecánica, Universitat Politècnica de València, 46022 Valencia, Spain
3
Department of Mechanical Engineering, Faculty of Engineering in Bilbao, University of the Basque Country, 48013 Bilbao, Spain
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(12), 4080; https://doi.org/10.3390/s21124080
Submission received: 7 May 2021 / Revised: 3 June 2021 / Accepted: 9 June 2021 / Published: 13 June 2021

Abstract

:
The high accuracy and dynamic performance of parallel robots (PRs) make them suitable to ensure safe operation in human–robot interaction. However, these advantages come at the expense of a reduced workspace and the possible appearance of type II singularities. The latter is due to the loss of control of the PR and requires further analysis to keep the stiffness of the PR even after a singular configuration is reached. All or a subset of the limbs could be responsible for a type II singularity, and they can be detected by using the angle between two output twist screws (OTSs). However, this angle has not been applied in control because it requires an accurate measure of the pose of the PR. This paper proposes a new hybrid controller to release a 4-DOF PR from a type II singularity based on a real time vision system. The vision system data are used to automatically readapt the configuration of the PR by moving the limbs identified by the angle between two OTSs. This controller is intended for a knee rehabilitation PR, and the results show how this release is accomplished with smooth controlled movements where the patient’s safety is not compromised.

1. Introduction

Parallel robots (PRs) are composed of two or more closed kinematic chains connecting a fixed and a mobile platform that defines the end-effector to be controlled [1]. As opposed to their serial counterpart, they benefit from greater accuracy, stiffness, and load capacity, making them suitable for a great variety of applications [2,3]. Human–robot interaction is one of the major applications, for instance, in the context of medical rehabilitation [4]. Within this field, lower limb rehabilitation [5,6,7,8,9] is an active research area. However, PRs also present several drawbacks regarding the size of their workspace and the presence of singularities within the workspace. The former can be addressed by means of a proper mechanical design of the PR to cover the workspace as required, while the latter requires further analysis.
Singularities in a PR were first analysed by Gosselin and Angeles [10], who established a classification of singular configurations according to the characteristics of the Jacobian matrices calculated from constraint equations. They defined a type I (or inverse kinematic) singularity to refer to the loss of at least one degree of freedom (DOF) due to a degeneracy of the inverse Jacobian matrix ( J I = 0 ) and a type II (or forward kinematic) singularity to indicate the gain of at least one DOF caused by the degeneracy of the forward Jacobian matrix ( J D = 0 ). Some other related classifications of singular configurations can be found in [11,12]. type I singularities typically occur as the manipulator approaches the boundary of the workspace and are easy to detect and avoid, but type II singularities can arise within the workspace and are more difficult to treat [13].
Type II singularities prevent the mobile platform from bearing external forces despite having all the actuators locked, leading to an uncontrolled motion of the end-effector. The main goal of lower-limb rehabilitation is to perform specific movements that stimulate the motor plasticity of the patient to improve the motor recovery [5]. In conventional rehabilitation, the movements of the patient are controlled and monitored by a physiotherapist, while in robotic rehabilitation, the control task is performed by a PR. For this task, a PR must ensure stiff behaviour despite the presence of type II singularities to maintain control during the rehabilitation process.
Extensive research has been conducted to tackle type II singularities. The determinant of the forward Jacobian J D gives no further information than the proximity to a singularity, as it lacks a physical meaning [14]. Based on screw theory [15], a transmission index (TI) was designed by Yuan et al. [16] to express the quality of force and motion transmission by using the transmission wrench screw (TWS) and output twist screw (OTS). Takeda and Funabashi [17] designed a TI that expresses how each actuator individually contributes to the motion of the mobile platform by leaving just one actuator active and the rest locked. Subsequently, Wang et al. [18] using the TI proposed by Takeda and Funabashi established that for a type II singularity, at least two OTSs are linearly dependent. Pulloquinga et al. [19] proposed the angle between two instantaneous screw axes from the OTSs ( Ω ) as a measure for the proximity detection of type II singularities, providing physical meaning and the capability to determine the chains producing the singular configuration.
The extensive analysis of type II singularities presented has been incorporated in motion/force performance evaluation [18,20], path planning, and the design of reconfigurable PRs [21,22]. These analyses have been developed offline, and very little has been found about including this information in the control unit of the PR [23,24]. Abgarwal et al. [24] designed a control scheme to avoid type II singularities of a planar PR by using artificial potential functions. The potential functions are activated near the singularity to alter the trajectory by means of repulsion forces. This setting prevents the PR from entering into a singular configuration by avoiding it. However, an evader controller cannot deal with the situation in which the robot is initially in a type II singularity. Such a task would require extra instrumentation, since solving the forward kinematic problem based on the joint variable measures does not have a single solution. The various possible positions of the mobile platform are due to the degeneracy of the forward Jacobian matrix.
One unambiguous solution to estimate the actual pose of the PR is by using a vision system [25]. Huynh et al. [26] implemented a vision/position hybrid control for a Hexa PR by defining a two-level closed-loop controller. Amarasinghe et al. [27] designed a vision-based hybrid control on a mobile robot. It could autonomously reach a docking station by using a finite-state machine and proportional control combined with image processing.
However, to the best of the authors’ knowledge, no research has been published focusing on PR singularity releasing, i.e., letting the robot autonomously get out of a type II singularity. In this paper, a novel algorithm based on online readings from a vision system is proposed to release the PR from a type II singularity. The proposed algorithm is the first to use the angle Ω as an online detector for the proximity to singular configurations. This algorithm is integrated into a two-level closed-loop hybrid controller that results in more compliant manipulation when performing knee rehabilitation tasks. In the inner loop, there is an algebraic closed-loop controller. The outer loop implements a vision-based controller whose algorithm determines the two limbs that most affect the type II singularity by means of the angle Ω . Then, only the references of those two limbs are modified online to feed the inner loop of the controller.
Section 2 describes the 4-DOF PR for knee rehabilitation used to perform the simulations and experiments. Next, the mathematical foundations of type II singularities and the angle Ω are explained. Then, the 3D vision system that has been used to keep track of the pose of the PR is presented, together with a detailed description of the proposed vision-based hybrid controller. Section 3 begins with a description of the requirements for simulation and experimentation as well as the singular trajectories that were designed for this research. The main results are also presented in this section. Finally, the results are discussed in Section 4.

2. Materials and Methods

This section presents the mathematical foundation used in the development of the angle Ω that detects the proximity to a type II singularity in a knee rehabilitation PR. Subsequently, the 3D tracking system (3DTS) used to measure the actual pose of the mobile platform is described. Then the 3DTS and Ω are combined to develop a novel vision-based hybrid controller to release the actual PR under study from a type II singularity. This section also includes a detailed explanation of the algorithm corresponding to this hybrid controller, which detects and moves the actuators according to the angle Ω .

2.1. 3UPS+RPU Parallel Robot

After knee surgery, the diagnosis and rehabilitation tasks require two translational movements ( x m , z m ) in the tibiofemoral plane, one rotation ( ψ ) around the coronal plane and one rotation ( θ ) around the tibiofemoral plane [28]. These four DOFs are shown in Figure 1. In order to accomplish these requirements, a PR with 4-DOF has been designed, built [29], and optimized [30] at the Universitat Politècnica de València. The PR under study is named 3UPS+RPU due to its four-limb architecture. The external limbs or open kinematic chains have a UPS configuration, while the central one has an RPU configuration (see Figure 1). The letters R, U, S and P stand for revolute, universal, spherical and prismatic joints, respectively, and the actuated joints are indicated by the underlined format.
The kinematic model of the 3UPS+RPU PR is established by 15 generalized coordinates as follows:
  • The position ( x m , z m ) and the orientation ( θ , ψ ) of the mobile platform.
  • The orientation of the four universal joints: q l 1 , q l 2 for limbs l = 1 3 and q 43 , q 44 for limb 4.
  • The length of the four linear actuators given by q l 3 for limbs l = 1 3 and q 42 for limb 4.
  • The orientation of the three spherical joints represented by q l 4 , q l 5 , q l 6 for external limbs l = 1 3 .
  • The orientation of the revolute joint q 41 .
The variables q are measured with respect to a local reference system attached to each joint. The coordinates x m , z m , θ , and ψ are measured with respect to the reference system O f X F Y F Z F attached to the centre of the fixed platform to reduce the complexity of the model.
The locations of A 0 , B 0 , C 0 , and D 0 that link the four limbs to the fixed platform are defined by the geometric variables R 1 , R 2 , R 3 , β F D , β F I , and d s . The locations of A 1 , B 1 , C 1 , and O m that link the limbs to the mobile platform are defined by the geometric variables R m 1 , R m 2 , R m 3 , β M D , and β M I . Figure 1 shows the location of A 0 , B 0 , and C 0 and A 1 , B 1 , and C 1 on the fixed and mobile platform. Table 1 shows the values of R 1 , R 2 , R 3 , β F D , β F I , and d s measured with respect to O f X F Y F Z F and R m 1 , R m 2 , R m 3 , β M D , and β M I with respect to O m X M Y M Z M . The mobile reference system O m X M Y M Z M is attached to the centre of the mobile platform.

2.2. Type II Singularities

The velocity equations of a PR [10] are defined by the time derivatives of the geometrical constraint equations ( Φ ) as follows:
J D X ˙ + J I q ˙ i n d = 0
X is the set of outputs that represents the DOFs of the mobile platform; q i n d is the set of inputs that corresponds to the active joint length; and J D and J I are the forward and inverse Jacobian matrices, respectively. J D and J I are F x F square matrices for a non-redundant PR, where F is the number of DOF.
A type II singularity takes place when J D is rank deficient; i.e., its determinant is zero ( J D = 0 ). In this configuration, if an external force is applied to the PR, the mobile platform may move ( X ˙ 0 ) despite the actuators being locked ( q ˙ i n d = 0 ). For this reason, in a type II singularity, the control over the PR is lost, becoming potentially dangerous for the user or the robot itself. The PR under study must ensure a safe interaction with the knee of the patient, and, therefore, the treatment of type II singularities is an important problem to solve. A general method to detect the proximity to a type II singularity is by calculating the J D .
In the 3UPS+RPU PR, J D is defined as a 4 × 4 matrix,
J D = Φ x m     Φ z m     Φ θ     Φ ψ
with X = x m     z m     θ     ψ T and q i n d = q 13     q 23     q 33     q 42 T .
The online calculation of J D requires an accurate measure of X . In a model-based controller, X is estimated by solving the forward kinematic problem using the sensors installed in the actuated joints. In a type II singularity, the forward kinematic problem presents several feasible solutions, and an unambiguous estimation of the actual X is not possible. The accurate measure of the actual X of the PR requires direct sensing of the mobile platform by means of extra instrumentation, such as a 3DTS.

2.3. Angle between Two Output Twist Screws

The motion of the mobile platform of a PR is produced by the combined action of the active joints, making it difficult to identify the contribution of each actuator. Takeda and Funabashi [17] divided the movement of the mobile platform ( $ ) into F OTSs as follows:
$ = ρ 1 $ ^ O 1 + ρ 2 $ ^ O 2 + + ρ F $ ^ O F
with
$ ^ O = μ ω O ; μ v O *
ρ i is the amplitude for each OTS, and μ ω O and μ v O * are the instantaneous screw axis and the linear component of the normalized OTS ( $ ^ O ), respectively. Each $ ^ O is determined by solving Equation (5) considering that F 1 actuators are locked.
$ ^ O i $ ^ T j = 0     i , j = 1 , 2 , , F ,   i j
where stands for the reciprocal product, and   $ ^ T is the unitary TWS.
In [18], Wang et al. proved that for a singular configuration of a PR, at least two $ ^ O s are linearly dependent. This means that in a type II singularity, both μ ω O and μ v O * are equal or parallel. Based on this feature, a novel type II singularity proximity index is defined by measuring the angle Ω i , j between two μ ω O s and verifying the equality of their respective μ v O * . Grouping in pairs the F   μ ω O , there are F 2 angles Ω , which are defined as:
Ω i , j = a c o s μ ω O i · μ ω O j     i , j = 1 , 2 , , F ,   i j
where i and j represent the selected μ ω O .
In contrast with the J D , the index Ω i , j provides a physical scale for the measure of the proximity to a type II singularity. When Ω i , j = 0 and μ v O i * = μ v O j * , $ ^ O i and $ ^ O j are linearly dependent in Equation (3), identifying the open chains ( i , j ) involved in the type II singularity. Considering the centre of the mobile platform of the 3UPS+RPU PR, six possible Ω i , j s are considered:
Ω 1 , 2 = arccos μ ω O 1 · μ ω O 2 Ω 2 , 3 = arccos μ ω O 2 · μ ω O 3 Ω 1 , 3 = arccos μ ω O 1 · μ ω O 3 Ω 2 , 4 = arccos μ ω O 2 · μ ω O 4 Ω 1 , 4 = arccos μ ω O 1 · μ ω O 4 Ω 3 , 4 = arccos μ ω O 3 · μ ω O 4
The variables μ ω O 1 μ ω O 4 are calculated by solving Equation (5) with the four $ ^ T s of the linear actuators defined as
$ ^ T 1 = z 12 r O m A 1 × z 12 ,   $ ^ T 2 = z 22 r O m B 1 × z 22 , $ ^ T 3 = z 32 r O m C 1 × z 32 , $ ^ T 4 = z 41 0
where z   is the unit vector of the forces applied by the actuators, and r is the position vector for the connection point of the limbs with the mobile platform measured from O m ; see Figure 2.
The capability to detect the proximity to a type II singularity given by the six Ω i , j indices defined in Equation (7) has been verified from an analytical and experimental perspective [19]. However, the capability to identify the pair of limbs responsible for the type II singularity has not been exploited. Therefore, this study proposes a novel hybrid controller that takes advantage of the index Ω i , j to release the 3UPS+RPU PR from a type II singular configuration. The index Ω i , j is defined by means of the position and orientation of the mobile platform. For this reason, an accurate measure of the actual X is essential for developing the hybrid controller proposed.

2.4. 3D Tracking System

To be able to capture the movements of the mobile platform of the PR, a 3D tracking system (3DTS) based on artificial vision was used. The system consists of 10 Flex13 cameras from the manufacturer OptiTrack (Corvallis, OR, USA). These cameras use the infrared emission principle to be able to capture and detect the reflection that it creates on markers made of reflective 3M material.
Figure 3 shows the Robotics Laboratory and some cameras of the 3DTS used in this work. The cameras have a 1.3 Megapixel resolution and a capture velocity of 120 Hz. They have a latency or frame delay of 8.3 ms. The set of 10 cameras and the use of high-quality 14 mm markers make it possible to obtain an accuracy of more than 0.1 mm.
The cameras are connected to two OptiHub2 devices. The OptiHub2 allows higher and more consistent power delivery to cameras for enhanced tracking range, simpler camera setup and cabling, and support for camera synchronization. The OptiHub2 devices are connected to high-speed USB ports in the camera control computer, and this computer communicates with the robot control computer using an Ethernet connection. The Figure 4 below shows the architecture of the OptiTrack 3DTS of the laboratory.
The Motive Tracker software (Motive) from the same manufacturer, OptiTrack, is used on the camera control computer. This software is used to perform vision system calibration and obtain 6-DOF positioning results of objects within the tracking area. Motive uses high-level tracking filters and constraints to fine tune the performance of the high-speed object tracking. Motive associates a custom set of markers to a virtual element called rigid body and offers data access at any stage in the pipeline, i.e., 2D camera images, marker centroid data, labelled markers, and rigid bodies. In addition, it is possible to completely replace the Motive user interface and directly control the system operation in a new application with the NatNet SDK.
NatNet’s client/server architecture allows client applications to run on the same system as the tracking software (Motive), on separate system(s), or both. The SDK integrates seamlessly with standard APIs (C/C++/.NET), tools (Microsoft Visual Studio), and protocols (UDP/Unicast/Multicast). Using the NatNet SDK, developers can quickly integrate OptiTrack motion tracking data into new and existing applications, including custom plugins for third-party applications and engines for real-time streaming. In addition, this SDK provides a .NET interface and sample programs that work directly with MATLAB core, requiring no additional MATLAB modules. Figure 5 summarizes the software architecture of the 3DTS used in this study.
Regarding the experimental setup, each camera individually builds a 2D image based on the markers’ location, so a calibration process is required prior to the experiments in order to ensure that the system correctly reconstructs the 3D position of every marker.
The first step involved in this process is the correct orientation of the cameras to aim them at the workspace and, specifically, at the tracking volume, which, in this case, is the 4-DOF PR. Since the robot always operates in the same location and its workspace is limited, no changes in the camera location or orientation are required, and, therefore, they remain in the same position from the moment they are installed.
Another aspect to control is the brightness and illumination of the scene, as this allows the markers to be visible for the cameras, and, as such, no other unwanted objects are detected. Since the lighting conditions are the same for all experiments, some configuration parameters of the cameras, such as the exposure time, the gain, and the threshold, are set at constant values for all cameras using the software. If any intrusive markers are detected, they can either be manually covered by a cloth or masked in the software before performing the calibration.
After configuring the cameras, the calibration process starts with an empty scene where no markers should be detected, except for those attached to the calibration wand.
By moving the calibration wand, which is provided by OptiTrack, around the workspace, the cameras provide successive 2D projections of the markers. The 2D projections are used to compute the relative position of the cameras. The software shows the increasing precision of this estimation as the process progresses (Figure 6), and when a high enough quality is achieved, the process is manually stopped.
The second tool, which concludes the calibration process, is the calibration square shown in Figure 7. This object includes three markers in right angle that define the origin and axes of the world coordinate system (also called ground plane by Motive). The ground plane is placed on the floor within the workspace area in such a way that its markers can be visible by as many cameras as possible. This tool incorporates a level to ensure its horizontal position.
Although all the cameras remain in the same position, minor movements of any of the cameras between experiments (for example, due to vibrations) can lead to poor tracking performance. For that reason, the calibration process must be performed once a day to ensure reliable 3D tracking. The calibration steps take no more than five minutes. After calibrating the cameras, Motive starts streaming data from all rigid bodies within the workspace. Rigid bodies are a set of 3 or more (maximum 20) markers whose relative distances remain constant. In this research, there are 2 rigid bodies represented by the fixed and mobile platform, respectively, and a set of 4 markers was attached to them. Three of the markers describe the cartesian coordinate frame of both platforms, and the fourth is added in a random (but known) position. If one of the markers is missed by the software during an experiment, the other three make it possible to reconstruct its position and keep streaming enough accurate data.
In the PR pose tracking App presented in this paper, the NatNet SDK provides a client class to communicate with the Motive server. A data handler is attached to this client, which works as a call-back that is executed every time there is a new frame of data available from the server. This handler has been used for retrieval of the x, y, z position of three markers placed on the fixed platform and another three placed on the mobile platform of the PR. Given the coordinates of the six markers, the actual position and orientation of the mobile platform ( X c ) are calculated with respect to the O f X F Y F Z F   coordinate frame. Finally, X c is sent through ROS2 messages to feed the control system. A MATLAB program has also been designed to provide an online view of X c and calculate the actual actuator’s length by solving the inverse kinematics. Figure 8 presents the graphic user interface (GUI) for online measures of X c . It is important to note that this program is independent of the control system (and therefore runs in a personal computer) and simply offers a viewing tool.

2.5. Hybrid Controller Description

If a PR reaches a type II singularity, a controller must move the actuators to release the PR from the singularity, maintaining a minimum deviation from the original configuration. Therefore, a method to identify the best set of actuators to be moved is needed. The index Ω i , j , using the position and orientation of the mobile platform, is able to identify the actuators involved in the type II singularity. However, in a type II singularity, the measurement of the actual position and orientation of the PR require an external sensor, such as a 3DTS. For this reason, a novel controller able to release the PR under study from a type II singularity using the index Ω i , j and a 3DTS is proposed. It is important to note that this is the first time that the index Ω i , j is employed as an online proximity detector to a type II singularity.
The novel vision-based hybrid controller to release the 3UPS+RPU PR from a type II singularity is shown in Figure 9. The hybrid controller combines two-level closed loops: an algebraic algorithm (inner loop) and a type II singularity releaser (outer loop). The type II singularity releaser calculates the Ω i , j indices using the position and orientation of the PR provides by the OptiTrack 3DTS.
In the inner loop, the control signals ( μ ) to track the desired actuator’s location q i n d d are calculated by an algebraic algorithm based on the measured location of the actuators q i n d c . The μ is proportional to the forces ( τ ) applied by the linear actuators to move the mobile platform.
In the outer loop, the reference location of the actuators ( q i n d r ) is obtained by solving the inverse kinematics for a knee rehabilitation trajectory ( X r ), and X r is designed for the 4-DOF of the 3UPS+RPU PR.
Based on the X c measured by the 3DTS, the proximity to a type II singularity is detected by V Ω c and | | J D | | c at every time step. V Ω c stores the six Ω i , j indices as Ω 1 , 2 Ω 1 , 3 Ω 1 , 4 Ω 2 , 3 Ω 2 , 4 Ω 3 , 4 T . If the 3UPS+RPU PR gets close to a type II singularity, q i n d r is modified to define q i n d d . In Figure 9, the type II singularity releaser module (SRM) calculates the desired location of the actuator as follows:
q i n d d = q i n d r + ν d · t s · Δ i
where ν d is the releasing velocity module for each actuator, t s stands for the controller sample time, and Δ i represents an integer vector that counts the deviation required in the F actuators to release the PR from a type II singularity.
The SRM calculates q i n d d at every time step, although Δ i is modified only if an enable pin ( e p i n ) is activated. Two versions of the algorithms have been proposed to contrast the results when (i) moving the actuators that cause the singularity and (ii) moving the actuators that do not cause the singularity according to V Ω c .
The first version (SRM-V1) releases a PR from a type II singularity by moving the limbs identified by min Ω c , which represents the minimum value of V Ω c . If min Ω c or J D c is lower than a certain limit, Ω l i m and J D l i m , respectively, the two rows of Δ i that have to change are identified by i c h . The possible change combinations for the two rows of Δ i are defined by the columns of M i n c as follows:
M i n c = 1 1 1 1       1 1 1       1 1 0 1       0 0 1       0 1
where 0, 1, and −1 correspond to the stop, unit forward motion, and unit backward motion commands for an actuator, respectively.
For each column of M i n c , an auxiliary variable q c h is initialized as q i n d d , and then its elements indexed by i c h are modified using the current M i n c column. Then, it is checked that this position is confined within the geometrical limits. If q c h is inside the actuators’ displacement range, the forward kinematic problem is solved ( X c h ). Next, the angles reached by the spherical joints ( α c h ) are calculated. If α c h is within the working range, a new Ω i , j is calculated for the limbs identified by i c h , and it is added to V Ω c h . Then, Δ i takes the value of the column of M i n c that produces the maximum element of V Ω c h ( max Ω c h ), as that combination contributes the most to releasing the singularity without exceeding any range limit. Finally, q i n d d is updated using the new Δ i .
An alternative algorithm called SRM-V2 has been proposed to test the behaviour when moving the wrong limbs. It modifies the rows of Δ i that are not related to min Ω c ( i n c ) to release the PR from the type II singularity caused by the actuators i c h . SRM-V2 is designed to verify that moving the actuators identified by min Ω c is the best way to release the 3UPS+RPU PR from a type II singularity.
The complete process performed by SRM-V1 is described in the pseudocode shown in Algorithm 1, where SRM-V2 is obtained by adding and replacing, the lines marked with * and * * , respectively. A description of the variables used in Algorithm 1 is presented in Table 2.
Algorithm 1. Initialization 3
INITIALIZATION
                 Δ i = 0
N c h = number of columns of M i n c .
BEGIN
q i n d d = q i n d r + ν d · t s · Δ i
IF e p i n = = t r u e
    min Ω c = minimum element in V Ω c
  IF min Ω c < Ω l i m OR J D c < J D l i m
    IF min Ω c = = V Ω c 1
       i c h = 1 2
       *     i n c = 3 4
    ELSEIF min Ω c = = V Ω c 2
       i c h = 1 3
       *     i n c = 2 4
    ELSEIF min Ω c = = V Ω c 3
       i c h = 1 4
       *     i n c = 2 3
    ELSEIF min Ω c = = V Ω c 4
       i c h = 2 3
       *     i n c = 1 4
    ELSEIF min Ω c = = V Ω c 5
       i c h = 2 4
       *     i n c = 1 3
    ELSE min Ω c = = V Ω c 6
     i c h = 3 4
       *     i n c = 1 2
    ENDIF
     V Ω c h = column vector of N c h zeros
    FOR c 1 = 1 : N c h
       q c h = q i n d d
       q c h i c h = q c h i c h + ν d · t s · M i n c : , c 1
       * *     q c h i n c = q c h i n c + ν d · t s · M i n c : , c 1
      IF m i n q i n d < q c h < m a x q i n d (element-wise comparison)
         X c h = Solve the Forward Kinematics for q c h , using X c as initial condition
         α c h = Angle of spherical joints for X c h
        IF α c h < α l i m (element-wise comparison)
             V Ω c h c 1 = Calculate the index Ω i , j for X c h with i , j = i c h
        ENDIF
      ENDIF
   ENDFOR
     c 1 = a r g m a x V Ω c h
     Δ i i c h = Δ i i c h + M i n c : , c 1
     q i n d d = q i n d r + ν d · t s · Δ i
  ENDIF
ENDIF
END
Due to the properties of the index Ω i , j , the SRM algorithm has the advantage of moving a pair of F actuators simultaneously in each time step of the controller. For this reason, the SRM reduces the consumption of computing resources and the difference between q i n d d and the original q i n d r .

3. Results

This section begins with a detailed description of the simulation setup, including the singular trajectories to be tested with SRM-V1 and SRM-V2 versions of the hybrid controller. Next, the performance of the hybrid controller in simulation is evaluated, where SRM-V1 appears to be better than SRM-V2. Subsequently, the experimental setup and the features of the actual 3UPS+RPU PR are detailed. Finally, the main experimental results show the effectiveness of the hybrid controller using SRM-V1 to release the PR under study from a type II singularity.

3.1. Simulation of the Vision-Based Hybrid Controller

Prior to implementing the algorithm on the actual PR, some simulations are performed on a kinematic and dynamic model of the 3UPS+RPU PR designed in MATLAB/Simulink. In both simulation and experimentation, the PR is moved from the initial position to a singular test configuration without activating the releaser. Then, it remains in the singular configuration for 15 s, after which the loop of the SRM is activated via e p i n . In that moment, one of the SRMs in Section 2.5 is launched based on the assumption that it will help release the robot from the type II singularity. The SRM launched has a lapse of 15 s , allowing it to move the PR under study to a non-singular configuration.
Due to the lack of a simulated model of the 3DTS (see Figure 9) for MATLAB/Simulink, X c is calculated directly by solving the forward kinematic problem. The main objective of the simulation is to test that the novel hybrid controller increases the values of J D and Ω i , j in the vicinity of a type II singular configuration; i.e., it is able to release the PR under study from the type II singularity.
Since the 3UPS+RPU PR was built to interact with human knees, it is used to execute three rehabilitation movements: flexion of the hip, flexion–extension of the knee, and internal–external rotation of the knee [19]. This study, combining these three fundamental movements for simulation and experimentation, performs five knee rehabilitation trajectories ending in a type II singular configuration (see Table 3). The singular configurations of these five trajectories have J D and Ω i , j close to zero but not exactly zero, avoiding several forward kinematic solutions in the simulation. All five knee trajectories are designed with constant velocity; in this case, the translational DOFs move at 0.02 m / s and the rotational ones at 0.03 rad / s .
The simulation of the five knee rehabilitation trajectories verifies that SRM-V1 and SRM-V2 release the 3UPS+RPU PR from a singular configuration. Figure 10 shows how the type II singularity indices J D c and min Ω c increase when e p i n is activated for trajectory 1. These results verify from an analytical perspective that the hybrid controller proposed releases the 3UPS+RPU PR from a type II singularity.
The performance of the proposed hybrid controller in tracking q i n d r is evaluated by three overall measures:
  • The mean absolute error (MAE)
    MAE = 1 F i = 1 F 1 n j = 1 n q i n d r i , j q i n d c i , j
  • The mean absolute percentage error (MAPE)
    MAPE = 100 F i = 1 F 1 n j = 1 n q i n d r i , j q i n d c i , j q i n d r i , j
  • The mean distance travelled for type II singularity release (MDSR)
    MDSR = 1 F i = 1 F j = 1 n q i n d r i , k q i n d c i , j
    where n is the number of samples taken after the activation of e p i n at instant k , and i and j are the actuator and the time instant, respectively.
Table 4 shows the MAE, MAPE, and MDSR results for the simulation of the hybrid controller with SRM-V1 and SRM-V2. In this table, the MAE and the MAPE show that SRM-V1 has less error in position tracking than that of SRM-V2 during release from the type II singularity. In addition, the MDSR shows that SRM-V1 needs fewer movements of the actuators than SRM-V2 to release the PR from a singular configuration. These results show that moving the pair of actuators identified by the index Ω i , j (SRM-V1) is the best option to release a PR from a type II singularity.

3.2. Experimentation of the Vision-Based Hybrid Controller

After testing the novel vision-based controller in simulation, the next step is implementing the hybrid controller on the real robot according to the diagram shown in Figure 9. Although both the simulation and experimentation have the same procedure, the experimentation presents two notable differences:
  • X c is provided by processing the data stream from the 3DTS in real time.
  • During the 15 s before the SRM is activated, an external perturbation is applied to the PR. Since in a type II Singularity the PR can vary its position and orientation without moving any actuators, the researcher can apply some forces to the PR by hand to check whether the mobile platform experiences uncontrolled motion.
In the experimental context, the type II singularity release can be tested by trying to move the PR by hand before (when the PR is expected to move) and after the SRM is activated. After the activation of the SRM, the 3UPS+RPU PR will regain the stiffness required to ensure safe interaction with a patient.
Regarding the actual robot, the external limbs are driven by Festo DNCE 32-BS10 prismatic actuators, and the central limb is driven by a NIASA M100-F16 prismatic actuator. All the actuators are attached to Maxon 148867 150 W DC motors commanded by ESCON 50/5 servo controllers, which control the current by means of pulse width modulation (PWM). The current is proportional to the applied voltage (which comes from the control actions), and the torque is in turn proportional to the current. The DC motors are equipped with incremental encoders with a resolution of 500 counts per turn.
The control unit is connected to an industrial computer using acquisition cards. A PCI 1784 Advantech card is used to read the position from the encoders, having four 32-bit quadruple AB phase encoder counters. On the other hand, a 12-bit, 4-channel PCI 1720 Advantech card is used to send the control actions μ .
The proposed vision-based hybrid controller runs on the Robot Operating System 2 (ROS2) [31,32]. The two levels of the hybrid controller and the processing of the data stream from the 3DTS are implemented in a modular way using the C++ and Python programming languages. The controller receives the set of references q i n d r from the solution of the inverse kinematics given the Cartesian references for the end-effector. The q i n d r is sampled at a rate of 100 Hz, and the desired releasing velocity ν d is set to 0.01 m s . These parameters are suitable for knee rehabilitation requirements.
For the actual PR, a fourth performance index is added to evaluate the smoothness of the movements performed by the controller, which is measured with the absolute variation rate (AVR) of the control actions as follows:
AVR = 1 F i = 1 F j = 2 n τ i , j τ i , j 1
During the first run of trajectory 1 using the hybrid controller with SRM-V2, the actual 3UPS+RPU PR reaches an AVR of 8N, which is too high for knee rehabilitation. For this reason, the experiment on the actual PR under study only focuses on the hybrid controller with SRM-V1. This decision is also supported by the better performance shown in the simulation (see Table 4).
Table 5 shows the results of performance tracking of q i n d r of the hybrid controller with SRM-V1 implemented on the 3UPS+RPU PR. The MAE and MAPE for experimentation are similar to the simulation results, with a low AVR ensuring smooth movements of the mobile platform. In contrast, the actual MDSR is lower than the values calculated in the simulation. The reduction in MDSR is due to the accurate measure of X c provided by the 3DTS, which is fundamental for a proper measure of the proximity to a type II singularity.
Figure 11 shows the measures of the two indices ( J D c and min Ω c ) when the actual PR is released from a singular configuration, corresponding to trajectory 1 with Ω 3 , 4 as min Ω c . The variation of J D c and min Ω c before SRM-V1 is activated is due to the external force applied to the actual PR. It is important to mention that the actual PR recovers its stiffness at the end of all experiments. To the best of the author’s knowledge, this is the first time that an actual PR has been driven to a type II singularity and successfully released from it by using the index   Ω i , j . The results can be seen in Video 1 and Video 2 provided as Supplementary Materials of this research.
Figure 12 shows the reference ( r ) trajectory for x m in contrast to its estimation ( c ^ ) by using the forward kinematic model and the experimental measures ( c ) based on data streaming from the 3DTS. Despite both estimated and experimental measures being calculated online, only the experimental measure detects the movement produced by the external force applied to the PR. This verifies that when the 3UPS+RPU PR is in a type II singularity, the actual x m cannot be determined by solving the forward kinematic.
Figure 13a shows the position for limb 3, which is one of the two limbs involved in the type II singularity in trajectory 1. In this figure, the measured position ( c ) accurately tracks the desired position ( d ), which differs from the reference ( r ) only after SRM-V1 activation. Furthermore, Figure 13a clearly shows that the desired position is modified by a few millimetres from the reference to release the actual PR from the type II singularity. Finally, Figure 13b shows the smooth control actions calculated by the hybrid controller implemented on the actual PR using SMR-V1. Video 1 provides an interactive view of the results presented in Figure 12 and Figure 13 and can be found in the Supplementary Materials Section.
The experimental results conclude that the vision-based hybrid controller with SMR-V1 releases an actual PR from a type II singularity with minimum deviation from the original reference. In addition, the OptiTrack 3DTS allows the hybrid controller with SMR-V1 to take advantage of the features of the index Ω i , j .

4. Discussion

This study has addressed the novel task of releasing a 4-DOF PR from type II singular configuration using the index Ω i , j to identify the limbs involved in the singularity. The hybrid controller proposed combines an algebraic controller with an external computational loop that modifies the joint references only for the limbs that are causing the singularity. This mechanism can be activated whenever the robot enters into a type II singularity by measuring the J D c and min Ω c . Both J D c and min Ω c are measured based on the actual position and orientation of the mobile platform that is provided online by a OptiTrack 3DTS. The embedded sensorization includes a set of encoders attached to the motors to ascertain the joint positions.
To show the effectiveness of the designed method, several experiments have been conducted with trajectories that leave the robot in distinct singular configurations, where the releasing algorithm is activated. This scheme has been implemented in both simulation and actual settings to compare the differences in performance when moving the limbs involved (SRM-V1) or not involved (SRM-V2) in the type II singularity. The algorithm for SRM-V1 and SRM-V2 defined the movement of the actuators based on the results of min Ω c .
The results of the simulation in Section 3.1 clearly show that SRM-V1 makes the robot behave better in terms of all the performance measures with respect to SRM-V2. According to Table 4, SRM-V1 presents a 0.54% (4.09 mm) mean error in tracking the original reference with a mean distance travelled of 7.95 mm for releasing the PR from a type II singularity. These errors are approximately half of those obtained with SRM-V2, thus verifying that moving the actuators identified by min Ω c is the best option to release the 3UPS+RPU PR from a type II singularity. In fact, no trajectories were performed with the actual robot using SRM-V2, as a first experiment using this algorithm showed that the robot was struggling to get out of the singular configuration, with sharper control actions than those obtained in simulation.
Section 3.2 shows that by using knowledge of the true position and orientation of the mobile platform, the hybrid controller with SRM-V1 can successfully release the actual PR from a type II singularity. All singular trajectories were overcome, even in the cases where the mobile platform was manipulated to change its position during the standby time. The results show how the simulated and real experiments are alike, as all of the indicators for SMR-V1 are somewhat similar. These errors are proven to be dependent on the starting singular configuration, since trajectory 5 is harder for the PR to overcome.
Based on the results of simulation and experimentation, this is the first use of a vision-based hybrid controller capable of releasing a 4-DOF PR from a singular configuration. It is also notable that the effectiveness of the release from a type II singularity with a minimum deviation of the original reference depends on min Ω c . The smoother response of the vision-based hybrid controller is achieved because of the accurate measures of the 3DTS, making it a fundamental element of the hybrid controller. It is important to highlight that before this research, the Ω i , j had not been used as an online detector of the proximity to type II singularities for controlling purposes.
The proposed vision-base hybrid controller compensates a main drawback of PRs, and it represents a step forward towards compliant manipulation of PRs. This system improves the performance of knee rehabilitation tasks by ensuring the safety of the patient during human–robot interaction, even if the PRs arise a type II singularity.
In future research, SRM-V1 can be extended for its use in the task of type II singularity avoidance, i.e., preventing the PR from entering into a singular configuration. Although little literature exists regarding this field, the SRM-V1 algorithm offers valuable insight into the limbs that are expected to lead the robot to a type II singularity. After adding the possibility of returning to the original reference to SRM-V1, the avoidance of type II singularities could be achieved in a more reliable way than using other methods such as artificial potential fields.

Supplementary Materials

The following videos are available online at https://imbio3r.ai2.upv.es/videos/TypeII_singularities: Video 1: 4-DOF parallel robot: vision-based hybrid controller to release from a type II singularity. Trajectory 1; Video 2: 4-DOF parallel robot: vision-based hybrid controller to release from a type II singularity. Trajectory 5.

Author Contributions

Conceptualization, V.M., M.V., and M.U.; methodology, V.M., M.V., and J.L.P.; software, R.J.E. and J.F.; validation, V.M. and M.U.; formal analysis, V.M.; investigation, J.L.P.; resources, V.M. and M.V.; data curation, R.J.E. and J.F.; writing—original draft preparation, M.V.; writing—review and editing, J.L.P.; visualization, M.V.; supervision, V.M.; project administration, V.M. and M.V.; funding acquisition, V.M. and M.V. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the FEDER-CICYT project with reference PID2020-119522RB-I00 (ROBOTS PARALELOS DE REHABILITACION: DETECCION Y CONTROL DE SINGULARIDADES EN PRESENCIA DE ERRORES DE MANUFACTURA), Spain.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Briot, S.; Khalil, W. Dynamics of Parallel Robots—From Rigid Links to Flexible Elements; Springer: Berlin/Heidelberg, Germany, 2015; ISBN 978-3-319-19787-6. [Google Scholar]
  2. Patel, Y.D.; George, P.M. Parallel Manipulators Applications—A Survey. Mod. Mech. Eng. 2012, 2, 57–64. [Google Scholar] [CrossRef] [Green Version]
  3. Aliakbari, M.; Mahboubkhah, M. An adaptive computer-aided path planning to eliminate errors of contact probes on free-form surfaces using a 4-DOF parallel robot CMM and a turn-table. Meas. J. Int. Meas. Confed. 2020, 166, 108216. [Google Scholar] [CrossRef]
  4. Xie, S. Advanced Robotics for Medical Rehabilitation: Current State of the Art and Recent Advances; Springer: Cham, Switzerland, 2016; ISBN 978-3-319-19895-8. [Google Scholar]
  5. Díaz, I.; Gil, J.J.; Sánchez, E. Lower-Limb Robotic Rehabilitation: Literature Review and Challenges. J. Robot. 2011, 2011, 759764. [Google Scholar] [CrossRef]
  6. Sui, P.; Yao, L.; Lin, Z.; Yan, H.; Dai, J.S. Analysis and synthesis of ankle motion and rehabilitation robots. In Proceedings of the 2009 IEEE International Conference on Robotics and Biomimetics (ROBIO), Guilin, China, 19–23 December 2009; pp. 2533–2538. [Google Scholar] [CrossRef]
  7. Ai, Q.; Zhu, C.; Zuo, J.; Meng, W.; Liu, Q.; Xie, S.; Yang, M. Disturbance-Estimated Adaptive Backstepping Sliding Mode Control of a Pneumatic Muscles-Driven Ankle Rehabilitation Robot. Sensors 2017, 18, 66. [Google Scholar] [CrossRef] [Green Version]
  8. Atashzar, S.F.; Shahbazi, M.; Patel, R.V. Haptics-enabled Interactive NeuroRehabilitation Mechatronics: Classification, Functionality, Challenges and Ongoing Research. Mechatronics 2019, 57, 1–19. [Google Scholar] [CrossRef]
  9. Kataoka, Y.; Takeda, R.; Tadano, S.; Ishida, T.; Saito, Y.; Osuka, S.; Samukawa, M.; Tohyama, H. Analysis of 3-d kinematics using h-gait system during walking on a lower body positive pressure treadmill. Sensors 2021, 21, 2619. [Google Scholar] [CrossRef]
  10. Gosselin, C.; Angeles, J. Singularity Analysis of Closed-Loop Kinematic Chains. IEEE Trans. Robot. Autom. 1990, 6, 281–290. [Google Scholar] [CrossRef]
  11. Park, F.C.; Kim, J.W. Singularity Analysis of Closed Kinematic Chains. J. Mech. Des. 1999, 121, 32–38. [Google Scholar] [CrossRef] [Green Version]
  12. di Gregorio, R.; Parenti-Castelli, V. Mobility analysis of the 3-UPU parallel mechanism assembled for a pure translational motion. In Proceedings of the 1999 IEEE/ASME International Conference on Advanced Intelligent Mechatronics (Cat. No.99TH8399), Atlanta, GA, USA, 19–23 September 1999; IEEE: New York, NY, USA, 1999; pp. 520–525. [Google Scholar]
  13. Slavutin, M.; Shai, O.; Sheffer, A.; Reich, Y. A novel criterion for singularity analysis of parallel mechanisms. Mech. Mach. Theory 2019, 137, 459–475. [Google Scholar] [CrossRef]
  14. Voglewede, P.A.; Ebert-Uphoff, I. Measuring “closeness” to singularities for parallel manipulators. In Proceedings of the IEEE International Conference on Robotics and Automation, New Orleans, LA, USA, 26 April–1 May 2004; IEEE: New York, NY, USA, 2004; Volume 5, pp. 4539–4544. [Google Scholar]
  15. Davidson, J.K.; Hunt, K.H.; Pennock, G.R. Robots and Screw Theory: Applications of Kinematics and Statics to Robotics. J. Mech. Des. 2004, 126, 763. [Google Scholar] [CrossRef] [Green Version]
  16. Yuan, M.S.C.; Freudenstein, F.; Woo, L.S. Kinematic Analysis of Spatial Mechanisms by Means of Screw Coordinates. Part 2—Analysis of Spatial Mechanisms. J. Eng. Ind. 1971, 93, 67. [Google Scholar] [CrossRef]
  17. Takeda, Y.; Funabashi, H. Motion Transmissibility of In-Parallel Actuated Manipulators. JSME Int. J. Ser. C Dyn. Control Robot. Des. Manuf. 1995, 38, 749–755. [Google Scholar] [CrossRef] [Green Version]
  18. Wang, J.; Wu, C.; Liu, X.-J. Performance evaluation of parallel manipulators: Motion/force transmissibility and its index. Mech. Mach. Theory 2010, 45, 1462–1476. [Google Scholar] [CrossRef]
  19. Pulloquinga, J.L.; Mata, V.; Valera, Á.; Zamora-Ortiz, P.; Díaz-Rodríguez, M.; Zambrano, I. Experimental analysis of Type II singularities and assembly change points in a 3UPS+RPU parallel robot. Mech. Mach. Theory 2021, 158, 104242. [Google Scholar] [CrossRef]
  20. Scalera, L.; Carabin, G.; Vidoni, R.; Wongratanaphisan, T. Energy efficiency in a 4-dof parallel robot featuring compliant elements. Int. J. Mech. Control 2019, 20, 1–9. [Google Scholar]
  21. Marchi, T.; Mottola, G.; Porta, J.M.; Thomas, F.; Carricato, M. Position and singularity analysis of a class of planar parallel manipulators with a reconfigurable end-effector. Machines 2021, 9, 7. [Google Scholar] [CrossRef]
  22. Llopis-Albert, C.; Rubio, F.; Valero, F. Optimization approaches for robot trajectory planning. Multidiscip. J. Educ. Soc. Technol. Sci. 2018, 5, 1–16. [Google Scholar] [CrossRef] [Green Version]
  23. Bordalba, R.; Porta, J.M.; Ros, L. A Singularity-Robust LQR Controller for Parallel Robots. In Proceedings of the IEEE International Conference on Intelligent Robots and Systems, Madrid, Spain, 1–5 October 2018; Institute of Electrical and Electronics Engineers Inc.: New York, NY, USA, 2018; pp. 5048–5054. [Google Scholar]
  24. Agarwal, A.; Nasa, C.; Bandyopadhyay, S. Dynamic singularity avoidance for parallel manipulators using a task-priority based control scheme. Mech. Mach. Theory 2016, 96, 107–126. [Google Scholar] [CrossRef]
  25. Lee, L.W.; Chiang, H.H.; Li, I.H. Development and control of a pneumatic-actuator 3-dof translational parallel manipulator with robot vision. Sensors 2019, 19, 1459. [Google Scholar] [CrossRef] [Green Version]
  26. Huynh, B.-P.; Su, S.-F.; Kuo, Y.-L. Vision/Position Hybrid Control for a Hexa Robot Using Bacterial Foraging Optimization in Real-time Pose Adjustment. Symmetry 2020, 12, 564. [Google Scholar] [CrossRef] [Green Version]
  27. Amarasinghe, D.; Mann GK, I.; Gosine, R.G. Vision-Based Hybrid Control Strategy for Autonomous Docking of a Mobile Robot; Institute of Electrical and Electronics Engineers (IEEE): New York, NY, USA, 2005; pp. 1600–1605. [Google Scholar]
  28. Araujo-Gómez, P.; Mata, V.; Díaz-Rodríguez, M.; Valera, A.; Page, A. Design and Kinematic Analysis of a Novel 3UPS/RPU Parallel Kinematic Mechanism With 2T2R Motion for Knee Diagnosis and Rehabilitation Tasks. J. Mech. Robot. 2017, 9, 061004. [Google Scholar] [CrossRef]
  29. Vallés, M.; Araujo-Gómez, P.; Mata, V.; Valera, A.; Díaz-Rodríguez, M.; Page, Á.; Farhat, N.M. Mechatronic design, experimental setup, and control architecture design of a novel 4 DoF parallel manipulator. Mech. Based Des. Struct. Mach. 2018, 46, 425–439. [Google Scholar] [CrossRef]
  30. Valero, F.; Díaz-Rodríguez, M.; Vallés, M.; Besa, A.; Bernabéu, E.; Valera, Á. Reconfiguration of a parallel kinematic manipulator with 2T2R motions for avoiding singularities through minimizing actuator forces. Mechatronics 2020, 69, 102382. [Google Scholar] [CrossRef]
  31. Maruyama, Y.; Kato, S.; Azumi, T. Exploring the performance of ROS2. In Proceedings of the Proceedings of the 13th International Conference on Embedded Software, EMSOFT 2016, Pittsburgh, PA, USA, 1–7 October 2016; Association for Computing Machinery, Inc.: New York, NY, USA, 2016; pp. 1–10. [Google Scholar]
  32. Jiang, Z.; Gong, Y.; Zhai, J.; Wang, Y.P.; Liu, W.; Wu, H.; Jin, J. Message Passing Optimization in Robot Operating System. Int. J. Parallel Program. 2020, 48, 119–136. [Google Scholar] [CrossRef]
Figure 1. Mechanical configuration of the 3UPS+RPU PR.
Figure 1. Mechanical configuration of the 3UPS+RPU PR.
Sensors 21 04080 g001
Figure 2. TWSs in the 3UPS+RPU PR.
Figure 2. TWSs in the 3UPS+RPU PR.
Sensors 21 04080 g002
Figure 3. Robotics Laboratory equipped with the OptiTrack 3DTS.
Figure 3. Robotics Laboratory equipped with the OptiTrack 3DTS.
Sensors 21 04080 g003
Figure 4. Laboratory OptiTrack 3DTS architecture.
Figure 4. Laboratory OptiTrack 3DTS architecture.
Sensors 21 04080 g004
Figure 5. Software architecture of the OptiTrack 3DTS.
Figure 5. Software architecture of the OptiTrack 3DTS.
Sensors 21 04080 g005
Figure 6. Calibration wand and experiment to determine the location of the markers.
Figure 6. Calibration wand and experiment to determine the location of the markers.
Sensors 21 04080 g006
Figure 7. Calibration square.
Figure 7. Calibration square.
Sensors 21 04080 g007
Figure 8. GUI for position and orientation tracking designed in MATLAB.
Figure 8. GUI for position and orientation tracking designed in MATLAB.
Sensors 21 04080 g008
Figure 9. Hybrid controller architecture.
Figure 9. Hybrid controller architecture.
Sensors 21 04080 g009
Figure 10. (a) J D (b) min Ω for trajectory 1 in the simulation.
Figure 10. (a) J D (b) min Ω for trajectory 1 in the simulation.
Sensors 21 04080 g010
Figure 11. (a) J D (b) min Ω for trajectory 1 in the experimentation.
Figure 11. (a) J D (b) min Ω for trajectory 1 in the experimentation.
Sensors 21 04080 g011
Figure 12. x m position for trajectory 1.
Figure 12. x m position for trajectory 1.
Sensors 21 04080 g012
Figure 13. (a) q i n d (b) τ on limb 3 for trajectory 1.
Figure 13. (a) q i n d (b) τ on limb 3 for trajectory 1.
Sensors 21 04080 g013
Table 1. Geometric parameters for the 3UPS+RPU PR.
Table 1. Geometric parameters for the 3UPS+RPU PR.
R 1   m R 2   m R 3   m   β F D   ° β F I   ° d s   m
0.40.40.490450.15
R m 1   m R m 2   m R m 3   m   β M D   ° β M I   °
0.30.30.35090
Table 2. Description of parameters, inputs, and outputs of SRM-V1 and SRM-V2.
Table 2. Description of parameters, inputs, and outputs of SRM-V1 and SRM-V2.
Parameters
VariableDescriptionDefault
ν d releasing   velocity   module   in   m / s 0.01
t s controller   sample   time   in   s 0.01
J D l i m experimental   limit   for   J D 0.015
Ω l i m experimental   limit   for   Ω i , j 1.8 °
m a x q i n d maximum feasible values for the actuators’ length in m ,   4 x 1 vector 0.93 0.92 0.93 0.82 T
m i n q i n d minimum feasible values for the actuators’ length in m ,   4 x 1 vector 0.65 0.64 0.65 0.54 T
α l i m experimental limits for the spherical joints, 3 x 1 vector 38 °
M i n c possible   increments / decrements   for   Δ i See equation (10)
Δ i column   vector   4 x 1 , persistent variable-
Inputs
VariableDescriptionDefault
e p i n enable pin-
J D c determinant of the forward Jacobian matrix, feedback signal-
V Ω c column vector with the six Ω i , j indices, feedback signals-
X c position and orientation of the mobile platform, feedback signal-
q i n d r trajectory for the actuators, reference signal-
Outputs
VariableDescriptionDefault
q i n d d trajectory for the actuators, desired signal-
Table 3. Description of the trajectories with a type II singularity at the end.
Table 3. Description of the trajectories with a type II singularity at the end.
TrajectoryDescriptionType II Singularity
x m   ( m ) z m   ( m ) θ (rad) ψ (rad)
1Hip flexion0.010.700.150.31
2Partial internal–external knee rotation0.010.70−0.020.14
3Flexion–extension of the knee combined with ankle and knee rotations0.050.72−0.010.15
4Flexion–extension of the knee combined with hip flexion0.120.77−0.060.11
5Complete internal–external knee rotation−0.050.730.100.33
Table 4. Performance of the hybrid controller using SRM-V1 and SRM-V2 in the simulation.
Table 4. Performance of the hybrid controller using SRM-V1 and SRM-V2 in the simulation.
TrajectoryMAE (mm)MAPE (%)MDSR (mm)
SRM-V1SRM-V2SRM-V1SRM-V2SRM-V1SRM-V2
13.8710.740.531.407.0118.18
21.092.040.140.285.052.92
31.776.150.240.824.786.74
43.0010.240.381.257.4810.81
510.7410.441.431.3715.4735.23
MEAN4.097.920.541.027.9514.77
Table 5. Performance of the hybrid controller using SRM-V1 in the experimentation.
Table 5. Performance of the hybrid controller using SRM-V1 in the experimentation.
TrajectoryMAE (mm)MAPE (%)MDSR (mm)AVR (N)
13.260.453.640.22
23.020.417.610.52
32.050.271.600.17
42.140.271.900.46
510.661.4211.821.44
MEAN4.220.565.310.56
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Pulloquinga, J.L.; Escarabajal, R.J.; Ferrándiz, J.; Vallés, M.; Mata, V.; Urízar, M. Vision-Based Hybrid Controller to Release a 4-DOF Parallel Robot from a Type II Singularity. Sensors 2021, 21, 4080. https://doi.org/10.3390/s21124080

AMA Style

Pulloquinga JL, Escarabajal RJ, Ferrándiz J, Vallés M, Mata V, Urízar M. Vision-Based Hybrid Controller to Release a 4-DOF Parallel Robot from a Type II Singularity. Sensors. 2021; 21(12):4080. https://doi.org/10.3390/s21124080

Chicago/Turabian Style

Pulloquinga, José L., Rafael J. Escarabajal, Jesús Ferrándiz, Marina Vallés, Vicente Mata, and Mónica Urízar. 2021. "Vision-Based Hybrid Controller to Release a 4-DOF Parallel Robot from a Type II Singularity" Sensors 21, no. 12: 4080. https://doi.org/10.3390/s21124080

APA Style

Pulloquinga, J. L., Escarabajal, R. J., Ferrándiz, J., Vallés, M., Mata, V., & Urízar, M. (2021). Vision-Based Hybrid Controller to Release a 4-DOF Parallel Robot from a Type II Singularity. Sensors, 21(12), 4080. https://doi.org/10.3390/s21124080

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop