Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Co-Simulation Issue

Status
Not open for further replies.

josh m

Automotive
Joined
Jan 19, 2020
Messages
24
Location
IR
hi

I have been trying to run a co-simulation that consists of a hydraulic suspension being implemented on an Adams/car convertible model that has been tuned …

I have tried to make the Longitudinal Velocity of the vehicle Constant so I can have a steady-state test condition and I succeeded to do that in Adams/car by the use of the PID controller in Event Builder .

but when I run a co-simulation in Simulink/MATLAB the longitudinal velocity acts like this :

Capture_hiwj0s.png


however it works like this in Adams/car itself :

Capture1_ssbbij.png


what do you think i'm doing wrong ? or is it not possible to create a constant longitudinal velocity when i transfer it to MATLAB ?

mind you , the other results are almost right and identical … like roll angle and roll rate ...

thanks
 
All else being the same, check units and sign conventions. Plot the error signal if you can access it. Will be simple inside Simulink, hopefully not too difficult in ADAMS.

Steve
 
thanks Steve

i guess i have to dig deep for this ...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top