External
In the External method, motor is modeled using external Control package software's like SimuLink/Easy5/MATLAB and represented via Adams using the following two methods.
Note: | Adams View command files (.cmd) generated in version 2014.0 or prior containing external method Adams Machinery Motors will issue an error message upon import into Adams View 2015.0 or later: “ERROR: You cannot write files inside a suppressed undo block”. This message can be safely ignored if the model is again exported as a .cmd file it will no longer issue this error on subsequent import actions in version 2015.0 or later. |
External System Library Import
External Library System Import is aimed at importing the external model system, either created from MATLAB or from Easy5, into the Adams model as a General State Equation (GSE).
1. Standard
Standard method creates the GSE equation, by importing the External System Library (from MATLAB or Easy5) and using the default input and output state variables.
2. User-Defined
User-Defined method follows the same method as that of Standard method except it allows the user to select input and output state variables.
Co-Simulation
Co-Simulation is aimed at interfacing external software's like MATLAB/Easy5 with Adams motor Module. If there is a control system defined in a control package such as Easy 5 or Matlab/Simulink, then Co-Simulation can be performed between mechanical model defined in Adams and control system defined in the control package.
1. Standard
In the standard method, Adams motor module automatically creates State variables to be passed and received from Control package (MATLAB). The PINPUT structure contains Motor Torque which is the input from Control package (MATLAB). The POUTPUT structure contains Angular Displacement, Angular Velocity and Angular Acceleration which acts as the output from Adams. A Motor Plant is created upon the completion of the Motor wizard. Once an interactive/batch simulation is carried out between the two software's, three motor plant files are created, that is, .m (Matlab), .adm (Adams database) and .cmd (Command files).
2. User-Defined
The user-defined method for Co-Simulation follows the same functioning process of Standard method, but in this method the input from the Control package (MATLAB/Easy 5) and Output (State Variables) from Adams motor can be selected by the user.