SlideShare a Scribd company logo
Project on
DIGITAL MULTIMETER DESIGN
(USING VHDL)
Presented by:
o Mohit Mukul 1104030
o Harsh Prakash Singh 1104062
o Rahul Kumar 1104063
Under the supervision of : Mr. Bibhuti Bikramaditya
(TekBrains Pvt.ltd.) and
Dr. Bijay Kumar Sharma
Deptt. Of ECE, NITP
DEPARTMENT OF ELECTRONICS & COMMUNICATION
ENGINEERING,
NIT PATNA
 Introduction
 Objectives
 Platforms used
 Mechanism
 Working parts
 Work done
 Conclusion
 Future scope
 References
Phases of the project
1.1 Digital Multimeter(DMM)
 An electronic measuring instrument that combines several measurement
functions in one unit, viz. voltage, current, resistance, beta of the
transistors, etc.
 Display the measured value in numerals
 More common than the analog multimeters.
 The signal under test is converted into voltage and an amplifier with
electronically controlled gain preconditions the signal.
Introduction
1.2 VHDL
 VHDL stands for VHSIC (Very High Speed Integrated Circuits) Hardware Description
Language
 A hardware description language which describes the behaviour of the circuit based
on the logic implemented
 Intended for circuit synthesis and circuit simulation
 A standard, technology/vendor independent language and so is portable and
reusable.
 Applications in the field of Programmable logic devices(PLD’s)
-- Complex Programmable Logic Devices (CPLD’s)
-- Field Programmable Gate Arrays (FPGA’s)
and in the field of Application Specific Integrated Circuits (ASIC’s)
 Statements are concurrent i.e., executed parallely. So VHDL is sometimes also called
code.
 In VHDL, statements inside a PROCESS, FUNCTION and PROCEDURES are processed
serially.
Contd.
Summary of VHDL design flow:
Contd.
1.3 FPGA
 FPGA stands for Field Programmable Gate Array
is an IC designed to be configured by a designer
after manufacturing. So, Field Programmable.
 Configured using a HDL
 An array of programmable logic blocks
which can be reconfigured
 Perform complex combinational functions or
simple logic gates and even include simple
flip-flops
Contd.
 To design, build and test a multimeter comparable in performance to
some extent with the multimeters available at the ECE laboratories.
 Use a FPGA kit to implement the logic component of our circuit
(programmed via VHDL) and also for its LED and LCD displays to
showcase the functionalities of our multimeter.
 The basic design of the VHDL code is a system to :
-- Control the flow of the following states- Reset/Display, Count-
Up, Set-Sign, Countdown and Binary-BCD Decoding
-- Manipulate the four registers to fluctuate between the
ohmmeter, voltmeter, ammeter and the Beta calculations.
-- Use the LCD drivers to signal the current state.
Objective
 Xilinx Vivado 2014.1
 ModelSim SE 6.2g (Mentor Graphics)
 Xilinx SDK 2014.1
 Windows 7
Platforms used
Modes of DMM:
1. Voltmeter 2. Ammeter
3. Ohmmeter 4. Beta calculator
 Built by chip soldering on the Electric Circuit Board (ECB)
 Run by FPGA kit, which is controlled by the VHDL code
 FPGA sends the signals to the ECB contained in a black box
Main parts of the DMM:
1. VHDL code 2. Power Supply
3. Voltmeter circuit 4. Ammeter circuit
5. Ohmmeter circuit 6. Beta calculator circuit
7. Metal enclosure
Mechanism
 The FPGA is sync. with the fundamental Voltmeter circuit to perform as
per the VHDL code
 Voltmeter circuit is the basic circuit and serves as a platform
 Ohmmeter uses the voltmeter to know the unknown R by passing a
small constant current
 Ammeter uses the voltmeter and a difference and inverting amplifier to
find the current
 Power supply steps down the AC voltage and converts it into DC.
Contd.
 VHDL code
 Power supply
 Voltmeter
 Ammeter
 Ohmmeter
 Beta calculator
 Metal enclosure
Working parts
-- serves as the brain of the DMM
-- works as counters, registers, decoders, multiplexers, range
checkers, drivers and state machines
Modules of the VHDL code:
-- up and down counters
-- range check modules (not a part of the State machine)
-- binary to BCD converter
-- LCD driver
-- 4 bit register to store the current mode
VHDL code
digi mul ppt
States of the state machine:
1. reset/display 2. count up 3. set sign 4. count down 5. binary-bcd decoding
Reset mode:
1. Resets all registers to store new BCD value for display
2. Resets the integrator by shortening the capacitor
Count up mode:
1. Up counter measures a particular time(say 500ms) while Vin is enabled and passed
to integrator
2. After time, counter signals to pass to next state
Set sign mode:
1. Output from the voltmeter comparator is inverted and saved in a latch
2. If Vcomparator>Vg, Vin is –ve or vice versa
3. Output of latch is passed to mux to decide the Vref (+5/-5 volts)
State machine
Count down mode:
1. Stays in this mode until Vcomparator changes from high to low or vice
versa
2. Down counter is enabled to store time in binary
Binary to BCD converter mode:
1. Time in binary is converter to BCD
2. Binary is used for easier computation
 Working of State machine is based on the Moore’s style state principle
Contd.
digi mul ppt
Voltmeter circuit consists of:
1. Integrating op-amp
2. Comparator
3. Multiplexer
4. Relay switches
 Integrator and Comparator form the main part of the ADC
 Multiplexer provides the Vref as per the sign of Vin
 Relay switches are used to choose between Vin and Vref and to reset
the integrator
 Circuit communicates with the FPGA to work as a full voltmeter
Voltmeter
Block diagram for voltmeter
Ammeter circuit consists of the following chips:
1. Difference amplifier
2. Inverting amplifier
3. Multiplexer
4. Resistors of diff. values
 Difference amplifier amplifies [Vth-Vin] and is then inverted
 When Vth is 0, ouptut from inverting amplifier is +ve
 Multiplexer switches between diff. channels to get the output voltage
in the desired range
Ammeter
Ammeter circuit
 Different constant current sources for different range of the resistances
 4 to 1 multiplexer to choose a range
Schematic diagram of Ohmmeter circuit:
Here, Re is calculated by the formula:
 (5-0.7)/Re=0.00001 as Vref=5V and
Vbe=0.7 V and constant current=0.01mA
 Measuring the drop across the passive
element and multiplying by 10000, we get the load resistance.
Ohmmeter
 Constant base current is sent using a constant current source
 Ib=0.1mA for both types npn and pnp transistors
 Variable resistor is used to make accurate value of resistor
 Transistor acts as current amplifier Ic= β x Ib
 Voltage across the collector resistance is measured to get the Ic
Beta (β) Calculator
Circuit diagram for β calculator
Written VHDL codes for the following registers and simulated and
synthesized them on Xilinx.
--Flip-flops --Binary-BCD converter
--Latches -- Ranger checker modules
--Comparators -- LCD driver
--Encoders -- State machines
--Decoders
--Multiplexers
--Demultiplexers
--Counters
Work done
 Complete replacement of analog multimeters due to:
-- higher accuracy
-- higher durability
-- no parallax error
 Modern DMM’s have a no of measurement enhancements which include:
-- Auto ranging
-- Auto polarity
-- Sample and hold
--Graphical representation of the quantity under test
-- A low bandwidth oscilloscope
-- Simple data acquisition features
Future Scope
 We use VHDL to run the FPGA kit to control the different modes of
DMM
 Channel to these circuits is switched when button on the board is
pressed
 Power supply provides the various voltages to the chips in the circuits
 Combining these circuits together and putting them in a black box, we
build our DMM using VHDL.
Conclusion
 "Slope (integrating) ADC." : DIGITAL-ANALOG CONVERSION. N.p., n.d. Fri.
20 Oct. 2012. <http://www.allaboutcircuits.com/vol_4/chpt_13/8.html>.
 www.TekBrains.org (Bibhuti Vikramaditya)
 "Www.datasheetcatalog.com." Www.datasheetcatalog.com. 21 Oct. 2012
<http://www.datasheetcatalog.org/datasheet/stmicroelectronics/1981.pdf >.
 "How Analog-to-Digital Converter (ADC) Works | Hardware Secrets." How
Analog-to-Digital Converter (ADC) Works | Hardware Secrets. N.p., n.d. Sat.
21 Oct. 2012. <http://www.hardwaresecrets.com/article/How-Analog-to-
Digital-Converter-ADC-Works/317/8>.
 ”Current Source”. Current source From Wikipedia, the free encyclopaedia
N.p. 14 Nov 2012. Retrieved 20 Nov.2012<
http://en.wikipedia.org/wiki/Current_source>
 www.wikipedia.org
References
Thank you
Please give us a feedback
Simulation
Code
code
code
code
code
code
code
code
code
code
code
RTL synthesis diagram
RTL synthesis diagram
RTL synthesis diagram
RTL synthesis diagram
RTL synthesis diagram
RTL synthesis diagram
RTL synthesis diagram
RTL synthesis diagram
RTL synthesis diagram

More Related Content

PDF
Construction of digital voltmeter by Bapi Kumar Das
PPT
IMPLEMENTING A DIGITAL MULTIMETER
PPTX
Concept of Digital measurement, block Diagram & study of Voltmeter
PPTX
Digital Voltmeter, Digital Ammeter and Digital Multimeter
PPTX
Digital voltmeter (DVM) and its Classification
PDF
How to Build Digital Weighing Scales
PDF
Lec 07(sensors 2)
PPT
Sensor Lecture Interfacing
Construction of digital voltmeter by Bapi Kumar Das
IMPLEMENTING A DIGITAL MULTIMETER
Concept of Digital measurement, block Diagram & study of Voltmeter
Digital Voltmeter, Digital Ammeter and Digital Multimeter
Digital voltmeter (DVM) and its Classification
How to Build Digital Weighing Scales
Lec 07(sensors 2)
Sensor Lecture Interfacing

What's hot (20)

PPTX
Sensor interfacing in 8051
PDF
How to Build a Digital Weighing Scale
PPTX
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
PPTX
02 chapter02 fa16
PPTX
project - Copy
PPT
Amvdd Data Converter Fundamentals
PPT
Optically Isolated Sigma-Delta Modulator ACPL-796J
PDF
Digital Signal Conditioning
PPTX
U 4 ramp digital voltmeter
PDF
Analog signal Conditioning
PPT
LT3755 - High Side Sense LED Controller for High Current LED Applications
PPTX
Ad and da convertor
PDF
Prese000
PPTX
Difference amplifier and subtractor
PPTX
04 Arduino Peripheral Interfacing
PPTX
Digital frequency meter
PPT
Presentation_ON-CHIP CURRENT SENSING TECHNIQUE FOR CMOS MONOLITHIC SWITCH-MOD...
DOCX
Self powered door-bell watcher
DOCX
IEEE report on Advanced Sensor
PPTX
Signal conditioning
Sensor interfacing in 8051
How to Build a Digital Weighing Scale
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
02 chapter02 fa16
project - Copy
Amvdd Data Converter Fundamentals
Optically Isolated Sigma-Delta Modulator ACPL-796J
Digital Signal Conditioning
U 4 ramp digital voltmeter
Analog signal Conditioning
LT3755 - High Side Sense LED Controller for High Current LED Applications
Ad and da convertor
Prese000
Difference amplifier and subtractor
04 Arduino Peripheral Interfacing
Digital frequency meter
Presentation_ON-CHIP CURRENT SENSING TECHNIQUE FOR CMOS MONOLITHIC SWITCH-MOD...
Self powered door-bell watcher
IEEE report on Advanced Sensor
Signal conditioning
Ad

Viewers also liked (20)

PPTX
Dan Cohen, Hands On Seo from Internet World 2009
PPTX
UHF Transistors
PPTX
Martel Electrical Calibrator
PPT
Advanced Instrumentation
PDF
BD135/BD139 Transistor Data sheet
PDF
2N2222/2N222A Transistor data sheet
PPTX
Stepper motor control
PPT
AST 406 Ammeter and Voltmeter
PDF
Programs of VHDL
PPTX
ASIC DESIGN FLOW
PDF
Corporate finance strategy project on digi analysis
PPTX
Analog multimeter and ohmmeter
PPTX
Digi group v presentation 20110109
PPTX
A mini project on the transmission tower
PPTX
Types of insulator
PPT
transmission line
PPTX
Digi.com Berhad Financial Analysis
PDF
INSULATORS AND ITS TYPES
Dan Cohen, Hands On Seo from Internet World 2009
UHF Transistors
Martel Electrical Calibrator
Advanced Instrumentation
BD135/BD139 Transistor Data sheet
2N2222/2N222A Transistor data sheet
Stepper motor control
AST 406 Ammeter and Voltmeter
Programs of VHDL
ASIC DESIGN FLOW
Corporate finance strategy project on digi analysis
Analog multimeter and ohmmeter
Digi group v presentation 20110109
A mini project on the transmission tower
Types of insulator
transmission line
Digi.com Berhad Financial Analysis
INSULATORS AND ITS TYPES
Ad

Similar to digi mul ppt (20)

PPTX
MPC of TWT based Transmitter
PPT
electrical engineering project
PPT
ELECTRICAL ENGINEERING PROJECT
PPTX
Fire Fighter Robot with Night Vision Camera (1).pptx
PPTX
Overview of Microcontroller and ATMega32 microcontroller
PDF
INDUSTRIAL_TRAINING_REPORT_ON_EMBEDDED_S.pdf
PDF
Mobile robotic platform to gathering real time sensory data in wireless perso...
PPTX
GSM BASED PREPAID ENERGY METER BILLING VIA SMS
PPTX
Wireless fuel level sensor using rfid
DOC
Industrial training report of embedded system and robotics
PPT
Wireless Gesture Controlled Tank Toy- Transmitter
PDF
Digital stop watch
PDF
Navigation of Robot Vehicle using RF with Landmine Detection
PPTX
Embedded system
PPTX
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
PPTX
Precise kilometer calculation by underground cable fault detector
PPTX
Can based collision aviodance system for automobiles
PDF
ANALOG TO DIGITAL CONVERTOR
PPTX
Badal sharma
PPTX
AUTOMATIC WIRELESS POWER GRID CONTROL
MPC of TWT based Transmitter
electrical engineering project
ELECTRICAL ENGINEERING PROJECT
Fire Fighter Robot with Night Vision Camera (1).pptx
Overview of Microcontroller and ATMega32 microcontroller
INDUSTRIAL_TRAINING_REPORT_ON_EMBEDDED_S.pdf
Mobile robotic platform to gathering real time sensory data in wireless perso...
GSM BASED PREPAID ENERGY METER BILLING VIA SMS
Wireless fuel level sensor using rfid
Industrial training report of embedded system and robotics
Wireless Gesture Controlled Tank Toy- Transmitter
Digital stop watch
Navigation of Robot Vehicle using RF with Landmine Detection
Embedded system
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
Precise kilometer calculation by underground cable fault detector
Can based collision aviodance system for automobiles
ANALOG TO DIGITAL CONVERTOR
Badal sharma
AUTOMATIC WIRELESS POWER GRID CONTROL

digi mul ppt

  • 1. Project on DIGITAL MULTIMETER DESIGN (USING VHDL) Presented by: o Mohit Mukul 1104030 o Harsh Prakash Singh 1104062 o Rahul Kumar 1104063 Under the supervision of : Mr. Bibhuti Bikramaditya (TekBrains Pvt.ltd.) and Dr. Bijay Kumar Sharma Deptt. Of ECE, NITP DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING, NIT PATNA
  • 2.  Introduction  Objectives  Platforms used  Mechanism  Working parts  Work done  Conclusion  Future scope  References Phases of the project
  • 3. 1.1 Digital Multimeter(DMM)  An electronic measuring instrument that combines several measurement functions in one unit, viz. voltage, current, resistance, beta of the transistors, etc.  Display the measured value in numerals  More common than the analog multimeters.  The signal under test is converted into voltage and an amplifier with electronically controlled gain preconditions the signal. Introduction
  • 4. 1.2 VHDL  VHDL stands for VHSIC (Very High Speed Integrated Circuits) Hardware Description Language  A hardware description language which describes the behaviour of the circuit based on the logic implemented  Intended for circuit synthesis and circuit simulation  A standard, technology/vendor independent language and so is portable and reusable.  Applications in the field of Programmable logic devices(PLD’s) -- Complex Programmable Logic Devices (CPLD’s) -- Field Programmable Gate Arrays (FPGA’s) and in the field of Application Specific Integrated Circuits (ASIC’s)  Statements are concurrent i.e., executed parallely. So VHDL is sometimes also called code.  In VHDL, statements inside a PROCESS, FUNCTION and PROCEDURES are processed serially. Contd.
  • 5. Summary of VHDL design flow: Contd.
  • 6. 1.3 FPGA  FPGA stands for Field Programmable Gate Array is an IC designed to be configured by a designer after manufacturing. So, Field Programmable.  Configured using a HDL  An array of programmable logic blocks which can be reconfigured  Perform complex combinational functions or simple logic gates and even include simple flip-flops Contd.
  • 7.  To design, build and test a multimeter comparable in performance to some extent with the multimeters available at the ECE laboratories.  Use a FPGA kit to implement the logic component of our circuit (programmed via VHDL) and also for its LED and LCD displays to showcase the functionalities of our multimeter.  The basic design of the VHDL code is a system to : -- Control the flow of the following states- Reset/Display, Count- Up, Set-Sign, Countdown and Binary-BCD Decoding -- Manipulate the four registers to fluctuate between the ohmmeter, voltmeter, ammeter and the Beta calculations. -- Use the LCD drivers to signal the current state. Objective
  • 8.  Xilinx Vivado 2014.1  ModelSim SE 6.2g (Mentor Graphics)  Xilinx SDK 2014.1  Windows 7 Platforms used
  • 9. Modes of DMM: 1. Voltmeter 2. Ammeter 3. Ohmmeter 4. Beta calculator  Built by chip soldering on the Electric Circuit Board (ECB)  Run by FPGA kit, which is controlled by the VHDL code  FPGA sends the signals to the ECB contained in a black box Main parts of the DMM: 1. VHDL code 2. Power Supply 3. Voltmeter circuit 4. Ammeter circuit 5. Ohmmeter circuit 6. Beta calculator circuit 7. Metal enclosure Mechanism
  • 10.  The FPGA is sync. with the fundamental Voltmeter circuit to perform as per the VHDL code  Voltmeter circuit is the basic circuit and serves as a platform  Ohmmeter uses the voltmeter to know the unknown R by passing a small constant current  Ammeter uses the voltmeter and a difference and inverting amplifier to find the current  Power supply steps down the AC voltage and converts it into DC. Contd.
  • 11.  VHDL code  Power supply  Voltmeter  Ammeter  Ohmmeter  Beta calculator  Metal enclosure Working parts
  • 12. -- serves as the brain of the DMM -- works as counters, registers, decoders, multiplexers, range checkers, drivers and state machines Modules of the VHDL code: -- up and down counters -- range check modules (not a part of the State machine) -- binary to BCD converter -- LCD driver -- 4 bit register to store the current mode VHDL code
  • 14. States of the state machine: 1. reset/display 2. count up 3. set sign 4. count down 5. binary-bcd decoding Reset mode: 1. Resets all registers to store new BCD value for display 2. Resets the integrator by shortening the capacitor Count up mode: 1. Up counter measures a particular time(say 500ms) while Vin is enabled and passed to integrator 2. After time, counter signals to pass to next state Set sign mode: 1. Output from the voltmeter comparator is inverted and saved in a latch 2. If Vcomparator>Vg, Vin is –ve or vice versa 3. Output of latch is passed to mux to decide the Vref (+5/-5 volts) State machine
  • 15. Count down mode: 1. Stays in this mode until Vcomparator changes from high to low or vice versa 2. Down counter is enabled to store time in binary Binary to BCD converter mode: 1. Time in binary is converter to BCD 2. Binary is used for easier computation  Working of State machine is based on the Moore’s style state principle Contd.
  • 17. Voltmeter circuit consists of: 1. Integrating op-amp 2. Comparator 3. Multiplexer 4. Relay switches  Integrator and Comparator form the main part of the ADC  Multiplexer provides the Vref as per the sign of Vin  Relay switches are used to choose between Vin and Vref and to reset the integrator  Circuit communicates with the FPGA to work as a full voltmeter Voltmeter
  • 18. Block diagram for voltmeter
  • 19. Ammeter circuit consists of the following chips: 1. Difference amplifier 2. Inverting amplifier 3. Multiplexer 4. Resistors of diff. values  Difference amplifier amplifies [Vth-Vin] and is then inverted  When Vth is 0, ouptut from inverting amplifier is +ve  Multiplexer switches between diff. channels to get the output voltage in the desired range Ammeter
  • 21.  Different constant current sources for different range of the resistances  4 to 1 multiplexer to choose a range Schematic diagram of Ohmmeter circuit: Here, Re is calculated by the formula:  (5-0.7)/Re=0.00001 as Vref=5V and Vbe=0.7 V and constant current=0.01mA  Measuring the drop across the passive element and multiplying by 10000, we get the load resistance. Ohmmeter
  • 22.  Constant base current is sent using a constant current source  Ib=0.1mA for both types npn and pnp transistors  Variable resistor is used to make accurate value of resistor  Transistor acts as current amplifier Ic= β x Ib  Voltage across the collector resistance is measured to get the Ic Beta (β) Calculator
  • 23. Circuit diagram for β calculator
  • 24. Written VHDL codes for the following registers and simulated and synthesized them on Xilinx. --Flip-flops --Binary-BCD converter --Latches -- Ranger checker modules --Comparators -- LCD driver --Encoders -- State machines --Decoders --Multiplexers --Demultiplexers --Counters Work done
  • 25.  Complete replacement of analog multimeters due to: -- higher accuracy -- higher durability -- no parallax error  Modern DMM’s have a no of measurement enhancements which include: -- Auto ranging -- Auto polarity -- Sample and hold --Graphical representation of the quantity under test -- A low bandwidth oscilloscope -- Simple data acquisition features Future Scope
  • 26.  We use VHDL to run the FPGA kit to control the different modes of DMM  Channel to these circuits is switched when button on the board is pressed  Power supply provides the various voltages to the chips in the circuits  Combining these circuits together and putting them in a black box, we build our DMM using VHDL. Conclusion
  • 27.  "Slope (integrating) ADC." : DIGITAL-ANALOG CONVERSION. N.p., n.d. Fri. 20 Oct. 2012. <http://www.allaboutcircuits.com/vol_4/chpt_13/8.html>.  www.TekBrains.org (Bibhuti Vikramaditya)  "Www.datasheetcatalog.com." Www.datasheetcatalog.com. 21 Oct. 2012 <http://www.datasheetcatalog.org/datasheet/stmicroelectronics/1981.pdf >.  "How Analog-to-Digital Converter (ADC) Works | Hardware Secrets." How Analog-to-Digital Converter (ADC) Works | Hardware Secrets. N.p., n.d. Sat. 21 Oct. 2012. <http://www.hardwaresecrets.com/article/How-Analog-to- Digital-Converter-ADC-Works/317/8>.  ”Current Source”. Current source From Wikipedia, the free encyclopaedia N.p. 14 Nov 2012. Retrieved 20 Nov.2012< http://en.wikipedia.org/wiki/Current_source>  www.wikipedia.org References
  • 28. Thank you Please give us a feedback
  • 30. Code
  • 31. code
  • 32. code
  • 33. code
  • 34. code
  • 35. code
  • 36. code
  • 37. code
  • 38. code
  • 39. code
  • 40. code