Motion track processing method and device and electronic equipment

By using multiple positioning devices and positioning modules on the thrown objects in the throwing sports training system, combined with inertial sensor data, the precise positioning and analysis of the flight trajectories of the thrown objects is achieved, which solves the problem of difficulty in recording flight trajectories and The problem of landing point improves the accuracy and reliability of training data.

CN118565469APending Publication Date: 2024-08-30CHENGDU JINGWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410648895.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

It is difficult to record the flight trajectory and impact point data of thrown objects in real time during the training of throwing sports with the existing technology, and the cumulative error of the sensor leads to a decrease in measurement accuracy.

Method used

Using at least four positioning devices and a positioning module in the thrown object, by obtaining N sets of data of the positioning signal, the coordinate information of the thrown object in the three-dimensional coordinate system is solved, and parabola fitting is performed to obtain the motion trajectory of the thrown object. Combined with angles measured by inertial sensors for fusion, precise positioning and tracking.

Benefits of technology

It achieves accurate recording and analysis of the flight trajectory of thrown objects and multiple motion parameters, improves the accuracy and reliability of training data, and reduces the impact of environmental interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565469A
    Figure CN118565469A
Patent Text Reader

Abstract

The embodiment of the invention provides a motion trail processing method and device and electronic equipment, and relates to the technical field of positioning. The method comprises the following steps: acquiring N groups of positioning data that positioning signals emitted by a positioning module at N moments respectively reach each positioning device in the motion process of the throwing object, resolving to obtain N groups of coordinate information of the throwing object in a three-dimensional coordinate system according to the N groups of positioning data, and performing parabola fitting on the N groups of coordinate information to obtain a parabola of the motion trail of the throwing object. Therefore, flight track data of the throwing object can be recorded, accurate positioning of the space position of the throwing object is achieved, the motion track and multiple motion parameters of the throwing object are recorded and tracked, the motion training effect is presented in a datamation mode, and analysis and improvement training are provided for athletes and coaches.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of positioning technology, and in particular to a motion trajectory processing method, device and electronic equipment. Background Art

[0002] In the training of throwing sports, it is necessary to obtain several sports data of athletes in the whole throwing process, such as the initial velocity and elevation angle of the thrown object (such as shot put, discus, javelin, hammer, etc.) when throwing; the flight trajectory and landing point of the thrown object after throwing, etc. The collection and analysis of these data is the basis for improving the quality of training and improving training methods.

[0003] In the prior art, embedded sensor systems are mainly used. By embedding sensors into the thrown object, the three-dimensional acceleration and angular velocity during the throwing process can be monitored and recorded in real time. However, such systems are relatively simple to implement, can provide limited data, and cannot record the flight trajectory data of the thrown object. Summary of the invention

[0004] In view of this, an object of the embodiments of the present invention is to provide a motion trajectory processing method, device and electronic device to at least partially improve the above-mentioned problem.

[0005] In order to achieve the above purpose, the technical solution adopted by the embodiment of the present invention is as follows:

[0006] In a first aspect, an embodiment of the present invention provides a motion trajectory processing method, which is applied to a processing module of a throwing motion training system, wherein the throwing motion training system further includes at least four positioning devices and a throwing object, each of the positioning devices is respectively arranged at different coordinates in a three-dimensional coordinate system, and the throwing object includes a positioning module, and the method includes:

[0007] Acquire N groups of positioning data of the positioning signals emitted by the positioning module at N moments and reaching the positioning devices respectively during the motion of the projectile; wherein N is a positive integer greater than 1;

[0008] According to the N groups of positioning data, N groups of coordinate information of the thrown object in the three-dimensional coordinate system are obtained by solving;

[0009] Perform parabola fitting on the N groups of coordinate information to obtain the parabola of the projectile's motion trajectory.

[0010] Optionally, the step of performing parabola fitting on the N groups of coordinate information to obtain a parabola of the projectile motion trajectory includes:

[0011] Performing dimensionality reduction processing on the N groups of coordinate information to obtain N groups of two-dimensional coordinate information after dimensionality reduction;

[0012] Perform parabola fitting on the N groups of two-dimensional coordinate information to obtain the parabola of the projectile's motion trajectory.

[0013] Optionally, the three-dimensional coordinate system is a left-handed coordinate system, the three-dimensional coordinate system includes an X-axis, a Y-axis, and a Z-axis, and the step of performing dimensionality reduction processing on the N groups of coordinate information to obtain N groups of two-dimensional coordinate information after dimensionality reduction includes:

[0014] Removing the Y-axis information of the coordinate information to obtain the plane coordinate information of the XZ plane in the three-dimensional coordinate system, and performing a straight line fitting on the plane coordinate information to obtain a straight line equation;

[0015] According to the straight line equation, a new temporary three-dimensional coordinate system is established, and a matrix of the temporary three-dimensional coordinate system is determined; the matrix represents the transformation of the temporary three-dimensional coordinate system relative to the three-dimensional coordinate system;

[0016] The matrix is ​​inverted to obtain an inverse matrix, and the coordinate information is dot-multiplied by the inverse matrix to obtain the two-dimensional coordinate information after dimensionality reduction.

[0017] Optionally, the step of performing parabola fitting on the N groups of the two-dimensional coordinate information to obtain a parabola of the projectile motion trajectory includes:

[0018] Establish a parabola formula and a square error sum formula; the parabola formula and the square error sum formula are respectively:

[0019] y=ax2+bx+c

[0020]

[0021] Wherein, a, b, c are constants, xi is the x-axis coordinate of the two-dimensional coordinate information, and yi is the y-axis coordinate of the two-dimensional coordinate information;

[0022] Taking partial derivatives of the parameters of the parabola formula, we get:

[0023]

[0024]

[0025]

[0026] in, is the partial derivative with respect to a, is the partial derivative with respect to b, is the partial derivative with respect to c;

[0027] The sum of squared errors is set equal to 0, the parameters of the parabola formula are solved, and the parabola is obtained.

[0028] Optionally, the step of calculating and obtaining N groups of coordinate information of the thrown object in the three-dimensional coordinate system according to the N groups of positioning data includes:

[0029] Obtain any set of the positioning data, and establish at least three equations according to the positioning data and the coordinates of each positioning device in the three-dimensional coordinate system;

[0030] According to each of the equations, coordinate information of the thrown object is obtained by solving the equations;

[0031] Each set of the positioning data is traversed to obtain N sets of coordinate information of the thrown objects.

[0032] Optionally, the positioning device includes a first positioning device and at least three second positioning devices, the positioning data includes a first timestamp when the positioning signal reaches the first positioning device and a second timestamp when the positioning signal reaches each of the second positioning devices, and the single equation is:

[0033]

[0034] Wherein, t1 is the first timestamp, t i is the second timestamp, (x, y, z) is the coordinate information of the thrown object, (x1, y1, z1) is the coordinate information of the first positioning device, (x i ,y i ,z i ) are the coordinates of the second positioning device.

[0035] Optionally, the method further comprises:

[0036] Derivative the parabola to obtain a tangent line equation, wherein the tangent line equation represents the slope of the tangent line at any point in the parabola;

[0037] Calculate the initial angle of the projectile according to the tangent line equation and the initial moment of the projectile;

[0038] Calculating the initial velocity of the projectile according to the position of the projectile at the initial moment and the position at the next moment;

[0039] The horizontal velocity of the projectile is calculated based on the initial angle and the initial velocity.

[0040] Optionally, the thrown object further includes an inertial sensor, and the method further includes:

[0041] Obtaining the angle measured by the inertial sensor and the included angle of the parabola at any moment;

[0042] The angle measured by the inertial sensor is fused with the included angle of the parabola to obtain the fused included angle of the projectile.

[0043] In a second aspect, an embodiment of the present invention provides a motion trajectory processing device, which is applied to a processing module of a throwing motion training system, wherein the throwing motion training system further includes at least four positioning devices and a throwing object, each of the positioning devices is respectively arranged at different coordinates in a three-dimensional coordinate system, and the throwing object includes a positioning module, and the device includes:

[0044] A positioning data acquisition unit, used to acquire N sets of positioning data of the positioning signals emitted by the positioning module at N moments reaching the respective positioning devices during the motion of the projectile; wherein N is a positive integer greater than 1;

[0045] A coordinate information calculation unit, used to calculate and obtain N sets of coordinate information of the thrown object in the three-dimensional coordinate system according to the N sets of positioning data;

[0046] The parabola fitting unit is used to perform parabola fitting on the N groups of coordinate information to obtain the parabola of the projectile's motion trajectory.

[0047] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-described methods when executing the program.

[0048] A motion trajectory processing method, device and electronic device provided by an embodiment of the present invention relate to the field of positioning technology. By acquiring N sets of positioning data of the positioning signals emitted by the positioning module at N moments during the motion of the projectile, respectively reaching each positioning device, and solving N sets of coordinate information of the projectile in the three-dimensional coordinate system according to the N sets of positioning data, a parabola fitting is performed on the N sets of coordinate information to obtain the parabola of the projectile's motion trajectory. In this way, the flight trajectory data of the projectile can be recorded, and the initial angle and initial speed of the projectile can be obtained according to the parabola, which can be provided to athletes and coaches for analysis and improvement of training. The angle measured by the sensor can also be integrated with the parabola angle to obtain a more accurate angle of the projectile's motion.

[0049] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 A schematic structural block diagram of an electronic device provided by an embodiment of the present invention;

[0052] Figure 2 A schematic diagram of a throwing motion training system provided by an embodiment of the present invention;

[0053] Figure 3 A schematic diagram of a flow chart of a motion trajectory processing method provided by an embodiment of the present invention;

[0054] Figure 4 Another schematic diagram of a flow chart of a motion trajectory processing method provided by an embodiment of the present invention;

[0055] Figure 5 Another schematic diagram of a flow chart of a motion trajectory processing method provided by an embodiment of the present invention;

[0056] Fig. 6A A motion trajectory diagram of a thrown object in a three-dimensional coordinate system provided by an embodiment of the present invention;

[0057] Figure 6B A top view of a motion trajectory of a thrown object in a three-dimensional coordinate system provided by an embodiment of the present invention;

[0058] Figure 6C A motion trajectory diagram of a thrown object in a two-dimensional coordinate system provided by an embodiment of the present invention;

[0059] Figure 7 Another schematic diagram of a flow chart of a motion trajectory processing method provided by an embodiment of the present invention;

[0060] Figure 8 Another schematic diagram of a flow chart of a motion trajectory processing method provided by an embodiment of the present invention;

[0061] Fig. 9 A schematic structural block diagram of a motion trajectory processing device provided in an embodiment of the present invention.

[0062] Icons: 100-electronic device; 101-memory; 102-communication interface; 103-processor; 104-bus; 10-throwing motion training system; 11-throwing object; 12-positioning device; 13-processing module; 14-positioning module; 300-motion trajectory processing device; 310-positioning data acquisition unit; 320-coordinate information calculation unit; 330-parabola fitting unit. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0064] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, 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.

[0066] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0067] In the training of throwing sports, it is necessary to obtain several sports data of athletes in the whole throwing process, such as the initial velocity and elevation angle of the thrown object (such as shot put, discus, javelin, hammer, etc.) when throwing; the flight trajectory and landing point of the thrown object after throwing, etc. The collection and analysis of these data is the basis for improving the quality of training and improving training methods.

[0068] In the prior art, the technologies for collecting motion data in throwing sports training include:

[0069] Embedded sensor system: By embedding sensors into throwing objects (such as discus and shot put), the three-dimensional acceleration and angular velocity during the throwing process can be monitored and recorded in real time. This system usually includes a 3D accelerometer and a 3D digital gyroscope. Using a three-dimensional acceleration sensor and a data acquisition circuit, the athlete's throwing force can be measured in real time, and the characteristics of multi-dimensional throwing force can be extracted through algorithm technology, providing a theoretical basis for technical analysis and providing comprehensive throwing information for athletes and coaches.

[0070] Such a system is relatively simple to implement, but can only provide limited data. It cannot record data such as the flight trajectory and landing point of the projectile. In addition, since the inherent cumulative error of the gyroscope cannot be eliminated, the measurement accuracy decreases with the length of operation.

[0071] Photosensitive array sensor system and semiconductor acceleration sensor: By deploying a photosensitive array sensor system near the throwing point, the flight parameters of the projectile and the acceleration during the swing are collected, and then input into the computer for processing to give the throwing speed and maximum acceleration value.

[0072] Such a system is relatively simple to implement and can only provide limited data. It cannot record data such as the flight trajectory and landing point of projectiles. At the same time, due to the limitations of the deployment of photosensitive arrays, the detection area is generally small, which can easily interfere with the normal movements of athletes.

[0073] Video detection and image processing: For training in throwing sports, video detection and image processing techniques can be used to collect athlete training data. This includes using high-definition cameras and high-speed cameras to record the throwing process of athletes, applying computer vision technology to extract trajectories from video input, and measuring acceleration, throwing elevation angle and other data.

[0074] Such a system is computationally complex and requires high computing power and software. At the same time, video images are easily interfered by weather, sunlight, other objects, etc., and cannot accurately measure position and trajectory.

[0075] Based on the above situation, the embodiments of the present invention provide a motion trajectory processing method, device and electronic device, which relate to the field of positioning technology. By acquiring the positioning signals emitted by the positioning module at N moments during the motion of the projectile and reaching N groups of positioning data of each positioning device respectively, according to the N groups of positioning data, the N groups of coordinate information of the projectile in the three-dimensional coordinate system are solved and parabolic fitting is performed on the N groups of coordinate information to obtain the parabola of the projectile's motion trajectory. In this way, the flight trajectory data of the projectile can be recorded without being affected by the weather and other environmental factors, and the sports training effect can be presented in a digital form, providing athletes and coaches with the ability to analyze and improve training.

[0076] To implement the process steps and functions of each example of the present invention, please refer to Figure 1 , Figure 1 A schematic structural block diagram of an electronic device provided by an embodiment of the present invention. The electronic device 100 includes a memory 101 and a processor 103, and the memory 101 and the processor 103 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses 104 or signal lines. The memory 101 can be used to store software programs and modules, and the processor 103 executes the software programs and modules stored in the memory 101 to perform various functional applications and data processing.

[0077] The electronic device 100 may be, but is not limited to, a personal computer (PC), a server, a distributed computer, etc. It is understandable that the electronic device 100 is not limited to a physical server, but may also be a virtual machine on a physical server, a virtual machine built on a cloud platform, etc., which can provide the same functions as the server or virtual machine. The operating system of the electronic device 100 may be, but is not limited to, a Windows system, a Linux system, etc.

[0078] Among them, the memory 101 can be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.

[0079] The communication connection between the electronic device 100 and an external device is achieved through at least one communication interface 102 (which can be wired or wireless).

[0080] The processor 103 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the embodiment of the present invention can be completed by the hardware integrated logic circuit in the processor 103 or the instructions in the form of software. The processor 103 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0081] Understandably, Figure 1 The structure shown is for illustration only. The electronic device 100 may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0082] The following is an exemplary description of the motion trajectory processing method provided by the present invention. Figure 2 A schematic diagram of a throwing motion training system provided by an embodiment of the present invention, referring to Figure 2 The method is applied to the processing module 13 in the throwing motion training system 10. The throwing motion training system 10 also includes at least four positioning devices 12 and a throwing object 11. Each positioning device 12 is respectively set at different coordinates in the three-dimensional coordinate system, and the throwing object 11 includes a positioning module 14.

[0083] In this embodiment, positioning devices 12 can be arranged around the throwing field according to the requirements of spatial 3D positioning, and the precise spatial position of the thrown object can be obtained by interacting with the positioning module 14 integrated in the body of the thrown object 11. The positioning device 12 uses ultra-wideband (UWB), which is a positioning technology based on wireless communication. Its principle is to use the propagation characteristics of ultra-wideband signals in space to achieve positioning. The positioning device 12 supports centimeter-level positioning accuracy and a positioning refresh rate greater than 500Hz, which can meet the requirements of high-speed moving target positioning accuracy and positioning data update rate in throwing sports.

[0084] The training throwing object 11 may also include an inertial sensor. The built-in positioning module 14 of the throwing object 11 cooperates with the positioning devices 12 deployed around the throwing venue to achieve accurate positioning and tracking of the position and flight trajectory of the throwing object, and at the same time transmits parameter data measured by the built-in inertial sensor along with the positioning information.

[0085] The positioning device 12 transmits the acquired positioning data and sensor data of the thrown object 11 in real time via a wired cable or a wireless channel to the processing module 13 .

[0086] The processing module 13 is connected to each positioning device 12 through an internal communication cable or a wireless channel, receives and collects the positioning data obtained by the positioning device 12 and the positioning module 14 of the projectile 11, and performs calculations to determine the position and trajectory of the projectile in the field. At the same time, the motion data measured by the inertial sensor built into the projectile is transmitted together with the UWB signal of positioning, and is transmitted to the processing module 13 through the positioning device 12 for acceleration calculation correction optimization, initial elevation angle calculation correction optimization, flight trajectory smoothing, landing point confirmation and other fusion calculations, further improving the stability, reliability and accuracy of the system.

[0087] Figure 3 A flow chart of a motion trajectory processing method provided by an embodiment of the present invention is shown in FIG. Figure 3 , the execution subject of this method can be the above Figure 1 The electronic device 100 in the embodiment may be Figure 2 The processing module 13 in the method includes Figure 3 The following steps are described:

[0088] S210: Acquire N sets of positioning data of the positioning signals emitted by the positioning module at N moments during the motion of the projectile, which arrive at each positioning device respectively, wherein N is a positive integer greater than 1.

[0089] S220: According to the N sets of positioning data, N sets of coordinate information of the thrown object in the three-dimensional coordinate system are obtained by solving.

[0090] S230: Perform parabola fitting on the N sets of coordinate information to obtain the parabola of the projectile's motion trajectory.

[0091] When the athlete is ready to throw, he turns on the power switch of the projectile 11 to power the positioning module 14. The positioning module 14 will emit a positioning signal at a certain frequency. Each positioning device 12 records the positioning data of each positioning signal arriving at the positioning device 12. There are N groups of positioning data, and each group of positioning data can include the arrival timestamp of the positioning signal, the flight time of the positioning signal, the arrival time difference of the positioning signal, the arrival angle of the positioning signal, etc.

[0092] Each positioning device 12 is set in an established three-dimensional coordinate system, and each positioning device 12 has a certain positioning device coordinate. By obtaining N sets of positioning data and each positioning device coordinate, N sets of coordinate information of the projectile 11 in the three-dimensional coordinate system can be calculated.

[0093] By processing N groups of coordinate information and performing parabola fitting, the parabola equation of the motion trajectory of the projectile 11 in the three-dimensional coordinate system can be obtained to represent the motion trajectory of the projectile 11.

[0094] The method obtains N sets of positioning data of the positioning signals emitted by the positioning module at N moments during the motion of the projectile, and respectively reaches each positioning device. According to the N sets of positioning data, N sets of coordinate information of the projectile in the three-dimensional coordinate system are solved, and the parabola fitting of the N sets of coordinate information is performed to obtain the parabola of the projectile's motion trajectory. In this way, the flight trajectory data of the projectile can be recorded, and the motion trajectory and multiple motion parameters of the projectile can be recorded and tracked, and the sports training effect can be presented in a digital form, providing athletes and coaches with analysis and training improvement.

[0095] In step S220, there are many ways to calculate the coordinate information of the thrown object 11 in the three-dimensional coordinate system, and the coordinate information of the thrown object 11 can be calculated using the time of flight (TOF), time difference of arrival (TDOA), and angle of arrival (AOA). Figure 4 , Figure 4 Another schematic flow chart of a motion trajectory processing method provided by an embodiment of the present invention, step S220 may include the following steps:

[0096] S221: Obtain any set of positioning data, and establish at least three equations according to the positioning data and the coordinates of each positioning device in the three-dimensional coordinate system.

[0097] S222: According to each equation, coordinate information of the thrown object is obtained by solving the equation.

[0098] S223: Traverse each set of positioning data to obtain N sets of coordinate information of the thrown objects.

[0099] In this embodiment, the TDOA method is used to solve the coordinate information of the thrown object 11. The positioning device 12 may include a first positioning device and at least three second positioning devices. The positioning data includes a first timestamp when the positioning signal reaches the first positioning device and a second timestamp when the positioning signal reaches each second positioning device. The single equation is:

[0100]

[0101] Among them, t1 is the first timestamp, t i is the second timestamp, (x, y, z) is the coordinate information of the thrown object, (x1, y1, z1) is the coordinate information of the first positioning device, (x i ,y i ,z i ) are the coordinates of the second positioning device.

[0102] For the sake of simplicity, in this embodiment, four positioning devices 12 are used for exemplary description. The time stamps of the positioning signals arriving at the four positioning devices 12 are t1, t2, t3, and t4, respectively. Three equations are established based on t1, as follows:

[0103]

[0104]

[0105]

[0106] Since t1, t2, t3, and t4 are known, (x1, y1, z1), (x1, y1, z1), (x1, y1, z1), and (x1, y1, z1) are also known, (x, y, z) can be solved to obtain the coordinate information of the projectile 11 in the three-dimensional coordinate system at a certain moment.

[0107] By traversing each set of positioning data, the coordinate information of N sets of thrown objects 11 can be obtained.

[0108] In a possible implementation, the coordinate information of the thrown object 11 can be processed by dimensionality reduction, and the three-dimensional coordinate information can be converted into two-dimensional coordinate information to fit the parabola. Figure 5 , Figure 5 Another schematic flow chart of a motion trajectory processing method provided by an embodiment of the present invention, step S230 may include the following steps:

[0109] S231: Perform dimensionality reduction processing on the N groups of coordinate information to obtain N groups of two-dimensional coordinate information after dimensionality reduction.

[0110] S232: Perform parabola fitting on the N groups of two-dimensional coordinate information to obtain the parabola of the projectile's motion trajectory.

[0111] Optionally, the three-dimensional coordinate system is defined as a left-handed coordinate system, that is, a person stands at the origin, looks forward, the right side is the +X axis, the top of the head is the +Y axis, and the line of sight is the +Z axis. Fig. 6A , Fig. 6A A motion trajectory diagram of a thrown object in a three-dimensional coordinate system is provided in an embodiment of the present invention. Specifically, step S231 may include the following steps:

[0112] The Y-axis information of the coordinate information is removed to obtain the plane coordinate information of the XZ plane in the coordinate system, and a straight line is fitted to the plane coordinate information to obtain the straight line equation.

[0113] According to the straight line equation, a new temporary three-dimensional coordinate system is established, and the matrix of the temporary three-dimensional coordinate system is determined; wherein the matrix represents the transformation of the temporary three-dimensional coordinate system relative to the three-dimensional coordinate system.

[0114] Invert the matrix to get the inverse matrix, multiply the inverse matrix with the coordinate information to get the two-dimensional coordinate information after dimensionality reduction.

[0115] During the casting process, the motion trajectory is N groups (x, y, z). If viewed from the XZ plane (from top to bottom), the trajectory is a straight line, such as Figure 6B As shown, Figure 6B A top view of the motion trajectory of a projectile in a three-dimensional coordinate system provided by an embodiment of the present invention, that is, the height value is removed to obtain N sets of (x, z). The straight line is represented by the straight line equation y′=a′x′+b′, and the straight line is fitted by N sets of (x, z). Optionally, the fitting method can be to establish the error square sum formula Taking partial derivatives of a′ and b′, ​​we get:

[0116]

[0117]

[0118] Minimize the sum of squared errors, that is, S′=0, Thus, the parameters a′ and b′ of the straight line equation y′=a′x′+b′ are determined.

[0119] Furthermore, take any two points P1 and P2 on the line. Let V = P2-P1. At this time, V is a vector (x, z) in the XZ two-dimensional coordinate system. Next, fill the y-axis of V to become a three-dimensional vector, that is, V1 = (x, 0, z). Define this vector as the x-axis of the three-dimensional subspace. The Y-axis is always upward, V2 = (0, 1, 0). The subspace z-axis V3 can be obtained by vector cross multiplication. The subspace matrix can be obtained:

[0120]

[0121] Invert the matrix M1 to get the inverse matrix M2, and use M2 to transform the points in the original three-dimensional space into coordinates (x′, y′) in the new two-dimensional coordinate system. Figure 6C , Figure 6C A motion trajectory diagram of a thrown object in a two-dimensional coordinate system provided by an embodiment of the present invention, wherein the converted motion trajectory is a parabola in the two-dimensional coordinate system as shown in FIG. Figure 6C shown.

[0122] Convert the N sets of coordinate information (x, y, z) of the projectile in the original three-dimensional coordinate system to N sets of coordinates (x′, y′) in the two-dimensional coordinate system, and then perform parabola fitting on it in the two-dimensional coordinate system. The steps of fitting the N sets of two-dimensional coordinate information to obtain the parabola of the projectile's motion trajectory can be:

[0123] Establish a parabola formula and a square error sum formula; the parabola formula and the square error sum formula are respectively:

[0124] y=ax2+bx+c

[0125]

[0126] Among them, a, b, c are constants, xi is the x-axis coordinate x′ of the two-dimensional coordinate information, and yi is the y-axis coordinate y′ of the two-dimensional coordinate information;

[0127] Taking partial derivatives of the parameters of the parabola formula, we get:

[0128]

[0129]

[0130]

[0131] in, is the partial derivative with respect to a, is the partial derivative with respect to b, is the partial derivative with respect to c;

[0132] Set the sum of squared errors equal to 0, solve the parameters of the parabola formula, and obtain the parabola.

[0133] By referring to the above straight line fitting method, the parameters a, b, and c of the parabola formula can be solved to determine the motion trajectory of the projectile.

[0134] For throwing sports that require throwing very high and far, such as hammer throwing, the throwing sports training system 10 can only set up the positioning device 12 on the front part of the trajectory of the projectile. The motion trajectory processing method can only obtain the coordinate information of the front part of the motion trajectory of the projectile, fit the parabola of the motion trajectory of the projectile, and thus obtain the entire trajectory of the projectile.

[0135] In order to analyze the effect of an athlete's throwing, it is often necessary to analyze the initial velocity and throwing angle of the thrown object. Figure 7 , Figure 7 Another flow chart of a motion trajectory processing method provided by an embodiment of the present invention. In order to obtain the initial velocity and throwing angle of the thrown object, the motion trajectory processing method may further include the following steps:

[0136] S240: Deriving the parabola to obtain a tangent line equation, wherein the tangent line equation represents the slope of the tangent line at any point in the parabola.

[0137] S250: Calculate the initial angle of the thrown object according to the tangent line equation and the initial moment of the thrown object.

[0138] S260: Calculate the initial velocity of the thrown object based on the position of the thrown object at the initial moment and the position at the next moment.

[0139] S270: Calculate the horizontal velocity of the thrown object according to the initial angle and the initial velocity.

[0140] To facilitate the explanation of the above steps, an example is given to illustrate that the parabola equation of the trajectory of the projectile is y = 4x 2 +6x+2, the initial position of the projectile is P0 = (0, 0), and after a time of t = 1 second, the projectile reaches a position of P1 = (15, 5). The time t = 1 second is just for example and is actually very small.

[0141] Taking the derivative of the parabola equation, we get y′=8x+6, then the slope of the tangent at the initial moment is 6, and the initial angle is calculated to be 79.5°.

[0142] Use P0 and P1 to calculate the initial velocity v0 of the projectile:

[0143]

[0144]

[0145] v0≈15.81m / s

[0146] After calculating the horizontal speed based on the initial velocity and the initial angle, athletes and coaches can improve their training based on these data analysis.

[0147] In order to make the measured angle more accurate, an inertial sensor, such as a 3D accelerometer and a 3D digital gyroscope, may be provided in the throwing object 11 to fuse the angle measured by the inertial sensor with the angle calculated by the parabola, thereby obtaining a more accurate angle. Figure 8 , Figure 8 Another schematic flow chart of a motion trajectory processing method provided by an embodiment of the present invention, the motion trajectory processing method may further include the following steps:

[0148] S280: Obtain the angle measured by the inertial sensor at any moment and the included angle of the parabola.

[0149] S290: Fusing the angle measured by the inertial sensor with the included angle of the parabola to obtain a fused included angle of the projectile.

[0150] Optionally, the fusion can be implemented by assuming that the angle measured by the inertial sensor is θ sensor , the angle of the parabola is θ parabola , build a prediction model:

[0151] θ predicted =θ previous +gΔt

[0152] Among them, θ predicted To predict the angle, θ previous is the previous angle, g is the angular acceleration measured by the sensor, and Δt is the time interval.

[0153] An update equation is established to correct the predicted angle using the new measured angle. The update equation is:

[0154] θ updated =θ predicted +K(θ measure -θ predicted )

[0155] Among them, θ predicted is the predicted angle; θ measure To measure angles, this can be θ sensor or θ parabola , or their weighted combination; K is the Kalman gain, calculated as follows:

[0156]

[0157] Among them, S1 is the covariance matrix of prediction error, and S2 is the covariance matrix of measurement error.

[0158] By integrating the angle measured by the inertial sensor and the included angle of the parabola, the flight angle of the projectile can be made more accurate.

[0159] Furthermore, the present invention also provides a motion trajectory processing device 300, which is applied to the processing module 13 of the throwing motion training system 10, and the throwing motion training system 10 also includes at least four positioning devices 12 and a throwing object 11, each positioning device 12 is respectively set at a different coordinate in the three-dimensional coordinate system, and the throwing object 11 includes a positioning module 14. Specifically, Fig. 9 A schematic structural block diagram of a motion trajectory processing device provided by an embodiment of the present invention, see Fig. 9 , the motion trajectory processing device 300 includes:

[0160] The positioning data acquisition unit 310 is used to acquire N sets of positioning data of the positioning signals emitted by the positioning module at N moments and reaching each positioning device during the motion of the projectile; wherein N is a positive integer greater than 1;

[0161] A coordinate information calculation unit 320, used to calculate and obtain N sets of coordinate information of the thrown object in a three-dimensional coordinate system according to the N sets of positioning data;

[0162] The parabola fitting unit 330 is used to perform parabola fitting on the N sets of coordinate information to obtain the parabola of the projectile's motion trajectory.

[0163] In summary, a motion trajectory processing method, device and electronic device provided by an embodiment of the present invention relate to the field of positioning technology. By acquiring N sets of positioning data of the positioning signals emitted by the positioning module at N moments during the motion of the projectile, respectively reaching each positioning device, and solving N sets of coordinate information of the projectile in the three-dimensional coordinate system according to the N sets of positioning data, a parabola fitting is performed on the N sets of coordinate information to obtain the parabola of the projectile's motion trajectory. In this way, the flight trajectory data of the projectile can be recorded, and the initial angle and initial speed of the projectile can be obtained according to the parabola, which can be provided to athletes and coaches for analysis and improvement of training. The angle measured by the sensor can also be fused with the parabola angle to obtain a more accurate angle of the projectile's motion.

[0164] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a module, a program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes 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 box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0165] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0166] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a computer-readable storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0167] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0168] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. A motion trajectory processing method, characterized in that: A processing module applied to a throwing motion training system, wherein the throwing motion training system further comprises at least four positioning devices and a throwing object, each of the positioning devices being respectively arranged at different coordinates in a three-dimensional coordinate system, the throwing object comprising a positioning module, and the method comprising: Acquire N groups of positioning data of the positioning signals emitted by the positioning module at N moments and reaching the positioning devices respectively during the motion of the projectile; wherein N is a positive integer greater than 1; According to the N groups of positioning data, N groups of coordinate information of the thrown object in the three-dimensional coordinate system are obtained by solving; Perform parabola fitting on the N groups of coordinate information to obtain the parabola of the projectile's motion trajectory.

2. The motion trajectory processing method according to claim 1, characterized in that: The step of performing parabola fitting on the N groups of coordinate information to obtain the parabola of the projectile motion trajectory comprises: Performing dimensionality reduction processing on the N groups of coordinate information to obtain N groups of two-dimensional coordinate information after dimensionality reduction; Perform parabola fitting on the N groups of two-dimensional coordinate information to obtain the parabola of the projectile's motion trajectory.

3. The motion trajectory processing method according to claim 2, characterized in that: The three-dimensional coordinate system is a left-handed coordinate system, and the three-dimensional coordinate system includes an X-axis, a Y-axis, and a Z-axis. The step of performing dimensionality reduction processing on the N groups of coordinate information to obtain N groups of two-dimensional coordinate information after dimensionality reduction includes: Removing the Y-axis information of the coordinate information to obtain the plane coordinate information of the XZ plane in the three-dimensional coordinate system, and performing a straight line fitting on the plane coordinate information to obtain a straight line equation; According to the straight line equation, a new temporary three-dimensional coordinate system is established, and a matrix of the temporary three-dimensional coordinate system is determined; the matrix represents the transformation of the temporary three-dimensional coordinate system relative to the three-dimensional coordinate system; The matrix is ​​inverted to obtain an inverse matrix, and the coordinate information is dot-multiplied by the inverse matrix to obtain the two-dimensional coordinate information after dimensionality reduction.

4. The motion trajectory processing method according to claim 2, characterized in that: The step of performing parabola fitting on the N groups of two-dimensional coordinate information to obtain the parabola of the projectile motion trajectory comprises: Establish a parabola formula and a square error sum formula; the parabola formula and the square error sum formula are respectively: y=ax2+bx+c Wherein, a, b, c are constants, xi is the x-axis coordinate of the two-dimensional coordinate information, and yi is the y-axis coordinate of the two-dimensional coordinate information; Taking partial derivatives of the parameters of the parabola formula, we get: in, is the partial derivative with respect to a, is the partial derivative with respect to b, is the partial derivative with respect to c; The sum of squared errors is set equal to 0, the parameters of the parabola formula are solved, and the parabola is obtained.

5. The motion trajectory processing method according to claim 1, characterized in that: The step of calculating and obtaining N groups of coordinate information of the thrown object in the three-dimensional coordinate system according to the N groups of positioning data comprises: Obtain any set of the positioning data, and establish at least three equations according to the positioning data and the coordinates of each positioning device in the three-dimensional coordinate system; According to each of the equations, coordinate information of the thrown object is obtained by solving the equations; Each set of the positioning data is traversed to obtain N sets of coordinate information of the thrown objects.

6. The motion trajectory processing method according to claim 5, characterized in that: The positioning device includes a first positioning device and at least three second positioning devices, the positioning data includes a first timestamp when the positioning signal reaches the first positioning device and a second timestamp when the positioning signal reaches each of the second positioning devices, and the single equation is: Wherein, t1 is the first timestamp, t i is the second timestamp, (x, y, z) is the coordinate information of the thrown object, (x1, y1, z1) is the coordinate information of the first positioning device, (x i ,y i ,z i ) are the coordinates of the second positioning device.

7. The motion trajectory processing method according to claim 1, characterized in that: The method further comprises: Derivative the parabola to obtain a tangent line equation, wherein the tangent line equation represents the slope of the tangent line at any point in the parabola; Calculate the initial angle of the projectile according to the tangent line equation and the initial moment of the projectile; Calculating the initial velocity of the projectile according to the position of the projectile at the initial moment and the position at the next moment; The horizontal velocity of the projectile is calculated according to the initial angle and the initial velocity.

8. The motion trajectory processing method according to claim 7, characterized in that: The projectile further includes an inertial sensor, and the method further includes: Obtaining the angle measured by the inertial sensor and the included angle of the parabola at any moment; The angle measured by the inertial sensor is fused with the included angle of the parabola to obtain the fused included angle of the projectile.

9. A motion trajectory processing device, characterized in that: A processing module applied to a throwing motion training system, wherein the throwing motion training system further comprises at least four positioning devices and a throwing object, each of the positioning devices being respectively arranged at different coordinates in a three-dimensional coordinate system, the throwing object comprising a positioning module, and the device comprising: A positioning data acquisition unit, used to acquire N sets of positioning data of the positioning signals emitted by the positioning module at N moments reaching the respective positioning devices during the motion of the projectile; wherein N is a positive integer greater than 1; A coordinate information calculation unit, used to calculate and obtain N sets of coordinate information of the thrown object in the three-dimensional coordinate system according to the N sets of positioning data; The parabola fitting unit is used to perform parabola fitting on the N groups of coordinate information to obtain the parabola of the projectile's motion trajectory.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Deep learning-based parabolic trajectory prediction method and system

    CN119513580A