Research and Design of the Gaussian random number generator

Author
QianLiuZuo
Advisor
LinShuiSheng
School
University of Electronic Science and Technology
Major
Information and signal processing
Classification
TP346 Function generator
Degree
Master's thesis
Year
2009
Downloads
357
Citations
2

Request the full text

Abstract

Gaussian random numbers are widely used in financial modeling, simulation of economic systems, molecular dynamics simulation, and communication systems. Take communication systems for example, the most frequently used noise is white Gaussian noise. Through modeling white Gaussian noise by Gaussian random numbers offer a suitable way to research and simulate the communication channel.Numerical methods for Gaussian random number generation have a long history in mathematics and communication based on software. These have been far less attention focused on efficient hardware implementation of Gaussian noise generators. Due to recent advances in field-programmable technology, hardware-based simulations are getting increasing attention due to their huge performance advantages over traditional software-based methods.Most of Recent available hardware Gaussian random number generators base on the transformation from uniform random numbers generated from the LFSRs or simple advanced LFSRs. In the early 1981, LFSRs are blamed as the terrible uniform random number generators. But many people pay more attention to the simple structure in hardware implementation of LFSRs to their drawbacks.Instead of LFSRs, this paper applies cellular automata to produce uniform random numbers which not only has simple hardware structure, but also better ability to generate quality uniform random numbers when in the condition of equal period with LFSRs.Two efficient designs for generating Gaussian random numbers are proposed and optimized for hardware implementation on Field Programmable Gate Arrays in this paper. One is based on the cellular automata, then transfer the uniform random numbers generated by cellular automata into Gaussian random numbers trough Box-Muller algorithms and central limit theorem. The Matlab simulation indicates that the mean is 0.00421.and the variance is 1.00046, which is more suitable than the Gaussian random numbers produced by 64-order LFSR whose mean is 0.06392, and variance is 1.1756. What is more, this method can produce Gaussian random numbers with 7.8σwhich is very close to the Theoretical value 8.2σ.Refer to less hardware resources, this paper also implement Gaussian random generator based on 32-order programmable cellular automata. And its mean is 0.02456 and its variance is 1.08941.Another is based on Wallace algorithm, cellular automata in this proposed method is used only to mix the initial Gaussian random numbers pool to minimize the correlation between output samples. Matlab, Modelsim and ISE 9.1i simulation results show that this method is the best one with mean -0.00181, variance 1.0007 and lest hardware resources targeted on Xilinx Virtex-2 XC2V4000-6 FPGA. Then throughχ~2 test and A-D test to test the quality of Gaussian random numbers based on Wallace method. p value of these two tests are all over 0.05, indicating the samples are with Gaussian distribution.

Table of contents

Abstract 4-6 Abstract 6-16 first chapter 16-22 the 1.1 research background and significance 16-18 the a 1.2 Gaussian white noise generator at home and abroad Research 18-19 1.3 research content 19-20 1.4 of this article organizational structure 20-22 second chapter of Gaussian white noise generator algorithm analysis 22-38 2.1 communication system noise 22-27 2.1.1 white noise 22-23 2.1.2 Gaussian noise 23-26 2.1.3 Gaussian white noise 26-27 2.2 Gaussian random number generator algorithm 27-34 2.2.1 based on the cumulative distribution function of the anti-conversion law 28-29 2.2.2 Transformation Method 29-30 2.2.2.1 triangular distribution segment approximation algorithm 29-30 2.2.2.2 Monty Python algorithm 30 2.2.3 Based refused - received algorithm are found; 30-33 2.2.3.1 Polar algorithm 31 2.2.3.2 Marsaglia-Bray Rejection algorithm 31 2.2.3.3 Ratio of Uniforms algorithm 31-32 2.2.3.4 Ahrens-Dieter Table-Free algorithm 32 2.2.3.5 GRAND algorithm 32-33 2.2.3.6 Ziggurat algorithm 33 2.2.4 recursive algorithm 33-34 of 2.3 uniform random sequence generator modeling 34-36 2.4 This chapter Summary 36-38 Chapter cellular automata theory and research 38-61 3.1 cellular automata concept 38-41 3.2 Cellular Automata Machine type 41-42 3.2.1 additive cellular automata 41-42 3.2.2 Linear and Nonlinear Cellular Automata 42 3.2.3 cyclic and acyclic cellular automata 42 3.2.4 single cell automata and hybrid cellular automata 42 3.2.5 programmable cellular automata 42 3.3 90/150 linear cell automata 42-43 3.4 programmable cell automata analysis 43-44 3.5 cellular automata machine integrated 44-50 3.5.1 greatest common divisor Euclidean algorithm cellular automata 47-50 the of 3.5.1.1 division theorem use 47-49 3.5.1.2 Cell Automata quadratic equation 49-50 3.5.1.3 90/150 cellular automata synthesis algorithm 50 3.6 Cellular Automata Machine VLSI realization 50-52 3.7 cellular automata generate uniform random number generator 52-56 3.7.1 cyclical nature 52 3.7.2 random statistical characteristics 52-56 3.7.2.1 single-bit test 52-53 3.7.2.2 poker test (Poker) 53-54 3.7.2.3 run test (Run) 54-55 3.7.2.4 autocorrelation test 55-56 3.7.3 linear complexity 56 3.8 cellular automata and linear feedback shift register FPGA implementation 56-59 3.8.1 Cellular Automata FPGA to achieve 56-58 3.8.1.1 functional simulation 56-57 3.8.1.2 Integrated Simulation 57-58 3.8.2 FPGA implementation of linear feedback shift register 58-59 3.9 This chapter Summary 59-61 Chapter Gaussian random number sequence generator based on cellular automata design 61-86 4.1 Box-Muller algorithm 61 4.2 Central Limit Theorem 61-63 4.3 Gaussian white noise generator based on cellular automata design 63-67 4.3.1 uniform random number generation module 64-65 4.3.2 Box-Muller algorithm achieve module 65-67 4.3.3 Central Limit Theorem achieve module 67 4.4 algorithm optimization design 67-77 4.4.1 output the smallest bit width analysis 69 4.4.2 sin / cos algorithm optimization 69-72 4.4.2.1 sin / cos minimum bit width optimization 69-70 4.4.2.2 sin / cos segmented polyline polynomial fitting 70-72 4.4.3 square root algorithm optimization 72-76 4.4.3.1 the square root of the smallest bit width optimization 72-74 4.4.3.2 square root segments polyline polynomial fitting 74-76 4.4.4 natural logarithm of the number of algorithms to optimize 76-77 4.4.4.1 of the natural logarithm of the minimum bit width optimization 76-77 4.4.4.2 natural number of segmented polyline fitting 77 4.5 based on cellular automata Gaussian random number generator implementation and simulation results 77-84 4.5.1 Matlab simulation and experimental results 79-82 4.5.2 Modelsim simulation and experimental results 82-83 4.5.3 Xilinx ISE Foundation simulation and experimental results 83-84 4.6 This chapter Summary 84-86 Chapter Wallace Gaussian random number generator algorithm-based design 86-103 5.1 Wallace algorithm principle 86-88 5.2-based the Wallace Gaussian random number generator algorithm design are found; 88-92 5.2.1 uniform random number generator module 88 5.2.2 address generation module 88-90 5.2.3 Gaussian random number generator module 90-91 5.2.3.1 ROM dual-port RAM modules 90 5.2.3.2 orthogonal conversion module 90-91 5.2.4 square and correction module 91-92 5.3 Simulation results as well as analysis of 92-96 5.3.1 Matlab simulation and experimental results 92-94 5.3.2 Modelsim simulation and experimental results 94-95 5.3.3 Xinlinx ISE Foundation simulation and experimental results 95-96 5.4 Gaussian random number of statistical tests 96-101 5.4.1 χ ~ 2 test 96-100 5.4.1.1 χ2 test of principle 97-98 5.4.1.2 chi-square test steps 98-99 5.4.1.3 based on the the Wallace algorithm Gaussian random number sequence x ~ 2 test 99-100 5.4.2 A-D test 100-101 5.4.2.1 A-D test defined 100 5.4.2.2 Wallace algorithm based Gaussian random number sequence AD ??test 100-101 5.5 This chapter Summary 101-103 Chapter 6 Conclusions and Prospects 103-105 Acknowledgements 105-106 the References 106-110 personal resume and Master of the period published papers 110-111

Related dissertations

  1. Research of QR Code Encryption Method Based on Cellular Automata
  2. Research on Theory and Application of Micro-simulation Model of Pedestrian Based on Cellular Automata
    FangJun ·Tsinghua University ·2012 ·Doctoral dissertation
  3. Research on Predicting the Pests' Distribution in Grain Storage
    NiuBo ·Henan University of Technology ·2013 ·Master's thesis
  4. The Analysis of Competitiveness Formation Mechanism in Chinese Shipbuilding Industry
  5. Evaluation of Transit Priority Strategies on Intersections Based on Cellular Automata Modeling
    WangZhiLong ·Beijing Jiaotong University ·2014 ·Master's thesis
  6. Freeway Climbing Lane Set Effect Researth Based on Cellular Automata
    LiangYongDong ·Chang'an University ·2013 ·Master's thesis
  7. Research of Train Flow Based on Cellular Automata
    LuoZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  8. Research on Eexpansion of Urban Construction Land and Carbon Emissions
    LiYaLi ·Henan University ·2013 ·Doctoral dissertation
  9. Multi-scale Simulation of ECAP Forming to AZ31Magnesium Alloy
    ShenBing ·West China University ·2013 ·Master's thesis
  10. Microstructure Evolution Simulation and Experimental Study of7A85Aluminum Aviation Joint Forging by Isothermal Forging Process
    HuangXiangLong ·Central South University ·2013 ·Master's thesis
  11. Simulation of Microstructure Evolution of Ti40Alloy during Hot Forming Process
    SongZuo ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  12. Microstructure Prediction of316LN Strainless Steel for Dynamic Recrystallization Based on Cellular Automata Method
    JiHaiPeng ·Yanshan University ·2013 ·Doctoral dissertation
  13. Study on Land Use/Cover Change and Its Scenarios Simulation in the Southern Mountainous Areas of Jinan
    WeiYaoWu ·Shandong Normal University ·2014 ·Master's thesis
  14. The AIDS Studies Based on GIS and Cellular Automaton
    ZhangLiLi ·Wuhan University of Technology ·2013 ·Master's thesis
  15. Influence of Environmental Factors on Corrosion Damage of Structure by Molecular Dynamics Simulation
    YangQiaoZuo ·Ningxia University ·2013 ·Master's thesis
  16. Some Universality Results of Random Matrix Theory
    BaoZhiGang ·Zhejiang University ·2013 ·Doctoral dissertation
  17. Power Research of Testing Equality of Two Population Covariance Matrices
    ZhaoYiHong ·Northeast Normal University ·2013 ·Master's thesis
  18. Limiting Behavior of Eigenvectors of Large Dimensional Random Matrices
    XiaNingNing ·Northeast Normal University ·2013 ·Doctoral dissertation
  19. Decision-making Behavior in Response to Unconventional Emergency
    LiuJia ·Wuhan University of Technology ·2012 ·Master's thesis
  20. Reseach on the Financial Market Modeling Based on the Cellular Automata
    LiJie ·Beijing Jiaotong University ·2012 ·Doctoral dissertation