Main Content

SaturatingAmplifier

Models a saturation amplifier

Since R2019a

  • SaturatingAmplifier block

Libraries:
SerDes Toolbox / Datapath Blocks

Description

The SaturatingAmplifier block scales the input waveform according to a voltage in vs. voltage out response. The voltage in vs. voltage out response is specified either by the soft clipping response defined by Limit and Linear Gain, or by the VinVout matrix. The SaturatingAmplifier block applies memoryless nonlinearity to incoming waveform.

Ports

Input

expand all

Input baseband signal, can be a sample-by-sample signal specified as a scalar, or an impulse response vector signal.

Data Types: double

Output

expand all

Clipped output voltage, as specified by the SaturatingAmplifier block. If the input signal is a sample-by-sample signal specified as a scalar, the output is also scalar. If the input signal is an impulse response vector signal, the output is also a vector.

Data Types: double

Parameters

expand all

Amplifier operating mode:

  • OffSaturatingAmplifier is bypassed and the input waveform remains unchanged.

  • OnSaturatingAmplifier scales the input waveform according to a voltage in vs. voltage out response.

Programmatic Use

  • Use get_param(gcb,'Mode') to view the current saturating amplifier operating Mode.

  • Use set_param(gcb,'Mode',value) to set amplifier to a specific Mode.

Input specification for limiting amplifier output:

  • 'Limit and Linear Gain' — Creates a soft clipping voltage in vs. voltage out response with the values specified in Limit and Linear Gain.

  • 'VinVout' — Generates output voltages corresponding to input voltage specified in VinVout. If any input voltage point falls outside the specified values, the output for that particular input voltage is interpolated.

Programmatic Use

  • Use get_param(gcb,'Specification') to view the current Specification of saturating amplifier.

  • Use set_param(gcb,'Specification',value) to set saturating amplifier to a specific Specification.

Data Types: char

Clipping voltage for the limiting amplifier, specified as a real positive scalar in V.

Dependencies

This parameter is only available when Specification is selected as 'Limit and Linear Gain'

Programmatic Use

  • Use get_param(gcb,'Limit') to view the current value of Limit of saturating amplifier.

  • Use set_param(gcb,'Limit',value) to set Limit to a specific value.

Data Types: double

Amplifier gain in the linear region, specified as a unitless real positive scalar.

Dependencies

This parameter is only available when Specification is selected as 'Limit and Linear Gain'

Programmatic Use

  • Use get_param(gcb,'LinearGain') to view the current value of LinearGain of saturating amplifier.

  • Use set_param(gcb,'LinearGain',value) to set LinearGain to a specific value.

Data Types: double

Input and corresponding output voltage response table, specified as an N×2 matrix in volts.

Dependencies

This parameter is only available when Specification is selected as 'VinVout'

Programmatic Use

  • Use get_param(gcb,'VinVout') to view the current VinVout table value of saturating amplifier.

  • Use set_param(gcb,'VinVout',value) to set VinVout to a specific value.

Data Types: double

Click to plot the input vs. output voltage response of the Saturating Amplifier block.

IBIS-AMI parameters

Select to include Mode as a parameter in the IBIS-AMI file. If you deselect Mode, it is removed from the AMI files, effectively hard-coding Mode to its current value.

Version History

Introduced in R2019a