20-sim webhelp > Library > Signal > Sources > Wavegenerator-SquareExp


Wavegenerator-SquareExp

Navigation:  Library > Signal > Sources >

Wavegenerator-SquareExp

Previous pageReturn to chapter overviewNext page

Library

Signal\Sources

Use

Domains: Discrete, Continuous. Size: 1-D. Allowed in: Block Diagrams.

Description

This model generates a non-ideal block wave. The steepness of the edges are defined by the rise time. The rise time is defined as 63% of the amplitude being reached.

WaveGenerator-SquareExp

The output can be described as an exponential function:

 

output = amplitude*(1-exp(time/rise_time)); (first wave halve)

output = amplitude*exp(time/rise_time); (second wave halve)

Interface

Outputs

Description

output

 

Parameters

 

amplitude

omega

rise_time

The amplitude of the wave.

The angular frequency of the wave.

Rise time