Docsity

Digital and Analog Electronics: Comparison and Applications, Study notes of Electronics

Toggle sidebar
bg1
✍️JPTS Institute
DIGITAL ELECTRONICS AND COMPUTER PROGRAMMING USING OO-BASIC.(COM 201)
Digital Ellectronics.
Digital electronics is a field of electronics involving the study of digital signals and the
engineering of devices that is use or produce them.
A circuit is the path that an electric current travels on, and a simple circuit contains three components
necessary to have a functioning electric circuit, namely, have these key points:
1. A source of voltage,
2. A conductive path, and
3. A resistor.
Circuits are driven by flows. Flows are ubiquitous in nature and are often the result of spatial differences in
potential energy.
In a simple circuit, voltage flows through the conductive path to the resistor, which does some work.
Resistors--things like light bulbs, speakers, and motors--and electric circuits power these devices to do the
work that their makers wanted them to do.
Types of Electronic Circuit:
1. Discrete Circuit (DC)
2. Integrate Circuit (IC)
Digital electronics is a field of electronics involving the study of digital signals and the engineering of
devices that use or produce them.
A digital signal has two or more distinguishable waveforms, in this example, high voltage and low
voltages, each of which can be mapped onto a digit.0
An industrial digital controller
Digital electronic circuits are usually made from large assemblies of logic gates, often packaged in
integrated circuits.
1The metal–oxide–semiconductor field-effect transistor (MOSFET), also known as the MOS transistor,
was invented by Mohamed Atalla and Dawon Kahng at Bell Labs in 1959.
The MOSFET's advantages include high scalability,affordability, low power consumption, and High
transistor density.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18

Partial preview of the text

Download Digital and Analog Electronics: Comparison and Applications and more Study notes Electronics in PDF only on Docsity!

✍️ JPTS Institute

DIGITAL ELECTRONICS AND COMPUTER PROGRAMMING USING OO-BASIC.(COM 201)

Digital Ellectronics.

Digital electronics is a field of electronics involving the study of digital signals and the

engineering of devices that is use or produce them.

A circuit is the path that an electric current travels on, and a simple circuit contains three components necessary to have a functioning electric circuit, namely, have these key points:

**1. A source of voltage,

  1. A conductive path, and
  2. A resistor. Circuits are driven by flows. Flows are ubiquitous in nature and are often the result of spatial differences in potential energy. In a simple circuit, voltage flows through the conductive path to the resistor, which does some work. Resistors--things like light bulbs, speakers, and motors--and electric circuits power these devices to do the work that their makers wanted them to do.** **Types of Electronic Circuit:
  3. Discrete Circuit (DC)
  4. Integrate Circuit (IC)** Digital electronics is a field of electronics involving the study of digital signals and the engineering of devices that use or produce them. A digital signal has two or more distinguishable waveforms, in this example, high voltage and low voltages, each of which can be mapped onto a digit. An industrial digital controller Digital electronic circuits are usually made from large assemblies of logic gates, often packaged in integrated circuits. 1The metal–oxide–semiconductor field-effect transistor (MOSFET), also known as the MOS transistor, was invented by Mohamed Atalla and Dawon Kahng at Bell Labs in 1959. The MOSFET's advantages include high scalability,affordability, low power consumption, and High transistor density.

Properties A continuous audio signal transmitted as a sequence of 1s and 0s, can be reconstructed without error. With computer-controlled digital systems, new functions can be added through software revision and no hardware changes are needed. Information storage can be easier in digital systems than in analog ones. Construction A digital circuit is typically constructed from small electronic circuits called logic gates that can be used to create combinational logic. Each logic gate is designed to perform a function of boolean logic when acting on logic signals. Design Engineers use many methods to minimize logic redundancy in order to reduce the circuit complexity. Reduced complexity reduces component count and potential errors and therefore typically reduces cost. Logic redundancy can be removed by several well-known techniques, s uch as binary decision diagrams, Boolean algebra, Karnaugh maps, the Quine–McCluskey algorithm, and the heuristic computer method. These operations are typically performed within a computer-aided design system. These systems are usually programmed by software engineers or by electricians, using ladder logic. Representation Representations are crucial to an engineer's design of digital circuits. To choose representations, engineers consider different types of digital systems. The classical way to represent a digital circuit is with an equivalent set of logic gates. Each logic symbol is represented by a different shape. The actual set of shapes was introduced in 1984 under IEEE/ANSI standard 91-1984 and is now in common use by integrated circuit manufacturers. Another way is to construct an equivalent system of electronic switches (usually transistors). This can be represented as a truth table. Most digital systems divide into combinational and sequential systems. A combinational system always presents the same output when given the same inputs. 0A sequential system is a combinational system with some of the outputs fed back as inputs. This makes the digital machine perform a sequence of operations. The simplest sequential system is probably a flip flop, a mechanism that represents a binary digit or "bit". Sequential systems are often designed as state machines. In this way, engineers can design a system's gross behavior, and even test it in a simulation, without considering all the details of the logic functions.

  1. Usually, it is easy to modify or correct some errors in analog circuits. While Correcting errors or modifying digital circuits is hard and, in some cases, it is not possible.
  2. As the natural signals are usually analog, analog circuits generally do not need any additional interfacing module. While As the natural signals are usually analog, we need to convert them into digital signals. Hence, digital circuits need additional modules to interface with the physical world.
  3. As there is no need to convert the signal for the circuit, ideally there is no loss of information. While As we need to convert analog signals into digital signals in order to use them in the circuit, there appears a loss of information. Analog Circuits Analog circuits are the electronic circuits that deal with analog signals or analog data, i.e., the amplitude of the input, output, and intermediate signals of analog circuits can have any values. The fundamental components such as resistors, capacitors, inductors, diodes, transistors, OPAMPs, etc. are actually analog circuit components. They are capable of handling analog signals. Analog circuit designs can be easy and simple, such as voltage divider using resistors, passive RC filters, OPAMP circuits, etc. Advantages of Analog Circuits
  4. Analog circuits have a comparatively easy design. 2 In the case of analog circuits, error correction or modification are easy.
  5. We do not need any additional circuitry for interfacing the circuit with the physical world.
  6. There is ideally no loss of information or data in analog circuits. Disadvantages of Analog Circuits
  7. It is hard to design analog circuits with high precision and efficiency.
  8. Analog circuits are less immune to noise or error.
  9. Analog circuits are comparably less reliable. Digital circuits Digital circuits are made using logic gates. T hey are the building blocks of digital circuits. Adder, subtractor, multiplexer, demultiplexer, encoder, decoder, flip-flops, memory, etc. Advantages of Digital Circuits
  10. Digital circuits are more energy/power efficient.
  1. In digital circuits, it is easier to achieve high precision and efficiency.
  2. Digital circuits are more immune to noise and error.
  3. Digital circuits are more reliable. Disadvantages of Digital Circuits
  4. Digital circuits are hard to design.
  5. Digital circuits are hard to modify.
  6. We need additional circuitry to interface digital circuits with the physical world.
  7. There appears a loss of information in digital circuits due signal conversion.

Electronic gates

In digital electronics, gates are electrical functions that are performed on 1's and 0's. Sort of like simple math. One example of this is the AND gate. There are two inputs and one output to an AND gate. The output is only a 1 if both inputs are a 1. If either input is a 0, the output is a 0. An even simpler gate is the Inverter. Electronic chips Electronic chips are a whole bunch of electronic gates put into one small area. These chips can have millions and millions of gates in order to do all sorts of complex stuff. There are chips that do graphics for your computer screen, chips that have lots of memory for saving data, and chips that run programs like your computer's CPU. To make electronic chips, special materials called semiconductors are used together with expensive precision equipment. Uses of Digital electronics Digital electronics are used throughout the world including in computers, iPods, video games, televisions, cameras, cell phones, and cars. list of measuring instruments used in electrical and electronic work 1. Ammeter(Ampermeter): Measures current

2. Capacitance mete r: Measures the capacitance of a component 3. Current clamp: Measures current without physical connection 4. Curve tracer: Applies swept signals to a device and allows display of the response 5. Cos Phi Mete r: Measures the power factor

29. Video signal generator: Generates video signal for testing purposes 30. Voltmeter; Measures the potential difference between two points in a circuit. (Includes: DVM and VTVM) 31. VU meter Measures the level of AF signals in Volume units 32. CRO(Cathode Ray Oscilloscope): Check transistor Limitations of Different Types of Integrated Circuits

  1. It functions at low voltage
  2. It generates noise while operating
  3. A high rating of PNP is not probable
  4. Its components are voltage-dependent like resistors & capacitors
  5. It is delicate
  6. Fabrication of an IC through low noise is difficult
  7. The temperature coefficient is difficult to be achieved.
  8. Assembly of high-grade PNP is not achievable.
  9. Watt power rating is not possible **Different Types of ICS
  10. Digital Integrated Circuits** The above figure shows the steps involved in designing typical digital integrated circuits. These digital ICs are frequently used in computers, microprocessors, digital signal processors, computer networks, and frequency counters. 2. Analog Integrated Circuits The integrated circuits that operate over a continuous range of signals are called Analog ICs. 3. Linear Integrated Circuits In an analog integrated circuit, if a linear relation among its voltage as well as current exists then it is known as linear IC. 4. Radio Frequency Integrated Circuits

In analog IC, if a non-linear relation among its voltage & current exists then it is called radiofrequency ICs. This kind of IC is also known as a radio frequency integrated circuit.

5. Mixed Integrated Circuits The integrated circuits that are obtained by the combination of analog and digital ICs on a single chip are called Mixed ICs. Mixed Integrated Circuits This mixed-signal Systems-on-a-chip is a result of advances in the integration technology, which enabled to the integration of digital, multiple analogs, and RF functions on a single chip. General examples of integrated circuits(ICs) include the following: Logic Circuits These ICs are designed using logic gates-that work with binary input and output (0 or 1). Comparators The comparator ICs are used as comparators for comparing the inputs and then to produce an output based on the ICs’ comparison. Switching ICs Switches or Switching ICs are designed by using the transistors and are used for performing the switching operations Audio Amplifiers The audio amplifiers are one of the many types of ICs, which are used for the amplification of the audio. CMOS Integrated Circuit CMOS integrated circuits are extremely used in different applications as compared with FETs because of their capabilities like lower threshold voltage, low-power consumption. These are generally used in audio speakers, television circuits, and so on. The above circuit shows the low- voltage audio amplifier IC. Voltage Regulator ICs This kind of integrated circuit provides a stable DC output despite the changes within DC input. The commonly used type regulators are LM309, uA723, LM105 & 78XX ICs. Operational Amplifiers

  1. A low-temperature coefficient cannot be achieved
  2. The power dissipation range is up to 10 watts
  3. High voltage and low noise operation cannot be obtained.. ELECTRONIC COMPONENTS, PARTS AND THEIR FUNCTION. Electronic Components are intended to be connected together, usually by soldering to a P rinted Circuit Board (PCB), to create an electronic circuit with a particular function (for example an amplifier, radio receiver, oscillator, wireless). Some of the Main Electronic Components are: Resistor, Capacitor, Transistor, Diode, Operational Amplifier, Resistor Array, Logic Gate etc. **Types of Electronic Components
  4. Passive Electronic Components Passive Electronic Components are those that do not have gain or directionality. They are also called Electrical elements or electrical components. e.g. Resistors, Capacitors, Diodes, Inductors.
  5. Active Electronic Components Active Electronic Components are those that have gain or directionality. e.g. Transistors, Integrated Circuits (IC), Logic Gates. Electronic Components and Their Function
  6. Capacitors:** Function of this Basic Electronic Components is to store electrical charge in an electrical field. 2. Diodes: Components that conduct electricity in only one direction. 3. Integrated Circuits or ICs: A microelectronic computer electronic circuit incorporated into a chip or semiconductor; a whole system rather than a single component. 4. Magnetic or Inductive Components : These are Electrical components that use magnetism. 5. Network Components: Components that use more than 1 type of Passive Component. 6. Piezoelectric devices, crystals, resonators:

Passive components that use piezoelectric. effect.

7. Resistors: Components used to resist current. 8. Semiconductors: Electronic control components with no moving parts. 9. Switches: Components that may be made to either conduct (closed) or not (open). 10. Terminals and Connectors: Components to make electrical connection. 11. Transistors: A semiconductor device capable of amplification.

Logic Gates

A Logic Gate accepts the input and operates on a required condition. If a certain condition is true, it turns “ON” and goes “OFF” when the condition is false. Working Principle of Logic Gates To understand the working principle of Logic Gates, let us consider the example of Street Lighting System. E.g., Switch: On = 1, Off = 0 Light Sensor: Dark = 0, Bright = 1 Street Light: On = 1, Off = 0 Applications of Logic Gates

  1. NAND Gates are used in Burglar alarms and buzzers.
  2. They are basically used in circuits involving computation and processing.
  3. They are also used in push button switches. E.g. Door Bell.
  4. They are used in the functioning of street lights. 5.AND Gates are used to enable/inhibit the data transfer function.
  5. They are also used in TTL (Transistor Transistor Logic) and CMOS circuitry.

5. NOR

6. EXOR

7. EXNOR

Truth Table

1) NOT gate truth table (A barA) A Z 0 1 1 0 2) AND gate truth table(AB) A B Z 0 0 0 0 1 0 1 0 0 1 1 1 3) OR gate truth table((A÷B) A B Z 0 0 0 0 1 1 1 0 1 1 1 1 Alternative Logic gate. 4) NAND gate truth table(A+B) with bar A B Z 0 0 1 0 1 1

5) NOR gate truth table(A+B) with bar A B Z 0 0 1 0 1 0 1 0 0 1 1 0 6) EX-OR gate truth table(A+B) A B Z 0 0 0 0 1 1 1 0 1 1 1 0 7) EX-NOR gate truth table(A+B) A B Z 0 0 1 0 1 0 1 0 0 1 1 1 By use of De Morgan's laws, an AND function is identical to an OR function with negated inputs and outputs. Likewise, an OR function is identical to an AND function with negated inputs and outputs. A NAND gate is equivalent to an OR gate with negated inputs, and a NOR gate is equivalent to an AND gate with negated inputs. This leads to an alternative set of symbols for basic gates that use the opposite core symbol (AND or OR) but with the inputs and outputs negated. NB: Basic logic gates can be combined to form a variety of higher-level units:

Binary Number System (Base 2 Number System)

The base 2 number system is also known as the Binary number system wherein, only two binary digits exist, i.e., 0 and 1. Specifically, the usual base-2 is a radix of 2. The figures described under this system are known as binary numbers which are the combination of 0 and 1. For example, 110101 is a binary number. We can convert any system into binary and vice versa. Example Write (14)10 as a binary number. Solution: 2 14 2 7 0 2 3 1 1 1 Base 2 Number System Example ∴ (14)10 = 110 Base2.

Octal Number System (Base 8 Number System)

In the octal number system, the base is 8 and it uses numbers from 0 to 7 to represent numbers. Octal numbers are commonly used in computer applications. Converting an octal number to decimal is the same as decimal conversion and is explained below using an example. Example: Convert 2158 into decimal. Solution: 2158 = 2 × 82 + 1 × 81 + 5 × 80+8×79. = 2 × 64 + 1 × 8 + 5 × 1 = 128 + 8 + 5 = 14110

Hexadecimal Number System (Base 16 Number System)

In the hexadecimal system, numbers are written or represented with base 16. In the hex system, the numbers are first represented just like in decimal system, i.e. from 0 to 9. Then, the numbers are

represented using the alphabets from A to F. The below-given table shows the representation of numbers in the hexadecimal number system. Hexadecimal 0 1 2 3 4 5 6 7 8 9 A B C D E F Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Number System Conversion

Numbers can be represented in any of the number system categories like binary, decimal, hex, etc. Also, any number which is represented in any of the number system types can be easily converted to other. Example 1: Convert (1056)16 to octal number. Solution: Given, 105616 is an hex number. First we need to convert the given hexadecimal number into decimal number (1056) = 1 x 163 + 0 x 162 + 5 x 161 + 6 x 160 = 4096 + 0 + 80 + 6 = (4182) Now we will convert this decimal number to the required octal number by repetitively dividing by 8. 8 4182 Remainder 8 522 6 8 65 2 8 8 1 8 1 0 0 1 Therefore, taking the value of remainder from bottom to top, we get; (4182)10 = (10126)

Now convert 001011002 into a decimal number. 101100 = 1×25+1×23+1× =32+8+ = Computer Numeral System (Number System in Computers) When we type any letter or word, the computer translates them into numbers since computers can understand only numbers. A computer can understand only a few symbols called digits and these symbols describe different values depending on the position they hold in the number. Why is the Number System Important? The number system helps to represent numbers in a small symbol set. What is Base 1 Number System Called? The base 1 number system is called the unary numeral system and is the simplest numeral system to represent natural numbers. What is the equivalent binary number for the decimal number 43? To find the equivalent binary number, we need to divide 43 by 2, until we get 0 as the result. Therefore, (43)10 = 1010112 How to convert 308 into a decimal number? 308 = (3×81)+(0×80) = 24

Units of storage

Everything in a computer is stored as 1s and 0s. A single 1 or a single 0 in a computer is called a 'bit'. If we store a character in a computer it takes eight 1s and 0s, so we might say it takes eight bits to store a character. Imagine you had to write a 1000 word essay. If we assume that each word has an average of five letters, we can do a rough calculation to work out how many bits it would take to store the essay. If each letter takes eight bits to store and we have five letters in a word then each word would take forty bits to store. If we have 1000 words then we would need to multiply 1000 by 40 which gives us 40,000 bits. We would also have to store the spaces between words (a space uses the ASCII code 32). This will of course, add more bits to this number.

The number of bits (1s and 0s) that we store in a computer adds up very quickly. Remember too that pictures and videos are stored as 1s and 0s and these take many, many bits to store. If you had a video on your computer you might look at the size of it and see that it was made up of 1,258,291,200 bits. Clearly this is a large number and so thankfully we can convert this to other units that make it easier to work with. As already stated above, a single 1 or a single 0 in a computer is called a bit. The next unit up is called a byte and a byte is 8 bits together. 1 = 1bit 0100 1011 = 1 byte 0010 0101 0100 1011 = 2 bytes The next unit is called a kilobyte. Kilo, as in kilometre or kilogram, means 1000. Although, in computer terms, kilo means 1024, so 1 kilobyte is 1024 bytes. The next unit up is called a megabyte. 1 megabyte is 1024 kilobytes. After that it's a gigabyte, which is 1024 megabytes. Can you see the pattern? You just take the unit before and multiply it by 1024. 1024 gigabytes are called a terabyte and 1024 terabytes are 1 petabyte. 1 petabyte is made up of 9,007,199,254,740,992 bits. The start of each word (before the ‘byte’) is called a prefix. We use these in everyday life too: I wouldn’t give my car's weight in grams, though I technically could. I would add the ‘kilo’ prefix to describe the weight in Kilograms, which would be more sensible. In Computing Science, we use prefixes to stop us having to write down enormous numbers – a Terabyte is in reality 1125899906842624 bytes! In summary,unit of storage are as follows: A Bit is the smallest unit. A Nibble - 4 bit. A Byte - 8 bit. A Kilobyte (KB) - 1,024 Byte. A Megabyte (MB) - 1,024 KB. A Gigabyte (GB) - 1,024 MB. A Terabyte (TB) - 1,024 GB. A Petabyte (PB) - 1,024 TB.