Filter löschen
Filter löschen

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

5 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

Divyanshu
Divyanshu am 15 Nov. 2023
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

Weitere Antworten (0)

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by