필터 지우기
필터 지우기

How get total belt length in Simscape multibody belt-cable system

조회 수: 5 (최근 30일)
I'm using the 'Belts and cables' library in Simscape Multibody. My overall setup consists of a Spool at both ends of the belt with several pulleys in between. Is there a built-in manner of determining the total length of the belt from spool to spool?
Regards

채택된 답변

Divyanshu
Divyanshu 2023년 11월 15일
Hi Bart,
I understand that you are trying to calculate the length of belt/cable from spool to spool.
Unfortunately there is no such built-in function which can directly determine the length of cable between the spools. However a custom MATLAB function can be written to calculate the same.
Here are certain assumptions based on the description:
  • Firstly the distance between the spools is known.
  • We know the radius of spool.
You can refer the following code and can modify it according to the use-case:
function calculateLength()
windings1 = n1; %number of times cable is wound on spool 1
windings2 = n2; %number of times cable is wound on spool 2
circumference1 = 2*pi*r1;
circumference2 = 2*pi*r2;
totalLength = (winding1)*2*pi*r1 + (winding2)*2*pi*r2 + d;
end

추가 답변 (0개)

카테고리

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