RollingWheel

Joint (no mass, no inertia) that describes an ideal rolling wheel (rolling on the plane z=0)

    RollingWheel

Library

Modelica/Mechanics/MultiBody/Joints

Description

A joint for a wheel rolling on the x-y plane of the world frame.The rolling contact is considered being ideal, i.e. there is noslip between the wheel and the ground. This is simplygained by two non-holonomic constraint equations on velocity leveldefined for both longitudinal and lateral direction of the wheel.There is also a holonomic constraint equation on position levelgranting a permanent contact of the wheel to the ground, i.e.the wheel can not take off.

The origin of the frame frame_a is placed in the intersectionof the wheel spin axis with the wheel middle plane and rotateswith the wheel itself. The y-axis of frame_a is identical withthe wheel spin axis, i.e. the wheel rotates about y-axis of frame_a.A wheel body collecting the mass and inertia should be connected tothis frame.

Note

To work properly, the gravity acceleration vector g of the world must point in the negative z-axis, i.e.

inner Modelica.Mechanics.MultiBody.World world(n={0,0,-1});

Parameters

RollingWheel_0

NameLabelDescriptionData TypeValid Values

mo_wheelRadius

wheelRadius

Wheel radius

Scalar

mo_stateSelect

stateSelect

Priority to use generalized coordinates as states

Structure

mo_stateSelect/choice1

StateSelect.never

Number

0
1

mo_stateSelect/choice2

StateSelect.avoid

Number

0
1

mo_stateSelect/choice3

StateSelect.default

Number

0
1

mo_stateSelect/choice4

StateSelect.prefer

Number

0
1

mo_stateSelect/choice5

StateSelect.always

Number

0
1

mo_x

x

x

Structure

mo_x/fixed

fixed

Cell of scalars

true
false

mo_x/start

start

Cell of scalars

mo_y

y

y

Structure

mo_y/fixed

fixed

Cell of scalars

true
false

mo_y/start

start

Cell of scalars

mo_angles

angles

angles

Structure

mo_angles/fixed

fixed

Cell of vectors of size 3

true
false

mo_angles/start

start

Cell of vectors of size 3

mo_der_angles

der_angles

der_angles

Structure

mo_der_angles/fixed

fixed

Cell of vectors of size 3

true
false

mo_der_angles/start

start

Cell of vectors of size 3

mo_delta_0

delta_0

delta_0

Structure

mo_delta_0/fixed

fixed

Cell of vectors of size 3

true
false

mo_delta_0/start

start

Cell of vectors of size 3

RollingWheel_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'z'
'r_road_0'
'f_wheel_0'
'f_n'
'f_lat'
'f_long'
'err'
'e_axis_0'
'e_n_0'
'e_lat_0'
'e_long_0'
's'
'w'
'e_s_0'
'v_0'
'w_0'
'vContact_0'
'aux'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

frame_a

implicit

Frame fixed in wheel center point. x-Axis: upwards, y-axis: along wheel axis

input

1