Block Signal


Schematic

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:
InputTypeDescription
1TConnect this input to the output of the block Time (s)
2DCDC Offset
3ACAmplitude of the signal
4FFrequency of the signal (Hz)
5PhasePhase of a repetitive signal (Rad)
6dDuty Cycle of a repetitive signal (0..1)

Parameters:
ParameterTypeDescription
p1Y(0)Initial value of the block signal if t<Tdelay
p2TdelayThe waveform is delayed by Tdelay seconds
p31 .. 8Select the waveform of the signal by entering the number of the waveform as indicated by the table Waveform.

Waveform:
ParameterValueWaveformDefinition
p31SquarewaveRepetitive squarewave with frequency F and duty cycle d. The duty cycle d defines how long the amplitude is positive.
p32TriangleRepetitive 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
p33Sinusoidaly=DC+AC*sin(2*PI*F*t-Phase)
p34PulseFor t<1/F the ouput equals DC+AC, if t>1/F the output equals DC
p35StepIf t>Tdelay, the output becomes DC+AC
p36SawRepetitive 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.
p37CenterCentered 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.
p38TrapezoidalCentered 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:
Scope output




SCOPE2:
Scope output




SCOPE3:
Scope output




SCOPE4:
Scope output




SCOPE5:
Scope output




SCOPE6:
Scope output




SCOPE7:
Scope output




SCOPE8:
Scope output




SCOPE9:
Scope output




Circuit information

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

General information


Visit Caspoc.com