Main Content

Linear Circuit Wizard

Generate or modify linear circuit

  • Library:
  • Mixed-Signal Blockset / Utilities

  • Linear Circuit Wizard block

Description

Use the Linear Circuit Wizard block to create or modify a linear, time-invariant circuit such as a custom-design filter or a circuit with extracted parasitics. Using this block, you can parse a SPICE netlist file that describes the circuit elements and the circuit nodes. You can then use the block parameter dialog box to refine the input and output ports and to model device noise. You can review the port and device noise definitions from a base workspace output structure.

The Linear Circuit Wizard block sets up and solves linear circuit equations to produce a set of Laplace domain transfer functions. You can review these transfer functions either through magnitude vs. frequency plots or through pole-zero location reports.

The Linear Circuit Wizard block creates and configures a MATLAB System block to represent your circuit as a new block, which is independent of the Linear Circuit Wizard block, in a Simulink® model. This MATLAB System block is configured using the port and device noise definitions and the results of the circuit analysis. When you start the simulation, the MATLAB System block uses fixed-step discrete sample time to convert the Laplace domain transfer functions into recursive digital filter coefficients for execution during the simulation.

Parameters

expand all

Name of the circuit that is displayed on the block icon, specified as a character vector or string scalar.

Programmatic Use

Block parameter: CircuitDesignName
Type: character vector
Value: character string
Default: 'Linear Circuit'

Instance name to be displayed under the block icon, specified as a character vector or string scalar.

Programmatic Use

Block parameter: BlockName
Type: character vector
Value: character string
Default: 'Linear Circuit'

Name of the netlist file (SPICE syntax) that defines the linear circuit, specified as a character vector or string scalar.

Programmatic Use

Block parameter: NetlistFileName
Type: character vector
Value: character string

Click to parse the named netlist file. This action redefines the existing ports according to the new SPICE syntax. For more information, see Model Linear Circuit Response from SPICE Netlist.

Operating temperature of the linear circuit device, specified as a real scalar in ℃. Temperature (℃) is used to model device noise generated by the linear circuit. For more information about device noise, see Define Device Noise Using Linear Circuit Wizard.

Programmatic Use

Block parameter: Temperature
Type: character vector
Values: real scalar | double
Default: 100

More About

expand all

Introduced in R2020b