www.allsyllabus.com 147302 DIGITAL ELECTRONICS Mrs. J. Joselin Jeyasheela/Sr. Lect/ECE Advantages The usual advantages of digital circuits when compared to analog circuits are: Digital systems interface well with computers and are easy to control with software. New features can often be added to a digital system without ch hardware. Often this can be done outside of the factory by updating the product's software. So, the product's design errors can be corrected after the p is in a customer's hands. Information storage can be easier in digital systems than in analog ones. The noise-immunity of digital systems permits dat stored and retrieved without degradation. In an analog system, noise from aging and wear degrade the information stored. In a digital system, as long as the total noise is below a certain level, the information can be recovered perfectly. Robustness One of the primary advantages of digital electronics is its robustness. Digital electronics are robust because if the noise is less than the noise margin then the system performs as if there were no noise at all. Therefore, digital signals can be regenerated to achieve lossless data transmission, within certain limits. Analog signal transmission and processing, by contrast, always introduces noise. Disadvantages In some cases, digital circuits use more energy than analog circuits to accomplish the same tasks, thus producing more heat as well. In portable or battery-powered systems this can limit use of digital systems. For example, battery-powered cellular telephones often use a low-power analog front-end to amplify and tune in the radio signals from the base station. However, a base station has grid power and can use power-hungry, but very flexible software radios. Such base stations can be easily reprogrammed to process the signals used in new cellular standards. Digital circuits are sometimes more expensive, especially in small quantities. The sensed world is analog, and signals from this world are analog quantities. For example, light, temperature, sound, electrica conductivity, electric and magnetic fields are analog. Most useful digital systems must translate from continuous analog sign als to discrete digital signals. This causes quantization errors. Quantization error can be reduced if the system stores enough digital data to represent the signal to the desired degree of fidelity. The Nyquist-Shannon sampling theorem provides an important guideline as to how much digital data is needed to accurately portray a given analog signal.
UNIT I -NUMBER SYSTEMS Numbering System Many number systems are in use in digital technology. The most common are the decimal, binary, octal, and hexadecimal systems. The decimal system is clearly the most familiar to us because it is a tool that we use every day. Examining some of its characteristics will help us to better understand the other systems. In the next few pages we shall introduce four numerical representation systems that are used in the digital system. There are other systems, which we will look at briefly. Decimal Binary Octal Hexadecimal Decimal System The decimal system is composed of 10 numerals or symbols. These 10 symbols are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Using these symbols as digits of a number, we can express any quantity. The decimal system is also called the base-10 system because it has 10 digits. 103 =1000 102 =100 Most Significant Digit 101 =10 100 =1 . Decimal point 10-1 =0.1 10-2 =0.01 10-3 =0.001 Least Significant Digit Even though the decimal system has only 10 symbols, any number of any magnitude can be expressed by using our system of positional weighting. Decimal Examples 3.1410 5210 102410 6400010 Binary System In the binary system, there are only two symbols or possible digit values, 0 and 1. This base-2 system can
be used to represent any quantity that can be represented in decimal or other base system. 23 =8 22 =4 21 =2 20 =1 Most Significant Digit 2-1 =0.5 . Binary point 2-2 =0.25 2-3 =0.125 Least Significant Digit Binary Counting The Binary counting sequence is shown in the table: 23 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 22 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 21 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 20 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Representing Binary Quantities In digital systems the information that is being processed is usually presented in binary form. Binary quantities can be represented by any device that has only two operating states or possible conditions. E.g.. a switch is only open or closed. We arbitrarily (as we define them) let an open switch represent binary 0 and a closed switch represent binary 1. Thus we can represent any binary number by using series of switches. Typical Voltage Assignment Binary 1: Any voltage between 2V to 5V Binary 0: Any voltage between 0V to 0.8V Not used: Voltage between 0.8V to 2V in 5 Volt CMOS and TTL Logic, this may cause error in a digital circuit. Today's digital circuits works at 1.8 volts, so this statement may not hold true for all logic circuits.
We can see another significant difference between digital and analog systems. In digital systems, the exact voltage value is not important; eg, a voltage of 3.6V means the same as a voltage of 4.3V. In analog systems, the exact voltage value is important. The binary number system is the most important one in digital systems, but several others are also important. The decimal system is important because it is universally used to represent quantities outside a digital system. This means that there will be situations where decimal values have to be converted to binary values before they are entered into the digital system. In additional to binary and decimal, two other number systems find wide-spread applications in digital systems. The octal (base-8) and hexadecimal (base-16) number systems are both used for the same purposeto provide an efficient means for representing large binary system. Octal System The octal number system has a base of eight, meaning that it has eight possible digits: 0,1,2,3,4,5,6,7. 83 =512 82 =64 81 =8 80 =1 Most Significant Digit . 8-1 =1/8 Octal point 8-2 =1/64 8-3 =1/512 Least Significant Digit Octal to Decimal Conversion 2378 = 2 x (82) + 3 x (81) + 7 x (80) = 15910 24.68 = 2 x (81) + 4 x (80) + 6 x (8-1) = 20.7510 11.18 = 1 x (81) + 1 x (80) + 1 x (8-1) = 9.12510 12.38 = 1 x (81) + 2 x (80) + 3 x (8-1) = 10.37510 Hexadecimal System The hexadecimal system uses base 16. Thus, it has 16 possible digit symbols. It uses the digits 0 through 9 plus the letters A, B, C, D, E, and F as the 16 digit symbols. 163 =4096 162 =256 161 =16 Most Significant Digit 160 =1 . Hexa Decimal point Hexadecimal to Decimal Conversion 24.616 = 2 x (161) + 4 x (160) + 6 x (16-1) = 36.37510 11.116 = 1 x (161) + 1 x (160) + 1 x (16-1) = 17.062510 16-1 =1/16 16-2 16-3 =1/256 =1/4096 Least Significant Digit