Tennis training intelligent assistance system and method
By collecting and comparing motion data in real time on a tennis racket and generating multi-color light feedback, the problem of existing equipment being unable to correct movements in real time is solved, achieving efficient and low-cost tennis training assistance.
Patent Information
- Application Number
- CN202610516833.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-17
- Publication Date
- 2026-07-24
AI Technical Summary
Existing tennis training equipment struggles to provide real-time motion feedback, resulting in unsatisfactory training outcomes and injury risks for beginners. Professional coaching is also costly and cannot meet the needs of a large number of enthusiasts.
A data acquisition device installed on a tennis racket collects motion data in real time, and compares it with preset standard data through a data processing device to generate control signals to control multi-color light feedback and provide real-time motion correction.
It improves the efficiency and effectiveness of tennis training, reduces training costs, and allows coaches to understand the training situation through light feedback, enhancing the targeting and safety of training.
Smart Images

Figure CN122441074A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of sports training aids, specifically to an intelligent assistive system and method for tennis training, electronic devices, and non-transitory computer-readable storage media. Background Technology
[0002] Tennis is widely popular due to its fun and accessibility, making it suitable for people of all ages. However, its high technical threshold, especially the strict requirements for proper swing technique, makes the learning and training process particularly challenging for beginners. Whether you are a beginner, an experienced enthusiast, or a professional athlete, continuous learning and training are essential to improving your skill level.
[0003] However, during practice or training, improper technique can easily lead to loss of control in hitting the ball (such as hitting it out of control or hitting it off-target), and may also cause injuries to the wrist, elbow, and other joints. Current mainstream learning methods rely on in-person or video explanations from coaches for enthusiasts to learn and imitate. However, this method makes it difficult to provide real-time feedback, and practitioners struggle to independently identify their technique flaws. Therefore, training results are often unsatisfactory or inefficient. Meanwhile, one-on-one in-person coaching from professional coaches is too expensive and cannot meet the needs of a large number of tennis enthusiasts.
[0004] Currently, some tennis training aids have emerged in the industry. However, these devices are either too simple to effectively correct movements in real time during training, or they are inconvenient to use, relying on information feedback from computer or mobile apps. It is impossible for trainees or instructors to stop and check the computer or mobile app interface for every movement during training, which leads to low efficiency and a significant reduction in training quality. Summary of the Invention
[0005] To address the aforementioned problems in the prior art, this application provides an intelligent auxiliary system and method for tennis training, an electronic device, and a non-transitory computer-readable storage medium.
[0006] According to one aspect of this application, a smart assistive system for tennis training is provided, comprising: A data acquisition device is installed on a tennis racket to collect the motion data of the tennis racket in real time and wirelessly transmit the collected motion data. A data processing device stores preset standard motion data. The data processing device wirelessly receives motion data collected in real-time by the data acquisition device, compares the received motion data with the standard motion data, and generates a control signal based on the comparison result. A light feedback device, located near the tennis training court, includes a multi-color light with adjustable brightness, which emits multi-color light of corresponding brightness according to the control signal.
[0007] According to one embodiment, the data acquisition device includes: A six-axis sensor, fixedly mounted on the tennis racket face near the shock absorber, is used to collect real-time triaxial acceleration and / or angular velocity data of the tennis racket during the swing process; and The Bluetooth transmission module, integrated with the six-axis sensor, is used to wirelessly transmit the motion data to the data processing device in real time.
[0008] According to one embodiment, the data processing device performs calculations on the received motion data to obtain triaxial velocity and / or attitude angle data, and then compares the calculated triaxial velocity and / or attitude angle data with the standard motion data.
[0009] According to one embodiment, the six-axis sensor has a built-in preset calibration protocol and temperature compensation program. Based on the calibration protocol, when the six-axis sensor is left to stand still for a predetermined time, the temperature compensation program will be triggered to perform zero-point drift calibration on the six-axis sensor.
[0010] According to one implementation, the standard sports data includes forehand swing datasets, backhand swing datasets, serve swing datasets, overhead smash swing datasets, and / or volley swing datasets.
[0011] According to one embodiment, the data processing device compares the received motion data with the forehand swing dataset, backhand swing dataset, serve swing dataset, overhead smash swing dataset, and / or volley swing dataset in the standard motion data, and determines the dataset with the smallest deviation from the received motion data as the currently used dataset.
[0012] According to one embodiment, the data processing device identifies the swing start point and swing end point in the received motion data according to preset constraints, compares multiple motion data points between the swing start point and the swing end point with multiple data points in the standard motion data, and generates control signals in real time based on the comparison results.
[0013] According to one embodiment, the data processing device generates a control signal in real time based on the comparison between each motion data point in the plurality of motion data points and the data points in the standard motion data, and sends it to the lighting feedback device, so that the lighting feedback device emits multi-color light with real-time changing brightness according to the real-time changing control signal; or The data processing device generates a single control signal based on the average value of the results of comparing the plurality of motion data points with the plurality of data points in the standard motion data, and sends it to the light feedback device so that the light feedback device emits multi-color light with a fixed brightness according to the single control signal.
[0014] According to one embodiment, the data processing device uses a sliding window algorithm to extract the received motion data during the process of comparing the received motion data with the standard motion data. The window length is Δt = 50ms, the window starts at an acceleration change of ≥3g, and ends at an angular velocity of ≤0.1rad / s.
[0015] According to one embodiment, the light feedback device is wirelessly connected to the data processing device, or wiredly connected via a cable, or integrated into one unit.
[0016] According to one embodiment, the data processing device calculates the deviation between the received motion data and the standard motion data, and generates a control signal when the deviation is less than a preset adjustable threshold.
[0017] According to one embodiment, the control signal generated by the data processing device includes a light intensity value, and the light intensity value is substantially inversely proportional to the deviation.
[0018] According to one embodiment, the motion data collected in real time by the data acquisition device includes X components, Y components, and Z components; In the process of comparing the received motion data with the standard motion data, the data processing device compares the X, Y, and Z components of the received motion data with the X, Y, and Z components of the standard motion data, respectively, and generates X component control signals, Y component control signals, and Z component control signals according to the comparison results. The multicolor lighting includes three lights with different colors from each other, which emit multicolor light of corresponding brightness based on the luminous intensity values contained in the X component control signal, Y component control signal, and Z component control signal, respectively.
[0019] According to one embodiment, each color of the lighting lamp includes a plurality of light-emitting units, and the number of light-emitting units lit up among the plurality of light-emitting units is determined based on the light intensity value contained in their respective corresponding control signals.
[0020] According to one embodiment, each color of the lighting lamp includes N light-emitting units, where N is a positive integer greater than 1, and the control signal contains a luminous intensity value of a positive integer from 1 to N. Each color of the lighting lamp illuminates a corresponding number of light-emitting units according to the luminous intensity value of its corresponding control signal.
[0021] According to one implementation, the system further includes: Signal lights, located near the tennis training court, emit a light signal to begin swinging the racket in response to a light-emitting command from the data processing device.
[0022] According to one implementation, the system further includes: A display screen is arranged near the tennis training court, wherein the data processing device generates a single swing evaluation report and / or multiple swing evaluation reports based on the comparison results, and sends them to the display screen for display.
[0023] According to another aspect of this application, a smart assistance method for tennis training is also provided, which is applied to the data processing device of the system described above, the method comprising: The motion data collected in real time by the data acquisition device is received wirelessly. The received motion data is compared with preset standard motion data; and A control signal is generated based on the comparison result and sent to the lighting feedback device.
[0024] According to one embodiment, the motion data includes triaxial acceleration and / or angular velocity data during the swing.
[0025] According to one implementation, the standard sports data includes forehand swing datasets, backhand swing datasets, serve swing datasets, overhead smash swing datasets, and / or volley swing datasets.
[0026] According to one implementation, comparing the received motion data with preset standard motion data includes: The received motion data is compared with the forehand swing dataset, backhand swing dataset, serve swing dataset, overhead smash swing dataset, and / or volley swing dataset in the standard motion data; and The dataset with the smallest deviation from the received motion data is selected as the current dataset.
[0027] According to one implementation, comparing the received motion data with preset standard motion data includes: Identify the swing start and end points in the received motion data based on preset constraints; and Multiple motion data points between the swing start point and the swing end point are compared with multiple data points in the standard motion data.
[0028] According to one embodiment, generating a control signal based on a comparison result and sending the control signal to the lighting feedback device includes: Based on the comparison between each motion data point in the plurality of motion data points and the data points in the standard motion data, a control signal is generated in real time and sent to the lighting feedback device, so that the lighting feedback device emits multi-color light with real-time varying brightness according to the real-time changing control signal; or A single control signal is generated based on the average value of the results of comparing the multiple motion data points with multiple data points in the standard motion data, and sent to the lighting feedback device so that the lighting feedback device emits multi-color light with a fixed brightness according to the single control signal.
[0029] According to one implementation, comparing the received motion data with preset standard motion data includes: The received motion data is captured using a sliding window algorithm, where the window length Δt = 50 ms, the window starts at an acceleration change ≥ 3g, and ends at an angular velocity ≤ 0.1 rad / s.
[0030] According to one implementation, comparing the received motion data with preset standard motion data includes: Calculate the deviation between the received motion data and the standard motion data; and When the deviation is less than a preset adjustable threshold, a control signal is generated.
[0031] According to one implementation, calculating the deviation between the received motion data and the standard motion data includes: The received motion data is processed to obtain triaxial velocity and / or attitude angle data; and The calculated triaxial velocity and / or attitude angle data are compared with the standard motion data.
[0032] According to one embodiment, the control signal includes a luminous intensity value, and the luminous intensity value is substantially inversely proportional to the deviation.
[0033] According to one embodiment, each color of the lighting lamp in the light feedback device includes N light-emitting units, where N is a positive integer greater than 1. During the process of generating a control signal based on the comparison result, the control signal contains a light intensity value of a positive integer from 1 to N, so that each color of the lighting lamp can light up the corresponding number of light-emitting units according to the light intensity value of its corresponding control signal.
[0034] According to one embodiment, the motion data includes an X component, a Y component, and a Z component; The received motion data is compared with preset standard motion data, including: comparing the X, Y, and Z components of the received motion data with the X, Y, and Z components of the standard motion data, respectively. The control signals are generated based on the comparison results, including generating X-component control signals, Y-component control signals, and Z-component control signals respectively based on the comparison results.
[0035] According to one implementation, the method further includes: A light-emitting command is generated and sent to the signal light, so that the signal light emits a light signal to start swinging the racket.
[0036] According to one implementation, the method further includes: Based on the comparison results, a single swing evaluation report and / or multiple swing evaluation reports are generated and sent to the display screen for display.
[0037] According to another aspect of this application, an electronic device is also provided, comprising: Processor; and The memory stores a computer program that, when executed by the processor, causes the processor to perform the method described above.
[0038] According to another aspect of this application, a non-transitory computer-readable storage medium is also provided, on which computer-readable instructions are stored, which, when executed by a processor, cause the processor to perform the method described above.
[0039] Therefore, this application collects real-time motion data of tennis trainees during racket swing practice and compares it with preset standard motion data. The comparison results are used to control the generation of multi-color lights with corresponding brightness. This allows tennis trainees to observe in real-time whether each swing is standard, identify problems, and correct them in the next swing. Coaches or other personnel can also understand the training progress and effectiveness through the light feedback device. Therefore, this device significantly improves the efficiency and effectiveness of tennis training and reduces training costs for users. Attached Figure Description
[0040] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Figure 1A schematic diagram of a tennis training intelligent assistance system according to one embodiment of this application is shown.
[0041] Figure 2 The diagram shows the correspondence between the three different RGB lighting colors and the XYZ component control signals.
[0042] Figure 3 A flowchart of a smart assistance method for tennis training according to one embodiment of this application is shown.
[0043] Figure 4 A flowchart illustrating a comparison of received motion data with preset standard motion data according to one embodiment of this application is shown.
[0044] Figure 5 A flowchart illustrating the comparison of received motion data with preset standard motion data according to another embodiment of this application is shown.
[0045] Figure 6 A flowchart illustrating the comparison of received motion data with preset standard motion data according to another embodiment of this application is shown.
[0046] Figure 7 A flowchart is shown illustrating the calculation of the deviation between received motion data and preset standard motion data according to another embodiment of this application. Detailed Implementation
[0047] To better understand the technical solutions and advantages of this application, the content of this application will be further described in detail below with reference to the accompanying drawings and specific embodiments. However, the specific embodiments described herein are only used to explain this application and are not intended to limit this application. In addition, the technical features involved in the various embodiments of this application described below can be combined and used, except where they conflict with each other, to constitute other embodiments within the scope of this application.
[0048] The following description provides many different implementations or examples for carrying out different structures of this application. To simplify the disclosure of this application, specific examples of components and arrangements are described below. Of course, these are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or reference letters may be repeated in different examples; such repetition is for simplification and clarity and does not in itself indicate a relationship between the various implementations and / or arrangements discussed.
[0049] The flowcharts in the accompanying drawings illustrate the operation of possible implementations of the method according to one or more embodiments of this application. It should be noted that in some alternative implementations, the steps marked in the boxes may not occur in the order indicated in the drawings. For example, depending on the functionality involved, two or more boxes shown consecutively may actually be performed substantially simultaneously, or these boxes may sometimes be performed in reverse order. All such embodiments are within the scope of protection of this application.
[0050] The terms "up," "down," "left," "right," "front," and "back" used in this application to indicate location refer to the locations shown in the accompanying drawings and do not represent locations in actual application scenarios.
[0051] Figure 1 A schematic diagram of a tennis training intelligent assistance system according to one embodiment of this application is shown. Figure 1 As shown, the intelligent tennis training assistance system 100 may include a data acquisition device 110, a data processing device 120, and a light feedback device 130.
[0052] The data acquisition device 110 can be installed on the tennis racket, for example, it can be pasted on the racket face of the tennis racket 210 near the shock absorber 220, so as to collect the motion data of the tennis racket 210 in real time and wirelessly transmit the collected motion data.
[0053] The data processing device 120 stores preset standard motion data. The data processing device 120 can wirelessly receive motion data collected in real time by the data acquisition device 110 and compare the received motion data with its stored standard motion data. Based on the comparison result, the data processing device 120 can generate a control signal. For example, when the comparison result shows that the real-time acquired motion data is close to the preset standard motion data (e.g., the deviation is less than 5%), a control signal is generated; when the real-time acquired motion data differs significantly from the preset standard motion data, no control signal is generated. In other words, the preset standard motion data can be used to evaluate the real-time acquired motion data to assess whether the real-time acquired motion data is close to the standard motion data.
[0054] It is understood that the standard motion data stored in the data processing device 120 can be data pre-stored in the data processing device 120 by the equipment manufacturer or coach, and can be data collected when professional athletes or coaches perform standard movements. Moreover, coaches or users can select appropriate standard motion data to save or recall according to the level and actual situation of the participants in the training, thereby enabling the system to have learning and adaptation capabilities.
[0055] For example, the data processing device 120 can pre-store multiple sets of different standard exercise data, each corresponding to trainees of different skill levels. Before starting training, coaches or users can select the corresponding set of standard exercise data in the data processing device 120 before beginning practice. Furthermore, for specific situations of trainees, such as difficulty performing a particular movement or significant errors in a certain movement, the trainee or coach can specifically input one or more sets of standard exercise data into the data processing device 120 to strengthen the practice of that movement, thereby improving the flexibility and adaptability of the intelligent tennis training assistance system.
[0056] A lighting feedback device 130 is positioned near the tennis training court 200 for easy observation by users or coaches. The lighting feedback device 130 includes a multi-color light with adjustable brightness, which emits multi-color light of corresponding brightness based on a control signal from the data processing device 120. In other words, when the lighting feedback device 130 receives a control signal from the data processing device 120, it emits multi-color light of a brightness corresponding to the control signal. The specific brightness and color correspondences will be described in detail below.
[0057] According to one embodiment of this application, the light feedback device 130 and the data processing device 120 can be connected wirelessly, or wiredly via cable, or integrated into one unit, and the user can set or select according to actual needs and site conditions.
[0058] Therefore, the above embodiments of this application collect real-time motion data of tennis trainees during racket practice and compare it with preset standard motion data. The comparison results are used to control the generation of multi-color lights with corresponding brightness. This allows tennis trainees to observe in real-time whether each of their racket swings is standard, identify problems, and correct them in the next swing. Coaches or other personnel can also understand the training situation and effectiveness through the light feedback device. Therefore, this device significantly improves the efficiency and effectiveness of tennis training and reduces training costs for users.
[0059] According to one embodiment of this application, the data acquisition device 110 may include a six-axis sensor and a Bluetooth transmission module (not shown in the figure). The six-axis sensor is fixedly mounted on the tennis racket face near the shock absorber 220, and is used to acquire real-time triaxial acceleration and / or angular velocity data of the tennis racket 210 during the swing process (α...). x a y a z ;ω x ω y ω zThe Bluetooth transmission module (e.g., a Bluetooth module of model CC2541) can be integrated with the six-axis sensor to wirelessly transmit the triaxial acceleration and / or angular velocity data collected in real time by the six-axis sensor to the data processing device 120 in real time. According to one embodiment, the six-axis sensor can be a sensor of model MPU-6050, with a weight of less than or equal to 10g. Therefore, the intelligent tennis training assistance system of this application can provide intuitive light feedback evaluation based on the comparison results of the practitioner's triaxial acceleration and / or angular velocity data of the swing motion with standard sports data. It is understood that after receiving the triaxial acceleration and / or angular velocity data collected in real time by the six-axis sensor, the data processing device 120 can first perform moving average filtering processing on it.
[0060] Furthermore, the data processing device 120 can perform calculations on the received motion data to obtain three-axis velocity and / or attitude angle data, and then compare the calculated three-axis velocity and / or attitude angle data with preset standard motion data. As mentioned above, the data acquisition device 110 may include a six-axis sensor, which typically integrates a three-axis accelerometer and a three-axis gyroscope, capable of acquiring linear acceleration and angular velocity along the XYZ axes in real time. The data processing device 120 can obtain three-axis velocity data by integrating the acceleration data and using a data fusion algorithm such as a complementary filtering algorithm (avoiding the use of high-overhead Kalman filtering algorithms); the data processing device 120 can also obtain attitude angle data (roll, pitch, yaw) by integrating the angular velocity data and using a data fusion algorithm. Then, the data processing device 120 compares the calculated three-axis velocity and / or attitude angle data with the three-axis velocity and / or attitude angles in the preset standard motion data to obtain a comparison result. This provides users with more data comparison options during practice, and the speed and posture angle data can more intuitively reflect the quality of the practitioner's swing.
[0061] As an example, the complementary filtering algorithm is as follows:
[0062] Where: α = 0.96 (empirical value, balancing dynamic response and anti-interference); Δt = 0.01s (100 Hz sampling); θ x Indicates the left and right tilt of the racket face (wrist flip / wrist press); θ y Indicates the angle of inclination before and after the shot (follow-through / backswing height); θ z The angle of rotation of the racket face (open / closed) is indicated. The rotation around the Z-axis (racket face twist) is mainly obtained by gyroscope integration. Since the accelerometer cannot sense pure horizontal rotation, the final output is a three-axis Euler angle.
[0063] Furthermore, the six-axis sensor can be equipped with a preset calibration protocol and temperature compensation program. Based on this calibration protocol, before each practice session, if the six-axis sensor is held vertically still for a predetermined time (e.g., 3 seconds), the temperature compensation program will be triggered to perform zero-point drift calibration on the sensor. Experimental verification shows that this calibration reduces the angle drift error from ±0.5° to ±0.1° (experimental environment 25℃), thereby ensuring system accuracy. Static calibration using a gravity field (with 9.8 m / s² as the z-axis reference) solves the temperature drift problem.
[0064] According to one embodiment of this application, the standard motion data pre-stored in the data processing device 120 may include forehand swing datasets, backhand swing datasets, serve swing datasets, overhead smash swing datasets, and / or volley swing datasets. In practical use, the data processing device 120 can compare the received motion data with the forehand swing dataset, backhand swing dataset, serve swing dataset, overhead smash swing dataset, and / or volley swing dataset from its pre-stored standard motion data, and determine the dataset with the smallest deviation from the received motion data as the currently used dataset. Thus, throughout the user's practice, various swing movements can be practiced freely, and the tennis training intelligent assistance system of this application can provide real-time, intuitive light feedback evaluation, thereby increasing the freedom of training. Alternatively, the user can manually select one of the datasets before starting practice for targeted training.
[0065] According to one embodiment of this application, the data processing device 120 can identify the swing start point and swing end point in the received motion data according to preset constraints, and compare multiple motion data points between the swing start point and swing end point with multiple data points in standard motion data, and generate control signals in real time based on the comparison results. During tennis training, each swing action of the practitioner follows the guidance of standard movements. For example, in a forehand swing, in the initial stage of the entire movement, the practitioner keeps the racket face paused at a certain position, and the three-axis acceleration, velocity, angular velocity, and / or attitude angle meet specific requirements (e.g., velocity approaches 0, angular velocity approaches 0, and / or attitude angle meets certain conditions), before making a complete swing and hitting motion. After hitting the ball, the practitioner moves the racket face to another paused position, and at that position, the three-axis acceleration, velocity, angular velocity, and / or attitude angle also meet certain conditions. Based on the characteristics of the swing motion in tennis, especially during training, this application allows for the preset of appropriate constraints in the data processing device 120 to identify the swing start and end points in the received motion data, facilitating accurate data comparison. According to one embodiment, the data processing device 120 can construct a finite state machine (FSM) based on the peak angular velocity and an angle threshold to identify the current swing phase.
[0066] Specifically, taking a forehand swing as an example, the action phase can be divided into three stages: when the absolute value of the Y-axis angular velocity is detected to be greater than 100° / s and the Y-axis angle is less than 100° / s... At 30°, the backswing phase is considered to have begun; when the X-axis angular velocity reaches a local maximum, the moment of impact is considered to have occurred; when the Y-axis angle is greater than +20° and the Y-axis angular velocity is less than... At 50° / s, the system is determined to enter the follow-through phase. The aforementioned finite state machine can be used to switch phases to prevent misjudgment.
[0067] Furthermore, in one possible embodiment, the data processing device 120 can generate a control signal in real time based on the comparison between each of the above-mentioned multiple motion data points and the data points in the preset standard motion data, and send it to the lighting feedback device 130 so that the lighting feedback device 130 emits multi-color lights with real-time changes in brightness according to the real-time changing control signal.
[0068] In another possible embodiment, the data processing device 120 can generate a single control signal based on the average value of the results of comparing the above multiple motion data points with multiple data points in the preset standard motion data, and send it to the light feedback device 130 so that the light feedback device 130 emits multi-color light with a fixed brightness according to the single control signal.
[0069] According to one embodiment of this application, the data processing device 120 can use a sliding window algorithm to extract the received motion data during the process of comparing the received motion data with preset standard motion data. The window can be started with an acceleration change of ≥3g and / or ended with an angular velocity of ≤0.1rad / s. The window length can also be set to Δt=50ms.
[0070] According to one embodiment of this application, the data processing device 120 can calculate the deviation between received motion data and preset standard motion data, and generate a control signal when the deviation is less than a preset adjustable threshold. As described above, the data processing device 120 calculates the difference between the real-time collected motion data and the preset standard motion data, and generates a control signal when the difference is, for example, less than 5%. Furthermore, the preset threshold is adjustable; the user or coach can adjust the threshold before or during practice according to the trainee's level or actual needs, for example, adjusting it to a threshold of 3%, 10%, 15%, 20%, etc., thereby achieving a better auxiliary training effect tailored to the individual trainee. This allows the system to meet the training needs of trainees at different levels.
[0071] As an example, preset standard motion data can be stored in the data processing device 120 in the following form (e.g., the forehand swing hitting template includes target angles at three key points): typedef struct { float theta_x_target; float theta_y_target; float theta_z_target; float tolerance / / Allowable deviation ±tolerance° } ActionTemplate[3]; / / [0]=backswing, [1]=hitting the ball, [2]=follow-through The quantitative formula for deviation calculation is as follows (taking the current stage i as an example):
[0072] Where the weighting coefficient w x =0.5, w y =0.3, w z =0.2, the weighting coefficient can be selected and set according to tennis teaching experience and actual needs. In this embodiment, the weight of wrist flip error is the largest.
[0073] In this embodiment, the data processing device 120 can calculate Δ using the formula described above. i Compare with the preset threshold tolerance, when Δ i When tolerance is less than or equal to Δ, it indicates that the current action is relatively standard, and the control signal generated by the data processing device 120 can control the multi-color lighting of the light feedback device 130 to emit green light. When tolerance is less than Δ... i When ≤ 2×tolerance, it indicates a slight deviation in the current action, and the control signal generated by the data processing device 120 can control the multi-color lighting of the lighting feedback device 130 to emit yellow light. When Δ i When the value is greater than 2×tolerance, it indicates a serious error in the current action. The control signal generated by the data processing device 120 can control the multi-color lighting lamp of the lighting feedback device 130 to emit red light.
[0074] Furthermore, according to one embodiment, the control signal generated by the data processing device 120 may include a luminous intensity value, which may be substantially inversely proportional to the deviation calculated above. For example, when the deviation between the received motion data and the preset standard motion data is less than a set threshold, a control signal is generated; the smaller the deviation, the greater the luminous intensity value included in the control signal. Thus, when the trainee sees the brighter light emitted by the light feedback device 130, it indicates that their movements are more standard, thereby providing positive psychological encouragement to the trainee.
[0075] As described above, the data acquisition device 110 can acquire the three-axis motion data of the tennis racket 210 during the swing process in real time. That is, the motion data acquired by the data acquisition device 110 in real time can include X component, Y component and Z component.
[0076] Accordingly, during the process of comparing the received motion data with the preset standard motion data, the data processing device 120 can compare the X, Y, and Z components of the received motion data with the X, Y, and Z components of the standard motion data, respectively, and generate X component control signals, Y component control signals, and Z component control signals according to the comparison results.
[0077] Accordingly, the multi-color lighting of the light feedback device 130 may include three lights with different colors from each other, such as an RGB light strip with red, green and blue colors (e.g., an RGB light strip of model WS2812B). The three lights can emit multi-color light of corresponding brightness based on the luminous intensity values contained in the X component control signal, Y component control signal, and Z component control signal, respectively. Figure 2 As shown, the correspondence between the three different RGB lighting colors and the XYZ component control signals is illustrated.
[0078] Therefore, the real-time collected motion data can be divided into three components (X, Y, and Z) for separate evaluation to assess whether each component closely resembles the three components of standard motion data. The final illumination result reflected on the light feedback device 130 allows both the trainee and coach to visually observe the training effect of each component. This enables a more precise understanding of which component of the trainee's swing is closest to the standard motion, which component may have significant issues, or even if the corresponding color of that component is not illuminated. This allows for timely improvement and adjustment of the next swing.
[0079] When the multi-color lighting of the light feedback device 130 uses an RGB LED strip of model WS2812B, the following is an example code logic (pseudocode) of the control signal sent by the data processing device 120 to the light feedback device 130: voidupdate_leds(ActionStage stage,float delta){ uint8_t r=0, g=0, b=0; if(stage == BACKSWING&&delta>tolerance){ r =(uint8_t)(255*fmin(delta / (2*tolerance),1.0)); g = 0; b = 0; }elseif(stage == CONTACT&&fabs(theta_x - target_x)>15){ r = 0; g = 0; b = 255; / / Blue flashing is controlled by the main loop. } ws2812b_set_all(r, g, b); ws2812b_show(); } According to another embodiment, the light mapping relationship of the light feedback device 130 can also adopt a linear brightness mapping model (non-complementary color mechanism). The brightness of the RGB three colors of the lighting lamp is directly proportional to the XYZ three-axis angles calculated and processed by the data processing device 120, that is, R=K_x·θ_x, G=K_y·θ_y, B=K_z·θ_z. In the formula, R, G, and B represent the brightness of the three colors of light, K_x, K_y, and K_z are preset coefficients, and θ_x, θ_y, and θ_z are the angle comparison calculation results of the data processing device 120 in the XYZ three directions.
[0080] According to one embodiment of this application, each color of the lighting feedback device 130 may include multiple light-emitting units, and the number of lit light-emitting units among the multiple light-emitting units is determined based on the light intensity value contained in the corresponding control signal. For example, each color of lighting may include N light-emitting units, where N is a positive integer greater than 1 (e.g., N=20), and the light intensity value contained in the control signal is a positive integer from 1 to N. That is, the light intensity value in the control signal is a stepped discrete value, and each discrete value corresponds to the number of light-emitting units of each color of lighting. Each color of lighting illuminates the corresponding number of light-emitting units according to the light intensity value of its corresponding control signal. Thus, more intuitive lighting feedback can be provided to the user, enabling the practitioner or coach to quickly judge the quality and problems of the current swing and hitting action based on the number of lit lights of each color of lighting.
[0081] According to one embodiment of this application, the intelligent tennis training assistance system 100 may further include signal lights (not shown in the figure). The signal lights may be positioned near the tennis training court 200 and, in response to a light-emitting command from the data processing device 120, emit a light signal to begin swinging the racket. This method can replace the aforementioned calculation method of capturing motion data using a sliding window algorithm, and is simpler and more direct. The data processing device 120 first sends a light-emitting command to the signal lights. After the trainee sees the light signal emitted by the signal lights, they can begin to swing the racket and hit the ball. At this time, the data processing device 120 also begins to calculate and process the real-time collected motion data, thereby obtaining a comparison result with preset standard motion data.
[0082] According to one embodiment of this application, the intelligent tennis training assistance system 100 may further include a display screen (not shown in the figure). The display screen is positioned adjacent to the tennis training court 200. The data processing device 120 generates single-swing evaluation reports and / or multiple-swing evaluation reports based on comparison results and sends them to the display screen for display. The evaluation reports may include information such as the motion data collected for each swing and the comparison results between this motion data and standard motion data. This allows trainees and coaches to promptly review the evaluation reports of previous movements after each swing or after multiple swings, thereby gaining timely insight into the training situation and effectiveness, and adjusting subsequent movements accordingly.
[0083] Figure 3 A flowchart of a smart assistance method for tennis training according to one embodiment of this application is shown. The method 300 can be derived from, for example... Figure 1 The data processing device 120 is implemented in the tennis training intelligent assistance system 100 shown. For example... Figure 3 As shown, the method 300 may include steps S310 to S330.
[0084] In step S310, motion data collected in real time by the data acquisition device 110 is received wirelessly.
[0085] In step S320, the received motion data is compared with preset standard motion data.
[0086] In step S330, a control signal is generated based on the comparison result and sent to the lighting feedback device 130.
[0087] According to one embodiment of this application, motion data may include triaxial acceleration and / or angular velocity data during the swing.
[0088] According to one embodiment of this application, standard sports data may include forehand swing datasets, backhand swing datasets, serve swing datasets, overhead smash swing datasets, and / or volley swing datasets.
[0089] Figure 4 A flowchart illustrating a comparison of received motion data with preset standard motion data according to one embodiment of this application is shown. Figure 4 As shown, step S320 may include sub-steps S321 and S322.
[0090] In sub-step S321, the received motion data is compared with the forehand swing dataset, backhand swing dataset, serve swing dataset, overhead smash swing dataset, and / or volley swing dataset in the standard motion data.
[0091] In sub-step S322, the dataset with the smallest deviation from the received motion data is determined as the currently used dataset.
[0092] Figure 5 A flowchart illustrating the comparison of received motion data with preset standard motion data according to another embodiment of this application is shown. Figure 5 As shown, step S320 may include sub-steps S323 and S324.
[0093] In sub-step S323, the swing start point and swing end point in the received motion data are identified according to preset constraints.
[0094] In sub-step S324, multiple motion data points between the swing start point and the swing end point are compared with multiple data points in the preset standard motion data.
[0095] According to one embodiment of this application, based on the comparison result of sub-step S324, in step S330, a control signal can be generated in real time based on the comparison result of each motion data point among multiple motion data points with data points in a preset standard motion data set, and sent to the lighting feedback device, so that the lighting feedback device emits multi-color light with real-time changing brightness according to the real-time changing control signal. Alternatively, a single control signal can be generated based on the average value of the comparison results of multiple motion data points with multiple data points in the standard motion data set, and sent to the lighting feedback device, so that the lighting feedback device emits multi-color light with a fixed brightness according to the single control signal.
[0096] According to one embodiment of this application, in step S320, a sliding window algorithm can be used to intercept the received motion data, wherein the window length Δt = 50ms, the acceleration change ≥ 3g is used as the starting point of the window, and the angular velocity ≤ 0.1rad / s is used as the ending point of the window.
[0097] Figure 6 A flowchart illustrating the comparison of received motion data with preset standard motion data according to another embodiment of this application is shown. Figure 6 As shown, step S320 may include sub-steps S325 and S326.
[0098] In sub-step S325, the deviation between the received motion data and the preset standard motion data is calculated.
[0099] In sub-step S326, a control signal is generated when the deviation is less than a preset adjustable threshold.
[0100] Figure 7 A flowchart illustrating the calculation of the deviation between received motion data and preset standard motion data according to another embodiment of this application is shown. Figure 7 As shown, sub-step S325 may include sub-steps S325A and S325B.
[0101] In sub-step S325A, the received motion data is processed to obtain triaxial velocity and / or attitude angle data.
[0102] In sub-step S325B, the calculated triaxial velocity and / or attitude angle data are compared with preset standard motion data.
[0103] According to one embodiment of this application, the generated control signal may include a luminous intensity value, and the luminous intensity value is substantially inversely proportional to the calculated deviation.
[0104] According to one embodiment of this application, each color of the lighting lamp in the light feedback device includes N light-emitting units, where N is a positive integer greater than 1. During the process of generating a control signal based on the comparison result, the control signal contains a light intensity value of a positive integer from 1 to N, so that the lighting lamp of each color can light up the corresponding number of light-emitting units according to the light intensity value of its corresponding control signal.
[0105] According to one embodiment of this application, motion data may include X components, Y components, and Z components. In step S320, the X components, Y components, and Z components of the received motion data can be compared with the X components, Y components, and Z components of preset standard motion data, respectively. In step S330, X component control signals, Y component control signals, and Z component control signals can be generated respectively based on the comparison results.
[0106] According to one embodiment of this application, method 300 may further include: generating a light-emitting instruction and sending it to a signal light to cause the signal light to emit a start-swing light signal, and / or generating a single-swing evaluation report and / or multiple-swing evaluation reports based on comparison results, and sending them to a display screen for display.
[0107] This application also provides an electronic device, including a processor and a memory, the memory storing a computer program that, when executed by the processor, causes the processor to perform the method described above.
[0108] This application also provides a non-transitory computer-readable storage medium having computer-readable instructions stored thereon, which, when executed by a processor, cause the processor to perform the method described above.
[0109] In the above embodiments, the descriptions of each embodiment have their own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combination of these technical features does not contradict each other, it should be considered within the scope of this specification.
[0110] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. Furthermore, any changes or modifications made by those skilled in the art based on the ideas of this application, and on the specific implementation methods and application scope of this application, are all within the scope of protection of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A tennis training intelligent assistance system, comprising: A data acquisition device is installed on a tennis racket to collect the motion data of the tennis racket in real time and wirelessly transmit the collected motion data. The data processing device stores preset standard motion data. The data processing device wirelessly receives motion data collected in real time by the data acquisition device, compares the received motion data with the standard motion data, and generates control signals based on the comparison results. as well as A light feedback device, located near the tennis training court, includes a multi-color light with adjustable brightness, which emits multi-color light of corresponding brightness according to the control signal.
2. The system of claim 1, wherein the data acquisition device comprises: A six-axis sensor is fixedly installed on the tennis racket face near the shock absorber to collect three-axis acceleration and / or angular velocity data of the tennis racket during the swing process in real time. as well as The Bluetooth transmission module, integrated with the six-axis sensor, is used to wirelessly transmit the motion data to the data processing device in real time.
3. The system as described in claim 2, wherein the data processing device performs calculations on the received motion data to obtain triaxial velocity and / or attitude angle data, and then compares the calculated triaxial velocity and / or attitude angle data with the standard motion data.
4. The system as described in claim 2, wherein the six-axis sensor has a built-in preset calibration protocol and temperature compensation program, and based on the calibration protocol, when the six-axis sensor is left to stand still for more than a predetermined time, the temperature compensation program will be triggered to perform zero-point drift calibration on the six-axis sensor.
5. The system of claim 1, wherein the standard motion data includes forehand swing datasets, backhand swing datasets, serve swing datasets, overhead smash swing datasets, and / or volley swing datasets. The data processing device compares the received motion data with the standard motion data for forehand swing, backhand swing, serve, overhead smash, and / or volley, and determines the dataset with the smallest deviation from the received motion data as the currently used dataset.
6. The system as described in claim 1, wherein the data processing device identifies the swing start point and swing end point in the received motion data according to preset constraints, compares multiple motion data points between the swing start point and the swing end point with multiple data points in the standard motion data, and generates control signals in real time based on the comparison results. in, The data processing device generates a control signal in real time based on the comparison between each of the multiple motion data points and the data points in the standard motion data, and sends it to the light feedback device so that the light feedback device emits multi-color light with real-time brightness changes according to the real-time changing control signal. or The data processing device generates a single control signal based on the average value of the results of comparing the plurality of motion data points with the plurality of data points in the standard motion data, and sends it to the light feedback device so that the light feedback device emits multi-color light with a fixed brightness according to the single control signal.
7. The system of claim 1, wherein the data processing device, in the process of comparing the received motion data with the standard motion data, employs a sliding window algorithm to truncate the received motion data, wherein, The window length is Δt = 50 ms, with an acceleration change of ≥ 3g as the starting point and an angular velocity of ≤ 0.1 rad / s as the ending point.
8. The system of claim 1, wherein the data processing device calculates the deviation between the received motion data and the standard motion data, and generates a control signal when the deviation is less than a preset adjustable threshold.
9. The system of claim 8, wherein the control signal generated by the data processing device includes a light intensity value, and the light intensity value is substantially inversely proportional to the deviation.
10. A smart assistance method for tennis training, applied to a data processing device of the system as described in any one of claims 1-9, comprising: The motion data collected in real time by the data acquisition device is received wirelessly. The received motion data is compared with preset standard motion data; as well as A control signal is generated based on the comparison result and sent to the lighting feedback device.
