CN101879376A - Realization method for gyro sensor in interactive games - Google Patents

Realization method for gyro sensor in interactive games Download PDF

Info

Publication number
CN101879376A
CN101879376A CN 200910057181 CN200910057181A CN101879376A CN 101879376 A CN101879376 A CN 101879376A CN 200910057181 CN200910057181 CN 200910057181 CN 200910057181 A CN200910057181 A CN 200910057181A CN 101879376 A CN101879376 A CN 101879376A
Authority
CN
China
Prior art keywords
game
gyro sensor
implementation method
interactive game
interactive
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
CN 200910057181
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.)
3DIJOY Corp
3DIJOY DIGITAL TECHNOLOGY (SHANGHAI) Co Ltd
Original Assignee
3DIJOY Corp
3DIJOY DIGITAL TECHNOLOGY (SHANGHAI) Co Ltd
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 3DIJOY Corp, 3DIJOY DIGITAL TECHNOLOGY (SHANGHAI) Co Ltd filed Critical 3DIJOY Corp
Priority to CN 200910057181 priority Critical patent/CN101879376A/en
Publication of CN101879376A publication Critical patent/CN101879376A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a realization method for a gyro sensor in interactive games, which utilizes a game running host, a game controller and the gyro sensor and comprises the following steps: (1) the game running host receives the raw data of the gyro sensor which is returned by the game controller; (2) the game running host processes and converts received raw data of the gyro sensor into angular velocity or angular displacement through algorithm; and (3) according to requirement of interactive games on actions, a proper analysis mode is adopted to obtain required results by combining the obtained angular velocity or angular displacement signal. In the invention, operation on interactive games is realized by analyzing the data of the gyro sensor sent to the host by the control held in the hand of a game operator, thus enhancing game experience effect.

Description

The implementation method of gyro sensor in interactive game
Technical field
The present invention designs a kind of implementation method of interactive game, relates in particular to the implementation method of a kind of gyro sensor in interactive game.
Background technology
The acceleration transducer person's that catches the game operation action is mainly adopted in present interactive game, thereby realizes the control to interactive game.
But in actual applications, adopt the acceleration transducer person's that catches the game operation action that many weakness are arranged.At first, acceleration transducer be because the restriction of its operation principle can only detect the motion of quickening or slowing down, and for little uniform motion of velocity variations or slighter action, the applied acceleration sensor often can't well be discerned.Secondly, using acceleration transducer to detect under the situation of controller attitude, because attitude detection is to realize by the component of acceleration of gravity on three axles of acceleration transducer, therefore the detection for the controller attitude can't realize under the situation of controller strenuous exercise, and this can bring certain restriction to the operation of some interactive game.
And gyro sensor is different with acceleration transducer, and what it detected is the variation of angular speed.Obviously, compare with acceleration, the measurement of angular speed is obviously adaptable wider, and particularly to the seizure of the trickle action of controller, gyro sensor is compared with acceleration transducer, and very big advantage is arranged.
Therefore, in the motion capture of interactive game, introduce gyro sensor, can form complementation preferably, improve the experience effect of interactive game with acceleration transducer.
Still there is the problem of individual difference in moment gyroscope instrument sensor, and the influence that changed by the gyro sensor environment for use.How overcoming the influence of these problems to analysis result, is the problem that the present invention need solve.
Because gyro sensor provides angular velocity signal, how to change this angular velocity signal into action control signal required in the interactive game, also is the problem that the present invention need solve.
Summary of the invention
The technical problem to be solved in the present invention provides the implementation method of a kind of gyro sensor in interactive game, can significantly reduce the individual difference of gyro sensor and the influence that environment for use is brought practical application, realization increases the experience effect of recreation to the operation of interactive game.
In order to solve the problems of the technologies described above, the present invention is achieved through the following technical solutions:
The implementation method of a kind of gyro sensor in interactive game adopts game running host and game console, and described game console comprises gyro sensor, comprises the steps:
(1) game running host receives the gyro sensor initial data that game console is passed back;
(2) game running host is converted to angular speed or angular displacement with the gyro sensor initial data that receives by algorithm process;
(3) according to the specific requirement of interactive game to action, in conjunction with the angular speed or the angular displacement signal that obtain, adopt the analysis mode that is fit to, draw the result who needs.
Primary data information (pdi) described in the step (1) should comprise an axial undressed gyro sensor signal at least.
Described game console also comprises acceleration transducer, also comprises steps A between step (1) and step (2): game running host receives the acceleration transducer initial data that game console is passed back; Primary data information (pdi) described in the steps A should comprise an axial undressed acceleration transducer signals at least.Step (3) is according to the specific requirement of interactive game to action, in conjunction with the angular speed or angular displacement and the acceleration signal that obtain, adopts the analysis mode that is fit to, and draws the result who needs.
The described algorithm process of step (2) can be handled the individual difference and the ambient influnence of gyro sensor.
The described algorithm process of step (2) comprises the filtering processing.
If comprise three acceleration transducer signals in the data that game running host receives, then as required, to the angular speed that calculates or angular displacement in conjunction with the play games attitude updating of controller of 3-axis acceleration signal.
Described game running host is the equipment of computer, special-purpose game host or other operation interactive game.
Described game console can be game paddle, mobile phone, mouse, remote controller etc. all can send the electronic equipment of desired signal.
Beneficial effect of the present invention is: the gyro sensor data that the controller that the present invention hands by analysis game operation person is sent to main frame, realize operation to interactive game, and increase the experience effect of recreation.The present invention has effect preferably when catching the trickle action of game console operator, and calculates by algorithm, can significantly reduce the individual difference of gyro sensor and the influence that environment for use is brought practical application.
Description of drawings
Fig. 1 is the schematic diagram of the implementation method of gyro sensor of the present invention in interactive game.
The specific embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail.
The hardware that technical solution of the present invention relates to comprises following two parts: game running host and game console.
In technical solution of the present invention, the initial data of the gyro sensor output that game console need be axial with at least one is transferred to game running host, does not participate in the analysis and the processing of data in whole process.Game console can be game paddle, mobile phone, mouse, remote controller etc. all can send the electronic equipment of desired signal.
All realizations of technical solution of the present invention are all carried out in game running host.Game running host can be that computer, special-purpose game host or other can move the equipment of interactive game.
The implementation method of gyro sensor of the present invention in interactive game adopts game running host and game console, and this game console comprises gyro sensor and acceleration transducer (see figure 1), and this method mainly comprises following step:
1. game running host receives the gyro sensor initial data that game console is passed back.This primary data information (pdi) should comprise an axial undressed gyro sensor signal at least.
2. game running host receives the acceleration transducer initial data that game console is passed back.This primary data information (pdi) should comprise an axial undressed acceleration transducer signals at least.Acceleration transducer is not necessary in technical solution of the present invention, but its existence can form complementation in some aspects with gyro sensor, improves the flexibility of analytical method, and make the game operation person obtains better game experiencing in interactive game.If comprise three acceleration transducer signals in the data that receive, then can be as required, to the angular speed that calculates or angular displacement in conjunction with the play games attitude updating of controller of 3-axis acceleration signal.
3. game running host is converted to angular speed or angular displacement with the gyro sensor initial data that receives by algorithm process.Can handle the individual difference and the ambient influnence of gyro sensor in the algorithm.This algorithm process comprises the filtering processing.
Below be the method that example specifies algorithm process with a kind of processing mode to the gyro sensor data, mainly comprise following a few part (do not adopt the calibration of 3-axis acceleration attitude, game console is example with the game paddle):
(1) under stable case, gathers the gyro sensor data as gyrostatic dead-center position.Under the situation that does not also obtain this dead-center position, in algorithm, adopt default value to replace.If the game paddle of current use is supported the data write-in functions, the current dead-center position that collects can be write game paddle.
(2) the gyro sensor data that collect are done filtering and handled, avoid the shake that some are trickle to import the calculation procedure of back into as far as possible.
(3) will compare through gyro sensor data and the dead-center position data that filtering is handled, the angular speed that the difference that draws can be used as game paddle uses.
(4) magnitude of angular velocity that obtains is added up, when accumulated value surpassed certain threshold value, angular displacement added a unit, simultaneously the accumulated value zero clearing.
(5) angular displacement that obtains this moment can use in interactive game.
4. according to the specific requirement of interactive game to action, in conjunction with the signals such as angular speed, angular displacement and acceleration that obtain, (analysis and processing method of before enumerating is a kind of in the practical application to the analysis mode that adopt to be fit to, be applicable under the occasion that need not the calibration of game paddle attitude and obtain the game paddle angular displacement), draw the result who needs.
Because each interactive game has different requirements to the action that the player did, existing is example with the golf game, describes embodiments of the present invention in detail.
It is preceding to the Position Control of club and the batting two parts that swing that the game action of golf mainly is divided into batting.
At first be before the batting to the Position Control of club, require to accomplish that game is done in club control action that the controller holder done and the recreation keeps strokes.The realization of this function needs axial gyro sensor data, and this axially should keep vertical with the action plane that swings, and can sense the axial rotary state of action to guarantee gyro sensor.Can be converted to angular displacement after the gyro sensor data process algorithm process (cited before processing method can be used for the motion analysis of golf) of gathering, thereby the club position in the recreation is controlled.
Next is that the action of the batting that swings is controlled, and when requiring to accomplish that the controller holder makes shot, game also should hit ball in the recreation.This function can realize on the basis of club Position Control function, when the club position surpasses striking point on the ball, can judge ball is hit that the strength of the batting comprehensively preceding club stop place of angle variable quantity, batting and the club stop place, batting back of square stance club is judged.
Can improve the experience effect of recreation below in analytic process, increasing aspect two: first, introduce with axially vertical axial of current gyro sensor on the gyro sensor signal, the process action that is used for detecting in batting has not inclined to one side to the left or to the right, reaction corresponding in recreation is to hit after the ball, the flight path of ball is inclined to one side to the left or to the right, if operator's action ten minutes standard in whole batting process, club flies according to normal route in the recreation so.The second, introduce acceleration transducer signals, as the auxiliary judgment foundation of striking force size.
Similar analysis mode can also apply to it in other game control such as baseball.

Claims (9)

1. the implementation method of a gyro sensor in interactive game is characterized in that, adopts game running host and game console, and described game console comprises gyro sensor, comprises the steps:
(1) game running host receives the gyro sensor initial data that game console is passed back;
(2) game running host is converted to angular speed or angular displacement with the gyro sensor initial data that receives by algorithm process;
(3) according to the specific requirement of interactive game to action, in conjunction with the angular speed or the angular displacement signal that obtain, adopt the analysis mode that is fit to, draw the result who needs.
2. the implementation method of gyro sensor as claimed in claim 1 in interactive game is characterized in that, primary data information (pdi) described in the step (1) should comprise an axial undressed gyro sensor signal at least.
3. the implementation method of gyro sensor as claimed in claim 1 or 2 in interactive game, it is characterized in that, described game console also comprises acceleration transducer, also comprises steps A between step (1) and step (2): game running host receives the acceleration transducer initial data that game console is passed back; Step (3) is according to the specific requirement of interactive game to action, in conjunction with the angular speed or angular displacement and the acceleration signal that obtain, adopts the analysis mode that is fit to, and draws the result who needs.
4. the implementation method of gyro sensor as claimed in claim 3 in interactive game is characterized in that, primary data information (pdi) described in the steps A should comprise an axial undressed acceleration transducer signals at least.
5. the implementation method of gyro sensor as claimed in claim 1 in interactive game is characterized in that, the described algorithm process of step (2) can be handled the individual difference and the ambient influnence of gyro sensor.
6. the implementation method in interactive game as claim 1 or 5 described gyro sensors is characterized in that: the described algorithm process of step (2) comprises that filtering handles.
7. the implementation method of gyro sensor as claimed in claim 3 in interactive game, it is characterized in that: if comprise three acceleration transducer signals in the data that game running host receives, then as required, to the angular speed that calculates or angular displacement in conjunction with the play games attitude updating of controller of 3-axis acceleration signal.
8. the implementation method of gyro sensor as claimed in claim 1 in interactive game is characterized in that, described game running host is the equipment of computer, special-purpose game host or other operation interactive game.
9. the implementation method of gyro sensor as claimed in claim 1 in interactive game is characterized in that, described game console is that all that comprise game paddle, mobile phone, mouse, remote controller can send the electronic equipment of desired signal.
CN 200910057181 2009-05-06 2009-05-06 Realization method for gyro sensor in interactive games Pending CN101879376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910057181 CN101879376A (en) 2009-05-06 2009-05-06 Realization method for gyro sensor in interactive games

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910057181 CN101879376A (en) 2009-05-06 2009-05-06 Realization method for gyro sensor in interactive games

Publications (1)

Publication Number Publication Date
CN101879376A true CN101879376A (en) 2010-11-10

Family

ID=43051590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910057181 Pending CN101879376A (en) 2009-05-06 2009-05-06 Realization method for gyro sensor in interactive games

Country Status (1)

Country Link
CN (1) CN101879376A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710877A (en) * 2012-06-05 2012-10-03 深圳Tcl新技术有限公司 Mobile terminal external control method, mobile terminal and system
CN103123587A (en) * 2012-05-03 2013-05-29 张伟明 Information processing terminal and processing method thereof
CN103873500A (en) * 2012-12-12 2014-06-18 腾讯科技(深圳)有限公司 Application control method, terminal and system based on mobile terminal sensor
CN105396287A (en) * 2015-12-23 2016-03-16 北京联联看科技有限公司 Billiard game control method and system
CN105413172A (en) * 2015-11-16 2016-03-23 北京联联看科技有限公司 Billiards game control method and billiards game device
CN108159685A (en) * 2017-12-08 2018-06-15 上海感悟通信科技有限公司 Virtual sort of rocker control method and system and its medium and equipment based on gyroscope
CN108744493A (en) * 2018-06-11 2018-11-06 四川长虹网络科技有限责任公司 shooting game control device, system and method
CN115738232A (en) * 2022-11-10 2023-03-07 广州小鸡快跑网络科技有限公司 Game paddle calibration test method and system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103123587A (en) * 2012-05-03 2013-05-29 张伟明 Information processing terminal and processing method thereof
CN102710877A (en) * 2012-06-05 2012-10-03 深圳Tcl新技术有限公司 Mobile terminal external control method, mobile terminal and system
CN102710877B (en) * 2012-06-05 2015-08-19 深圳Tcl新技术有限公司 The external control method of mobile terminal, mobile terminal and system
CN103873500A (en) * 2012-12-12 2014-06-18 腾讯科技(深圳)有限公司 Application control method, terminal and system based on mobile terminal sensor
CN105413172B (en) * 2015-11-16 2018-12-28 北京联联看科技有限公司 Game of billiards control method and billiards playing device
CN105413172A (en) * 2015-11-16 2016-03-23 北京联联看科技有限公司 Billiards game control method and billiards game device
CN105396287B (en) * 2015-12-23 2018-08-03 北京联联看科技有限公司 Game of billiards control method and system
CN105396287A (en) * 2015-12-23 2016-03-16 北京联联看科技有限公司 Billiard game control method and system
CN108159685A (en) * 2017-12-08 2018-06-15 上海感悟通信科技有限公司 Virtual sort of rocker control method and system and its medium and equipment based on gyroscope
CN108159685B (en) * 2017-12-08 2020-09-22 上海感悟通信科技有限公司 Virtual rocker control method and system based on gyroscope, medium and equipment thereof
CN108744493A (en) * 2018-06-11 2018-11-06 四川长虹网络科技有限责任公司 shooting game control device, system and method
CN115738232A (en) * 2022-11-10 2023-03-07 广州小鸡快跑网络科技有限公司 Game paddle calibration test method and system
CN115738232B (en) * 2022-11-10 2024-05-07 广州小鸡快跑网络科技有限公司 Game paddle calibration test method and system

Similar Documents

Publication Publication Date Title
CN101879376A (en) Realization method for gyro sensor in interactive games
US8781610B2 (en) Method of ball game motion recognition, apparatus for the same, and motion assisting device
CN103076884B (en) Data acquisition method and data acquisition device for motion recognition, and motion recognition system
CN105797319B (en) A kind of badminton data processing method and device
JP4151982B2 (en) Motion discrimination device and motion discrimination program
JP4202366B2 (en) Motion discrimination device and motion discrimination program
US20150018111A1 (en) Interpretation of characteristics of a golf swing using motion analysis
CN102671376B (en) Information processing system and information processing method
JP2019535347A (en) Method and system for using sensor of control device for game control
CN102667672A (en) Acceleration motion identify method and system thereof
US20190108391A1 (en) Information processing device, information processing method, and program
CN205198892U (en) Intelligence training football controller
WO2017005130A1 (en) Method and device for measuring energy used by human body during exercise, and pedometer
JP2013027458A (en) Information processing apparatus, information processing method, and program
CN104645585A (en) Motion analyzing method and motion analyzing apparatus
CN101648076A (en) Game controller and motion capture method using gyroscope
Cho et al. Motion recognition with smart phone embedded 3-axis accelerometer sensor
CN107454970A (en) A kind of System and method for of movement locus collection and analysis based on ball game
CN104958897A (en) Movement track and movement speed collecting device and system
CN204767336U (en) Movement track and velocity of movement collection system and system
CN101788851A (en) Method and system for simulating motion of handle
CN113041587B (en) Method and device for acquiring ping-pong ball hitting track based on induction table top and racket surface, computer equipment and storage medium
CN205598586U (en) Basketball training device based on AR technique
Zhang et al. Wrist MEMS sensor for movements recognition in ball games
US20160296820A1 (en) Motion supporting device, motion supporting system, motion supporting method, and storage medium

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: 20101110