How to model two-rack-one-pinion coupling in Simscape Multibody?

3 views (last 30 days)
I would like to model the coupling which consists of two parallel racks with the mutual pinion in between of them in Simscape Multibody. Based on tutorial I connected two racks to F-ports of two Rack and Pinion Constraint Blocks and one pinion to Blocks' B-ports. Each Rack in its turn were connected to the prismatic joint and pinion was connected to revolute joint. In order to connect racks properly I used different reference frames in pinion which were opposite in their X, Y - directions. But I got an error "Model not assembled: position violation". I would appreciate any help.
  2 Comments
Julia
Julia on 17 Oct 2017
Thank you for the clue. The problem was in incorrect rack-pinion-rack distance assignment.

Sign in to comment.

Accepted Answer

Nicolas Schmit
Nicolas Schmit on 18 Oct 2017
Seems like you have a geometric loop with incompatible constraints. Try to break the geometric loop by commenting out one of the Rack and Pinion Constraint Blocks, and assemble your mechanism. This should give you a idea of how to correctly orient the frames to close the loop.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!