Iawia
Member
Hi,
I am trying to use matlab's simulink to simulate a 1/4 car model suspension. I have managed to get a nice response of the chassis and tire position just using static inputs like a speed bump or by using a gradually increasing road frequency with a small amplitude. This type of simulation does not properly simulate real road patterns. I can simulate a 'real' road pattern by changing the input to something known as the inverse fourier transform of the power spectral density of the road.
My Question: How do I import the road_profile matrix that I created in the .m file into Simulink? Each time the simulation increments by one time step, the road_profile matrix must also be incremented as the correct input to the model. I have search extensively online for matlab support but could not find much.
I am cant provide the files as this editor does not recognize .m files. I can send them to you if you email me @ Thomas.muray11@gmail.com. You can run the simulation as it is currently, where the input is the bump generator and see that the response is correct. But this input I need to replace with a random road profiles generated from fourier transforms which is the ISO standard. Any help is appreciated. Thanks.
-t
email to encl.
Simulink model & rough_road.m
I am trying to use matlab's simulink to simulate a 1/4 car model suspension. I have managed to get a nice response of the chassis and tire position just using static inputs like a speed bump or by using a gradually increasing road frequency with a small amplitude. This type of simulation does not properly simulate real road patterns. I can simulate a 'real' road pattern by changing the input to something known as the inverse fourier transform of the power spectral density of the road.
My Question: How do I import the road_profile matrix that I created in the .m file into Simulink? Each time the simulation increments by one time step, the road_profile matrix must also be incremented as the correct input to the model. I have search extensively online for matlab support but could not find much.
I am cant provide the files as this editor does not recognize .m files. I can send them to you if you email me @ Thomas.muray11@gmail.com. You can run the simulation as it is currently, where the input is the bump generator and see that the response is correct. But this input I need to replace with a random road profiles generated from fourier transforms which is the ISO standard. Any help is appreciated. Thanks.
-t
email to encl.
Simulink model & rough_road.m