Modify Motor

(Standard Inteface) Right-click Motor Modify
Modifies a motor
 
For the option
Do the following
Motor Name
Enter the name of the motor you want to modify.
Method
Displays the motor method.
Motor type
Displays the motor type. The parameters in the parameter tab depend on this type.
Direction
Select one of the following
Clockwise: The rotor part of the motor rotates in clockwise direction
Counter-clockwise: The rotor part of the motor rotates in the counter-clockwise direction.
Mass/Inertia
Create Rotor Stator Parts
Select to create Rotor and Stator Parts. If turned off, Parts are not created and hence a SFORCE is created between Rotor and Stator attach part.
Rotor Length
Enter the length of the cylinder geometry to be created on the rotor part. This Parameter is for Visualization Purpose. The Value entered here is used to create the Motor Model in the ADAMS GUI.
Rotor Radius
Enter the diameter of the cylinder geometry to be created on the rotor part. This Parameter is for Visualization Purpose. The Value entered here is used to create the Motor Model in the ADAMS GUI.
Stator Length
Enter the length of the box geometry to be created on the stator part (that is, the dimensions parallel the rotor axis of rotation). This Parameter is mainly for Visualization Purpose. The Value entered here is used to create the Motor Model in the ADAMS GUI.
Stator Width
Enter the width of the box geometry to be created on the stator part. (Not cross-section will be a square; so, this value will used for both dimensions perpendicular to the rotor axis of rotation). This Parameter is mainly for Visualization Purpose. The Value entered here is used to create the Motor Model in the ADAMS GUI.
Define Mass By
Select one of the following option for mass and inertia properties of rotor/stator:
Geometry and Material Type
Geometry and Density
User Input
If you selected Geometry Material Type, the following options appears:
Material Type
Enter the type of material for the rigid body. Adams Car displays the material's composition below the text box. Learn about Standard Material Properties.
If you selected Geometry and Density, the following options appears:
Density
Enter the density of the part. Adams Car uses the part's density and the volume of the geometry to calculate its mass and inertia.
If you selected User Input, the following options appear:
Mass
Enter the mass of the part.
Ixx/Iyy/Izz
Enter the values that define the moments of inertia components of the general part. The inertia reference frame is parallel to BCS at the centre of mass (CM) location.
Off-Diagonal Terms
Select to display and undisplay the Ixy/Izx/Iyz text boxes.
If you select Off-Diagonal Terms, your template-based product displays the following options:
Ixy/Izx/Iyz
(optional)
Enter the values that define the products of inertia components of the general part. The inertia reference frame is parallel to BCS at the center of mass (CM) location.
 
For the option
Do the following
Parameters
Curve Based Method
Enter Spline file
Select the following to enter the spline file.
Spline File name
Spline File Name: Enter the curve data of Speed vs Torque via external file.
Note: In .mtr file, the independent axis (Angular Velocity) should be in RPM units The ordinate axis (Torque) units must be as per the model units.
Analytical Method
AC Synchronous
The torque for a AC Synchronous motor is calculated as,
Please see the Torque Angle Calculation () and Pole Slipping adjustment for Torque angle calculation and pole slipping details.
Note: In actual implementation Er is calculated as magnitude (Er = SQRT (Re(Er) ^2 + Im(Er) ^2)) and not as complex number.
Where:
T = Motor Torque
V = Supply voltage
K = BEMF constant
φ = Power Factor Angle
δΕ = ElectricalTorque Angle
δ = Torque Angle
X = Reactance
E = Back EMF
ωr = Rotor angular velocity
f = Supply Frequency
L = Inductance
P = Poles
Er = Rated Back EMF
s = Angular velocity
Vr = Rated Voltage
Ir = Rated Current
Ra = Armature Resistance
φ = Rated Power Factor Angle
Xr = Rated Reactance
fr = Rated Frequency
PFr = Rated Power Factor
Supply Voltage (V)
Enter supply voltage value. This will corresponds to the voltage provided on the supply terminal to produce a meaningful output.
Rated Current (Ia)
Enter the value of current that flows through the motor circuit.
Resistance (Ra)
Enter resistance value of the windings in the Motor.
Power Factor (φ)
Enter power factor. The power factor of an AC system is defined as the ratio between the real power flowing to the load and the apparent power in the circuit. It is a dimensionless number between -1 and 1.
Frequency (f)
Enter frequency. The oscillations frequency of alternating current (AC) in an electric power grid transmitted from a power generation plant to the end-user. In the Americas it is typically 60 Hz and in other parts of the world this is 50 Hz.
Inductance (L)
Enter inductance. Inductance is the behaviour of a coil in resisting any change of electric current through it. According to Faraday's law, inductance has an influence on the emf generated to oppose a given change in current.
Poles (p)
Enter poles. This will corresponds to the No. of poles in the stator field of the Motor based on its specification. It is a factor that plays a role to identify the capacity of the motor.
Synchronous Speed (ωs)
Synchronous speed is the speed of the rotor in which it rotates in step with the rotating magnetic field of the stator.
DC Shunt Motor
The torque for a D.C. Shunt motor is calculated as
Where
T = Torque developed in N-m
K = Torque constant
= Flux per pole in Webers
Ia = Armature current in Amps
Z = Number of conductors
P = Number of Poles
a = Number of parallel paths in the Armature.
Es = Source Voltage in Volts
Eb = Back emf induced in Volts
Ra= Armature resistance in ohms
N = Revolutions per Minute
No. of conductors (Z)
Enter number of conductors.
Flux Per Pole (φ)
Enter flux per pole. It is the measure of the quantity of magnetism, that is, the total number of magnetic lines of force passing through a specified area in a magnetic field.
Source Voltage (Es)
Enter source voltage. Enter source voltage value. This will corresponds to the voltage provided on the supply terminal to produce a meaningful output.
No. of Paths (P)
Enter the number of parallel armature Winding paths.
Armature Resistance (Ra)
Enter armature resistance. The Resistance offered by the windings in the moving part of the motor to current flow in the coils.
No. of Poles (P)
Enter no of poles. This will corresponds to the No of poles in the stator field of the Motor based on its specification. It is a factor that plays a role to identify the capacity of the motor.
Type
Shunt
Enter shunt value. This will corresponds to the type of DC motor. A shunt DC motor connects the armature and field windings in parallel or shunt with a common D.C. power source.
Series
Enter series value. This will corresponds to the type of DC motor. A series DC motor connects the armature and field windings in series with a common D.C. power source.
Series Motor
If Series type is selected, the following options will be displayed:
Where
T = Torque developed in N-m
K = Torque constant
K1 = Series motor constant
= Flux per pole in Webers
I = Armature current in Amps
Z = Number of conductors
P = Number of Poles
a = Number of parallel paths in the Armature
Es = Source Voltage in Volts
Eb = Back emf induced in Volts
Ra = Armature resistance in ohms
N = Revolutions per Minute
No. of conductors (Z)
Enter number of conductors.
Flux Per Pole (φ)
Enter flux per pole. It is the measure of the quantity of magnetism, that is, the total number of magnetic lines of force passing through a specified area in a magnetic field.
Source Voltage (Es)
Enter source voltage. Enter source voltage value. This will corresponds to the voltage provided on the supply terminal to produce a meaningful output.
No. of Paths (P)
Enter the number of parallel armature Winding paths.
Armature Resistance (Ra)
Enter armature resistance. The Resistance offered by the windings in the moving part of the motor to current flow in the coils.
No. of Poles (P)
Enter no of poles. This will corresponds to the No of poles in the stator field of the Motor based on its specification. It is a factor that plays a role to identify the capacity of the motor.
Series Motor Constant (K1)
Enter torque constant for the motor. This represents the proportionality between motor torque and motor current.
Brushless DC
The torque for a BLDC motor is calculated as
Where
kd = Distribution Factor
kp = Coil pitch Factor
ks = Slot Skew Factor
m = Number of Teeth per phase
n = Number of Turns per phase
B = Strength of the permanent Magnetic field
L = Length of rotor windings
R = Radius of Armature
I = Current in the Motor winding
T = Torque developed in N-m
φ = Flux per pole in Webers
Z = Number of conductors
P = Number of Poles
a = Number of parallel paths in the Armature
Es = Source Voltage in Volts
Eb = Back emf induced in Volts
Ra = Armature resistance in ohms
N = Revolutions per Minute
Distribution Factor (kd)
Enter distribution factor. The distribution factor kd reflects the fact that the winding coils of each phase are distributed in a number of slots.
Coil Pitch Factor (kp)
Enter coil pitch factor. The pitch factor kp reflects the fact that windings are often not fully pitched, that is, the individual turns are reduced in order to decrease the length of the end-turns and do not cover a full pole-pitch (also called chorded).
Slot Skew Factor (ks)
Enter skew factor. The skew factor ks reflects the fact that the winding is angularly twisted, which results in an angular spread and reduced emf.
Teeth per Phase Count (m)
Enter the number of teeth per phase present in the motor.
No of Turns per Phase (n)
Enter the number of turns per phase in the armature winding.
Armature Resistance (Ra)
Enter armature resistance. The Resistance offered by the windings in the moving part of the motor to current flow in the coils.
No. of Poles (P)
Enter number of poles. This will corresponds to the number of poles in the stator field of the Motor based on its specification. It is a factor that plays a role to identify the capacity of the motor.
Strength of PM Field (B)
Enter strength of permanent magnetic field of the stator.
Length of the Rotor Windings (L)
Enter the effective length of rotor windings.
Radius of the Armature (R)
Enter the radius of armature winding.
Flux Per Pole (φ)
Enter flux per pole. It is the measure of the quantity of magnetism, that is, the total number of magnetic lines of force passing through a specified area in a magnetic field.
No. of Conductors (Z)
Enter number of conductors.
No. of Paths
Enter the number of parallel armature Winding paths.
Maximum Torque (T)
The Maximum torque indicated by the user within which the output torque of the motor is to be controlled.
Max. Ang. Velocity
The Max. Angular velocity indicated by the user such that Rated Torque = Tmax - Tmax * (Actual Angular Velocity/ Max. Angular Velocity).
Control Method
Speed Control - Controls Output speed of the rotor shaft based on user spline input.
Position Control - Controls Angular displacement of the rotor shaft based on user spline input.
Enter Spline File
The spline is the input file (CSV) by the user which contains data as speed vs time or angle vs time based on control method.
Friction Torque
This is a constant opposing torque and does not vary with velocity.
Damping Coefficient
This is specified as a constant which is multiplied by angular velocity to get the damping torque. It represents the combined electromagnetic and viscous damping.
Gain
Specify the gain value used to calculate the speed gain. This speed gain is used in the PID controller.
P Gain
Specify the Proportional gain applied to the input signal.
I Gain
Specify the gain applied to the integral of the input signal.
D Gain
Specify the gain applied to the derivative input.
Stepper
The torque for a Stepper motor is calculated as,
Where
T1 = Torque on the first winding.
T2 = Torque on the Secondary winding.
H = Holding Torque in N-m.
S = Step Angle in radians.
θ = Shaft Angle in radians.
Holding Torque (H)
Enter holding torque. The amount of torque required to remain the motor shaft in a particular position.
Control Type
One Phase On-Full Step Drive
Two Phase On-Full Step Drive
Step Angle (S)
Enter step angle. The angle by which the rotor of an stepper motor will rotate when a signal is passed.
Friction Torque
This is a constant opposing torque and does not vary with velocity.
Damping Coefficient
This is specified as a constant which is multiplied by angular velocity to get the damping torque. It represents the combined electromagnetic and viscous damping.
Input Type
To indicate the type of data in the input file.
PPS vs Time - Pulse per second vs time. The Stepper motor rotates by its step angle when a pulse is received.
Target Angle vs Time - Target angle is the end position of rotor shaft where the user desires the motor to stop.
Input File
The spline is the input file (CSV) by the user which contains data as speed vs time or angle vs time based on control method.
External Method
External Method
External System Library Import
Co-Simulation
If External System Library Import is selected, the following options will be displayed:
Plant Input/Output
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.
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.
If Standard is selected, the following options will be displayed:
General State Equation Name
Enter the name of the GSE to be created.
External System Library
Enter the name of the external system library. If the extension entered is .fmu, Adams will expect an FMU that conforms to the FMI standard.
Generate External Model Specifications
Click this button to do a plant export using whatever is specified for plant i/o above. This is to create .inf and .m files that are particular to this motor.
Easy5
MATLAB
FMU
If User Defined is selected, the following options will be displayed:
General State Equation Name
Enter the name of the GSE to be created.
External System Library
Enter the name of the external system library. If the extension entered is .fmu, Adams will expect an FMU that conforms to the FMI standard.
Import I/O Signals from Existing Controls Plant
Select to display the Database Navigator, where you can select an existing controls plant from which output and input signals are to be imported.
From Poutput (s)
Select to display the Database Navigator, where you can select an existing poutput from which to import output signals.
From Pinput (s)
Select to display the Database Navigator, where you can select an existing pinput from which to import input signals.
Static Hold
Select one of the following:
Off: Turns static hold off.
On: Turns static hold on.
Generate External Model Specifications
Click this button to do a plant export using whatever is specified for plant i/o above. This is to create .inf and .m files that are particular to this motor.
Easy5
MATLAB
FMU
Use External Library Error Tolerance
Check to apply the error tolerance values of the continuous states of ESL to the GSE during integration. The ESL error tolerance values change the computation of the local integration error that is computed after the corrector as converged. If the estimated error is greater than the specified integration ERROR the integrator rejects the solution. See the INTEGRATOR statement for more details about ERROR. You may want to use this feature to help refine the accuracy of your ESL states, but just like any INTEGRATOR setting, this may require tuning. This feature only applies to the C++ Solver, and only Easy5 models currently report error tolerance values.

Error Scale Factor:
Values > 0 will scale all of the ESL error tolerance values in order to tighten or loosen these values, that is, Final GSE error tolerance = Error Scale Factor * ESL error tolerance
Values <= 0 will disable using the ESL error tolerance values, and the default computation for the local integration error will be used.
Information
Check to display verbose information about the general state equation (GSE) that the controls system import created.
Visibility
This option is only available for External System Libraries of type FMU. Visibility means the FMU runs in interactive mode. Turn it off if you want to run it in batch mode. In order for this option to work in Adams, visibility needs to be supported by the specified FMU.
Communication Interval
This option is only available for External System Libraries of type FMU. To co-simulation with the FMU you need to specify the communication interval. Sample the FMU at least two times faster than the highest frequency of interest (refer to Nyquist frequency).
If Co-Simulation is selected, the following options will be displayed:
Plant Input/Output
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.
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.
If Standard is selected, the following options will be displayed:
Target Software
Easy5
MATLAB
FMU
If User Defined is selected, the following options will be displayed:
Controls Plant Name
Enter the name of the Controls Plant to be created
File Prefix
Enter the prefix for the .adm, .cmd, .acf, .m, and .inf files that Adams Controls creates.
Initial Static Analysis
Select one of the following:
Yes: Performs initial static analysis.
No: Does not perform initial static analysis.
Note: If Initial Static Analysis is set to Yes and Type is set to linear, Adams Controls performs a static analysis before the linear analysis. Otherwise, Adams Controls performs an initial conditions analysis.
Initialization Command
Check if you want to enter Adams View or Adams Solver non-time advancing (NTA) commands that you want to have executed before the co-simulation or function evaluation starts. In the text box that appears, enter one NTA command. To execute more than one NTA command, create an .acf file and refer to it using the FILE/COMMAND = command_file_name string in this text box.
Import Settings From Existing Controls Plant
Select to display the Database Navigator, where you can choose an existing controls plant whose settings you want to use in your current plant. Adams Controls updates the Adams Controls Plant Export dialog box with the appropriate settings.
Input Signal (s)
Enter names of state variables that you want to use as plant inputs. Select From Pinput to enter state variables from existing plant inputs.
Output Signal (s)
Enter names of state variables that you want to use as plant outputs. Select From Poutput to enter state variables from existing plant outputs
Target Software
Easy5
MATLAB
FMU
Analysis Type
Select one of the following:
linear - Creates a linearized representation of the model in terms of (A, B, C, D) matrices. A linear analysis is performed. For Target Software of FMU, this option is not supported.
non_linear - Exports plant for dynamic analysis.
User Defined Library Name
Enter the name of the user-defined library.
Adams Host Name
Enter the name of the host machine from which the Adams plant is being exported. This host name is used if you choose TCP/IP-based communication to perform co-simulation or function evaluation between Adams and MATLAB, Easy5 or FMU.
Multiplication factor
Multiply
Select one of the following:
Scale Factor
Step Function
Expression
If Scale Factor is selected, the following options displayed:
Scale Factor
To multiply the torque value by a constant or a variable.
If Step_Function is selected, the following options displayed:
Start Time
Enter start time.
End Time
Enter end time.
Start Value
Enter start value.
End Value
Enter end value.
If Expression is selected, the following options displayed:
Expression
To scale the torque value within an expression.