Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Why velocity and acceleration values can not be measured when sending inputs from Simulink?

Status
Not open for further replies.

okyanus

Mechanical
Mar 21, 2019
3
Hello,

I modeled a simply pendulum mechanism in MSC Adams/View environment. I give the input angle values to the joint motion from matlab/simulink by using VARVAL(.MODEL_1.angle) command. I defined state variables and my outputs are torque, displacement and velocity x and y and accelereration. I readed this results from Simulink. My question is why it is not showing velocity and acceleration measurements in Simulink? It is showing displacements and torque values. Velocity measurement is done by VX(marker2) command.

I give the inputs in Adams environment instead of giving from Simulink. It gave me all measurement.

Why it is not giving velocity and acceleration values when i sent inputs from SİMULİNK.

Thank you for your consideration.

My file:
 
Replies continue below

Recommended for you

If it has problem about output channels, why it is giving displacement and torque values?

I believe that it could be about solver issues. If it gives displacement, velocity and acceleration are just the differantiation of displacement.

I download the file again.

Thanks for your message.
 
 https://files.engineering.com/getfile.aspx?folder=035b0997-7173-434a-a5aa-7e687d607ab1&file=pendulum_new.rar
It's still a rar file, and frankly it wouldn't be much use to me, I don't have adams or simulink on my own pc, and I don't download anything onto the work pc.

You have to patch each signal across.



Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
It's been years since I last used ADAMS and I havr no accessto it today. But...

If you are imposing motion on a system, the solver isn't solving for it and would have no need to estimate its derivatives unless they are being used elsewhere for other boundary conditions. Maybe those values don't exist in the solution?

Steve
 
I try to change the solver parameters from Simulink/Model configuration parameters, fixed step size and solver types, somehow it gave something but i am not really sure it is true or not. The graphic is so wavy for the first time steps.
disp_marker67_y_tcalp3.png

Why it is so wavy for the first time steps? Should i give initial conditions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor