0% found this document useful (0 votes)
43 views4 pages

Multivibrator/Timer CAD: National Semiconductor Application Brief 7 March 1983

This document provides a computer-aided design (CAD) program for designing multivibrators and timers using BASIC code. The program allows the design of two types of multivibrators and one type of timer by inputting component values to calculate timing parameters. National Semiconductor application notes should be consulted for device specifications. The program listings show the components supported and algorithms used to calculate timing values from resistance, capacitance, and timing parameters.

Uploaded by

Rayner Mihailov
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views4 pages

Multivibrator/Timer CAD: National Semiconductor Application Brief 7 March 1983

This document provides a computer-aided design (CAD) program for designing multivibrators and timers using BASIC code. The program allows the design of two types of multivibrators and one type of timer by inputting component values to calculate timing parameters. National Semiconductor application notes should be consulted for device specifications. The program listings show the components supported and algorithms used to calculate timing values from resistance, capacitance, and timing parameters.

Uploaded by

Rayner Mihailov
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Multivibrator/Timer CAD

National Semiconductor
Multivibrator/Timer CAD Application Brief 7
March 1983

Circuit design making use of monolithic multivibrators and astable operation is required). The Linear Databook by Na-
timers can be most easily and quickly done making use of a tional Semiconductor should be consulted for the specific
simple CAD (computer aided design) program. Fortunately, device pinout and additional device functions.
only 2 basic multivibrator types and 1 timer design type ex- This program is in ‘‘transportable’’ BASIC. No INPUT
ist, reducing the program requirements to 3 sets of algo- prompts for strings or ELSE statements are used. All IF
rithms. statements, if true, result in a GOTO. Variable and array
Figure 1 provides a view of the basic multivibrator and the names are unique and are limited to 2 characters in length.
tON (pulse width) determining resistor and capacitor (R1 and This program consists of multiple statement lines, which
C). the Advanced Bipolar Logic Databook by National Semi- must be dissected for some unexpanded microcomputers.
conductor Corporation should be consulted for the specific Some microcomputers may require that the DATA state-
device pinout and functions. ments on lines 850 and 860 be implemented as strings, and
Figure 2 is a block diagram showing the basic timer and the the READ statement on line 250 be replaced with the string
tON (pulse width) determining resistor and capacitor (R1 and handling routine.
C) along with the tOFF determining resistor R2 (required if

TL/H/5248 – 1
Multivibrators accommodated by this program are shown in lines 130
The timers accommodated by this
through 200 of the listing.
program are shown on lines 210 and
FIGURE 1 220 of the listing.
TL/H/5248 – 2
FIGURE 2

100 For I e 0 to 10:PRINT:NEXT


110 PRINT‘‘MULTIV by Bob Nelson Ð 2/1/83’’:PRINT:PRINT
120 PRINT‘‘The following multivibrators are available for design:’’:Print
130 PRINT‘‘DM54/74121 One Shots 0’’
140 PRINT‘‘DM54/74LS122 Retriggerable One Shots with Clear 1’’
150 PRINT‘‘DM54/74123 Dual Retriggerable One Shots with Clear 2’’
160 PRINT‘‘DM54/74L123 Dual Retriggerable One Shots with Clear 3’’
170 PRINT‘‘DM54/74LS123 Dual Retriggerable One Shots with Clear 4’’
180 PRINT‘‘DM54/74LS221 Dual One Shots with Schmitt-Trigger Inputs 5’’
190 PRINT‘‘DM86/9601 Retriggerable One Shots 6’’
200 PRINT‘‘DM86/9602 Dual Retriggerable, Resettable One Shots 7’’
210 PRINT‘‘LM555/555C Timer 8’’
220 PRINT‘‘LM556/556C Dual Timer 9’’
230 PRINT:INPUT‘‘Enter number representing choice . . . . . . . . . ’’,N:PRINT
240 IF Nl9 THEN 100
250 FOR I e 0 TO N:READ K:READ RN:READ RX:NEXT:IF Kkl.693 THEN 270
260 PRINT‘‘Astable or Monostable (A/M)’’;:INPUT M$
270 INPUT‘‘Ton in nanoSeconds’’;T1:IF M$kl‘‘A’’ THEN 300
280 INPUT‘‘Toff in nanoSeconds’’;T2:IF 2*T2 e kT1 THEN 300
290 PRINT‘‘Toff cannot exceed 50% of Ton’’:PRINT:GOTO 270
300 INPUT‘‘R1 in Kohms’’;R1:GOSUB 740:IF M$kl‘‘A’’ THEN 320
310 INPUT‘‘R2 in Kohms’’;R2
320 IF T1l0 AND R1l0 THEN 340
AB-7

C1995 National Semiconductor Corporation TL/H/5248 RRD-B30M115/Printed in U. S. A.


330 INPUT‘‘C in picoFarads’’;C
340 IF K e .693 THEN 530
350 IF T1l0 AND R1l0 THEN 490
360 IF T1l0 AND Cl0 THEN 450
370 IF R1l0 AND Cl0 THEN 410
380 IF R1l0 THEN 400
390 R1 e RN:GOSUB 730:GOTO 350
400 GOSUB 710:GOTO 690
410 IF K e 0 THEN 430
420 T1 e K*C*(R1 a .7):GOTO 440
430 T1 e .7*C*R1
440 GOSUB 720:GOTO 690
450 IF K e 0 THEN 470
460 R1 e T1/(K*Cb.7):GOTO 480
470 R1 e T1/(.7*C)
480 GOSUB 730:GOTO 690
490 IF K e 0 THEN 510
500 C e T1/(K*(R1 a .7)):GOTO 520
510 O e T1/(.7*R1)
520 GOSUB 790:GOTO 690
530 IF T1 e 0 THEN 570
540 IF T2l0 AND R1l0 AND R2l0 THEN 680
550 IF R1l0 AND T2 e 0 AND R2 e 0 THEN 680
560 IF Cl0 THEN 650
570 IF R1 e 0 THEN 600
580 IF Cl0 THEN 620
590 IF R1l0 THEN 610
600 R1 e RN:GOSUB 730:GOTO 530
610 GOSUB 710
620 T1 e K*(R1 a 2*R2)*C:T2 e K*R2*C:GOSUB 720:IF M$kl‘‘A’’ THEN 640
630 PRINT‘‘Toff e ’’;T2;‘‘nS’’
640 GOTO 690
650 R2 e T2/(K*C):R1 e (T1/(K*C))b2*R2:GOSUB 730:IF M$kl‘‘A’’ THEN 670
660 PRINT‘‘R2 e ’’;R2;‘‘Kohms’’
670 GOTO 690
680 C e (T1 a T2)/(K*(R1 a 2*R2)):GOSUB 790
690 PRINT:PRINT‘‘Try same part again(Y/N)’’;:INPUT A$:IF A$kl‘‘N’’ THEN 270
700 END
710 PRINT‘‘****INSUFFICIENT DATA****’’: RETURN
720 PRINT‘‘Ton e ’’;T1;‘‘nS’’:RETURN
730 PRINT‘‘R1 e ’’;R1;‘‘Kohms’’
740 IF R1l e RN THEN 760
750 PRINT‘‘**** ??STABILITY b R1 k’’;RN;‘‘Kohms ****’’
760 IF R1 e kRX THEN 780
770 PRINT‘‘**** ??ACCURACY b R1 l’’;RX;‘‘Kohms ****’’
780 RETURN
790 PRINT‘‘C e ’’;C;‘‘pF’’
800 IF Cl0 THEN GOTO 820
810 GOSUB 710:GOTO 840
820 IF Cl1000 THEN 840
830 PRINT‘‘**** ??ACCURACY b C k 1000 Pf ****’’
840 RETURN
850 DATA 0, 1.4, 40, .45, 5, 260, .32, 5, 50, .33, 5, 400, .45, 5, 260
860 DATA .45, 1.4, 100, .31, 5, 50, .32, 5, 50, .693, .3, 10000, .693. .3, 10000

2
3
Multivibrator/Timer CAD

LIFE SUPPORT POLICY

NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT
DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL
SEMICONDUCTOR CORPORATION. As used herein:

1. Life support devices or systems are devices or 2. A critical component is any component of a life
systems which, (a) are intended for surgical implant support device or system whose failure to perform can
into the body, or (b) support or sustain life, and whose be reasonably expected to cause the failure of the life
failure to perform, when properly used in accordance support device or system, or to affect its safety or
with instructions for use provided in the labeling, can effectiveness.
be reasonably expected to result in a significant injury
to the user.

National Semiconductor National Semiconductor National Semiconductor National Semiconductor


Corporation Europe Hong Kong Ltd. Japan Ltd.
1111 West Bardin Road Fax: (a49) 0-180-530 85 86 13th Floor, Straight Block, Tel: 81-043-299-2309
Arlington, TX 76017 Email: cnjwge @ tevm2.nsc.com Ocean Centre, 5 Canton Rd. Fax: 81-043-299-2408
AB-7

Tel: 1(800) 272-9959 Deutsch Tel: (a49) 0-180-530 85 85 Tsimshatsui, Kowloon


Fax: 1(800) 737-7018 English Tel: (a49) 0-180-532 78 32 Hong Kong
Fran3ais Tel: (a49) 0-180-532 93 58 Tel: (852) 2737-1600
Italiano Tel: (a49) 0-180-534 16 80 Fax: (852) 2736-9960

National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.

You might also like