CN102861432A - Game equipment force feedback system - Google Patents

Game equipment force feedback system Download PDF

Info

Publication number
CN102861432A
CN102861432A CN2012103195962A CN201210319596A CN102861432A CN 102861432 A CN102861432 A CN 102861432A CN 2012103195962 A CN2012103195962 A CN 2012103195962A CN 201210319596 A CN201210319596 A CN 201210319596A CN 102861432 A CN102861432 A CN 102861432A
Authority
CN
China
Prior art keywords
direct current
current generator
stm32f102
encoding unit
drive plate
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
CN2012103195962A
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.)
Shanghai Jiuyu Network Technology Co Ltd
Original Assignee
Shanghai Jiuyu Network Technology 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 Shanghai Jiuyu Network Technology Co Ltd filed Critical Shanghai Jiuyu Network Technology Co Ltd
Priority to CN2012103195962A priority Critical patent/CN102861432A/en
Publication of CN102861432A publication Critical patent/CN102861432A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

The invention relates to the technical field of electronics, in particular to a game equipment force feedback system. The game equipment force feedback system comprises an upper computer, a driving board, a direct current motor and an electronic coder, wherein the upper computer is connected with a universal serial bus (USB) interface of the driving board; a motor driving interface of the driving board is connected with the direct current motor; a coder interface of the driving board is connected with the electronic coder; and the direct current motor is coaxially connected with the electronic coder. Compared with the prior art, the game equipment force feedback system has the advantages that the structures of the direct current motor, the electronic coder and the driving board are adopted, so that the driving board receives the information of the upper computer and controls the direct current motor to rotate by virtue of a pulse width modulation (PWM) waveform, and the driving board receives and positions a coordinate value generated by the electronic coder, so that the force feedback system is easy to control, accurate to position and low in cost.

Description

The game station force feedback system
Technical field
The present invention relates to electronic technology field, specifically a kind of game station force feedback system.
Background technology
At present, existing force feedback realizes by AC servo motor or theory of mechanics mostly.The AC servo motor shortcoming is that cost is high, the control more complicated, and drive parameter needs on-the-spot pid parameter to set, and needs more lines; Mechanical type force feedback shortcoming is that cost is too high, and manufacturing process is complicated.Therefore, a kind of game station force feedback system of controlling simple and accurate positioning of design is vital.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, a kind of game station force feedback system of controlling simple and accurate positioning is provided.
In order to achieve the above object, the present invention has designed a kind of game station force feedback system, comprise host computer, it is characterized in that: the game station force feedback system comprises host computer, drive plate, direct current generator and Lineside encoding unit, host computer is connected with the USB interface of drive plate, the motor-driven interface of drive plate is connected with direct current generator, and the encoder interfaces of drive plate is connected with Lineside encoding unit, and direct current generator is connected with Lineside encoding unit is coaxial; Described drive plate is divided into control section and drive part, be provided with optocoupler one and optocoupler two between control section and the drive part, described control section comprises 5V power interface, control chip STM32F102 and USB interface, the 5V power interface is connected with the power end of control chip STM32F102, control chip STM32F102 is connected with USB interface, the input of control chip STM32F102 is connected with the output of optocoupler one, and the output of control chip STM32F102 is connected with the input of optocoupler two; Described drive part comprises 5V power interface, 48V power interface, encoder interfaces, driving chip, drive axle and motor-driven interface, the 5V power interface is connected with the power end of encoder interfaces and driving chip respectively, the 48V power interface is connected with the power end of drive axle, the output of encoder interfaces is connected with the input of optocoupler one, the output of optocoupler two is connected with the input that drives chip, the output that drives chip is connected with the input of drive axle, and the output of drive axle is connected with the input of motor-driven interface.
Described game station force feedback system is finished following steps successively: step 1, system initialization; Step 2, control chip STM32F102 determines direct current generator limit coordinate and controls direct current generator and get back to the centre position; Step 3, host computer send to action command the control chip STM32F102 of drive plate; Step 4, control chip STM32F102 has judged whether action request, if action request is arranged, then proceeds step 5, if there is not action request, then proceeds step 7; Step 5, the coordinate figure that Lineside encoding unit generates sends to host computer by drive plate; Step 6, host computer sends to order the control chip STM32F102 of drive plate, control chip STM32F102 sends to the driving chip with the control signal of 0-5V, the control signal of 0-5V is amplified to the driving signal of 0-48V by the driving chip, the drive direct current generator motion of 0-48V; Step 7, the parameter that control chip STM32F102 will be contained motor force feedback levels and positional information mails to host computer.
Adopt respectively pulse width modulation (PWM) _ A circuit and pulse width modulation (PWM) _ B connection between described drive plate and the described direct current generator; Be normal pulse-width modulation output if pulse width modulation (PWM) _ A circuit is low level output, pulse width modulation (PWM) _ B circuit, direct current generator forward then; If pulse width modulation (PWM) _ A circuit is that normal pulse-width modulation output, pulse width modulation (PWM) _ B circuit are low level output, then direct current generator counter-rotating.
Described Lineside encoding unit adopts the increment type orthogonal encoder of 1000 pulses of ABZ three phase places, and described Lineside encoding unit is finished following steps successively when the coordinate figure that generates: step 1, and Lineside encoding unit initializes; Step 2, direct current generator are clockwise to right limit, and Lineside encoding unit is determined minimum code value Pmin, and minimum code value Pmin respective coordinates is 100; Step 3, direct current generator rotate counterclockwise to left limit, and Lineside encoding unit is determined maximum Pmax, and maximum code value Pmax respective coordinates is 1000; Step 4, direct current generator forwards the optional position to, and Lineside encoding unit obtains code value P; Step 5 is passed through computing formula: A=(1000-100) * P/(Pmax-Pmin) converse the corresponding coordinate figure A of code value P; Step 6 is transferred to drive plate with coordinate figure A by encoder interfaces, and drive plate sends to host computer with the coordinate figure A that receives by USB interface, returns step 4 after finishing and proceeds.
The present invention compares with prior art, adopt the structure of direct current generator, Lineside encoding unit and drive plate, the information that makes drive plate receive host computer is also rotated by pulse width modulation (PWM) Waveform Control direct current generator, drive plate receives the coordinate figure that Lineside encoding unit generates and also positions, thereby makes that force feedback system control is simple, accurate positioning, cost be low.
Description of drawings
Fig. 1 is structural representation of the present invention.
Fig. 2 is the structural representation of drive plate of the present invention.
Fig. 3 is workflow diagram of the present invention.
Fig. 4 is the workflow diagram of Lineside encoding unit of the present invention.
The specific embodiment
Now by reference to the accompanying drawings the present invention is described further.
Referring to Fig. 1, the present invention has designed a kind of game station force feedback system, comprises host computer.The game station force feedback system comprises host computer, drive plate, direct current generator and Lineside encoding unit, host computer is connected with the USB interface of drive plate, the motor-driven interface of drive plate is connected with direct current generator, the encoder interfaces of drive plate is connected with Lineside encoding unit, and direct current generator is connected with Lineside encoding unit is coaxial.Wherein, host computer is PC or industrial main frame.Adopt belt to be connected between the axle of the axle of direct current generator and game station steering wheel.
The present invention adopts direct current generator to be because the direct current generator cost is low, fast response time, and noise is little and power is large, cooperates Lineside encoding unit can realize accurate location.
Referring to Fig. 2, drive plate is divided into control section and drive part.Because rotating, direct current generator can produce electromotive force, especially when having the human hand to stir steering wheel to make the direct current generator backwards rotation, electromotive force is larger, electromotive force can affect control chip STM32F102, and to the very large interference of Lineside encoding unit generation, cause Lineside encoding unit to produce and leak the code situation, thereby cause the location just inaccurate.So the present invention has established optocoupler one and optocoupler two between drive plate control section and drive part, the electromotive force that direct current generator is produced can't interfere with the drive plate control section.Control section comprises 5V power interface, control chip STM32F102 and USB interface, the 5V power interface is connected with the power end of control chip STM32F102, control chip STM32F102 is connected with USB interface, the input of control chip STM32F102 is connected with the output of optocoupler one, and the output of control chip STM32F102 is connected with the input of optocoupler two; Drive part comprises 5V power interface, 48V power interface, encoder interfaces, driving chip, drive axle and motor-driven interface, the 5V power interface is connected with the power end of encoder interfaces and driving chip respectively, the 48V power interface is connected with the power end of drive axle, the output of encoder interfaces is connected with the input of optocoupler one, the output of optocoupler two is connected with the input that drives chip, the output that drives chip is connected with the input of drive axle, and the output of drive axle is connected with the input of motor-driven interface.
Referring to Fig. 2, adopt respectively pulse width modulation (PWM) _ A circuit and pulse width modulation (PWM) _ B connection between drive plate and the direct current generator; Be normal pulse-width modulation output if pulse width modulation (PWM) _ A circuit is low level output, pulse width modulation (PWM) _ B circuit, direct current generator forward then; If pulse width modulation (PWM) _ A circuit is that normal pulse-width modulation output, pulse width modulation (PWM) _ B circuit are low level output, then direct current generator counter-rotating.
Referring to Fig. 3, the game station force feedback system is finished following steps successively: step 1, system initialization; Step 2, control chip STM32F102 determines direct current generator limit coordinate and controls direct current generator and get back to the centre position; Step 3, host computer send to action command the control chip STM32F102 of drive plate; Step 4, control chip STM32F102 has judged whether action request, if action request is arranged, then proceeds step 5, if there is not action request, then proceeds step 7; Step 5, the coordinate figure that Lineside encoding unit generates sends to host computer by drive plate; Step 6, host computer sends to order the control chip STM32F102 of drive plate, control chip STM32F102 sends to the driving chip with the control signal of 0-5V, the control signal of 0-5V is amplified to the driving signal of 0-48V by the driving chip, the drive direct current generator motion of 0-48V; Step 7, the parameter that control chip STM32F102 will contain motor force feedback levels and positional information mails to host computer.
Referring to Fig. 4, Lineside encoding unit adopts the increment type orthogonal encoder of 1000 pulses of ABZ three phase places, and this Lineside encoding unit can not limit the slewing area of direct current generator, and the signal antijamming capability is strong, can position direct current generator in real time.Lineside encoding unit is finished following steps successively when the coordinate figure that generates: step 1, and Lineside encoding unit initializes; Step 2, direct current generator are clockwise to right limit, and Lineside encoding unit is determined minimum code value Pmin, and minimum code value Pmin respective coordinates is 100; Step 3, direct current generator rotate counterclockwise to left limit, and Lineside encoding unit is determined maximum Pmax, and maximum code value Pmax respective coordinates is 1000; Step 4, direct current generator forwards the optional position to, and Lineside encoding unit obtains code value P; Step 5 is passed through computing formula: A=(1000-100) * P/(Pmax-Pmin) converse the corresponding coordinate figure A of code value P; Step 6 is transferred to drive plate with coordinate figure A by encoder interfaces, and drive plate sends to host computer with the coordinate figure A that receives by USB interface, returns step 4 after finishing and proceeds.

Claims (4)

1. game station force feedback system, comprise host computer, it is characterized in that: the game station force feedback system comprises host computer, drive plate, direct current generator and Lineside encoding unit, host computer is connected with the USB interface of drive plate, the motor-driven interface of drive plate is connected with direct current generator, the encoder interfaces of drive plate is connected with Lineside encoding unit, and direct current generator is connected with Lineside encoding unit is coaxial; Described drive plate is divided into control section and drive part, be provided with optocoupler one and optocoupler two between control section and the drive part, described control section comprises 5V power interface, control chip STM32F102 and USB interface, the 5V power interface is connected with the power end of control chip STM32F102, control chip STM32F102 is connected with USB interface, the input of control chip STM32F102 is connected with the output of optocoupler one, and the output of control chip STM32F102 is connected with the input of optocoupler two; Described drive part comprises 5V power interface, 48V power interface, encoder interfaces, driving chip, drive axle and motor-driven interface, the 5V power interface is connected with the power end of encoder interfaces and driving chip respectively, the 48V power interface is connected with the power end of drive axle, the output of encoder interfaces is connected with the input of optocoupler one, the output of optocoupler two is connected with the input that drives chip, the output that drives chip is connected with the input of drive axle, and the output of drive axle is connected with the input of motor-driven interface.
2. a kind of game station force feedback system according to claim 1, it is characterized in that: described game station force feedback system is finished following steps successively: step 1, system initialization; Step 2, control chip STM32F102 determines direct current generator limit coordinate and controls direct current generator and get back to the centre position; Step 3, host computer send to action command the control chip STM32F102 of drive plate; Step 4, control chip STM32F102 has judged whether action request, if action request is arranged, then proceeds step 5, if there is not action request, then proceeds step 7; Step 5, the coordinate figure that Lineside encoding unit generates sends to host computer by drive plate; Step 6, host computer sends to order the control chip STM32F102 of drive plate, control chip STM32F102 sends to the driving chip with the control signal of 0-5V, the control signal of 0-5V is amplified to the driving signal of 0-48V by the driving chip, the drive direct current generator motion of 0-48V; Step 7, the parameter that control chip STM32F102 will contain motor force feedback levels and positional information mails to host computer.
3. a kind of game station force feedback system according to claim 1 is characterized in that: adopt respectively pulse width modulation (PWM) _ A circuit and pulse width modulation (PWM) _ B connection between described drive plate and the described direct current generator; Be normal pulse-width modulation output if pulse width modulation (PWM) _ A circuit is low level output, pulse width modulation (PWM) _ B circuit, direct current generator forward then; If pulse width modulation (PWM) _ A circuit is that normal pulse-width modulation output, pulse width modulation (PWM) _ B circuit are low level output, then direct current generator counter-rotating.
4. a kind of game station force feedback system according to claim 1, it is characterized in that: described Lineside encoding unit adopts the increment type orthogonal encoder of 1000 pulses of ABZ three phase places, described Lineside encoding unit is finished following steps successively when the coordinate figure that generates: step 1, and Lineside encoding unit initializes; Step 2, direct current generator are clockwise to right limit, and Lineside encoding unit is determined minimum code value Pmin, and minimum code value Pmin respective coordinates is 100; Step 3, direct current generator rotate counterclockwise to left limit, and Lineside encoding unit is determined maximum Pmax, and maximum code value Pmax respective coordinates is 1000; Step 4, direct current generator forwards the optional position to, and Lineside encoding unit obtains code value P; Step 5 is passed through computing formula: A=(1000-100) * P/(Pmax-Pmin) converse the corresponding coordinate figure A of code value P; Step 6 is transferred to drive plate with coordinate figure A by encoder interfaces, and drive plate sends to host computer with the coordinate figure A that receives by USB interface, returns step 4 after finishing and proceeds.
CN2012103195962A 2012-08-31 2012-08-31 Game equipment force feedback system Pending CN102861432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103195962A CN102861432A (en) 2012-08-31 2012-08-31 Game equipment force feedback system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103195962A CN102861432A (en) 2012-08-31 2012-08-31 Game equipment force feedback system

Publications (1)

Publication Number Publication Date
CN102861432A true CN102861432A (en) 2013-01-09

Family

ID=47440734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103195962A Pending CN102861432A (en) 2012-08-31 2012-08-31 Game equipment force feedback system

Country Status (1)

Country Link
CN (1) CN102861432A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1178996A (en) * 1996-10-01 1998-04-15 索尼计算机娱乐公司 Game computer control assembly and game computer
JPH119838A (en) * 1997-06-27 1999-01-19 Mitsumi Electric Co Ltd Computer game controller
JP2004033371A (en) * 2002-07-01 2004-02-05 Alps Electric Co Ltd Controller for game machine
CN101801480A (en) * 2007-09-20 2010-08-11 皇家飞利浦电子股份有限公司 The feedback device that is used to play
CN201832408U (en) * 2010-06-10 2011-05-18 文韬 Electronic game force feedback device
CN202762068U (en) * 2012-08-31 2013-03-06 上海久娱网络科技有限公司 Improved game equipment force feedback device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1178996A (en) * 1996-10-01 1998-04-15 索尼计算机娱乐公司 Game computer control assembly and game computer
JPH119838A (en) * 1997-06-27 1999-01-19 Mitsumi Electric Co Ltd Computer game controller
JP2004033371A (en) * 2002-07-01 2004-02-05 Alps Electric Co Ltd Controller for game machine
CN101801480A (en) * 2007-09-20 2010-08-11 皇家飞利浦电子股份有限公司 The feedback device that is used to play
CN201832408U (en) * 2010-06-10 2011-05-18 文韬 Electronic game force feedback device
CN202762068U (en) * 2012-08-31 2013-03-06 上海久娱网络科技有限公司 Improved game equipment force feedback device

Similar Documents

Publication Publication Date Title
CN201689302U (en) Integrated intelligent servo driver
CN202957785U (en) Digital controller for steering engine
CN104102232B (en) Harmonic drive speed reduction-based small-sized servo positioning turntable
CN203725983U (en) Laser welding machine with four-shaft moving control and interpolation functions
CN107632701A (en) A kind of control method of man-machine interaction virtual training force feedback parameter
CN203608018U (en) Swing driving device taking magnet and Hall sensor as detection elements
CN102830644B (en) Five-axis high-speed dispensing robot servo control system
CN206878730U (en) motor driver
CN202762068U (en) Improved game equipment force feedback device
CN204036852U (en) A kind of 3D printer controller
CN203588023U (en) Electric servo mechanism based on ARM controller
CN106003051A (en) FPGA-based seven-freedom-degree force feedback master manipulator control system
CN101806886A (en) Special servo system for radar system
CN102861432A (en) Game equipment force feedback system
CN103399515A (en) Point location motion controller
CN203119827U (en) Microprogrammed control unit based brushless direct-current motor controller
CN203324763U (en) Multi-axis motion controller
CN205832497U (en) A kind of gymnastics special steering wheel of band position feedback
CN202837919U (en) Five-axis high speed adhesive dispensing robot servo control system
CN205343149U (en) Manipulator wireless control system based on discernment is felt to body
CN201355393Y (en) Single-purpose servo circuit of radar system
CN201489364U (en) Robot movement platform based on Bluetooth and embedded system
CN203027182U (en) Controller of direct-current servo motors
CN208623572U (en) One kind is from closed-loop motor driver
CN202837535U (en) Single-purpose servo circuit of radar 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: 20130109