Translational Displacement drifting from sine wave velocity input
4 views (last 30 days)
Show older comments
Hello, I have a sine wave input connected to port S of an Ideal Translational Velocity Source, Port C is connected to ground, and port R to a Translational Mechanical Converter. Instead of the displacement at Port R being a constant sine wave, the displacement value gradually drifts over time. Does anyone know why or how to stop it?
Edit: Couldnt put more tags or the product in: If I try to put Simulink as the product and add a tag, the site crashes.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/462890/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/462895/image.png)
1 Comment
Nachiket Bapat
on 23 Feb 2021
Edited: Nachiket Bapat
on 23 Feb 2021
need to change the simulation solver from variable step to fixed step. Mention step size 1e-3
Answers (0)
See Also
Categories
Find more on Modeling Fundamentals and Processes 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!