3 The Binary Concept Many things can be thought of as existing in one of two states.These two states can be defined as “high” or “low”,“on” or “off”, “yes” or “no”, and “1” or “0”.5Vhigh, on, yes, 1low, off, no, 0BinarySignal
4 The Binary ConceptThis two-state binary concept, applied to gates, can bethe basis for making decisions.The gate is a device that hasone or more inputs with whichit will perform a logical decisionand produce a result at itsone output.
5 Gate Decision Making The Logical AND Light Switch AND High Beam Gate High Beam SwitchThe automotive high beam lightcan only be turned on when thelight switch AND high beam switchare on.
6 Gate Decision Making The Logical OR Passenger Door Switch OR Dome Gate LightDriver Door SwitchThe automotive dome light willbe turned on when the passengerdoor switch OR the driver doorswitch is activated.
7 AND Function The outcome or output is called Y and the input signals are called A, B, C, etc.Binary 1 represents the presence of a signal or theoccurrence of some event, while binary 0 representsthe absence of the signal or nonoccurrence of the event.
8 AND Gate Function Application – Example 1 Basic RulesThe device has twoor more inputs andone outputIf any input is 0,the output will be 0If all inputs are 1,the output will be 1
9 AND Gate Function Application – Example 2 The AND gate operateslike a series circuit.The light will be “on”only when bothswitch A and switch Bare closed.
10 OR Function An OR gate can have any number of inputs but only one output.The OR gate output is 1 if one or more inputs are 1.
11 OR Gate Function Application – Example 1 Basic RulesIf all inputs are 0,the output will be 0If one or more inputs are 1, the output will be 1
12 OR Gate Function Application – Example 2 The OR gate operateslike a parallel circuit.The light will be “on”if switch A or switch Bis closed.
13 NOT Function The NOT function has only one input and one output. The NOT output is 1 if the input is 0.The NOT output is 0 if the input is 1.Since the output is always the reverse of the inputit is called an inverter.
14 NOT Gate Application – Example 1 Acts like a normallyclosed pushbuttonin series with theoutput.The light will be “on” if the pushbutton is not pressed.The light will be “off” if the pushbutton is n pressed.
15 NOT Gate Application – Example 2 If the power is “on”(1) and the pressureswitch is not closed(0), the warningindicator will be “on”Low-pressureindicating circuitWhen the pressurerises to close thepressure switch, thewarning indicatorwill be switched "off"
16 NAND Function The NAND gate functions like an AND gate with an inverter connected to its output.The only time the NAND gate output is 0 is whenall inputs are binary 1.
17 NOR Function The NOR gate functions like an OR gate with an inverter connected to its output.The only time the NAND gate output is 1 is whenall inputs are binary 0.
18 XOR (exclusive-OR) Function The XOR function hastwo inputs and one output.The output of this gate is HIGH only when one input orthe other is HIGH, but not both.It is commonly used for comparison of two binarynumbers.
19 1. The two binary states can be defined as: “high” or “low”“on” or “off”1” or “0”all of these2. A gate can have one or more outputs butonly one input. (True/False)
20 3. The ______ table shows the resulting output for each possible gate input conditions. a. input status c. datab. output status d. truth4. A light that is "off" or a switch that is "open"would normally be represented by a binary 1.(True/False)5. The OR function, implemented using contacts,requires contacts connected in series. (True/False)
21 6. With an AND gate, if any input is 0, the output will be 0 6. With an AND gate, if any input is 0, the output will be (True/False)7. The symbol shown is that of a(an)_________ .AND gateOR gateNAND gateinverter
22 8. Which of the following gates is commonly used for the comparison of two binary numbers?NANDNORXORNOT9. The basic rule for an XOR function is that ifone or the other, but not both, inputs are 1 theoutput is 1. (True/False)10. A NAND gate is an AND gate with an inverterconnected to the output. (True/False)
23 Gate Boolean Equations YANDY = A BGateBoolean EquationORABYY = A + BNOTAYY = A
24 Boolean Equation – Example 1 Each logic function can beexpressed in terms of aBoolean expression
25 Boolean Equation – Example 2 Any combination of control can be expressed in terms of a Boolean equationABY = AB + CA + BY = (A + B) C
26 Boolean Equation – Example 2 ABY = AB + CA + BY = (A + B) C
27 Circuit Development Using A Boolean Expression – Example 1
28 Circuit Development Using A Boolean Expression – Example 2
29 Producing A Boolean Expression From A Given Circuit – Example 1
30 Producing A Boolean Expression From A Given Circuit – Example 2