Review of basic editing and user interface.

This paragraph serves merely as a review of the user interface and the editing commands that are essential for working with Caspoc and the Advanced Electrical Drives Library. Although explained in the "Getting Started" guide, we will give a brief resume of the basic operations in Caspoc

Both the IRTF components and electric circuit components are drawn in the same schematic. So your model contains the electric circuit, the control, the electrical load or electrical machine, plus an eventually mechanical system in one workspace.

The difference between the electric circuit and the block-diagram models is indicated by the appearance of the nodes.

<br>Click to close the image

Selecting components

All components inside the Advanced Electrical Drives Library are inserted in your schematic in the following way:

  1. Open the library by double clicking in the left sided treeview Components, Library, AdvancedElectricalDrives
  2. Open the section like for example math or transformation
  3. Click with the left mouse button on a component and release the mouse button, (The component now sticks to your mouse pointer)
  4. Move the mouse pointer over the schematic
  5. Place the component by clicking the left mouse button again

Connecting components

To connect the components, simply click with the left mouse button on one of the nodes, keep the mouse pointer pressed, move to the mouse pointer to draw the connection and finally release the left mouse button to draw the connection. You can always draw connection by starting from a node.

Space Vector

The components in the Advanced Electrical Drives Library are modeled as block diagram components, but there are also Space Vector blocks. The space vector blocks have inputs and outputs that models a vector or complex signal. For example, one output from a Advanced Electrical Drives Library block can be in dq or in αβ. All outputs from the space vector blocks have double lines for the connections.

<br>Click to close the image

Blocks in the Advanced Electrical Drives Library are divided into two sections in the library, the scalar blocks and the library blocks.

Electric circuit

In the electric circuit you can model your power circuit and calculate voltages over components or between nodes and currents through components. The nodes are indicated by round dots.

One node should be assigned to be the reference ground node, which always has a voltage level of 0 volts. Caspoc automatically inserts a ground label, which you can replace afterwards. By clicking the node with the right-mouse button, a dialog box pops up where you can type the label of the node. For a ground reference label type "0" or "ground". To remove the label, press the [DEL] key.

Block-diagram

In the block-diagram you can model a dynamic system by using blocks which perform an operation on the inputs of the block. For example, an "ADD" block would add the signals at the two inputs and the result is available at the output. Block-diagram blocks are always operating from the inputs to the output and are automatically sorted by Caspoc. The nodes in the block-diagram are indicated by square dots.

Connection between the Advanced Electrical Drives Library and the circuit and block-diagram

Although most blocks are provided in the Advanced Electrical Drives Library, there are certain blocks and more important the circuit components, that will come from the standard library in Caspoc. You can mix these components, as long as you apply the correct interface. For example, you can measure voltages and currents from the electric circuit using the blocks "VOLTAGE" and "CURRENT" or one of the probes from the library.

Using the controlled voltage source "B" or controlled current source "A" a signal from the block diagram is used a current or voltage in the electric circuit.

<br>Click to close the image

Getting output

Use the "Scope" block to display any voltage, current, or block-diagram signal. You can insert a "Scope" in by clicking the first button on the bottom button bar.

<br>Click to close the image

And place the input of the "Scope" right on top of a circuit or block-diagram node. You can resize the "Scope" by clicking and dragging the right-bottom corner. The number of inputs automatically increases while resizing the "Scope".

<br>Click to close the image

To display a current through a circuit component, click with the left mouse button over the input of the "Scope", drag the mouse and release the left mouse button over the circuit component. A dashed line indicates the connection.

<br>Click to close the image

"Scopes" are automatically scaling the results:

Component values

You can assign values to components or edit parameters if you double- or right click the component with the mouse. For numerical values you can use the following abbreviations:

T   = 1e12
G   = 1e9
MEG = 1e6
K   = 1e3
MIL = 25.4e-6
M = 1e-3
U = 1e-6
N = 1e-9
P = 1e-12
F = 1e-15

For example, a 10000ohm resistor is written as 10k and a capacitor of 100 micro Farad as 100uF.

Simulation parameters

Two parameters have to be set to control the simulation. The parameter "Tscreen" defines the width of the "Scope" window. For displaying the simulation results in seconds.

<br>Click to close the image

The parameter "dT" defines the integration time step. As rule of thumb you can set it to approximately 1/10 to 1/00 of the reciprocal of the highest frequency occurring in your simulation. For example, use dT=100us and Tscreen=100ms for a line commutated converter operating a 50Hz or at 60Hz, or set dT=1us and Tscreen to 1ms for a Switched-Mode Power Supply operating at 10kHz.

Starting the simulation

Start the simulation by pressing the "Play" button or pressing the [Enter] key.

You can vary parameters during the simulation and simply continue by selecting the pause/continue button, or pressing the [Enter] key.

Now that you understand the basic commands of the program, you are ready to start your own simulation projects.

© 2018 CASPOC, All rights reserved. Home   |   Terms and Conditions   |   Legal   |   Export Compliance   |   Privacy Policy   |   Site Map