Unlock instant, AI-driven research and patent intelligence for your innovation.

An equably distributed random number generator and its generation method

A random number generator, uniform distribution technology, applied in the field of information electronics

Inactive Publication Date: 2010-09-01
ZTE CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0019] The technical problem to be solved by the present invention is to solve the problem that when the existing linear congruence method realizes a uniformly distributed random number generator, the amount of calculation is too large to meet the real-time requirements To solve the problem, provide a uniformly distributed random number generation method and system that can be easily and quickly implemented in fixed-point devices such as FPGA or DSP

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An equably distributed random number generator and its generation method
  • An equably distributed random number generator and its generation method
  • An equably distributed random number generator and its generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047]Through the method of the invention, the remainder operation of the linear congruential random number generator can be transformed into a multiplication operation and a shift operation which are convenient for hardware realization, thereby solving the problem that the remainder operation takes too long.

[0048] The fast algorithm that the present invention relates to refers to the modulus M=2 that includes ran0 method in background technology n The remainder method when -1, this method can meet the generation requirement of uniformly distributed random number in most cases in engineering, in addition, through the derivation process similar to the present invention, can easily extend this fast algorithm to other parameters The following linear congruence method.

[0049] The specific derivation process of the present invention is introduced below. When n is any positive integer, c is a non-negative integer, M=2 n -1, and satisfy 2 n a+c2n in the case of,

[0050] For...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The utility model relates to a generator of random number with even distribution, comprising an initialization model, a selector, an MAC and a retarder, which comprises a primary shifting model, a secondary shifting model, a primary adder, a third shifting model, a fourth shifting model and a secondary adder as well. The utility model also relates to a generating method of random number with evendistribution, the steps of which are as follows: firstly, the numerical value x0 is obtained, then a is multiplied by x0 and c is added to get z, with a and c are both nonnegative integers; secondly,z is shifted n digits to the right with the shifter to get zl; z1 is shifted n digits to the left to get z2, wherein, 2na+c<22n; thirdly, the sum of z and z1 minus z2 is y; fourthly, 1 is added to y and n digits are shifted to the right to get y1; y1 is shifted n digits to the left with the shifter to get y2; the sum of y and y1 minus y2 is xi+1, which is the random number generated; fifthly, xi=1 delays and is multiplied by c to get z, then the second step is returned to. The utility model has the advantages of reducing the calculated amount and enabling to satisfy the situations when the real-time generating and evenly distributed random number generator is needed.

Description

Technical field [0001] The present invention involves the field of information electronics, especially a uniform distribution random number generation method and a uniform distribution random number generator. Background technique [0002] Random numbers are widely used in the field of information electronics.For example, in the design of the mobile communication system, the various characteristics of wireless channels need to be simulated in the laboratory, and the performance or performance of the communication system algorithm under these channels will be simulated and evaluated.Test the communication system with channel simulation. Compared with the actual communication environment, the controllability and repeatability are strong, which can save a lot of manpower and material resources. [0003] The implementation method of channel simulation technology can generally be divided into software simulation and semi -solid simulation.The typical example of the former is to model ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F7/58
Inventor 李浩丁杰伟
Owner ZTE CORP