CN103394191A - Electronic three-order magic cube game system - Google Patents

Electronic three-order magic cube game system Download PDF

Info

Publication number
CN103394191A
CN103394191A CN2013101808798A CN201310180879A CN103394191A CN 103394191 A CN103394191 A CN 103394191A CN 2013101808798 A CN2013101808798 A CN 2013101808798A CN 201310180879 A CN201310180879 A CN 201310180879A CN 103394191 A CN103394191 A CN 103394191A
Authority
CN
China
Prior art keywords
module
magic square
magic cube
pin
data
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
Application number
CN2013101808798A
Other languages
Chinese (zh)
Inventor
刘寄
陈蜀宇
刘皓璋
沈哲
李晨辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing University
Original Assignee
Chongqing University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing University filed Critical Chongqing University
Priority to CN2013101808798A priority Critical patent/CN103394191A/en
Publication of CN103394191A publication Critical patent/CN103394191A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention discloses an electronic three-order magic cube game system. According to the electronic three-order magic cube game system, a data acquisition module is used for acquiring position change of a magic cube and rotation data of the magic cube, a wireless communication module is used for wireless transmission of the position change of the magic cube and the rotation data of the magic cube, a data processing module is used for judging the direction and angle of the position change of the magic cube, recognizing the rotating face of the magic cube, generating control signals of a virtual magic cube and recording the changing process of the magic cube by analyzing the position change of the magic cube and the rotation data of the magic cube, and a virtual magic cube demonstration module is used for achieving real-time synchronous control of the virtual magic cube, electronic blind rotating, timing, reappearance of restoration steps, prompt of a shortest restoration path, and statistics. The electronic three-order magic cube game system has the advantages that spectators can clearly see how a player restores the magic cube step by step, the ornamental value of a magic cube game is improved, the structure is simple, the practicability is strong, cost is low, and the promotion and application value is strong.

Description

A kind of electronics three rank cube game systems
Technical field
The invention belongs to cube game systems technology field, relate in particular to a kind of electronics three rank cube game systems.
Background technology
the implementation of existing electronics magic square and systems technology is: adopt six faces of the display screen of 6 directions as the electronics magic square, each display screen has nine zones, the surface characteristics of controlling regional by the mode of touch screen induction changes, acceleration induction data by the sensing units sense magic square, the earth's magnetic field sensed data, one or more of gyro sensed data and touch screen induction data, movable information or locating information by these data acquisition magic squares self, via built-in transmitting element, by wireless transmission method, send to again the magic square opposite equip. of formulation, finally realize the docking of electronics magic square and other game stations, can carry out control operation to the electronics magic square, comprise Switching Power Supply, sounding, the display brightness of display screen or displaying contents change.
The magic square timing is to leave the timing plate to completing magic square reduction hand again by the bundle that hardens in timing from staff, affected by artificial action, in existing magic square timing course, the timing error of nearly 0.5 second is arranged.And because the magic square volume is little, the problem such as block of fast, the player's both hands of rotary speed, spectators can't clearly watch the player to reduce the step of magic square, the sight that this has had a strong impact on match, cause magic square to be difficult to promote.
The prior art major defect is divided three classes: the Hardware Design is subjected to that space constraint, Design of System Software complexity are high, error is difficult to control:
1. the existing hardware designing technique is not accomplished in limited magic square space the complicated high-precision circuit board of design, easily makes drop when magic square rotates situation with loose contact of circuit inner structure.Simultaneously, because space constraint and chip power-consumption require higher power density, existing design easily cause the dispelling the heat problem of bad or undertension;
2. whether existing software design technology lacks a good reducing condition decision algorithm, be difficult to detect fast and accurately magic square and be reduced, and also lacks simultaneously the optimization retrieving algorithm, according to current magic square state, provides the optimum original route of going back;
3. due to the defect of software algorithm design and the hardware detection chip error that external factor causes of originally experiencing, can cause the last magic square recovery time very large hysteresis to occur.
Summary of the invention
The invention provides a kind of electronics three rank cube game systems, the hardware design that is intended to solve existing electronics magic square and systems technology is subjected to that space constraint, Software for Design complexity are high, the unmanageable problem of error.
The object of the present invention is to provide a kind of electronics three rank cube game systems, these electronics three rank cube game systems comprise:
Data acquisition module, be used to gathering the data of magic square position chanP and rotation, and export the magic square position chanP of acquisition and the data of rotation;
Wireless communication module, be connected with described data acquisition module, be used to the magic square position chanP that receives the output of described data acquisition module and the data of rotation, and the data of magic square position chanP and rotation carried out to wireless transmission;
Data processing module, be used for receiving the magic square position chanP of described wireless communication module output and the data of rotation, by analyzing data judging magic square position chanP direction and the angle of magic square position chanP and rotation, identification magic-square rotary face, and the control signal of generating virtual magic square, record the change procedure of magic square;
Virtual magic square demonstration module, with described data processing module, be connected, for receiving the control signal of described data processing module output, realize that the real-time synchronization of virtual magic square is controlled, electronics is blindly twisted, timing, reconstitution steps reappear, the prompting of the shortest reduction route, statistical function.
Further, described data acquisition module comprises: photoelectric sensor, heavy magnetometric sensor, CPLD module;
Six faces and centre at three rank magic squares are provided with described photoelectric sensor and heavy magnetometric sensor, and described photoelectric sensor and heavy magnetometric sensor are connected with described CPLD module;
Described wireless communication module further comprises: bluetooth transmitters, Bluetooth Receiver;
Described CPLD module is connected with described bluetooth transmitters, and described bluetooth transmitters and described Bluetooth Receiver carry out radio communication;
Described data processing module further comprises: data reception module, data resolution module;
Described Bluetooth Receiver and described data reception module carry out radio communication, and described data reception module is connected with described data resolution module;
Described virtual magic square demonstration module further comprises:
The OpenGL rendering module, for playing up virtual magic square;
Feature support module, blindly twist for virtual magic square being carried out to real-time synchronization control, electronics, timing, reconstitution steps reappear, the prompting of the shortest reduction route, statistical disposition.
Further, described OpenGL rendering module comprises: magic square 3D graphic plotting module, magic square single face rotation control module, magic square integral-rotation supplementary module;
Described feature support module further comprises: timing module, magic square control module, reduction step are reappeared module, statistical module.
Further, these electronics three rank cube game systems employing 3V lithium coin cells are photoelectric sensor, heavy magnetometric sensor and CPLD module for power supply.
Further, described 3V lithium coin cells, photoelectric sensor, heavy magnetometric sensor and CPLD module connect by flexible circuit.
Further, described wireless communication module adopts Bluetooth chip CC2541, and the pin one 0,21,24,27,28,29 of Bluetooth chip CC2541 connects external 3V lithium coin cells power supply;
The pin two of Bluetooth chip CC2541,3 receives input signal;
The pin two 2,23,32,33 of Bluetooth chip CC2541 is external crystal oscillating circuit the ground connection that consists of electric capacity XATL1, C221, C231, XATL2, C321, C331 respectively;
The pin 30 of Bluetooth chip CC2541 is by resistance R 301 ground connection of 5.6k Ω;
The pin 40 of Bluetooth chip CC2541 is by capacitor C 401 ground connection of 1uF;
The pin two 5,26 of Bluetooth chip CC2541 connects respectively capacitor C 6, capacitor C 5, again respectively by capacitor C 7, inductance L 1 ground connection, by inductance L 2, capacitor C 3, link together simultaneously, by inductance L 3, L4, connect signal receiving end afterwards, one capacitor C 9 is wherein arranged between inductance L 3, inductance L 4, and connect ground connection;
It is the heavy magnetometric sensor of LSM303 that described data acquisition module adopts model, model be the heavy magnetometric sensor of LSM303 integrated 3 axis accelerometers and 3 axle magnetometers, physical circuit is connected to:
The external VDD IO of LSM303DLHC pin one, 14 pin external power supply VCC, VCC draws the capacity earth that the C3_O node meets 10uF simultaneously, draws the capacity earth that the C4_0 node meets 100uF;
LSM303DLHC pin two, 3 is respectively by the resistance R 1_0 of 10K Ω, and R2_0 meets two-wire system universal serial bus VDD I2C Bus;
LSM303DLHC pin two, 3,4,5,8,9 unsettled in order to reception information;
LSM303DLHC pin one 2 connects 13 pins by the capacitor C 2_0 of 0.22uF;
LSM303DLHC pin 6 is by the capacitor C 1_0 ground connection of 4.7uF, 7,10,11 direct ground connection of pin.
Further, described data acquisition module also can communicate by communication and the described data processing module of Wifi, zigbee.
electronics three rank cube game systems provided by the invention, the data of data collecting module collected magic square position chanP and rotation, wireless communication module carries out wireless transmission to the data of magic square position chanP and rotation, data processing module is by analyzing data judging magic square position chanP direction and the angle of magic square position chanP and rotation, identification magic-square rotary face, and the control signal of generating virtual magic square, record the change procedure of magic square, virtual magic square demonstration module is realized the real-time synchronization control of virtual magic square, electronics is blind twists, timing, reconstitution steps is reappeared, the shortest reduction route prompting, statistical function, the present invention can make spectators clearly watch the player to reduce the step of magic square, has improved the sight of cube game, and is simple in structure, practical, with low cost, has stronger propagation and employment and is worth.
The accompanying drawing explanation
Fig. 1 is the structured flowchart of the electronics three rank cube game systems that provide of the embodiment of the present invention;
Fig. 2 is the circuit theory diagrams of the data acquisition module that provides of the embodiment of the present invention;
Fig. 3 is the circuit theory diagrams of the wireless communication module that provides of the embodiment of the present invention.
In figure: 11, data acquisition module; 111, photoelectric sensor; 112, heavy magnetometric sensor; 113, CPLD module; 12, wireless communication module; 121, bluetooth transmitters; 122, Bluetooth Receiver; 13, data processing module; 131, data reception module; 132, data resolution module; 14, virtual magic square demonstration module; 141, OpenGL rendering module; 1411, magic square 3D graphic plotting module; 1412, magic square single face rotation control module; 1413, magic square integral-rotation supplementary module; 142, feature support module; 1421, timing module; 1422, magic square control module; 1423, reduction step is reappeared module; 1424, statistical module.
The specific embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is described in further detail.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, and be not used in the restriction invention.
Fig. 1 shows the structure of the electronics three rank cube game systems that the embodiment of the present invention provides.For convenience of explanation, only show part related to the present invention.
These electronics three rank cube game systems comprise:
Data acquisition module 11, be used to gathering the data of magic square position chanP and rotation, and export the magic square position chanP of acquisition and the data of rotation;
Wireless communication module 12, be connected with data acquisition module 11, be used to the magic square position chanP that receives data acquisition module 11 output and the data of rotation, and the data of magic square position chanP and rotation carried out to wireless transmission;
Data processing module 13, be used for receiving the magic square position chanP of wireless communication module 12 outputs and the data of rotation, by analyzing data judging magic square position chanP direction and the angle of magic square position chanP and rotation, identification magic-square rotary face, and the control signal of generating virtual magic square, record the change procedure of magic square;
Virtual magic square demonstration module 14, with data processing module 13, be connected, for receiving the control signal of data processing module 13 output, realize that the real-time synchronization of virtual magic square is controlled, electronics is blindly twisted, timing, reconstitution steps reappear, the prompting of the shortest reduction route, statistical function.
In embodiments of the present invention, data acquisition module 11 comprises: photoelectric sensor 111, heavy magnetometric sensor 112, CPLD module 113;
Six faces and centre at three rank magic squares are provided with photoelectric sensor 111 and heavy magnetometric sensor 112, and photoelectric sensor 111 and heavy magnetometric sensor 112 are connected with CPLD module 113;
Wireless communication module 12 further comprises: bluetooth transmitters 121, Bluetooth Receiver 122;
CPLD module 113 is connected with bluetooth transmitters 121, and bluetooth transmitters 121 is carried out radio communication with Bluetooth Receiver 122;
Data processing module 13 further comprises: data reception module 131, data resolution module 132;
Bluetooth Receiver 122 carries out radio communication with data reception module 131, and data reception module 131 is connected with data resolution module 132;
Virtual magic square demonstration module 14 further comprises:
OpenGL rendering module 141, for playing up virtual magic square;
Feature support module 142, blindly twist for virtual magic square being carried out to real-time synchronization control, electronics, timing, reconstitution steps reappear, the prompting of the shortest reduction route, statistical disposition.
In embodiments of the present invention, OpenGL rendering module 141 comprises: magic square 3D graphic plotting module 1411, magic square single face rotation control module 1412, magic square integral-rotation supplementary module 1413;
Feature support module 142 further comprises: timing module 1421, magic square control module 1422, reduction step are reappeared module 1423, statistical module 1424.
In embodiments of the present invention, these electronics three rank cube game systems employing 3V lithium coin cells are photoelectric sensor 111, heavy magnetometric sensor 112 and 113 power supplies of CPLD module.
In embodiments of the present invention, 3V lithium coin cells, photoelectric sensor 111, heavy magnetometric sensor 112 and CPLD module 113 connect by flexible circuit.
As shown in Figure 3, in embodiments of the present invention, wireless communication module 12 adopts Bluetooth chip CC2541, and the pin one 0,21,24,27,28,29 of Bluetooth chip CC2541 connects external 3V lithium coin cells power supply;
The pin two of Bluetooth chip CC2541,3 receives input signal;
The pin two 2,23,32,33 of Bluetooth chip CC2541 is external crystal oscillating circuit the ground connection that consists of electric capacity XATL1, C221, C231, XATL2, C321, C331 respectively;
The pin 30 of Bluetooth chip CC2541 is by resistance R 301 ground connection of 5.6k Ω;
The pin 40 of Bluetooth chip CC2541 is by capacitor C 401 ground connection of 1uF;
The pin two 5,26 of Bluetooth chip CC2541 connects respectively capacitor C 6, capacitor C 5, again respectively by capacitor C 7, inductance L 1 ground connection, by inductance L 2, capacitor C 3, link together simultaneously, by inductance L 3, L4, connect signal receiving end afterwards, one capacitor C 9 is wherein arranged between inductance L 3, inductance L 4, and connect ground connection;
As shown in Figure 2, it is the heavy magnetometric sensor 112 of LSM303 that data acquisition module 11 adopts models, model be the heavy magnetometric sensor 112 of LSM303 integrated 3 axis accelerometers and 3 axle magnetometers, physical circuit is connected to:
The external VDD IO of LSM303DLHC pin one, 14 pin external power supply VCC, VCC draws the capacity earth that the C3_O node meets 10uF simultaneously, draws the capacity earth that the C4_0 node meets 100uF;
LSM303DLHC pin two, 3 is respectively by the resistance R 1_0 of 10K Ω, and R2_0 meets two-wire system universal serial bus VDD I2C Bus;
LSM303DLHC pin two, 3,4,5,8,9 unsettled in order to reception information;
LSM303DLHC pin one 2 connects 13 pins by the capacitor C 2_0 of 0.22uF;
LSM303DLHC pin 6 is by the capacitor C 1_0 ground connection of 4.7uF, 7,10,11 direct ground connection of pin.
In embodiments of the present invention, data acquisition module 11 also can communicate by communication and the data processing module 13 of Wifi, zigbee.
Below in conjunction with drawings and the specific embodiments, application principle of the present invention is further described.
1. circuit design, due to problems such as magic square internal space restraint and power consumptions, power density, chip voltage ability to bear are had to higher restriction, and require rationally to arrange the elements such as main control chip, sensor and battery in narrow space, flexible fabric swatch is to adapt to the situations such as magic-square rotary and shock;
2. data acquisition, use photoelectric sensor 111,112 perception of heavy magnetometric sensor and obtain the data of magic square position chanP and rotation in six faces and the centre of three rank magic squares, by wireless means such as bluetooths, sends to receiving terminal;
3. data analysis, utilize the Mathematical Modeling of setting up, and analyzes real time data to judge magic square position chanP direction and angle, the surfaces of revolution of identification magic square;
4. control signal generates, by the analysis of image data, the control signal of generating virtual magic square, record the change procedure of magic square, complete the control of virtual magic square, realize that real-time synchronization is controlled, the functions such as electronics is blindly twisted, timing, reconstitution steps reproduction, the shortest reduction route prompting, statistics;
5. image is processed, and by image processing techniques, carries out the modeling of virtual 3D magic square and plays up, and uses Cross Platform Technology, according to control signal, carries out real-time Simulation, can on the terminal of different operating system, realize actual situation magic square simultaneous display;
6. algorithm design, requirement, in the process of reduction magic square, by the design optimization retrieving algorithm, provides and finally goes back original route to the user, and photoelectric sensor 111, heavy magnetometric sensor 112 have error unavoidably when the perception angle and direction, need to give lag compensation by algorithm.
The present invention is a three rank electronics cube game systems based on photoelectric sensor 111 and heavy magnetometric sensor 112, realized from integrated to timing to data statistics of rotation magic square, it is the innovation on technology and architecture, improved accuracy, the sight of magic square, researched and developed simultaneously a cover and simulate the cube game control system with the cross-platform 3 D of electronics magic square coupling.
At first the present invention uses computer means to carry out fast processing to the magic square axle motion information data that receives, and the state of the virtual magic square played up is controlled, guarantee real-time with the state variation of entity magic square, synchronize; Secondly, the virtual magic square that uses the computer of system or relevant device can use the external equipment such as projecting apparatus to play up projects to giant-screen, meets the ornamental needs of match; Moreover the reconstitution steps in the feature support module 142 of system is reappeared module and can the step that magic square rotates be recorded and preserve, and has met the needs that between player's post-game analysis, player, post-games exchanges; In addition, statistical module 1424 of the present invention, add up player's magic square reduction event and step number, is convenient to the contest data analysis of player's post-games to oneself; Finally, native system designs and has developed online sports platform, is convenient to carry out magic square sports and record challenge whenever and wherever possible from all over the world player.
Hardware design: the hardware design of the main corresponding electronics magic square of hardware design, the embedded tournament system of magic square adopts the cc2540 Bluetooth chip based on 51 cores, it is the heavy magnetometric sensor 112 of LSM303 that data acquisition module 11 adopts model, because the address of heavy magnetometric sensor 112 is fixed, and communication can only be adopted the mode of I2C bus, so 7 heavy magnetometric sensors 112 directly can not be articulated on an I2C bus, therefore, in centre, add in addition a CPLD module 113, thereby expanded 7 road I2C bus runs; In addition, because the inner space of magic square is narrow and small, the ordinary circuit board capacity is inadequate, even adopt the composite multi-layer circuit board also to be difficult to solve the problem of heat radiation, vibrations and capacity, therefore native system has used the flexible PCB of four layers of entire volume (ROLL-TO-ROLL) technologies, volume and thickness are all quite little, and is light.
A photoelectric sensor 111 is all arranged after each face of electronics magic square, and photoelectric sensor 111 records the moving information of axle of each face, and a heavy magnetometric sensor 112 is arranged at the magic square center, records the acceleration of gravity of magic square integral body, the information such as earth's magnetic field; The sensed data that then will collect spreads passs CPLD module 113, by CPLD module 113, send to Bluetooth chip to carry out the data processing, data after Bluetooth chip will be processed finally are delivered to by wireless mode on the virtual magic square demonstration module 14 of terminal, the functions such as performing step record, real-time rendering control.
The photoelectric sensor 111 and the heavy magnetometric sensor 112 that are in the entity magic square are responded in real time the position of entity magic square and rotate situation of change and produce data, send data in the entity magic square Bluetooth chip, then by the good Packet Generation of certain protocol encapsulation to the Bluetooth Receiver 122 in data processing module 13, after data processing module 13 receives data, according to data message, in real time the magic square of 3D simulation is carried out to corresponding sync-body bit map and rotation.
Photoelectric sensor 111 is by two elements, be that light projector and light-receiving device form, utilize light that light projector sends diode by lens focus, through transmission and the light-receiving device that arrives, on the reception CD of light-receiving device, be divided into light face and dark face, transpostion interval occurs, when shining the light face, light emission can be arrived and receives sensor, receive the optical signal that sensor will receive and change the signal of telecommunication into, the angle that is entered by light, refractive index etc. can calculate magic square axle rotational angle and direction by algorithm.
External power supply: adopt the 3V lithium coin cells to power to wireless communication module 12, data acquisition module 11, CPLD module in the magic square device.
Due to the magic square small volume, therefore adopt flexible PCB (30mm*30mm) to embed wherein, estimate to use four laminates to increase the wiring area, meet the wiring demand of 51 Bluetooth chips, adopt simultaneously flexible PCB that following four large advantages are arranged:
1. assembling is short man-hour, and all circuits have all configured, and save the connection work of unnecessary winding displacement;
2. volume ratio PCB is little, can effectively reduce small product size. increase the convenience that carries;
3. weight ratio PCB (hardboard) is light, can reduce the weight of final products;
4. Thickness Ratio PCB is thin, can improve pliability. strengthen again in the confined space doing tridimensional assembling.
System adopts the Qt framework, utilize Qt Creator and Qt Designer to develop, have good cross-platform characteristic, can transplant easily in operating systems such as Linux, and can be widely used in the hand-held terminal device of corresponding operating system, system adopts the OpenGL technology to playing up of magic square, can to virtual magic square, play up, control efficiently, and the character of increasing income also provides good support to the cross-platform characteristic of these software systems; System adopts Object-oriented Technique, object abstract and encapsulation fully, adopts and inherits and the means such as polymorphic, has improved the controllability of system development, is convenient to maintenance and upgrading after system applies; The design of embedded cube game system, based on the Qt framework, is carried out image rendering, processing with OpenGL.
Software UI module: be responsible for the direct interaction with the user, scheduling and resource distribution to other modules provide support, this module uses Qt Designer instrument to design, realize, software interface has close friend, convenience, the characteristics such as attractive in appearance, button adopts the desktop layout, swift to operate, be provided with shortcut, the keyboard operation of use is provided support.
Data processing module 13 is divided into data reception module 131 and data resolution module 132, the processing procedure of common settling signal, the axle rotation information of entity magic square sends to data processing module 13 by bluetooth, data reception module 131 has been responsible for the read work that serial ports receives data, the data that data processing module 13 will read are processed, and send the control signal of controlling virtual magic-square rotary.
OpenGL rendering module 141 is responsible for the work that virtual magic square is played up, comprise: magic square 3D graphic plotting module 1411, magic square single face rotation control module 1412, magic square integral-rotation supplementary module 1413, the realization of these functional modules need both guarantee that virtual Cube plays up visually true to nature, guaranteed that again virtual magic square is in single face rotation, two-sided (certain face and its opposite) common rotation, virtual magic square integral body rotates freely the needs on function.
Feature support module 142 is responsible for the sophisticated systems function, comprising: timing module 1421, magic square control module 1422, reduction step are reappeared module 1423, statistical module 1424, briefly introduce as follows:
(1) timing module 1421 completes the time statistical function of reduction magic square in player's match;
(2) rotation of 1422 pairs of magic squares of magic square control module is controlled, and control the disappearance of each face look of virtual magic square, blind stubborn match in three rank magic square motions is provided support, saved unnecessary requirements such as covering player's eyes, make match more professional, transparent;
(3) reduction step is reappeared module 1423 and can be allowed contestant and magic square fan by step, reappear to carry out corresponding technical Analysis in post-games, and the popularization tissue of magic square and the association that is correlated with can utilize this function to carry out the publicity of magic square motion and to beginner's training simultaneously;
(4) statistical module 1424 is by recording the long term data of player's match or training, can the group player of side or the magic square fan road of the study of oneself is analyzed, conveniently calculate simultaneously corresponding average time, the data such as average step exchange with other players or fan.
1. the electronics three rank magic squares based on photoelectric sensor 111 and heavy magnetometric sensor 112 have simultaneous display and clocking capability, have realized being the innovation on technology and architecture from integrated to timing to data statistics of rotation magic square;
2. the installation method of six flexible PCBs, each board edge all has welding junction, can become regular hexahedron by rapid-assembling, saves built-up time;
3. the employing dynamic compensation technology, given solution for the problem that not exclusively puts in place of imitating in rotary course;
4. the reduction of Design and implementation three rank magic squares is judged and optimum retrieving algorithm.
Innovative point of the present invention is:
1. adopting the spin data of photoelectric sensor 111, heavy magnetometric sensor 112 acquisition and processing magic squares, is the innovation on technology and architecture;
2. adopt the Bluetooth chip based on 51 cores, wireless transmission method is realized the data sending and receiving between virtual and entity magic square, completes real-time synchronization between the two;
3. the Bluetooth chip in hardware design, sensor electronic device all adopt low-power consumption product in like product, are that heat radiation and the capacity of whole magic square reaches ideal effect, adopt the 3.3v lithium coin cells, have met confined space constraint and chip power-consumption problem;
4. adopt the flexible PCB of four layers of entire volume (ROLL-TO-ROLL) technology, increase the wiring area, have that built-up time is short, volume is less, weight is lighter, the stronger advantage of thinner, the pliable and tough row of thickness;
5. by Software for Design, QT, openGL, 3D such as play up at the programming technique makes magic square virtual, has realized the functions such as magic square timing, magic square discs, electronics are blindly twisted, step reduction, far-end control in real time;
6. algorithm design, by design reducing condition algorithm, can be fast and judge accurately whether magic square reduces.By optimizing retrieving algorithm, can provide magic square to go back the soonest original route.By dynamic compensation algorithm, can make up comparatively accurately because the problem of the magic square recovery time hysteresis that the hardware and software reason causes.
Six faces of electronics magic square adopt heavy magnetometric sensor 112 to replace original photoelectric sensor 111, heavy magnetometric sensor 112 need to be linked into six acquisition surface axle rotation information of magic square, adopt slide block to be connected with the heavy magnetometric sensor 112 of central interior, utilize these 7 heavy magnetometric sensors 112 to carry out the measurement of each face rotational angle and position, and distinguish positive reverse rotational direction, estimate that precision reaches in 15 °, signal data transfers to exterior terminal by 51 Bluetooth chips, can realize same data acquisition function.
the electronics three rank cube game systems that the embodiment of the present invention provides, data acquisition module 11 gathers the data of magic square position chanP and rotation, the data of 12 pairs of magic square position chanPs of wireless communication module and rotation are carried out wireless transmission, data processing module 13 is by analyzing data judging magic square position chanP direction and the angle of magic square position chanP and rotation, identification magic-square rotary face, and the control signal of generating virtual magic square, record the change procedure of magic square, virtual magic square demonstration module 14 is realized the real-time synchronization control of virtual magic square, electronics is blind twists, timing, reconstitution steps is reappeared, the shortest reduction route prompting, statistical function, the present invention can make spectators clearly watch the player to reduce the step of magic square, has improved the sight of cube game, and is simple in structure, practical, with low cost, has stronger propagation and employment and is worth.
These are only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (7)

1. electronics three rank cube game systems, is characterized in that, these electronics three rank cube game systems comprise:
Data acquisition module, be used to gathering the data of magic square position chanP and rotation, and export the magic square position chanP of acquisition and the data of rotation;
Wireless communication module, be connected with described data acquisition module, be used to the magic square position chanP that receives the output of described data acquisition module and the data of rotation, and the data of magic square position chanP and rotation carried out to wireless transmission;
Data processing module, be used for receiving the magic square position chanP of described wireless communication module output and the data of rotation, by analyzing data judging magic square position chanP direction and the angle of magic square position chanP and rotation, identification magic-square rotary face, and the control signal of generating virtual magic square, record the change procedure of magic square;
Virtual magic square demonstration module, with described data processing module, be connected, for receiving the control signal of described data processing module output, realize that the real-time synchronization of virtual magic square is controlled, electronics is blindly twisted, timing, reconstitution steps reappear, the prompting of the shortest reduction route, statistical function.
2. electronics three rank cube game systems as claimed in claim 1, is characterized in that, described data acquisition module further comprises: photoelectric sensor, heavy magnetometric sensor, CPLD module;
Six faces and centre at three rank magic squares are provided with described photoelectric sensor and heavy magnetometric sensor, and described photoelectric sensor and heavy magnetometric sensor are connected with described CPLD module;
Described wireless communication module further comprises: bluetooth transmitters, Bluetooth Receiver;
Described CPLD module is connected with described bluetooth transmitters, and described bluetooth transmitters and described Bluetooth Receiver carry out radio communication;
Described data processing module further comprises: data reception module, data resolution module;
Described Bluetooth Receiver and described data reception module carry out radio communication, and described data reception module is connected with described data resolution module;
Described virtual magic square demonstration module further comprises:
The OpenGL rendering module, for playing up virtual magic square;
Feature support module, blindly twist for virtual magic square being carried out to real-time synchronization control, electronics, timing, reconstitution steps reappear, the prompting of the shortest reduction route, statistical disposition.
3. electronics three rank cube game systems as claimed in claim 2, is characterized in that, described OpenGL rendering module further comprises: magic square 3D graphic plotting module, magic square single face rotation control module, magic square integral-rotation supplementary module;
Described feature support module further comprises: timing module, magic square control module, reduction step are reappeared module, statistical module.
4. electronics three rank cube game systems as claimed in claim 2, is characterized in that, it is photoelectric sensor, heavy magnetometric sensor and CPLD module for power supply that these electronics three rank cube game systems adopt the 3V lithium coin cells.
5. electronics three rank cube game systems as claimed in claim 4, is characterized in that, described 3V lithium coin cells, photoelectric sensor, heavy magnetometric sensor and CPLD module connect by flexible circuit.
6. electronics three rank cube game systems as claimed in claim 2, is characterized in that, described wireless communication module adopts Bluetooth chip CC2541, and the pin one 0,21,24,27,28,29 of Bluetooth chip CC2541 connects external 3V lithium coin cells power supply;
The pin two of Bluetooth chip CC2541,3 receives input signal;
The pin two 2,23,32,33 of Bluetooth chip CC2541 is external crystal oscillating circuit the ground connection that consists of electric capacity XATL1, C221, C231, XATL2, C321, C331 respectively;
The pin 30 of Bluetooth chip CC2541 is by resistance R 301 ground connection of 5.6k Ω;
The pin 40 of Bluetooth chip CC2541 is by capacitor C 401 ground connection of 1uF;
The pin two 5,26 of Bluetooth chip CC2541 connects respectively capacitor C 6, capacitor C 5, again respectively by capacitor C 7, inductance L 1 ground connection, by inductance L 2, capacitor C 3, link together simultaneously, by inductance L 3, L4, connect signal receiving end afterwards, one capacitor C 9 is wherein arranged between inductance L 3, inductance L 4, and connect ground connection;
It is the heavy magnetometric sensor of LSM303 that described data acquisition module adopts model, model be the heavy magnetometric sensor of LSM303 integrated 3 axis accelerometers and 3 axle magnetometers, physical circuit is connected to:
The external VDD IO of LSM303DLHC pin one, 14 pin external power supply VCC, VCC draws the capacity earth that the C3_O node meets 10uF simultaneously, draws the capacity earth that the C4_0 node meets 100uF;
LSM303DLHC pin two, 3 is respectively by the resistance R 1_0 of 10K Ω, and R2_0 meets two-wire system universal serial bus VDD I2C Bus;
LSM303DLHC pin two, 3,4,5,8,9 unsettled in order to reception information;
LSM303DLHC pin one 2 connects 13 pins by the capacitor C 2_0 of 0.22uF;
LSM303DLHC pin 6 is by the capacitor C 1_0 ground connection of 4.7uF, 7,10,11 direct ground connection of pin.
7. electronics three rank cube game systems as claimed in claim 1, is characterized in that, described data acquisition module also can communicate by communication and the described data processing module of Wifi, zigbee.
CN2013101808798A 2013-05-13 2013-05-13 Electronic three-order magic cube game system Pending CN103394191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101808798A CN103394191A (en) 2013-05-13 2013-05-13 Electronic three-order magic cube game system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013101808798A CN103394191A (en) 2013-05-13 2013-05-13 Electronic three-order magic cube game system

Publications (1)

Publication Number Publication Date
CN103394191A true CN103394191A (en) 2013-11-20

Family

ID=49558028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101808798A Pending CN103394191A (en) 2013-05-13 2013-05-13 Electronic three-order magic cube game system

Country Status (1)

Country Link
CN (1) CN103394191A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104857702A (en) * 2015-03-31 2015-08-26 广西智通节能环保科技有限公司 Multifunctional electronic magic cube
CN105854284A (en) * 2016-05-05 2016-08-17 柳州市中晶科技有限公司 Electronic magic cube toy
CN106110651A (en) * 2016-08-12 2016-11-16 佛山市顺德区立方智德设计有限公司 The inductive axis core structure of Intelligent magic cube and use thereof, clocking method
CN106874631A (en) * 2017-04-01 2017-06-20 合肥学院 A kind of three rank magic square virtual methods and virtual system
CN107734195A (en) * 2017-11-24 2018-02-23 北京点芯动科技发展有限公司 It is a kind of can real-time synchronization athletic posture two-way with mobile communication equipment and state Intelligent magic cube system
CN107754304A (en) * 2016-08-19 2018-03-06 雷虎科技股份有限公司 Interactive magic cube
CN107970607A (en) * 2017-12-15 2018-05-01 北京小米移动软件有限公司 Information displaying method, equipment, Intelligent magic cube and storage medium
CN108079581A (en) * 2017-12-15 2018-05-29 北京小米移动软件有限公司 Intelligent magic cube, magic square control method, equipment and storage medium
CN108211355A (en) * 2017-12-29 2018-06-29 武汉市马里欧网络有限公司 Three-dimensional puzzle based on AR
WO2018119719A1 (en) * 2016-12-28 2018-07-05 陈德杰 Electronic rubik's cube which detects rotation without contact
CN108647689A (en) * 2018-06-01 2018-10-12 中国科学院福建物质结构研究所 Magic square restored method and its device based on GoogLeNet neural networks
CN108786096A (en) * 2017-04-28 2018-11-13 申奉玽 Intelligent magic cube and its method of operation
CN109350958A (en) * 2018-11-29 2019-02-19 北京小米移动软件有限公司 The control method of terminal and terminal, computer readable storage medium
CN111330259A (en) * 2020-03-30 2020-06-26 齐鲁工业大学 Nondestructive internal reduction third-order magic cube and control method
CN111415663A (en) * 2020-03-26 2020-07-14 齐鲁工业大学 Voice control magic cube with self-recovery function and control method
CN112619120A (en) * 2021-01-08 2021-04-09 江汉大学 Three-order exercise magic cube
CN117095103A (en) * 2023-08-11 2023-11-21 广州淦源智能科技有限公司 Data processing method based on intelligent magic cube and magic cube thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007046056A2 (en) * 2005-10-20 2007-04-26 Koninklijke Philips Electronics N.V. Game with programmable light emitting segments
CN101690847A (en) * 2009-09-22 2010-04-07 罗富强 Method for sensing electronic magic square, electronic magic square and magic square game system
CN201622811U (en) * 2010-03-11 2010-11-03 合肥金诺数码科技股份有限公司 Showing device for electronic multimedia magic cube

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007046056A2 (en) * 2005-10-20 2007-04-26 Koninklijke Philips Electronics N.V. Game with programmable light emitting segments
CN101690847A (en) * 2009-09-22 2010-04-07 罗富强 Method for sensing electronic magic square, electronic magic square and magic square game system
CN201622811U (en) * 2010-03-11 2010-11-03 合肥金诺数码科技股份有限公司 Showing device for electronic multimedia magic cube

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104857702A (en) * 2015-03-31 2015-08-26 广西智通节能环保科技有限公司 Multifunctional electronic magic cube
CN105854284A (en) * 2016-05-05 2016-08-17 柳州市中晶科技有限公司 Electronic magic cube toy
CN106110651A (en) * 2016-08-12 2016-11-16 佛山市顺德区立方智德设计有限公司 The inductive axis core structure of Intelligent magic cube and use thereof, clocking method
CN106110651B (en) * 2016-08-12 2017-11-21 佛山市计客创新科技有限公司 Intelligent magic cube and its sensing axle centre structure, the clocking method used
US10773152B2 (en) 2016-08-12 2020-09-15 Fs Giiker Technology Co., Ltd. Intelligent magic cube, and sensing shaft center structure and timing method used thereby
EP3498349A4 (en) * 2016-08-12 2020-03-25 FS Giiker Technology Co., Ltd. Intelligent magic cube, and sensing shaft center structure and timing method used thereby
CN107754304A (en) * 2016-08-19 2018-03-06 雷虎科技股份有限公司 Interactive magic cube
WO2018119719A1 (en) * 2016-12-28 2018-07-05 陈德杰 Electronic rubik's cube which detects rotation without contact
CN106874631A (en) * 2017-04-01 2017-06-20 合肥学院 A kind of three rank magic square virtual methods and virtual system
CN106874631B (en) * 2017-04-01 2024-04-05 合肥学院 Third-order magic cube virtual method and virtual system
CN108786096A (en) * 2017-04-28 2018-11-13 申奉玽 Intelligent magic cube and its method of operation
CN108786096B (en) * 2017-04-28 2022-05-10 智能魔方 Intelligent magic cube and operation method thereof
CN107734195A (en) * 2017-11-24 2018-02-23 北京点芯动科技发展有限公司 It is a kind of can real-time synchronization athletic posture two-way with mobile communication equipment and state Intelligent magic cube system
CN108079581A (en) * 2017-12-15 2018-05-29 北京小米移动软件有限公司 Intelligent magic cube, magic square control method, equipment and storage medium
CN107970607A (en) * 2017-12-15 2018-05-01 北京小米移动软件有限公司 Information displaying method, equipment, Intelligent magic cube and storage medium
CN108211355A (en) * 2017-12-29 2018-06-29 武汉市马里欧网络有限公司 Three-dimensional puzzle based on AR
CN108647689A (en) * 2018-06-01 2018-10-12 中国科学院福建物质结构研究所 Magic square restored method and its device based on GoogLeNet neural networks
CN109350958B (en) * 2018-11-29 2022-03-11 北京小米移动软件有限公司 Terminal, control method of terminal, and computer-readable storage medium
CN109350958A (en) * 2018-11-29 2019-02-19 北京小米移动软件有限公司 The control method of terminal and terminal, computer readable storage medium
CN111415663A (en) * 2020-03-26 2020-07-14 齐鲁工业大学 Voice control magic cube with self-recovery function and control method
CN111415663B (en) * 2020-03-26 2023-04-25 齐鲁工业大学 Voice control magic cube with self-recovery function and control method
CN111330259A (en) * 2020-03-30 2020-06-26 齐鲁工业大学 Nondestructive internal reduction third-order magic cube and control method
CN112619120A (en) * 2021-01-08 2021-04-09 江汉大学 Three-order exercise magic cube
CN112619120B (en) * 2021-01-08 2023-07-04 江汉大学 Three-order exercise magic cube
CN117095103A (en) * 2023-08-11 2023-11-21 广州淦源智能科技有限公司 Data processing method based on intelligent magic cube and magic cube thereof
CN117095103B (en) * 2023-08-11 2024-03-19 广州淦源智能科技有限公司 Data processing method based on intelligent magic cube and magic cube thereof

Similar Documents

Publication Publication Date Title
CN103394191A (en) Electronic three-order magic cube game system
CN103417201B (en) A kind of sports auxiliary training system and its implementation gathering human body attitude
CN103135765A (en) Human motion information capturing system based on micro-mechanical sensor
CN104407701A (en) Individual-oriented clustering virtual reality interactive system
CN107106907A (en) Signal generation and detector system and method for determining user's finger position
CN103119628A (en) Three dimensional user interface effects on a display by using properties of motion
CN203507551U (en) Electronic building block
CN106020358A (en) Transparent electronic device
CN107886562A (en) Water surface rendering intent, device and readable storage medium storing program for executing
CN103218906A (en) Falling data acquiring and analyzing platform
CN102109913A (en) Controller pointer positioning method based on composite MEMS sensor and controller
CN203673431U (en) Motion trail virtual device
CN103127686A (en) Comprehensive exercise measurement and auxiliary analysis system for curling exercise training
CN203133746U (en) Integrated virtual landscape sightseeing device based on somatosensory interaction
CN106781751A (en) Multimedia equipment and digital video interactive
CN106774940A (en) A kind of Intelligent worn device and smart motion interactive system
CN205487073U (en) Interactive sand table system of intelligent projection
CN208227136U (en) It is a kind of can be with the magic square system of the two-way real-time synchronization athletic posture of mobile communication equipment and state
CN108594434A (en) A kind of intelligent glasses
CN108686348A (en) Sensor-based tennis racket movement locus reconfiguration system and its reconstructing method
CN107773931B (en) A kind of intelligent swimming mirror
CN103399628A (en) Human-computer interaction game system
CN203825856U (en) Power distribution simulation training system
Reynell et al. Hardware and software for skateboard trick visualisation on a mobile phone
CN103383806A (en) Gesture language transmission system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131120