Hello

Welcome lekule blog

Hi, I`m Sostenes, Electrical Technician and PLC`S Programmer.
Everyday I`m exploring the world of Electrical to find better solution for Automation.
together in the world. #lekule86
Join us on

Lesson 64 - Boolean & Logic Circuits

"I am endeavoring, ma'am, to construct a mnemonic circuit using stone knives and bear skins." - Spock (Star Trek)

Ever wonder what he meant by that? So did I. But that insanity has nothing to do with Logic or Logic Circuits. What DOES have to do with them is a special form of MATH called "Boolean Logic".

Oh, jeepers! More math? Well - someday, you'd like to know at least a LITTLE about computers and processors. In order to understand computers, you have to first understand basic digital logic circuits. In order to understand logic circuits - you have to know about logic functions, which means math - specefically "Boolean" logic.

Boolean logic is important in Algebra, statistics, computer programming, and of course - digital logic circuitry. Its importance is neither discussed nor argued here - only accepted and learned. I do not plan, in this course, to take you through all the possible variances and their ramifications, simply to give you the basics of what it is and how it works.

It begins with a hypothesis that there are only 2 choices to make in any given situation: Something either is, or it isn't. (Socrates) It'll either work, or either it won't.(Grandpa) There is no try, only do, or do not (Yoda). The light bulb is on, or it is off. Most decisions we have to make in life are simple, yes or no, go/no-go, on or off, black and white there are no gray areas - and color is a lie!

So you go to a used car lot to buy a car. Do you buy the red car or the blue car or the green car? The car salesman doesn't ASK you that question. It is too confusing, and will NOT help you make a decision. What he asks you is, "If I can get you this car for these payments, will you sign here and drive it home today?" He asks a YES or NO question to make things very clear to you. If you say yes, you sign, drive, and both of you are happy. If you say no, he tries for another 6 hours to get you to say yes so that he can make his commission and he can go drive home.

Because so many decisions can be broken down into one of 2 answers, decision making for us, as well as for computers, is simplified by levelling the playing field to the least common denominator.

For a computer that works in an electronic world - the least common denominator is an on/off switch. Either it is on, or either it is off. In computer programming, the on is represented by the number 1, and the off by the number 0. There are no other numbers. There are no letters. There are only 1's and 0's. Computer programs are written in 1's and 0's that will INTERPRET to letters and numbers so we can understand them - but the computer itself only sees the 1's and 0's.

Without going into ASCII, Hexidecimal, and Binary conversions (which would make a course all its own), how do we cover what a computer sees when we type in the word "LOVE"? Well I'm not going there today either. Instead we will cover how a computer, using only 2 numbers (1 and 0), can possibly make a simple decision.


Conjunction Junction

Computers use conjuctions - AND, NOT, and OR (But has been left out - sorry), as their basic decision making functions. According to BOOLEAN math (developed by George Boole in 1854), the two "STATES" can be filtered by the words AND, NOT and OR.

To make things even more complicated - there have been several symbols over the years for various logic statements.


For instance the Logic symbol for AND could be:


&, X, *, •, or ∧
.

For the sake of simplicity in THIS course, we will always use ∧ to represent AND.


The Logic Symbol for OR could be:


+, or ∨


For the sake of THIS course, we will always use ∨ to represent OR.


The Logic Symbol for NOT can be:


~, !, or ¬


For the sake of this course, we will always use ¬ to represent NOT.



So let us begin with the simplest logic funcion - the NOT function:

NOT is an easy Logic Function to understand.... just think - this is a 1.... NOT! What NOT means in Boolean math is that whatever your answer is - you are wrong and the OPPOSITE is correct. If we had a NOT logic gate, and put a 1 in, a 0 would come out. Here is the logic table for the NOT gate:


INPUT A OUTPUT
0 ¬ 1
0
The schematic symbol for the not gate is as follows:




AND is a little more difficult, but not impossible to grasp. You have 2 inputs to any given AND statement (The A input and the B input). ONLY if BOTH the A and B inputs are 1, will the output be a 1. It will help you to understand if, when you see the character "∧", you say the word "AND". Here we go:

1 ∧ 1 → 1 otherwise A ∧ B → 0. Confused yet? Hope the logic table helps. Here is the logic table for the AND statement:


A AND B YIELDS OUTPUT
0 0 0
0 1 0
1 0 0
1 1 1


Below are shown the TWO schematic symbols for the AND gate. One is the American Symbol - the other is the European. Note that for many different schematic symbols there may be alternate symbols used in another country. I nearly lost half a brain the first time I encountered Russian schematics. The point is - while in this course we use the American symbols - you should endeavour to learn the European counterparts on your own. You never know when you may encounter them.





If you understand the AND function, then the OR function is easy. Again, you have 2 inputs to any given OR statement (The A input and the B input). If EITHER A OR B inputs are 1, will the output be a 1. It will help you to understand if, when you see the character "∨", you say the word "OR". Here we go:

0 ∨ 0 → 0 otherwise A ∧ B → 1. Great! Now you've got it down pat! Again - I hope the logic table helps. Here is the logic table for the AND statement:


A OR B YIELDS OUTPUT
0 0 0
0 1 1
1 0 1
1 1 1


Below is shown the schematic symbol for the OR gate. Keep in mind that there are also European symbols, and may be other symbols for various components. Always make sure you know what country your schematic is from, and what the schematic symbols for that particular region of the world is.


Share this:

ABOUTME

Hi all. This is deepak from Bthemez. We're providing content for Bold site and we’ve been in internet, social media and affiliate for too long time and its my profession. We are web designer & developer living India! What can I say, we are the best..

Post a Comment
My photo

Hi, I`m Sostenes, Electrical Technician and PLC`S Programmer.
Everyday I`m exploring the world of Electrical to find better solution for Automation. I believe everyday can become a Electrician with the right learning materials.
My goal with BLOG is to help you learn Electrical.

Labels

LEKULE TV EDITORIALS ARTICLES DC ROBOTICS DIGITAL SEMICONDUCTORS GENERATOR AC EXPERIMENTS MANUFACTURING-ENGINEERING REFERENCE FUNDAMENTAL OF ELECTRICITY ELECTRONICS ELECTRICAL ENGINEER MEASUREMENT TRANSDUCER & SENSOR VIDEO ARDUINO RENEWABLE ENERGY AUTOMOBILE TEARDOWN SYNCHRONOUS GENERATOR DIGITAL ELECTRONICS ELECTRICAL DISTRIBUTION CABLES AUTOMOTIVE MICROCONTROLLER SOLAR PROTECTION DIODE AND CIRCUITS BASIC ELECTRICAL ELECTRONICS MOTOR SWITCHES CIRCUIT BREAKERS CIRCUITS THEORY PANEL BUILDING ELECTRONICS DEVICES MIRACLES SWITCHGEAR ANALOG MOBILE DEVICES WEARABLES CAMERA TECHNOLOGY COMMUNICATION GENERATION BATTERIES FREE CIRCUITS INDUSTRIAL AUTOMATION SPECIAL MACHINES ELECTRICAL SAFETY ENERGY EFFIDIENCY-BUILDING DRONE CONTROL SYSTEM NUCLEAR ENERGY SMATRPHONE FILTER`S POWER BIOGAS BELT CONVEYOR MATERIAL HANDLING RELAY ELECTRICAL INSTRUMENTS ENERGY SOURCE PLC`S TRANSFORMER AC CIRCUITS CIRCUIT SCHEMATIC SYMBOLS DDISCRETE SEMICONDUCTOR CIRCUITS WIND POWER C.B DEVICES DC CIRCUITS DIODES AND RECTIFIERS FUSE SPECIAL TRANSFORMER THERMAL POWER PLANT CELL CHEMISTRY EARTHING SYSTEM ELECTRIC LAMP FUNDAMENTAL OF ELECTRICITY 2 BIPOLAR JUNCTION TRANSISTOR 555 TIMER CIRCUITS AUTOCAD BLUETOOTH C PROGRAMMING HOME AUTOMATION HYDRO POWER LOGIC GATES OPERATIONAL AMPLIFIER`S SOLID-STATE DEVICE THEORRY COMPUTER DEFECE & MILITARY FLUORESCENT LAMP INDUSTRIAL ROBOTICS ANDROID ELECTRICAL DRIVES GROUNDING SYSTEM CALCULUS REFERENCE DC METERING CIRCUITS DC NETWORK ANALYSIS ELECTRICAL SAFETY TIPS ELECTRICIAN SCHOOL ELECTRON TUBES FUNDAMENTAL OF ELECTRICITY 1 INDUCTION MACHINES INSULATIONS USB ALGEBRA REFERENCE HMI[Human Interface Machines] INDUCTION MOTOR KARNAUGH MAPPING USEUL EQUIATIONS AND CONVERSION FACTOR ANALOG INTEGRATED CIRCUITS BASIC CONCEPTS AND TEST EQUIPMENTS DIGITAL COMMUNICATION DIGITAL-ANALOG CONVERSION ELECTRICAL SOFTWARE GAS TURBINE ILLUMINATION OHM`S LAW POWER ELECTRONICS THYRISTOR BOOLEAN ALGEBRA DIGITAL INTEGRATED CIRCUITS FUNDAMENTAL OF ELECTRICITY 3 PHYSICS OF CONDUCTORS AND INSULATORS SPECIAL MOTOR STEAM POWER PLANTS TESTING TRANSMISION LINE C-BISCUIT CAPACITORS COMBINATION LOGIC FUNCTION COMPLEX NUMBERS CONTROL MOTION ELECTRICAL LAWS INVERTER LADDER DIAGRAM MULTIVIBRATORS RC AND L/R TIME CONSTANTS SCADA SERIES AND PARALLEL CIRCUITS USING THE SPICE CIRCUIT SIMULATION PROGRAM AMPLIFIERS AND ACTIVE DEVICES APPS & SOFTWARE BASIC CONCEPTS OF ELECTRICITY CONDUCTOR AND INSULATORS TABLES CONDUITS FITTING AND SUPPORTS ELECTRICAL INSTRUMENTATION SIGNALS ELECTRICAL TOOLS INDUCTORS LiDAR MAGNETISM AND ELECTROMAGNETISM PLYPHASE AC CIRCUITS RECLOSER SAFE LIVING WITH GAS AND LPG SAFETY CLOTHING STEPPER MOTOR SYNCHRONOUS MOTOR AC METRING CIRCUITS BECOME AN ELECTRICIAN BINARY ARITHMETIC BUSHING DIGITAL STORAGE MEMROY ELECTRICIAN JOBS HEAT ENGINES HOME THEATER INPECTIONS LIGHT SABER MOSFET NUMERATION SYSTEM POWER FACTORS REACTANCE AND IMPEDANCE INDUCTIVE RECTIFIER AND CONVERTERS RESONANCE SCIENTIFIC NOTATION AND METRIC PREFIXES SULFURIC ACID TROUBLESHOOTING TROUBLESHOOTING-THEORY & PRACTICE 12C BUS APPLE BATTERIES AND POWER SYSTEMS DC MOTOR DRIVES ELECTROMECHANICAL RELAYS ENERGY EFFICIENCY-LIGHT INDUSTRIAL SAFETY EQUIPMENTS MEGGER MXED-FREQUENCY AC SIGNALS PRINCIPLE OF DIGITAL COMPUTING QUESTIONS REACTANCE AND IMPEDANCE-CAPATIVE SEQUENTIAL CIRCUITS SERRIES-PARALLEL COMBINATION CIRCUITS SHIFT REGISTERS WIRELESS BUILDING SERVICES COMPRESSOR CRANES DIVIDER CIRCUIT AND KIRCHHOFF`S LAW ELECTRICAL DISTRIBUTION EQUIPMENTS 1 ELECTRICAL DISTRIBUTION EQUIPMENTS B ELECTRICAL TOOL KIT ELECTRICIAN JOB DESCRIPTION INDUSTRIAL DRIVES LAPTOP SCIENCE THERMOCOUPLE TRIGONOMENTRY REFERENCE UART oscilloscope BIOMASS CONTACTOR ELECTRIC ILLUMINATION ELECTRICAL SAFETY TRAINING ELECTROMECHANICAL FEATURED FILTER DESIGN HARDWARE JUNCTION FIELD-EFFECT TRANSISTORS NASA NUCLEAR POWER VALVE COLOR CODES ELECTRIC TRACTION FLEXIBLE ELECTRONICS FLUKE GEARMOTORS INTRODUCTION LASSER PID PUMP SEAL ELECTRICIAN CAREER ELECTRICITY SUPPLY AND DISTRIBUTION MUSIC NEUTRAL PERIODIC TABLES OF THE ELEMENTS POLYPHASE AC CIRCUITS PROJECTS REATORS SATELLITE STAR DELTA VIBRATION WATERPROOF