This document outlines the topics covered in the 21EC201 - Digital Principles and System Design course. It includes an introduction to number systems, logic gates, combinational logic circuits, Boolean algebra, truth tables and Karnaugh maps. Specific topics mentioned are binary, decimal, octal and hexadecimal number systems, logic gates like AND, OR, NAND, NOR, XOR and XNOR, arithmetic operations in binary and conversions between different number systems.
we have made this like computer application course material which is so functionable and any one can use it to develop your technological concept skill.
We Belete And Tadelech
Inductive programming incorporates all approaches which are concerned with learning programs or algorithms from incomplete (formal) specifications. Possible inputs in an IP system are a set of training inputs and corresponding outputs or an output evaluation function, describing the desired behavior of the intended program, traces or action sequences which describe the process of calculating specific outputs, constraints for the program to be induced concerning its time efficiency or its complexity, various kinds of background knowledge such as standard data types, predefined functions to be used, program schemes or templates describing the data flow of the intended program, heuristics for guiding the search for a solution or other biases.
Output of an IP system is a program in some arbitrary programming language containing conditionals and loop or recursive control structures, or any other kind of Turing-complete representation language.
In many applications the output program must be correct with respect to the examples and partial specification, and this leads to the consideration of inductive programming as a special area inside automatic programming or program synthesis, usually opposed to 'deductive' program synthesis, where the specification is usually complete.
In other cases, inductive programming is seen as a more general area where any declarative programming or representation language can be used and we may even have some degree of error in the examples, as in general machine learning, the more specific area of structure mining or the area of symbolic artificial intelligence. A distinctive feature is the number of examples or partial specification needed. Typically, inductive programming techniques can learn from just a few examples.
The diversity of inductive programming usually comes from the applications and the languages that are used: apart from logic programming and functional programming, other programming paradigms and representation languages have been used or suggested in inductive programming, such as functional logic programming, constraint
programming, probabilistic programming
Research on the inductive synthesis of recursive functional programs started in the early 1970s and was brought onto firm theoretical foundations with the seminal THESIS system of Summers[6] and work of Biermann.[7] These approaches were split into two phases: first, input-output examples are transformed into non-recursive programs (traces) using a small set of basic operators; second, regularities in the traces are searched for and used to fold them into a recursive program. The main results until the mid 1980s are surveyed by Smith.[8] Due to
Number Systems - Arithmetic Operations - Binary Codes- Boolean Algebra and Logic Gates - Theorems and Properties of Boolean Algebra - Boolean Functions - Canonical and Standard Forms - Simplification of Boolean Functions using Karnaugh Map - Logic Gates – NAND and NOR Implementations.
Chapter 2.1 introduction to number systemISMT College
Binary Number System, Decimal Number System, Octal Number System, Hexadecimal Number System, Conversion, Binary Arithmetic, Signed Binary Number Representation, 1's complement, 2's complement, 9's complement, 10's complement
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
CFD analysis is incredibly effective at solving mysteries and improving the performance of complex systems!
Here's a great example: At a large natural gas-fired power plant, where they use waste heat to generate steam and energy, they were puzzled that their boiler wasn't producing as much steam as expected.
R&R and Tetra Engineering Group Inc. were asked to solve the issue with reduced steam production.
An inspection had shown that a significant amount of hot flue gas was bypassing the boiler tubes, where the heat was supposed to be transferred.
R&R Consult conducted a CFD analysis, which revealed that 6.3% of the flue gas was bypassing the boiler tubes without transferring heat. The analysis also showed that the flue gas was instead being directed along the sides of the boiler and between the modules that were supposed to capture the heat. This was the cause of the reduced performance.
Based on our results, Tetra Engineering installed covering plates to reduce the bypass flow. This improved the boiler's performance and increased electricity production.
It is always satisfying when we can help solve complex challenges like this. Do your systems also need a check-up or optimization? Give us a call!
Work done in cooperation with James Malloy and David Moelling from Tetra Engineering.
More examples of our work https://www.r-r-consult.dk/en/cases-en/
More Related Content
Similar to 21EC201– Digital Principles and system design.pptx
we have made this like computer application course material which is so functionable and any one can use it to develop your technological concept skill.
We Belete And Tadelech
Inductive programming incorporates all approaches which are concerned with learning programs or algorithms from incomplete (formal) specifications. Possible inputs in an IP system are a set of training inputs and corresponding outputs or an output evaluation function, describing the desired behavior of the intended program, traces or action sequences which describe the process of calculating specific outputs, constraints for the program to be induced concerning its time efficiency or its complexity, various kinds of background knowledge such as standard data types, predefined functions to be used, program schemes or templates describing the data flow of the intended program, heuristics for guiding the search for a solution or other biases.
Output of an IP system is a program in some arbitrary programming language containing conditionals and loop or recursive control structures, or any other kind of Turing-complete representation language.
In many applications the output program must be correct with respect to the examples and partial specification, and this leads to the consideration of inductive programming as a special area inside automatic programming or program synthesis, usually opposed to 'deductive' program synthesis, where the specification is usually complete.
In other cases, inductive programming is seen as a more general area where any declarative programming or representation language can be used and we may even have some degree of error in the examples, as in general machine learning, the more specific area of structure mining or the area of symbolic artificial intelligence. A distinctive feature is the number of examples or partial specification needed. Typically, inductive programming techniques can learn from just a few examples.
The diversity of inductive programming usually comes from the applications and the languages that are used: apart from logic programming and functional programming, other programming paradigms and representation languages have been used or suggested in inductive programming, such as functional logic programming, constraint
programming, probabilistic programming
Research on the inductive synthesis of recursive functional programs started in the early 1970s and was brought onto firm theoretical foundations with the seminal THESIS system of Summers[6] and work of Biermann.[7] These approaches were split into two phases: first, input-output examples are transformed into non-recursive programs (traces) using a small set of basic operators; second, regularities in the traces are searched for and used to fold them into a recursive program. The main results until the mid 1980s are surveyed by Smith.[8] Due to
Number Systems - Arithmetic Operations - Binary Codes- Boolean Algebra and Logic Gates - Theorems and Properties of Boolean Algebra - Boolean Functions - Canonical and Standard Forms - Simplification of Boolean Functions using Karnaugh Map - Logic Gates – NAND and NOR Implementations.
Chapter 2.1 introduction to number systemISMT College
Binary Number System, Decimal Number System, Octal Number System, Hexadecimal Number System, Conversion, Binary Arithmetic, Signed Binary Number Representation, 1's complement, 2's complement, 9's complement, 10's complement
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
CFD analysis is incredibly effective at solving mysteries and improving the performance of complex systems!
Here's a great example: At a large natural gas-fired power plant, where they use waste heat to generate steam and energy, they were puzzled that their boiler wasn't producing as much steam as expected.
R&R and Tetra Engineering Group Inc. were asked to solve the issue with reduced steam production.
An inspection had shown that a significant amount of hot flue gas was bypassing the boiler tubes, where the heat was supposed to be transferred.
R&R Consult conducted a CFD analysis, which revealed that 6.3% of the flue gas was bypassing the boiler tubes without transferring heat. The analysis also showed that the flue gas was instead being directed along the sides of the boiler and between the modules that were supposed to capture the heat. This was the cause of the reduced performance.
Based on our results, Tetra Engineering installed covering plates to reduce the bypass flow. This improved the boiler's performance and increased electricity production.
It is always satisfying when we can help solve complex challenges like this. Do your systems also need a check-up or optimization? Give us a call!
Work done in cooperation with James Malloy and David Moelling from Tetra Engineering.
More examples of our work https://www.r-r-consult.dk/en/cases-en/
Welcome to WIPAC Monthly the magazine brought to you by the LinkedIn Group Water Industry Process Automation & Control.
In this month's edition, along with this month's industry news to celebrate the 13 years since the group was created we have articles including
A case study of the used of Advanced Process Control at the Wastewater Treatment works at Lleida in Spain
A look back on an article on smart wastewater networks in order to see how the industry has measured up in the interim around the adoption of Digital Transformation in the Water Industry.
Water scarcity is the lack of fresh water resources to meet the standard water demand. There are two type of water scarcity. One is physical. The other is economic water scarcity.
Explore the innovative world of trenchless pipe repair with our comprehensive guide, "The Benefits and Techniques of Trenchless Pipe Repair." This document delves into the modern methods of repairing underground pipes without the need for extensive excavation, highlighting the numerous advantages and the latest techniques used in the industry.
Learn about the cost savings, reduced environmental impact, and minimal disruption associated with trenchless technology. Discover detailed explanations of popular techniques such as pipe bursting, cured-in-place pipe (CIPP) lining, and directional drilling. Understand how these methods can be applied to various types of infrastructure, from residential plumbing to large-scale municipal systems.
Ideal for homeowners, contractors, engineers, and anyone interested in modern plumbing solutions, this guide provides valuable insights into why trenchless pipe repair is becoming the preferred choice for pipe rehabilitation. Stay informed about the latest advancements and best practices in the field.
Hierarchical Digital Twin of a Naval Power SystemKerry Sado
A hierarchical digital twin of a Naval DC power system has been developed and experimentally verified. Similar to other state-of-the-art digital twins, this technology creates a digital replica of the physical system executed in real-time or faster, which can modify hardware controls. However, its advantage stems from distributing computational efforts by utilizing a hierarchical structure composed of lower-level digital twin blocks and a higher-level system digital twin. Each digital twin block is associated with a physical subsystem of the hardware and communicates with a singular system digital twin, which creates a system-level response. By extracting information from each level of the hierarchy, power system controls of the hardware were reconfigured autonomously. This hierarchical digital twin development offers several advantages over other digital twins, particularly in the field of naval power systems. The hierarchical structure allows for greater computational efficiency and scalability while the ability to autonomously reconfigure hardware controls offers increased flexibility and responsiveness. The hierarchical decomposition and models utilized were well aligned with the physical twin, as indicated by the maximum deviations between the developed digital twin hierarchy and the hardware.
Overview of the fundamental roles in Hydropower generation and the components involved in wider Electrical Engineering.
This paper presents the design and construction of hydroelectric dams from the hydrologist’s survey of the valley before construction, all aspects and involved disciplines, fluid dynamics, structural engineering, generation and mains frequency regulation to the very transmission of power through the network in the United Kingdom.
Author: Robbie Edward Sayers
Collaborators and co editors: Charlie Sims and Connor Healey.
(C) 2024 Robbie E. Sayers
3. Outline
Number Systems – Decimal, Binary, Octal, 1’s and 2’s
complements,
Codes-Binary, BCD, Excess 3,Gray, Alphanumeric codes,
Boolean theorems
Logic gates,
Universal gates,
Sum of products and product of sums, Minterms and
Maxterms,
Karnaugh map minimization,
NAND and NOR Implementations.
5. A set of values used to represent different quantities is known as
number system
Ex: Number of student in online classes
In general term computer represent information in different types
of data forms i.e. number , character ,picture ,audio , video etc
Number Systems
6. Computers are made of a series of switches/ gates.
Each switch has two states: ON(1) or OFF(0).That's why computer works on
the basis of binary number system(0/1).But for different purpose different
number systems are used in computer world to represent information.
E.g. Octal, Decimal, Hexadecimal
Number Systems
7. This number systems is composed of 10 Symbols
(0,1,2,3,4,5,6,7,8,9)
the decimal system has 10 numerical characters and so has a
base of 10
Decimal Number System
8. Binary has only two values 0 and 1
If larger values than 1 are needed, extra columns are added to
the left. Each column value is now twice the value of the
column to its right. For example the decimal value three is
written 11 in binary
Binary Number System
9. Octal
• Octal has eight values 0 to 7.
• If larger values than 7 are needed, extra columns are added to the
left. Each column value is now 8 times the value of the column to its
right. For example the decimal value twenty-seven is written 33 in
octal
Hexadecimal
• Hexadecimal number system uses base 16 from 0-9 and a,b,c,d,e,f as
16 symbols
Octal and HexaDecimal Number system
10. • 1010 represents the decimal value ten. (1 ten + 0 units)
• 102 represents the binary value two. (1 two + 0 units)
• 108 represents the octal value eight. (1 eight + 0 units)
• 1016 represents the hexadecimal value sixteen. (1 sixteen + 0 units)
Examples
11. Decimal to Any Base
• Decimal to Binary
• Decimal to Octal
• Decimal to Hexadecimal
Any base to Decimal
• Binary to Decimal
• Octal to Decimal
• Hexadecimal to Decimal
Not Involving Decimal
• Binary to Octal
• Octal to Hexa
• Hexa to Binary
Conversions Between Number Systems
18. Binary to Octal
To convert a binary number to octal number, these steps are followed
Starting from the least significant bit, make groups of three bits.
If there are one or two bits less in making the groups, 0s can be added after the
most significant bit
Convert each group into its equivalent octal number
101100101012 = 26258
8421
0 1 0
001 100 101 010 011
421421 421 421 421
1 4 5 2 3
19. Binary to Hexadecimal
To convert a binary number to hexadecimal number, these steps are followed −
Starting from the least significant bit, make groups of four bits.
If there are one or two bits less in making the groups, 0s can be added after the
most significant bit.
Convert each group into its equivalent octal number.
1101101101012 = DB516
20. Octal to hexadecimal
Using the below two methods, we can convert the octal number system into the
hexadecimal number system.
1. Convert the octal number into binary and then convert the binary into
hexadecimal.
2. Convert the octal number into decimal and then convert the decimal into
hexadecimal.
Let's convert the octal number into the hexadecimal number system
21. Octal -> Binary -> Hexadecimal
Let's convert (56)8 into hexadecimal
Step 1 : Convert (56)8 into Binary
In order to convert the octal number into binary, we need to express every octal value using 3
binary bits.
Binary equivalent of 5 is (101)2.
Binary equivalent of 6 is (110)2.
= (56)8
= (101)(110)
= (101110)2
Step 2 : Convert (101110)2 into Hexadecimal
In order to convert the binary number into hexadecimal, we need to group every 4 binary bits
and calculate the value[From left to right].
(101110)2 in hexadecimal
= (101110)2
= (10)(1110)
= (2)(14) = = (2E)16
22. (2C1)16 = (1011000001)2
2 C 1
2 12 1
8421 8421 8421
0010 1100 0001
Hex to binary conversion
9DB2)16 = (1001110110110010)2
9 D B 2
9 13 11 2
8421 8421 8421 8421
1001 1101 1011 0010
Every Hexadecimal digits grouping by 4.
23. Decimal to Binary
(10.25)10
Keep multiplying the fractional part with
2 until decimal part 0.00 is obtained.
(0.25)10 = (0.01)2
Example for Fractional part
1010.01
25. Decimal to Octal
(10.25)10
(10)10 = (12)8 Fractional part: 0.25 x 8 = 2.00
Note: Keep multiplying the fractional part with 8 until decimal part .00 is obtained.
(.25)10 = (.2)8
Answer: (10.25)10 = (12.2)8
27. Arithmetic Operations
Basic Addition and Subtraction
• Binary numbers are added like decimal numbers.
– In decimal, when numbers sum more than 9, a carry results.
– In binary when numbers sum more than 1, a carry takes
place
• Addition is the basic arithmetic operation used by
digital devices for subtraction, multiplication &
division
43. Identify the basic gates and describe the behavior of
each
Combine basic gates into circuits
Describe the behavior of a gate or circuit using
Boolean expressions, truth tables, and logic diagrams
Outline
44. Birth of Logic Gates
Semiconductor
Diode
Transistor Logic Gates
45. Logic Gates
• A logic gate is a device that acts as a building block for digital circuits
• They perform basic logical functions that are fundamental to digital circuits
• Most electronic devices we use today will have some form of logic gates in them
• For example, logic gates can be used in technologies such as smartphones, tablets
or within memory devices
• In a circuit, logic gates will make decisions based on a combination of digital
signals coming from its inputs. Most logic gates have two inputs and one output
• At any given moment, every terminal is in one of the
two binary conditions, false or true. False represents 0, and true represents 1
• Logic gates are commonly used in integrated circuits (IC)
47. How do we describe the behavior of gates and circuits?
Boolean expressions
Uses Boolean algebra, a mathematical notation for expressing two-
valued logic
Logic diagrams
A graphical representation of a circuit; each gate has its
own symbol
Truth tables
A table showing all possible input value and the associated
output values
48. AND Gate
A
B
Q
A B Q
0 0 0
0 1 0
1 0
1 1 1
0
Truth Table
Q=A.B
Boolean expressions
49. A
B
Q
A B Q
0 0 0
0 1 1
1 0 1
1 1 1
OR Gate Truth Table
Q=A+B
Boolean expressions
50. A Q
A Q
0 1
1 0
NOT Gate Truth Table
Q=A
Boolean expressions
61. 0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
A B C
0
OR
A
Y
NOT
AND
B
C
AND
0
0
1
0
1
1
1
1
Y
62. 0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
A B C
0
1
0
OR
A
Y
NOT
AND
B
C
AND
0
1
0
0
1
0
0
0
Y
63. 0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
A B C
0
1
0
0
OR
A
Y
NOT
AND
B
C
AND
0
1
1
0
1
1
1
1
Y
64. 0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
A B C
0
1
0
1
0
0
1
0
OR
A
Y
NOT
AND
B
C
AND
1
1
1
1
0
0
1
1
Y
65. 65
Gates are combined into circuits by using the output of
one gate as the input for another
Combinational Circuits
66. 66
Three inputs require eight rows to describe all possible input
combinations
This same circuit using a Boolean expression is (AB + AC)
Combinational Circuits
67. 67
Consider the following Boolean expression A(B + C)
Does this truth table look familiar?
Combinational Circuits
68. 68
Combinational Circuits
Circuit equivalence
Two circuits that produce the same output for
identical input
Boolean algebra allows us to apply provable
mathematical principles to help design circuits
A(B + C) = AB + BC (distributive law) so circuits
must be equivalent
69. 1’s and 2’s Complement
1’s Complement
• 1’s complement of N is defined as (2n -1)-N.
– If n=4 have (2n -1) being 1 0000 - 1 = 1111
• So for n=4 would subtract any 4-bit binary number
from 1111.
• This is just inverting each bit.
• Example: 1’s compliment of 1011001
• is 0100110
70. 2’s complement
• The 2’s complement is defined as 2n-N
• Can be done by subtraction of N from 2n or
adding 1 to the 1’s complement of a number.
• For 6 = 0110
– The 1’s complement is 1001
+1
– The 2’s complement is 1010
72. Binary Codes
“An n-bit binary code is a group of n bits that
assume up to 2n distinct combinations of 1s
and 0s, with each combination representing
one element of the set being coded”
73. Binary Coded Decimal (BCD)
• The BCD is simply the 4 bit representation of
the decimal digit.
• It’s a Positioned Weight
11
75. Excess 3 Code
Excess of 3 to the BCD
For an Example we take Decimal 22
2 2 0010 0010
Decimal BCD
3 3
5 5
0011 0011 Excess of 3 added with BCD
0101 0101 Excess 3 Code for 22
77. Gray Code
• Its known as Reflected Codes
• Unweighted Codes
• We call it Gray Code after Frank Gray
• Unit Distance Code and Minimum Error Code
• Cyclic Code
78. • Two Successive Values differ in
only 1 Bit
• Binary number is converted to Gray
Code to reduce switching
Operations
• Widely Used in Error Correction in
Digital Communications
Decimal Binary Gray
79. Binary to Gray Code
0000 0000
Decimal Binary Gray
+ +
+
0001 0001
+ +
+
X OR Operation
0
1
Decimal Binary Gray
80. Boolean Algebra
• VERY nice machinery used to manipulate (simplify) Boolean
functions
• George Boole (1815-1864): “An investigation of the laws of
thought”
• Terminology:
– Literal: A variable or its complement
– Product term: literals connected by •
– Sum term: literals connected by +
81. Boolean Algebra Properties
Let X: boolean variable, 0,1: constants
1. X + 0 = X -- Zero Axiom
2. X • 1 = X -- Unit Axiom
3. X + 1 = 1 -- Unit Property
4. X • 0 = 0 -- Zero Property
82. Let X: boolean variable, 0,1: constants
5. X + X = X -- Idepotence
6. X • X = X -- Idepotence
7. X + X’ = 1 -- Complement
8. X • X’ = 0 -- Complement
9. (X’)’ = X -- Involution
83. Let X,Y, and Z: boolean variables
10. X + Y = Y + X 11. X • Y = Y • X -- Commutative
12. X + (Y+Z) = (X+Y) + Z 13. X•(Y•Z) = (X•Y)•Z -- Associative
14. X•(Y+Z) = X•Y + X•Z 15. X+(Y•Z) = (X+Y) • (X+Z) -- Distributive
16. (X + Y)’ = X’ • Y’ 17. (X • Y)’ = X’ + Y’ -- DeMorgan’s
In general,
( X1 + X2 + … + Xn )’ = X1’•X2’• … •Xn’, and
( X1•X2•… •Xn )’ = X1’ + X2’ + … + Xn’
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100. K Map Simplifications
What are Karnaugh maps?
• Karnaugh maps provide an alternative way of simplifying logic circuits.
• Instead of using Boolean algebra simplification techniques, you can transfer
logic values from a Boolean statement or a truth table into a Karnaugh map.
• The arrangement of 0's and 1's within the map helps you to visualise the
logic relationships between the variables and leads directly to a simplified
Boolean statement.
101. • Karnaugh maps, or K-maps, are often used to simplify logic problems with 2,
3 or 4 variables.
Cell = 2n ,where n is a number of variables