A method, device and readable storage medium for collecting long-distance running data of intelligent body
Through the intelligent physical test long-distance running data collection method, running data is collected and calculated in real time and scores are automatically recorded, which solves the problems of uneven distances and inaccurate grades in the running test, and efficient and accurate score recording is achieved.
Patent Information
- Application Number
- CN202310191593.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-02
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2043-03-02
AI Technical Summary
During the running test, due to the arc-shaped area of the playground, students in the inner and outer circles have uneven running distances, causing the inner lanes to be crowded and the outside lanes to be empty, the score records are inaccurate, and relying on the invigilator to make mistakes in artificial timing.
The data collection method of intelligent body measurement and long-distance running is collected in real time by collecting tester running data, pre-processing and fitting of mathematical models, calculating the total running distance in real time, automatically recording the scores, and uploading and publicizing data through electronic devices and readable storage media.
It solved the problems of crowding and inaccurate grades caused by uneven distances during running tests, improved the use of playground space, reduced the risk of students falling, and achieved automated and accurate grade records.
Smart Images

Figure CN116392780B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent physical fitness test, and in particular relates to a method for collecting long-distance running data of intelligent physical fitness test, an electronic device and a readable storage medium. Background Art
[0002] At present, most tests are performed by the invigilator asking the students to run a fixed number of laps around the designated playground for timing, and then recording the results to obtain the corresponding physical fitness data of the students. However, when running, due to the arc area of the playground itself, when the students in the inner and outer circles are tested for the same number of laps, the students in the outer circle need to run more distance, and the students in the physical test often squeeze into the inner lane, causing the inner lane to be crowded and the outer lane to be empty, which can easily cause students to fall, poor playground space utilization, and also lead to inaccurate final record results for the students in the outer circle. Furthermore, the invigilator's manual monitoring with a stopwatch can easily confuse the scores of each student, resulting in serious errors in the students' scores. Summary of the invention
[0003] In order to solve the technical problems that during the running test, the inner lane of the running track is crowded while the outer lane is empty, which may easily cause students to fall, and the utilization rate of the playground space is poor, which may also lead to inaccurate final record results of the outer circle students, and the manual monitoring by the invigilator using the stopwatch may easily confuse the scores of each student, resulting in serious errors in the students' scores, the present invention provides a method for collecting intelligent physical test long-distance running data, an electronic device and a readable storage medium.
[0004] First aspect
[0005] The present invention provides a method for collecting long-distance running data of an intelligent body, comprising:
[0006] S1: collecting the running data of the tester in real time during the running process, wherein the running data includes the instantaneous angle, time and the distance between the collecting device and the base station, and preprocessing the collected running data through a mathematical model;
[0007] S2: Calculating the total running distance of the tester in real time through a total running distance mathematical model according to the pre-processed running data;
[0008] S3: judging whether the tester has completed the assessment content according to the total running distance calculated in real time, and stopping the timing and recording the tester's running results if the tester has completed the assessment content;
[0009] S4: Upload the tester's running results to the overall system, generate an analysis report, and publicly display the tester's running results and the corresponding analysis report.
[0010] Furthermore, the S1 specifically includes:
[0011] S101: Real-time collection of the tester’s instantaneous angle during running θ ,time t , the distance between the acquisition device and the base station l ;
[0012] S102: Calculate the instantaneous angular velocity of the test according to the mathematical model dω and instantaneous speed dv :
[0013]
[0014]
[0015] in, dω To select the data reporting frequency f After that, the instantaneous angular velocity of the tester at each data report is dv is the instantaneous speed. Considering that the change in the distance between the tester and the base station can be ignored within a single reporting time, it can be defined as l is the average distance within a single return time;
[0016] S103: Take instantaneous speed as an input parameter, time t As another parameter, a scatter plot of speed and time is displayed in real time;
[0017] S104: Perform function fitting on the scatter plot according to the fitting algorithm to form a curve of speed and time in real time v ( t ).
[0018] Furthermore, the calculation formula of the total running distance mathematical model is:
[0019]
[0020] in, f -1 The time interval between two data collections.
[0021] Furthermore, the reporting frequency f It is a fixed frequency or the tester's footstep frequency.
[0022] Furthermore, the S2 is specifically:
[0023] In a single reporting time, after the statistics are collected, the data is transmitted to the total running distance mathematical model for calculation. The total running distance mathematical model is calculated once after each reporting data and outputs the total running distance of the tester.
[0024] Furthermore, the S3 is specifically:
[0025] When the total running distance is less than the test requirement, S1 and S2 are executed again until the total running distance is greater than or equal to the test requirement, and then the operation is stopped.
[0026] Furthermore, the reporting frequency f is the footstep frequency of the tester, and the method for determining the footstep frequency of the tester is:
[0027] Obtain the modulus value of the three-axis acceleration sensor to reduce the impact of other factors on the acceleration signal:
[0028]
[0029] in, is the three-axis acceleration signal, Ac To obtain the modulus signal;
[0030] The calculated modulus signal is bandpass filtered:
[0031]
[0032] in, x is the data before filtering, y is the filtered data, b m and c k is the number of system groups of the denominator and numerator of the digital filter system function after the analog filter is bilinearly transformed, is the serial number, M is the number of molecular groups, N is the number of denominator groups;
[0033] Fast Fourier transform is used to convert the acceleration signal in the time domain to the frequency domain to obtain the energy spectrum of each frequency component. The spectrum diagram is analyzed to obtain b m and c k ;
[0034] The distance between two peaks in the processed spectrum represents one step, and the interval between adjacent peaks is the time taken for one step, which is the inverse of the step frequency;
[0035] The interval between adjacent peaks can be obtained by using the sampling frequency and the total number of samples between peaks, and then the step frequency can be calculated:
[0036]
[0037] in, H is the sampling frequency, Nis the number of samples between adjacent peaks in this gait cycle, is the time interval between two peaks, F is the cadence of this gait.
[0038] Second aspect
[0039] The present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and is characterized in that the processor implements the steps of the acquisition method described in the first aspect when executing the computer program.
[0040] The third aspect
[0041] The present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the acquisition method described in the first aspect are implemented.
[0042] Compared with the prior art, the present invention has at least the following beneficial technical effects:
[0043] In the present invention, the running data of the tester during the running process is collected in real time, the total running distance is calculated synchronously, and the timing is stopped when the tester completes the assessment content, and the running results of the tester are automatically recorded. During the running test, the tester does not need to use the inner lane to reduce the running distance, reduce the congestion of the inner lane, reduce the risk of students falling, and improve the utilization rate of the playground space. There is no need for the invigilator to perform manual monitoring by using a stopwatch, and the accuracy of the running results can be guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.
[0045] Figure 1 It is a flow chart of a method for collecting long-distance running data of an intelligent body provided by the present invention;
[0046] Figure 2 It is a data fitting schematic diagram provided by the present invention;
[0047] Figure 3 It is a structural schematic diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0049] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".
[0050] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0051] In this document, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0052] In addition, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance. Example
[0053] refer to Figure 1 , Figure 1 A schematic flow chart of a method for collecting long-distance running data of an intelligent body provided by the present invention is shown.
[0054] The present invention provides a method for collecting long-distance running data of an intelligent body, comprising:
[0055] S1: collecting the running data of the tester in real time during the running process, wherein the running data includes the instantaneous angle, time and the distance between the collecting device and the base station, and pre-processing the collected running data through a mathematical model.
[0056] Optionally, before starting to run, the tester wears the electronic device provided by the present invention, and the electronic device establishes a communication connection with the overall system to confirm the identity of the tester.
[0057] In a possible implementation manner, the S1 specifically includes sub-steps S101 to S104:
[0058] S101: Real-time collection of the tester’s instantaneous angle during running θ ,time t , the distance between the acquisition device and the base station l ;
[0059] S102: Calculate the instantaneous angular velocity of the test according to the mathematical model dω and instantaneous speed dv :
[0060]
[0061]
[0062] in, dω To select the data reporting frequency f After that, the instantaneous angular velocity of the tester at each data report is dv is the instantaneous speed. Considering that the change in the distance between the tester and the base station can be ignored within a single reporting time, it can be defined as l is the average distance within a single return time;
[0063] S103: Take instantaneous speed as an input parameter, time t As another parameter, a scatter plot of speed and time is displayed in real time;
[0064] S104: Perform function fitting on the scatter plot according to the fitting algorithm to form a curve of speed and time in real time v ( t ).
[0065] For example, refer to Figure 2 , Figure 2 A data fitting schematic diagram provided by the present invention is shown.
[0066] Assume that the running requirement is 50m, the track is a 400m standard track, and the data collection interval is 1s. During the running process, the running speed of the tester is detected in real time. Figure 2 As shown in the left figure, the data points in the figure are as follows: {0, 0}, {0.5,3.5}, {1, 5}, {2, 6}, {3, 5.8}, {4, 5.5}, {5, 5.2}, {6, 5}, {7, 4.8}, {8,4.8}, {9, 4.7}, {10, 4.9}. An eighth-order polynomial is fitted to the data points, and the fitting results are shown in Figure 2 As shown in the right figure, the obtainedv ( t ) is used to calculate the running distance of the tester.
[0067] S2: Calculate the total running distance of the tester in real time through a total running distance mathematical model according to the pre-processed running data.
[0068] In a possible implementation, the calculation formula of the total running distance mathematical model is:
[0069]
[0070] in, f -1 The time interval between two data collections.
[0071] In a possible implementation, S2 specifically includes: in a single reporting time, after statistical data is collected, the data is transmitted to the total running distance mathematical model for calculation, and the total running distance mathematical model is calculated once after each reporting data, and outputs the total running distance of the tester.
[0072] Optionally, the reporting frequency f It is a fixed frequency or the tester's footstep frequency.
[0073] Among them, considering that the test subject's feet move forward alternately when running and the steps are all in a straight line, the tester's footstep frequency can be used as the return frequency to be closer to the test subject's actual running distance.
[0074] In order to meet different needs, the present invention provides two modes for data collection. First, the return rate is set in advance, and the student terminal and the base station collect data at a fixed time. This method has high accuracy. Second, the stride frequency of the subject is used as the data collection cycle. This method can avoid the problem of slow calculation speed of the device due to too many testers at the same time, and is also closer to the actual running distance of the subject.
[0075] In a possible implementation, the reporting frequency f is the footstep frequency of the tester, and the method for determining the footstep frequency of the tester is:
[0076] Obtain the modulus value of the three-axis acceleration sensor to reduce the impact of other factors on the acceleration signal:
[0077]
[0078] in, is the three-axis acceleration signal, Ac To obtain the modulus signal;
[0079] The calculated modulus signal is bandpass filtered:
[0080]
[0081] in, x is the data before filtering, y is the filtered data, b m and c k is the number of system groups of the denominator and numerator of the digital filter system function after the analog filter is bilinearly transformed, is the serial number, M is the number of molecular groups, N is the number of denominator groups;
[0082] Fast Fourier transform is used to convert the acceleration signal in the time domain to the frequency domain to obtain the energy spectrum of each frequency component. The spectrum diagram is analyzed to obtain b m and c k ;
[0083] The distance between two peaks in the processed spectrum represents one step, and the interval between adjacent peaks is the time taken for one step, which is the inverse of the step frequency;
[0084] The interval between adjacent peaks can be obtained by using the sampling frequency and the total number of samples between peaks, and then the step frequency can be calculated:
[0085]
[0086] in, H is the sampling frequency, N is the number of samples between adjacent peaks in this gait cycle, is the time interval between two peaks, F is the cadence of this gait.
[0087] S3: judging whether the tester has completed the assessment content according to the total running distance calculated in real time, and stopping the timing and recording the tester's running results when the tester has completed the assessment content.
[0088] Specifically, the assessment content can be any one of 50m, 100m, 400m and 800m.
[0089] In a possible implementation manner, S3 specifically includes: when the total running distance is less than the test requirement, re-execute S1 and S2 until the total running distance is greater than or equal to the test requirement, and then stop running.
[0090] For example, suppose the running requirement is 50m, the track is a 400m standard track, and the data collection time interval is 1s. At the 9th second, according to calculation, the running distance is 45.27m, which does not meet the test requirements, and the system continues to collect data. At the 10th second, the running distance is calculated to be 50.03m, which meets the test requirements, the timing stops, and the tester's score is uploaded for 10s and made public. In actual application, the data collection time interval can be adjusted lower to meet the accuracy requirements. The data collection time interval of 1s in this example is just an example and does not constitute a limitation on the data collection time interval.
[0091] S4: Upload the tester's running results to the overall system, generate an analysis report, and publicly display the tester's running results and the corresponding analysis report.
[0092] It should be noted that compared with traditional stopwatch timing, based on real-time positioning technology, the data collection method provided by the present invention will no longer limit the running track of the testee. No matter what the running trajectory of the testee is, as long as it is within the specified range, the results can be accurately measured, which greatly improves the test efficiency of physical test running and greatly improves the space utilization rate of the playground. It can be used in multiple scenarios such as campus physical test and sports events, and has good economic benefits.
[0093] Compared with the prior art, the present invention has at least the following beneficial technical effects:
[0094] In the present invention, the running data of the tester during the running process is collected in real time, the total running distance is calculated synchronously, and the timing is stopped when the tester completes the assessment content, and the running results of the tester are automatically recorded. During the running test, the tester does not need to use the inner lane to reduce the running distance, reduce the congestion of the inner lane, reduce the risk of students falling, and improve the utilization rate of the playground space. There is no need for the invigilator to perform manual monitoring by using a stopwatch, and the accuracy of the running results can be guaranteed. Example
[0095] Reference Figure 3 , Figure 3 A schematic structural diagram of an electronic device provided by an embodiment of the present invention is shown.
[0096] The present invention also provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the processor executes the computer program, the steps of the method for collecting long-distance running data of an intelligent body described in any one of the embodiments are implemented.
[0097] The electronic devices in the embodiments of the present invention may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0098] like Figure 3 As shown, the electronic device 10 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 11, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 12 or a program loaded from a storage device 18 into a random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 are also stored. The processing device 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0099] Typically, the following devices may be connected to the I / O interface 15: an input device 16 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 17 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 18 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 19. The communication device 19 may allow the electronic device 10 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 10 is shown with various devices, but it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have instead.
[0100] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 19, or installed from the storage device 18, or installed from the ROM 12. When the computer program is executed by the processing device 11, the above-mentioned functions defined in the method of the embodiment of the present invention are executed.
[0101] Specifically, the present invention also provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the method for collecting long-distance running data of an intelligent body described in any one of the embodiments are implemented.
[0102] It should be noted that the computer-readable medium of the present invention can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0103] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0104] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains at least two Internet Protocol addresses; sends a node evaluation request including at least two Internet Protocol addresses to a node evaluation device, wherein the node evaluation device selects an Internet Protocol address from the at least two Internet Protocol addresses and returns it; receives the Internet Protocol address returned by the node evaluation device; wherein the obtained Internet Protocol address indicates an edge node in a content distribution network.
[0105] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: receives a node evaluation request including at least two Internet Protocol addresses; selects an Internet Protocol address from the at least two Internet Protocol addresses; and returns the selected Internet Protocol address; wherein the received Internet Protocol address indicates an edge node in a content distribution network.
[0106] Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0107] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0108] The units involved in the embodiments of the present invention may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0109] Compared with the prior art, the present invention has at least the following beneficial technical effects:
[0110] In the present invention, the running data of the tester during the running process is collected in real time, the total running distance is calculated synchronously, and the timing is stopped when the tester completes the assessment content, and the running results of the tester are automatically recorded. During the running test, the tester does not need to use the inner lane to reduce the running distance, reduce the congestion of the inner lane, reduce the risk of students falling, and improve the utilization rate of the playground space. There is no need for the invigilator to perform manual monitoring by using a stopwatch, and the accuracy of the running results can be guaranteed.
[0111] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0112] The present invention is not limited to the specific technical solutions of the above embodiments. In addition to the above embodiments, the present invention may also have other implementation schemes. All technical solutions formed by equivalent replacement are within the protection scope required by the present invention.
Claims
1. A method for collecting long-distance running data of an intelligent body, characterized in that: include: S1: collecting the running data of the tester in real time during the running process, wherein the running data includes the instantaneous angle, time, and the distance between the collection device and the base station, and preprocessing the collected running data through a mathematical model; S2: Calculating the total running distance of the tester in real time through a total running distance mathematical model according to the pre-processed running data; S3: judging whether the tester has completed the assessment content according to the total running distance calculated in real time, and stopping the timing and recording the tester's running results if the tester has completed the assessment content; S4: uploading the tester's running results to the overall system, generating an analysis report, and publicly announcing the tester's running results and the corresponding analysis report; The S1 specifically includes: S101: Real-time collection of the tester’s instantaneous angle during running θ ,time t , the distance between the acquisition device and the base station l ; S102: Calculate the instantaneous angular velocity of the test according to the mathematical model dω and instantaneous speed dv : ;in, dω To select the data reporting frequency f After that, the instantaneous angular velocity of the tester at each data report is dv is the instantaneous speed. Considering that the change in the distance between the tester and the base station can be ignored within a single reporting time, it can be defined as l is the average distance within a single return time; S103: Take instantaneous speed as an input parameter, time t As another parameter, a scatter plot of speed and time is displayed in real time; S104: Perform function fitting on the scatter plot according to the fitting algorithm to form a curve of speed and time in real time v ( t ); The calculation formula of the running total distance mathematical model is: ;in f -1 is the time interval between two data collections; The return frequency f It is a fixed frequency or the tester's footstep frequency; The S2 is specifically: In a single reporting time, after the statistics are collected, the data is transmitted to the total running distance mathematical model for calculation. The total running distance mathematical model calculates once after each reporting data and outputs the total running distance of the tester; The S3 is specifically: When the total running distance is less than the test requirement, S1 and S2 are executed again until the total running distance is greater than or equal to the test requirement, and then the operation is stopped; The return frequency f is the footstep frequency of the tester, and the method for determining the footstep frequency of the tester is: Obtain the modulus value of the three-axis acceleration sensor to reduce the impact of other factors on the acceleration signal: ;in, is the three-axis acceleration signal, Ac To obtain the modulus signal; The calculated modulus signal is bandpass filtered: ;in, x is the data before filtering, y is the filtered data, b m and c k is the number of system groups of the denominator and numerator of the digital filter system function after the analog filter is bilinearly transformed, is the serial number, M is the number of molecular groups, N is the number of denominator groups; Fast Fourier transform is used to convert the acceleration signal in the time domain to the frequency domain to obtain the energy spectrum of each frequency component. The spectrum diagram is analyzed to obtain b m and c k ; The distance between two peaks in the processed spectrum represents one step, and the interval between adjacent peaks is the time taken for one step, which is the inverse of the step frequency; The interval between adjacent peaks can be obtained by using the sampling frequency and the total number of samples between peaks, and then the step frequency can be calculated: ;in, H is the sampling frequency, N is the number of samples between adjacent peaks in this gait cycle, is the time interval between two peaks, F is the cadence of this gait.
2. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the acquisition method according to claim 1 are implemented.
3. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the acquisition method according to claim 1 are implemented.
Citation Information
Patent Citations
Micro-nano scale based movement monitoring method and system for three-axis acceleration sensor
CN104864886A
Device for determining the speed, distance traversed, elapsed time and calories expended by a person while running
US4578769A