# Block Signal

CASPOC Schematic

Components

Time
Signal
Scope

Questions and remarks

Using the block signal you can create various signals.

Please note that in most cases the first input has to be connected to the block Time.

The type of the waveform is defined by parameter p3. Open the component properties by clicking the block Signal with the right mouse button.

Signal generator
Inputs(6) time DC AC F Phase d
Parameters(3) y0 t0 p3
Default y0=0, t0=0, p3=1,
Select from Components/Blocks/Source
Function
Inputs:
 Input Type Description 1 T Connect this input to the output of the block Time (s) 2 DC DC Offset 3 AC Amplitude of the signal 4 F Frequency of the signal (Hz) 5 Phase Phase of a repetitive signal (Rad) 6 d Duty Cycle of a repetitive signal (0..1)

Parameters:
 Parameter Type Description p1 Y(0) Initial value of the block signal if t

Waveform:
 Parameter Value Waveform Definition p3 1 Squarewave Repetitive squarewave with frequency F and duty cycle d. The duty cycle d defines how long the amplitude is positive. p3 2 Triangle Repetitive triangle waveform with frequency F and duty cycle d. The duty cycle d defines how long the waveform is rising from DC-AC to DC+AC. Set d=1 to create a rising sawtooth. Set d=0 to create a falling sawtooth p3 3 Sinusoidal y=DC+AC*sin(2*PI*F*t-Phase) p3 4 Pulse For t<1/F the ouput equals DC+AC, if t>1/F the output equals DC p3 5 Step If t>Tdelay, the output becomes DC+AC p3 6 Saw Repetitive triangle waveform with frequency F and duty cycle d. The duty cycle d defines how long the waveform is rising from DC-AC to DC+AC. p3 7 Center Centered square wave. The width of pulse of the squarewave is defined by the input d. For d=1, the output is a squarewave. For d <1 the width of pulse of the squarewave is equal to (1/2)*(1/F)*d. p3 8 Trapezoidal Centered trapezoidal wave. The width of maximum part of the waveform is defined by the input d. For d=1, the output is a squarewave. For d <1 the width of maximum part of the wave is equal to (1/2)*(1/F)*d. For d=0, the output is a triangle waveform.

SCOPE1:

• Trace[1]:Output at (SINUSOIDAL1)

SCOPE2:

• Trace[1]:Output at (SINUSOIDAL2)

SCOPE3:

• Trace[1]:Output at (SQUAREWAVE)

SCOPE4:

• Trace[1]:Output at (TRIANGLE)

SCOPE5:

• Trace[1]:Output at (PULSE)

SCOPE6:

• Trace[1]:Output at (STEP)

SCOPE7:

• Trace[1]:Output at (SAW)

SCOPE8:

• Trace[1]:Output at (CENTER)

SCOPE9:

• Trace[1]:Output at (TRAPEZOIDAL)

Circuit information

File name = Signal.csi
Tscreen = 40.000m
Integration stepsize = 10.000u
Number of blocks = 10
Number of circuit nodes + voltage sources = 0

Visit Caspoc.com