CN206541291U - A kind of random number visualization device - Google Patents
A kind of random number visualization device Download PDFInfo
- Publication number
- CN206541291U CN206541291U CN201720217420.4U CN201720217420U CN206541291U CN 206541291 U CN206541291 U CN 206541291U CN 201720217420 U CN201720217420 U CN 201720217420U CN 206541291 U CN206541291 U CN 206541291U
- Authority
- CN
- China
- Prior art keywords
- abacus
- steering wheel
- random number
- bead
- electric signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Toys (AREA)
Abstract
The utility model is related to a kind of random number visualization device, belong to electromechanical control field, the utility model does not have visualization feature to solve the randomizer of prior art, the problem of being difficult its randomness of intuitivism apprehension, and propose a kind of random number visualization device, including abacus, one group of column, control main body and electric control gear, wherein, column is used for the position for fixing abacus;Screw rod is used to drive steering wheel to move along the direction of screw rod by rotating;Electric control gear is used to produce ordered series of numbers electric signal, and ordered series of numbers electric signal is sent to linear electric motors, stops so that linear electric motors control steering wheel is advanced after the duration matched with ordered series of numbers electric signal;Steering wheel is provided with swing arm in the one side vertical with the plane of abacus, and swing arm is used for being swung according to the control of steering wheel to stir the bead on abacus, and the position of bead is used for the value for representing the random number after visualization.The utility model is applied to statistical random number generator.
Description
Technical field
The utility model is related to a kind of random number visualization device, belongs to random number visualization field, electromechanical control field.
Background technology
Random number is needed to use in the different technologies such as statistics, cryptography, the visualization of random number is widely used in work
In terms of the every field such as industry, life, such as lottery ticket, safety box password.But in the prior art, seldom it is related to the visual of random number
Change, i.e., do not occur the technology for intuitively being shown the generation process of random number by mechanical device.Meanwhile, prior art is not yet
Random number can be combined with machine error, because machine error has randomness in itself, machine error is in machine driving
Cause, and mechanical transmission course is that, with intuitive, user can be by the machine error of amplification come direct feel randomness.
Accordingly, it would be desirable to which a kind of new random number visualization device, random number and machine error is carried out intuitively visual
Change is handled.
Utility model content
The purpose of this utility model is that do not have visualization feature to solve the randomizer of prior art, is difficult
The problem of its randomness of intuitivism apprehension.
Random number visualization device includes abacus, one group of column, control main body and electric control gear, wherein, each column
One end and one end of abacus connect, the other end of column is placed on supporting surface, and the column is used for the position for fixing the abacus
Put;The control main body is arranged on the lower section of the abacus, and the control main body includes the base with strip groove, described recessed
The screw rod of linear electric motors driving is provided with groove, the screw rod is fixedly arranged above steering wheel, and the screw rod is used for by rotation
The steering wheel is driven to be moved along the direction of screw rod;The electric control gear is used to produce ordered series of numbers electric signal, and by the number
Column electrical signal is sent to the linear electric motors, so that the linear electric motors control the steering wheel to advance and the ordered series of numbers electric signal phase
Stop after the duration of matching;The steering wheel is provided with swing arm in the one side vertical with the plane of the abacus, and the swing arm is used for
Being swung according to the control of the steering wheel to stir the bead on the abacus, the position of the bead is used to represent visual
The value of random number after change.
The beneficial effects of the utility model are:First, the utility model application time seed principle, produces substantially random
Number, the generation for electric signal.2nd, the utility model reads signal by single-chip microcomputer, recognizes signal, and the two dimension of applied mathematics is reflected
Chaos processing is penetrated, randomness is added.3rd, the utility model reads electric signal with linear electric motors, passes through motor and steering wheel, abacus
Combination utilize, intuitively on the present abacus of the table of random numbers.4th, the utility model application machine error, makes electric signal and production
Raw random number has certain difference, is that original randomizer is always no, belongs to a kind of new breakthrough.5th, electricity is made
The random number that control device is produced shows as the reading on abacus with being embodied, and adds intuitive, it is easier to carry out perceptual knowledge.
Brief description of the drawings
Fig. 1 is the structure chart of random number visualization device of the present utility model;
Fig. 2 is the structure chart of linear electric motors of the present utility model and steering wheel;
Fig. 3 is the schematic diagram that random number visualization device of the present utility model stirs a bead;
The schematic diagram that Fig. 4 stirs for the bead of embodiment of the present utility model.
Embodiment
Embodiment one:The random number visualization device of present embodiment, as shown in figure 1, including abacus 1, one group
Column 5, control main body and electric control gear 4, wherein, one end of each column 5 and one end of abacus are connected, column 5 it is another
End is placed on supporting surface, and column 5 is used for the position for fixing abacus 1;Control main body is arranged on the lower section of abacus 1, controls main body bag
The screw rod 6 that linear electric motors driving is provided with the base 2 with strip groove, groove is included, screw rod 6 is fixedly arranged above steering wheel
3, screw rod 6 is used to drive direction of the steering wheel 3 along screw rod 6 to move by rotating;Electric control gear 4 is used to produce ordered series of numbers telecommunications
Number, and ordered series of numbers electric signal is sent to linear electric motors, so that linear electric motors control steering wheel 3 to advance and ordered series of numbers telecommunications by screw rod 6
Stop after number duration matched;Steering wheel 3 is provided with swing arm 31 in the one side vertical with the plane of abacus 1, and swing arm 31 is used for
Swung according to the control of steering wheel 3 to stir the bead on abacus 1, the position of bead is used to represent the random number after visualization
Value.
Produced it is to be understood that the utility model is the random number that will tentatively generate by electric signal, electric signal control is straight
Line motor advances, and machine error can be produced in the process so that the displacement that linear electric motors are produced has relative fluctuation value, and
After the predetermined duration of motor operation, the swing arm of steering wheel also has relative fluctuation so that the calculation being struck when fluctuating the bead of abacus
Pearl may be different value.After electric signal is passed to mechanically, mechanically activated acceleration is excessive and machine operation is unstable, extraneous mistake
Difference influence, can cause different degrees of influence to random number mechanically, strengthen result randomness.Produce with the aforedescribed process
Multigroup random number is embodied on abacus, and the reading on abacus so finally produced had both reflected the random number of algorithm generation, again
It take into account machine error so that the randomness of random number generator is stronger.
Fig. 2 is the structure chart of linear electric motors of the present utility model and steering wheel.From figure 2 it can be seen that the swing arm tool of steering wheel
There is a tip, this tip can stir abacus with the swing of swing arm, and by setting the angle difference swung to make
The number that bead must be stirred produces change, and then strengthens randomness.
Embodiment two:Present embodiment from unlike embodiment one:Electric control gear includes single-chip microcomputer
And the DS1302 chips being connected with the single-chip microcomputer, electric signal of the DS1302 chips for producing expression time seed,
The single-chip microcomputer is used to the electric signal of the expression time seed being converted to decimal data, and maps expansion using Hemon
The randomness of the decimal data, obtains ordered series of numbers electric signal.
Other steps and parameter are identical with embodiment one.
Embodiment three:Present embodiment from unlike embodiment one or two:The point of the swing arm of steering wheel 3
Hold the linear motion formed along second bead of described each grade of abacus 1 and the gap of the 3rd bead.
First bead is represents the bead of digital " 1 " in each shelves of abacus, the second bead is table in each shelves of abacus
The bead of registration word " 2 ", the 3rd bead is represents the bead of digital " 3 " in each shelves of abacus.Such as in Fig. 1 the 9th grade of left number
It is the first bead to be dialled bead up, and it is the second bead that the 14th grade of left number, which is dialled bead up,.
Moved along a straight line determined by gap of the swing arm of steering wheel along the second bead and the 3rd bead, i.e. swing arm has bigger
Probability transfers to digital " 2 " in a certain shelves, and in the event of machine error, such as swing arm occurs largely to swing, then also may be used
It can transfer to digital " 1 " or digital " 3 ".
Other steps and parameter are identical with embodiment one or two.
Embodiment four:Unlike one of present embodiment and embodiment one to three:Groove is along spiral shell
The both sides in the direction of bar 6 are provided with stopping means, for when steering wheel 3 is contacted with stopping means, making steering wheel 3 stop traveling, and edge
Advance in the direction opposite with former direct of travel.
Other steps and parameter are identical with one of embodiment one to three.
Embodiment five:Unlike one of present embodiment and embodiment one to four:The row of linear electric motors 2
Enter after stopping, the electric control gear 4 produces new ordered series of numbers electric signal, and continues on the linear electric motors 2.
I.e. when linear electric motors are from left to right gone to close to abacus afterbody, return movement is answered, numeral is still according to passing by
Abacus beads are calculated
Other steps and parameter are identical with one of embodiment one to four.
Embodiment six:Present embodiment provides a kind of random digit generation method, and methods described is based on specific real
Apply what any one random number visualization device in mode two to five was realized.Comprise the following steps:
Step 1) DS1302 chips produce electric signal for producing expression time seed, and send to single-chip microcomputer;
Step 2) electric signal for representing time seed is converted to decimal data by single-chip microcomputer, and be mapped into using Hemon
Row processing, obtained ordered series of numbers electric signal is sent to linear electric motors;
Step 3) linear electric motors are advanced the duration matched with ordered series of numbers electric signal, and stop;
Step 4) swing arm of steering wheel stirs bead on abacus;
Step 5) since the current location of linear electric motors, repeat step 1) to step 4), until number of repetition reach it is pre-
If value;
Step 6) read abacus on reading be used as random number.
Embodiment seven:Present embodiment from unlike embodiment six:
Step 2) in, handled using using Hemon mappings, by obtained ordered series of numbers electric signal especially by equation below
Calculate:
yn+1=xn
Wherein, xnAnd xn+1Respectively n-th and n+1 times generation ordered series of numbers electric signal represented by time numerical value, xnFor table
Levy the duration that the linear electric motors will advance;x1To represent the hour numerical value of the time corresponding to the electric signal of time seed;a
To represent the minute numerical value of the time corresponding to the electric signal of time seed;B is corresponding to the electric signal of expression time seed
Second numerical value of time;
Work as xnDuring less than 0, x is takennAbsolute value replace original xnValue;Work as xnDigit be more than 3 when, take xnThe numerical value of last two
Instead of former xnValue.
<Embodiment 1>
The generation process of random number will be described in detail in the present embodiment.
The first step, with perpetual calendar DS1302 or other electronic clocks, produces electronic clock signal, when being collected by single-chip microcomputer
Clock signal:Time H, minute M, second S.Due to the randomness of time seed, it may determine that substantially as simple random seed.
Second step, because the random signal randomness of generation is not strong, it is difficult to be directly changed with dynamoelectric signal, pass to mechanical dress
Put, so, the utility model is the randomness of increase data, and by the time H of generation, minute M, second S carries out two dimension Hemon
Chaos processing.
yn+1=xn
Make x1=H, a=M, b=S, therewith, are sequentially generated x2、x3、x4。
To meet electric signal needs, it is necessary to make following processing:
1st, x is worked asnDuring less than 0, x is takennAbsolute value replace initial value.
2nd, due to xnMay be excessive, work as xnWhen digit is more than 3, two after only taking.
Algorithm above, can be realized by simple Programming with Pascal Language, final to produce required x by second step1、x2、x3、
x4。
3rd step, by the digital x of generation1、x2、x3、x4, as the call by value of delay function, make motor in the different time
After interval stops, steering wheel stirs abacus, produces different numerals.For example, x1=98, x2=57, x3=45, x4After=52 start,
Motor rotates delay (x1Stop behind)=5.4 second, steering wheel stirs the pearl of the ninth speed of abacus, then recording units value is
9, motor is rotated further, and due to machine error and signal interference, motor may rotate delay (x2Stop behind)=2.6 second, from the
Secondary rotation starts timing, and steering wheel stirs the pearl of the fifth speed of abacus, then record ten digit value is 5, and motor is rotated further,
Because machine error and signal are disturbed, motor may rotate delay (x3Stop behind)=2.3 second, counted since being rotated third time
When, steering wheel stirs the pearl of the fourth speed of abacus, then record hundreds value is 4, and motor is rotated further, due to machine error and
Signal is disturbed, and motor may rotate delay (x4Stop behind)=2.4 second, timing being rotated since the 4th time, steering wheel stirs abacus
The 5th pearl, then record kilobit numerical value is 5, produces a four figures 5459, is used as the random number of generation.I.e. steering wheel is more
Secondary to be stirred, the gear toggled it to each time for example pushes the 6th gear for the first time as individual, ten, hundred, thousand ... values
Bead, then individual place value just be 6.It should be noted which of a certain gear the utility model can not consider to toggle it to
Bead, and only consider which gear toggled it to.
By many experiments, find this method should be noted it is following some:
(1) delay function delay (xn) need to ensure, work as xnWhen=0-99, it is necessary to assure, stir numerical frequency general one
Cause, and 90 or so, its ninth speed bead is toggled it to, can be gone out by single-chip microcomputer simple computation, or gone out by experimental calculation.
(2) when linear electric motors are from left to right gone to close to abacus afterbody, return movement is answered, numeral is still according to passing by
Abacus beads are calculated.
(3) due to that when linear electric motors are returned, influence can be produced on the pearl stirred before, it should be returned in linear electric motors
Before, manually or mechanically stir, pearl is stirred before and reverses original state.
(4) because linear electric motors stop at the position difference of abacus bead, being previously noted can not typically consider to toggle it to one
Some specific bead of individual gear, it is also contemplated that to this point, so as to further increase some randomnesss, because working as along institute
When having the straight line of the gap formation of second bead and the 3rd bead of gear and advancing, normal condition lower swing arm can be toggled it to
Second bead, can also stir the 3rd bead once in a while, when stirring the 3rd bead, can add 1 by the data of record, together
Reason, when stirring first bead, can subtract 1 by record data.If for example, toggling it to the 6th grade of second calculation for the first time
Pearl, then the value of units is 6, if the first secondary undulation is to the 6th grade of the 3rd bead, then units can be designated as into 7,
Data are added 1.
When Fig. 4 shows a case that to toggle it to different beads.Wherein A is stirs the 2nd bead, and B is to stir the 1st calculation
Pearl.
The utility model can also have other various embodiments, in the situation without departing substantially from the utility model spirit and its essence
Under, those skilled in the art work as can make and (make) to go out various corresponding changes and deformation according to the utility model, but these are corresponding
Change and deformation should all belong to the scope of the claims appended by the utility model.
Claims (5)
1. a kind of random number visualization device, it is characterised in that including abacus (1), one group of column (5), control main body and electricity
Device (4) is controlled, wherein, one end of each column (5) and one end of abacus are connected, and the other end of column (5) is placed on supporting surface,
The column (5) is used for the position for fixing the abacus (1);The control main body is arranged on the lower section of the abacus (1), described
Main body is controlled to include being provided with the screw rod (6) of linear electric motors driving in the base (2) with strip groove, the groove,
The screw rod (6) is fixedly arranged above steering wheel (3), and the screw rod (6) is used to drive the steering wheel (3) along screw rod by rotating
(6) direction is moved;The electric control gear (4) is used to produce ordered series of numbers electric signal, and by the ordered series of numbers electric signal send to
The linear electric motors, so that the linear electric motors control the steering wheel (3) to advance and the ordered series of numbers electric signal phase by screw rod (6)
Stop after the duration of matching;The steering wheel (3) is provided with swing arm (31), institute in the one side vertical with the plane of the abacus (1)
Stating swing arm (31) is used to being swung according to the control of the steering wheel (3) stir the bead on the abacus (1), the calculation
The position of pearl is used for the value for representing the random number after visualization.
2. random number visualization device according to claim 1, it is characterised in that the groove is along the screw rod (6)
The both sides in direction are provided with stopping means, for when the steering wheel (3) is contacted with the stopping means, making the steering wheel (3)
Stop advancing, and advanced along the direction opposite with former direct of travel.
3. random number visualization device according to claim 1, it is characterised in that the electric control gear (4) includes monolithic
Machine and the DS1302 chips being connected with the single-chip microcomputer, the DS1302 chips are used for the telecommunications for producing expression time seed
Number, the single-chip microcomputer is used to the electric signal of the expression time seed being converted to decimal data, and obtains ordered series of numbers electric signal.
4. random number visualization device according to claim 1, it is characterised in that the swing arm (31) of the steering wheel (3)
The linear motion that tip is formed along second bead of the abacus (1) each grade and the gap of the 3rd bead.
5. random number visualization device according to claim 1, it is characterised in that also including with the electric control gear (4)
The charactron of connection, the distance advanced during for showing that the linear electric motors stop.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720217420.4U CN206541291U (en) | 2017-03-07 | 2017-03-07 | A kind of random number visualization device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720217420.4U CN206541291U (en) | 2017-03-07 | 2017-03-07 | A kind of random number visualization device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206541291U true CN206541291U (en) | 2017-10-03 |
Family
ID=59941011
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201720217420.4U Expired - Fee Related CN206541291U (en) | 2017-03-07 | 2017-03-07 | A kind of random number visualization device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206541291U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114564171A (en) * | 2022-03-04 | 2022-05-31 | 中国工程物理研究院电子工程研究所 | True random number generation method, device, electronic equipment, storage medium and system |
CN115188248A (en) * | 2022-07-28 | 2022-10-14 | 武汉虹捷信息技术有限公司 | Abacus system and abacus demonstration method |
-
2017
- 2017-03-07 CN CN201720217420.4U patent/CN206541291U/en not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114564171A (en) * | 2022-03-04 | 2022-05-31 | 中国工程物理研究院电子工程研究所 | True random number generation method, device, electronic equipment, storage medium and system |
CN114564171B (en) * | 2022-03-04 | 2023-09-12 | 中国工程物理研究院电子工程研究所 | True random number generation method, true random number generation device, electronic equipment, storage medium and true random number generation system |
CN115188248A (en) * | 2022-07-28 | 2022-10-14 | 武汉虹捷信息技术有限公司 | Abacus system and abacus demonstration method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN206541291U (en) | A kind of random number visualization device | |
CN103728923B (en) | A kind of efficient high digital control system Acceleration-deceleration Control Method stably | |
CN106426184A (en) | Robot control system | |
JPS5872400A (en) | Method and device for controlling step motor | |
DE4200477A1 (en) | ELECTRICAL CONTROL DEVICE FOR BRUSHLESS ELECTRIC MOTORS | |
CN106406360B (en) | A kind of virtual instrument pointer method of controlling rotation and device | |
CN108620689A (en) | A kind of numerical control strong scraping teeth parametric programming processing method | |
CN103676787A (en) | Circle center mode space circular interpolation method applied to motion control system | |
CN112636660B (en) | Servo drive control system and absolute position signal processing method, device and equipment | |
CN1925310B (en) | Motor speed control system and load inertia estimating method using inverse operating model | |
CN108983640B (en) | Electric linear steering engine control system and method based on LabVIEW | |
US3461365A (en) | Display system and methods | |
CN204229676U (en) | A kind of cigarette machine teaching simulated experiment platform | |
CN103219971A (en) | Sinusoidal pulse width modulation (SPWM) impulse wave production system based on modulating wave period normalization | |
CN105446166B (en) | Machine tool of numerical control system environmental simulation instrument | |
CN104793568A (en) | Multi-axle interpolation method | |
CN101349907B (en) | Numerical control system and method for optimizing data stream | |
CN100542006C (en) | Controller for motor | |
JP2012073158A (en) | Information display device | |
CN204374726U (en) | A kind of digital control system based on B-spline curves high speed real-time interpolation | |
Vasie et al. | Analysis of noncircular gears meshing | |
CN103552072B (en) | A kind of robot control method based on embedded controller and device | |
CN106662855A (en) | Method for setting synchronous control of positioning control device, program, and control setting device for positioning control device | |
CN103926877A (en) | Multi-shaft linkage numerical control system and machining method thereof | |
CN106959678A (en) | A kind of electronical line shaft generation method that mechanism is reported based on clock bus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171003 Termination date: 20180307 |
|
CF01 | Termination of patent right due to non-payment of annual fee |