Electronics: Whole Brain Learning System Outcome - Based Education
Electronics: Whole Brain Learning System Outcome - Based Education
Electronics: Whole Brain Learning System Outcome - Based Education
ELECTRONICS 10
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:
Pre-Test
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 B. Electronic Counters
C. Flip-Flop D. Semiconductor Memory
2. It is a group of flip-flop use to increase the storage capacity in terms of number of bits.
A. Digital Registers B. Electronic Counters
C. Flip-Flop D. Semiconductor Memory
4. It is a 1-bit memory cell which can be used for storing the digital data.
A. Digital Registers B. Electronic Counters
C. Flip-Flop D. Semiconductor Memory
5. It is more compact and also more complex than electro-mechanical timers.
A. Electronic Timer B. Electronic Timex
C. Electromagnetic Timer D. Electromagnetic Timex
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
WBLS-OBE MELC-Aligned Self-Learning Module Electronics (Grade 10)
3
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:
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:
Clock
Q1 Q0 (Q1:Q0) decimal
cycle
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
Decade counter
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.
Lesson
DIGITAL REGISTERS
2
Flip-flop is a 1-bit memory cell which can be used for storing the digital data. To
increase the storage capacity in terms of number of bits, we have to use a group of flip-flop.
Such a group of flip-flop is known as a Register. The n-bit register will consist of n number
of flip-flop and it is capable of storing an n-bit word.
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.
Let all the flip-flop be initially in the reset condition i.e. Q 3 = Q2 = Q1 = Q0 = 0. If an
entry of a four-bit binary number 1 1 1 1 is made into the register, this number should be
WBLS-OBE MELC-Aligned Self-Learning Module Electronics (Grade 10)
8
applied to Din bit with the LSB bit applied first. The D input of FF-3 i.e. D 3 is connected to
serial data input Din. Output of FF-3 i.e. Q3 is connected to the input of the next flip-flop i.e.
D2 and so on.
Din
D3 Q3 D2 Q2 D1 Q1 D0 Q0
Before application of clock signal, let Q3 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
Source: https://www.tutorialspoint.com/computer_logical_organization/digital_registers.htm
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
Source: https://www.tutorialspoint.com/computer_logical_organization/digital_registers.htm
Apply the next bit to be stored i.e. 1 to D in. 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.
Source: https://www.tutorialspoint.com/computer_logical_organization/digital_registers.htm
Similarly, with Din = 1 and with the fourth negative clock edge arriving, the stored
word in the register is Q3 Q2 Q1 Q0 = 1111.
Din
D3 Q3 D2 Q2 D1 Q1 D0 Q0
Output
CLK
Source: https://www.tutorialspoint.com/computer_logical_organization/digital_registers.htm
Truth Table
Source: https://www.tutorialspoint.com/computer_logical_organization/digital_registers.htm
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.
Shift mode
When the shift/load bar line is low (1), the AND gate 2, 4 and 6 become inactive.
Hence the parallel loading of the data becomes impossible. But the AND gate 1,3 and 5
become active. Therefore, the shifting of data from left to right bit by bit on application of
clock pulses. Thus the parallel in serial out operation takes place.
Block Diagram
B0 B1 B2 B3
D0 Q0 D1 Q1 D2 Q2 D3 Q3
Source: https://www.tutorialspoint.com/computer_logical_organization/digital_registers.htm
WBLS-OBE MELC-Aligned Self-Learning Module Electronics (Grade 10)
12
Parallel Input Parallel Output (PIPO)
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
DR
DL
D3 Q3 D2 Q2 D1 Q1 D0 Q0
Source: https://www.tutorialspoint.com/computer_logical_organization/digital_registers.htm
Operation
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 register which can shift the data in
both directions as well as load it parallely, 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.
Block Diagram
The two basic operations performed by a memory chip are "read", in which the data
contents of a memory word are read out (nondestructively), and "write" in which data is
stored in a memory word, replacing any data that was previously stored there. To increase
data rate, in some of the latest types of memory chips such as DDR SDRAM multiple words
are accessed with each read or write operation.
Types
Volatile Memory
Ram chips for computers usually come on removable memory module like these.
Additional memory can be added to the computer by plugging in additional modules.
Volatile memory loses its stored data when the power to the memory chip is turned
off. However, it can be faster and less expensive than non-volatile memory. This type is
used for the main memory in most computers, since data is stored on the hard disk while the
computer is off. Major types are.
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.
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.
OBJECTIVES:
SITUATION: Chadz wanted to familiarize himself with the 4 block diagrams for the different
mode of operations of a shift register, he wanted you to draw and label the 4
block diagrams for the different mode of operations of a shift register on long
bond paper.
POST TEST
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 B. Electronic Counters
C. Flip-Flop D. Semiconductor Memory
2. It is more compact and also more complex than electro-mechanical timers.
A. Electronic Timer B. Electronic Timex
C. Electromagnetic Timer D. Electromagnetic Timex
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 B. Electronic Counters
C. Flip-Flop D. Semiconductor Memory
4. It is a group of flip-flop use to increase the storage capacity in terms of number of bits.
A. Digital Registers B. Electronic Counters
C. Flip-Flop D. Semiconductor Memory
PRE-ASSESSMENT POST-ASSESSMENT
1. B 1. C
2. A 2. A
3. D 3. B
4. C 4. A
5. A 5. D
ACTIVITY 1
1. SERIAL INPUT SERIAL OUTPUT
2. SERIAL INPU PARALLEL OUTPUT
3. PARALLEL INPUT SERIAL OUTPUT
4. PARALLEL INPUT PARALLEL OUTPUT
5. RANDOM ACCESS MEMORY
www.specialtyproducttech
Wikipedia encyclopedia
https://www.tutorialspoint.com/computer_logical_organization/digital_registers.htm
- Grob, Bernard. Grob Basic Electronics, 7th Edition; New York: Mc Graw-Hill Book
Company: 1993