Logic Design: Boolean Logic

1163 Words3 Pages

Boolean logic, invented by George Boole in 1854, has helped create many systems and devices in the technological world. Such devices include ATM’s, thermal control systems, and alarm systems. Boolean logic contains only two values, true and false. A true value is represented by a 1 and a false value is represented by a 0. An important concept related to Boolean Logic is minimization of logic design. Minimization of logic design entails creating the simplest, most effective code to execute a system. This allows the program to be more efficient and easier to understand. Boolean logic is used to create truth tables. A truth table represents all the possible inputs and outputs of a given system. The number of rows in a truth table shows all possible …show more content…

The alarm system was based on a problem faced by a farmer. In order to protect his animals and his corn, the farmer needed an alarm that would be set when either the hen and fox were in the same barn or the hen and the corn were in the same barn. The farmer had two barns. The system would be programmed in LabVIEW where the alarm would be simulated by a digital LED light. Afterwards, the system would be applied to a NI-ELVIS board. The NI-ELVIS board had to be wired in a way that would once again turn an LED light on when either of the given conditions were true. In order to complete the objective, a truth table and Karnaugh map were formed. From the K-map, a simplified boolean equation was formed. The simplified boolean equation was necessary in forming a circuit needed to set the alarm off when the given conditions were met. Using the NOT, OR, and AND logic gates, a combinational logic circuit was designed. A combinational logic circuit is useful to engineers and technological innovators by making systems much more efficient. The combinational logic circuit produces a specific output (ex: setting an alarm off) based on combinations of inputs. Once the circuit was formed, the alarm was able to go off when necessary, aiding the farmer in protecting his animals and his …show more content…

Three switches were added and labeled hen, fox, and corn. Barn one was represented by the switching being up while barn two was represented by the switch being down. Three corresponding LED lights were also added and labeled the same way. Each grouping in the simplified boolean equation was attached to an AND statement. For example, the not corn and not hen were both wired to an AND statement. The results of all the AND statements were then connected to three separate OR statements. The final statement was wired to an alarm to turn on the LED light in LabVIEW. The system was tested in LabVIEW for all the

Open Document