Position Control of Rolling Skateboard

Position Control of Rolling Skateboard

Proceedings of the 12th IFAC Workshop on Time Delay Systems Proceedings of the 12th IFAC Workshop on Time Delay Systems June 28-30, 2015. Ann Arbor, U...

605KB Sizes 0 Downloads 23 Views

Proceedings of the 12th IFAC Workshop on Time Delay Systems Proceedings of the 12th IFAC Workshop on Time Delay Systems June 28-30, 2015. Ann Arbor, USA Proceedings of the the 12th IFACMI, Workshop on Time Time Delay Delay Systems Systems Proceedings of 12th IFAC Workshop on June 28-30, 2015. Ann Arbor, MI, USA June 28-30, 2015. Ann Arbor, MI, June 28-30, 2015. Ann Arbor, MI, USA USAAvailable online at www.sciencedirect.com

ScienceDirect IFAC-PapersOnLine 48-12 (2015) 286–291

Position Position Position

Control Control Control

of of of

Rolling Rolling Rolling

Skateboard Skateboard Skateboard

∗ ∗∗ ∗∗∗ Balazs Gabor Balazs Varszegi Varszegi ∗∗ Denes Denes Takacs Takacs ∗∗ Gabor Stepan Stepan ∗∗∗ ∗∗ ∗∗∗ Balazs Balazs Varszegi Varszegi ∗ Denes Denes Takacs Takacs ∗∗ Gabor Gabor Stepan Stepan ∗∗∗ ∗ ∗ Department of Applied Mechanics, Budapest University of Technology Department of Applied Mechanics, Budapest University of Technology ∗ ∗ Department of Applied Applied Mechanics, Budapest University of Technology Technology and Economics, Budapest, Hungary (e-mail: [email protected]) Department of Mechanics, of Economics, Budapest, HungaryBudapest (e-mail: University [email protected]) ∗∗and and Economics, Budapest, Hungary (e-mail: [email protected]) MTA-BME Research Group on Dynamics of Machines and ∗∗and Economics, Budapest, Hungary (e-mail: [email protected]) MTA-BME Research Group on Dynamics of Machines and Vehicles, Vehicles, ∗∗ ∗∗ MTA-BME Research Group on of Budapest, Hungary [email protected]) MTA-BME Research Group (e-mail: on Dynamics Dynamics of Machines Machines and and Vehicles, Vehicles, Budapest, Hungary (e-mail: [email protected]) ∗∗∗ Budapest, Hungary (e-mail: [email protected]) of Applied Mechanics, Budapest University of ∗∗∗ Department Budapest, Hungary (e-mail: [email protected]) Department of Applied Mechanics, Budapest University of ∗∗∗ ∗∗∗Technology Department of Applied Mechanics, Budapest University of and Economics, Budapest, Hungary (e-mail: Department of Applied Mechanics, Budapest University Technology and Economics, Budapest, Hungary (e-mail: of Technology Budapest, Hungary (e-mail: [email protected]). Technology and and Economics, Economics, Budapest, Hungary (e-mail: [email protected]). [email protected]). [email protected]). Abstract: A simple mechanical model of the the skateboard-skater skateboard-skater system system is is analyzed, analyzed, in in which which Abstract: A simple mechanical model of Abstract: A simple mechanical model of the skateboard-skater system is analyzed, in which the skater tries to follow a straight line by the board. The human control is considered by Abstract: A simple mechanical model thethe skateboard-skater system is analyzed, in which the skater tries to follow a straight lineofby board. The human control is considered by the skater tries to follow a straight line by the board. The human control is considered by means of a linear delayed PD controller. The equations of motion of the non-holonomic system the skater follow PD a straight lineThe by equations the board.ofThe human control is considered by means of a tries lineartodelayed controller. motion of the non-holonomic system means of a a linear linear delayed PD controller. The equations equations ofThe motion of the the non-holonomic system are derived derived with the the helpPD of the Gibbs-Appell Gibbs-Appell method.of The linear stability of is means of delayed The motion of non-holonomic system are with help of controller. the method. linear stability of the the system system is are derived with the help of the Gibbs-Appell method. The linear stability of the system is given analytically. The effect of the reflex delay of the skater on the stability is investigated. are derived with the help of the Gibbs-Appell method. The linear stability of the system is given analytically. The effect of the reflex delay of the skater on the stability is investigated. given analytically. The effect of the reflex delay of the skater on the stability is investigated. It is shown that in case of zero reflex delay, the motion along a straight line is unstable while given analytically. of reflex the reflex of the skater the stability investigated. It is shown that in The case effect of zero delay,delay the motion along aonstraight line is isunstable while It is that in zero the motion aa straight line non-zero reflex delay canof provide stabledelay, motion for some along specific speed ranges. ranges. It is shown shown thatdelay in case case ofprovide zero reflex reflex delay, thefor motion along straight line is is unstable unstable while while non-zero reflex can stable motion some specific speed non-zero reflex reflex delay delay can can provide provide stable stable motion motion for for some some specific specific speed speed ranges. ranges. non-zero © 2015, IFAC (International Federation of Automatic Control) Hosting by Elsevier Ltd. All rights reserved. Keywords: skateboard, skateboard, non-holonomic, non-holonomic, PD PD controller, controller, time time delay delay Keywords: Keywords: skateboard, skateboard, non-holonomic, non-holonomic, PD PD controller, controller, time time delay delay Keywords: D [Nms] D [Nms] 1. INTRODUCTION D [Nms] D [Nms] 1. INTRODUCTION 400[Nms] 400[Nms] D D 1. INTRODUCTION D [Nms] 400 1. INTRODUCTION SND400[Nms] Hopf Hopf Hopf Hopf

Skateboard has has become become aa popular popular sport sport in in the the 60’s. 60’s. After After Skateboard Skateboard has become a popular sport in the 60’s. After a decade, the first mechanical model of the skateboardSkateboard has become a popular sport in the 60’s. After a decade, the first mechanical model of the skateboardaa decade, the first mechanical model of skateboardskater system was constructed by Hubbard Hubdecade, the was first constructed mechanical by model of the the(1980). skateboardskater system Hubbard (1980). Hubskater system was constructed by Hubbard (1980). Hubbard’s study showed that the mechanical model of the skater was constructed Hubbard model (1980).ofHubbard’s system study showed that the by mechanical the bard’s study showed that the mechanical model of the skateboard is a very interesting example of non-holonomic bard’s study that the example mechanical model of the skateboard is ashowed very interesting of non-holonomic skateboard is interesting example of systems. Other Other researchers also investigated the linear linear skateboard is aa very very interesting example of non-holonomic non-holonomic systems. researchers also investigated the systems. Other researchers also investigated the linear stability of the skateboard-skater system, Kremnev and systems. Other researchers also investigated the linear stability of the skateboard-skater system, Kremnev and stability of the skateboard-skater system, Kremnev and Kuleshov (2008). All of these studies have provided the stability the skateboard-skater system, Kuleshov of(2008). All of these studies haveKremnev provided and the Kuleshov (2008). All of these studies have provided the same results, the stabilization of the rectilinear motion is Kuleshov (2008). All of these of studies have provided same results, the stabilization the rectilinear motionthe is same results, the stabilization of the rectilinear motion is easier as the longitudinal speed of the board is increased. same results, the stabilization of the rectilinear motion is easier as the longitudinal speed of the board is increased. easier as speed board Such behavior behavior can commonly commonly bethe detected inincreased. different easier as the the longitudinal longitudinal speed of of the board is isin increased. Such can be detected different Such behavior can commonly be detected in different nonholonomic systems, see, for example, the bicycle or Such behavior systems, can commonly detected different nonholonomic see, for be example, theinbicycle or nonholonomic systems, see, for example, the bicycle or the three-dimensional biped walking machine Wisse and nonholonomic systems,biped see, for example, the Wisse bicycleand or the three-dimensional walking machine the three-dimensional biped walking machine machine Wisse Schwab (2005). the three-dimensional biped walking Wisse and and Schwab (2005). Schwab (2005). Schwab (2005). observations on skateboarding proved, that Many practical practical Many observations on skateboarding proved, that Many practical observations on that unwanted loss of of stability can can also occur occur at at proved, high speed. speed. Many practical observations on skateboarding skateboarding proved, that unwanted loss stability also high unwanted loss stability can speed. An explanation explanation for this phenomenon phenomenon can at behigh originated unwanted loss of offor stability can also also occur occur atbe high speed. An this can originated An explanation for phenomenon can be in the the human control, control, which is always always present in the the An explanation for this this which phenomenon canpresent be originated originated in human is in in the human control, which is always present in the skateboard-skater system. The human control has reflex in the human control, which is always present in the skateboard-skater system. The human control has reflex skateboard-skater system. The control has delay, what what can can cause cause unexpected stability losses inreflex case skateboard-skater system. The human human control hasin reflex delay, unexpected stability losses case delay, what can cause unexpected stability losses in case of stick balancing Insperger and Milton (2014) or simple delay, can cause unexpected stability losses case of stickwhat balancing Insperger and Milton (2014) or in simple of stick balancing Insperger and (2014) or human balancing Stepan (2009). With the the extension of of stick balancing balancing Stepan Insperger and Milton Milton (2014) or simple simple human (2009). With extension of human balancing Stepan (2009). With the extension of Kremnev and Kuleshovs model, it was investigated in human balancing Stepan (2009). With the extension of Kremnev and Kuleshovs model, it was investigated in Kremnev model, it in Varszegi et etand al. Kuleshovs (2014) how how the balancing balancing effort of of the the Kremnev and Kuleshovs model, it was was investigated investigated in Varszegi al. (2014) the effort Varszegi et al. (2014) how the balancing effort of the skater influences the stability. A linear PD controller was Varszegi et al. (2014) how the balancing effort of was the skater influences the stability. A linear PD controller skater influences the stability. A linear controller implemented, where the skater’s tilting angle was as skater influences the the stability. A tilting linear PD PD controller was implemented, where skater’s angle was used usedwas as implemented, where the skater’s tilting angle was used as the input of the controller. It was verified that the stable implemented, where the skater’s tilting angle was used as the input of the controller. It was verified that the stable the input of the controller. It was verified that the stable parameter domain of the control gains is strongly modified the input of the controller. It was verified that the stable parameter domain of the control gains is strongly modified parameter domain the gains strongly modified as the the longitudinal longitudinal speed of the the board board changes, see Figure parameter domain of of the control control gains is is stronglysee modified as speed of changes, Figure as the longitudinal speed of the board changes, see Figure 1, where the stable parameter domain is rotating around as the longitudinal of thedomain board changes, see around Figure 1, where the stablespeed parameter is rotating 1, domain rotating around thewhere originthe of stable the P Pparameter −D D plane plane as the theis speed increases. 1, where the stable parameter domain is speed rotating around the origin of the − as increases. the origin P as the speed increases. Consequently, skater hasplane to tune tune the control gains with the origin of of the the skater P − −D D plane as the thecontrol speed gains increases. Consequently, has to with Consequently, the skater has to tune the control gains with respect to the speed. Consequently, skater has to tune the control gains with respect to the the speed. respect respect to to the the speed. speed.

SN SN SN SN

400 400 200 200 200 200

-2000 -2000

-1000 -1000

-2000 -2000

-1000 -200 -1000 -200

1000 1000

SN 400 400 200 SN SN 200

P P -2000 2000 [Nm] 2000 [Nm] P -2000

P 2000 [Nm] Unstable 2000 [Nm] Unstable Unstable Unstable

1000 1000

-200 -400 -200 -400

-2000 -2000

-400 -400

-2000 -2000 -2000 -2000

V=0 m/s V=0 m/s D [Nms] V=0 m/s D [Nms] V=0 m/s 400[Nms] D Hopf SN D400[Nms] Hopf SN 400 Hopf 400 200 Hopf SN SN 200 Unstable Unstable 200 P 200 P Unstable -1000 1000 2000 [Nm] -1000 1000 2000 [Nm] SUnstable P P 2000 [Nm] -1000 -200 S 1000 -1000 -200 1000 2000 [Nm] S S -200

S P S P 1000 2000 [Nm] S S 1000 2000 [Nm] P Unstable P -1000 -200 1000 2000 [Nm] -1000 -200 Unstable 1000 2000 [Nm] -200 Unstable -400 Unstable -200 Hopf -400 Hopf -400 V=1.7 -400 m/s Hopf Hopf V=1.7 m/s D [Nms] V=1.7 m/s D [Nms] V=1.7 m/s -1000 -1000

400[Nms] D D 400[Nms]

Hopf Hopf -2000 -1000 Hopf Hopf-1000 -2000 -2000 -2000

400 400 200 200 200 200

-1000 -200 -1000 -200

-400 -200 -400

-400 V=2.5 -400 V=2.5 V=2.5 V=2.5

200 200

m/s m/s m/s m/s

Unstable Unstable S Unstable Unstable P S P 1000 2000 [Nm] S S 1000 2000 [Nm] P P 1000 1000

2000 [Nm] 2000 [Nm]

-200 -400 -200 -400 -400 V=4 -400 m/s V=4 m/s V=4 V=4 m/s m/s

1 Fig. Fig. 1. 1. Linear Linear stability stability charts charts for for different different speeds speeds 11 Fig. 1. 1. Linear Linear stability stability charts charts for for different different speeds speeds 1 Fig. In In the the figure, figure, it it can can also also be be observed observed that that the the parameter parameter In the figure, it can also be observed that pairs P = 0 and D = 0 are always at the stability In thePfigure, can D also= be0 observed thatatthe the parameter pairs = 0 itand are always theparameter stability pairs P = 0 and D = 0 are always at the stability boundary. This means that if the skater switches off pairs P = 0 and D = 0 are always at the stability boundary. This means that if the skater switches off its its boundary. This means that if the skater switches off control, the rectilinear motion is just stable. Namely, by boundary. This means that if the skater switches off its its control, the rectilinear motion is just stable. Namely, by control, motion is stable. Namely, by means this simple skater could avoid control, the rectilinear motion the is just just stable. Namely, by means of ofthe thisrectilinear simple strategy, strategy, the skater could avoid the the means of this simple strategy, the skater could avoid the instability of the board. But this strategy can work if means of this simple strategy, could instability of the board. But the this skater strategy canavoid workthe if instability of the board. But this strategy can work if the direction of the rectilinear motion does not matter, instability of the board. But this strategy can work if the direction of the rectilinear motion does not matter, the direction of the rectilinear motion does not matter, namely, the skater does not have to avoid an object on the the direction of the rectilinear motion does not matter, namely, the skater does not have to avoid an object on the namely, the does not to object on road does to the desired of namely, the skater skater doeshave not have have to avoid avoid an objectpath on the the road and/or and/or does not not have to follow follow the an desired path of road and/or does not have to follow the desired path of the road. To investigate the case when the skater has to road and/or not have follow thethe desired of the road. To does investigate thetocase when skaterpath has to the road. To investigate the case when the skater has to follow a predefined direction by its board, another control the road. To investigate the case when the skater has to follow a predefined direction by its board, another control follow aa predefined direction by board, another law In study, consider latter case. follow predefined direction by its its board,this another control law is is needed. needed. In this this study, we we consider this lattercontrol case. law is needed. In this study, we consider this latter law is needed. In this study, we consider this latter case. case. 2. 2. NON-HOLONOMIC NON-HOLONOMIC MECHANICAL MECHANICAL MODEL MODEL 2. 2. NON-HOLONOMIC NON-HOLONOMIC MECHANICAL MECHANICAL MODEL MODEL The mechanical model in question The mechanical model in question (see (see Figure Figure 2) 2) is is based based The mechanical model in question (see Figure 2) based on Kremnev and Kuleshov (2008) and Varszegi al. The mechanical model in question Figure 2) is is et based on Kremnev and Kuleshov (2008)(see and Varszegi et al. on Kremnev and and Kuleshov Kuleshov (2008) (2008) and and Varszegi Varszegi et et al. al. on Kremnev 1 1 1 1

See See See See

in in in in

Varszegi Varszegi Varszegi Varszegi

et et et et

al. al. al. al.

(2014) (2014) (2014) (2014)

Copyright © 2015, IFAC 2015 286 Hosting by Elsevier Ltd. All rights reserved. 2405-8963 © IFAC (International Federation of Automatic Control) Copyright © IFAC 2015 286 Copyright © IFAC 2015 286 Peer review under responsibility of International Federation of Automatic Copyright © IFAC 2015 286Control. 10.1016/j.ifacol.2015.09.392

IFAC TDS 2015 June 28-30, 2015. Ann Arbor, MI, USA

Balazs Varszegi et al. / IFAC-PapersOnLine 48-12 (2015) 286–291

(2008) or Varszegi et al. (2014)). Here we also prescribe the longitudinal speed of the board, which is kept on the constant value V . The so-formed kinematic constraints can be written as A · q˙ = A0 , (3) where   T

C

Z g

m

Y

h

dS

X

y

vR

Mc

R

A=

l

S

V l

287



q

=

X Y ψ ϕ

A0 T =

dS

Fig. 2. The simplified mechanical model of the skateboardskater system (2014). The skateboard is modeled by a massless rod (between the front axle at F and the rear axle at R) while the skater is represented by a massless rod (between the points S and C) with a lumped mass at C. In this model, the connection between the skater and the board (at S) is assumed to be rigid. The so formed rigid body has zero mass moment of inertia with respect to its center of gravity at C, which makes the derivation of the equations of motion simpler. Namely, the skateboard moves in the three dimensional gravitational field but we have to describe the motion of a lumped mass only.

(4)

sin ψ − cos ψ sin ϕ tan κ − cos ψ − sin ψ sin ϕ tan κ −l 0 sin ψ + cos ψ sin ϕ tan κ − cos ψ + sin ψ sin ϕ tan κ l 0 cos ψ sin ψ 0 0

F

vF

,



0 0 V



,



,

(5) (6)

The equations of motion of non-holonomic systems can be determined by means of several methods. For example, the extended version of the Lagrange equation of the second kind (also called as Routh-Voss equations in Gantmacher (1975)) is applicable but the elimination of the involved Lagrange-multipliers can lead to extensive algebraic manipulation. Here we rather apply the GibbsAppell method (see in Gantmacher (1975)), what is a more efficient approach since it provides the equations of motion in the form of first order differential equations. However, the definition of the pseudo velocities have to be chosen intuitively and the so-called energy of acceleration is also an unusual physical quantity.

where τ refers to the time delay, P and D represent the proportional and the differential control gains, respectively. The controller produces zero torque if the board follows the prescribed stationary path.

We have three kinematic constraints and four generalized coordinates, which means that only one pseudo velocity has to be chosen: σ := ϕ˙ , (7) which is the angular speed of the skater around the longitudinal axis of the skateboard. The generalized velocities can be expressed with the help of this pseudo velocity and the generalized coordinates:     V cos ψ X˙  V sin ψ  Y˙     = V (8) .  ψ˙    − tan κ sin ϕ  l ϕ˙ σ During the derivation of the equation of motion, the socalled energy of acceleration A is needed. Since the model consists of one mass point only it can easily be computed: 1 A = maC · aC , (9) 2 where aC refers to the acceleration of the lumped mass. In our model we obtain:   1 V2 2

Regarding to the rolling wheels of the skateboard, kinematic constraints can be formed. These constraining equations define the velocities vF and vR of the front point (F) and the rear one (R), respectively. The directions of these velocities depend on ϕ through δS , which is the so-called steering angle (see Figure 2). This angle can be expressed from the equation sin β (t) tan κ = tan δS (t) , (2) where κ is the complementary angle of the so-called rake angle in the skateboard wheel suspension (for the derivation of this relation please see Kremnev and Kuleshov

According to the Gibbs-Appell method, the parts of the energy acceleration, which do not depend on the pseudo acceleration σ, ˙ are not necessary to calculate and they are not computed here. The Gibbs-Appell equation forms as ∂A =Γ, (11) ∂ σ˙ where the right hand side is the pseudo force Γ. It can be determined from the virtual power of the active forces. In our model, the gravitational force and the control torque have non-zero virtual power, so they contribute to the pseudo force.

In our study we do not consider the loss of contacts between the wheels and the ground. Due to the fact that the longitudinal axis of the skateboard is always parallel to the ground, one can choose four generalized coordinates to describe the motion: X and Y are the coordinates of the skateboard center point S in the plane of the ground; ψ describes the direction of the longitudinal axis of the skateboard; and finally, ϕ is the inclination angle of the skater’s body from the vertical direction. The geometrical parameters are the following. The height of the skater is denoted by 2h. The length of the board is 2l while m represents the mass of the skater. The parameter g stands for the gravitational acceleration. Here we model the skater’s navigating effort as a linear PD controller, which applies a torque to the skateboard (see Figure 2). The rectilinear motion of the board is prescribed along the Y = 0 line, and the control torque is calculated via Mc (t) = −P Y (t − τ ) − DY˙ (t − τ ) (1)

287

A =

˙ mh 2 tan(κ) sin(2ϕ) l − h tan(κ) sin ϕ σ+ 2 l 1 2 2 + mh σ˙ + . . . . 2

(10)

IFAC TDS 2015 288 June 28-30, 2015. Ann Arbor, MI, USA

Balazs Varszegi et al. / IFAC-PapersOnLine 48-12 (2015) 286–291

The equation of the motion of the system can be written as DV P g Y (t − τ )− sin(ψ(t − τ )) + σ˙ (t) = sin(ϕ(t)) + 2 h mh mh   2 V h 2 − tan(κ) sin(ϕ(t)) cos(ϕ(t)) 1 + tan(κ)sin (ϕ(t)) , lh l X˙ (t) = V cos(ψ(t)) , Y˙ (t) = V sin(ψ(t)) , V ψ˙ (t) = − tan(κ) sin(ϕ(t)) , l ϕ˙ (t) = σ(t) . (12) The first equation of (12) relates to the Gibbs-Appell equation, the others are the formulas of the generalized velocities as the function of the pseudo velocity and the generalized coordinates. It is worth to mention that X is a so-called cyclic coordinate, so the second equation is unnecessary for further investigation. It means that the system can be described in the four dimensional state space. 3. STABILITY ANALYSIS OF THE RECTILINEAR MOTION IN CASE OF ZERO TIME DELAY In this section, the linear stability analysis of the rectilinear motion is investigated in that special case, when the time delay of the control-loop is zero (τ = 0). This theoretical case can be used for better understanding of the interaction of the skateboard and the skater. The linearized equation of motion around the stationary solution: σ ≡ 0, Y ≡ 0, ψ ≡ 0 and ϕ ≡ 0, can be written in the following form:   V2 P DV g     − tan(κ) 0 σ˙ (t) σ (t)   mh2 h lh   Y˙ (t)   0 mh Y (t)  0 V 0 ·      ψ (t)   ψ˙ (t)  =  V 0 0 0 − tan(κ)  ϕ (t) ϕ˙ (t) l 1 0 0 0 (13) The stability analysis of this linear ordinary differential equation system (13) can be carried out with the help of the Routh-Hurwitz criterion. The so-called Hurwitz matrix can be constructed from the coefficients of the characteristic equation. The ith sub-determinant of this Hurwitz matrix is denoted by ∆i and the investigated equilibrium is asymptotically stable if and only if all of the sub-determinants ∆i are greater than zero. Here ∆0 = 0, which means that the rectilinear motion can be stable only in Lyapunov sense but not exponentially stable. To achieve this stability, the following three conditions have to also be fulfilled: DV 2 D2 V 4 − tan(κ) > 0, − tan2 (κ) > 0 , 4 l 2 m2 mh2 l h (14) PV 2 and tan(κ) > 0 . mh2 l The second condition cannot be satisfied for any real parameters. This means that the rectilinear motion is unstable, or it can be stable in Lyapunov sense only if P and D are zeros. This result was examined by means of numerical simulations only. The analytical proof can be the subject of future work. 288

4. STABILITY ANALYSIS OF THE RECTILINEAR MOTION FOR NON-ZERO TIME DELAY Let us investigate the more realistic case, when the skater’s reflex delay is considered. From mathematical view point, this case is more complicated, because the system is governed by delay differential equations (DDEs). The linear stability analysis can be carried out based on the results of Stepan (1989). The small vibrations of the board around the rectilinear motion can be described by the linearized equation: ˙ X(t) = J · X(t) + T · X (t − τ ) , (15)

where



0  0 J=  0 1

 g V2   0 0 − tan κ σ(t)  h hl  Y (t)  0 V 0  , X(t) =   ψ(t)  ,  V 0 0 − tan κ  ϕ(t) l 0 0 0 (16)  P DV  0 mh mh2 0   0 0 and T =  0 0  . 0 0 0 0 0 0 0 0

The characteristic function of this linear system can be calculated after the substitution of the exponential trial solution with characteristic exponent λ into (15):   2 g V tan κ − + Dc (λ) = λ4 + λ2 hl h (17) V2 tan κ . + e−λτ (λD + P ) mh2 l The rectilinear motion is asymptotically stable if all of the infinitely many characteristic roots are situated on the left half of the complex plane. The limit of stability corresponds to the case when characteristic roots are located on the imaginary axis. If both the real and the imaginary parts of the characteristic exponent are zeros then saddle-node (SN) bifurcation can occur. In our case, Dc (λ = 0) = 0 leads to P V2 tan κ = 0 (18) mh hl which gives a vertical line in the P − D parameter plane: PSN = 0 . (19) If only the real parts of the characteristic exponent are zero, Hopf bifurcation (H) can occur, and the characteristic exponent located on the imaginary axis can be expressed as λ = ±iω, where i is the imaginary unit and ω ∈ R+ . The D-subdivision method can be used to determined the corresponding stability boundaries, namely, the characteristic equation has to be separated into real and imaginary parts:   V2 g 4 2 0 = ω +ω − tan(κ) + h hl  2  P D V ω sin(ωτ ) + cos(ωτ ) tan(κ) , (20) + mh mh  hl2  P V D ω cos(ωτ ) − sin(ωτ ) tan(κ) . 0 = mh mh hl

IFAC TDS 2015 June 28-30, 2015. Ann Arbor, MI, USA

Balazs Varszegi et al. / IFAC-PapersOnLine 48-12 (2015) 286–291

289

Table 1. Parameters of the skater-board system D

D

Hopf

Hopf

Stable Unstable

P

ω

ω =

ω SN

P

ω ω* SN

Fig. 3. Structure of stability chart for an arbitrary chosen longitudinal speed V and for the realistic parameters given in Table 1. D

D

D

D Unstable

Unstable

Unstable

P

P

Stable P Unstable P V P,up

V D,left

V P,down

V D,right

Fig. 4. Rotation of enclosed possible stable domain at certain speeds for the realistic parameters of Table 1. The critical P and D parameters can be expressed as:   V2 −hl g ω2 + − tan(κ) ω 2 cos(ωτ ) , PH = mh 2 V tan (κ)  h hl  V2 −hl g 2 ω + − tan(κ) ω sin(ωτ ) . DH = mh 2 V tan (κ) h hl (21) Using the stability boundaries (19) and (21), a stability chart is constructed in the P −D parameter plane in Figure 3. The vertical line of the SN bifurcation and the curve of the Hopf bifurcation terminate the linearly stable (shaded) and unstable (white) domains. The stability boundary given by (21) starts from the origin, i.e. P =0 and D = 0 for ω = 0. It can be proved that this curve can go through the origin for ω > 0 if  gl ∗ V ≥V = . (22) tan κ For realistic system parameters (see Table 2) V ∗ = 1.403 m/s. Let us not here, the rectilinear motion is unstable if V < V ∗ . The corresponding angular frequency can be determined as well:  g V2 ∗ tan κ − . (23) ω = hl h ∗ If the speed is higher than the critical value V , the stability boundary curve intersects itself and a closed loop appears. It can be proved that only the inner part of this loop can be stable. To describe the behavior of this closed loop is important, because this loop can cat of the stability region (see Figure 3.), for some parameters the stable region is vanished. One can verify that the above described closed loop of the stability boundary rotates counterclockwise around the origin of the P −D parameter plane as the longitudinal 289

h [m] 0.85

m [kg] 75

a [m] 0.05

τ [s] 0.24

st [Nm/rad] 100

l [m] 0.3937

κ [o ] 63

g [m/s2 ] 9.81

speed V increases. Since the angular frequency ω ∗ is also known, four specific speeds can be determined analytically, which relate to the special positions of the closed loop, i.e. when the loop is tangential with the axes of the P − D plane. These positions are illustrated in Figure 4 and the corresponding critical speeds are:   2 g hl 2 π P,up , (24) = (2k + 1) 2 + V τ h tan κ   2 2 3 g π hl 2k + , (25) + V D,left = 2 2 τ h tan κ   2 g hl 2 π P,down V , (26) = (2k + 2) 2 + τ h tan κ   2 2 g 1 π hl , (27) + 2k + V D,right = 2 τ2 h tan κ where k ∈ N.

According to the SN stability boundary at P = 0, only the right hand side of P − D parameter plane can be stable. If the stability boundary given in (21) starts to the left side of the P − D plane at ω = 0 then no stable domain exists. It can also be proved that if this boundary starts to the right then stable domain can be located in the first quadrant. Stable region exists if and only if the loop of the stability boundary has an intersection with its initial segment (often referred to D-curve, see for example, in Stepan (2009)). If this condition is satisfied then the Hopf boundary curve starts to the right side of the parameter plane, too. Accordingly, speed ranges can be determined, where stable domain exist:   2 2 rk2 3 Vs,k g g π  2k + < (28) + < + . 2 2 τ h 2 τ h hl tan κ

Here, rk is the kth root of equation tan r = r for k ∈ N. The time delay also has to satisfy the condition: 2πk + 32 π rk  < τs,k <  . (29) g g V2 V2 tan κ − tan κ − hl h hl h

The lower limit belongs to the geometric case on P − D parameter plane, when the tangent of the Hopf boundary curve at ω and at ω ∗ are the same and the closed loop touches from below. The higher one belongs to the case when the closed loop just leaves the possibly stable domain (which is bounded by the D-shaped initial segment and the SN line), namely, the Hopf boundary curve touches the vertical axes from right at ω ∗ . Thus, there are speed (or reflex delay) ranges, where the rectilinear motion is stable. Using the realistic parameters of Table 1 and assuming that the reflex delay of the skater is around 0.3 sec, the stable speed ranges can be calculated, see Table 2.

IFAC TDS 2015 290 June 28-30, 2015. Ann Arbor, MI, USA

Balazs Varszegi et al. / IFAC-PapersOnLine 48-12 (2015) 286–291

Table 2. Stabilizable speed domains

D [Nms/m] 300

1.40281 m/s < Vs,0 < 6.63623 m/s 10.7254 m/s < Vs,1 < 15.1995 m/s 19.4119 m/s < Vs,2 < 23.8243 m/s

200

τ [s] 1.0

S

S 0.8

S S

U

0.4

U

0 5

U

10 15 20

0.0 0

V* 2

4

100

0

Unstable

Stabilizable

0.2

P

U

S 0.6

100

U

6

8

10

12

14

V [m/s]

V [m/s]

Fig. 6. Stability chart in the V -P -D parameter space

Fig. 5. Stabilizable domains in the space of the longitudinal speed V and reflex delay τ

D max [Nms/m]

Pmax [Nm/m]

300

As Table 2 and Figure 5 show, there are speed domains with low and higher values, where the control of the skateboard is not feasible. Naturally it does not mean, that the skater will fall, different control law can allow the skater to balance itself and keep the vertical position (see Varszegi et al. (2014), Kremnev and Kuleshov (2008) or Hubbard (1980)). However, the skater cannot follow the straight line by the skateboard. In Figure 5, the reflex delay τ can be seen against the longitudinal speed V . Shaded domains are stabilizable, which means that the rectilinear motion can be stable for appropriately chosen control gains P and D. This stability chart and the condition (28) do not contradict to the fact that the investigated equilibrium cannot be stable for V < V ∗ . Namely, the left inequality of (28) for k = 0 leads to the same condition. If τ = 0, the system is at the edge of stability, the motion is unstable or it can be stable in Lyapunov sense but not exponentially stable. If the control is switched off (the control gains are zeros) then the rectilinear motion is at the edge of stability if V > V ∗ . For V < V ∗ the rectilinear motion is unstable (see in Hubbard (1980) or Kremnev and Kuleshov (2008)). This behavior can be observed in Figure 7, where the maximal allowable control gains P (dashed-dotted line) and D (dashed line) are plotted against the longitudinal speed. Figure 6 provides a better overview about the shapes of the stable domains in the space of the speed V and the control gains P and D. These last two figures were constructed with the parameters from Table 1. Without the variation of the control gains, small P and D parameter pairs seem to be the best choice from stability point of view, namely, they can guarantee the stability of the rectilinear motion in the largest speed domains. 5. CONCLUSION A mechanical model of the skateboard-skater system was constructed, in which the effect of the human control was taken into account. The control law was demanded to move the board along an appointed straight line. The linear PD controller was considered with and without time delay. It was shown that the delay in the control loop is essential, namely, in case of non-zero time delay the rectilinear motion of the skateboard can be asymptotically 290

200

100

0

5

10

15

20

V [m/s]

Fig. 7. The maximum allowable control gains against the speed stable in some speed ranges. In case of zero time delay, the rectilinear motion can be stable in Lyapunov sense only, it is at the limit of stability. The effect of the longitudinal speed was analyzed. The presented stability charts can explain the loss of stability even at low and high speeds. It was shown, that the skater must vary the control gains as the speed of the board changes. The stabilization of the board along an appointed straight line is possible in specific speed ranges. Out of these ranges, another control strategy is required, for example, instead of following of the appointed line, the balancing of the upper position is a successful strategy. Switching off the control is another solution, by which the motion can be kept at the limit of stability. ACKNOWLEDGEMENTS This research was partly supported by the J´anos Bolyai Research Scholarship of the Hungarian Academy of Sciences and by the Hungarian National Science Foundation under grant no. OTKA PD105442. REFERENCES Gantmacher, F. (1975). Lectures in Analytical Mechanics. MIR Publisher, Moscow, Russia. Hubbard, M. (1980). Human control of the skateboard. Journal of Biomechanics, 13, 745–754. Insperger, T. and Milton, J. (2014). Sensory uncertainty and stick balancing at the fingertip. Biological Cybernetics, 108, 85–101. Kremnev, A. and Kuleshov, A. (2008). Dynamics and simulation of the simplest model of skateboard. In Proceedings of Sixth EUROMECH Nonlinear Dynamics Conference. Saint Petersburg, Russia.

IFAC TDS 2015 June 28-30, 2015. Ann Arbor, MI, USA

Balazs Varszegi et al. / IFAC-PapersOnLine 48-12 (2015) 286–291

Stepan, G. (1989). Retarded dynamical systems: stability and characteristic functions. Longman Scientific & Technical, London, United Kingdom. Stepan, G. (2009). Delay effects in the human sensory system during balancing. Philosophical Transactions of The Royal Society, 367, 1195–1212. Varszegi, B., Takacs, D., Stepan, G., and Hogan, S. (2014). Balancing of the skateboard with reflex delay. In Proceedings of Eighth EUROMECH Nonlinear Dynamics Conference, ENOC2014. Vienna, Austria. Wisse, M. and Schwab, A. (2005). Skateboard, bicycles, and three-dimensional biped walking machines: Velocity-dependent stability by means of lean-to-yaw coupling. The International Journal of Robotics Research, 24(6), 417–429.

291

291