This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

SPICE Resistor

Model SPICE-compatible resistor

Library

Simscape / Electrical / Additional Components / SPICE Passives

Description

The SPICE Resistor block represents a SPICE-compatible resistor. You can specify the resistance in one of the following ways:

  • As a resistance value

  • As process information that the block uses to calculate a resistance value

The block models temperature dependence. There are two ways to specify the resistor temperature:

  • When you select Device temperature for the Model temperature dependence using parameter, the resistor temperature is

    T=TC+TO

    where:

    • TC is the Temperature parameter value from the Environment Parameters block. If this block doesn't exist in the circuit, TC is the default value of this parameter.

    • TO is the Offset local circuit temperature, TOFFSET parameter value.

  • When you select Fixed temperature for the Model temperature dependence using parameter, the resistor temperature is the Fixed circuit temperature, TFIXED parameter value.

The block adjusts the specified or calculated resistance value for temperature using the following equation:

R = R0(1+TC1(TTnom)+TC2(TTnom)2)

Where

  • R0 is the specified or calculated resistance value.

  • TC1 is the First order temperature coefficient, TC1 parameter value.

  • TC2 is the Second order temperature coefficient, TC2 parameter value.

  • Tnom is the Parameter extraction temperature, TMEAS parameter value.

Ports

+

Positive electrical voltage.

-

Negative electrical voltage.

Parameters

Resistance

Device scale factor, SCALE

The number of parallel resistors that the block represents. This value multiplies the output current. The default value is 1.0.

Resistor parameterization

Select one of the following options for specifying the resistor value:

  • Use specified resistance — Provide the resistance value directly. This option is the default.

  • Calculate from process information — Provide process parameters that the block uses to calculate the resistance value.

    When you select this option, the block calculates the resistance using the following equation:

    R=RSH*(LENGTHNARROW)(WIDTHNARROW)

    where:

    • RSH is the Sheet resistance, RSH parameter value.

    • LENGTH is the Resistor length, LENGTH parameter value.

    • WIDTH is the Resistor width, WIDTH parameter value.

    • NARROW is the Etch narrowing, NARROW parameter value.

Resistance, R

Resistance value. This parameter is only visible when you select Use specified resistance for the Resistor parameterization parameter. The default value is 0 Ohm.

Sheet resistance, RSH

Resistance per square of the resistor. This parameter is only visible when you select Calculate from process information for the Resistor parameterization parameter. The default value is 0 Ohm.

Resistor length, LENGTH

Length dimension of the resistor. This parameter is only visible when you select Calculate from process information for the Resistor parameterization parameter. The default value is 1e-06 m.

Resistor width, WIDTH

Width dimension of the resistor. This parameter is only visible when you select Calculate from process information for the Resistor parameterization parameter. The default value is 1e-06 m.

Etch narrowing, NARROW

Amount by which the resistor length and width are reduced due to side etching. This parameter is only visible when you select Calculate from process information for the Resistor parameterization parameter. The default value is 0 m.

Temperature

First order temperature coefficient, TC1

Coefficient for the linear term in the equation that the block uses to adjust the specified or calculated resistance value for temperature. The default value is 0 1/K.

Second order temperature coefficient, TC2

Coefficient for the quadratic term in the equation the block uses to adjust the specified or calculated resistance value for temperature. The default value is 0 1/K^2.

Model temperature dependence using

Select one of the following options for modeling the resistor temperature dependence:

  • Device temperature — Use the device temperature, which is the Temperature parameter value (from the Environment Parameters block, if one exists in the circuit, or the default value for this block otherwise) plus the Offset local circuit temperature, TOFFSET parameter value.

  • Fixed temperature — Use a temperature that is independent of the circuit temperature to model temperature dependence.

Offset local circuit temperature, TOFFSET

The amount by which the resistor temperature differs from the circuit temperature. This parameter is only visible when you select Device temperature for the Model temperature dependence using parameter. The default value is 0 K.

Parameter extraction temperature, TMEAS

The temperature at which the resistor parameters were measured. The default value is 300.15 K. The value must be greater than 0.

Fixed circuit temperature, TFIXED

The temperature at which to simulate the resistor. This parameter is only visible when you select Fixed temperature for the Model temperature dependence using parameter. The default value is 300.15 K. The value must be greater than 0.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced in R2012b