Saturday, December 31, 2011

Logic Gates

A logic gate is an elementary building block of a digital circuit . Most logic gates have two inputs and one output. At any given moment, every terminal is in one of the two binary conditions low (0) or high (1), represented by different voltage levels. The logic state of a terminal can, and generally does, change often, as the circuit processes data. In most logic gates, the low state is approximately zero volts (0 V), while the high state is approximately five volts positive (+5 V).

There are seven basic logic gates: AND, OR, XOR, NOT, NAND, NOR, and XNOR.

The AND gate is so named because, if 0 is called "false" and 1 is called "true," the gate acts in the same way as the logical "and" operator. The following illustration and table show the circuit symbol and logic combinations for an AND gate. (In the symbol, the input terminals are at left and the output terminal is at right.) The output is "true" when both inputs are "true." Otherwise, the output is "false."

/WhatIs/images/and.gif (220 bytes)

AND gate


Input 1Input 2Output
000
010
100
111

The OR gate gets its name from the fact that it behaves after the fashion of the logical inclusive "or." The output is "true" if either or both of the inputs are "true." If both inputs are "false," then the output is "false."

/WhatIs/images/or.gif (224 bytes)

OR gate


Input 1Input 2Output
000
011
101
111

The XOR ( exclusive-OR ) gate acts in the same way as the logical "either/or." The output is "true" if either, but not both, of the inputs are "true." The output is "false" if both inputs are "false" or if both inputs are "true." Another way of looking at this circuit is to observe that the output is 1 if the inputs are different, but 0 if the inputs are the same.

XOR gate

Input 1Input 2Output
000
011
101
110

A logical inverter , sometimes called a NOT gate to differentiate it from other types of electronic inverter devices, has only one input. It reverses the logic state.

Inverter or NOT gate


InputOutput
10
01

The NAND gate operates as an AND gate followed by a NOT gate. It acts in the manner of the logical operation "and" followed by negation. The output is "false" if both inputs are "true." Otherwise, the output is "true."

/WhatIs/images/nand.gif  (240 bytes)

NAND gate

Input 1Input 2Output
001
011
101
110

The NOR gate is a combination OR gate followed by an inverter. Its output is "true" if both inputs are "false." Otherwise, the output is "false."

/WhatIs/images/nor.gif (237 bytes)

NOR gate

Input 1Input 2Output
001
010
100
110

The XNOR (exclusive-NOR) gate is a combination XOR gate followed by an inverter. Its output is "true" if the inputs are the same, and"false" if the inputs are different.

/WhatIs/images/xnor.gif  (278 bytes)

XNOR gate

Input 1Input 2Output
001
010
100
111

Using combinations of logic gates, complex operations can be performed. In theory, there is no limit to the number of gates that can be arrayed together in a single device. But in practice, there is a limit to the number of gates that can be packed into a given physical space. Arrays of logic gates are found in digital integrated circuits (ICs). As IC technology advances, the required physical volume for each individual logic gate decreases and digital devices of the same or smaller size become capable of performing ever-more-complicated operations at ever-increasing speeds.

Thursday, November 24, 2011

Testing a PN Diode


Use Analog Meter To Test Diode

Set your analog meter to x1 ohms range to check for current diode leakage reverse and forward testing. Touch the black probe of your meter to the cathode and red probe to the anode, the diode is reverse biased and should look like an open reading-the meter pointer not moving. Connecting the red probe of your meter to the cathode and black probe to the anode, the diode is forward biased and the meter should read some value of resistance. If you get two readings then most probably the diode is shorted or leaky and you should replace it.

If you don't get any reading either forward or reverse bias, the diode is considered open circuit. The real problem when testing a diode using the diode test function of a digital meter is that an open or leaky diode, the meter sometimes reads okay (0.6). This is due to the digital meter diode test output voltage (which you can measure the output test probe using another meter) is around 500mv to 2v. An analog meter set to x1 ohms range have output about 3V(remember the two 1.5V batteries you installed in the meter!). The 3V voltage is adequate to show you the accurate reading of a diode when under test.

1n5408 diode Even if you have a good reading at x1 ohms range checking a diode, this doesn't mean that the diode is good . You now have to select your meter to x10Kohm range to test the diode again. The output voltage of x10k ohms is about 12 Volt (remember the 9 volt battery in your meter-1.5 volt + 1.5 volt + 9 volt = 12 volt). Again the diode under test should show only one reading. This is exception to Schottky diode where it have two readings but not shorted reading.

If the meter showed one reading then the diode under test is good. If it has two readings then most probably the diode is either shorted or leaky. The digital meter can't test it because the output from the meter is only about 500mv to 2 volt.

Friday, November 4, 2011

Why Current is Mentioned as 'I'


The conventional symbol for current is I, which originates from the French phrase intensité de courant, or in English current intensity. This phrase is frequently used when discussing the value of an electric current, especially in older texts; modern practice often shortens this to simply current but current intensity is still used in many recent textbooks. The I symbol was used by André-Marie Ampère, after whom the unit of electric current is named, in formulating the eponymous Ampère's force law which he discovered in 1820. The notation travelled from France to England, where it became standard, although at least one journal did not change from using C to I until 1896.

Thursday, November 3, 2011

Why Inductor is Mentioned as 'L'


The symbol L for inductance was chosen to honor Heinrich Lenz (1804-1865), whose pioneering work in electromagnetic induction was instrumental in the development of the final theory. If you recall, Lenz' law states that the induced current in a circuit always acts in a manner that opposes the change that created it in the first place. This observation is why there's a minus sign in all the different versions of Faraday's law. Lenz' gave us the minus sign and we honor him with the symbol L.

Sunday, August 21, 2011

Color Coding Of a Resistor


Normally 4-Band Resistors are used.So I Will Explain That. First Select First Color ex-Brown-1 Then Select Next Color ex-Black-0 Then Select Next Color That Is The Multiplier ex-Red-2 So The Value Of The Resistance Is 1000,ohm. If The Multiplier Is 2 Add Two Zeros After The First Two Numbers.
If The Third Color Is Gold Add One Dot Between The Two Numbers ex-2.2,ohm


Resistor


A linear resistor is a two-terminal, linear, passive electronic component that implements electrical resistance as a circuit element. The current through a resistor is in direct proportion to the voltage across the resistor's terminals. Thus, the ratio of the voltage applied across a resistor's terminals to the intensity of current through the resistor is called resistance. This relation is represented by

I=V/R

I-Current Through The Resistor
V-Voltage Through The Resistor
R-Resistance Of The Resistor