key: cord-0734602-xvqahm1v authors: Jayaswal, Kuldeep; Palwalia, D. K.; Kumar, Subodh title: Analysis of robust control method for the flexible manipulator in reliable operation of medical robots during COVID-19 pandemic date: 2020-10-16 journal: Microsyst Technol DOI: 10.1007/s00542-020-05028-9 sha: 6a3c0881da4cd983faddf2af2e707488e2a7567f doc_id: 734602 cord_uid: xvqahm1v A novel coronavirus disease (COVID-19) is transmitting throughout the globe. During this Pandemic situation, medical robots are playing an important role in protecting front line medical staff from this disease. The flexible robotic manipulator has mechanical flexibility, due to that fluctuation or oscillations can be seen either during or after the movement of a manipulator and can create uncertainty in medical operations. During this pandemic situation, reliable operations of these robots are necessary that depend upon the stability of flexible manipulators. In this article, Linear Quadratic Regulator (LQR), Pole Placement, and Proportional-Integral-Derivatives (PID) control methods have been used to investigate the robust control method for controlling the position of manipulator with flexible link in medical robots. To carry out this research, an effective variant of the flexible Link robotic manipulator has been used as a framework to analyze the robust control method. The Matlab®/Simulink result shows that the LQR control method provides better control response compared to PID and pole placement method and thus provides reliable operation to Medical Robots. A novel coronavirus infection disease named 'COVID-19 0 is a vast community of viruses which are extending from the normal cold to destructive diseases just like the 'Severe Acute Respiratory Syndrome' (SARS-CoV) and 'Middle East respiratory syndrome' (MERS-CoV) (Romanov 2020) . Thousands of physicians and nurses have fallen ill in the COVID-19 epidemic, and hundreds have died. Globally, according to 'Situation report-159' by world health organization (WHO) total of 96, 53,048 confirmed cases and 4, 91,128 deaths have been reported till 27 June 2020 (WHO 2020) . During the COVID-19 pandemic, medical robots are playing a very important role by decreasing workmanship. In healthcare, the need for these robots is rising day by day to reduce the chances of community transmission. This technology can assist with social distancing (implemented by the various governments across the globe) that reduces the risk of infections for patients and health workers acquired by healthcare (Wee et al. 2020; WHO 2020) . Hospitals are using intelligent robots to assist in various applications like; surgeries, delivering food and medicines to patients, hospital sanitization, and provide information to patients. One can say that the Tele-nursing paradigm also playing a crucial role. Tele-Nursing is the process in which a person can monitor a robot remotely to perform many of the tasks involved in patient care. Figure 1 shows the robots engaged in surgical operations. Reporting has been made about 'industry 4.0 technologies' where various applications of these technologies have been described in fighting COVID-19 pandemic (Javaid et al. 2020) . Due to the growing requirement for low weight medical robots in this COVID-19 pandemic, the reliable operation of these robots is essential. Reliable operation means efficient operation with precision, high accuracy and increased stability of any robot without any fluctuation or oscillation whether assisting surgeries, delivering food, etc. Several types of robotics systems and special-purpose surgical tools have been identified that were designed to perform a variety of operating procedures (Yousef 2012) . Flexible-link manipulators play an important role in the overall stable operation of medical robots. The meaning of flexible-link manipulator has been reported as the robot whose flexibility of link (majorly torsion and bending) affects the position of the tip or joint parameters considerably (Sayahkarajy et al. 2016) . A large weight manipulator poses disadvantages in terms of size, energy usage, and versatility. To mitigate these drawbacks researchers are working towards manufacturing flexible robotic manipulators. Flexible robotic manipulators offer benefits, like low energy consumption, reduced cost of production (Spong et al. 1989; Tzes et al. 1988) . Such type of manipulators has a flexible arm that is of infinite order system of distributed parameters and incorporates the flexible additives. Owing to elastic properties of manipulators, system modeling and the associated model-based regulation is a complex task. A wide range of control strategies have been reported to form a controller that precisely control the flexible link's vibrations and position within a short period so for deriving the equation for motion and for expressing the deflection of a point along the arm, the Euler-beam theory has been used (Geniele et al. 1997) . Various control schemes, study, and construction of serial robotic manipulators have been addressed (Wolovich 1993; Gopal et al. 1976 ). Further 'Timoshenko beam theory' has been reported to flourish a mathematical model of flexible link manipulators (Loudini et al. 2007 ). The flexible robotic manipulator has mechanical flexibility, due to that fluctuation or oscillations can be seen either during or after the movement of a manipulator and can create uncertainty in medical operations especially in surgeries as well as in healthcare management. So it is important to investigate a robust control method for reducing the fluctuations or oscillations i.e. controlling the position of manipulator. To carry out this research, an effective variant of the flexible Link robotic manipulator has been used as a framework to analyze the robust control method. In this work, the attention has been given to make the system more stable by maintaining the link's angle of rotation at an appropriate position and to reduce end effectors' fluctuations. This work aims to investigate an optimal control method for flexible link manipulators in medical robots where control of the position & oscillations is very important. For this purpose, three control methods like; Linear Quadratic Regulator (LQR), Pole Placement, and Proportional-Integral-Derivatives (PID) have been used to investigate the robust control method among them for controlling the position of a robotic manipulator with the flexible link for reliable operation of medical robots. MatlabÒ / Simulink platform has been used to analyze the result with real-time data of the physical manipulator system. The robotic manipulator has mechanical flexibility in their joints, due to vibration or oscillations that can be seen either during or after the movement of a manipulator. This behaviour reduces the precision of the position, but on the other hand, due to lower inertia and mass the flexibility can appear due to higher acceleration in the manipulator's motion or long slender ties. Flexibility plays an essential role in a modern robotic system since it meets the requirement of automation industries (Javaid et al. 2020) . In various applications, flexible mechanisms and flexiblelink manipulators are playing an important role. In robotics, flexibility causes vibrations and static deflections (Roshin and Shihabudheen 2013) . Further nonlinear dynamics also the reason for causing various control problems (Pratt and Williamson 1995) . Because of such problems settling period 't s ' is affected as non-linear vibrations, the accuracy of the endpoint is reduced (Roshin and Shihabudheen 2013; Pawar et al. 2018) . They offer other advantages such as lower energy usage; maximize weight ratio, and reduced production costs. Figure 2 represents the elementary circuit and prototype of a manipulator with flexible link. The manipulator maintains the dynamics to attain the optimal performance that depends directly on the precision of the dynamic model and control algorithm's efficiency. This dynamic model of 'SLFM' incorporates modeling of flexible link and rotational base with the help of Euler's-Lagrange method. Langrangian of the system assessed by the estimation of the kinetic energy and potential energy. The Schematic diagram of an 'SLFM' with an angle of oscillation (b) and angle of rotation (h) is illustrated in Fig. 3 . The system input is voltage (v i ) and output is obtained as a deflection angle or angle of oscillation (b) and gear angle (h). Table 1 depicts the symbols used in modeling. This framework comprises a single low weight flexible arm with an appendage and powered by a base mounted DC motor. A servo amplifier controls the DC motor. This amplifier gets control signal within the range from -5 to ? 5v from the device through the 'DAS20' digital to analog converter. At each sampling period, the deviation of the shaft is assessed using an encoding device that is linked to the DC motor shaft. Figure According to Euler Lagrange equation here, p i is i th variable of the manipulator, s i is force or torque applied to i th link. So the total PE and KE with flexible link system is shown as follows- Now let, that b and h are two generalized coordinates. So From Eq. (3), (4) and (5) we get, After solving Eq. (5), (6) and (7) we get Here, From Eqs. (7) and (8) we obtain By choosing state variable x(t) a state-space model has been obtained for flexible link manipulator as A state-space model is obtained by writing the equations in matrix form as given below- For this work, the values for different real-time parameters of the manipulator with flexible link are listed in Table 1 . These values are utilized to evaluate the matrices of the manipulator. Putting the parameters in Eq. (13) and (14) with numerical values shown in Table 1 , Eqs. (15), and (16) are obtained. 3 Control methods utilized for manipulator with flexible link Several methods of control are designed to hold the measured output to the target value to improve the result or to reduce the error (Federlein 1989) . Here, the following methods of control like; 'Pole placement', 'LQR', and 'PID' have been utilized to investigate the optimal method for the control of position and fluctuations of the manipulator with the flexible link. 'PID' is the control method or a controller used in a variety of disciplines. Due to their robustness, they are easy to incorporate in design, so they are widely used in various areas like industrial processes, medical applications, etc. (Moudgal et al. 1994) . PID controller evaluates the mismatch among the measured output and the setting of the reference, and attempt to reduce the gap that is called 'error'. PID control method optimizes the system's transient performance by mitigating the peak over-shoot & settling period that has the potential to alleviate the error by using integral action (Pawar et al. 2018; Pan et al. 2019) . The diagram of the PID control method is depicted in Fig. 4 , where the input signal is set to point u(t), and the controller output is Here,K p -proportional gain; delivers an overall control operation through the all-pass gain factor which is proportional to the error signal, and K d -derivative gain; enhance the transient output by providing high-frequency differentiator compensation. The consequences of the above parameters on the effectiveness of closed-loop system are listed in Table 2 . 'Tuning' is a method that is used to achieve the system's optimized response by analyzing the parameters of the PID model. This is an essential process for systems (closedloop) . 'N' numbers approaches are available to tune the parameters of this controller. They are splitting as closed & open loop methods. Full State Feedback or Pole Placement method is a vital segment of the advanced control system, assisted by effective state feedback in which the system can be established with reduced deflections and improved stability (Zahidi et al. 2012 ). This method allows poles to be placed by the specifications. Let Here, A: system matrix of (n x n), B: input matrix of (n 9 1), and C: output matrix of (1 9 n). The input signal provided as Here, K is given as a matrix of gain. Figure 5 , depicts the basic process of controlling the feedback system. Putting, Eq. 20 in 18, expression of closed-loop system's state variables given as: The system must be controllable for the implementation of it. This method is employed at the feedback system for positioning of a plant's closed-loop poles at the required splan position. The main aim of this control method is the positioning of dominant poles as well as all poles at required places. As per pole placement method, the 'K' is given in a fashion so that sI À A À BK ð Þ j j ¼S À a 1 ð Þ s À a 2 ð Þ. . .. . .:ðs À a n Þ ð22Þ where the required location of poles are a 1 a 2 . . .::a n . for obtaining the 'K' matrix, the following strategies are used The quadratic method plays a significant role in the controller in control systems. The control framework can be measured and interpreted in the form of state variables. Figure 6 illustrates the schematic of 'LQR'. The control signal for the LQR method is provided as - here, 'R' as a definite and 'Q' denotes semi-definite matrix. So putting the value of 'u' in Eq. 24, resultant is given as The 'J' can be full-filled with energy function. Here in 'J' the control input 'u(t)' and state 'x(t)' is weighted, so they can't be substantial. If the PI is reduced, then finite reveal the-closed-loop structure where it needs to be balanced or stable. Let's take a constant square matrix 'P' to get robust feedback 'K' as Substituting in Eq. (24) yield: (26) In a linear quadratic regulation problem 'K' is quadratic and ascertain for reducing the 'J'. To check the feedback variables 'K', it begins with searching the model of the system. By using error & trial process design parameters of 'R' and 'Q' are selected. Further Eq. 27 has been solved for getting the matrix 'P'. By choosing the gain 'PI' as Eq. (27), 'J' can be minimized as: The P (n x n) matrix is determined from Eq. (28), called ''Algebraic Riccati Equation'' (ARE). 4 Results and discussions A flexible link manipulator has been simulated with step input references using MATLABÒ / Simulation platform. As a result Fig. 7 shows the instability of the system without a controller. For controlling the position, the Ziegler Nichols method has been utilized to design the PID controller (Yucelen Table 3 . Figure 8 , illustrates the PID controller's position i.e. step response of theta using PID. From the results, the system has been found stabilized and achieved the steadystate error zero within a second. Here, the rise time meets the requirement but the overshoot and settling period must be minimized. Figure 9 , shows the result for tracking error using PID. The main aim of this control method is the positioning of dominant poles as well as all poles at required places. To enforce this method system needs to be controllable. Here, new poles have been inserted in such a fashion that they must be placed on the left side for a stability point of view. From the result, the response has been found better in comparison to the PID control method but one thing that is important to check is larger the settling time. Further Fig. 11 , illustrates the theta dot response that is faster with no oscillation than PID. Figure 12 indicates the simulation result for the deflection angle, and Fig. 13 depicts the result for beta dot. Figure 14 depicts the performance for tracking error through the pole-placement method. Matrix 'Q' (selecting weights) is given as Q = diag (80, 10, 1, 50) The feedback gains are K = [6.1480, -1.9829, 0.3239, 0.1693] Figure 15 reveals the LQR simulation response for the manipulator with a flexible link. From the gain 'K', it is evident from the response that the LQR control method yields faster response in comparison to PID as well as pole placement methods. Figure 16, 17, 18, 19 illustrate the results of theta dot, the beta response, beta dot response, tracking error using LQR respectively. Figure 20 and 21 depicts a comparison graph of theta, and 2norm error for the flexible link manipulator respectively. It explicitly showcases that the LQR method of control performs better As the whole world is suffering from COVID-19 pandemic, many of the front line staff like; doctors, nurses, and supporting staff are getting affected by this virus due to community transmission and lack of social distancing. During such a situation where social distancing is the key factor for reducing community transmission of this coronavirus, medical robots come into the picture as helping hands. The medical robots are comprised of manipulator arms with rigid or flexible links. Due to the increasing demand of these medical robots in various applications reliable operations, wherein control of fluctuation as well as the position becomes highly essential. The flexible robotic manipulator has mechanical flexibility, due to that vibration or oscillations can be seen either during or after the movement of a manipulator and can create uncertainty in medical operations. So it is important to investigate a robust control method for controlling the position of manipulator. In this paper, dynamic modeling has been done by utilizing the Euler-Lagrange's approach through state-space modeling for a flexible link manipulator For the PID control method, MatlabÒ / Simulation has been performed and ultimately the system found stabilized. During this time, the position attains zero steadystate error. Furthermore, the rise time has been observed fulfilled as per requirement, but both overshoots as well as settling time need to be improved. For this purpose pole placement method of control is utilized. From the results, it is clear that the pole placement method is improved in comparison to the PID method of control but the obtained response is unsatisfactory for vibration as well as position control of the manipulator's arm with flexible link thus provide an unreliable operation to medical robots. So to achieve better response the linear quadratic regulator method of control has been incorporated. From linear quadratic regulator method, it has been found that the manipulator achieves quicker response using LQR controller feedback gain in comparison to the PID and Pole Placement methods that consequently offers improved control in term of position and stability and thus reduce the chances of accidents and provides the overall reliable operation to medical robots. The design of PID controllers using Ziegler Nichols tuning End-point control of a flexible-link manipulator: theory and experiments Control systems engineering Industry 40 technologies and their applications in fighting COVID-19 pandemic Comprehensive mathematical modelling of a lightweight flexible link robot manipulator Rule-based control for a flexible-link robot Efficient PID tracking control of robotic manipulators driven by compliant actuators Comparison of performance of PID controller and state feedback controller for flow control loop Series elastic actuators Coronavirus disease COVID-2019 Mathematical modeling of flexible beam-a comparative study Review of Modelling and Control of Flexible-Link Manipulators Symbolic manipulation package for modeling of rigid or flexible manipulators Minimizing intra-hospital transmission of COVID-19: the role of social distancing Oxford World Health Organization (2020) Coronavirus disease (COVID-19): situation report, 159: World Health Organization World Health Organization (2020) Critical preparedness, readiness and response actions for COVID-19: interim guidance A robot for surgery: design, control and testing Self-tuning PID controller using Ziegler-Nichols method for programmable logic controllers Active vibration control using pole placement method of a flexible plate structure optimised by genetic algorithm Acknowledgements The authors want to thank the staff of Government Medical Hospital, Sawai Madhopur, Rajasthan, INDIA to allow us to visit in OT with all necessary healthcare protection from where we got the motivation to formulate this research. Conflict of interest No potential conflict of interest was reported by the authors.