Professional Documents
Culture Documents
Tugas Rangkaian Logika
Tugas Rangkaian Logika
Z. Tucaković
Automatic Control and Electronics Department, Faculty of Electrical Engineering Sarajevo
Sarajevo, Bosnia and Herzegovina
ztucakovic1@etf.unsa.ba
I. INTRODUCTION
During laboratory assignments in electronics, different
problems might occur. Resistors, capacitors, transistors, as
well as other components in complex devices such as
logic gates might be dysfunctional or damaged. Many Figure 1: Common symbols for logic gates (NOT, AND, OR, NAND,
integrated chips have several integrated logic gates on NOR) and symbols according to IEC
them (i.e. gate 7400 has four NAND gates, each with two
inputs). If one gate on a chip is damaged, usually another
TABLE I. TRUTH TABLE FOR ABOVE MENTIONED OPERATIONS
gate is used. After that, the chip is left in the laboratory
and the person coming next will assume it is fully A B A’ B’ A˄B A˅B A|B A↓B
functional. 0 0 1 1 0 0 1 1
That is the reason behind checking the functionality of 0 1 1 0 0 1 1 0
a chip. It can be done by setting logic zeros and logic ones 1 0 0 1 0 1 1 0
on inputs of logic gates. This can be a cumbersome task,
1 1 0 0 1 1 0 0
and that is the reason why automation of the process is
useful, easier and faster. Automation of logic gates
functionality check is the subject of this paper. The Sheffer’s and Peirce’s operation, respectively [6].
prototype of a device which checks the functionality of Symbols of all these gates are given in Figure 1.
basic logic gates has been made and the user would be
provided with the information which gates inside the chip In Table I the truth tables for aforementioned
are functional. References [1] and [2] deal with this operations are given.
problem.
III. CAUSES OF LOGIC GATES MALFUNCTION
In the second chapter, theoretical basis for basic logic
gates is given. In the third and fourth chapter, causes of A malfunction of a logic gate is a physical defect of
malfunction and generation of diagnostic tests are one or more of its components, which causes malfunction
analyzed. Fifth chapter contains description of the of the entire system. Sometimes, a logic gate is
prototype structure and its parts (specifically power supply, permanently damaged. This class of malfunctions is
microcontroller [3], display [4], keyboard, zero insertion caused by errors in element production or by the
force socket, as well as integrated chip, whose components aging [7].
functionality will be tested). In the sixth chapter the The class of temporary malfunctions is caused by
algorithm of testing is presented, and in the seventh is badly synchronized structures or asynchronous structures
given programming code that implements the algorithm. of digital systems, different disturbances caused by
Chapter eight contains appendices, i.e. photos of the internal noise or external influences. In this class there
prototype and its electronic scheme. are categories of random and categories of occasional
malfunctions. Occasional malfunctions can become
II. THEORETICAL BASIS FOR BASIC LOGIC GATES permanent with time, and these malfunctions are then
The logic gate is an electronic circuit or a device, called constant malfunctions. They usually occur in
implementing a Boolean function [5]. Basic logic gates digital systems, discrete systems or in integrated circuits.
are usually NOT, AND, OR, NAND and NOR gates, and They occur in the lowest levels of integration, as well as
they represent logical negation, conjunction, disjunction, in Large-scale integration (LSI) and Very-large-scale-
integration (VLSI).
IX. CONCLUSION
The prototype, besides for checking functionality of [2] A.A. Shinde, M.A. Tarkunde, “IC Tester Using 89s52
logic gates, can be used for identification of unknown 14- Microcontroller”, International Journal of Computational
Engineering Research, vol. 2, issue 7, pp.24-27, November 2012.
pinned logic gate from 74-series. It is advised to
[3] Microchip’s PIC16F1939 Microcontroller Datasheet,
implement functionalities for a larger number of logic http://ww1.microchip.com/downloads/en/DeviceDoc/40001574C.
gates through the programming code. pdf
[4] ANAG VISION’s AV1624 LCD Datasheet, http://www.iq-
REFERENCES tm.de/astro/EQ6/184594-da-01-ml-
LCD_Modul_16x2_Zeichen_LED_de_en.pdf
[1] A. Bhattacharya, “Digital Integrated Circuit Tester (Using
[5] M. Ahić-Đokić, “Logički dizajn”, Faculty of Electrical
AT89s51 Microcontroller)”, International Journal of Emerging
Engineering Sarajevo, Sarajevo, 2006.
Technology and Advanced Engineering, vol. 3, issue 6, pp.175-
178, June 2013. [6] Ž. Jurić, “Diskretna matematika za studente tehničkih nauka”,
Faculty of Electrical Engineering Sarajevo, Sarajevo, 2011.
[7] Dž. Hasanbegović, “Osnove tehničke dijagnostike digitalnih
sistema”, Svjetlost, Sarajevo, 1985.