Products & Services Solutions Academia Support User Community Company

Learn more about SimElectronics   

Timer - Model timer integrated circuit behaviorally

Library

Integrated Circuits

Description

The Timer block is a behavioral model of a timer integrated circuit such as the NE555.

The following figure shows the implementation structure.

The Potential divider component resistance parameter sets the values of the three resistors creating the potential divider. The two comparator inputs have infinite input resistance and zero input capacitance. The S-R Latch block provides the functionality of the set-reset latch. It includes an output capacitor and a resistor with values set to match the Propagation delay parameter value. The block models the output stage inverter using a SimElectronics CMOS NOT block. You define the output resistance, low-level output voltage, and high-level output voltage for the CMOS gate in the Timer block dialog box. The discharge switch approximates the NPN bipolar transistor on a real timer as a switch with defined switch on-resistance and off-resistance values.

Basic Assumptions and Limitations

This block has the following limitations:

Dialog Box and Parameters

Supply Tab

Power supply voltage

The voltage value that the block applies internally to the timer component. The default value is 15 V.

Outputs Tab

Low level output voltage

The output voltage when the timer output is low and no output current is drawn. The default value is 0 V.

High level output voltage

The output voltage when the timer output is high and no current is drawn. The default value is 14.1 V.

Output resistance

The ratio of output voltage drop to output current. Set this parameter to , where is the reduced output high voltage when the output current is . The default value is 8 Ω.

Propagation delay

Set this value to the input-pulse or output-pulse rise time. The default value is 1e-07 s.

Discharge Tab

Discharge switch on-resistance

A representative value is the discharge pin saturation voltage divided by the corresponding current. The default value is 12 Ω.

Discharge switch off-resistance

A representative value is the discharge pin leakage current divided by the corresponding pin voltage. The default value is 5e+08 Ω.

Potential Divider Tab

Potential divider component resistance

A typical value for a 555-type timer is 5 kΩ. You can measure it directly across the positive supply and control pins when the chip does not connect to a circuit. The default value is 5 kΩ.

Ports

This block has the following ports:

THRES

Electrical port corresponding to the threshold pin.

TRIG

Electrical port corresponding to the trigger pin.

CONT

Electrical port corresponding to the control pin.

RESET

Electrical port corresponding to the reset pin.

OUT

Electrical port corresponding to the output pin.

DISCH

Electrical port corresponding to the discharge pin.

See Also

S-R Latch and Comparator.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS