Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about ueq in the smc.m #5

Open
lienguang0624 opened this issue Jan 17, 2021 · 4 comments
Open

Question about ueq in the smc.m #5

lienguang0624 opened this issue Jan 17, 2021 · 4 comments
Labels
question Further information is requested

Comments

@lienguang0624
Copy link

I repeated the implementation in function [u, s, ueq, usw] = smc(e,edot,xddot_d,f,b,lambda,kappa,eta, switch_fun) according to formulas (3.61) and (3.62). In my understanding, ueq is the first two items of the above fractions (3.61 and 3.62), and usw is the last two items of the fractions. But in the process of manual calculation, it was found that lambda.*edot in ueq did not appear in the fractions (3.61 and 3.62). Please help me.

@mateus-amarante
Copy link
Owner

In the code, I split the input into "equivalent" and "switch" parts.

  • u_eq is the ideal input to drive the system on the sliding modes, i.e. s = s_dot = 0

We have that:

s_dot = xddot_d - xddot + lambda*(xdot_d - xdot)
0 = xddot_d - fx - bx*ueq + lambda*(xdot_d - xdot)
ueq = (lambda*(xdot_d - xdot) + xddot_d - fx) / bx

  • u_sw is the input to drive the system towards the sliding mode, shaping s_dot when s != 0

@mateus-amarante
Copy link
Owner

mateus-amarante commented Jan 24, 2021

In the paper, I recommend some books:

@mateus-amarante mateus-amarante added the question Further information is requested label Feb 1, 2021
@mateus-amarante
Copy link
Owner

@lienguang0624, how is going your study? I'm sorry I took more time to answer you last time. I think I've might have broken your pace. I just want to let you know that I'm still open to supporting you in understanding this work if you desire. Best regards.

@lienguang0624
Copy link
Author

lienguang0624 commented Feb 23, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants