Initial angular position of a mechanical system in SimScape
Dears,
I am working on a SimScape model that includes a rotating mechanical system. The model uses an ideal angular velocity source to generate a (fixed) rotation speed, and an ideal rotational motion sensor to measure both the speed and the angular position. Now, when solving the model, it seems that the initial angle of the system (at t = 0) is not equal to zero, but rather some high value (in the order of 1e10). I’ve tried setting the initial angle in the ideal rotational motion sensor block to 0 but that does not help. Moreover, it seems that the initial angle of the system changes based on the requested speed (I would not expect such a dependency).
I have included a simplified example of the model that includes the components and issues described above. The model is created in Matlab 2020b (the version which I am currently using).
I would like to understand how I can set the initial angle of the mechanical system to zero (at t = 0). Could you help me solve the issue?
Thanks in advance for your help!Dears,
I am working on a SimScape model that includes a rotating mechanical system. The model uses an ideal angular velocity source to generate a (fixed) rotation speed, and an ideal rotational motion sensor to measure both the speed and the angular position. Now, when solving the model, it seems that the initial angle of the system (at t = 0) is not equal to zero, but rather some high value (in the order of 1e10). I’ve tried setting the initial angle in the ideal rotational motion sensor block to 0 but that does not help. Moreover, it seems that the initial angle of the system changes based on the requested speed (I would not expect such a dependency).
I have included a simplified example of the model that includes the components and issues described above. The model is created in Matlab 2020b (the version which I am currently using).
I would like to understand how I can set the initial angle of the mechanical system to zero (at t = 0). Could you help me solve the issue?
Thanks in advance for your help! Dears,
I am working on a SimScape model that includes a rotating mechanical system. The model uses an ideal angular velocity source to generate a (fixed) rotation speed, and an ideal rotational motion sensor to measure both the speed and the angular position. Now, when solving the model, it seems that the initial angle of the system (at t = 0) is not equal to zero, but rather some high value (in the order of 1e10). I’ve tried setting the initial angle in the ideal rotational motion sensor block to 0 but that does not help. Moreover, it seems that the initial angle of the system changes based on the requested speed (I would not expect such a dependency).
I have included a simplified example of the model that includes the components and issues described above. The model is created in Matlab 2020b (the version which I am currently using).
I would like to understand how I can set the initial angle of the mechanical system to zero (at t = 0). Could you help me solve the issue?
Thanks in advance for your help! simscape, rotational-motion-sensor MATLAB Answers — New Questions