Products & Services Solutions Academia Support User Community Company

Learn more about SimPowerSystems   

Advanced Users: Modify a Drive Block

This section contains necessary information in order to modify the heart of a drive block. The modification of a drive can be useful if you have to change the electrical connections or the control modules. The following example uses the ac6_example demo in order to replace the three-phase electric source by a battery. The necessary steps to carry out this modification are:

Disable the Drive Link

  1. Open the ac6_example.mdl demo by typing ac6_example in the MATLAB Command window. The drive is fed by a three-phase voltage source

  2. Simulate the model (in accelerator mode) and observe the results.

  3. Disable the link of the drive block from the electricdrivelib library (right-click on the block > Link Options > Disable Link).

      Note   Starting from this point, the user interface will no longer be available. The parameters must be entered manually in the Simulink masks of the subsystem's blocks.

    Disable the Drive Link

Modify the Electrical Connections

  1. Double-click on the PM Synchronous Motor Drive drive block (do not select Look under mask).

  2. Delete the following blocks and connections: the three-phase electrical connections, the diode rectifier and the braking chopper.

    Add two Connection Ports blocks from powerlib/Elements library, connect them to the positive and negative terminals of the Three-Phase Inverter block, as shown in the next figure:

    Remove the AC Blocks

  3. On the top level diagram, delete the three-phase source and replace it by a 300Vdc/1Ah/NiMH Battery block and a 100 µF capacitor block connected in parallel.

  4. Remove the DC bus voltage blocks in the Demux block.

    Remove DC Bus Measurement in the Demux Block

  5. Add a Bus Selector block and select the Voltage (V) bus signal coming from the m output of the Battery block.

    Observe the Battery Voltage

Simulate the System and Observe the Results

The overall simulation results are shown at the next figure:

Simulation Results

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS