Setting up the motor, load, and encoder

The first step is to place the following eMotors blocks in your diagram:

      Rotational Load

      AC Induction Motor-Machine Reference

      Rotary Absolute Encoder

Wire the blocks together and use wirePositioner blocks to clearly represent the feedback of the load reaction torque to the motor model.

tuto_1

The rotational load model is used to simulate the lathe chuck and work piece. The rotary encoder model input is connected to the motor’s rotor shaft displacement output connector. The motor displacement output is also connected to the rotational load model. To complete the dynamic interaction between the motor and load, the load reaction torque output connector must be connected to the load reaction torque vector input of the motor model. Note that this wire is thicker than the other wired connections, indicating that it transmits a vector quantity. The vector contains load dynamic parameters that are reflected back to the motor dynamics through the coupling (linkage) mechanism: in this case, a 10:1 gear reduction.