The physical health of young people has the great significance to the development of country and individuals.In order to promote students to participate in physical exercise,Chinese students in school have to carry out various sports tests every school year.800/1000 meters middle-and long-distance race is the only one that reflects endurance quality.At present,many schools usually use stopwatch timing,which is prone to errors and waste time and energy.A few schools use timekeeping equipment based on RFID.This kind of equipment is mostly used in marathons and other competitions,which is different from the timing precision required in the 800/1000 meter race test on campus.The process of uploading data is tedious,and there will be problems such as data loss and low utilization rate of equipment.This paper compares the characteristics and limitations of several methods of sports timing.According to the requirements of 800/1000 meters middle-and long-distance running test in schools,a set of automatic timing system for middle and long distance running based on RFID is designed.The system includes three parts: the main controller,the timing terminal and the upper computer.The system has the features of identifying students' identity by swiping campus cards,automatic timing,multi-point timing,saving and displaying the score,uploading scores to database by wireless communication,querying and managing scores through man-machine interface.The main controller controls the whole middle-and long-distance running.On the hardware side,this paper designs the circuit of the swipe card module,RFID module,display module,storage module,Lora module,power module.It also completed the physical production of related circuit boards through Altium Designer software.On the software side,Keil MDK software is used to complete the program design of each module.Timing terminal achieves timing function.RFID is used to identify whether the students have reached the end point.Lora is used to realize the communication between the main controller and multiple timing terminals.And set the communication protocol between the timing terminal and the main controller.Aiming at the problem of data statistics in traditional timing methods,the methods of data upload and statistics has been improved.In the upper computer part,PostgreSQL database management software is used to realize the statistics and management of students' running score.LabVIEW software is used to design the manmachine interface of the upper computer,which is convenient for managers to inquire about running results.The interconnection between man-machine interface and database is realized through Open Database Connectivity.This paper has carried on the communication distance and running time of the system,and compared with the traditional timing method.Comparing with the traditional running timing method,the system designed in this paper achieves multipoint timing,simplifies the process of uploading data,reduces labor,shortens the time.and improves the efficiency of middle-and long-distance running test.It is suitable for physical fitness test of middle-and long-distance race in schools. |