| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimPowerSystems |
| Contents | Index |
| Learn more about SimPowerSystems |
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:
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
Simulate the model (in accelerator mode) and observe the results.
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

Double-click on the PM Synchronous Motor Drive drive block (do not select Look under mask).
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

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.

Remove the DC bus voltage blocks in the Demux block.
Remove DC Bus Measurement in the Demux Block

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

The overall simulation results are shown at the next figure:
Simulation Results

![]() | Advanced Users: Retune the Drive Parameters | Multi-Level Modeling for Rapid Prototyping | ![]() |

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 |