<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJAppS</journal-id><journal-title-group><journal-title>Open Journal of Applied Sciences</journal-title></journal-title-group><issn pub-type="epub">2165-3917</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojapps.2015.55020</article-id><article-id pub-id-type="publisher-id">OJAppS-56297</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject><subject> Chemistry&amp;Materials Science</subject><subject> Computer Science&amp;Communications</subject><subject> Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Adaptive Self‐Tuning Fuzzy Controller for a Soft Rehabilitation Machine Actuated by Pneumatic Artificial Muscles
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>ing‐Kun</surname><given-names>Chang</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Department of Mechanical and Computer‐Aided Engineering, St. John’s University, New Taipei, Taiwan</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>mkchang@mail.sju.edu.tw</email></corresp></author-notes><pub-date pub-type="epub"><day>12</day><month>05</month><year>2015</year></pub-date><volume>05</volume><issue>05</issue><fpage>199</fpage><lpage>211</lpage><history><date date-type="received"><day>16</day>	<month>April</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>11</month>	<year>May</year>	</date><date date-type="accepted"><day>13</day>	<month>May</month>	<year>2015</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Pneumatic artificial muscles (PAMs) have the highest power to weight and power to volume ratios of any actuator. Therefore, they can be used not only in rehabilitation engineering, but also as actuators in robots, including industrial and therapy robots. Because PAMs have highly nonlinear and time‐varying behavior associated with gas compression and the nonlinear elasticity of bladder containers, achieving excellent tracking performance using classical controllers is difficult. An adaptive self‐tuning fuzzy controller (ASTFC) including adaptive fuzzy sliding mode control (AFSMC) and functional approximation (FA) was developed in this study for overcoming the aforementioned problems. The FA technique was used to release the model‐based requirements and the update laws for the coefficients of the Fourier series function parameters were derived using a Lyapunov function to guarantee control system stability. The experimental results verified that the proposed approach can achieve excellent control performance despite external disturbance.
 
</p></abstract><kwd-group><kwd>Adaptive Self‐Tuning Fuzzy Control</kwd><kwd> Pneumatic Artificial Muscles</kwd><kwd> Functional Approximation</kwd><kwd> Lyapunov Function</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Rehabilitation machine provides joint loading to assist patients in recovering extremity functions in cases of traumatic brain injury, bone injury, amputation, or spinal cord injury with causes such as traffic accidents and cerebral apoplexy that affect extremity activity. Rehabilitation robots can assist patients in recovering extremity functions by means of continuous passive motion (CPM). Traditionally, physical therapy for functional rehabilitation is administered by medical therapists on a person-to-person basis. However, recently many automatic rehabilitation devices have been applied in physical therapy programs. Rehabilitation robots are typically driven by electric motors, which are typically rigid. Consequently, actuators can generate discomfort or pain when interfacing with humans. Hence, current electro-mechanical actuation systems should be replaced to ensure adaptability, conformity and safety. An adequate actuator for a rehabilitation device must provide safety and physically adjustable compliance. Additionally, it must ensure soft contact with the patient, similar to human muscles. It has been suggested that pneumatic artificial muscles (PAMs) can contribute to creating more comfortable devices for interfacing with human limb segments.</p><p>A submissive PAM consists of a cylinder of flexible rubber surrounded by a braided mesh shell. When the rubber bladder expands because of an increase in air pressure, the diameter of the combined shell and bladder assembly expands in the radial direction and the muscle retracts in the axial direction. A PAM behaves in a manner similar to a muscle on an animal skeleton, and a PAM has many advantages such as a high power to weight ratio [<xref ref-type="bibr" rid="scirp.56297-ref1">1</xref>] , high power to volume ratio [<xref ref-type="bibr" rid="scirp.56297-ref2">2</xref>] , low maintenance expense, no mechanical wear, low cost, cleanliness, high reliability, flexibility, and effective compliance for human use. As mentioned previously, it is suitable for use in rehabilitation engineering, medical nursing, and user-friendly therapeutic robots. In a recent report, PAMs were widely applied to the state-of-art rehabilitation machine. Xie and Jamwal [<xref ref-type="bibr" rid="scirp.56297-ref3">3</xref>] developed an iterative fuzzy controller to obtain excellent tracking performance for various trajectories with a rehabilitation robot driven by pneumatic muscle actuators. Anh [<xref ref-type="bibr" rid="scirp.56297-ref4">4</xref>] proposed a gain scheduling MIMO neural PID controller to obtain favorable angle tracking performance compared with a conventional PID controller for a 2-axes PAM robot under various loads. Lilly and Yang [<xref ref-type="bibr" rid="scirp.56297-ref5">5</xref>] applied a sliding mode controller to a planar arm actuated by two PMA groups; simulation results were consistent with theoretical findings for two different masses. Ahn and Anh [<xref ref-type="bibr" rid="scirp.56297-ref6">6</xref>] also developed an inverse double nonlinear autoregressive model with exogenous control based on the Takagi- Sugeno model applied in a PAM robot. A novel control structure based on a Takagi-Sugeno model [<xref ref-type="bibr" rid="scirp.56297-ref7">7</xref>] was proposed to track the desired trajectories, and simulation results illustrated the efficiency of the proposed approach for the new rehabilitation device.</p><p>The soft rehabilitation machine actuated by PAMs is highly nonlinear in behavior, model uncertainty and external disturbance. It is difficult to estimate an accurate dynamic model for model-based controller design. Hence, an adaptive self-tuning fuzzy controller which integrated adaptive fuzzy sliding mode control and functional approximation can be designed to solve these problems. Since the robustness is the best advantage of a sliding-mode control, it has been widely used to control model uncertainty and external disturbance. However, the traditional sliding-mode control has the model-based requirement for controller design. Though the fuzzy controller has been widely used in engineering applications, the fuzzy controller needs a time-consuming trial- and-error process and lacks the analysis for the stability and robustness problem. Thus, some researchers [<xref ref-type="bibr" rid="scirp.56297-ref8">8</xref>] - [<xref ref-type="bibr" rid="scirp.56297-ref10">10</xref>] developed the fuzzy sliding-mode control that combines the advantages of the sliding-mode control and fuzzy logic control.</p><p>Hence, the FA technique was adopted to release the model-based requirements and was used to design a sliding-mode controller for different nonlinear systems containing model uncertainties. In addition, the FA technique is used to expand and capture the system dynamic model and uncertainties by using finite linear combinations of basic functions with unknown constant weighting vectors. The update laws for weighting vectors of the functional approximation can be derived and the stability of the proposed controller is proven using the Lyapunov stability theorem. The experimental results verified that the proposed approach can be applied in the PAM system.</p><p>The remainder of this paper is organized as follows. In Section 2, the dynamic model is derived. In Section 3, the adaptive self-tuning fuzzy controller is presented. In Section 4, the experimental setup is described. Experimental results for output tracking are shown in Section 5. Finally, conclusions are drawn in Section 6.</p></sec><sec id="s2"><title>2. System Dynamic Mode</title><p>Consider the single joint manipulator shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, which is indicative of the forces exerted by two PAMs. The variables and are control signals for generating and of each proportional valve. The relation between the control signal fed into any pressure proportional valve and the resultant pressure p is linear according to the static characteristics of the pressure proportional valve. The rotating torque is generated by the difference in pressure between the two opposing PAMs. That is, when as in <xref ref-type="fig" rid="fig1">Figure 1</xref>, the torque exerted on the joint is coun-</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Schematic diagram of the single joint manipulator</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x5.png"/></fig><p>ter clock wise and the rotation of the joint is also counterclockwise. Therefore, the desired input pressure and for each PAM is generated using the following equation:</p><disp-formula id="scirp.56297-formula961"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x6.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x7.png" xlink:type="simple"/></inline-formula> is a nominal constant PAM pressure input, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x8.png" xlink:type="simple"/></inline-formula> is the control pressure input with an arbitrary function of time. Subscripts a and b denote the amount of inflation and deflation on the respective side. Hence, the dynamics of the system in <xref ref-type="fig" rid="fig1">Figure 1</xref> can be described as</p><disp-formula id="scirp.56297-formula962"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x9.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x10.png" xlink:type="simple"/></inline-formula> is the moment of inertia of the mass, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x11.png" xlink:type="simple"/></inline-formula>is the total torque, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x12.png" xlink:type="simple"/></inline-formula>is the external disturbance torque and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x13.png" xlink:type="simple"/></inline-formula> is the mass. The total forces exerted by PAMs on the mass [<xref ref-type="bibr" rid="scirp.56297-ref11">11</xref>] are</p><disp-formula id="scirp.56297-formula963"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x14.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.56297-formula964"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x15.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x16.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x17.png" xlink:type="simple"/></inline-formula> can be expressed [<xref ref-type="bibr" rid="scirp.56297-ref12">12</xref>] as:</p><disp-formula id="scirp.56297-formula965"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x18.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.56297-formula966"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x19.png"  xlink:type="simple"/></disp-formula><p>Substituting (3) and (4) into (2) yields</p><disp-formula id="scirp.56297-formula967"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x20.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x21.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x22.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x23.png" xlink:type="simple"/></inline-formula></p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x24.png" xlink:type="simple"/></inline-formula>.</p><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x25.png" xlink:type="simple"/></inline-formula> is the initial muscle length.</p><p>Subsequently,</p><disp-formula id="scirp.56297-formula968"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x26.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.56297-formula969"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x27.png"  xlink:type="simple"/></disp-formula><p>Substituting (8) and (9) into (7) obtains</p><disp-formula id="scirp.56297-formula970"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x28.png"  xlink:type="simple"/></disp-formula><p>Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x29.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x30.png" xlink:type="simple"/></inline-formula>,</p><p>and</p><disp-formula id="scirp.56297-formula971"><graphic  xlink:href="http://html.scirp.org/file/3-2310406x31.png"  xlink:type="simple"/></disp-formula><p>Equation (10) can be rewritten as:</p><disp-formula id="scirp.56297-formula972"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x32.png"  xlink:type="simple"/></disp-formula><p>Equation (11) can be simplified as the following second-order model:</p><disp-formula id="scirp.56297-formula973"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x33.png"  xlink:type="simple"/></disp-formula><p>where x is the state vector, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x34.png" xlink:type="simple"/></inline-formula>is a control gain, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x35.png" xlink:type="simple"/></inline-formula>is a control signal, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x36.png" xlink:type="simple"/></inline-formula> is a an unknown time-varying function with an unknown variation bound. However, the bound of the unknown function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x37.png" xlink:type="simple"/></inline-formula> can be estimated, in other word, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x38.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x39.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x40.png" xlink:type="simple"/></inline-formula> are known bound. The <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x41.png" xlink:type="simple"/></inline-formula> is defined as follows:</p><disp-formula id="scirp.56297-formula974"><label>(13)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x42.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x43.png" xlink:type="simple"/></inline-formula> is the nominal value and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x44.png" xlink:type="simple"/></inline-formula> is a bounded uncertainty value.</p><disp-formula id="scirp.56297-formula975"><label>(14)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x45.png"  xlink:type="simple"/></disp-formula><p>Establishing an accurate dynamic model for model-based controller design is difficult because the system dynamics have nonlinear time-varying behavior with unknown uncertainty bounds. In this study, the functional approximation technique was employed to approximate this unknown function for releasing the model requirement.</p></sec><sec id="s3"><title>3. Control Strategies</title><sec id="s3_1"><title>3.1. Fuzzy Sliding Mode Controller</title><p>The fuzzy sliding-mode controller (FSMC), shown functionally in <xref ref-type="fig" rid="fig2">Figure 2</xref>, is associated with a fuzzy logic control (FLC) structure, and a fuzzy slide surface to reduce the fuzzy rule number.</p><p>In many fuzzy logic control systems, the fuzzy rule table depends on error <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x46.png" xlink:type="simple"/></inline-formula> and error rate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x47.png" xlink:type="simple"/></inline-formula> that complicate the fuzzy inference rules and the membership functions. In this study, a fuzzy sliding surface was introduced as a replacement, reducing the number of fuzzy sets and fuzzy inference rules. The fuzzy sliding surface</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> The control block diagram of the FSMC</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x48.png"/></fig><p>that combined error e and error rate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x49.png" xlink:type="simple"/></inline-formula> on the phase plane could then be defined as</p><disp-formula id="scirp.56297-formula976"><label>(15)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x50.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x51.png" xlink:type="simple"/></inline-formula> is a positive constant. Therefore, the sliding surface variable s gradually converge to zero, and the sliding surface reaching condition is <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x52.png" xlink:type="simple"/></inline-formula> based on the Lyapunov theorem.</p><p>The sliding surface can be divided into 13 sections according to the membership function sets of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x53.png" xlink:type="simple"/></inline-formula>. The membership function set for the control signal u is defined as<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x54.png" xlink:type="simple"/></inline-formula>. Therefore, the 13 &#215; 13 fuzzy rule table with error e and error rate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x55.png" xlink:type="simple"/></inline-formula> in the fuzzy logic control can be simplified as the 1 &#215; 13 fuzzy rule table by using a fuzzy sliding surface as shown, in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>The membership functions of fuzzy input and output variables, and the fuzzy rules of FSMC are shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>. Hence, the control signal is derived from the fuzzy inference decision and defuzzification operation</p><disp-formula id="scirp.56297-formula977"><label>(16)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x56.png"  xlink:type="simple"/></disp-formula><p>where m is the number of rules and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x57.png" xlink:type="simple"/></inline-formula> is the weight of the corresponding rule which has been activated. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x58.png" xlink:type="simple"/></inline-formula>is the weight of each singleton fuzzy rules for constituting the control input u. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x59.png" xlink:type="simple"/></inline-formula>is the consequent parameter which can be set to zero initially and then adjusted by an adaptive rule. The adaptive rule is derived from the Lyapunov stability analysis. This adaptive rule can eliminate the trial-and-error process for finding appropriate fuzzy rules in fuzzy control implementation.</p></sec><sec id="s3_2"><title>3.2. Functional Approximation Technique</title><p>If a piecewise continuous time-varying function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x60.png" xlink:type="simple"/></inline-formula> satisfies the Dirchlet condition, it can be transformed into a generalized Fourier series expansion within a time interval<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x61.png" xlink:type="simple"/></inline-formula>:</p><disp-formula id="scirp.56297-formula978"><label>(17)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x62.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x63.png" xlink:type="simple"/></inline-formula>,<sub> <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x64.png" xlink:type="simple"/></inline-formula></sub>,<sub> </sub>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x65.png" xlink:type="simple"/></inline-formula> are the Fourier coefficients and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x66.png" xlink:type="simple"/></inline-formula> is the frequency of the sinusoidal function. Define</p><disp-formula id="scirp.56297-formula979"><label>(18)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x67.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.56297-formula980"><label>(19)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x68.png"  xlink:type="simple"/></disp-formula><p>Subsequently, (17) can be rewritten as</p><disp-formula id="scirp.56297-formula981"><label>(20)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x69.png"  xlink:type="simple"/></disp-formula><p>In finite term, (20) can be expressed as follows:</p><disp-formula id="scirp.56297-formula982"><label>(21)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x70.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x71.png" xlink:type="simple"/></inline-formula> is the approximation error. When n is large enough, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x72.png" xlink:type="simple"/></inline-formula>can be approximated as follows:</p><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Membership function for the FSMC</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x73.png"/></fig><disp-formula id="scirp.56297-formula983"><label>(22)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x74.png"  xlink:type="simple"/></disp-formula><p>Hence, the unknown time-varying function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x75.png" xlink:type="simple"/></inline-formula> in (12) can be approximated by a linear combination of finite orthogonal basis functions <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x76.png" xlink:type="simple"/></inline-formula> to arbitrarily prescribed accuracy as long as n is large enough:</p><disp-formula id="scirp.56297-formula984"><label>(23)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x77.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x78.png" xlink:type="simple"/></inline-formula> is an orthogonal basis function vector and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x79.png" xlink:type="simple"/></inline-formula> a weighting coefficient vector. If the number of the basis functions is large enough, (23) can be described as the following approximation form:</p><disp-formula id="scirp.56297-formula985"><label>(24)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x80.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x81.png" xlink:type="simple"/></inline-formula> is a orthogonal basis function vector and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x82.png" xlink:type="simple"/></inline-formula> is a weighting coefficient vector. This FA (24) can be used to represent an unknown function with uncertainty. The time-varying <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x83.png" xlink:type="simple"/></inline-formula> is a known function the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x84.png" xlink:type="simple"/></inline-formula> is an unknown regulating constant. A proper Lyapunov function can be selected to determine the update laws for these unknown constant based on Lyapunov stability theory.</p></sec><sec id="s3_3"><title>3.3. Adaptive Self-Tuning Fuzzy Controller</title><p>The system control block diagram of the soft rehabilitation machineactuated by PAMs is shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>. The sliding surface of this second-order system can be defined as</p><disp-formula id="scirp.56297-formula986"><label>(25)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x85.png"  xlink:type="simple"/></disp-formula><p>where the positive parameter s implies the convergent rate of on the sliding surface. The time derivative of s can be derived as</p><disp-formula id="scirp.56297-formula987"><label>(26)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x86.png"  xlink:type="simple"/></disp-formula><p>Substituting (12) into (26) yields</p><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Control block diagram of the adaptive self-tuning fuzzy controller</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x87.png"/></fig><disp-formula id="scirp.56297-formula988"><label>(27)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x88.png"  xlink:type="simple"/></disp-formula><p>In order to achieve the sliding surface reaching condition and establish the approximation error compensation, the control law <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x89.png" xlink:type="simple"/></inline-formula> can be designed as:</p><disp-formula id="scirp.56297-formula989"><label>(28)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x90.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x91.png" xlink:type="simple"/></inline-formula> is the FA value of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x91.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x92.png" xlink:type="simple"/></inline-formula>. The positive constant <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x91.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x93.png" xlink:type="simple"/></inline-formula> is a design parameter for achieving an appropriate robustness.</p><disp-formula id="scirp.56297-formula990"><label>(29)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x94.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x95.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x96.png" xlink:type="simple"/></inline-formula> are assumed to be unknown bounded piecewise continuous functions and satisfy the Dirichlet conditions. Then, they can be expressed by the FA technique as follows</p><disp-formula id="scirp.56297-formula991"><label>(30)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x97.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.56297-formula992"><label>(31)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x98.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x99.png" xlink:type="simple"/></inline-formula> are weighting vectors and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x99.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x100.png" xlink:type="simple"/></inline-formula> is a vector of a basis Fourier series function. Hence, (29) can be rewritten as</p><disp-formula id="scirp.56297-formula993"><label>(32)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x101.png"  xlink:type="simple"/></disp-formula><p>where</p><disp-formula id="scirp.56297-formula994"><label>(33)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x102.png"  xlink:type="simple"/></disp-formula><p>To prove the stability of the control system and determine the update laws for vectors <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x103.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x103.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x104.png" xlink:type="simple"/></inline-formula>, a Lyapunov function candidate is chosen as</p><disp-formula id="scirp.56297-formula995"><label>(34)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x105.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x106.png" xlink:type="simple"/></inline-formula> is a symmetric positive definite matrix. By taking the time derivative of the Lyapunov function candidate, the following can be obtained:</p><disp-formula id="scirp.56297-formula996"><label>(35)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x107.png"  xlink:type="simple"/></disp-formula><p>Because<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x108.png" xlink:type="simple"/></inline-formula>, (35) can be rewritten as</p><disp-formula id="scirp.56297-formula997"><label>(36)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x109.png"  xlink:type="simple"/></disp-formula><p>The update laws for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x110.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x110.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x111.png" xlink:type="simple"/></inline-formula> are chosen as</p><disp-formula id="scirp.56297-formula998"><label>(37)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x112.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.56297-formula999"><label>(38)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x113.png"  xlink:type="simple"/></disp-formula><p>Therefore, (36) can be further rewritten as</p><disp-formula id="scirp.56297-formula1000"><label>(40)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x114.png"  xlink:type="simple"/></disp-formula><p>To cover the uncertainty of the unknown function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x115.png" xlink:type="simple"/></inline-formula> and establish an appropriate robustness, the parameter <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x115.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x116.png" xlink:type="simple"/></inline-formula> can be specified as</p><disp-formula id="scirp.56297-formula1001"><label>(41)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x117.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x118.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x118.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x119.png" xlink:type="simple"/></inline-formula> are the maximum values of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x118.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x119.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x120.png" xlink:type="simple"/></inline-formula> and u, respectively. Subsequently, (39) results in</p><disp-formula id="scirp.56297-formula1002"><label>(42)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x121.png"  xlink:type="simple"/></disp-formula><p>The control system stability can be guaranteed using the update laws (37) and (38). Equation (37) is the update law of the functional approximation coefficients<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x122.png" xlink:type="simple"/></inline-formula>. Equation (38) is the adjusting rule of the AFSMC fuzzy parameters. Based on Barbarlet’s lemma [<xref ref-type="bibr" rid="scirp.56297-ref13">13</xref>] the convergence of the system output error can be guaranteed using the control law u(t), (28).</p></sec></sec><sec id="s4"><title>4. Experimental Setup</title><p>The single joint rehabilitation machine actuated by PAMs is shown in <xref ref-type="fig" rid="fig5">Figure 5</xref> which is used to simulate the arm’s motion. The experimental layout is shown in <xref ref-type="fig" rid="fig6">Figure 6</xref> and the specifications are listed in <xref ref-type="table" rid="table1">Table 1</xref>. The maximum deformation of a PAM is 20% of its nominal length. Thus, the rotary range of angle <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x123.png" xlink:type="simple"/></inline-formula> extends from −40˚ to 40˚. The hardware includes an IBM-compatible personal computer, which calculates the control signal and controls a pressure proportional valve through a D/A card. Joint angles are detected by rotary potentiometers, the air pressure of each PAM is measured by pressure transducers, and the measurements are then fed back to the computer through an A/D card.</p><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> The single joint rehabilitation machine actuated by PAMs</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x124.png"/></fig><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Experimental layout</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x125.png"/></fig><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Component specifications</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Number</th><th align="center" valign="middle" >Component</th><th align="center" valign="middle" >Specifications</th></tr></thead><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >Disturbance cylinder</td><td align="center" valign="middle" >0˚ - 300˚</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >PAM</td><td align="center" valign="middle" >Festo, MAS-10-300N</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >Pressure proportional valve</td><td align="center" valign="middle" >Mac, PPC5C</td></tr><tr><td align="center" valign="middle" >4</td><td align="center" valign="middle" >D/A, A/D</td><td align="center" valign="middle" >Automation, AIO3320</td></tr><tr><td align="center" valign="middle" >5</td><td align="center" valign="middle" >Rotary potentiometer</td><td align="center" valign="middle" >Keen Engineering, KRT2050</td></tr><tr><td align="center" valign="middle" >6</td><td align="center" valign="middle" >Proportional valve</td><td align="center" valign="middle" >HR</td></tr><tr><td align="center" valign="middle" >7</td><td align="center" valign="middle" >Air supply</td><td align="center" valign="middle" >6 Kg/cm<sup>2</sup></td></tr><tr><td align="center" valign="middle" >8</td><td align="center" valign="middle" >Signal generator</td><td align="center" valign="middle" >0.1 - 20 MHz</td></tr></tbody></table></table-wrap></sec><sec id="s5"><title>5. Experimental Studies</title><p>Reciprocated motion of rehabilitation machine can help patients for recovering extremity function. Therefore, to investigate output tracking performance, the proposed controller and fuzzy sliding-mode conroller associated with fixed fuzzy rules and scaling factors were implemented on an Intel Pentium 1.8 GHz PC, with a sampling time of 1 ms. The control software was coded in C++ programming language. The fixed fuzzy rules of the FSMC are presented in <xref ref-type="fig" rid="fig3">Figure 3</xref>. The parameters<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x126.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x126.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x127.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x126.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x128.png" xlink:type="simple"/></inline-formula>were chosen, because these were the optimal values obtained by trial-and-error.</p><p>Following control parameters are chosen for the ASTFC. The sliding surface parameter <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x129.png" xlink:type="simple"/></inline-formula> is chosen as 400. The robustness parameter <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x130.png" xlink:type="simple"/></inline-formula> can be estimated based on (40). It is selected as 100.The nominal value of the control gain <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x131.png" xlink:type="simple"/></inline-formula> was selected as 18000, whereas the weighting coefficients of the approximation series were updated at each sample step. In addition, it was found that the variation of the control gain is less than 20% of its nominal value. In other words, the following inequalities hold: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x132.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x133.png" xlink:type="simple"/></inline-formula>. In order to improve the control law chattering behaviour, the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x133.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x134.png" xlink:type="simple"/></inline-formula> function in (28) is replaced by the saturation function sat <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x133.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x135.png" xlink:type="simple"/></inline-formula> with a boundary layer thickness<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x133.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x135.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x136.png" xlink:type="simple"/></inline-formula>. The weighting matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x133.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x135.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x136.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x137.png" xlink:type="simple"/></inline-formula> of the Fourier series function coefficients is set as a small constant matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x133.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x135.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x136.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x137.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x138.png" xlink:type="simple"/></inline-formula> to increase the converging speed. The first 12 terms of the Fourier series functions are chosen as the FA basis functions.</p><sec id="s5_1"><title>5.1. Sinusoidal Wave Response</title><p><xref ref-type="fig" rid="fig7">Figure 7</xref> shows the output sinusoidal wave response obtained using the ASTFC and the FSMC. As shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>, the actual joint angle trajectory is close to the reference trajectory. The peak-peak error is defined as:</p><disp-formula id="scirp.56297-formula1003"><label>(42)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-2310406x139.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x140.png" xlink:type="simple"/></inline-formula> is the input wave peak value, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x140.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x141.png" xlink:type="simple"/></inline-formula> is the output wave peak value. The maximum peak-peak error and phase lag are listed in <xref ref-type="table" rid="table2">Table 2</xref>. The tracking errors are shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>, indicating that the tracking errors of both controllers are considerably close without external disturbance or loading.</p></sec><sec id="s5_2"><title>5.2. Sinusoidal Wave Response under External Disturbance Torque</title><p>To investigate the robustness and adaptation of the ASTFC, an external disturbance signal <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-2310406x142.png" xlink:type="simple"/></inline-formula> as shown in <xref ref-type="fig" rid="fig9">Figure 9</xref> are applied in the joint. The output tracking response obtained using the ASTFC and the FSMC is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>0. The peak-peak error and phase lag are listed in <xref ref-type="table" rid="table3">Table 3</xref>. The tracking errors are shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>1. The peak-peak errors of the ASTFC are still maintained within 1.1%. The results indicate that the ASTFC can overcome external disturbance to achieve excellent tracking performance.</p></sec></sec><sec id="s6"><title>6. Conclusion</title><p>Designing a model-based controller for a soft rehabilitation machine actuated by PAMs is highly difficult be-</p><fig-group id="fig7"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> Sinusoidal wave response for both the ASTFC and the FSMC. (a) ASTFC; (b) FSMC.</title></caption><fig id ="fig7_1"><label>(b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x143.png"/></fig><fig id ="fig7_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x144.png"/></fig></fig-group><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Peak-peak error and phase lag for <xref ref-type="fig" rid="fig7">Figure 7</xref></title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="2"  >ASTFC</th><th align="center" valign="middle"  colspan="2"  >FSMC</th></tr></thead><tr><td align="center" valign="middle" >Peak-peak error</td><td align="center" valign="middle" >Phase lag</td><td align="center" valign="middle" >Peak-peak error</td><td align="center" valign="middle" >Phase lag</td></tr><tr><td align="center" valign="middle" >1%</td><td align="center" valign="middle" >0.1˚</td><td align="center" valign="middle" >1.75%</td><td align="center" valign="middle" >0.16˚</td></tr></tbody></table></table-wrap><fig id="fig8"  position="float"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> The tracking errors of 5.1</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x145.png"/></fig><fig id="fig9"  position="float"><label><xref ref-type="fig" rid="fig9">Figure 9</xref></label><caption><title> External disturbance signal</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x146.png"/></fig><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Peak-peak error and phase lag for <xref ref-type="fig" rid="fig1">Figure 1</xref>0</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="2"  >ASTFC</th><th align="center" valign="middle"  colspan="2"  >FSMC</th></tr></thead><tr><td align="center" valign="middle" >Peak-peak error</td><td align="center" valign="middle" >Phase lag</td><td align="center" valign="middle" >Peak-peak error</td><td align="center" valign="middle" >Phase lag</td></tr><tr><td align="center" valign="middle" >1.1%</td><td align="center" valign="middle" >0.13˚</td><td align="center" valign="middle" >3.3%</td><td align="center" valign="middle" >0.18˚</td></tr></tbody></table></table-wrap><fig-group id="fig10"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>0</label><caption><title> Sinusoidal wave response under external disturbance for both the ASTFC and the FSMC. (a) ASTFC; (b) FSMC.</title></caption><fig id ="fig10_1"><label>(b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x147.png"/></fig><fig id ="fig10_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x148.png"/></fig></fig-group><fig id="fig11"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>1</label><caption><title> The tracking errors of 5.2</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2310406x149.png"/></fig><p>cause the system has parameter uncertainties, highly nonlinear properties, and time-varying behavior. An ASTFC was developed and successfully used to control the system. The stability of the ASTFC is guaranteed by means of the Lyapunov theorem. The experimental results show that the ASTFC can be applied effectively to achieve excellent tracking performance despite external disturbance.</p></sec><sec id="s7"><title>Cite this paper</title><p>Ming‐Kun Chang, (2015) Adaptive Self‐Tuning Fuzzy Controller for a Soft Rehabilitation Machine Actuated by Pneumatic Artificial Muscles. Open Journal of Applied Sciences,05,199-211. doi: 10.4236/ojapps.2015.55020</p></sec></body><back><ref-list><title>References</title><ref id="scirp.56297-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Caldwell, D.G., Medrano-Cerda, G.A. and Goodwin, M. (1995) Control of Pneumatic Muscle Actuator. IEEE Control System Maganize, 15, 40-48. http://dx.doi.org/10.1109/37.341863</mixed-citation></ref><ref id="scirp.56297-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Chou, C.P. and Hannaford, B. (1996) Measurement and Modeling of Mckibben Pneumatic Artificial Muscles, IEEE Transactions on Robotics and Automation, 12, 90-102. &lt;br /&gt;http://dx.doi.org/10.1109/70.481753</mixed-citation></ref><ref id="scirp.56297-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Xie, S.Q. and Jamwal, P.K. (2011) An Iterative Fuzzy Controller for Pneumatic Muscle Driven Rehabilitation Robot. Expert Systems with Applications, 30, 8128-8137. &lt;br /&gt;http://dx.doi.org/10.1109/70.481753</mixed-citation></ref><ref id="scirp.56297-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Anh, H.P.H. (2010) Online Tuning Gain Scheduling MIMO Neural PID Control of the 2-Axespneumatic Artificial Muscle (PAM) Robot Arm. Expert Systems with Applications, 37, 6547-6560.  
&lt;br /&gt;http://dx.doi.org/10.1016/j.eswa.2010.02.131</mixed-citation></ref><ref id="scirp.56297-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Lilly, J.H. and Yang, L. (2005) Sliding Mode Tracking for Pneumaticmuscle Actuators in Opposing Pair Configuration. IEEE Transactions on Control Systems Technology, 4, 550-557. &lt;br /&gt;http://dx.doi.org/10.1109/TCST.2005.847333</mixed-citation></ref><ref id="scirp.56297-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Ahn, K.K. and Anh, H.P.H. (2010) Inverse Double NARX Fuzzy Modeling for System Identification. IEEE/ASME Transactions on Mechatronics, 15, 136-148. &lt;br /&gt;http://dx.doi.org/10.1109/TMECH.2009.2020737</mixed-citation></ref><ref id="scirp.56297-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Seddiki, L., Guelton, K. and Zaytoon, J. (2009) Concept and Takagi-Sugeno Descriptor Tracking Controller Design of a Closed Muscular Chain Lower-Limb Rehabilitation Device. IET Control Theory and Applications, 4, 1407-1420. 
http://dx.doi.org/10.1049/iet-cta.2009.0269</mixed-citation></ref><ref id="scirp.56297-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Chen, H.Y. and Huang, S.J. (2008) A New Model-Free Adaptive Sliding Controller for Active Suspension System, International Journal of System Science, 39, 57-69.</mixed-citation></ref><ref id="scirp.56297-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Palm, R. (1994) Robust Control by Fuzzy Sliding Mode. Automatica, 30, 1429-1437. 
&lt;br /&gt;http://dx.doi.org/10.1016/0005-1098(94)90008-6</mixed-citation></ref><ref id="scirp.56297-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Lee, H., Kim, E., Kang, H.J. and Park, M. (2001) A New Sliding-Mode Control with Fuzzy Boundary Layer Fuzzy Sets System, 120, 135-143.</mixed-citation></ref><ref id="scirp.56297-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Lilly, J.H. and Quesada, P.M. (2004) A Two-Input Sliding-Mode Controller for a Planar Arm Actuated by Four Pneumatic Muscle Groups. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 12, 349-358. 
http://dx.doi.org/10.1109/TNSRE.2004.831490</mixed-citation></ref><ref id="scirp.56297-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Tondu, B. and Lopez, P. (2000) McKibben Artificial Muscle Robot Actuators. IEEE Control Systems Magazine, 20, 15-38. http://dx.doi.org/10.1109/37.833638</mixed-citation></ref><ref id="scirp.56297-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Narendra, K.S. and Annaswamy, A.M. (1989) Stable Adaptive Systems. Prentice Hall, Englewood Cliffs.</mixed-citation></ref></ref-list></back></article>