I_pulse - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : MapleSim Component Library : Electrical : Spice3 : Sources : Current : componentLibrary/electrical/spice3/sources/current/I_pulse

I_pulse

Pulse current source

 

Description

Equations

Variables

Connections

Parameters

Modelica Standard Library

Description

The I_pulse component models a periodic pulse source with unlimited number of periods. A single pulse is described by the following table:

time

value

0

I1

TD

I1

TD+TR

I2

TD+TR+PW

I2

TD+TR+PW+TF

I1

TSTOP

I1

Intermediate points are determined by linear interpolation. A pulse it looks like a saw tooth, use this parameters e.g.:

Parameter

Value

I1

0

I2

1

TD

0

TR

1

TF

1

PW

2

PER

1

Note:

• 

All parameters of sources should be set explicitly.

• 

since TSTEP and TSTOP are not available for modeling in Modelica, differences to SPICE may occur if not all parameters are set.

Equations

0=ip+in

i&equals;ip&equals;I1&plus;{0t<TDcounter2&equals;0T0&plus;TfallingttT0I2I1Trisingt<T0&plus;TrisingI2I1t<T0&plus;TwidthT0&plus;TfallingtI2I1TfallingTwidthotherwise

v&equals;vpvn

Variables

Name

Units

Description

Modelica ID

v

V

Voltage drop between the two pins vpvn

v

i

A

Current flowing from pin p to pin n

i

Connections

Name

Description

Modelica ID

p

Positive pin

p

n

Negative pin

n

Parameters

Name

Default

Units

Description

Modelica ID

I1

0

A

Initial value

I1

I2

0

A

Pulsed value

I2

TD

0

s

Delay time

TD

TR

1

s

Rise time

TR

TF

TR

s

Fall time

TF

PW

s

Pulse width

PW

PER

s

Period

PER

Modelica Standard Library

The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

See Also

Analog Components

Spice3 Current Sources

Spice3 Overview