How can I filter the oscillation in my simulation?
1 view (last 30 days)
Show older comments
I have modelled and simulated Electric Motorcycle on Simulink but it is oscillating in some parts of the results. I have attached the pics of the results.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/396679/image.png)
Please help me how can I filter those oscilations.
1 Comment
Mathieu NOE
on 30 Oct 2020
Hi
maybe your model lacks inherent stability because you may not have any physical damping in it ...
or the solver is not appropriate...
Answers (1)
Vasco Lenzi
on 30 Oct 2020
Moved: Steve Miller
on 23 Aug 2022
Hi Swapnil
Is there a control loop involved? It seems that your driver model is doing a good job in following the target velocity.
These oscillations may come from you internal control loop - the torque may osciallte very fast due to the control loop, but there may be mechanical damping and it does not affect the motorcycle velocity.
Try to change your internal controller - if you are using PID block, take a look at this new free online course:
0 Comments
See Also
Categories
Find more on Simscape Driveline in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!