SlideShare a Scribd company logo
1 of 10
Download to read offline
AC 2007-949: CLOSING THE HARDWARE DESIGN LOOP WITH MULTISIM: A
CASE STUDY
Asad Yousuf, Savannah State University
Dr. Asad Yousuf is a Professor of Electronics Engineering Technology at Savannah State
University. Dr. Yousuf has written number of articles published in the ASEE conference
proceedings over the years.
Ayush Bhardwaj, Savannah State University
Ayush Bhardwaj is a student of Georgia Tech Regional Engineering program at Savannah State
University. His major is Electrical Engineering
Crystal Reeves, Savannah State University
Crystal Reeves is a student of Georgia Tech Regional Engineering program at Savannah State
University. Her major is Electrical Engineering.
William Lehman, St. Mary School
Sylvester Chukwukere, Savannah State University
Prof. Sylvester Chuhwukere is an Associate Professor of Electronics Engineering Technology at
Savannah State University.
Shinemin Lin, Savannah State University
Dr. Lin earned Ph.D. from the University of Kansas in 1991. He is teaching mathematics at
Savannah State University. The recent research interest is in the topic of Online Education in
Mathematics
© American Society for Engineering Education, 2007
Page12.365.1
Closing the Hardware Design Loop with Multisim®: A Case Study
Abstract
Most electronics courses taught these days are planned around what is called a lecture-and-lab
environment. This environment traditionally uses lectures on subject matter and is supplemented
by laboratory experience. If the laboratory experiments are not generating the expected results,
very often the whole experiment needs to be repeated. The unexpected results could be due to
faulty components, incorrect design specifications, or improper connections. Nonetheless,
implementing a circuit in the lab with undesired output might be time consuming. However,
having an electronics simulator will enable the students as well as the instructor to analyze the
performance of a circuit prior to implementing the actual hardware components.
This paper investigates design, simulation and implementation of a decade counter using modern
computer hardware and software. This effort will focus on developing an integrated solution of a
digital electronics project that will be based on a hybrid environment in which the design and
experiments will be simulated and tested in virtual as well as with real electronics components.
Students’ outreach program in this study is to motivate students to enroll in Electronics
Engineering Technology program.
Introduction
Traditionally, many institutions world-wide supports the teaching model in which the students
learn circuit theory by participating in lectures, and acquire a deeper fundamental understanding
through complimentary experiments. The laboratory experiments presents a design challenge
that requires students to apply theory from lectures using hand calculations, create and measure
their designs, and then compare their results with the expected values [3]. However, these
laboratory experiments are costly, time-consuming, and complicated to schedule.
With the progression in computer technology several electronics laboratory simulation software
packages are available to academia and industry. The Multisim® software developed by the
Electronics Workbench and National Instruments is a popular circuit capture and simulation
software that is frequently used for education and training. With power and flexibility provided
by Multisim® students gain the advantages of an industry-caliber, easy-to-use circuit simulator.
Multisim® includes powerful virtual instruments, which are simulated instruments found in the
laboratory such as oscilloscopes, multimeters, and function generators, among many others.
These instruments provide students with a fast and intuitive method for obtaining simulation
results while preparing them for the instruments they will use in the laboratory.
Multisim® provides the integrated platform which provides an uninterrupted flow of data from
simulation to prototyping and measurement, bridging the gap between theory and hands-on
learning. This platform will allow students quick and easy access to measurements. An
integrated laboratory presents a unified platform for simulation, prototyping, measurement and
Page12.365.2
comparison. With a consistent approach and the power of computer-based measurement,
students will quickly and easily understand how to implement their design, carry out powerful
simulations, and take important measurements. A conceptual view of the integrated platform is
shown in Figure 1.
Figure 1: A conceptual view of Integrated Platform
This paper explores the hardware design and software simulation of a decade counter. Design
experience included sequential design concepts, selection of components, and software
simulation with Multisim®.
Following paragraphs will describe the sequential design of a decade counter, followed by the
traditional and design implementation of the counter. The comparison of traditional and design
implementation shows that the worst case timing situation are the counting transition from state
0011 to state 0100 and from state 0111 to state 1000.
Methods (Sequential Design)
The design of a synchronous sequential circuits starts from a set of specifications and culminates
in a logic diagram or a list of Boolean functions from which a logic diagram can be obtained. In
contrast to a combinational logic, which is fully specified by a truth table, a sequential circuit
requires a state table for its specification. Steps for the design of sequential circuits are shown in
Figure 2. Page12.365.3
Figure 2: Steps for the Design of Sequential Circuits
A synchronous sequential circuit is made of flip-flops and combinational gates. The design of the
circuit consists of choosing the flip-flops and then finding the combinational structure which,
together with the flip-flops, produces a circuit that fulfils the required specifications. The number
of flip-flops is determined from the number of states needed in the circuit. We wish to design a
decade counter whose state diagram is shown in Figure 3.
Figure 3: State Diagram for the Decade Counter
The type of flip-flop to be used is J-K. The circuit has no inputs other than the clock pulse and no
outputs other than its internal state. The next state of the counter depends entirely on its present
state, and the state transition occurs every time the clock pulse occurs. Once the sequential
circuit is defined by the state diagram, the next step is to obtain the next-state table, which is
derived from the state diagram in figure 3 and is shown in Table 1.
Page12.365.4
Table 1.0: Next State Table
Present
State
Next
State
0000 0001
0001 0010
0010 0011
0011 0100
0100 0101
0101 0110
0110 0111
0111 1000
1000 1001
1001 0000
Since there are ten states, the number of flip-flops required would be four. Now we want to
implement the counter design using JK flip-flops. Next step is to develop an excitation table
from the state table, which is shown in Table 2.
Table 2.0: Excitation Table
Present
State
Next
State
J3 K3 J2 K2 J1 K1 J0 K0
0000 0001 0 X 0 X 0 X 1 X
0001 0010 0 X 0 X 1 X X 1
0010 0011 0 X 0 X X 0 1 X
0011 0100 0 X 1 X X 1 X 1
0100 0101 0 X X 0 0 X 1 X
0101 0110 0 X X 0 1 X X 1
0110 0111 0 X X 0 X 0 1 X
0111 1000 1 X X 1 X 1 X 1
1000 1001 X 0 0 X 0 X 1 X
1001 0000 X 1 0 X 0 X X 1
Now transfer the JK states of the flip-flop inputs from the excitation table to Karnaugh maps to
derive a simplified Boolean expression for each flip-flop. This is shown in Figure 4. The 1s in
the Karnaugh maps of figure 4 are grouped with “don’t cares” and the following expressions for
the J and K inputs of each flip-flop are obtained:
Page12.365.5
Figure 4: Karnaugh Map
The final step is to implement the combinational logic from the equations and connect the flip-
flops to form the sequential circuit. Multisim was used to simulate the designed sequential
circuit. Simulation diagram is shown in Figure 5.
Figure 5: Simulation of the design of decade counter
Page12.365.6
Schematic of a decade counter using the 7490, 7447 (decoder driver), and 7- segment display is
shown in figure 6. Close analysis of both the design and standard chip implementation indicates
that the worst case timing situations are counting transition from state 0011 to state 0100, and
from state 0111 to state 1000.
Next section will discuss the work conducted by Luiz Carolos Kertly and Daniel Cardoso de
Souza [4] to resolve the timing issues. The authors have suggested for transitions to properly
occur, the added propagation delays in FF1, FF2, and FF3 have to be less than half the period of
the clock signal. For the first transition, after the negative clock edge, propagation time delay of
FF1 passes until QA goes down, then one more time propagation time delay of FF2 passes until
QB goes down, and finally one more time propagation time delay of FF3 for QC to rise. For
counter operation at a 1GHz clock frequency, tPD, FF1 + tPD, FF2 + tPD, FF3 <= 500ps, which means that
the tPD of each FF must be less than approximately 160ps [6].
First, one FF must be designed to meet this timing constraint, while also showing an acceptable
Vpp with a realistic tool load; then, after this compliant FF cell has been simulated and found to
be adequate, it will be used as a reference point in addressing the decade counter problem. The
study conducted by Luiz et al shows that the flip-flops need to be redesigned at the chip level to
achieve better and robust performance of the counter.
The decade counter was also simulated using NI-ELVIS [5]. The step up of the counter and NI-
ELVIS interface is shown in Figure 6. The timing diagram analysis also shows that the transition
of the counter is not smooth from the states 0 to 3 and 7 to 8.
Figure 6: Decade counter with off the shelf chips Page12.365.7
Figure 6: NI -ELVIS and Decade Counter Interface
Student Outreach Program
The project offered an opportunity for students to work with others in their class whom they had
never worked with. This activity focused on important learning concepts such as Electronics,
Programming, Teamwork, and Cross Disciplinary Interaction.
Electronics symbolize the interrelationship between various substructures of the circuit. This
includes an understanding of electronic components and the manner in which all these
components function together as a deterministic whole system. Basic components such as flip-
flops, displays, counters and electronics which include NI-ELVIS, and the Multisim system are
the major components of the project activity. Integrating these components offered an
opportunity for the students to understand the design/development of digital systems.
Programming varied from high school students to college students. The high school level
students were trained to program the circuit from the user end point of view. At college level the
students were introduced to design concepts.
The project carried out the concept of teamwork in all phases of design and implementation. The
goal of linking the students into a learning community is to give the student a peer group in
which they feel comfortable. The team work prepares the students to solve technical problems in
a group environment in addition to meet new challenges encountered in the work place. Students
experience being on successful teams to appreciate and understand the value of good team work.
The project emphasizes on the word team because team is not same as group. The term group
implies a somewhat more than a collection of individuals but the team implies much more [2].
The curriculum in any specific area of study tends to narrowly focus students on that area,
whereas real-world multifaceted systems tend to incorporate components from multiple
disciplines. The development of such systems has shifted from designing individual components
in segregation to working in cross-functional teams that include the variety of proficiencies
needed to design an entire system [1].The counter design provides an opportunity for students
interested in electronics, design, application and troubleshooting to combine their interest in
building a digital systems project..
Page12.365.8
The goal of this outreach program was to exemplify the impact of design and implementation of
digital systems in learning Mathematics and Science at the secondary school level. Significant
trends were measured from the activity which included the Electronics, Programming,
Teamwork, and cross disciplinary interaction. The results show that the students learned tangible
lessons from each topic.
Results
The design and implementation of the decade counter was completed. The simulation analysis of
the decade counter using the Mutlisim revealed that the worst case timing situations were from
counting transition from state 0011 to state 0100, and from state 0111 to state 1000. VI was
developed using LabView to acquire data from the decade counter circuit built on NI-ELVIS. It
was observed that for the transitions to occur properly, the added propagation delays in FF1,
FF2, and FF3 have to be less than half the period of the clock signal. Final analysis of this case
study revealed that the redesign of the flip-flop is required for counter to work properly.
However, testing of the circuit board under actual working was successful. The circuit was
constructed on NI-ELVIS and the tests were successful and the checks were correctly performed.
Conclusion
The project was a successful collaboration between the faculty of SSU and GTREP students at
SSU. The designed unit met expectations of the circuit performance. The students had an
opportunity to work on a project that involved design and implementation of digital systems. The
students will also assist the faculty to promote the design and application concepts to the high
school and college students which will serve as a model for improving and creating interest in
Engineering and Technology education.
Acknowledgements
Closing the Hardware Design Loop with Multisim®: A Case Study was funded by MAGEC-
STEM which is a NSF funded activity. We gratefully acknowledge our students Ayush Bhardwaj
and Crystal Reeves for their significant contributions.
Page12.365.9
References
[1] Aldridge, M.D. (1996) Cross-Disciplinary Teaming and Design (ASEE Annual Conference
and Exposition, 1996.)
[2] Courtner, Lyons, Millar, and Bailey (1999) Student Outcomes and Experiences in a
Freshman Engineering Design Course. (1999 ASEE Annual Conference and Exposition,
session 2553)
[3] Evan, Robinson (June 2006). An Integrated Platform for Electronics Education: A Case
Study.
[4] Luiz, Carolos Kertly & Daniel, Cardoso de Souza. Design of a “7490-Like” Decade-Counter
Integrated Circuit, Using GaAs MESFET DCFL Family, for Frequencies up to 1GHz.
[5] National Instruments NI-ELVIS. Dallas, TX.
[6] Vitesse Semiconductor Corp (1993) “Foundry Design Manual” (Version 6.0).
Page12.365.10

More Related Content

What's hot

IMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLA
IMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLAIMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLA
IMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLAeeiej_journal
 
Design of Low Power Energy Efficient Carry Select Adder Using CMOS Technology
Design of Low Power Energy Efficient Carry Select Adder Using CMOS TechnologyDesign of Low Power Energy Efficient Carry Select Adder Using CMOS Technology
Design of Low Power Energy Efficient Carry Select Adder Using CMOS TechnologyAssociate Professor in VSB Coimbatore
 
Adaptive beamforming using lms algorithm
Adaptive beamforming using lms algorithmAdaptive beamforming using lms algorithm
Adaptive beamforming using lms algorithmeSAT Publishing House
 
Low power & area efficient carry select adder
Low power & area efficient carry select adderLow power & area efficient carry select adder
Low power & area efficient carry select adderSai Vara Prasad P
 
Implementation of Low Power and Area Efficient Carry Select Adder
Implementation of Low Power and Area Efficient Carry Select AdderImplementation of Low Power and Area Efficient Carry Select Adder
Implementation of Low Power and Area Efficient Carry Select Adderinventionjournals
 
High Speed Carryselect Adder
High Speed Carryselect AdderHigh Speed Carryselect Adder
High Speed Carryselect Adderijsrd.com
 
DESIGN AND IMPLEMENTATION OF LOW POWER ALU USING CLOCK GATING AND CARRY SELEC...
DESIGN AND IMPLEMENTATION OF LOW POWER ALU USING CLOCK GATING AND CARRY SELEC...DESIGN AND IMPLEMENTATION OF LOW POWER ALU USING CLOCK GATING AND CARRY SELEC...
DESIGN AND IMPLEMENTATION OF LOW POWER ALU USING CLOCK GATING AND CARRY SELEC...IAEME Publication
 
Design and Implementation of Low-Power and Area-Efficient 64 bit CSLA using VHDL
Design and Implementation of Low-Power and Area-Efficient 64 bit CSLA using VHDLDesign and Implementation of Low-Power and Area-Efficient 64 bit CSLA using VHDL
Design and Implementation of Low-Power and Area-Efficient 64 bit CSLA using VHDLIJSRD
 
Performance analysis of adaptive beamforming at receiver side by using lms an...
Performance analysis of adaptive beamforming at receiver side by using lms an...Performance analysis of adaptive beamforming at receiver side by using lms an...
Performance analysis of adaptive beamforming at receiver side by using lms an...Ijrdt Journal
 
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...Luigi Vanfretti
 
IRJET- Implementation and Analysis of Hybridization in Modified Parallel Adde...
IRJET- Implementation and Analysis of Hybridization in Modified Parallel Adde...IRJET- Implementation and Analysis of Hybridization in Modified Parallel Adde...
IRJET- Implementation and Analysis of Hybridization in Modified Parallel Adde...IRJET Journal
 
Investigation Effect of Outage Line on the Transmission Line for Karbalaa-132...
Investigation Effect of Outage Line on the Transmission Line for Karbalaa-132...Investigation Effect of Outage Line on the Transmission Line for Karbalaa-132...
Investigation Effect of Outage Line on the Transmission Line for Karbalaa-132...IRJET Journal
 
Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...
Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...
Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...IJERA Editor
 
Deep segmentation of the liver and the hepatic tumors from abdomen tomography...
Deep segmentation of the liver and the hepatic tumors from abdomen tomography...Deep segmentation of the liver and the hepatic tumors from abdomen tomography...
Deep segmentation of the liver and the hepatic tumors from abdomen tomography...IJECEIAES
 
LOAD FLOW ANALYSIS FOR A 220KV LINE – CASE STUDY
LOAD FLOW ANALYSIS FOR A 220KV LINE – CASE STUDYLOAD FLOW ANALYSIS FOR A 220KV LINE – CASE STUDY
LOAD FLOW ANALYSIS FOR A 220KV LINE – CASE STUDYijiert bestjournal
 
Design and Verification of Area Efficient Carry Select Adder
Design and Verification of Area Efficient Carry Select AdderDesign and Verification of Area Efficient Carry Select Adder
Design and Verification of Area Efficient Carry Select Adderijsrd.com
 
Efficient realization-of-an-adfe-with-a-new-adaptive-algorithm
Efficient realization-of-an-adfe-with-a-new-adaptive-algorithmEfficient realization-of-an-adfe-with-a-new-adaptive-algorithm
Efficient realization-of-an-adfe-with-a-new-adaptive-algorithmCemal Ardil
 
Comparative analysis of FACTS controllers by tuning employing GA and PSO
Comparative analysis of FACTS controllers by tuning employing GA and PSOComparative analysis of FACTS controllers by tuning employing GA and PSO
Comparative analysis of FACTS controllers by tuning employing GA and PSOINFOGAIN PUBLICATION
 
Optimal and robust controllers based design of quarter car active suspension ...
Optimal and robust controllers based design of quarter car active suspension ...Optimal and robust controllers based design of quarter car active suspension ...
Optimal and robust controllers based design of quarter car active suspension ...Mustefa Jibril
 

What's hot (20)

IMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLA
IMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLAIMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLA
IMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLA
 
Design of Low Power Energy Efficient Carry Select Adder Using CMOS Technology
Design of Low Power Energy Efficient Carry Select Adder Using CMOS TechnologyDesign of Low Power Energy Efficient Carry Select Adder Using CMOS Technology
Design of Low Power Energy Efficient Carry Select Adder Using CMOS Technology
 
Adaptive beamforming using lms algorithm
Adaptive beamforming using lms algorithmAdaptive beamforming using lms algorithm
Adaptive beamforming using lms algorithm
 
Low power & area efficient carry select adder
Low power & area efficient carry select adderLow power & area efficient carry select adder
Low power & area efficient carry select adder
 
Implementation of Low Power and Area Efficient Carry Select Adder
Implementation of Low Power and Area Efficient Carry Select AdderImplementation of Low Power and Area Efficient Carry Select Adder
Implementation of Low Power and Area Efficient Carry Select Adder
 
High Speed Carryselect Adder
High Speed Carryselect AdderHigh Speed Carryselect Adder
High Speed Carryselect Adder
 
DESIGN AND IMPLEMENTATION OF LOW POWER ALU USING CLOCK GATING AND CARRY SELEC...
DESIGN AND IMPLEMENTATION OF LOW POWER ALU USING CLOCK GATING AND CARRY SELEC...DESIGN AND IMPLEMENTATION OF LOW POWER ALU USING CLOCK GATING AND CARRY SELEC...
DESIGN AND IMPLEMENTATION OF LOW POWER ALU USING CLOCK GATING AND CARRY SELEC...
 
Design and Implementation of Low-Power and Area-Efficient 64 bit CSLA using VHDL
Design and Implementation of Low-Power and Area-Efficient 64 bit CSLA using VHDLDesign and Implementation of Low-Power and Area-Efficient 64 bit CSLA using VHDL
Design and Implementation of Low-Power and Area-Efficient 64 bit CSLA using VHDL
 
Performance analysis of adaptive beamforming at receiver side by using lms an...
Performance analysis of adaptive beamforming at receiver side by using lms an...Performance analysis of adaptive beamforming at receiver side by using lms an...
Performance analysis of adaptive beamforming at receiver side by using lms an...
 
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
 
IRJET- Implementation and Analysis of Hybridization in Modified Parallel Adde...
IRJET- Implementation and Analysis of Hybridization in Modified Parallel Adde...IRJET- Implementation and Analysis of Hybridization in Modified Parallel Adde...
IRJET- Implementation and Analysis of Hybridization in Modified Parallel Adde...
 
Investigation Effect of Outage Line on the Transmission Line for Karbalaa-132...
Investigation Effect of Outage Line on the Transmission Line for Karbalaa-132...Investigation Effect of Outage Line on the Transmission Line for Karbalaa-132...
Investigation Effect of Outage Line on the Transmission Line for Karbalaa-132...
 
Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...
Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...
Design and Implementation of 16-bit Arithmetic Logic Unit using Quantum dot C...
 
Deep segmentation of the liver and the hepatic tumors from abdomen tomography...
Deep segmentation of the liver and the hepatic tumors from abdomen tomography...Deep segmentation of the liver and the hepatic tumors from abdomen tomography...
Deep segmentation of the liver and the hepatic tumors from abdomen tomography...
 
LOAD FLOW ANALYSIS FOR A 220KV LINE – CASE STUDY
LOAD FLOW ANALYSIS FOR A 220KV LINE – CASE STUDYLOAD FLOW ANALYSIS FOR A 220KV LINE – CASE STUDY
LOAD FLOW ANALYSIS FOR A 220KV LINE – CASE STUDY
 
Design and Verification of Area Efficient Carry Select Adder
Design and Verification of Area Efficient Carry Select AdderDesign and Verification of Area Efficient Carry Select Adder
Design and Verification of Area Efficient Carry Select Adder
 
carry select adder
carry select addercarry select adder
carry select adder
 
Efficient realization-of-an-adfe-with-a-new-adaptive-algorithm
Efficient realization-of-an-adfe-with-a-new-adaptive-algorithmEfficient realization-of-an-adfe-with-a-new-adaptive-algorithm
Efficient realization-of-an-adfe-with-a-new-adaptive-algorithm
 
Comparative analysis of FACTS controllers by tuning employing GA and PSO
Comparative analysis of FACTS controllers by tuning employing GA and PSOComparative analysis of FACTS controllers by tuning employing GA and PSO
Comparative analysis of FACTS controllers by tuning employing GA and PSO
 
Optimal and robust controllers based design of quarter car active suspension ...
Optimal and robust controllers based design of quarter car active suspension ...Optimal and robust controllers based design of quarter car active suspension ...
Optimal and robust controllers based design of quarter car active suspension ...
 

Viewers also liked

Experiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gatesExperiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gatesRicardo Castro
 
Writing thesis chapters 1-3 guidelines
Writing thesis chapters 1-3 guidelinesWriting thesis chapters 1-3 guidelines
Writing thesis chapters 1-3 guidelinespoleyseugenio
 
Difference between pulpotomy and pulpectomy
Difference between pulpotomy and pulpectomyDifference between pulpotomy and pulpectomy
Difference between pulpotomy and pulpectomyOwais92
 

Viewers also liked (6)

Vhdl mux
Vhdl muxVhdl mux
Vhdl mux
 
Sudham
SudhamSudham
Sudham
 
Experiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gatesExperiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gates
 
Writing thesis chapters 1-3 guidelines
Writing thesis chapters 1-3 guidelinesWriting thesis chapters 1-3 guidelines
Writing thesis chapters 1-3 guidelines
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Difference between pulpotomy and pulpectomy
Difference between pulpotomy and pulpectomyDifference between pulpotomy and pulpectomy
Difference between pulpotomy and pulpectomy
 

Similar to closing-the-hardware-design-loop-with-multisim-a-case-study

Impact of Electric Vehicle Integration on Grid
Impact of Electric Vehicle Integration on GridImpact of Electric Vehicle Integration on Grid
Impact of Electric Vehicle Integration on Gridvivatechijri
 
Implementation of Linear Controller for a DC-DC Forward Converter
Implementation of Linear Controller for a DC-DC Forward ConverterImplementation of Linear Controller for a DC-DC Forward Converter
Implementation of Linear Controller for a DC-DC Forward Converterijceronline
 
High Performance Layout Design of SR Flip Flop using NAND Gates
High Performance Layout Design of SR Flip Flop using NAND Gates High Performance Layout Design of SR Flip Flop using NAND Gates
High Performance Layout Design of SR Flip Flop using NAND Gates IJEEE
 
Computer aided-teaching-of-transformers-for-undergraduates
Computer aided-teaching-of-transformers-for-undergraduatesComputer aided-teaching-of-transformers-for-undergraduates
Computer aided-teaching-of-transformers-for-undergraduatesRajesh Kumar
 
Optimal and Power Aware BIST for Delay Testing of System-On-Chip
Optimal and Power Aware BIST for Delay Testing of System-On-ChipOptimal and Power Aware BIST for Delay Testing of System-On-Chip
Optimal and Power Aware BIST for Delay Testing of System-On-ChipIDES Editor
 
High efficiency push pull converter for photovoltaic applications
High efficiency push pull converter for photovoltaic applicationsHigh efficiency push pull converter for photovoltaic applications
High efficiency push pull converter for photovoltaic applicationsEklavya Sharma
 
Transfer Functions and Linear Active Networks Using Operational Amplifiers
Transfer Functions and Linear Active Networks Using Operational AmplifiersTransfer Functions and Linear Active Networks Using Operational Amplifiers
Transfer Functions and Linear Active Networks Using Operational AmplifiersSachin Mehta
 
An approach to Measure Transition Density of Binary Sequences for X-filling b...
An approach to Measure Transition Density of Binary Sequences for X-filling b...An approach to Measure Transition Density of Binary Sequences for X-filling b...
An approach to Measure Transition Density of Binary Sequences for X-filling b...IJECEIAES
 
CFOA based Integrator Suitable for Analog Signal Processing_ Crimson Publishers
CFOA based Integrator Suitable for Analog Signal Processing_ Crimson PublishersCFOA based Integrator Suitable for Analog Signal Processing_ Crimson Publishers
CFOA based Integrator Suitable for Analog Signal Processing_ Crimson PublishersCrimsonpublishers-Electronics
 
CFOA based Integrator Suitable for Analog Signal Processing: Crimson Publishers
CFOA based Integrator Suitable for Analog Signal Processing: Crimson PublishersCFOA based Integrator Suitable for Analog Signal Processing: Crimson Publishers
CFOA based Integrator Suitable for Analog Signal Processing: Crimson PublishersCrimsonpublishers-Electronics
 
RT15 Berkeley | NI / OPAL-RT Power Electronics HIL Teaching Laboratory - Nati...
RT15 Berkeley | NI / OPAL-RT Power Electronics HIL Teaching Laboratory - Nati...RT15 Berkeley | NI / OPAL-RT Power Electronics HIL Teaching Laboratory - Nati...
RT15 Berkeley | NI / OPAL-RT Power Electronics HIL Teaching Laboratory - Nati...OPAL-RT TECHNOLOGIES
 
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.Net
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.NetDevelopment of a D.C Circuit Analysis Software Using Microsoft Visual C#.Net
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.NetIOSR Journals
 
Generalized Parallel CRC Computation
Generalized Parallel CRC ComputationGeneralized Parallel CRC Computation
Generalized Parallel CRC ComputationIJMTST Journal
 
Internship report 2013 (Sri Wawadsan Sdn.Bhd)
Internship report 2013 (Sri Wawadsan Sdn.Bhd)Internship report 2013 (Sri Wawadsan Sdn.Bhd)
Internship report 2013 (Sri Wawadsan Sdn.Bhd)Wong Chin Yung
 
Compensator Design for Speed Control of DC Motor by Root Locus Approach using...
Compensator Design for Speed Control of DC Motor by Root Locus Approach using...Compensator Design for Speed Control of DC Motor by Root Locus Approach using...
Compensator Design for Speed Control of DC Motor by Root Locus Approach using...IRJET Journal
 

Similar to closing-the-hardware-design-loop-with-multisim-a-case-study (20)

Impact of Electric Vehicle Integration on Grid
Impact of Electric Vehicle Integration on GridImpact of Electric Vehicle Integration on Grid
Impact of Electric Vehicle Integration on Grid
 
Implementation of Linear Controller for a DC-DC Forward Converter
Implementation of Linear Controller for a DC-DC Forward ConverterImplementation of Linear Controller for a DC-DC Forward Converter
Implementation of Linear Controller for a DC-DC Forward Converter
 
High Performance Layout Design of SR Flip Flop using NAND Gates
High Performance Layout Design of SR Flip Flop using NAND Gates High Performance Layout Design of SR Flip Flop using NAND Gates
High Performance Layout Design of SR Flip Flop using NAND Gates
 
Computer aided-teaching-of-transformers-for-undergraduates
Computer aided-teaching-of-transformers-for-undergraduatesComputer aided-teaching-of-transformers-for-undergraduates
Computer aided-teaching-of-transformers-for-undergraduates
 
Optimal and Power Aware BIST for Delay Testing of System-On-Chip
Optimal and Power Aware BIST for Delay Testing of System-On-ChipOptimal and Power Aware BIST for Delay Testing of System-On-Chip
Optimal and Power Aware BIST for Delay Testing of System-On-Chip
 
SEM 6th final 1
SEM 6th final 1SEM 6th final 1
SEM 6th final 1
 
High efficiency push pull converter for photovoltaic applications
High efficiency push pull converter for photovoltaic applicationsHigh efficiency push pull converter for photovoltaic applications
High efficiency push pull converter for photovoltaic applications
 
Transfer Functions and Linear Active Networks Using Operational Amplifiers
Transfer Functions and Linear Active Networks Using Operational AmplifiersTransfer Functions and Linear Active Networks Using Operational Amplifiers
Transfer Functions and Linear Active Networks Using Operational Amplifiers
 
An approach to Measure Transition Density of Binary Sequences for X-filling b...
An approach to Measure Transition Density of Binary Sequences for X-filling b...An approach to Measure Transition Density of Binary Sequences for X-filling b...
An approach to Measure Transition Density of Binary Sequences for X-filling b...
 
T04405112116
T04405112116T04405112116
T04405112116
 
CFOA based Integrator Suitable for Analog Signal Processing_ Crimson Publishers
CFOA based Integrator Suitable for Analog Signal Processing_ Crimson PublishersCFOA based Integrator Suitable for Analog Signal Processing_ Crimson Publishers
CFOA based Integrator Suitable for Analog Signal Processing_ Crimson Publishers
 
CFOA based Integrator Suitable for Analog Signal Processing: Crimson Publishers
CFOA based Integrator Suitable for Analog Signal Processing: Crimson PublishersCFOA based Integrator Suitable for Analog Signal Processing: Crimson Publishers
CFOA based Integrator Suitable for Analog Signal Processing: Crimson Publishers
 
RT15 Berkeley | NI / OPAL-RT Power Electronics HIL Teaching Laboratory - Nati...
RT15 Berkeley | NI / OPAL-RT Power Electronics HIL Teaching Laboratory - Nati...RT15 Berkeley | NI / OPAL-RT Power Electronics HIL Teaching Laboratory - Nati...
RT15 Berkeley | NI / OPAL-RT Power Electronics HIL Teaching Laboratory - Nati...
 
Poster_submitted_final
Poster_submitted_finalPoster_submitted_final
Poster_submitted_final
 
A017110106
A017110106A017110106
A017110106
 
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.Net
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.NetDevelopment of a D.C Circuit Analysis Software Using Microsoft Visual C#.Net
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.Net
 
Generalized Parallel CRC Computation
Generalized Parallel CRC ComputationGeneralized Parallel CRC Computation
Generalized Parallel CRC Computation
 
report.pdf
report.pdfreport.pdf
report.pdf
 
Internship report 2013 (Sri Wawadsan Sdn.Bhd)
Internship report 2013 (Sri Wawadsan Sdn.Bhd)Internship report 2013 (Sri Wawadsan Sdn.Bhd)
Internship report 2013 (Sri Wawadsan Sdn.Bhd)
 
Compensator Design for Speed Control of DC Motor by Root Locus Approach using...
Compensator Design for Speed Control of DC Motor by Root Locus Approach using...Compensator Design for Speed Control of DC Motor by Root Locus Approach using...
Compensator Design for Speed Control of DC Motor by Root Locus Approach using...
 

closing-the-hardware-design-loop-with-multisim-a-case-study

  • 1. AC 2007-949: CLOSING THE HARDWARE DESIGN LOOP WITH MULTISIM: A CASE STUDY Asad Yousuf, Savannah State University Dr. Asad Yousuf is a Professor of Electronics Engineering Technology at Savannah State University. Dr. Yousuf has written number of articles published in the ASEE conference proceedings over the years. Ayush Bhardwaj, Savannah State University Ayush Bhardwaj is a student of Georgia Tech Regional Engineering program at Savannah State University. His major is Electrical Engineering Crystal Reeves, Savannah State University Crystal Reeves is a student of Georgia Tech Regional Engineering program at Savannah State University. Her major is Electrical Engineering. William Lehman, St. Mary School Sylvester Chukwukere, Savannah State University Prof. Sylvester Chuhwukere is an Associate Professor of Electronics Engineering Technology at Savannah State University. Shinemin Lin, Savannah State University Dr. Lin earned Ph.D. from the University of Kansas in 1991. He is teaching mathematics at Savannah State University. The recent research interest is in the topic of Online Education in Mathematics © American Society for Engineering Education, 2007 Page12.365.1
  • 2. Closing the Hardware Design Loop with Multisim®: A Case Study Abstract Most electronics courses taught these days are planned around what is called a lecture-and-lab environment. This environment traditionally uses lectures on subject matter and is supplemented by laboratory experience. If the laboratory experiments are not generating the expected results, very often the whole experiment needs to be repeated. The unexpected results could be due to faulty components, incorrect design specifications, or improper connections. Nonetheless, implementing a circuit in the lab with undesired output might be time consuming. However, having an electronics simulator will enable the students as well as the instructor to analyze the performance of a circuit prior to implementing the actual hardware components. This paper investigates design, simulation and implementation of a decade counter using modern computer hardware and software. This effort will focus on developing an integrated solution of a digital electronics project that will be based on a hybrid environment in which the design and experiments will be simulated and tested in virtual as well as with real electronics components. Students’ outreach program in this study is to motivate students to enroll in Electronics Engineering Technology program. Introduction Traditionally, many institutions world-wide supports the teaching model in which the students learn circuit theory by participating in lectures, and acquire a deeper fundamental understanding through complimentary experiments. The laboratory experiments presents a design challenge that requires students to apply theory from lectures using hand calculations, create and measure their designs, and then compare their results with the expected values [3]. However, these laboratory experiments are costly, time-consuming, and complicated to schedule. With the progression in computer technology several electronics laboratory simulation software packages are available to academia and industry. The Multisim® software developed by the Electronics Workbench and National Instruments is a popular circuit capture and simulation software that is frequently used for education and training. With power and flexibility provided by Multisim® students gain the advantages of an industry-caliber, easy-to-use circuit simulator. Multisim® includes powerful virtual instruments, which are simulated instruments found in the laboratory such as oscilloscopes, multimeters, and function generators, among many others. These instruments provide students with a fast and intuitive method for obtaining simulation results while preparing them for the instruments they will use in the laboratory. Multisim® provides the integrated platform which provides an uninterrupted flow of data from simulation to prototyping and measurement, bridging the gap between theory and hands-on learning. This platform will allow students quick and easy access to measurements. An integrated laboratory presents a unified platform for simulation, prototyping, measurement and Page12.365.2
  • 3. comparison. With a consistent approach and the power of computer-based measurement, students will quickly and easily understand how to implement their design, carry out powerful simulations, and take important measurements. A conceptual view of the integrated platform is shown in Figure 1. Figure 1: A conceptual view of Integrated Platform This paper explores the hardware design and software simulation of a decade counter. Design experience included sequential design concepts, selection of components, and software simulation with Multisim®. Following paragraphs will describe the sequential design of a decade counter, followed by the traditional and design implementation of the counter. The comparison of traditional and design implementation shows that the worst case timing situation are the counting transition from state 0011 to state 0100 and from state 0111 to state 1000. Methods (Sequential Design) The design of a synchronous sequential circuits starts from a set of specifications and culminates in a logic diagram or a list of Boolean functions from which a logic diagram can be obtained. In contrast to a combinational logic, which is fully specified by a truth table, a sequential circuit requires a state table for its specification. Steps for the design of sequential circuits are shown in Figure 2. Page12.365.3
  • 4. Figure 2: Steps for the Design of Sequential Circuits A synchronous sequential circuit is made of flip-flops and combinational gates. The design of the circuit consists of choosing the flip-flops and then finding the combinational structure which, together with the flip-flops, produces a circuit that fulfils the required specifications. The number of flip-flops is determined from the number of states needed in the circuit. We wish to design a decade counter whose state diagram is shown in Figure 3. Figure 3: State Diagram for the Decade Counter The type of flip-flop to be used is J-K. The circuit has no inputs other than the clock pulse and no outputs other than its internal state. The next state of the counter depends entirely on its present state, and the state transition occurs every time the clock pulse occurs. Once the sequential circuit is defined by the state diagram, the next step is to obtain the next-state table, which is derived from the state diagram in figure 3 and is shown in Table 1. Page12.365.4
  • 5. Table 1.0: Next State Table Present State Next State 0000 0001 0001 0010 0010 0011 0011 0100 0100 0101 0101 0110 0110 0111 0111 1000 1000 1001 1001 0000 Since there are ten states, the number of flip-flops required would be four. Now we want to implement the counter design using JK flip-flops. Next step is to develop an excitation table from the state table, which is shown in Table 2. Table 2.0: Excitation Table Present State Next State J3 K3 J2 K2 J1 K1 J0 K0 0000 0001 0 X 0 X 0 X 1 X 0001 0010 0 X 0 X 1 X X 1 0010 0011 0 X 0 X X 0 1 X 0011 0100 0 X 1 X X 1 X 1 0100 0101 0 X X 0 0 X 1 X 0101 0110 0 X X 0 1 X X 1 0110 0111 0 X X 0 X 0 1 X 0111 1000 1 X X 1 X 1 X 1 1000 1001 X 0 0 X 0 X 1 X 1001 0000 X 1 0 X 0 X X 1 Now transfer the JK states of the flip-flop inputs from the excitation table to Karnaugh maps to derive a simplified Boolean expression for each flip-flop. This is shown in Figure 4. The 1s in the Karnaugh maps of figure 4 are grouped with “don’t cares” and the following expressions for the J and K inputs of each flip-flop are obtained: Page12.365.5
  • 6. Figure 4: Karnaugh Map The final step is to implement the combinational logic from the equations and connect the flip- flops to form the sequential circuit. Multisim was used to simulate the designed sequential circuit. Simulation diagram is shown in Figure 5. Figure 5: Simulation of the design of decade counter Page12.365.6
  • 7. Schematic of a decade counter using the 7490, 7447 (decoder driver), and 7- segment display is shown in figure 6. Close analysis of both the design and standard chip implementation indicates that the worst case timing situations are counting transition from state 0011 to state 0100, and from state 0111 to state 1000. Next section will discuss the work conducted by Luiz Carolos Kertly and Daniel Cardoso de Souza [4] to resolve the timing issues. The authors have suggested for transitions to properly occur, the added propagation delays in FF1, FF2, and FF3 have to be less than half the period of the clock signal. For the first transition, after the negative clock edge, propagation time delay of FF1 passes until QA goes down, then one more time propagation time delay of FF2 passes until QB goes down, and finally one more time propagation time delay of FF3 for QC to rise. For counter operation at a 1GHz clock frequency, tPD, FF1 + tPD, FF2 + tPD, FF3 <= 500ps, which means that the tPD of each FF must be less than approximately 160ps [6]. First, one FF must be designed to meet this timing constraint, while also showing an acceptable Vpp with a realistic tool load; then, after this compliant FF cell has been simulated and found to be adequate, it will be used as a reference point in addressing the decade counter problem. The study conducted by Luiz et al shows that the flip-flops need to be redesigned at the chip level to achieve better and robust performance of the counter. The decade counter was also simulated using NI-ELVIS [5]. The step up of the counter and NI- ELVIS interface is shown in Figure 6. The timing diagram analysis also shows that the transition of the counter is not smooth from the states 0 to 3 and 7 to 8. Figure 6: Decade counter with off the shelf chips Page12.365.7
  • 8. Figure 6: NI -ELVIS and Decade Counter Interface Student Outreach Program The project offered an opportunity for students to work with others in their class whom they had never worked with. This activity focused on important learning concepts such as Electronics, Programming, Teamwork, and Cross Disciplinary Interaction. Electronics symbolize the interrelationship between various substructures of the circuit. This includes an understanding of electronic components and the manner in which all these components function together as a deterministic whole system. Basic components such as flip- flops, displays, counters and electronics which include NI-ELVIS, and the Multisim system are the major components of the project activity. Integrating these components offered an opportunity for the students to understand the design/development of digital systems. Programming varied from high school students to college students. The high school level students were trained to program the circuit from the user end point of view. At college level the students were introduced to design concepts. The project carried out the concept of teamwork in all phases of design and implementation. The goal of linking the students into a learning community is to give the student a peer group in which they feel comfortable. The team work prepares the students to solve technical problems in a group environment in addition to meet new challenges encountered in the work place. Students experience being on successful teams to appreciate and understand the value of good team work. The project emphasizes on the word team because team is not same as group. The term group implies a somewhat more than a collection of individuals but the team implies much more [2]. The curriculum in any specific area of study tends to narrowly focus students on that area, whereas real-world multifaceted systems tend to incorporate components from multiple disciplines. The development of such systems has shifted from designing individual components in segregation to working in cross-functional teams that include the variety of proficiencies needed to design an entire system [1].The counter design provides an opportunity for students interested in electronics, design, application and troubleshooting to combine their interest in building a digital systems project.. Page12.365.8
  • 9. The goal of this outreach program was to exemplify the impact of design and implementation of digital systems in learning Mathematics and Science at the secondary school level. Significant trends were measured from the activity which included the Electronics, Programming, Teamwork, and cross disciplinary interaction. The results show that the students learned tangible lessons from each topic. Results The design and implementation of the decade counter was completed. The simulation analysis of the decade counter using the Mutlisim revealed that the worst case timing situations were from counting transition from state 0011 to state 0100, and from state 0111 to state 1000. VI was developed using LabView to acquire data from the decade counter circuit built on NI-ELVIS. It was observed that for the transitions to occur properly, the added propagation delays in FF1, FF2, and FF3 have to be less than half the period of the clock signal. Final analysis of this case study revealed that the redesign of the flip-flop is required for counter to work properly. However, testing of the circuit board under actual working was successful. The circuit was constructed on NI-ELVIS and the tests were successful and the checks were correctly performed. Conclusion The project was a successful collaboration between the faculty of SSU and GTREP students at SSU. The designed unit met expectations of the circuit performance. The students had an opportunity to work on a project that involved design and implementation of digital systems. The students will also assist the faculty to promote the design and application concepts to the high school and college students which will serve as a model for improving and creating interest in Engineering and Technology education. Acknowledgements Closing the Hardware Design Loop with Multisim®: A Case Study was funded by MAGEC- STEM which is a NSF funded activity. We gratefully acknowledge our students Ayush Bhardwaj and Crystal Reeves for their significant contributions. Page12.365.9
  • 10. References [1] Aldridge, M.D. (1996) Cross-Disciplinary Teaming and Design (ASEE Annual Conference and Exposition, 1996.) [2] Courtner, Lyons, Millar, and Bailey (1999) Student Outcomes and Experiences in a Freshman Engineering Design Course. (1999 ASEE Annual Conference and Exposition, session 2553) [3] Evan, Robinson (June 2006). An Integrated Platform for Electronics Education: A Case Study. [4] Luiz, Carolos Kertly & Daniel, Cardoso de Souza. Design of a “7490-Like” Decade-Counter Integrated Circuit, Using GaAs MESFET DCFL Family, for Frequencies up to 1GHz. [5] National Instruments NI-ELVIS. Dallas, TX. [6] Vitesse Semiconductor Corp (1993) “Foundry Design Manual” (Version 6.0). Page12.365.10