Hi,
I'm working on full vehicle simulations and on steering systems in particular. For my application I want to use a rack-and pinion to model the steering system. In my case the pinion is the steering-wheel input (axis which is fixed by a revolute joint to the chassis), the rack is the steering-rack which is connected to the tie rod and can translate wrt the chassis (prismatic joint). The whole chassis is of course not fixed in space but is driving around as well.
I've started of with the demonstration file mech_rack_pinion as provided by MATLAB. This file makes use of a velocity driver to link the translational velocity of the rack to the rotational velocity of the pinion.
I've altered this example slightly to correspond with the following drawing:
As you can see the pinion should rotate according to the relative velocity of the rack w.r.t. the chassis. However in my model it rotates according to the global velocity of the rack. I can't seem to change this in the velocity driver block since the options there are very limited.
I've tried to change the orientation of the coordinate systems from world to base and follower but this doesn't help since the orientation of the axis is not the problem..
I've attached my file to show you the problem. I need this to work in SimMechanics 1st generation since my whole car-model is build in this as well.
Jan
Best Answer