CN100356299C - Palm intelligent game computer capable of inducing palm action - Google Patents

Palm intelligent game computer capable of inducing palm action Download PDF

Info

Publication number
CN100356299C
CN100356299C CNB200410071125XA CN200410071125A CN100356299C CN 100356299 C CN100356299 C CN 100356299C CN B200410071125X A CNB200410071125X A CN B200410071125XA CN 200410071125 A CN200410071125 A CN 200410071125A CN 100356299 C CN100356299 C CN 100356299C
Authority
CN
China
Prior art keywords
game machine
game
module
microprocessor
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB200410071125XA
Other languages
Chinese (zh)
Other versions
CN1588275A (en
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.)
Tsinghua University
Original Assignee
Tsinghua 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 Tsinghua University filed Critical Tsinghua University
Priority to CNB200410071125XA priority Critical patent/CN100356299C/en
Publication of CN1588275A publication Critical patent/CN1588275A/en
Application granted granted Critical
Publication of CN100356299C publication Critical patent/CN100356299C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses an intelligent palm game machine capable of inducing palm movement, which belongs to the category of electronic game machines. The present invention has the structure that a signal detection module, a data storage module, an LCD module, a power management module, a serial port communication module, an operation keyboard and a sound generator are connected with corresponding wiring pins around a microprocessor; an accelerometer and a magnetometer are connected with the signal detection module; the serial port communication module is also connected with a PC; all the parts are arranged in a game machine box. Various sensors are used for sensing the poses and the movement of the game machine so as to simulate a practical situation. The corresponding movement of a body is simulated on an LCD screen, corresponding programs are designed, and thus, various games can be accomplished. The present invention can be used for recreation, kids' hand movement training, rehabilitation training, etc. The information transmission between the game machine and the PC is realized by setting a serial port communication circuit. Finally, the sharing of the stored information of the same games in the game machine and the computer is realized.

Description

Palm intelligent game computer that can inducing palm action
Technical field
The invention belongs to electronic game machine.Be particularly related to a kind of palm intelligent game computer that can inducing palm action.
Background technology
In today that commercial prosperity, life are had much to do, people always want to seek a leisurely enjoyment outside busy, with the nervous mood of releiving, so various palm electronic game machine at modern's the corresponding appearance of demand, and just has been subjected to consumers in general's favor at the beginning of the invention.
The palm electronic game machine that is sold on the market is of a great variety now, but is to need the intelligence of service orientation key or craftsmenship recreation mostly, and the operation armrest refers to finish, and is irrelevant with self attitude and the motion of game machine.Also not having in the market can be according to game machine self attitude and the game machine that moves and operate, and there is the bigger market space in the present invention.
Summary of the invention
The purpose of this invention is to provide a kind of horizontal attitude or direction that needs to change game machine, do not need to use operation push-button just can control the palm intelligent game computer of the energy inducing palm action of the controlled object motion in the recreation.
The objective of the invention is to be achieved through the following technical solutions: this palm intelligent game computer be connect around microprocessor that signal detection module, data memory module, LCD MODULE, power management mould are fast on the respective lead pin, serial communication modular and operation keyboard, accelerometer and magnetometer are connected in parallel on the input end of signal detection module, serial communication modular is connected with PC again, and acoustical generator is contained in the game machine box; The described signal that accelerometer and magnetometer measured as sensor through the signal detection module signal deteching circuit to detection signal amplify respectively, Filtering Processing, through A/D sampling input microprocessor, the signal that the microprocessor utilization is surveyed goes out the residing attitude of game machine by computed in software at last.And calculate moving direction and the translational speed of controlled object in Game Zone thus.Wherein the moving direction of object is the direction of object gliding acceleration maximum in Game Zone, and Liquid Crystal Module is to show game process, and EEPROM is used to store game data, and serial communication modular is used for realizing the information transmission between microprocessor and the PC.
Wherein the attitude algorithm of game machine is:
Set up earlier the game machine position geographic coordinate system north-Dong-ground (being N-E-D), (X--is in the game machine symmetrical plane, points to game machine motion forward direction by barycenter to be fixed on the game machine coordinate system X-Y-Z of game machine; Y-is perpendicular to the game machine symmetrical plane and point to right-hand; Z-is in the game machine symmetrical plane and perpendicular to the X-axis directed downwards), the signal that the microprocessor utilization is surveyed goes out the residing attitude of game machine by computed in software.And calculate moving direction and the translational speed of controlled object in Game Zone thus, speed is:
V=V 0T-aT 2/2
V wherein 0Be the speed of object previous moment, T is the small time period, and a is the object that the calculates acceleration along the inclined-plane.
The attitude games available machine coordinate system of game machine in the space represents that with respect to the motion of geographic coordinate system movement angle is called the attitude angle of game machine.Course angle ψ commonly used, pitching angle theta and roll angle γ were as the attitude angle of game machine during navigation was learned, two coordinate systems overlap (N is corresponding with X-axis, E and Y-axis, D and Z axle) when initial, game machine is around the capable partially ψ angle of D axle (Z) subsequently, again around horizontal Y ' axle pitching θ angle, at last around X " axle lift-over γ angle.Vector in game machine coordinate system and the geographic coordinate system can be changed mutually by following direction cosine matrix:
C n b = cos ( N , X ) cos ( E , X ) cos ( D , X ) cos ( N , Y ) cos ( E , Y ) cos ( D , Y ) cos ( N , Z ) cos ( E , Z ) cos ( D , Z ) = [ T ij ] 3 × 3
Its subscript b represents the game machine coordinate system, and subscript n is represented geographic coordinate system, T IjBe the capable j column element of i in the matrix.
Three magnetometers respectively along three placements of game machine coordinate system, are measured the projection components of earth magnetic induction density H on three of game machine coordinate systems respectively, and establish: the measured value of X-axis magnetometer is x M, the measured value of Y-axis magnetometer is y M, the measured value of Z axle magnetometer is z MThree of degree of will speed up meter respectively along three placements of game machine coordinate system equally, measure acceleration of gravity f respectively gComponent on X, Y and Z axle, establish: the component of X-axis is x g, Y-axis component be Y g, the component of Z axle is z gTerrestrial magnetic field H and acceleration of gravity f gExpression direction of passage cosine matrix C in geographic coordinate system and attitude frame of reference n bChange, and consider to disturb [e Mxe Mye Mz] T[e Gxe Gye Gz] TInfluence (comprise at random and normal value), resolve formula thereby obtain following attitude angle, wherein H is an earth induction intensity, β is an earth's magnetic dip angle.
x M y M z M = HC n b cos β 0 sin β + e Mx e My e Mz ⇒ H × ( T 11 cos β + T 13 sin β ) + e Mx = x M H × ( T 21 cos β + T 23 sin β ) + e My = y M H × ( T 31 cos β + T 33 sin β ) + e Mx = z M
x g y g z g = C n b 0 0 f g + e gx e gy e gz ⇒ x g = T 13 f g + e gx y g = T 23 f g + e gy z g = T 33 f g + e gz
The normal value of undesired signal and relevant portion can be eliminated by signal Processing and modeling.
Invention utilizes the level conversion between serial communication chip MAX232 and peripheral circuits realization TTL and the RS232, thereby realizes the function of the serial communication between game machine and the individual PC.
The invention has the beneficial effects as follows the attitude and the motion that utilize various sensors to come induction game machine itself, come simulating actual conditions according to the information that sensor provides, the relative motion of emulation object on LCD screen designs corresponding program, finishes recreation such as labyrinth.But the present invention can also be used for hand exercise training, rehabilitation training of juvenile etc. except FYA.By on handheld device, designing serial communication circuit, realize the information transmission of game machine and individual PC, realize that finally the canned data of recreation of the same race on game machine and the computing machine is shared.
Description of drawings
Fig. 1 game machine coordinate system and geographic coordinate system relativeness synoptic diagram.
Fig. 2 is the structured flowchart of game machine.
Fig. 3 is the circuit theory diagrams of game machine.
Fig. 4 is the recreation main program flow chart.
Embodiment
The present invention provides a kind of the horizontal attitude or the direction that need to change game machine, does not need to use operation push-button just can control the palm intelligent game computer of the energy inducing palm action of the controlled object motion in the recreation.This palm intelligent game computer be connect around microprocessor that signal detection module, data memory module, LCD MODULE, power management mould are fast on the respective lead pin, serial communication modular and operation keyboard, accelerometer and magnetometer are connected in parallel on the input end of signal detection module, and serial communication modular is connected (as shown in Figure 1) again with PC; Acoustical generator is contained in the game machine box.The described signal that accelerometer and magnetometer measured as sensor carries out being input to microprocessor after the A/D conversion through signal detection module, and the signal that the microprocessor utilization is surveyed goes out the residing attitude of game machine by computed in software.And calculate moving direction and the translational speed of controlled object in Game Zone thus.The present invention adopts idea of modular, when recreation begins to carry out, and accelerometer and the magnetometer output voltage signal of surveying.Signal deteching circuit to detection signal amplify respectively, Filtering Processing, at last through A/D sampling input single-chip microcomputer, after single-chip microcomputer receives sampled voltage, through calculating desired data.The function of Liquid Crystal Module is to show game process, and EEPROM is used to store game data, and serial communication modular is used for realizing the information transmission between single-chip microcomputer and the PC.
The present invention has adopted the design of three buttons, the main control key that button is a game machine, and long button can be realized the open and close machine of instrument.Other two keys are as adjusting key.By these two adjusting keys, the operator can select game type, finishes the function setting of recreation and cooperate the master control key to finish other recreation that need button etc.
(1) hardware design
The present invention includes accelerometer, magnetometer, microprocessor, signal processing module, data memory module and LCD MODULE, serial communication modular, the power management mould is fast and audible device (as shown in Figure 2).The circuit theory diagrams of its game machine are made of six subregions as shown in Figure 3, introduce each module of the present invention in detail in conjunction with Fig. 3:
1. microprocessor module
Microprocessor mainly is responsible for a series of processes such as the collection, computing, processing of signal, and it is the core of entire machine control.Single-chip microcomputer of the present invention is selected the AD μ C812 chip of ANALOG DEVICES company for use, it has the flash/electricity that has 8KB in 8 road high-precision 12 A/D converters, three timers, the sheet and wipes the flash/electric obliterated data storer of (Flash/EE) program storage, 640B and the SRAM of 256B, it also have multipotency connect 64MB external data memory, inner energy saver mode, have the kernel with 8051 compatibilities, its order set is also compatible with 51 series.Crystal oscillator is selected 12MHz for use, be connected to pin 32,33 ends of microprocessor, sheet choosing end CS, write signal end WR that the I/O port P2.5 of microprocessor, P2.6, P2.7 are connected respectively to LCD MODULE, data-signal end DATA links to each other, the P2.0 of microprocessor, P2.1, P2.2, P2.3 link to each other with CS, SCLK, DI, the DO of EEPROM respectively (1 district's scope that physical circuit is seen Fig. 3).
2. signal detection module
The major function of signal detection module is the measured voltage signal of detecting sensor.Accelerometer adopts two two axle acceleration chip IC 301 (physical circuit is seen 3 district's scopes of Fig. 3), and three axis magnetometer is formed (2 district's scopes that physical circuit is seen Fig. 3) by HMC1001 and HMC1002.After the amplification that six road voltage signals that recorded by sensor constitute via MAX4194, filtering circuit amplification, the filtering, ACH0 ~ the ACH5 that is sent to microprocessor carries out analog to digital conversion (A/D conversion) simulating signal is become digital signal, uses for processing, control and the liquid crystal display of single-chip microcomputer.
3. power management module
The power management module circuit is made of start latching circuit and mu balanced circuit two parts.
What use on the game machine is touch switch, and the effect of start latching circuit is to make circuit can keep power supply after the start button finishes.And can be by the software power supply of cutting off the electricity supply, to reach the purpose of economize on electricity.During shutdown, in Fig. 3, triode Q 2Base stage be high level, Q 2End.After pressing the game machine master switch, Q 2Base stage become electronegative potential, Q 2Conducting, voltage stabilizing chip operate as normal then, VCC is 3.3V.The P3.7 of single-chip microcomputer connects the input end of not gate 74HC04, and output connects Q by resistance R 21 2Base stage.This moment, P3.7 was a noble potential, then made Q by not gate 2Base stage be low level always, this has just guaranteed after master switch disconnects, Q 2Conducting still.Realized the start self-locking of game machine.When needs cut off the game machine power supply, only need put the P3.7 electronegative potential and get final product.
Mu balanced circuit mainly is made of voltage stabilizing core MAX866 and peripheral circuit thereof, and fundamental purpose is for game machine provides stable voltage, and when guaranteeing that supplying cell voltage drops in the certain limit, instrument can operate as normal.Can improve the serviceable life (physical circuit is seen 4 district's scopes of Fig. 3) of battery like this.
4. serial communication module
Communication interface modules mainly is made up of the MAX232 chip, and 11 pin of MAX232 link to each other with the P3.1 of single-chip microcomputer, and 12 pin link to each other with P3.0; In addition, 13,14 pin of MAX232 chip are connected to PC by socket J4, thereby for realizing that microprocessor provides convenience (physical circuit is seen the 5th district of Fig. 3) to the data transmission of PC.
5. data memory module
The 93LC86 of instrument selection Microchip company is as the storage chip of instrument.93LC86 is 2048 * 8 or 1024 * 16 bit serial CMOS EEPROM, has online data and rewrites and the power down hold function, repeats erasable number of times and can reach 1,000,000 times, and data retention period is more than 200 years; When employing+5V single supply is worked, input and output level and TTL compatible; Timing generator is arranged in the sheet, wipe with write operation all thus timing circuit control automatically; Have whole program enable and prohibiting function, strengthened Data Protection ability (physical circuit is seen the 6th district of Fig. 3).
(2) realize the attitude of game machine by software
Microprocessor goes out the residing attitude of game machine by computed in software, set up earlier the game machine position geographic coordinate system north-Dong-ground (being N-E-D), (X--is in (as shown in Figure 1) in the game machine symmetrical plane to be fixed on the game machine coordinate system X-Y-Z of game machine, utilize the signal that accelerometer and magnetometer measured again as sensor, calculate moving direction and the translational speed of controlled object in Game Zone, its speed is:
V=V 0T-aT 2/2
Wherein V0 is the speed of object previous moment, and T is the small time period, and a is the object that the calculates acceleration along the inclined-plane.
Instrument software system program at above function design all adopts structured way design.
Wherein the working condition of master routine is described below:
FB(flow block) as shown in Figure 4, it mainly is to finish some initializing sets that master routine begins, as calling of the setting of the initialization of register, interrupt vector address, cls subroutine etc.Enter the main interface of recreation after initialization finishes, wait for other interruption subroutines.The operator can select game type and game parameter is set by operation push-button subsequently.Before beginning recreation, can select start new game still to play the recreation of storing in the past.After game over, instrument can be stored game information as requested, in order to using later on.Instrument Resume Mission master interface after the game over.The time of all game process shut-down operations can not surpass 2 minutes, otherwise recreation shutdown automatically.
Circuit in the present embodiment can be done the part change to this specific embodiment in design philosophy category of the present invention.

Claims (1)

1. the palm intelligent game computer of an energy inducing palm action, this palm intelligent game computer is to connect signal detection module, data memory module, LCD MODULE on the respective lead pin around the microprocessor, it is characterized in that: connect also on the respective lead pin around the microprocessor that the power management mould is fast, serial communication modular and operation keyboard, accelerometer and magnetometer are connected in parallel on the input end of signal detection module, serial communication modular is connected with PC again, and acoustical generator is contained in the game machine box; The described signal that accelerometer and magnetometer measured as sensor through the signal deteching circuit of signal detection module to detection signal amplify respectively, Filtering Processing, at last through A/D conversion back input microprocessor, the signal that the microprocessor utilization is surveyed goes out the residing attitude of game machine by computed in software: geographic coordinate system north-Dong-ground of setting up the game machine position earlier is N-E-D, be fixed on the coordinate system X-Y-Z of game machine, X-is in the moving direction and the speed of controlled object in the game machine symmetrical plane, and its speed is:
V=V 0T-aT 2/2
V wherein 0Be the speed of object previous moment, T is the small time period, and a is the object that the calculates acceleration along the inclined-plane;
The signal that utilizes accelerometer and magnetometer to measure by microprocessor goes out the putting position and the angle of game machine by computed in software again, thereby determines the moving direction and the speed of controlled object in the recreation; Wherein the moving direction of object is the direction of object gliding acceleration maximum in Game Zone;
Described Liquid Crystal Module is used to show game process, and EEPROM is used to store game data, and serial communication modular is used for realizing the information transmission between microprocessor and the PC.
CNB200410071125XA 2004-07-29 2004-07-29 Palm intelligent game computer capable of inducing palm action Expired - Fee Related CN100356299C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200410071125XA CN100356299C (en) 2004-07-29 2004-07-29 Palm intelligent game computer capable of inducing palm action

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200410071125XA CN100356299C (en) 2004-07-29 2004-07-29 Palm intelligent game computer capable of inducing palm action

Publications (2)

Publication Number Publication Date
CN1588275A CN1588275A (en) 2005-03-02
CN100356299C true CN100356299C (en) 2007-12-19

Family

ID=34604577

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200410071125XA Expired - Fee Related CN100356299C (en) 2004-07-29 2004-07-29 Palm intelligent game computer capable of inducing palm action

Country Status (1)

Country Link
CN (1) CN100356299C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8702430B2 (en) 2007-08-17 2014-04-22 Adidas International Marketing B.V. Sports electronic training system, and applications thereof
US8221290B2 (en) 2007-08-17 2012-07-17 Adidas International Marketing B.V. Sports electronic training system with electronic gaming features, and applications thereof
US8360904B2 (en) 2007-08-17 2013-01-29 Adidas International Marketing Bv Sports electronic training system with sport ball, and applications thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08146028A (en) * 1994-11-15 1996-06-07 Japan Aviation Electron Ind Ltd Device for inputting motion-speed
CN1166215A (en) * 1995-10-09 1997-11-26 任天堂株式会社 Stereo image processing system
CN1281172A (en) * 1999-07-16 2001-01-24 维熹实业有限公司 Game controller with slope and vertical acceleration sensors and its method
CN1287634A (en) * 1998-11-02 2001-03-14 索尼电脑娱乐公司 Information communication electronic device and information display method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08146028A (en) * 1994-11-15 1996-06-07 Japan Aviation Electron Ind Ltd Device for inputting motion-speed
CN1166215A (en) * 1995-10-09 1997-11-26 任天堂株式会社 Stereo image processing system
CN1287634A (en) * 1998-11-02 2001-03-14 索尼电脑娱乐公司 Information communication electronic device and information display method
CN1281172A (en) * 1999-07-16 2001-01-24 维熹实业有限公司 Game controller with slope and vertical acceleration sensors and its method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于MEMS的姿态测量系统 朱荣,周兆英.测控技术,第21卷第10期 2002 *

Also Published As

Publication number Publication date
CN1588275A (en) 2005-03-02

Similar Documents

Publication Publication Date Title
CN101882015B (en) Controller and gesture control keying method thereof based on composite MEMS (Micro-electromechanical System) sensor
CN103394191A (en) Electronic three-order magic cube game system
CN102109913B (en) Controller pointer positioning method based on composite MEMS sensor and controller
CN102411658B (en) Molecular dynamics accelerating method based on CUP (Central Processing Unit) and GPU (Graphics Processing Unit) cooperation
CN201194139Y (en) Intellectualized robot platform with teaching and intelligent function
CN107168539A (en) A kind of equipment awakening method, device and electronic equipment
CN202748966U (en) Dynamic handwriting drilling apparatus
CN105675048A (en) Wireless system and method for balancing recognition accuracy and power consumption
CN103729056A (en) System and method for controlling electronic equipment by knock
CN100356299C (en) Palm intelligent game computer capable of inducing palm action
KR101123663B1 (en) Pencil Case Equipped With Touch Function
CN105628056B (en) Fine filtering method and test platform for random walk noise of gyroscope
CN105573301B (en) A kind of accidental resonance simulation system of adjustable parameter
CN101229432B (en) Method of controlling action emulation and system thereof
CN101976044A (en) Wind power system modeling and DSP (Digital Signal Processor) realizing method based on neural network
CN103150943A (en) Braille input and output device
CN206921354U (en) A kind of Teaching of Single-computer Practice device
CN2735427Y (en) Intelligent palm game machine capable of inducing palm movements
Škuta et al. Automated integration of dynamic power management into FPGA-based design
CN114489154A (en) Control method, control device, handle and medium
CN204270544U (en) Based on the portable experimental provision of STC single-chip microcomputer
CN103399628A (en) Human-computer interaction game system
CN202736050U (en) Data acquisition card with singlechip development function
Al-Omary et al. Machine-Human Tic-Tac game based on Microcontroller Technology
CN209405659U (en) Programmable game machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071219

Termination date: 20160729

CF01 Termination of patent right due to non-payment of annual fee