How can I get the correct angular position of revolving member

3 views (last 30 days)
I have a simple member rotating at constant angular velocity. The output for velocity, acceleration and linear velcity are all correct, but position is not what I would expect. I have measured it two ways.
  1. With the angle output of a transfrom sensor. The angle oscilates between from 0 - pi. Whereas I would expect a saw-tooth wave form 0 - 2pi.
  2. With the position output of the revolute joint. The "true" angle is output, simply angular velocity multipled by time. This is techincally correct, but I'm not sure how to manipulate the output to provide the expected saw-tooth wave from 0-2pi
This is the simscape model
Transform Sensor Scope
Revolute Joint Scope

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!