Co Simulación Adams Matlab
Co Simulación Adams Matlab
Co Simulación Adams Matlab
ADAMS - MATLAB
Software Version
Adams 2013.2
Problem Description
• Build a simple DC motor connected to an output shaft in both
MATLAB/Simulink and Adams/View
• Compare the results of two different simulation methods
• Note: copy all the files in the start file to working directory before you
start.
• This example is created in collaboration with Prof. Frank Owen at
California Polytechnic State University.
vb = K b ×q
c. Now, substitute this and write the expression for
voltage drop in terms of armature current,
diA
vi � LA � RA ×iA � K b ×q = 0
dx
Tm = K t ×iA
e. The dynamics of the shaft is.
Tm � c ×q = J ×q
Company OverviewMSC
Brochure | 243| 243
Software
Supplemental Adams Tutorial Kit | for Design of Machinery Course Curriculum
Company OverviewMSC
Brochure | 245| 245
Software
Supplemental Adams Tutorial Kit | for Design of Machinery Course Curriculum
then..
d. Click OK.
e. Right click on TORSION_SPRING_1 and then select
Modify.
Company OverviewMSC
Brochure | 247| 247
Software
Supplemental Adams Tutorial Kit | for Design of Machinery Course Curriculum
g. Click OK.
h. Now in the working directory, four new files can be
found. They are Controls_Plant_1.adm, Controls_
Plant_1.m, aviewAS.cmd, Controls_Plant_1.cmd.
e. Now, open motor_full.slx and replace the mechanical
Step 13: Build Co-simulation Model part with Adams subsystem copied from adam_sys.
a. From the exercise file directory, copy Motor_initialize.m Don’t forget to copy and replace the scopes as well
and post_processing_plot.m to the working directory. otherwise the post_processing_plot.m in later steps
b. Start MATLAB and run Motor_initialize.m to initialize won’t work.
motor parameters.
c. Run Controls_Plant_1.m. You will see the following lines
in the command window.
Company OverviewMSC
Brochure | 249| 249
Software