Design and Implementation of Adaptive Neuro-fuzzy Exergame Controller

Document Type : Original Articles


1 Student, Department of Electrical Engineering (Control), School of Electrical and Computer Engineering, Isfahan University of Technology, Isfahan, Iran

2 Student, Department of Electrical Engineering (Electronics), School of Electrical and Computer Engineering, Isfahan University of Technology, Isfahan, Iran

3 Assistant Professor, Department of Biomedical Engineering, School of Engineering, University of Isfahan, Isfahan, Iran

4 Associate Professor, Department of Electrical Engineering (Control), School of Electrical and Computer Engineering, Isfahan University of Technology, Isfahan, Iran



Introduction: Due to sedentary postures caused by video games, many health-related issues have occurred among players. One practical solution for dealing with the aforementioned problem is to come up with game controllers which promote physical exercises. In this study, an adaptive neuro-fuzzy exergame controller was introduced.Materials and Methods: During the training stage, the parameters of the fuzzy logic’s member functions were fine-tuned. By calculating a gradient vector and by applying backpropagation, the aforementioned parameters were updated using the measured error. The controller was made of four pads, each containing a resistor and a pushbutton, which were connected to a microcontroller. In order to improve the user experience, an adaptive neuro-fuzzy logic system was used to analyze the gathered data from the controller.Results: A pure fuzzy logic system (FLS) cannot provide an acceptable playing experience for players of different ages and physical characteristics. The received signal from the controller was sent to a fine-tuned FLS. The calculated output of the previously trained FLS was one of the defined classes of “ignore”, “press”, and “hold”, which was sent as a command to the main computer.Conclusion: In the proposed method, the FLS was fine-tuned by gathering data from the user, which improved the performance of the controller due to the fact that the controller was trained to best suit the needs of the user. The gathered data was then used to change the parameters of the FLS to provide an acceptable playing experience for the user.


  1. Calvert SL, Staiano AE, Bond BJ. Electronic gaming and the obesity crisis. New Dir Child Adolesc Dev 2013; 2013(139): 51-7.
  2. Oh Y, Yang S. Defining exergames and exergaming. Proceddings of the Meaningful Play 2010; 2010 Oct 21-23; East Lansing, MI, USA.
  3. Peng W, Lin JH, Crouse J. Is playing exergames really exercising? A meta-analysis of energy expenditure in active video games. Cyberpsychol Behav Soc Netw 2011; 14(11): 681-8.
  4. Ameryoun A, Sanaeinasab H, Saffari M, Koenig HG. Impact of game-based health promotion programs on body mass index in overweight/obese children and adolescents: A systematic review and meta-analysis of randomized controlled Trials. Child Obes 2018; 14(2): 67-80.
  5. Parry I, Carbullido C, Kawada J, Bagley A, Sen S, Greenhalgh D, et al. Keeping up with video game technology: Objective analysis of Xbox Kinect and PlayStation 3 Move for use in burn rehabilitation. Burns 2014; 40(5): 852-9.
  6. Levenberg G, Levenberg G, Klitsner D. Interactive video game controller adapter [Patent]. (Publication of US6811491B1). 2004.
  7. Sinclair J, Hingston PF, Masek M. Considerations for the design of exergames. Proceedings of the 5th International Conference on Computer Graphics and Interactive Techniques in Australia and Southeast Asia; 2007 Dec 1-4; Perth, Australia. p. 289–95.
  8. Trout J, Zamora K. Using dance dance revolution in physical education. Teaching Elementary Physical Education 2005; 16(5): 22-5.
  9. Zhang Z. Microsoft kinect sensor and its effect. IEEE Multimedia 2012; 19(2): 4-10.
  10. Microsoft. PrimeSense Supplies 3-D-Sensing Technology to "Project Natal" for Xbox 360. 2010.
  11. Benzing V, Schmidt M. Exergaming for children and adolescents: Strengths, weaknesses, opportunities and threats. J Clin Med 2018; 7(11): E422.
  12. Wang LX. A course in fuzzy systems and control. Upper Saddle River, NJ: Prentice Hall PTR; 1997.
  13. Roychowdhury S, Pedrycz W. A survey of defuzzification strategies. Int J Intell Syst 2001; 16(6): 679-95.
  14. Zadeh LA. Fuzzy logic. Computer 1988; 21(4): 83-93.
  15. Hellendoorn H. The generalized modus ponens considered as a fuzzy relation. Fuzzy Set Syst 1992; 46(1): 29-48.
  16. Terano T, Asai K, Sugeno M. Fuzzy Systems Theory and Its Applications. San Diego, CA: Academic Press; 1992.
  17. Mathworks. Mamdani and Sugeno Fuzzy Inference Systems [Online]. [cited 2019 Nov]; Available from: URL:
  18. Ram M. Advanced fuzzy logic approaches in engineering science. Hershey, PA: IGI Global Publisher; 2018.
  19. Mathworks. Neuro-Adaptive Learning and ANFIS [Online]. [cited 2019]; Available from: URL:
  20. Hastie T, Tibshirani R, Friedman JH. The elements of statistical learning: Data mining, inference, and prediction. New York, NY: Springer; 2009.
  21. Bishop CM. Pattern recognition and machine learning. New York, NY: Springer; 2016.
  22. Guo R, Quarles J. Converting sedentary games to exergames: A case study with a car racing game. Proceedings of the 5th International Conference on Games and Virtual Worlds for Serious Applications (VS-GAMES); 2013 Sep 11-13; Poole, UK. p. 1-8.
  23. Maillot P, Perrot A, Hartley A, Do MC. The braking force in walking: age-related differences and improvement in older adults with exergame training. J Aging Phys Act 2014; 22(4): 518-26.