SlideShare a Scribd company logo
1 of 13
By
Dr. Gargi Khanna
Department of Electronics & Communication
Engg.
NIT Hamirpur

Monte Carlo Simulation
 Simulation based power analysis require a set of
simulation vectors
 The switching activity information is collected and
applied to appropriate power model
 Each simulation vector causes some energy
dissipation and total power dissipation is derived by
summing up energy of each vector and dividing over
simulation time.

Monte Carlo Simulation
 How many input vectors are required for correct
estimation of Power dissipation??????
 How much extra accuracy can be achieved by
simulating million vectors vs thousand vectors.
Stopping Criteria for simulation

 Consider Basic sample period T in which a single
power dissipation value is observed.
E.g. T may be several vectors or several clock cycles.
The estimated power of circuit under
simulation is given by average value of the
samples
𝑃 =
𝑝1+𝑝2+𝑝3+⋯……..𝑝𝑛
𝑛
 classical mean estimation
Statistical Estimation of mean

 In statistics we draw N samples from a large
population and try to find mean of population.
 For small value of N, P is not truthful and
 for large N unnecessary computation will be
performed without gaining meaningful accuracy.
Statistical Estimation of mean
The
stopping
criteria
Determine
the sample
size N
 Let pi are random variables following unknown
probability density function. The distribution of pi depends
on the circuit, simulation vectors and sample intervals.
 Let µ and σ2 mean and variance of pi, Now the question is
how accurate is P in estimating µ with N samples?
 According to the well-known central limit theorem in
statistics, the sample mean P approaches the normal
distribution for large N regardless of the distribution of Pi'
 Assume that the samples Pi have normal distribution.
 Basic statistical theory states that the average of normally
distributed random variables also has normal distribution.
The mean of P is exactly µ and its variance is
𝜎𝜌
2=
𝜎2
𝑁
(1)
The normal distribution curve for P
To quantify the accuracy of the sample mean P, a maximum error tolerance
term is used, Given , find what is the probability that P is within the error
range of
the true mean
what is the probability for the condition??
0 ≤
𝑃−𝜇
𝜇
≤ 𝜀 (2)
The normal distribution curve for P
0 ≤
𝑃−𝜇
𝜇
≤ 𝜀 (2)
# If this probability is high, trust the estimate P; otherwise, increase the
sample size N to gain more confidence.
# The probability can be obtained by integrating the normal distribution
curve p(x).
# The probability is more conveniently expressed by a confidence
variable
The confidence level is defined as 100 (1 - )%. A confidence level of 100%
( = 0) means that P is absolutely within the error tolerance of e.
* Typically, the confidence level is set to more than 90% to be
meaningful.
To explore the relationships among , and N, define a variable
z /2 such that the area between µ- z /2 crp and µ+ z /2 crp under the nonnal
distribution curve p(x) is (1 - ).
To Ensure the error condition
(3)
Using (1) and (3)
The value of z distribution is typically obtained
from a mathematical table known as the z-
distribution
function.
# It is actually not very practical because actual mean and variance are
unknown quantities dependent on the circuit, simulation vectors and the
sample interval.
# For limited sample size find the sample average and sample variance
# The variables P and S2 are quantities that can be directly computed from
the observed N samples
# To get the confidence for measurement within desired level we would
change the z-distribution to the t-distribution. Thus to achieve a confidence
level of (1 - ) and an error tolerance of , the number of samples required is:
The procedure is summarized as follows:
1. Simulate to collect one sample Pi'
2. Evaluate sample mean P and variance S2 using Equation
3. Check if the inequality is satisfied; if so stop, else repeat from Step 1

1. Simulate to collect samples Pi‘
2. Evaluate sample mean P and variance S2
3. Check if the inequality is satisfied; if so stop, else
repeat from Step 1.
Monte carlo procedure
Thanks !!!
Stay Safe

More Related Content

What's hot

Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Madhumita Tamhane
 
Correlative level coding
Correlative level codingCorrelative level coding
Correlative level codingsrkrishna341
 
EC6601 VLSI Design Memory Circuits
EC6601 VLSI Design   Memory CircuitsEC6601 VLSI Design   Memory Circuits
EC6601 VLSI Design Memory Circuitschitrarengasamy
 
Convolutional Error Control Coding
Convolutional Error Control CodingConvolutional Error Control Coding
Convolutional Error Control CodingMohammed Abuibaid
 
Introduction to Information Theory and Coding.pdf
Introduction to Information Theory and Coding.pdfIntroduction to Information Theory and Coding.pdf
Introduction to Information Theory and Coding.pdfJimma University
 
Information Theory Coding 1
Information Theory Coding 1Information Theory Coding 1
Information Theory Coding 1Mahafuz Aveek
 
EC8352- Signals and Systems - Unit 2 - Fourier transform
EC8352- Signals and Systems - Unit 2 - Fourier transformEC8352- Signals and Systems - Unit 2 - Fourier transform
EC8352- Signals and Systems - Unit 2 - Fourier transformNimithaSoman
 
Cmos design
Cmos designCmos design
Cmos designMahi
 
Baseband shaping for data transmission
Baseband shaping for data transmissionBaseband shaping for data transmission
Baseband shaping for data transmissionsparamita
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexersUnsa Shakir
 

What's hot (20)

Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
 
Correlative level coding
Correlative level codingCorrelative level coding
Correlative level coding
 
Fir filter_utkarsh_kulshrestha
Fir filter_utkarsh_kulshresthaFir filter_utkarsh_kulshrestha
Fir filter_utkarsh_kulshrestha
 
EC6601 VLSI Design Memory Circuits
EC6601 VLSI Design   Memory CircuitsEC6601 VLSI Design   Memory Circuits
EC6601 VLSI Design Memory Circuits
 
Convolution Codes
Convolution CodesConvolution Codes
Convolution Codes
 
Sampling Theorem
Sampling TheoremSampling Theorem
Sampling Theorem
 
Convolutional Error Control Coding
Convolutional Error Control CodingConvolutional Error Control Coding
Convolutional Error Control Coding
 
Introduction to Information Theory and Coding.pdf
Introduction to Information Theory and Coding.pdfIntroduction to Information Theory and Coding.pdf
Introduction to Information Theory and Coding.pdf
 
Information Theory Coding 1
Information Theory Coding 1Information Theory Coding 1
Information Theory Coding 1
 
Low Power Techniques
Low Power TechniquesLow Power Techniques
Low Power Techniques
 
Reed solomon codes
Reed solomon codesReed solomon codes
Reed solomon codes
 
Linear block code
Linear block codeLinear block code
Linear block code
 
Second order effects
Second order effectsSecond order effects
Second order effects
 
Dcs unit 2
Dcs unit 2Dcs unit 2
Dcs unit 2
 
EC8352- Signals and Systems - Unit 2 - Fourier transform
EC8352- Signals and Systems - Unit 2 - Fourier transformEC8352- Signals and Systems - Unit 2 - Fourier transform
EC8352- Signals and Systems - Unit 2 - Fourier transform
 
Cmos design
Cmos designCmos design
Cmos design
 
Baseband shaping for data transmission
Baseband shaping for data transmissionBaseband shaping for data transmission
Baseband shaping for data transmission
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
CMOS TG
CMOS TGCMOS TG
CMOS TG
 
cyclic_code.pdf
cyclic_code.pdfcyclic_code.pdf
cyclic_code.pdf
 

Similar to Monte Carlo Simulation Stopping Criteria for Accurate Power Estimation

Monte carlo simulation
Monte carlo simulationMonte carlo simulation
Monte carlo simulationAnurag Jaiswal
 
Interval Estimation & Estimation Of Proportion
Interval Estimation & Estimation Of ProportionInterval Estimation & Estimation Of Proportion
Interval Estimation & Estimation Of Proportionmathscontent
 
Interval Estimation & Estimation Of Proportion
Interval Estimation & Estimation Of ProportionInterval Estimation & Estimation Of Proportion
Interval Estimation & Estimation Of ProportionDataminingTools Inc
 
Ch3_Statistical Analysis and Random Error Estimation.pdf
Ch3_Statistical Analysis and Random Error Estimation.pdfCh3_Statistical Analysis and Random Error Estimation.pdf
Ch3_Statistical Analysis and Random Error Estimation.pdfVamshi962726
 
Advanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptxAdvanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptxakashayosha
 
statistical inference.pptx
statistical inference.pptxstatistical inference.pptx
statistical inference.pptxSoujanyaLk1
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: EstimationParag Shah
 
Estimation in statistics
Estimation in statisticsEstimation in statistics
Estimation in statisticsRabea Jamal
 
Estimating population values ppt @ bec doms
Estimating population values ppt @ bec domsEstimating population values ppt @ bec doms
Estimating population values ppt @ bec domsBabasab Patil
 
Point Estimate, Confidence Interval, Hypotesis tests
Point Estimate, Confidence Interval, Hypotesis testsPoint Estimate, Confidence Interval, Hypotesis tests
Point Estimate, Confidence Interval, Hypotesis testsUniversity of Salerno
 

Similar to Monte Carlo Simulation Stopping Criteria for Accurate Power Estimation (20)

Monte carlo simulation
Monte carlo simulationMonte carlo simulation
Monte carlo simulation
 
Interval Estimation & Estimation Of Proportion
Interval Estimation & Estimation Of ProportionInterval Estimation & Estimation Of Proportion
Interval Estimation & Estimation Of Proportion
 
Interval Estimation & Estimation Of Proportion
Interval Estimation & Estimation Of ProportionInterval Estimation & Estimation Of Proportion
Interval Estimation & Estimation Of Proportion
 
Estimating a Population Mean
Estimating a Population Mean  Estimating a Population Mean
Estimating a Population Mean
 
Estimating a Population Proportion
Estimating a Population Proportion  Estimating a Population Proportion
Estimating a Population Proportion
 
Chapter10 Revised
Chapter10 RevisedChapter10 Revised
Chapter10 Revised
 
Chapter10 Revised
Chapter10 RevisedChapter10 Revised
Chapter10 Revised
 
Chapter10 Revised
Chapter10 RevisedChapter10 Revised
Chapter10 Revised
 
Ch3_Statistical Analysis and Random Error Estimation.pdf
Ch3_Statistical Analysis and Random Error Estimation.pdfCh3_Statistical Analysis and Random Error Estimation.pdf
Ch3_Statistical Analysis and Random Error Estimation.pdf
 
Advanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptxAdvanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptx
 
Inferential statistics-estimation
Inferential statistics-estimationInferential statistics-estimation
Inferential statistics-estimation
 
statistical inference.pptx
statistical inference.pptxstatistical inference.pptx
statistical inference.pptx
 
Chapter9
Chapter9Chapter9
Chapter9
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
 
Estimation in statistics
Estimation in statisticsEstimation in statistics
Estimation in statistics
 
Chapter09
Chapter09Chapter09
Chapter09
 
STATISTIC ESTIMATION
STATISTIC ESTIMATIONSTATISTIC ESTIMATION
STATISTIC ESTIMATION
 
Estimating population values ppt @ bec doms
Estimating population values ppt @ bec domsEstimating population values ppt @ bec doms
Estimating population values ppt @ bec doms
 
Resampling methods
Resampling methodsResampling methods
Resampling methods
 
Point Estimate, Confidence Interval, Hypotesis tests
Point Estimate, Confidence Interval, Hypotesis testsPoint Estimate, Confidence Interval, Hypotesis tests
Point Estimate, Confidence Interval, Hypotesis tests
 

More from GargiKhanna1

Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter DesignGargiKhanna1
 
Multiplexers and Demultiplexers
Multiplexers and DemultiplexersMultiplexers and Demultiplexers
Multiplexers and DemultiplexersGargiKhanna1
 
Combinational Logic Circuit
Combinational Logic CircuitCombinational Logic Circuit
Combinational Logic CircuitGargiKhanna1
 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codesGargiKhanna1
 
Boolean Function SOP & POS
Boolean Function SOP &  POSBoolean Function SOP &  POS
Boolean Function SOP & POSGargiKhanna1
 

More from GargiKhanna1 (12)

MOS logic family
MOS logic familyMOS logic family
MOS logic family
 
Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter Design
 
Multiplexers and Demultiplexers
Multiplexers and DemultiplexersMultiplexers and Demultiplexers
Multiplexers and Demultiplexers
 
Combinational Logic Circuit
Combinational Logic CircuitCombinational Logic Circuit
Combinational Logic Circuit
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codes
 
Number system
Number system Number system
Number system
 
Boolean Function SOP & POS
Boolean Function SOP &  POSBoolean Function SOP &  POS
Boolean Function SOP & POS
 
Logic gate
Logic gateLogic gate
Logic gate
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Binary codes
Binary codesBinary codes
Binary codes
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 

Recently uploaded

Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 

Recently uploaded (20)

Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 

Monte Carlo Simulation Stopping Criteria for Accurate Power Estimation

  • 1. By Dr. Gargi Khanna Department of Electronics & Communication Engg. NIT Hamirpur
  • 2.  Monte Carlo Simulation  Simulation based power analysis require a set of simulation vectors  The switching activity information is collected and applied to appropriate power model  Each simulation vector causes some energy dissipation and total power dissipation is derived by summing up energy of each vector and dividing over simulation time.
  • 3.  Monte Carlo Simulation  How many input vectors are required for correct estimation of Power dissipation??????  How much extra accuracy can be achieved by simulating million vectors vs thousand vectors. Stopping Criteria for simulation
  • 4.   Consider Basic sample period T in which a single power dissipation value is observed. E.g. T may be several vectors or several clock cycles. The estimated power of circuit under simulation is given by average value of the samples 𝑃 = 𝑝1+𝑝2+𝑝3+⋯……..𝑝𝑛 𝑛  classical mean estimation Statistical Estimation of mean
  • 5.   In statistics we draw N samples from a large population and try to find mean of population.  For small value of N, P is not truthful and  for large N unnecessary computation will be performed without gaining meaningful accuracy. Statistical Estimation of mean The stopping criteria Determine the sample size N
  • 6.  Let pi are random variables following unknown probability density function. The distribution of pi depends on the circuit, simulation vectors and sample intervals.  Let µ and σ2 mean and variance of pi, Now the question is how accurate is P in estimating µ with N samples?  According to the well-known central limit theorem in statistics, the sample mean P approaches the normal distribution for large N regardless of the distribution of Pi'  Assume that the samples Pi have normal distribution.  Basic statistical theory states that the average of normally distributed random variables also has normal distribution. The mean of P is exactly µ and its variance is 𝜎𝜌 2= 𝜎2 𝑁 (1)
  • 7. The normal distribution curve for P To quantify the accuracy of the sample mean P, a maximum error tolerance term is used, Given , find what is the probability that P is within the error range of the true mean what is the probability for the condition?? 0 ≤ 𝑃−𝜇 𝜇 ≤ 𝜀 (2)
  • 8. The normal distribution curve for P 0 ≤ 𝑃−𝜇 𝜇 ≤ 𝜀 (2) # If this probability is high, trust the estimate P; otherwise, increase the sample size N to gain more confidence. # The probability can be obtained by integrating the normal distribution curve p(x). # The probability is more conveniently expressed by a confidence variable The confidence level is defined as 100 (1 - )%. A confidence level of 100% ( = 0) means that P is absolutely within the error tolerance of e. * Typically, the confidence level is set to more than 90% to be meaningful.
  • 9. To explore the relationships among , and N, define a variable z /2 such that the area between µ- z /2 crp and µ+ z /2 crp under the nonnal distribution curve p(x) is (1 - ). To Ensure the error condition (3) Using (1) and (3) The value of z distribution is typically obtained from a mathematical table known as the z- distribution function.
  • 10. # It is actually not very practical because actual mean and variance are unknown quantities dependent on the circuit, simulation vectors and the sample interval. # For limited sample size find the sample average and sample variance # The variables P and S2 are quantities that can be directly computed from the observed N samples # To get the confidence for measurement within desired level we would change the z-distribution to the t-distribution. Thus to achieve a confidence level of (1 - ) and an error tolerance of , the number of samples required is:
  • 11. The procedure is summarized as follows: 1. Simulate to collect one sample Pi' 2. Evaluate sample mean P and variance S2 using Equation 3. Check if the inequality is satisfied; if so stop, else repeat from Step 1
  • 12.  1. Simulate to collect samples Pi‘ 2. Evaluate sample mean P and variance S2 3. Check if the inequality is satisfied; if so stop, else repeat from Step 1. Monte carlo procedure