Electric wheelchairs (EW) experience various terrain surfaces and slopes as well as occupants with diverse weights. This, in turn, imparts a substantial amount of perturbation to the EW dynamics. In this paper, we make use of a two-degree-of-freedom control architecture called disturbance observer (DOB) which reduces sensitivity to model uncertainties, while enhancing rejection of disturbances caused due to entering slopes. The feedback loop which is designed via characteristic loci method is then augmented with a DOB with a parameterized low-pass filter. According to disturbance rejection, sensitivity reduction, and noise rejection of the whole controller, three performance indices are defined which enable us to pick the filter's optimal parameters using a multi-objective optimization approach called non-dominated sorting genetic algorithm-II. Finally, experimental results show desirable improvement in stiffness and disturbance rejection of the proposed controller as well as its robust stability.
Electric wheelchairs (EW) experience various terrain surfaces and slopes as well as occupants with diverse weights. This, in turn, imparts a substantial amount of perturbation to the EW dynamics. In this paper, we make use of a two-degree-of-freedom control architecture called disturbance observer (DOB) which reduces sensitivity to model uncertainties, while enhancing rejection of disturbances caused due to entering slopes. The feedback loop which is designed via characteristic loci method is then augmented with a DOB with a parameterized low-pass filter. According to disturbance rejection, sensitivity reduction, and noise rejection of the whole controller, three performance indices are defined which enable us to pick the filter's optimal parameters using a multi-objective optimization approach called non-dominated sorting genetic algorithm-II. Finally, experimental results show desirable improvement in stiffness and disturbance rejection of the proposed controller as well as its robust stability.
Entities:
Keywords:
Electric wheelchair; NSGA-II; characteristic loci method; disturbance observer; multi-objective optimization
Electric wheelchair (EW) applications are growing as a consequence of the increase in population of the elderly as well as accidents.[1] EWs face occupants with various weights, and moveover, diverse terrain surfaces and slopes which, in turn, introduce a substantial amount of perturbation to the EW's dynamics. Nevertheless, users who are mostly mobility-impaired patients and/or elderlies demand reliable and smooth driving conditions.Majority of EWs in the market are those in which linear and angular velocities are to be controlled and their corresponding reference inputs are commanded using a man-machine interface (e.g., joystick). Some papers have suggested controllers for this problem using miscellaneous algorithms like adaptive controllers,[23] neural control techniques,[4-8] robust controllers,[9-11] etc.[1213] Some of these papers have dealt with the EW's uncertainties including variation in the user's weight and/or the surface underneath the EW and some of them with slopes.[14] In the current paper, however, we shall be dealing with any perturbation in the EW dynamics and the functioning environment in a unified approach including the occupant's unknown weight, varying terrain surface, and slopes existing in the path. These perturbations cause two major problems for the user:Any little change during the trip including slopes, bumps, and surface change turns into variation in the regulated linear and angular velocities of the EW. This, in turn, means that the user needs to be so cautious and act so fast when something occurs. So, the first aim of this paper is to improve rejection of these disturbances.Since the physical conditions of the probable user are unknown for an EW manufacturer, one important goal for the controller is to reduce the sensitivity of the closed-loop dynamics to the uncertainties in the EW system, which is indeed the other objective in the current research.In the present paper, EW's dynamics considering its movements on slopes are developed and dealt with a two-degree-of-freedom control architecture, i.e. disturbance observer (DOB), which reduces sensitivity of closed-loop system to model uncertainties and takes care of rejection of the disturbances caused by moving on slopes as well.[15-19]In DOB systems, a low-pass filter Q is responsible for the causality and relates to several characteristics of the system. Some papers have suggested a set of guidelines about how to design the Q filter so that the desired characteristics are satisfied.[2021] These guidelines, however, are either for low-order Single-input-single-output (SISO) plants or not systematic enough. Thus, selection of these parameters for the EW DOB system using those guidelines turns into an ad hoc process. To avoid this, in this paper, three performance indices are established according to disturbance rejection, stiffness, and noise reduction of the control system. An multi-objective optimization (MOO) approach using non-dominated sorting genetic algorithm-II (NSGA-II) is employed to automatically look up optimal parameters in Q including the time constants, numerator, and denominator orders of two Butterworth-like filters.At last, experimental results confirm considerable improvement in the controller stiffness against EW's uncertainties, rejection of disturbances, and robust stability. The constructed wheelchair is shown in Figure 1.
Figure 1
The electric wheelchair constructed in order to experimentally verify the proposed control method
The electric wheelchair constructed in order to experimentally verify the proposed control method
DYNAMIC MODELING
A simplified mechanism of our EW, moving upwards on a slope, is illustrated in Figure 2. P0 is the middle point of rare axle. In our EW, the motors are coupled to the rear wheels through chain pulley systems. Using the principle of conservation of moments throughout a rigid body, the component of gravitational force along the surface could be expressed as resistant torque. Parameters and symbols needed during the paper along with their definitions are gathered in Table 1.
Figure 2
EW's chassis moving upward a slope and exerting forces caused by weight
Table 1
Model parameters and symbols
EW's chassis moving upward a slope and exerting forces caused by weightModel parameters and symbolsNote that subscripts l and r refer to the left side and right side of the EW, respectively. Schematic of our EW's propelling system is illustrated in Figure 3.
Figure 3
The EW's propelling system schematic
The EW's propelling system schematicAccording to Figures 2 and 3, if the fundamental electrical and mechanical equations of the motors are considered, a state-space representation of the system can be written asThe EW's angular velocity Ω and linear velocity V are obtained asFor detailed information on EW kinematics refer to.[10] One can release EW's multivariable dynamic equations in frequency domain by combining (1) to (8) as follows.In,[10] decoupling of the EW's multivariable dynamics was addressed by analytical decomposition of matrix G. It was shown that high degree of diagonal dominance can be achieved using β-1, where β is a constant matrix asCompensation of the EW's inputs with β-1 leads to a new transfer-function matrix (TFM) H with inputs u as below.In the rest of this paper, the pre-compensated system-with H as its TFM and u as its input vector-is considered as the system to be identified and be controlled. In[10] it is proved that there are some advantages as consequences of this assumption including: (i) H is much more diagonally dominant compared to G and (ii) estimation of H using u results in a more accurate system identification, since it reveals motors mutual effects on each other. Elements of the EW's nominal plant H which estimated using the method developed in our previous paper,[10] while the occupant weighs 120 kg and the EW is driven through a grass-covered field are
CONTROL SYSTEM REQUIREMENTS
Some criteria for the closed-loop system are established according to ride comfort, maneuverability and safety: (i) under-damped responses result in undesired longitudinal vibrations which affect ride comfort. Maximum overshoot, hence, is defined as MP < %1. (ii) Acceptable maneuverability requires us to speed up the responses as much as it has no influence on ride comfort. Rise time is defined as tr < 2s. (iii) Ω would vary if its interaction with V is not properly removed and the system encounters with a disturbance in V. Variation in Ω turns into variation in the EW's heading direction which may cause hitting to obstacles. So in order to strengthen safety the interaction has to be removed.
Controller Design
The DOB is generally used as an add-on block to the main controller to form a two-degree-of-freedom control architecture. The DOB improves disturbance rejection performance of the control system as well as its stiffness. It has the form shown in Figure 4, where Q is the low pass filter, z is the main controller output, and η is the sensor noise. Also, Φ is a signal corresponding to perturbation.
Figure 4
Basic structure of disturbance observer
Basic structure of disturbance observerIn Figure 4, transfer functions (TF) from three external inputs (z, δ, η) and perturbation (Φ) to output (y) is obtained as:y =HnZ + (I – HnQHn–1Pδ – HnQHn–1η + Hn(I – Q)φ. (24)If Q→I in low frequencies, then (24) approximately equals toy ≈ HnZ – η. (25)In other words, in low frequencies, the DOB rejects the disturbance and forces the input-output behavior of the system to be like the nominal plant (affected only by the measurement noise). This is the desired property of the DOB in the current research, so that it can be utilized to reject the disturbances caused by moving on slopes. Furthermore, the aforementioned uncertainties disappear and do not annoy the characteristic loci method (CLM) design procedure. The CLM can efficiently be exploited to design a controller for nominal plant without concern of sensitivity to perturbations. In the next subsection, the main controller design is explained using the CLM.
Main Controller Design Using the CLM
The characteristic loci of a square p×p H(s) are p eigenvalues of H(s), λ1(s), …, λp(s), and characteristic directions are p corresponding eigenvectors, w1(s), …, wp(s). Spectral decomposition of H(s) is obtained as follows.If the controller K(s) is given the same eigenvectors as H(s) the plant and the controller commute, i.e. H(s) K(s)=K(s) H(s). If characteristic loci of the controller are μ1(s), …, μp(s), thenK(s) = W(s)diag (μ1(s), …, μp(s))W–1(s), (29)where T is the closed-loop TFM. Unfortunately, the elements of W(s) (and therefore W-1(s)) are almost always irrational functions with no practical realizations. Consequently, real constant approximations to W(s) and W-1 (s) at some specified frequencies are chosen instead. This leads to an approximate commutative controller which is calculated through ALIGN algorithm (AA).[22] In the CLM, the controller design is accomplished in three consecutive steps briefly described below.
High-Frequency Compensation
According to (30), high gain can be used to remove interactions, i.e.Beyond some frequency, however, high gain is impractical due to physical reasons and stability requirements. So at a high frequency ωh, return ratio is decoupled via a constant matrix Kh, which in fact, is a real approximation of H-1(jωh). This work which can be well done by AA compels the closed-loop system in the vicinity of ωh to approach unity. Since contributions of characteristic loci at frequencies much higher than cross-over frequency ωc are low, high frequency decoupling is attempted near ωc. The decoupling matrix is resulted by performing AA at ωh =3 rads-1.Applying Kh reduces the interaction at ωh by 52% and 89% in the first and the second column, respectively.
Medium-Frequency Compensation
An approximate commutative controller Km(s) is designed at ωm=1 rads-1 for the compensated plant HKk, such that the decoupling performed at ωh is not affected considerably. Am, real approximation of left eigenvector of HKk at ωm, is calculated using AA. Mm(s), a diagonal matrix with phase-lag elements, is designed to shape characteristic loci of H near ωc in order to adjust required transient features and stability margins.
Low-Frequency Compensation
This step aims to remove steady-state interaction in addition to steady-state error of step response. Elements of the designed diagonal matrix are Proportional-Integral (PI) compensators. To ensure that they do not disturb the previous adjustments too much, their gains and phases near and over ωm should be almost 0 dB and 0 rads-1, respectively.The main controller is obtained as a series connection of five matrices, one for achieving DD at high frequencies and four matrices for shaping characteristic loci by adding phase-lag and PI actions asK(s) = KhKm(s)K1(s) = KhAmMm(s)Am–1Kl(s). (36)
Optimal DOB Design
The whole system including K(s) as the main controller is depicted in Figure 5. One can obtain TFs from three external inputs (r, δ, η) and perturbation (Φ) to output (y) as
Figure 5
Two-degree-of-freedom structure including the main controller K(s) and the DOB
Two-degree-of-freedom structure including the main controller K(s) and the DOBy = (I+HnK)–1HnKr + (I+HnK)–1(I–HnQHn–1)Pδ – (I+HnK)–1Hn(K+QHn–1)η+(I+HnK)–1Hn(I–Q)φ. (37)Low-frequency dynamics and high-frequency magnitude of Q should be kept close to unity and zero matrices, respectively. In this paper, its structure is considered asQ(s) = diag(q(n1,m1,τ1,s),q(n2,m2,τ2,s)) (38)where n is the numerator order, m the denominator order, τ is the filter time constant, and ami=m!/(m-i)!i! the binomial coefficient. Q becomes a low-pass filter, if m is selected to be strictly greater than n.According to (37), we propose three fitness functions in order to improve control system characteristics. To achieve acceptable rejection of the disturbances caused due to entering and moving through slopes, the following equation should be small.F which is a weighting function along with the end limits of integral give desired frequencies more influence on the index. Similarly, in order to filter out the sensor noise the TF from η to y should set to be small. The measurement noise, however, affects the control input u more seriously than the output y because the EW system has the characteristics of low pass filters. The TF from η to y in Figure 5 is,Tηu = –(I+KHn)–1(K+QH–1) (41)Therefore, the next fitness function is suggested as:Finally, to have higher system stiffness, the last term in (37) should be weakened. The last fitness function is suggested asBefore we proceed to finding the optimal values of the Q filter's parameters using any optimization method, we need to specify the extreme values each of them can hold. In (38), the parameters which play the most important role are the time constants. They bear, obviously, direct effects in stability, performance, and noise issues. A very subtle effect of theirs, however, is associated with the energy consumption and the issues related to actuators saturation. In Figure 5, if we incorporate the uncertainty block, ∆(s), to the nominal system, Hn(s), and name the whole system as H(s), one can find the transfer function from r to the actuator signal, u, is as follows.ur = (I+Q(Hn–1H–1)+KH)–1Kr (44)In (44), if Q is substituted by zero matrix, which means no disturbance observer, we get to the equation of the simple feedback architecture. Thus, any difference in the actuator amplitude after introducing the DOB block is a result of the term Q(Hn–1H–I). Since H is most different from Hn in the high frequency band, the term (Hn–1H–I) has its most energy in that band. Therefore, if Q is chosen to be very small in high frequency band, by choosing appropriate time constants, the term Q(Hn–1H–I) does not affect (44) considerably. The transfer function from δ to u is,uδ = –(I+Q(Hn–1H–1)+KH)–1(K+QHn–1)Pδ (45)In (45), similarly, since H has its most energy in the high frequency band both terms Q(Hn–1H–I) and QHn–1 are negligible providing that the time constants of Q are selected small enough. Otherwise, in face of sudden disturbances or sudden changes in reference command, the actuator signals will increase which could cause saturation.For the limits on denominator degrees of Q, m1, and m2, it is noteworthy that the greater they are the more complex the controller becomes, which in turn means a faster processor will be needed. The limits on the numerator degrees are automatically determined by the casualty condition of the controller. For total controller causality, the constraint m1 +m2-(n1 +n2)>3 also has to be satisfied.MOO is the problem of simultaneously optimizing two or more conflicting objectives with specific constraints. Here, Pareto-based multi-objective approach is used to address the issue. In mathematical terms, the multi-objective problem can be formulated aswhere μi is the i-th objective function, g the inequality constraint, h the equality constraint, and x the vector of optimization or decision variables. The problem solution is a set of Pareto points for which betterment in one objective can only take place with the worsening of at least another objective.Evolutionary algorithms are very famous methods in Multi-objective Optimization. Genetic algorithms such as NSGA-II and strength Pareto evolutionary approach 2 (SPEA-2) are common methods. The objective approach of solving multi-objective problems needs a Pareto-compliant ranking method, favoring non-dominated solutions. In a problem with more than one objective function, there are two possibilities for any two solutions x1 and x2: One dominates the other or none dominates the other. If both the following conditions hold a solution x1 dominates x2: (i) the solution x1 is not worse than x2 among all objectives and (ii) is strictly better than x2 in at least one objective. The following explains a step-by-step approach for NSGA-II.[23]Combine parent and offspring populations and construct Rt =Pt∪Qt. Do non-dominate sorting to Rt and identify different fronts: Fi,i=1, 2, etc.Set new population Pt+1 =0. Set a counter i=1. Until |Pt+1| + FiIf |Pt+1| + FiCreate offspring Qt+1 from Pt+1 by using crossover and mutation operators.Note that in our study, each chromosome is constituted of x(n1,m1,τ1,n2,m2,τ2) in which ni and mi are limited to be any value in the set of {0,…, 3} and {1,…, 4}, respectively. Also τi is limited to be any value in the interval of (0.25, 1). For total controller causality, the constraint m1 +m2-(n1 +n2) > 3 also has to be hold.Chromosome x consists of one integer part and one floating point part. For which one-point crossover is adopted for its integer part and arithmetic crossover is adopted for the floating point part. For mutation of the chromosomes, after selecting a gene, if it belongs to integer part, it would be replaced with a random integer in a predefined set. Otherwise, uniform mutation would be adopted.[24] The weighting functions are set as below.The obtained Pareto front is shown in Figure 6. Each solution from different parts of Pareto front brings about different system stiffness, noise reduction, and disturbance rejection. We select the solution with the gene x(0,2,0.5,0,2,0.61). One may select another solution based on his own system conditions and desired performances.
Figure 6
The obtained Pareto front for population size N=300 and generation T=1000
The obtained Pareto front for population size N=300 and generation T=1000
IMPLEMENTATION AND RESULTS
To validate the suggested algorithm, an EW prototype is constructed. The software is written in C++ language under RT-Linux3.1 with the step time of 20 ms, which is very small compared to the plant's time constant. In the interface circuit, one Intel 80C51 microcontroller is the medium between motor controllers and the software program on the computer. In the control unit, two analogue/digital chipsets (ADC07) are responsible for reading the joystick potentiometers and two digital/analogue chipsets (DAC07) are in charge of commanding two voltage-controlled oscillators located inside the motors [Figure 7].
Figure 7
The control unit of our EW including two Intel 8051 microcontrollers, two ADC07 and two DAC07
The control unit of our EW including two Intel 8051 microcontrollers, two ADC07 and two DAC07In order to inspect time response, characteristics of the outputs and their couplings, Vref and Ωref, are solely commanded by step signals. The tests are performed for three conditions including: (i) occupant's weight is equal to 120 kg and the terrain surface is dried mowed grass, (ii) occupant's weight is equal to 75 kg and the terrain surface is asphalt, and (iii) occupant's weight is equal to 30 kg, and the terrain surface is tile. In Figures 8 and 9, the reference inputs Vref and Ωref are separately commanded by step signals with the aforementioned conditions in the presence and absence of the DOB.
Figure 8
The EW's outputs when only the first reference input is commanded by step signal
Figure 9
The EW's outputs when only the second reference input is commanded by step signal
The EW's outputs when only the first reference input is commanded by step signalThe EW's outputs when only the second reference input is commanded by step signalIt is obvious that the mentioned requirements in section III are satisfied. As it can be observed in Figures 8 and 9, by adding the DOB, the system stiffness is considerably improved.The motor inputs, el and er, corresponding to Figure 8 is illustrated in Figure 10. As you can compare the left-column diagrams, which are measured in the absence of DOB to the right-column diagrams, which are measured in the presence of DOB, the amplitudes are almost the same although the signals are relatively noisier. That phenomenon is due to greater amplitude of noise transfer function to actuator signals when the DOB is added to the control system. The same thing happens for the motor inputs corresponded to Figure 9, therefore, the diagram is not illustrated.
Figure 10
The EW's outputs when the EW heads directly into a slope
The EW's outputs when the EW heads directly into a slopeTo study the disturbance rejection performance of the control system, the EW is driven directly into a slope in a corridor. This test is done each time with a different occupant's weight. Both situations of presence and absence of the DOB are considered. It can be seen in Figure 11 that in every condition, the disturbance is better rejected with the proposed two-degree-of-freedom controller. Besides, the coupling among linear and angular velocities is quite low.
Figure 11
The EW's outputs when the EW heads directly into a slope
The EW's outputs when the EW heads directly into a slopeThe corresponding motor inputs are illustrated in Figure 12. Again, the amplitudes are rather identical and relatively noisier.
Figure 12
The EW's outputs when the EW heads directly into a slope
The EW's outputs when the EW heads directly into a slope
CONCLUSION
In this paper, we addressed perturbations in the structure and operating environment of electric wheelchairs. The perturbations included uncertainties in the surface and the slope of the terrains where the EW might move on as well as the occupants’ uncertain weights. The multivariable dynamics of the EW which took into account the effects of the slopes as additive disturbances was treated with a two-degree-of-freedom controller. The main controller was designed via the CLM and was augmented with an optimal multivariable DOB. A MOO approach using the NSGA-II was performed and six optimal design parameters were found. In this approach, more than one DOB design was obtained, so one could select a single solution based on some system performances consisting disturbance rejection, system stiffness, and noise reduction. In addition, the optimal DOB reduced sensitivity to model uncertainties, while enhancing rejection of disturbances caused due to passing through the slopes. At last, the experimental results show a noticeable improvement in system stiffness and disturbance rejection.