US20230364500A1 - Intelligent dice - Google Patents
Intelligent dice Download PDFInfo
- Publication number
- US20230364500A1 US20230364500A1 US17/833,930 US202217833930A US2023364500A1 US 20230364500 A1 US20230364500 A1 US 20230364500A1 US 202217833930 A US202217833930 A US 202217833930A US 2023364500 A1 US2023364500 A1 US 2023364500A1
- Authority
- US
- United States
- Prior art keywords
- shell
- dice
- intelligent
- intelligent dice
- axis
- 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.)
- Pending
Links
- 230000001133 acceleration Effects 0.000 claims abstract description 67
- 230000003068 static effect Effects 0.000 claims abstract description 7
- 239000000463 material Substances 0.000 claims description 10
- 230000014509 gene expression Effects 0.000 claims description 9
- 239000012780 transparent material Substances 0.000 claims description 6
- 238000013507 mapping Methods 0.000 claims description 4
- 230000002452 interceptive effect Effects 0.000 description 9
- 238000000034 method Methods 0.000 description 8
- 230000035945 sensitivity Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000005484 gravity Effects 0.000 description 5
- 229920000106 Liquid crystal polymer Polymers 0.000 description 4
- 239000004977 Liquid-crystal polymers (LCPs) Substances 0.000 description 4
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N Silicium dioxide Chemical compound O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 4
- 230000003139 buffering effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- PXHVJJICTQNCMI-UHFFFAOYSA-N Nickel Chemical compound [Ni] PXHVJJICTQNCMI-UHFFFAOYSA-N 0.000 description 2
- 229910052681 coesite Inorganic materials 0.000 description 2
- 229910052906 cristobalite Inorganic materials 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000000377 silicon dioxide Substances 0.000 description 2
- 229910052682 stishovite Inorganic materials 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 229910052905 tridymite Inorganic materials 0.000 description 2
- 125000002384 3-methylcinnamoyl group Chemical group 0.000 description 1
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- KKCBUQHMOMHUOY-UHFFFAOYSA-N Na2O Inorganic materials [O-2].[Na+].[Na+] KKCBUQHMOMHUOY-UHFFFAOYSA-N 0.000 description 1
- 239000004696 Poly ether ether ketone Substances 0.000 description 1
- PNEYBMLMFCGWSK-UHFFFAOYSA-N aluminium oxide Inorganic materials [O-2].[O-2].[O-2].[Al+3].[Al+3] PNEYBMLMFCGWSK-UHFFFAOYSA-N 0.000 description 1
- JUPQTSLXMOCDHR-UHFFFAOYSA-N benzene-1,4-diol;bis(4-fluorophenyl)methanone Chemical compound OC1=CC=C(O)C=C1.C1=CC(F)=CC=C1C(=O)C1=CC=C(F)C=C1 JUPQTSLXMOCDHR-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 229910052593 corundum Inorganic materials 0.000 description 1
- 239000011152 fibreglass Substances 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- JEIPFZHSYJVQDO-UHFFFAOYSA-N iron(III) oxide Inorganic materials O=[Fe]O[Fe]=O JEIPFZHSYJVQDO-UHFFFAOYSA-N 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229910052759 nickel Inorganic materials 0.000 description 1
- 229920002530 polyetherether ketone Polymers 0.000 description 1
- 229920000642 polymer Polymers 0.000 description 1
- 229920002635 polyurethane Polymers 0.000 description 1
- 239000004814 polyurethane Substances 0.000 description 1
- 229910001845 yogo sapphire Inorganic materials 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F9/00—Games not otherwise provided for
- A63F9/04—Dice; Dice-boxes; Mechanical dice-throwing devices
- A63F9/0468—Electronic dice; electronic dice simulators
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F9/00—Games not otherwise provided for
- A63F9/04—Dice; Dice-boxes; Mechanical dice-throwing devices
- A63F2009/0484—Dice with pictures or figures
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F9/00—Games not otherwise provided for
- A63F9/24—Electric games; Games using electronic circuits not otherwise provided for
- A63F2009/2401—Detail of input, input devices
- A63F2009/2436—Characteristics of the input
- A63F2009/2442—Sensors or detectors
- A63F2009/2447—Motion detector
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F9/00—Games not otherwise provided for
- A63F9/24—Electric games; Games using electronic circuits not otherwise provided for
- A63F2009/2448—Output devices
- A63F2009/245—Output devices visual
- A63F2009/2451—Output devices visual using illumination, e.g. with lamps
- A63F2009/2454—Output devices visual using illumination, e.g. with lamps with LED
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F9/00—Games not otherwise provided for
- A63F9/24—Electric games; Games using electronic circuits not otherwise provided for
- A63F2009/2483—Other characteristics
- A63F2009/2488—Remotely playable
- A63F2009/2489—Remotely playable by radio transmitters, e.g. using RFID
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F9/00—Games not otherwise provided for
- A63F9/24—Electric games; Games using electronic circuits not otherwise provided for
- A63F2009/2483—Other characteristics
- A63F2009/2492—Power supply
- A63F2009/2494—Battery, e.g. dry cell
Definitions
- the invention relates to the technical field of dice, in particular to an intelligent dice.
- dice are common entertainment props, such as group running games, table games, etc.
- online interactions have replaced offline gatherings.
- Traditional dice require users to manually judge the figures on the dice.
- the dice itself cannot recognize the figures displayed upward after being thrown.
- the entertainment method of uploading dice figures to the Internet by the user is not only inconvenient, but also cannot guarantee the fairness of the game.
- the purpose of the invention is to provide a dice to avoid the need for a user to manually judge the figure of dice in the remote interactive entertainment, thereby improving the convenience and fairness of the game.
- the invention provides an intelligent dice, comprising:
- a space coordinate system is established with the first direction as any axis; each of the surfaces displaying the figure is mapped to the corresponding coordinate interval in the space coordinate system;
- a space coordinate system [X, Y, Z] is established with the first direction as the Z axis, and the vector coordinates of the second direction satisfy the relational expression:
- R [R x , R y , R z ]
- R is the vector coordinate of the second direction in the space coordinate system [X, Y, Z]
- R x is the coordinate parameter of the projection of the second direction on the X-axis
- R y is the coordinate parameter of the projection of the second direction on the Y-axis
- R z is the coordinate parameter of the projection of the second direction on the Z-axis
- N [N x , N y , N z ]
- N is the coordinate interval of the space coordinate system [X, Y, Z] mapped by any of the surfaces displaying the figure
- N x is the coordinate parameter of the projection of the surface on the X axis
- N y is the coordinate parameter of the projection of the surface on the Y axis
- N z is the coordinate parameter of the projection of the surface on the Z axis
- the intelligent dice further comprises:
- the intelligent dice further comprises:
- the intelligent dice further comprises:
- the intelligent dice further comprises:
- the intelligent dice further comprises:
- the intelligent dice further comprises:
- the inner filling layer is made of transparent material; the light emitted by the LED lamp is emitted to the outside of the shell through the inner filling layer and the digital display layer in sequence.
- an acceleration sensor is provided in the shell; the vector data of gravitational acceleration is collected by the acceleration sensor, so that the relative positions of the second direction relative to each surface are calculated based on the relative positions of the second direction relative to the first direction, with the first direction as a reference, each surface with a fixed position relative to the first direction as another reference, so as to judge the figure information facing upward displayed by the intelligent dice, thereby improving the convenience and fairness of the game.
- a space coordinate system is established by taking the first direction as any axis; each of the surfaces displaying the figure is mapped to the corresponding coordinate interval in the space coordinate system; according to the coordinate interval in which the vector coordinates of the second direction in the space coordinate system fall, the figure information displayed on the dice corresponding to the coordinate interval is acquired. Therefore, the relative positional relationship between the first direction, the second direction and each surface is quantified in the space coordinate system to calculate accurate data, thereby accurately judging the figure information.
- an antenna is provided on the casing, so that the figure information of the dice is automatically uploaded to the Internet to realize remote mutual entertainment.
- a chip is provided in the shell, so that the figure information is calculated in real time, which improves the real-time performance of remote interactive entertainment and the accuracy of data.
- a battery and wireless charging coils are provided in the shell, so that the user can throw the intelligent dice on the wireless charging device to realize charging while playing, which improves the battery life.
- an LED lamp is provided in the shell, so that users can obtain a richer entertainment experience;
- the light-transmitting material is integrally formed on the surface of the shell to display the figures, so that the light of the LED lamp can fully illuminate the displayed figures.
- an internal filling layer is provided in the shell to wrap the LED lamp and the circuit board to play a buffering role.
- a transparent material is used as the inner filling layer, so that the light of the LED lamp can reach the digital display layer.
- FIG. 1 is a schematic structural diagram of the intelligent dice according to an embodiment of the invention.
- FIG. 2 is a schematic diagram of vector coordinates in the second direction according to an embodiment of the invention.
- FIG. 3 is a block diagram of information transmission according to an embodiment of the invention.
- FIG. 4 is a structural block diagram of the intelligent interconnection system according to an embodiment of the invention.
- FIG. 5 is a structural block diagram of the chip according to an embodiment of the invention.
- FIG. 6 is a schematic diagram of wireless charging according to an embodiment of the invention.
- An intelligent dice comprising:
- an acceleration sensor is provided in the shell; the vector data of gravitational acceleration is collected by the acceleration sensor, so that the relative positions of the second direction relative to each surface are calculated based on the relative positions of the second direction relative to the first direction, with the first direction as a reference, each surface with a fixed position relative to the first direction as another reference, so as to judge the figure information facing upward displayed by the intelligent dice, thereby improving the convenience and fairness of the game.
- an embodiment of the invention provides an intelligent dice 100 , comprising a shell 10 , an acceleration sensor 20 , a circuit board 30 , an antenna 40 , a chip 50 , a battery 61 , wireless charging coils 62 , an LED lamp 70 , a digital display layer 81 , and an inner filling layer 82 .
- the shell 10 is formed with a plurality of surfaces 11 displaying the figures.
- the acceleration sensor 20 is provided in the shell 10 and used for collecting vector data 21 of gravitational acceleration.
- the direction corresponding to the gravitational acceleration is the first direction F 1
- the direction corresponding to the gravitational acceleration is the second direction F 2
- the figure information 22 facing upward displayed by the intelligent dice 100 can be calculated.
- an acceleration sensor 20 is provided in the shell 10 ; the vector data 21 of gravitational acceleration is collected by the acceleration sensor 20 , so that the relative positions of the second direction F 2 relative to each surface 11 are calculated based on the relative positions of the second direction F 2 relative to the first direction F 1 , with the first direction F 1 as a reference, each surface 11 with a fixed position relative to the first direction F 1 as another reference, so as to judge the figure information 22 facing upward displayed by the intelligent dice 100 , thereby improving the convenience and fairness of the game.
- a space coordinate system is established with the first direction F 1 as any axis.
- Each of the surface 11 displaying the figure is mapped to the corresponding coordinate interval in the space coordinate system.
- the figure information 22 displayed on the dice corresponding to the coordinate interval is acquired.
- a space coordinate system is established by taking the first direction F 1 as any axis.
- Each of the surface 11 displaying the figure is mapped to the corresponding coordinate interval in the space coordinate system.
- the figure information 22 displayed on the dice corresponding to the coordinate interval is acquired. Therefore, the relative positional relationship between the first direction F 1 , the second direction F 2 and each surface 11 is quantified in the space coordinate system to calculate accurate data, thereby accurately judging the figure information 22 .
- a space coordinate system [X, Y, Z] is established with the first direction F 1 as the Z axis, and the vector coordinates of the second direction F 2 satisfy the relational expression:
- R [R x , R y , R z ]
- R is the vector coordinate of the second direction F 2 in the space coordinate system [X, Y, Z]
- R x is the coordinate parameter of the projection of the second direction F 2 on the X-axis
- R y is the coordinate parameter of the projection of the second direction F 2 on the Y-axis
- R z is the coordinate parameter of the projection of the second direction F 2 on the Z-axis;
- N [N x , N y , N z ]
- N is the coordinate interval of the space coordinate system [X, Y, Z] mapped by any of the surfaces 11 displaying the figure
- N x is the coordinate parameter of the projection of the surface 11 on the X axis
- N y is the coordinate parameter of the projection of the surface 11 on the Y axis
- N z is the coordinate parameter of the projection of the surface 11 on the Z axis
- the circuit board 30 is provided in the shell 10 .
- the antenna 40 is provided on the shell 10 and is electrically connected to the circuit board 30 ; the antenna 40 sends the figure information 22 to a user control terminal 210 .
- an antenna 40 is provided on the casing 10 , so that the figure information 22 of the dice is automatically uploaded to the Internet to realize remote mutual entertainment.
- the chip 50 is provided on the circuit board 30 and is electrically connected to the circuit board 30 ; the chip 50 calculates vector coordinates corresponding to the vector data 21 according to the vector data 21 collected by the acceleration sensor.
- a chip 50 is provided in the shell 10 , so that the figure information 22 is calculated in real time, which improves the real-time performance of remote interactive entertainment and the accuracy of data.
- the battery 61 is provided in the shell 10 and is electrically connected to the circuit board 30 .
- the wireless charging coils 62 are provided in the shell 10 and are electrically connected to the battery 61 .
- a battery 61 and wireless charging coils 62 are provided in the shell 10 , so that the user can throw the intelligent dice 100 on the wireless charging device to realize charging while playing, which improves the battery life.
- the LED lamp 70 is provided in the shell 10 and is electrically connected to the circuit board 30 .
- an LED lamp 70 and the like are provided in the shell 10 , so that users can obtain a richer entertainment experience.
- the digital display layer 81 is integrally formed on the surface 11 with a light-transmitting material to display the figure; the light emitted by the LED lamp 70 is emitted to the outside of the shell 10 through the digital display layer 81 .
- the material of the digital display layer 81 is:
- liquid crystal polymer LCP+tritan liquid crystal polymer LCP+tritan.
- the material of the shell 110 is:
- the light-transmitting material is integrally formed on the surface 11 of the shell 10 to display the figures, so that the light of the LED lamp 70 can fully illuminate the displayed figures.
- the inner filling layer 82 which is filled in the shell 10 and wraps the acceleration sensor 20 , the LED lamp 70 , and the circuit board 30 ; the inner filling layer 82 is made of transparent material; the light emitted by the LED lamp 70 is emitted to the outside of the shell 10 through the inner filling layer 82 and the digital display layer 81 in sequence.
- an internal filling layer 82 is provided in the shell 10 to wrap the LED lamp 70 and circuit board 30 to play a buffering role. Meanwhile, by using a transparent material as the inner filling layer 82 , the light of the LED lamp 70 can reach the digital display layer 81 .
- the material of the inner filling layer 82 may satisfy the following chemical formula:
- the inner filling layer 82 satisfying the above chemical formula can keep the circuit system of the battery 61 working normally at ⁇ 40° C. -+85° C.
- the embodiment further provides an intelligent interconnection system 200 , comprising the above intelligent dice 100 , and the system further comprises:
- the embodiment further provides a method for calculating the figure of the intelligent dice 100 , wherein the method comprises the steps of:
- a space coordinate system [X, Y, Z] is established with the first direction F 1 as the Z axis;
- N [N x , N y , N z ]
- N is the coordinate interval of the space coordinate system [X, Y, Z] mapped by any of the surfaces 11 displaying the figure
- N x is the coordinate parameter of the projection of the surface 11 on the X axis
- N y is the coordinate parameter of the projection of the surface 11 on the Y axis
- N z is the coordinate parameter of the projection of the surface 11 on the Z axis.
- R [R x , R y , R z ]
- R is the vector coordinate of the second direction F 2 in the space coordinate system [X, Y, Z]
- R x is the coordinate parameter of the projection of the second direction F 2 on the X-axis
- R y is the coordinate parameter of the projection of the second direction F 2 on the Y-axis
- R z is the coordinate parameter of the projection of the second direction F 2 on the Z-axis;
- the embodiment provides a specific calculation example:
- each axis of X, Y, and Z is perpendicular to the three directions of the dice.
- the vector R is the vector detected by the accelerometer, which is the result of the inertial force in the example above.
- R X , R Y , R Z are the projections of the vector Ron X-axis, Y-axis, and Z-axis.
- R 2 R X 2 +R Y 2 +R Z 2 (Formula 1)
- the digital accelerometer can obtain information through I2C, SPI or USART, while the output of the analog accelerometer is a voltage value within a predetermined range, which needs to be converted into a digital value with an ADC (analog to digital) module.
- ADC analog to digital
- the output value of a 10-bit ADC module ranges from 0 to 1023.
- Each ADC module has a reference voltage, assuming that it is 3.3V.
- a 10-bit ADC value to convert a 10-bit ADC value to a voltage value, the following formula is used:
- Each accelerometer has a voltage value of zero acceleration, which corresponds to an acceleration of 0 g.
- the final conversion also needs to introduce the sensitivity of the accelerometer, usually in mV/g.
- the following formula is used:
- the three components of the inertial force vector are obtained, and the device is not affected by any external force except gravity, it can be considered that this direction is the direction of the gravity vector. If you want to calculate the inclination of the device relative to the ground, you can calculate the angle between this vector and the Z axis. This result can be divided into two components: the inclination of the X-axis and the Y-axis, which can be obtained by calculating the angle between the gravity vector and the X and Y-axes.
- the required angle is the angle between the vector R and the X, Y, Z axes, then taking these angles as A x r, A y r, A z r.
- the required angle can be calculated by the arccos ( ) function:
- the accelerometer will indicate the direction of the XZY axes corresponding to the physical chip 50 or device.
- the following example is used to determine that the output of the accelerometer corresponds to RateAxz.
- the XY axes output of the accelerometer will be a zero acceleration voltage.
- the channel where the output value changes is AdcGyroXZ, which is used to calculate RateA xz .
- RateA yz By rotating the device around the X axis, you can measure which output of the totalizer corresponds to RateA yz and whether it needs to be reversed. Once InvertA yz is determined, RateA yz can be calculated using the following formula:
- RateA yz InvertA yz *(AdcGyroYZ*VR/1023 ⁇ VzeroRate)/Sensitivity
- the device offers several special detection functions.
- the activity and inactivity detection function detects the presence or absence of motion by comparing the acceleration on any axis with a set threshold.
- the tap detection function can detect single and double vibrations in any direction. Free fall detection can detect if the device is falling. These functions can be independently mapped to one of the two interrupt output pins. Therefore, all directions of the dice can be detected at all times, and then wirelessly transmitted to the user's mobile phone.
- the embodiment further provides a computer readable storage medium 300 , which stores computer programs.
- the processor 420 executes the above calculation method of the figures of the intelligent dice 100 .
- the embodiment further provides a chip 50 , comprising a memory 410 and a processor 420 .
- the memory 410 stores computer programs.
- the processor 420 executes the above calculation method of the figures of the intelligent dice 100 .
- any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory.
- RAM is available in various forms such as SRAM, DRAM, SDRAM, DDRSDRAM, ESDRAM, SLDRAM, RDRAM, DRDRAM, RDRAM, etc.
- an acceleration sensor 20 is provided in the shell 10 ; the vector data 21 of gravitational acceleration is collected by the acceleration sensor 20 , so that the relative positions of the second direction F 2 relative to each surface 11 are calculated based on the relative positions of the second direction F 2 relative to the first direction F 1 , with the first direction F 1 as a reference, each surface 11 with a fixed position relative to the first direction F 1 as another reference, so as to judge the figure information 22 facing upward displayed by the intelligent dice 100 , thereby improving the convenience and fairness of the game.
- a space coordinate system is established by taking the first direction F 1 as any axis.
- Each of the surface 11 displaying the figure is mapped to the corresponding coordinate interval in the space coordinate system. According to the coordinate interval in which the vector coordinates of the second direction F 2 in the space coordinate system fall, the figure information 22 displayed on the dice corresponding to the coordinate interval is acquired. Therefore, the relative positional relationship between the first direction F 1 , the second direction F 2 and each surface 11 is quantified in the space coordinate system to calculate accurate data, thereby accurately judging the figure information 22 .
- an antenna 40 is provided on the casing 10 , so that the figure information 22 of the dice is automatically uploaded to the Internet to realize remote mutual entertainment.
- a chip 50 is provided in the shell 10 , so that the figure information 22 is calculated in real time, which improves the real-time performance of remote interactive entertainment and the accuracy of data.
- a battery 61 and wireless charging coils 62 are provided in the shell 10 , so that the user can throw the intelligent dice 100 on the wireless charging device to realize charging while playing, which improves the battery life.
- an LED lamp 70 is provided in the shell 10 , so that users can obtain a richer entertainment experience; the light-transmitting material is integrally formed on the surface 11 of the shell 10 to display the figures, so that the light of the LED lamp 70 can fully illuminate the displayed figures.
- an internal filling layer 82 is provided in the shell 10 to wrap the LED lamp 70 and circuit board 30 to play a buffering role. Meanwhile, by using a transparent material as the inner filling layer 82 , the light of the LED lamp 70 can reach the digital display layer 81 .
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure relates to an intelligent dice, comprising: a shell, which is formed with a plurality of surfaces displaying the figures; an acceleration sensor, which is provided in the shell and used for collecting vector data of gravitational acceleration; when the acceleration sensor is in the zero acceleration state, the direction corresponding to the gravitational acceleration is the first direction, and when the intelligent dice is thrown and in a static state, the direction corresponding to the gravitational acceleration is the second direction; according to the relative position of the first direction and the second direction, and the relative position of the first direction and each of the surfaces displaying the figure, the relative position of the second direction with respect to the surface can be calculated, so as to determine the figure information facing upward displayed by the intelligent dice.
Description
- The invention relates to the technical field of dice, in particular to an intelligent dice.
- With the improvement of people's material living standards, the pursuit of spiritual entertainment has become more diversified. In various forms of party games, dice are common entertainment props, such as group running games, table games, etc. However, during the epidemic period, online interactions have replaced offline gatherings. Traditional dice require users to manually judge the figures on the dice. The dice itself cannot recognize the figures displayed upward after being thrown. The entertainment method of uploading dice figures to the Internet by the user is not only inconvenient, but also cannot guarantee the fairness of the game.
- Therefore, it is necessary to provide a dice to avoid the need for a user to manually judge the figure of dice in the remote interactive entertainment, thereby improving the convenience and fairness of the game.
- The purpose of the invention is to provide a dice to avoid the need for a user to manually judge the figure of dice in the remote interactive entertainment, thereby improving the convenience and fairness of the game.
- On the one hand, the invention provides an intelligent dice, comprising:
-
- a shell, which is formed with a plurality of surfaces displaying the figures;
- an acceleration sensor, which is provided in the shell and used for collecting vector data of gravitational acceleration;
- when the acceleration sensor is in the zero acceleration state, the direction corresponding to the gravitational acceleration is the first direction, and when the intelligent dice is thrown and in a static state, the direction corresponding to the gravitational acceleration is the second direction; according to the relative position of the first direction and the second direction, and the relative position of the first direction and each of the surfaces displaying the figure, the relative position of the second direction with respect to the surface can be calculated, so as to judge the figure information facing upward displayed by the intelligent dice.
- Preferably, a space coordinate system is established with the first direction as any axis; each of the surfaces displaying the figure is mapped to the corresponding coordinate interval in the space coordinate system;
-
- according to the coordinate interval in which the vector coordinates of the second direction in the space coordinate system fall, the figure information displayed on the dice corresponding to the coordinate interval is acquired.
- Preferably, a space coordinate system [X, Y, Z] is established with the first direction as the Z axis, and the vector coordinates of the second direction satisfy the relational expression:
-
R=[R x , R y , R z]; - wherein, R is the vector coordinate of the second direction in the space coordinate system [X, Y, Z], Rx is the coordinate parameter of the projection of the second direction on the X-axis, Ry is the coordinate parameter of the projection of the second direction on the Y-axis, and Rz is the coordinate parameter of the projection of the second direction on the Z-axis;
-
- the coordinate interval corresponding to each of the surfaces displaying the figure mapping in the space coordinate system satisfies the relational expression:
-
N=[N x , N y , N z]; - wherein, N is the coordinate interval of the space coordinate system [X, Y, Z] mapped by any of the surfaces displaying the figure, Nx is the coordinate parameter of the projection of the surface on the X axis, Ny is the coordinate parameter of the projection of the surface on the Y axis, and Nz is the coordinate parameter of the projection of the surface on the Z axis;
-
- the coordinate values of [Rx, Ry, Rz] and [Nx, Ny, Nz] are compared to judge the surface facing upward displayed by the intelligent dice corresponding to the second direction.
- Preferably, the intelligent dice further comprises:
-
- a circuit board, which is provided in the shell;
- an antenna, which is provided on the shell and is electrically connected to the circuit board; the antenna sends the figure information to the user control terminal.
- Preferably, the intelligent dice further comprises:
-
- a chip, which is provided on the circuit board and is electrically connected to the circuit board; the chip calculates vector coordinates corresponding to the vector data according to the vector data collected by the acceleration sensor.
- Preferably, the intelligent dice further comprises:
-
- a battery, which is provided in the shell and is electrically connected to the circuit board;
- wireless charging coils, which are provided in the shell and are electrically connected to the battery.
- Preferably, the intelligent dice further comprises:
-
- an LED lamp, which is provided in the shell and is electrically connected to the circuit board.
- Preferably, the intelligent dice further comprises:
-
- a digital display layer, which is integrally formed on the surface with a light-transmitting material to display the figure; the light emitted by the LED lamp is emitted to the outside of the shell through the digital display layer.
- Preferably, the intelligent dice further comprises:
-
- an inner filling layer, which is filled in the shell and wraps the acceleration sensor, the LED lamp, and the circuit board.
- Preferably, the inner filling layer is made of transparent material; the light emitted by the LED lamp is emitted to the outside of the shell through the inner filling layer and the digital display layer in sequence.
- The invention has the following advantageous effects:
- In order to avoid the need for the user to manually judge the figure of dice in the remote interactive entertainment, an acceleration sensor is provided in the shell; the vector data of gravitational acceleration is collected by the acceleration sensor, so that the relative positions of the second direction relative to each surface are calculated based on the relative positions of the second direction relative to the first direction, with the first direction as a reference, each surface with a fixed position relative to the first direction as another reference, so as to judge the figure information facing upward displayed by the intelligent dice, thereby improving the convenience and fairness of the game.
- In order to calculate the figure information according to the collected vector data, a space coordinate system is established by taking the first direction as any axis; each of the surfaces displaying the figure is mapped to the corresponding coordinate interval in the space coordinate system; according to the coordinate interval in which the vector coordinates of the second direction in the space coordinate system fall, the figure information displayed on the dice corresponding to the coordinate interval is acquired. Therefore, the relative positional relationship between the first direction, the second direction and each surface is quantified in the space coordinate system to calculate accurate data, thereby accurately judging the figure information.
- In order to prevent the user from manually uploading the figure information of the dice, an antenna is provided on the casing, so that the figure information of the dice is automatically uploaded to the Internet to realize remote mutual entertainment.
- In order to accurately obtain the real-time figure information of the dice, a chip is provided in the shell, so that the figure information is calculated in real time, which improves the real-time performance of remote interactive entertainment and the accuracy of data.
- In order to avoid the lack of battery life due to the small size of the intelligent dice, a battery and wireless charging coils are provided in the shell, so that the user can throw the intelligent dice on the wireless charging device to realize charging while playing, which improves the battery life.
- In order to improve the entertainment of throwing dice, an LED lamp is provided in the shell, so that users can obtain a richer entertainment experience; the light-transmitting material is integrally formed on the surface of the shell to display the figures, so that the light of the LED lamp can fully illuminate the displayed figures.
- In order to prevent the impact force of throwing from damaging electronic components such as circuit boards and acceleration sensors inside the shell, an internal filling layer is provided in the shell to wrap the LED lamp and the circuit board to play a buffering role.
- A transparent material is used as the inner filling layer, so that the light of the LED lamp can reach the digital display layer.
- In order to explain the embodiments of the invention or the technical solutions in the prior art more clearly, the drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced hereinafter. Obviously, the drawings in the following description are only some embodiments of the invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
-
FIG. 1 is a schematic structural diagram of the intelligent dice according to an embodiment of the invention; -
FIG. 2 is a schematic diagram of vector coordinates in the second direction according to an embodiment of the invention; -
FIG. 3 is a block diagram of information transmission according to an embodiment of the invention; -
FIG. 4 is a structural block diagram of the intelligent interconnection system according to an embodiment of the invention; -
FIG. 5 is a structural block diagram of the chip according to an embodiment of the invention; -
FIG. 6 is a schematic diagram of wireless charging according to an embodiment of the invention; - In the drawings, 100 refers to the intelligent dice; 10 refers to the shell; 11 refers to the surface; 20 refers to the acceleration sensor; 21 refers to the vector data; F1 refers to the first direction; F2 refers to the second direction; 22 refers to the figure information; 30 refers to the circuit board; 40 refers to the antenna; 50 refers to the chip; 61 refers to the battery; 62 refers to the wireless charging coil; 70 refers to the LED lamp; 81 refers to the digital display layer; 82 refers to the inner filling layer; 200 refers to the intelligent interconnection system; 210 refers to the user control terminal; 300 refers to the computer readable storage medium; 410 refers to the memory; 420 refers to the processor.
- In order to facilitate understanding of the invention, the invention will be described more fully hereinafter with reference to the drawings. Preferred embodiments of the invention are shown in the drawings. However, the invention may be embodied in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that a thorough and complete understanding of the disclosure is provided.
- It should be noted that when an element is referred to as being “fixed” to another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being “connected” to another element, it can be directly connected to the other element or intervening elements may also be present. The terms “vertical”, “horizontal”, “left”, “right” and similar expressions are used herein for illustrative purposes only.
- Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this invention belongs. The terms used herein in the description of the invention are for the purpose of describing specific embodiments only, and are not intended to limit the invention. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items.
- An intelligent dice, comprising:
-
- a shell, which is formed with a plurality of surfaces displaying the figures;
- an acceleration sensor, which is provided in the shell and used for collecting vector data of gravitational acceleration;
- when the acceleration sensor is in the zero acceleration state, the direction corresponding to the gravitational acceleration is the first direction, and when the intelligent dice is thrown and in a static state, the direction corresponding to the gravitational acceleration is the second direction; according to the relative position of the first direction and the second direction, and the relative position of the first direction and each of the surfaces displaying the figure, the relative position of the second direction with respect to the surface can be calculated, the figure information facing upward displayed by the intelligent dice can be calculated.
- In order to avoid the need for the user to manually judge the figure of dice in the remote interactive entertainment, an acceleration sensor is provided in the shell; the vector data of gravitational acceleration is collected by the acceleration sensor, so that the relative positions of the second direction relative to each surface are calculated based on the relative positions of the second direction relative to the first direction, with the first direction as a reference, each surface with a fixed position relative to the first direction as another reference, so as to judge the figure information facing upward displayed by the intelligent dice, thereby improving the convenience and fairness of the game.
- Some embodiments of the application will be described in detail hereinafter with reference to the drawings. The embodiments described hereinafter and features in the embodiments may be combined with each other without conflict.
- With reference to
FIG. 1 -FIG. 6 , an embodiment of the invention provides anintelligent dice 100, comprising ashell 10, anacceleration sensor 20, a circuit board 30, anantenna 40, achip 50, abattery 61, wireless charging coils 62, an LED lamp 70, adigital display layer 81, and aninner filling layer 82. - Specifically, the
shell 10 is formed with a plurality ofsurfaces 11 displaying the figures. - Specifically, the
acceleration sensor 20 is provided in theshell 10 and used for collectingvector data 21 of gravitational acceleration. - Specifically, when the
acceleration sensor 20 is in the zero acceleration state, the direction corresponding to the gravitational acceleration is the first direction F1, and when theintelligent dice 100 is thrown and in a static state, the direction corresponding to the gravitational acceleration is the second direction F2; according to the relative position of the first direction F1 and the second direction F2, and the relative position of the first direction F1 and each of thesurface 11 displaying the figure, thefigure information 22 facing upward displayed by theintelligent dice 100 can be calculated. - Accordingly, in order to avoid the need for the user to manually judge the figure of dice in the remote interactive entertainment, an
acceleration sensor 20 is provided in theshell 10; thevector data 21 of gravitational acceleration is collected by theacceleration sensor 20, so that the relative positions of the second direction F2 relative to eachsurface 11 are calculated based on the relative positions of the second direction F2 relative to the first direction F1, with the first direction F1 as a reference, eachsurface 11 with a fixed position relative to the first direction F1 as another reference, so as to judge thefigure information 22 facing upward displayed by theintelligent dice 100, thereby improving the convenience and fairness of the game. - Preferably, a space coordinate system is established with the first direction F1 as any axis. Each of the
surface 11 displaying the figure is mapped to the corresponding coordinate interval in the space coordinate system. According to the coordinate interval in which the vector coordinates of the second direction F2 in the space coordinate system fall, thefigure information 22 displayed on the dice corresponding to the coordinate interval is acquired. - Accordingly, in order to calculate the
figure information 22 according to the collectedvector data 21, a space coordinate system is established by taking the first direction F1 as any axis. Each of thesurface 11 displaying the figure is mapped to the corresponding coordinate interval in the space coordinate system. According to the coordinate interval in which the vector coordinates of the second direction F2 in the space coordinate system fall, thefigure information 22 displayed on the dice corresponding to the coordinate interval is acquired. Therefore, the relative positional relationship between the first direction F1, the second direction F2 and eachsurface 11 is quantified in the space coordinate system to calculate accurate data, thereby accurately judging thefigure information 22. - Preferably, a space coordinate system [X, Y, Z] is established with the first direction F1 as the Z axis, and the vector coordinates of the second direction F2 satisfy the relational expression:
-
R=[R x , R y , R z]; - wherein, R is the vector coordinate of the second direction F2 in the space coordinate system [X, Y, Z], Rx is the coordinate parameter of the projection of the second direction F2 on the X-axis, Ry is the coordinate parameter of the projection of the second direction F2 on the Y-axis, and Rz is the coordinate parameter of the projection of the second direction F2 on the Z-axis;
-
- the coordinate interval corresponding to each of the surfaces displaying the figure mapping in the space coordinate system satisfies the relational expression:
-
N=[N x , N y , N z]; - wherein, N is the coordinate interval of the space coordinate system [X, Y, Z] mapped by any of the
surfaces 11 displaying the figure, Nx is the coordinate parameter of the projection of thesurface 11 on the X axis, Ny is the coordinate parameter of the projection of thesurface 11 on the Y axis, and Nz is the coordinate parameter of the projection of thesurface 11 on the Z axis; -
- the coordinate values of [Rx, Ry, Rz] and [Nx, Ny, Nz] are compared to determine the surface facing upward displayed by the
intelligent dice 100 corresponding to the second direction F2.
- the coordinate values of [Rx, Ry, Rz] and [Nx, Ny, Nz] are compared to determine the surface facing upward displayed by the
- Specifically, the circuit board 30 is provided in the
shell 10. Theantenna 40 is provided on theshell 10 and is electrically connected to the circuit board 30; theantenna 40 sends thefigure information 22 to auser control terminal 210. - Accordingly, in order to prevent the user from manually uploading the
figure information 22 of the dice, anantenna 40 is provided on thecasing 10, so that thefigure information 22 of the dice is automatically uploaded to the Internet to realize remote mutual entertainment. - Specifically, the
chip 50 is provided on the circuit board 30 and is electrically connected to the circuit board 30; thechip 50 calculates vector coordinates corresponding to thevector data 21 according to thevector data 21 collected by the acceleration sensor. - Accordingly, in order to accurately obtain the real-
time figure information 22 of the dice, achip 50 is provided in theshell 10, so that thefigure information 22 is calculated in real time, which improves the real-time performance of remote interactive entertainment and the accuracy of data. - Specifically, the
battery 61 is provided in theshell 10 and is electrically connected to the circuit board 30. The wireless charging coils 62 are provided in theshell 10 and are electrically connected to thebattery 61. - Accordingly, in order to avoid the lack of battery life due to the small size of the
intelligent dice 100, abattery 61 and wireless charging coils 62 are provided in theshell 10, so that the user can throw theintelligent dice 100 on the wireless charging device to realize charging while playing, which improves the battery life. - Specifically, the LED lamp 70 is provided in the
shell 10 and is electrically connected to the circuit board 30. - Accordingly, in order to improve the entertainment of throwing dice, an LED lamp 70 and the like are provided in the
shell 10, so that users can obtain a richer entertainment experience. - Specifically, the
digital display layer 81 is integrally formed on thesurface 11 with a light-transmitting material to display the figure; the light emitted by the LED lamp 70 is emitted to the outside of theshell 10 through thedigital display layer 81. - More specifically, the material of the
digital display layer 81 is: -
liquid crystal polymer LCP+tritan. - The material of the shell 110 is:
-
tritan+(C11H12O3)n+Fiberglass+liquid crystal polymer LCP - Accordingly, the light-transmitting material is integrally formed on the
surface 11 of theshell 10 to display the figures, so that the light of the LED lamp 70 can fully illuminate the displayed figures. - Specifically, the
inner filling layer 82 which is filled in theshell 10 and wraps theacceleration sensor 20, the LED lamp 70, and the circuit board 30; theinner filling layer 82 is made of transparent material; the light emitted by the LED lamp 70 is emitted to the outside of theshell 10 through theinner filling layer 82 and thedigital display layer 81 in sequence. - Accordingly, in order to prevent the impact force of throwing from damaging electronic components such as circuit boards 30 and
acceleration sensors 20 inside theshell 10, aninternal filling layer 82 is provided in theshell 10 to wrap the LED lamp 70 and circuit board 30 to play a buffering role. Meanwhile, by using a transparent material as theinner filling layer 82, the light of the LED lamp 70 can reach thedigital display layer 81. - More specifically, the material of the
inner filling layer 82 may satisfy the following chemical formula: -
(CH)+Polyurethane+(C11H12O)+SiO+PEEK+Graphene+Fe2O3+Polymer nickel (2%-5%)+SiO2*22%+[(Na2O+MgO+B2O3+CaO*2%]+(Al2O3*8%)+(SiO2*12%) - Accordingly, the
inner filling layer 82 satisfying the above chemical formula can keep the circuit system of thebattery 61 working normally at −40° C. -+85° C. - The embodiment further provides an
intelligent interconnection system 200, comprising the aboveintelligent dice 100, and the system further comprises: -
-
user control terminals 210; a plurality ofuser control terminals 210 are connected in communication with theintelligent dice 100.
-
- The embodiment further provides a method for calculating the figure of the
intelligent dice 100, wherein the method comprises the steps of: - S10: collecting the
vector data 21 of the gravitational acceleration when theintelligent dice 100 is in a zero acceleration state through theacceleration sensor 20, and taking the direction corresponding to the gravitational acceleration as the first direction F1. -
- S20: collecting the
vector data 21 of the gravitational acceleration after theintelligent dice 100 is thrown and is static through theacceleration sensor 20, and taking the direction corresponding to the gravitational acceleration as the second direction F2. - S30: calculating the
figure information 22 facing upward displayed by theintelligent dice 100 according to the relative position of the first direction F1 and the second direction F2, and the relative position of the first direction F1 and each of thesurface 11 displaying the figure. - S31: a space coordinate system is established with the first direction F1 as any axis; each of the
surface 11 displaying the figure is mapped to the corresponding coordinate interval in the space coordinate system.
- S20: collecting the
- Specifically, a space coordinate system [X, Y, Z] is established with the first direction F1 as the Z axis;
-
- the coordinate interval corresponding to each of the
surface 11 displaying the figure mapping in the space coordinate system satisfies the relational expression:
- the coordinate interval corresponding to each of the
-
N=[N x , N y , N z]; - wherein, N is the coordinate interval of the space coordinate system [X, Y, Z] mapped by any of the
surfaces 11 displaying the figure, Nx is the coordinate parameter of the projection of thesurface 11 on the X axis, Ny is the coordinate parameter of the projection of thesurface 11 on the Y axis, and Nz is the coordinate parameter of the projection of thesurface 11 on the Z axis. -
- S32: according to the coordinate interval in which the vector coordinates of the second direction F2 in the space coordinate system fall, the
figure information 22 displayed on the dice corresponding to the coordinate interval is acquired.
- S32: according to the coordinate interval in which the vector coordinates of the second direction F2 in the space coordinate system fall, the
- Specifically, the vector coordinates of the second direction F2 satisfy the relational expression:
-
R=[R x , R y , R z]; - wherein, R is the vector coordinate of the second direction F2 in the space coordinate system [X, Y, Z], Rx is the coordinate parameter of the projection of the second direction F2 on the X-axis, Ry is the coordinate parameter of the projection of the second direction F2 on the Y-axis, and Rz is the coordinate parameter of the projection of the second direction F2 on the Z-axis;
-
- the coordinate values of [Rx, Ry, Rz] and [Nx, Ny, Nz] are compared to determine the
surface 11 facing upward displayed by theintelligent dice 100 corresponding to the second direction F2.
- the coordinate values of [Rx, Ry, Rz] and [Nx, Ny, Nz] are compared to determine the
- More specifically, the embodiment provides a specific calculation example:
-
- what the embodiment needs to calculate is the gravity vector R=[Rx, Ry, Rz], which can calculate the value of the gravity vector in the following ways:
- In the space coordinate system, each axis of X, Y, and Z is perpendicular to the three directions of the dice. The vector R is the vector detected by the accelerometer, which is the result of the inertial force in the example above.
- RX, RY, RZ are the projections of the vector Ron X-axis, Y-axis, and Z-axis.
- Note the following relationships:
-
R 2 =R X 2 +R Y 2 +R Z 2 (Formula 1) - This formula 1 is equivalent to the three-dimensional space Pythagorean theorem. The digital accelerometer can obtain information through I2C, SPI or USART, while the output of the analog accelerometer is a voltage value within a predetermined range, which needs to be converted into a digital value with an ADC (analog to digital) module. For example, the output value of a 10-bit ADC module ranges from 0 to 1023.
- Supposing that the following three axes of data are obtained from the 10-bit ADC module:
-
AdcRx=208; -
AdcRy=485; -
AdcRz=865; - Each ADC module has a reference voltage, assuming that it is 3.3V. To convert a 10-bit ADC value to a voltage value, the following formula is used:
-
VR x=AdcRx*VR/1023 - Substitute the values of the 3 axes into the above formula to get:
-
VRx=208*3.3/1023=0.671V -
VRy=485*3.3/1023=1.565V -
VRz=865*3.3/1023=2.790V - Each accelerometer has a voltage value of zero acceleration, which corresponds to an acceleration of 0 g. A signed voltage value can be obtained by calculating the offset from the 0 g voltage. For example, the 0 g voltage value V0 g=1.650V, the offset relative to the 0 g voltage can be obtained in the following way:
-
DVRx=0.671V−1.650V=−0.979V -
DVRy=1.565V−1.65V=−0.085V -
DVRz=2.790V−1.65V=1.140V - The final conversion also needs to introduce the sensitivity of the accelerometer, usually in mV/g. For example, the sensitivity of the accelerometer is Sensitivity=500 mV/g=0.5 V/g. To get the final acceleration in g, the following formula is used:
-
R X=DVRx/Sensitivity -
R X=−0.979V/0.5V/G=−1.958 g -
R Y=−0.085V/0.5V/G=−0.17 g -
R Z=1.140V/0.5V/G=2.28 g -
R x=(AdcR x*VR/1023−V0G)/Sensitivity (Formula 2) -
R y=(AdcR y*VR/1023−V0G)/Sensitivity -
R z=(AdcR z*VR/1023−V0G)/Sensitivity - Now the three components of the inertial force vector are obtained, and the device is not affected by any external force except gravity, it can be considered that this direction is the direction of the gravity vector. If you want to calculate the inclination of the device relative to the ground, you can calculate the angle between this vector and the Z axis. This result can be divided into two components: the inclination of the X-axis and the Y-axis, which can be obtained by calculating the angle between the gravity vector and the X and Y-axes.
- The required angle is the angle between the vector R and the X, Y, Z axes, then taking these angles as Axr, Ayr, Azr.
-
cos (A x r)=R x /R, similarity: -
cos (A y r)=R y /R -
cos (A z r)=R z /R - From formula 1, it can be deduced that R=SQRT (Rx 2+Ry 2+Rz 2)
- The required angle can be calculated by the arccos ( ) function:
-
Ax r=arccos (R x /R) -
Ay r=arccos (R y /R) -
Az r=arccos (R z /R) - The accelerometer will indicate the direction of the XZY axes corresponding to the
physical chip 50 or device. - The following example is used to determine that the output of the accelerometer corresponds to RateAxz.
- First keep the device level. The XY axes output of the accelerometer will be a zero acceleration voltage.
- Rotate the device around the Y-axis, at this time, the acceleration output values of X and Z axis will change while that of the Y-axis remains unchanged.
- When rotating the device at a constant speed, observe which channel of the accelerometer changes the output value, other outputs should remain unchanged.
- When the accelerometer rotates around the Y axis, the channel where the output value changes is AdcGyroXZ, which is used to calculate RateAxz.
- As the final step, confirm whether the RateAxz value needs to be reversed.
- Repeat the test above, rotating the device around the Y axis.
- The same method can be used to test RateAy: by rotating the device around the X axis, you can measure which output of the totalizer corresponds to RateAyz and whether it needs to be reversed. Once InvertAyz is determined, RateAyz can be calculated using the following formula:
-
RateAyz=InvertAyz*(AdcGyroYZ*VR/1023−VzeroRate)/Sensitivity - Based on the above algorithm, static gravitational acceleration can be measured in tilt detection applications. The device offers several special detection functions. The activity and inactivity detection function detects the presence or absence of motion by comparing the acceleration on any axis with a set threshold. The tap detection function can detect single and double vibrations in any direction. Free fall detection can detect if the device is falling. These functions can be independently mapped to one of the two interrupt output pins. Therefore, all directions of the dice can be detected at all times, and then wirelessly transmitted to the user's mobile phone.
- The embodiment further provides a computer
readable storage medium 300, which stores computer programs. When the computer program is executed by theprocessor 420, theprocessor 420 executes the above calculation method of the figures of theintelligent dice 100. - The embodiment further provides a
chip 50, comprising amemory 410 and aprocessor 420. Thememory 410 stores computer programs. When the computer program is executed by theprocessor 420, theprocessor 420 executes the above calculation method of the figures of theintelligent dice 100. - Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program. The program in the embodiment may be stored in a non-volatile computer readable storage medium, and when the program is executed, the program may include the processes of the method in the foregoing embodiments. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. As an illustration rather than limitation, RAM is available in various forms such as SRAM, DRAM, SDRAM, DDRSDRAM, ESDRAM, SLDRAM, RDRAM, DRDRAM, RDRAM, etc.
- Whereby, in order to avoid the need for the user to manually judge the figure of dice in the remote interactive entertainment, an
acceleration sensor 20 is provided in theshell 10; thevector data 21 of gravitational acceleration is collected by theacceleration sensor 20, so that the relative positions of the second direction F2 relative to eachsurface 11 are calculated based on the relative positions of the second direction F2 relative to the first direction F1, with the first direction F1 as a reference, eachsurface 11 with a fixed position relative to the first direction F1 as another reference, so as to judge thefigure information 22 facing upward displayed by theintelligent dice 100, thereby improving the convenience and fairness of the game. In order to calculate thefigure information 22 according to the collectedvector data 21, a space coordinate system is established by taking the first direction F1 as any axis. Each of thesurface 11 displaying the figure is mapped to the corresponding coordinate interval in the space coordinate system. According to the coordinate interval in which the vector coordinates of the second direction F2 in the space coordinate system fall, thefigure information 22 displayed on the dice corresponding to the coordinate interval is acquired. Therefore, the relative positional relationship between the first direction F1, the second direction F2 and eachsurface 11 is quantified in the space coordinate system to calculate accurate data, thereby accurately judging thefigure information 22. In order to prevent the user from manually uploading thefigure information 22 of the dice, anantenna 40 is provided on thecasing 10, so that thefigure information 22 of the dice is automatically uploaded to the Internet to realize remote mutual entertainment. In order to accurately obtain the real-time figure information 22 of the dice, achip 50 is provided in theshell 10, so that thefigure information 22 is calculated in real time, which improves the real-time performance of remote interactive entertainment and the accuracy of data. In order to avoid the lack of battery life due to the small size of theintelligent dice 100, abattery 61 and wireless charging coils 62 are provided in theshell 10, so that the user can throw theintelligent dice 100 on the wireless charging device to realize charging while playing, which improves the battery life. In order to improve the entertainment of throwing dice, an LED lamp 70 is provided in theshell 10, so that users can obtain a richer entertainment experience; the light-transmitting material is integrally formed on thesurface 11 of theshell 10 to display the figures, so that the light of the LED lamp 70 can fully illuminate the displayed figures. In order to prevent the impact force of throwing from damaging electronic components such as circuit boards 30 andacceleration sensors 20 inside theshell 10, aninternal filling layer 82 is provided in theshell 10 to wrap the LED lamp 70 and circuit board 30 to play a buffering role. Meanwhile, by using a transparent material as theinner filling layer 82 , the light of the LED lamp 70 can reach thedigital display layer 81. - The above embodiments only represent several embodiments of the invention, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the patent application. It should be pointed out that for those of ordinary skill in the art, several modifications and improvements can also be made without departing from the concept of the invention, which all belong to the protection scope of the invention. Therefore, the protection scope of the patent of the invention should be subject to the appended claims.
Claims (10)
1. An intelligent dice, comprising:
a shell, which is formed with a plurality of surfaces displaying the figures;
an acceleration sensor, which is provided in the shell and used for collecting vector data of gravitational acceleration;
when the acceleration sensor is in the zero acceleration state, the direction corresponding to the gravitational acceleration is the first direction, and when the intelligent dice is thrown and in a static state, the direction corresponding to the gravitational acceleration is the second direction; according to the relative position of the first direction and the second direction, and the relative position of the first direction and each of the surfaces displaying the figure, the relative position of the second direction with respect to the surface can be calculated, so as to determine the figure information facing upward displayed by the intelligent dice.
2. The intelligent dice according to claim 1 , wherein:
a space coordinate system is established with the first direction as any axis; each of the surfaces displaying the figure is mapped to the corresponding coordinate interval in the space coordinate system;
according to the coordinate interval in which the vector coordinates of the second direction in the space coordinate system fall, the figure information displayed on the dice corresponding to the coordinate interval is acquired.
3. The intelligent dice according to claim 2 , wherein: a space coordinate system [X, Y, Z] is established with the first direction as the Z axis, and the vector coordinates of the second direction satisfy the relational expression:
R=[R x , R y , R z];
R=[R x , R y , R z];
wherein, R is the vector coordinate of the second direction in the space coordinate system [X, Y, Z], Rx is the coordinate parameter of the projection of the second direction on the X-axis, Ry is the coordinate parameter of the projection of the second direction on the Y-axis, and Rz is the coordinate parameter of the projection of the second direction on the Z-axis;
the coordinate interval corresponding to each of the surfaces displaying the figure mapping in the space coordinate system satisfies the relational expression:
N=[N x , N y , N z];
N=[N x , N y , N z];
wherein, N is the coordinate interval of the space coordinate system [X, Y, Z] mapped by any of the surfaces displaying the figure, Nx is the coordinate parameter of the projection of the surface on the X axis, Ny is the coordinate parameter of the projection of the surface on the Y axis, and Nz is the coordinate parameter of the projection of the surface on the Z axis;
the coordinate values of [Rx, Ry, Rz] and [Nx, Ny, Nz] are compared to determine the surface facing upward displayed by the intelligent dice corresponding to the second direction.
4. The intelligent dice according to claim 1 , wherein the intelligent dice further comprises:
a circuit board, which is provided in the shell;
an antenna, which is provided on the shell and is electrically connected to the circuit board; the antenna sends the figure information to a user control terminal.
5. The intelligent dice according to claim 4 , wherein the intelligent dice further comprises:
a chip, which is provided on the circuit board and is electrically connected to the circuit board; the chip calculates vector coordinates corresponding to the vector data according to the vector data collected by the acceleration sensor.
6. The intelligent dice according to claim 4 , wherein the intelligent dice further comprises:
a battery, which is provided in the shell and is electrically connected to the circuit board;
wireless charging coils, which are provided in the shell and are electrically connected to the battery.
7. The intelligent dice according to claim 4 , wherein the intelligent dice further comprises:
an LED lamp, which is provided in the shell and is electrically connected to the circuit board.
8. The intelligent dice according to claim 7 , wherein the intelligent dice further comprises:
a digital display layer, which is integrally formed on the surface with a light-transmitting material to display the figure; the light emitted by the LED lamp is emitted to the outside of the shell through the digital display layer.
9. The intelligent dice according to claim 8 , wherein the intelligent dice further comprises:
an inner filling layer, which is filled in the shell and wraps the acceleration sensor, the LED lamp, and the circuit board.
10. The intelligent dice according to claim 9 , wherein the inner filling layer is made of transparent material; the light emitted by the LED lamp is emitted to the outside of the shell through the inner filling layer and the digital display layer in sequence.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210527264.7 | 2022-05-13 | ||
CN202210527264.7A CN114748865A (en) | 2022-05-13 | 2022-05-13 | Intelligent dice |
Publications (1)
Publication Number | Publication Date |
---|---|
US20230364500A1 true US20230364500A1 (en) | 2023-11-16 |
Family
ID=82334863
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/833,930 Pending US20230364500A1 (en) | 2022-05-13 | 2022-06-07 | Intelligent dice |
Country Status (2)
Country | Link |
---|---|
US (1) | US20230364500A1 (en) |
CN (1) | CN114748865A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120223477A1 (en) * | 2011-03-03 | 2012-09-06 | Jack Zylkin | Die for use in game play |
US20130178275A1 (en) * | 2008-02-15 | 2013-07-11 | Scosche Industries, Inc. | Electronic dice |
-
2022
- 2022-05-13 CN CN202210527264.7A patent/CN114748865A/en active Pending
- 2022-06-07 US US17/833,930 patent/US20230364500A1/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130178275A1 (en) * | 2008-02-15 | 2013-07-11 | Scosche Industries, Inc. | Electronic dice |
US20120223477A1 (en) * | 2011-03-03 | 2012-09-06 | Jack Zylkin | Die for use in game play |
Also Published As
Publication number | Publication date |
---|---|
CN114748865A (en) | 2022-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103933722B (en) | A kind of dumb-bell motion detection apparatus and dumb-bell method for testing motion | |
CN102600612B (en) | Operating means and operating system | |
US9733729B2 (en) | Method and device for sensing orientation of an object in space in a fixed frame of reference | |
JP6994948B2 (en) | Motion sensor for sports equipment | |
CN111026314B (en) | Method for controlling display device and portable device | |
EP3717928B1 (en) | Apparatus and method for tracking movement of electronic device | |
US10061400B2 (en) | Input device and control system | |
US8678903B1 (en) | Mobile device having a virtual spin wheel and virtual spin wheel control method of the same | |
CN104197987A (en) | Combined-type motion capturing system | |
CN110036259B (en) | Calculation method and equipment of attitude matrix | |
WO2019009676A1 (en) | System and methods for device tracking | |
CN109885153A (en) | A kind of screen control method and mobile terminal | |
Keir et al. | Gesture-recognition with non-referenced tracking | |
US20230364500A1 (en) | Intelligent dice | |
WO2019088282A1 (en) | Sensor-embedded ball, and system | |
CN112762915B (en) | Compass precision optimization method and device, storage medium and electronic equipment | |
CN109618055A (en) | A kind of position sharing method and mobile terminal | |
JP5870818B2 (en) | Input device, control system, calibration method, and program | |
CN110113490A (en) | A kind of information processing method, terminal and computer readable storage medium | |
CN108845261A (en) | A kind of electric quantity reminding method and terminal device | |
CN108494946A (en) | The bearing calibration of electronic compass and device in mobile terminal | |
TWI603763B (en) | Ball movement state measuring system and method thereof | |
TWI713890B (en) | Sport posture analysis system and method thereof | |
CN113518423A (en) | Positioning method and device and electronic equipment | |
JP2012042299A (en) | Measuring method for sphere movement route |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |