Electronics Module G10 Q2 Week 3 PDF
Electronics Module G10 Q2 Week 3 PDF
Electronics Module G10 Q2 Week 3 PDF
LEARNING QUARTER 2
MODULE WEEK 3
QUARTER 2
WEEK 3
Electronic Timer
Development Team
In order to benefit much from this module, you should learn the different electronic
timers You should also be able to learn the difference between electronic counters, digital
registers, and semiconductor memories.
Learning Objectives:
What I Know
Directions: Choose the letter of the correct answer and write it on a sheet of paper. Do not
write anything on this module.
1. It is a sequential logic circuit which has a clock input signal and a group of output signals
that represent an integer "counts" value.
A. Digital Registers C. Flip-Flop
B. Electronic Counters D. Semiconductor Memory
2. It is a group of flip-flops used to increase the storage capacity in terms of number of bits.
A. Digital Registers C. Flip-Flop
B. Electronic Counters D. Semiconductor Memory
4. It is a 1-bit memory cell which can be used for storing the digital data.
A. Digital Registers C. Flip-Flop
B. Electronic Counters D. Semiconductor Memory
What’s In
Activity 1
ACRONYMS
Direction: Give the complete meaning of the following acronyms. Write your answers on a
separate sheet of paper.
1. SISO -
2. SIPO -
3. PISO -
4. PIPO -
5. RAM –
What’s New
Introduction to Electronic Timers
An electronic timer is more compact and also more complex than electro-
mechanical timers. If feedback/output control functions are required (in terms of an alarm or
another pre-programmed event), an electronic timer is a better fit than an electro-
mechanical timer. Each electronic timer offers digital programmability. Within a computer,
information is represented and stored in a digital binary format. The term bit is an abbreviation
of binary digit and represents the smallest piece of data. Humans interpret words and pictures;
computers interpret only patterns of bits.
What is It
Lesson
ELECTRONIC COUNTERS
1
An electronic counter is a sequential logic circuit which has a clock input signal and
a group of output signals that represent an integer "counts" value. Upon each qualified clock
edge, the circuit will increment (or decrement, depending on circuit design) the counts. When
the counts have reached the end of the counting sequence (maximum counts when
incrementing; zero counts when decrementing), the next clock will cause the counts to
overflow or underflow and the counting sequence will start over. Internally, counters use flip-
flops to represent the current counts and to retain the counts between clocks. Depending on
the type of counter, the output may be a direct representation of the counts (a binary number)
or it may be encoded. Examples of the latter include ring counters and counters that output
Gray codes.
Many counters provide additional input signals to facilitate dynamic control of the
counting sequence, such as:
Reset - sets counts to zero. Some IC manufactures name it "clear" or "master reset (MR)".
Enable - allows or inhibits counting.
Direction - determines whether counts will increment or decrement.
Data - parallel input data which represents a particular counts value.
Load - copies parallel input data to the counts.
Some counters provide a Terminal Count output which indicates that the next clock will
cause overflow or underflow. This is commonly used to implement counter cascading
An asynchronous (ripple) counter is a "chain" of toggle (T) flip-flops wherein the least-
significant flip-flop (bit 0) is clocked by an external signal (the counter input clock) and all other
flip-flops are clocked by the output of the nearest, less significant flip-flop (e.g., bit 0 clocks the
bit 1 flip-flop, bit 1 clocks the bit 2 flip-flop, etc.). The first flip-flop is clocked by rising edges;
all other flip-flops in the chain are clocked by falling clock edges. Each flip-flop introduces a
delay from clock edge to output toggle, thus causing the counter bits to change at different
times and producing a ripple effect as the input clock propagates through the chain. When
implemented with discrete flip-flops, ripple counters are commonly implemented with JK flip-
In the simplest case, a one-bit counter consists of a single flip-flop. This counter will
increment (by toggling its output) once per clock cycle and will count from zero to one before
overflowing (starting over at zero). Each output state corresponds to two clock cycles, and
consequently the flip-flop output frequency is exactly half the frequency of the input clock. If
this output is then used as the clock signal for a second flip-flop, the pair of flip-flops will form
a two-bit ripple counter with the following state sequence:
0 0 0 0
1 0 1 1
2 1 0 2
3 1 1 3
4 0 0 0
Additional flip-flops may be added to the chain to form counters of any arbitrary word
size, with the output frequency of each bit equal to exactly half the frequency of the nearest,
less significant bit.
Ripple counters exhibit unstable output states while the input clock is propagating
through the circuit. The duration of this instability (the output settling time) is proportional to
the number of flip-flops. This makes ripple counters unsuitable for use in synchronous
circuits that require the counter to have a fast output settling time. Also, it is often impractical
to use ripple counter output bits as clocks for external circuits because the ripple effect causes
timing skew between the bits. Ripple counters are commonly used as general-purpose
counters and clock frequency dividers in applications where the instantaneous count and
timing skew is unimportant.
Synchronous counter
In a synchronous counter, the clock inputs of the flip-flops are connected together and
all flip-flops are simultaneously triggered by the common clock. Consequently, all of the flip-
flops change state at the same time (in parallel).
For example, the circuit shown to the right is an ascending (up-counting) four-bit
synchronous counter implemented with JK flip-flops. Each bit of this counter is allowed to
toggle when all of the less significant bits are at a logic high state. Upon clock rising edge, bit
1 toggles if bit 0 is logic high; bit 2 toggles if bits 0 and 1 are both high; bit 3 toggles if bits 2,
1 and 0 are all high.
Decade counter
A decade counter is one that counts in decimal digits, rather than binary. A decade
counter may have each (that is, it may count in binary-coded decimal, as the 7490 integrated
circuit did) or other binary encodings. A decade counter is a binary counter that is designed to
count to 1010 (decimal 10). An ordinary four-stage counter can be easily modified to a decade
counter by adding a NAND gate as in the schematic to the right. Notice that FF2 and FF4
provide the inputs to the NAND gate. The NAND gate outputs are connected to the CLR input
of each of the FFs. It counts from 0 to 9 and then resets to zero. The counter output can be
set to zero by pulsing the reset line low. The count then increments on each clock pulse until
it reaches 1001 (decimal 9). When it increments to 1010 (decimal 10) both inputs of the NAND
gate go high. The result is that the NAND output goes low, and resets the counter to zero. D
going low can be a CARRY OUT signal, indicating that there has been a count of ten.
Ring Counter
A ring counter is a circular shift register which is initiated such that only one of its flip-
flops is the state one while others are in their zero states.
A ring counter is a shift register (a cascade connection of flip-flops) with the output of
the last one connected to the input of the first, that is, in a ring. Typically, a pattern consisting
of a single bit is circulated so the state repeats every n clock cycles if n flip-flops are used.
Johnson Counter
A Johnson counter (or switch-tail ring counter, twisted ring counter, walking ring
counter, or Möbius counter) is a modified ring counter, where the output from the last stage is
inverted and fed back as input to the first stage. The register cycles through a sequence of bit-
patterns, whose length is equal to twice the length of the shift register, continuing indefinitely.
These counters find specialist applications, including those similar to the decade counter,
digital-to-analog conversion, etc. They can be implemented easily using D- or JK-type flip-
flops.
The binary data in a register can be moved within the register from one flip-flop to
another. The registers that allow such data transfers are called as shift registers. There are
four mode of operations of a shift register.
Din
D3 Q3 D2 Q2 D1 Q1 D0 Q0
Before application of clock signal, let Q 3 Q2 Q1 Q0 = 0000 and apply LSB bit of the
number to be entered to Din. So Din = D3 = 1. Apply the clock. On the first falling edge of clock,
the FF-3 is set, and stored word in the register is Q3 Q2 Q1 Q0 = 1000.
Din
D3 Q3 D2 Q2 D1 Q1 D0 Q0
Apply the next bit to Din. So Din = 1. As soon as the next negative edge of the clock
hits, FF-2 will set and the stored word change to Q3 Q2 Q1 Q0 = 1100.
Din
D3 Q3 D2 Q2 D1 Q1 D0 Q0
Apply the next bit to be stored i.e. 1 to Din. Apply the clock pulse. As soon as the third
negative clock edge hits, FF-1 will be set and output will be modified to Q3 Q2 Q1 Q0 = 1110.
Din
D3 Q3 D2 Q2 D1 Q1 D0 Q0
Output
Similarly, with Din = 1 and with the fourth negative clock edge arriving, the stored word
in the register is Q3 Q2 Q1 Q0 = 1111.
CLK
Truth Table
Source: https://www.tutorialspoint.com/computer_logical_organization/digital_registers.htm
Waveforms
Figure 10. Waveforms of the Operation of Serial Input Serial Output (SISO)
Source: https://www.tutorialspoint.com/computer_logical_organization/digital_registers.htm
In such types of operations, the data is entered serially and taken out in parallel
fashion.
Data is loaded bit by bit. The outputs are disabled as long as the data is loading.
As soon as the data loading gets completed, all the flip-flops contain their required
data, the outputs are enabled so that all the loaded data is made available over all the
output lines at the same time.
4 clock cycles are required to load a four-bit word. Hence the speed of operation of
SIPO mode is same as that of SISO mode.
Din D3 Q3 D2 Q2 D1 Q1 D0 Q0
Q3 Q2 Q1 Q0
Load mode
When the shift/load bar line is low (0), the AND gate 2, 4 and 6 become active they
will pass B1, B2, B3 bits to the corresponding flip-flops. On the low going edge of clock, the
binary input B0, B1, B2, B3 will get loaded into the corresponding flip-flops. Thus, parallel
loading takes place.
Block Diagram
B0 B1 B2 B3
D0 Q0 D1 Q1 D2 Q2 D3 Q3
In this mode, the 4-bit binary input B0, B1, B2, B3 is applied to the data inputs D0, D1,
D2, D3 respectively of the four flip-flops. As soon as a negative clock edge is applied, the input
binary bits will be loaded into the flip-flops simultaneously. The loaded bits will appear
simultaneously to the output side. Only clock pulse is essential to load all the bits.
B3 B2 B1 B0
D3 Q3 D2 Q2 D1 Q1 D0 Q0
Q3 Q2 Q1 Q0
If a binary number is shifted left by one position, then it is equivalent to multiplying the
original number by 2. Similarly, if a binary number is shifted right by one position then
it is equivalent to dividing the original number by 2.
Hence if we want to use the shift register to multiply and divide the given binary
number, then we should be able to move the data in either left or right direction.
Such a register is called bi-directional register. A four-bit bi-directional shift register is
shown in fig.
There are two serial inputs namely the serial right shift data input DR, and the serial
left shift data input DL along with a mode select input (M).
DR
DL
D3 Q3 D2 Q2 D1 Q1 D0 Q0
A shift register which can shift the data in only one direction is called a uni-directional
shift register. A shift register which can shift the data in both directions is called a bi-directional
shift register. Applying the same logic, a shift registers which can shift the data in both
directions as well as load it parallels, is known as a universal shift register. The shift register
is capable of performing the following operation −
Parallel loading
Left Shifting
Right shifting
The mode control input is connected to logic 1 for parallel loading operation whereas
it is connected to 0 for serial shifting. With mode control pin connected to ground, the
universal shift register acts as a bi-directional register. For serial left operation, the input is
applied to the serial input which goes to AND gate-1 shown in figure. Whereas for the shift
right operation, the serial input is applied to D input.
Lesson
SEMICONDUCTOR MEMORIES
3
Semiconductor memory is a digital electronic semiconductor device used for digital
data storage, such as computer memory. It typically refers to MOS memory, where data is
stored within metal–oxide–semiconductor (MOS) memory cells on a silicon integrated
circuit memory chip. There are numerous different types using different semiconductor
technologies. The two main types of random-access memory (RAM) are static RAM (SRAM),
which uses several MOS transistors per memory cell, and dynamic RAM (DRAM), which uses
a single MOS transistor and MOS capacitor per cell. Non-volatile memory (such
as EPROM, EEPROM and flash memory) uses floating-gate memory cells, which consist of a
single floating-gate MOS transistor per cell.
Most types of semiconductor memory have the property of random access, which
means that it takes the same amount of time to access any memory location, so data can be
efficiently accessed in any random order. This contrasts with data storage media such as hard
disks and CDs which read and write data consecutively and therefore the data can only be
accessed in the same sequence it was written. Semiconductor memory also has much
As of 2017, semiconductor memory chips sell $124 billion annually, accounting for
30% of the semiconductor industry. Shift registers, processor registers, data buffers and other
small digital registers that have no memory address decoding mechanism are typically not
referred to as "memory" although they also store digital data.
In a semiconductor memory chip, each bit of binary data is stored in a tiny circuit called
a memory cell consisting of one to several transistors. The memory cells are laid out in
rectangular arrays on the surface of the chip. The 1-bit memory cells are grouped in small
units called words which are accessed together as a single memory address. Memory is
manufactured in word length that is usually a power of two, typically N=1, 2, 4 or 8 bits.
In addition to stand alone memory chips, blocks of semiconductor memory are integral
parts of many computer and data processing integrated circuits. For example,
the microprocessor chips that run computers contain cache memory to store instructions
awaiting execution.
Ram chips for computers usually come on removable memory module like these.
Additional memory can be added to the computer
memoryby plugging in additional modules.
Source:
https://en.wikipedia.org/wiki/Semiconductor_memoryhhttphttps://en.wikipedia.org/
Volatile memory loses its stored data when the power to the memory chip is turned off.
wiki/Semiconductor_memoryhttps://en.wikipedia.org/wiki/Semiconductor_memory
However, it can be faster and less expensive than non-volatile memory. This type is used for
www.specialtyproducttechnologies.comhttps://en.wikipedia.org/wiki/Semiconducto
the main memory in most computers, sincer_memory data is stored on the hard disk while the computer
is off. Major types are.
RAM (Random-access memory). This has become a generic term for any semiconductor
memory that can be written to, as well as read from, in contrast to ROM (below), which can
only be read. All semiconductor memory, not just RAM, has the property of random access.
FPM DRAM (Fast page mode DRAM). An older type of asynchronous DRAM that
improved on previous types by allowing repeated accesses to a single "page" of
memory to occur at a faster rate. Used in the mid-1990s.
VRAM (Video random access memory). An older type of dual-ported memory once
used for the frame buffers of video adapters (video cards).
RDRAM (Rambus DRAM). An alternate double data rate memory standard that
was used on some Intel systems but ultimately lost out to DDR SDRAM.
XDR DRAM (Extreme data rate DRAM)
PSRAM (Pseudostatic RAM). This is DRAM which has circuitry to perform memory
refresh on the chip, so that it acts like SRAM, allowing the external memory controller
to be shut down to save energy. It is used in a few game consoles such as the Wii.
What’s More
It is common to connect shift register ICs in cascade, using the serial output of one
register to connect to the serial input of the next register in the chain. For this reason, both
the data and clock inputs and outputs of register ICs are normally buffered.
Some examples from the many commercially available IC registers using these and
similar methods, available in both CMOS and TTL versions, are listed below.
Register Memory
Register holds the small amount of data Memory of the computer can range from
around 32-bits to 64-bits. some GB to TB.
Registers are faster than memory. RAM is much slower than registers.
What I Can Do
ACTIVITY 3
Direction: Draw and label the four-block diagrams for the different mode of operations of a
shift register on a long bond paper.
Directions: Choose the letter of the correct answer and write it on a sheet of paper. Do not
write anything on this module.
1. It is a 1-bit memory cell which can be used for storing the digital data.
A. Digital Registers C. Flip-Flop
B. Electronic Counters D. Semiconductor Memory
3. It is a sequential logic circuit which has a clock input signal and a group of output signals
that represent an integer "counts" value.
A. Digital Registers C. Flip-Flop
B. Electronic Counters D. Semiconductor Memory
4. It is a group of flip-flops use to increase the storage capacity in terms of number of bits.
A. Digital Registers C. Flip-Flop
B. Electronic Counters D. Semiconductor Memory
5. It is a digital electronic device used for digital data storage, such as computer memory.
A. Digital Registers C. Flip-Flop
B. Electronic Counters D. Semiconductor Memory
5. A 5. D
4. C 4. A
3. D 3. B
2. A 2. A
1. B 1. C
PRE-ASSESSMENT POST-ASSESSMENT
References
Grob, Bernard. (1993). Grob Basic Electronics, 7th Edition. New York: Mc Graw-Hill Book
Company.
https://www.tutorialspoint.com/computer_logical_organization/digital_registers.htm
Wikipedia encyclopedia
www.specialtyproducttech