SimScape Multibody - variable velocity in spur gear simulation

조회 수: 1 (최근 30일)
Robert Kugler
Robert Kugler 2021년 2월 1일
답변: Steve Miller 2021년 6월 7일
Hi community,
I am simulating a simple pair of spur gears in SimScape Multibody. To make the gears move, I am using a velocity state target of 0.1 rev/s in the driving gear's joint (instead of using a function as an actuation input, for instance). Now, when I use the velocity sensing function of the joint, I am getting a measured velocity that looks reasonably close to 0.1 rev/s. Yet, it looks quite fluctuating and not exactly converging to a fully stable/constant value. You can see this in the scope output in the lower right of the screenshot:
Can anyone explain to me why this happens? I would have expected that the measured velocity is stable / constant...
I did give the two gears a density that is typical for steel (in order to have simscape take inertia into account) and I left the joints without friction. I suspect it may have something to do with that but I am not sure. Maybe the state target function of the joint acts like a controller? But in that case, I don't understand why the velocity does not stabilize...
Thanks for your help in advance!
  댓글 수: 1
Amanpreetsingh Arora
Amanpreetsingh Arora 2021년 2월 4일
The "velocity state target" parameter is only used to solve for the initial condition of the joints and looking at the scope output, it is working as expected. Some other part of the model might be causing these fluctuations. Can you share the model so that I can reproduce the issue on my end?

댓글을 달려면 로그인하십시오.

답변 (1개)

Steve Miller
Steve Miller 2021년 6월 7일
Hi Robert,
The oscillations you are seeing are very, very small in magnitude.
Here are some possibilities:
  1. The center of mass of the gears may not be exactly where your joint axes are located. This could cause these tiny oscillations.
  2. Your solver settings may be contributing to numerical errors
If you can share the model, we could offer further suggestions.
--Steve

카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by