JMAG - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim Toolboxes : MapleSim Connector for JMAG-RT : Rotational : JMAG/Rotational/StepperMotor

JMAG

Stepper Motor  two-phase stepper motor model using a JMAG-RT model

• 

The Stepper Motor JMAG-RT component uses external code, provided through an attached .rtt file, to model a two-phase stepper motor.

• 

The stepper motor has two four-phase plugs connected to four windings. The positive plug, plugp, connects to one end of each of the four windings, the negative plug, plugn, connects to the other end of the corresponding windings.

• 

Use the following steps to attach and connect to an external rtt file:

1. 

From File menu, select Attach File....

2. 

In the Attach Document dialog, browse to the location of the .rtt motor file, select it, and then click Attach....

3. 

Select the JMAG-RT component in the Model Workspace.

4. 

Select the Inspector tab, open the Parameters > General section, and then select the attached .rtt file from the rtt_filename list.

• 

This component should be used with a fixed-step solver. To select a fixed-step solver, click the Settings tab, expand the Simulation section, and then select Fixed from the Solver Type list.

Connections

Name

Description

Modelica ID

plugp

Positive 4-phase plug

plug_p

plugn

Negative 4-phase plug

plug_n

flange

Rotational flange of shaft

flange

support

(optional) Support/housing of component

support

Parameters

Name

Default

Units

Description

Modelica ID

rtt filename

 

 

Name of rtt file

rtt_filename

τsense

0

s

Time-constant of current/voltage sense filter (typical number when enabled is 0.0003)

tau_sense

use support

false

 

True means add a 1D rotational port to support the torque on the shell of the motor

useSupport

set initial angle

false

 

True means set the initial angular displacement of the shaft

setDisplacement0

initial angle

0

rad

Initial angular position of the shaft

displacement0

set resistance

false

 

True means set the winding resistance

setRes

Rwinding

0

Ω

Winding resistance; used only if set resistance is true

Rwinding

open term low voltage

true

 

True means open the terminal when the voltage is extremely low

open_term_low_voltage

See Also

Getting Started with the MapleSim Connector for JMAG-RT, MapleSim Help System, MapleSim Library Overview


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam