Analysis device and analysis method
The analysis device and method use 3-axis acceleration and geomagnetic data to transform the spin vector from a ball's fixed coordinate system to an absolute system, addressing the challenge of accurately calculating the spin axis during the transition period for improved spin axis determination in the steady period.
Patent Information
- Application Number
- JP2022184373
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-11-17
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-11-17
AI Technical Summary
Existing methods fail to accurately calculate the spin axis of a ball during its transition period, which is crucial for determining the spin axis in the steady period, as the spin axis changes rapidly during this phase.
An analysis device and method that utilize time-series 3-axis acceleration and geomagnetic data from a sensor embedded in the ball to calculate the spin vector in a fixed coordinate system, followed by a coordinate transformation to an absolute coordinate system, enabling precise determination of the spin axis in the steady period.
Accurately calculates the spin axis during the transition period, allowing for precise determination of the spin axis in the steady period, enhancing the accuracy of spin axis calculation in the global coordinate system.
Smart Images

Figure 0007573586000039 
Figure 0007573586000040 
Figure 0007573586000041
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an analysis device and an analysis method. [Background technology]
[0002] In recent years, a method for measuring parameters such as the rotation speed and the direction of the rotation axis by using information from a sensor built into the ball has been known. For example, JP 2017-90433 A (Patent Document 1) discloses a ball rotation direction detection system. The ball rotation direction detection system includes a magnetic sensor fixed to the ball, an acceleration sensor, a direction storage unit that stores the moving direction, a dip angle storage unit that stores the dip angle of the geomagnetic field, and a calculation unit. The calculation unit calculates the orientation of the rotation axis of the ball relative to the traveling direction and the direction of gravity and the rotation direction based on the geomagnetic vector, the acceleration vector, the moving direction, the dip angle, and the time change of the geomagnetic vector or the acceleration vector. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-90433 A Summary of the Invention [Problem to be solved by the invention]
[0004] When a subject (e.g., a pitcher) pitches a ball to an opponent (e.g., a catcher), the ball approaches the catcher through an acceleration period in which the ball accelerates (e.g., a period in which the translational velocity of the ball increases from a stationary state), a transition period (e.g., a period in which the translational velocity of the ball is almost at its maximum and the magnitude and direction of the ball's spin change suddenly), and a stationary period after the ball is released. In the transition period, the translational acceleration peaks and the ball's spin amount and spin axis change suddenly. Here, in order to accurately calculate the spin axis in the stationary period, it is necessary to accurately calculate how the spin axis changes in the transition period, which is the period before the stationary period and in which the spin axis changes suddenly. Patent Document 1 does not teach or suggest any means for solving this problem.
[0005] An object in one aspect of the present disclosure is to provide an analysis device and an analysis method that are capable of accurately calculating the spin axis of a ball in a transition period, thereby accurately calculating the spin axis in a steady period. [Means for solving the problem]
[0006] An analysis device according to an embodiment includes an acquisition unit that acquires time-series triaxial acceleration data and triaxial geomagnetic data detected by a sensor built into a ball thrown by a subject, a first spin vector calculation unit that calculates a spin vector of the ball in a first coordinate system fixed to the ball in a stationary period after the ball is thrown based on the triaxial geomagnetic data, an instantaneous spin vector calculation unit that calculates an instantaneous spin vector of the ball in the first coordinate system in time series based on the triaxial geomagnetic data and the triaxial acceleration data, and a coordinate conversion unit that calculates a coordinate conversion matrix from the first coordinate system to a second coordinate system fixed to an absolute space using the time-series instantaneous spin vector. The coordinate conversion unit uses the coordinate conversion matrix to convert the geomagnetic vector in the first coordinate system based on the triaxial geomagnetic data into a geomagnetic vector in the second coordinate system, convert the acceleration vector in the first coordinate system based on the triaxial acceleration data into an acceleration vector in the second coordinate system, and convert the spin vector of the ball in the stationary period into the spin vector of the ball in the second coordinate system. The analysis device further includes a direction calculation unit that calculates the ball's release direction in the second coordinate system based on the acceleration vector in the second coordinate system, and a second spin vector calculation unit that calculates the ball's spin vector in the steady phase relative to the release direction in the second coordinate system and the direction of gravity based on the geomagnetic vector in the second coordinate system, the ball's release direction in the second coordinate system, and the spin vector of the ball in the second coordinate system in the steady phase.
[0007] An analysis method according to another embodiment includes the steps of acquiring time-series triaxial acceleration data and triaxial geomagnetic data detected by a sensor built into the ball released by the subject, calculating a spin vector of the ball in a first coordinate system fixed to the ball during a stationary period after the ball is released based on the triaxial geomagnetic data, calculating an instantaneous spin vector of the ball in the first coordinate system in time series based on the triaxial geomagnetic data and the triaxial acceleration data, calculating a coordinate transformation matrix from the first coordinate system to a second coordinate system fixed in absolute space using the time-series instantaneous spin vector, and calculating a second coordinate system based on the triaxial geomagnetic data using the coordinate transformation matrix. The method includes the steps of: coordinate transforming the geomagnetic vector in one coordinate system to the geomagnetic vector in a second coordinate system; coordinate transforming the acceleration vector in the first coordinate system based on the three-axis acceleration data to the acceleration vector in the second coordinate system; and coordinate transforming the spin vector of the ball in the first coordinate system in the steady phase to the spin vector of the ball in the second coordinate system; calculating the release direction of the ball in the second coordinate system based on the acceleration vector in the second coordinate system; and calculating the spin vector of the ball in the steady phase relative to the release direction and the direction of gravity in the second coordinate system based on the geomagnetic vector in the second coordinate system, the release direction of the ball in the second coordinate system, and the spin vector of the ball in the second coordinate system in the steady phase. Effect of the Invention
[0008] According to the present disclosure, by accurately calculating the spin axis of the ball in the transition period, it is possible to accurately calculate the spin axis in the steady period. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram for explaining an overall configuration of an analysis device. [Diagram 2] FIG. 2 is a block diagram showing a hardware configuration of the terminal device. [Diagram 3] FIG. 2 is a block diagram showing a hardware configuration of a sensor device. [Figure 4] 10 is a flowchart illustrating an example of the operation of the analysis device. [Diagram 5] FIG. 13 is a diagram showing a change in acceleration over time. [Figure 6] FIG. 4 is a diagram showing a change in a differential value of geomagnetic data over time. [Figure 7] FIG. 13 is a diagram for explaining a method for setting a target section. [Figure 8] FIG. 13 is a diagram for explaining the calculation principle of the spin axis in the steady state. [Figure 9] FIG. 2 is a diagram for explaining the distribution of geomagnetic vectors. [Figure 10] FIG. 13 is a diagram for explaining a relational expression of an approximation line. [Figure 11] 1 is a diagram for explaining the relationship between an instantaneous spin vector and a geomagnetic component and an orthogonal component. FIG. [Figure 12] FIG. 13 is a diagram showing the relationship between a moment of inertia, a position vector, and an acting force. [Figure 13] FIG. 2 is a diagram for explaining the direction of a spin axis. [Figure 14] FIG. 13 is a diagram for explaining a spin vector in the final coordinate system. [Figure 15] FIG. 13 is a diagram showing a user interface screen. [Figure 16] 2 is a block diagram showing an example of a functional configuration of a sensor device 20. FIG. [Figure 17] FIG. 13 is a diagram for explaining a method for determining a glove-smacking motion. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the following description, the same components are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
[0011] <Overall composition> Fig. 1 is a diagram for explaining the overall configuration of analysis device 1000. Referring to Fig. 1, analysis device 1000 is a device for analyzing the rotation axis (hereinafter also referred to as "spin axis") of baseball ball 2 released (for example, thrown) by subject 5 who is a pitcher.
[0012] Analysis device 1000 includes terminal device 10 and ball 2 incorporating sensor device 20. In this embodiment, sensor device 20 has a function of analyzing the spin axis of ball 2, and terminal device 10 has a function of displaying the analysis results obtained by sensor device 20.
[0013] The terminal device 10 is configured as a smartphone. However, the terminal device 10 can be realized as any device regardless of the type. For example, the terminal device 10 may be a laptop personal computer (PC), a tablet terminal, a desktop PC, etc.
[0014] The terminal device 10 communicates with the sensor device 20 by a wireless communication method. For example, BLE (Bluetooth (registered trademark) low energy) is adopted as the wireless communication method. However, the terminal device 10 may adopt other wireless communication methods such as Bluetooth (registered trademark), wireless LAN (local area network), etc.
[0015] The sensor device 20 detects acceleration and a magnetic field (magnetic flux density) in a coordinate system (hereinafter also referred to as the "ball coordinate system") fixed to the ball 2. Specifically, the sensor device 20 includes an acceleration sensor and a geomagnetic sensor. The acceleration sensor detects time-series acceleration data (e.g., acceleration vector) indicating acceleration in three mutually orthogonal axis directions (x-axis, y-axis, z-axis). The geomagnetic sensor detects time-series geomagnetic data (e.g., geomagnetic vector) indicating magnetic field (magnetic flux density) in three mutually orthogonal axis directions. For the geomagnetic sensor, for example, an MR (Magnet resistive) element, an MI (Magnet impedance) element, a Hall element, or the like is used.
[0016] The sensor device 20 executes a predetermined analysis process based on the detected sensor data (for example, time-series acceleration data and geomagnetic data) to calculate the spin axis and spin amount (i.e., spin vector) of the ball 2. The terminal device 10 receives the spin axis, spin amount, etc. from the sensor device 20 and displays them on the display.
[0017] <Hardware configuration> (Terminal device 10) Fig. 2 is a block diagram showing a hardware configuration of the terminal device 10. Referring to Fig. 2, the terminal device 10 includes, as main components, a processor (Central Processing Unit) 102, a memory 104, a touch panel 106, a display 110, a wireless communication unit 112, a communication antenna 113, a memory interface (I / F) 114, a speaker 116, a microphone 118, and a communication interface (I / F) 120. In addition, the recording medium 115 is an external storage medium.
[0018] The processor 102 controls the operation of each part of the terminal device 10 by reading and executing a program stored in the memory 104. The processor 102 is typically an arithmetic processing unit such as a CPU (Central Processing Unit) or an MPU (Multi Processing Unit). The memory 104 is realized by a RAM (Random Access Memory), a ROM (Read-Only Memory), a flash memory, or the like. The memory 104 stores the program executed by the processor 102, data used by the processor 102, and the like.
[0019] The touch panel 106 is provided on a display 110 that functions as a display unit. A wireless communication unit 112 connects to a mobile communication network via a communication antenna 113 and transmits and receives signals for wireless communication.
[0020] The memory interface (I / F) 114 reads data from an external recording medium 115. The processor 102 reads data stored in the external recording medium 115 via the memory interface 114 and stores the data in the memory 104. The processor 102 reads data from the memory 104 and stores the data in the external recording medium 115 via the memory interface 114. Examples of the recording medium 115 include media that store programs in a non-volatile manner, such as a USB (Universal Serial Bus) memory or a hard disk.
[0021] The speaker 116 outputs sound based on a command from the processor 102. The microphone 118 accepts speech to the terminal device 10. The communication interface (I / F) 120 is, for example, a communication interface for transmitting and receiving data between the terminal device 10 and the sensor device 20. The communication method is, for example, wireless communication using BLE, wireless LAN, or the like.
[0022] (Sensor device 20) Fig. 3 is a block diagram showing a hardware configuration of the sensor device 20. Referring to Fig. 3, the sensor device 20 includes, as main components, a processor 202 for executing various processes, a memory 204 for storing programs and data executed by the processor 202, an acceleration sensor 205, a geomagnetic sensor 206, a communication interface (I / F) 210 for communicating with the terminal device 10, and a storage battery 212 for supplying power to the various components of the sensor device 20.
[0023] <Example of operation> Fig. 4 is a flowchart for explaining an example of the operation of analysis device 1000. Typically, among the steps shown in Fig. 4, the steps performed by terminal device 10 are realized by processor 102, and the steps performed by sensor device 20 are realized by processor 202. Here, a flow will be explained in which analysis device 1000 analyzes sensor data detected by a sensor built into ball 2 thrown by subject 5 and displays various information.
[0024] The sensor device 20 (processor 202) acquires time-series acceleration data in three-axis directions (hereinafter also referred to as "three-axis acceleration data") detected by the acceleration sensor 205 and time-series geomagnetic data in three-axis directions (hereinafter also referred to as "three-axis geomagnetic data") detected by the geomagnetic sensor 206 (step S10). The acquired three-axis acceleration data and three-axis geomagnetic data are data in the ball coordinate system.
[0025] The sensor device 20 interpolates the time-series three-axis acceleration data and three-axis geomagnetic data by spline interpolation (step S12). Ideally, the three-axis acceleration data and three-axis geomagnetic data should be acquired at a constant sampling interval (for example, 2 ms), but data may be lost due to communication problems, etc. The process of step S12 is a process of interpolating this missing data by spline interpolation.
[0026] Next, the sensor device 20 calculates the reference time t0 at which the subject 5 releases the ball 2 based on the three-axis acceleration data (step S14). x ,a y ,a z ) is calculated as the reference time t0.
[0027] Fig. 5 is a diagram showing a change in acceleration over time. The horizontal axis of Fig. 5 indicates time, and the vertical axis indicates the acceleration of the ball. With reference to Fig. 5, the sensor device 20 sets the time when the acceleration is at a maximum as a reference time t0. The sensor device 20 stores the reference time t0 in the memory 204.
[0028] In addition, in order to reduce the influence of high-frequency noise, a moving average of the three-axis acceleration data may be used. In this case, the three-axis acceleration data (a' x.t ,a' y.t ,a' z.t) is represented by the following formula (1). Hereinafter, for ease of explanation, even when using a moving average, it is simply referred to as three-axis acceleration data (a x , a y , a z ).
[0029]
Equation
[0030] Referring to FIG. 4 again, the sensor device 20 calculates the start time t B of the pitching motion based on the three-axis geomagnetic data (step S16). For example, the sensor device 20 calculates the differential value of the three-axis geomagnetic data (M x , M y , M z ) in a predetermined interval where t < t0 (for example, t0 - 100 ms < t < t0), and calculates the time when the minimum value of the absolute value appears as the start time t B of the pitching motion.
[0031] FIG. 6 is a diagram showing the time change of the differential value of the geomagnetic data. The horizontal axis in FIG. 6 represents time, and the vertical axis represents the differential value of the geomagnetic data. Referring to FIG. 6, the sensor device 20 sets the time when the differential value of the geomagnetic data is minimum as the start time t B of the pitching motion. The sensor device 20 stores the start time t B in the memory 204.
[0032] Note that in order to avoid the influence of high-frequency noise, the differential value of the three-axis geomagnetic data (M x , M y , M z ) may be calculated as follows in Equation (2) using a five-point moving quadratic approximation.
[0033]
Equation
[0034] Referring again to FIG. 4, the sensor device 20 sets a target section Tx for calculating the spin vector (the direction of the spin axis and the amount of spin) with respect to the pitching direction and the gravitational direction during the steady period based on the three-axis geomagnetic data (step S18).
[0035] FIG. 7 is a diagram for explaining the setting method of the target section Tx. The waveform in FIG. 7 shows the time-series geomagnetic data of a certain channel. Here, the sensor device 20 uses the geomagnetic data M x to determine the timing at which the sign of the difference reverses (i.e., the zero-crossing time). Preferably, among the three-axis geomagnetic data, the geomagnetic data with the largest amplitude (i.e., the largest difference between the maximum value and the minimum value) is used. Starting from the initial state where k = 0, the process according to the following formula (3) is executed until k ≧ 4. Specifically, the difference between the geomagnetic data M x.t+Δt at time (t + Δt) and the geomagnetic data M x.t-Δt at time (t - Δt), and the product of the difference between the geomagnetic data M x.t and the geomagnetic data M x.t-2Δt at time (t - 2Δt) is negative, then k is incremented. Note that Δt represents the sampling interval.
[0036]
Equation
[0037] The sensor device 20 sets the section of time t satisfying t2 ≦ t < t4 as the target section Tx. Referring again to FIG. 4, the sensor device 20 calculates the spin axis of the ball during the steady period (step S20).
[0038] FIG. 8 is a diagram for explaining the calculation principle of the spin axis in the steady state. With reference to FIG. 8, when the ball 2 has a constant rotation speed ω (i.e., spin amount ω), a constant vector r (e.g., the geomagnetic vector) fixed in absolute space describes a cone with itself (constant vector r) as the generating line in a coordinate system fixed to the ball 2 (i.e., the ball coordinate system). Furthermore, the tip of the constant vector r describes a circle on a plane Q perpendicular to the spin axis in the ball coordinate system. Even if there is an offset error of the geomagnetic sensor, the plane Q moves horizontally but its direction does not change. If the direction cosine of the spin axis perpendicular to the plane Q is (l ω ,m ω ,n ω ), and the distance between the plane Q and the origin O (i.e., the center of the ball 2) is h, the following equation (4) is established using the three-axis geomagnetic data.
[0039]
number
[0040] In this specification, for a symbol with a caret, for example, when the symbol is "h", it is expressed as in the following formula (5) for convenience of notation.
[0041]
number
[0042] That is, the symbol h with a caret above it and the same symbol h with a caret next to it indicate the same variable. The symbol with the caret above it is used in mathematical expressions, while the symbol with the caret next to it is used in text.
[0043] The sensor device 20 solves the least squares equation (7) using equation (6) to obtain the direction cosine (l) of the spin axis in the ball coordinate system, as shown in equations (8) and (9). ω ,m ω ,n ω) and distance h. Equation (7) is the condition for minimizing the sum of squares of the difference between the right-hand side and the left-hand side of equation (4).
[0044]
number
[0045] Through the above process, the sensor device 20 calculates the direction of the spin axis in the ball coordinate system (i.e., the direction cosine). Note that, when the spin amount ω is used, the spin vector ω in the ball coordinate system is calculated as spin (ωl ω ,ωm ω ,ωn ω )
[0046] 4 again, the sensor device 20 executes offset processing of the geomagnetic sensor 206 (step S22). In many cases, the geomagnetic sensor 206 observes a value to which an offset amount has been added due to its characteristics. Therefore, the offset amount is removed by correcting the three-axis geomagnetic data of the geomagnetic sensor 206. The method of offset processing will be described later in detail.
[0047] The sensor device 20 calculates the amount of spin ω by projecting the geomagnetic vector onto the plane Q (step S24). The method of calculating the amount of spin ω will be described later in detail.
[0048] The sensor device 20 calculates the instantaneous spin vector of the ball 2 in the ball coordinate system in time series based on the three-axis geomagnetic data and the three-axis acceleration data (step S26). The instantaneous spin vector is calculated by dividing the instantaneous spin vector ω t The method for calculating the instantaneous spin vector will be described in detail later.
[0049] The sensor device 20 calculates a geomagnetic vector in the ball coordinate system based on the three-axis geomagnetic data, an acceleration vector in the ball coordinate system based on the three-axis acceleration data, and a spin vector ω spinThe sensor device 20 executes a coordinate conversion process to convert the ball coordinate system into a global coordinate system (i.e., an absolute coordinate system) fixed in absolute space (step S28). Specifically, the sensor device 20 calculates a coordinate conversion matrix from the ball coordinate system to the absolute coordinate system using the time-series instantaneous spin vector, and executes the above-mentioned coordinate conversion process using the coordinate conversion matrix. The details of the coordinate conversion process will be described later.
[0050] The sensor device 20 detects the time t B Based on the acceleration vector in the global coordinate system observed at reference time t0, the direction in which the ball 2 is released (thrown) (hereinafter also referred to as the "throwing direction") is calculated (Step S30). The method of calculating the pitching direction in the global coordinate system will be described in detail later.
[0051] The sensor device 20 is configured to calculate the geomagnetic vector in the absolute coordinate system, the pitching direction in the absolute coordinate system, and the spin vector ω spin Based on this, the spin vector of the ball 2 in the steady state is calculated with respect to the pitching direction and the direction of gravity in the absolute coordinate system (step S32). For example, the sensor device 20 calculates the spin vector in the steady state in a coordinate system in which the pitching direction is the x-axis, the direction of gravity is the y-axis, and the direction perpendicular to the x-axis and y-axis is the z-axis. The method of calculating the spin vector will be described in detail later.
[0052] The terminal device 10 (processor 102) receives various information such as the spin amount and spin axis calculated by the sensor device 20, and displays the various information on the display 110 (step S34).
[0053] <Offset processing of geomagnetic sensor> The offset processing method for the geomagnetic sensor in step S22 of FIG. 4 will now be described in detail.
[0054] In order to correct the offset amount of the geomagnetic data, the sensor device 20 calculates the projection of the tip of the geomagnetic vector onto the plane Q (see FIG. 8). Specifically, the direction cosines (l1^, m1^, n1^) are defined as in equation (10) using the geomagnetic vector at time t0, direction cosines (l2, m2, n2) are obtained using equations (11) and (12), and direction cosines (l1, m1, n1) are defined using equation (13).
[0055]
number
[0056] Equation (11) expresses that the direction cosines (l^, m^, n^) are the direction cosines of the spin axis in the ball coordinate system (l ω ,m ω ,n ω Equation (13) shows that the direction cosine (l1, m1, n1) is expressed as the cross product of the direction cosine (l2, m2, n2) and the direction cosine (l ω ,m ω ,n ω ) in the ball coordinate system. Therefore, the direction cosines (l1, m1, n1) and (l2, m2, n2) are the direction cosines (l ω ,m ω ,n ω ), and (u,v) is defined as in equation (14).
[0057]
number
[0058] Using equation (15), we obtain an approximate circle with center (u0, v0) and radius r. Since equation (15) can be transformed into equation (16), we can generate the simultaneous equations shown in equation (17). x is the number of samples in the target section Tx.
[0059]
number
[0060] The parameters of the approximation circle (i.e., u0, v0, r) can be calculated by solving the above simultaneous equations. The parameters of the approximation circle determine the amount of correction on the rotation plane, but not the amount of correction in the depth direction (spin axis direction). To determine the amount of correction in the depth direction, the distance d in the depth direction is also calculated at the same time as the projection (u, v) onto the rotation plane. If (u, v, d) are defined as in equation (18), then since the length of the geomagnetic vector is invariant, the tip of the geomagnetic vector is distributed on a sphere expressed by equation (19).
[0061]
number
[0062] The relationship expressed by equation (19) is shown in Figure 9. Figure 9 is a diagram for explaining the distribution of geomagnetic vectors. The dotted u-axis, v-axis, and d-axis indicate the coordinate axes without offset error. The solid u-axis, v-axis, and d-axis indicate the coordinate axes with offset error. Coordinates (u0, v0, d0) are the coordinates of the center O of a sphere of radius R.
[0063] The amount of correction d0 in the depth direction can be found by finding the approximate sphere shown in FIG. 9. The above equation (19) is transformed to obtain the following equation (20). From equation (20), it can be seen that in order to find the amount of correction d0 in the depth direction, it is sufficient to find an approximate straight line. If the amount of correction d0 is zero, the approximate straight line will be a horizontal line, and if it is not zero, it will have a gradient. The approximate straight line can be obtained by solving the simultaneous equations shown in the following equation (21). N indicates the number of sampling data points in the entire section.
[0064]
number
[0065] Fig. 10 is a diagram for explaining the relational expression of the approximation line. Referring to Fig. 10, the horizontal axis of Fig. 10 is d, and the vertical axis is "(u-u0) 2 +(v-v0) 2 +d 2 In this case, the approximation line is shown as in FIG.
[0066] As a result, all correction amounts (i.e., u0, v0, d0) are determined, and the geomagnetic vector (three-axis geomagnetic data) after the offset amount correction can be obtained by equation (22).
[0067]
number
[0068] In the processes from step S22 onward in FIG. 4, the geomagnetic vector (three-axis geomagnetic data) after offset correction is used.
[0069] <Spin amount calculation method> The method of calculating the spin amount in step S24 of FIG. 4 will now be described in detail.
[0070] When the ball 2 is rotating with a constant spin rate ω, the vector fixed in absolute space is expressed as the direction cosine (l ω ,m ω ,n ω ) at a constant sampling interval Δt, an angular displacement Δθ occurs. The angular displacement Δθ can be calculated using the geomagnetic vector (u,v) projected onto the rotation plane used to calculate the offset of the geomagnetic data. Specifically, offset correction is performed using equation (23). In the following processing, (u,v) is the data after offset correction. Furthermore, if (c,s) is defined as in equation (24), equation (25) holds. Based on equation (25), the relationship in equation (26) can be derived.
[0071]
number
[0072] Using the relationship in equation (26) over the entire target section Tx, calculate (C, S) defined in equation (27). In a stable spin state, theoretically, (c, s) and (u t 2 +v t 2 ) 1 / 2 " is a constant value, but fluctuations due to noise must be taken into consideration. Therefore, in equation (27), (C,S) is calculated by adding the right side of equation (26) over the entire target section Tx. Using (C,S) calculated in equation (27), equation (28) calculates (c,s) as a unit vector with a magnitude of "1". Using the calculated (c,s), Δθ is expressed by equation (29). Therefore, the spin amount ω can be calculated as shown in equation (30).
[0073]
number
[0074] <Calculation method of instantaneous spin vector> The method of calculating the instantaneous spin vector in step S26 of FIG. 4 will now be described in detail.
[0075] During the pitching motion before the ball is released, the ball rotates while changing its spin axis. After the ball is released, it continues to rotate while keeping the spin axis constant. Using a gyro sensor, it is possible to track this series of changes in angular motion, but due to restrictions such as the dynamic range of the gyro sensor, it becomes impossible to track the angular motion during high-speed rotation. In this embodiment, the time change in the geomagnetic field is used to solve this problem. In the following, it is assumed that the geomagnetic vector is a unit vector with a magnitude of "1".
[0076] Spin vector (angular velocity vector) ω at time t t The component around the geomagnetic field (vector) ω M.t and the orthogonal component (vector) ωD.t ω t is also called the “instantaneous spin vector” because it is the spin vector at a certain instant.
[0077] 11 is a diagram for explaining the relationship between the instantaneous spin vector and the geomagnetic component and the orthogonal component. t , the geomagnetic component ω M.t , and the quadrature component ω D.t The relationship is expressed by the following equation (31). Let M t Then, the component around the geomagnetic field ω M.t is expressed by the following formula (32). In the following formulas, vectors are written in bold and the magnitude of the vector is written in thin type, as in formula (32). Therefore, in formulas, the magnitude |ω| of vector ω is simply written as "ω" in thin type (for example, in formula (32), the bold vector ω M.t The size of is a thin ω M.t It is written in .) Next, equation (33) is obtained from equations (31) and (32). The time derivative of the geomagnetic vector M t · is expressed by equation (34). Also, the orthogonal component ω D.t is the geomagnetic vector M t and the time derivative M t Since it is expressed as the cross product with ·, the relationship of equation (35) is obtained. t " is M t This also applies to the other characters below.
[0078]
number
[0079] Next, the time derivative vector of the angular velocity “ω t ” is the position vector r from the center of the ball to the point of action t and the force vector f at the point of application tThe mass of the ball is m, the moment of inertia is I, and the acceleration vector of the ball at time t is a t Then, the relationship between these is expressed as shown in equation (36).
[0080]
number
[0081] FIG. 12 is a diagram showing the relationship between the moment of inertia, the position vector, and the acting force. With reference to FIG. 12, the time differential vector “ω t ” is the position vector r t and the force vector f t That is, the time differential vector “ω t ” and the force vector f t The inner product with is 0. Therefore, the following relational equation (37) is obtained. Furthermore, by taking into account the definition of angular velocity shown in equation (33), equation (37) can be expressed as equation (38). By approximating the differential equation shown in equation (38) with a difference equation, the following equation (39) is obtained. Δt indicates the sampling interval.
[0082]
number
[0083] Here, A t , B t , C t If we define it as the following equation (40), the geomagnetic component ω M.t Here, we can obtain the difference equation for B t When ≠ 0, the component ω around the geomagnetic field can be calculated by solving the difference equation (41). M.t This allows us to obtain the geomagnetic component ω M.t On the other hand, B t In the case of =0, the component around the geomagnetic field ω M.t However, the geomagnetic field components ω M.tIt is not possible to obtain the change before and after (i.e., the geomagnetic component ω M.t cannot be obtained).
[0084]
number
[0085] Therefore, the geomagnetic component ω can be calculated by either of the following two methods: M.t Request. The first method is to estimate the geomagnetic component ω by function approximation. M.t First, assume that the geomagnetic component changes around time t as shown in Equation (43). k Using the relationship in equation (43), equation (44) can be written as equation (45).
[0086]
number
[0087] If the error evaluation function is defined as in equation (46) with "2N+1" as the number of points for function approximation, the condition for minimizing this error evaluation function is expressed as in equation (47). Therefore, the simultaneous equations shown in equation (48) can be obtained.
[0088]
number
[0089] By solving the simultaneous equations, ω t0 and Δω t Therefore, from equation (43), the geomagnetic component ω M.t can be sought.
[0090] The second method is to calculate the geomagnetic component ω M.t This is a method to find the Geomagnetic component ω at time t before correction M.t is modified as shown in equation (49). In this case, the error ε' of the modified differential equation is t is expressed as in equation (50). As is clear from equation (50), this correction also affects the time error before and after time t. Specifically, equation (51) holds.
[0091]
number
[0092] Here, the error of the difference equation at time t before correction is ε t Then, ε t is expressed by equation (52). Therefore, equation (53) holds for the error before and after the corrected time t.
[0093]
number
[0094] Here, E t If we define E as in the following equation (54), t The condition for minimizing is expressed by the following equation (55). Therefore, the following equation (56) must be satisfied, so the correction amount δω M.t is expressed by the following equation (57).
[0095]
number
[0096] However, if 0≦t≦T, then ε only occurs in the range of Δt≦t≦T-Δt. t Therefore, δω M.0 , δω M.Δt , δω M.T-Δt , δω M.T need to be expressed as the following equations (58), (59), (60), and (61), respectively.
[0097]
number
[0098] From the above, the correction amount δω at each time t M.t This can be used to obtain the geomagnetic component ω M.t If the correction is made, the correction value may diverge. Therefore, the reduction coefficient η (where 0<η<1) is used to correct the geomagnetic component ω M.t Execute the correction.
[0099]
number
[0100] Corrected ω' M.t The uncorrected ω in the next iteration M.t For example, in actual calculations, if η = 0.7, divergence is suppressed, and the calculation begins to converge after about 5 iterations, and sufficient accuracy is obtained after about 10 iterations. M.t The initial values of all should be set to 0.
[0101] The geomagnetic component ω M.t If we can obtain the instantaneous spin vector ω t The instantaneous spin vector ω given by equation (63) can be determined as t is the instantaneous spin vector of the space relative to the ball. Therefore, the instantaneous spin vector of the ball relative to the space, ω s.t is the inverted vector, which is expressed by equation (64).
[0102]
number
[0103] This gives the instantaneous spin vector ωt is obtained. <Coordinate conversion processing> The coordinate conversion process in step S28 in FIG. 4 will now be described in detail.
[0104] Consider transforming each vector (e.g., spin vector, geomagnetic vector, acceleration vector) in the ball coordinate system (herein also referred to as the "local coordinate system") into an absolute coordinate system (herein also referred to as the "global coordinate system") fixed in absolute space.
[0105] Assuming that the local coordinate system and the global coordinate system at the reference time t0 are the same, the equation (65) holds if the coordinate transformation matrix from the local coordinate system to the global coordinate system of an arbitrary vector (e.g., the geomagnetic vector) x0 fixed in space is R0. The vector x in the local coordinate system at an arbitrary time (e.g., t = kΔt) is x k Let R be the coordinate transformation matrix of vector x0 to the global coordinate system. k Then, equation (66) holds, where k is an integer equal to or greater than 0.
[0106]
number
[0107] The value of vector x0 in the local coordinate system at time kΔt after Δt (i.e., t=(k+1)Δt) is x k+1 Let us suppose that it is obtained as x k and x k+1 If the relationship between these is as shown in equation (67), then equation (68) holds. Therefore, the coordinate transformation matrix R k+1 is expressed by equation (69).
[0108]
number
[0109] ΔR k -1is the instantaneous spin vector ω of the rotation of the space relative to the ball in the local coordinate system. k The spin vector ω in the local coordinate system at a certain moment can be calculated from k (That is, the instantaneous spin vector ω t ) is calculated as above.
[0110] First, as shown in equation (70), the spin vector ω k The spin vector ω is transformed from the local coordinate system to the global coordinate system. k The magnitude of the spin vector ω k The direction cosine of and the rotation angle θ, which indicates the angle that the space rotates around the spin axis with respect to the ball per unit time (Δt), are defined as in Equation (71), Equation (72), and Equation (73), respectively. In this case, ΔR k -1 is expressed by the Rodrigues rotation formula as shown in equation (74).
[0111]
number
[0112] ΔR k -1 Using the spin vector ω k , the geomagnetic vector M k and the acceleration vector a k can be converted from the local coordinate system to the global coordinate system one by one. Specifically, the coordinate conversion process is performed according to the following procedure.
[0113] First, k=0, and the coordinate transformation matrix R0 is defined as shown in equation (75). Next, the coordinate transformation matrix R k (The initial value is R0.) As shown in equation (76), the spin vector ω k Transform from the local coordinate system to the global coordinate system. Next, the coordinate transformation matrix R k Using this, the geomagnetic vector M kis transformed from the local coordinate system to the global coordinate system, and the acceleration vector a is expressed as shown in equation (78). k The spin vector ω is transformed from the local coordinate system to the global coordinate system. k Using the above, as explained in equations (70) to (74), ΔR k -1 Next, as shown in equation (79), the coordinate transformation matrix R k+1 Calculate.
[0114]
number
[0115] Then, the above procedure is repeated with k=k+1. As a result, the spin vector ω k+1 , the geomagnetic vector M k+1 , acceleration vector a k+1 is obtained.
[0116] By repeating the above procedure, the spin vector ω t , the geomagnetic vector M t , acceleration vector a t is obtained.
[0117] Here, in the steady state (for example, the period after time t2), the spin vector ω spin does not change. Therefore, in the stationary phase, the coordinate transformation matrix R k is a transformation matrix that rotates around the spin vector, so the spin vector ω spin keeps a constant value. In fact, the spin vector ω transformed into the global coordinate system given by (76) spin The average value of the above from time t2 to time t4 is set as the spin vector in the steady state in the global coordinate system. In addition, considering the influence of numerical calculation errors, it is preferable to use the value calculated in step S20 of FIG. 4 as the magnitude of this spin vector.
[0118] In addition, the coordinate transformation process according to the above procedure may cause errors due to measurement noise. Therefore, it is desirable to perform rotation correction at each step. Rotation correction is performed in two steps: correction around the rotation axis and correction of deviation from the rotation plane.
[0119] First, the correction around the rotation axis will be explained. Let the spin vector at any time t be ω t , the geomagnetic vector M t The target geomagnetic vector (for example, the geomagnetic vector of the previous frame) is M0. The spin vector ω t The unit vector e ω (Rotation axis vector e ω ) is expressed by the following equation (80). ω and the relative angle Δθ of the current geomagnetic vector with respect to the target geomagnetic vector on a plane perpendicular to the spin axis, equation (81) is established.
[0120]
number
[0121] Relative angle Δθ and unit vector e ω Once the coordinate transformation matrix is determined, the geomagnetic vector M t can be rotated for correction.
[0122] Next, the correction of the deviation from the rotation plane will be explained. The above correction around the rotation axis causes the two geomagnetic vectors to overlap on a plane perpendicular to the spin axis, but the deviation in the depth direction remains. This deviation can be corrected by the following equation (82), where Δθ is the relative angle of the corrected geomagnetic vector with respect to the target geomagnetic vector. The rotation axis vector e that needs this correction n is expressed by the following equation (83).
[0123]
number
[0124] Relative angle Δθ and unit vector e n Once the coordinate transformation matrix is determined, the geomagnetic vector M t can be rotated for correction.
[0125] <Calculating pitch direction> The method of calculating the pitch direction in step S30 of FIG. 4 will now be described in detail.
[0126] The acceleration vector a transformed into the global coordinate system by the above coordinate transformation process t The pitching direction is calculated using
[0127] First, we use the trapezoidal rule to integrate the velocity vector v t Calculate the time t B The velocity vector (v x ,v y ,v z ) is expressed by the following equation (84). In this case, the velocity vector (v x ,v y ,v z ) is expressed by the following equation (85). And the velocity vector v at t=t0 t0 The direction of the ball is defined as the pitching direction. In other words, the unit vector e pitch is expressed by the following equation (86).
[0128]
number
[0129] <Calculation of spin vector in final coordinate system> A detailed description will be given of the method for calculating the spin vector in step S32 in Fig. 4. In the above process, the pitch direction and the spin axis direction (spin vector) in the global coordinate system have been determined, but the direction of gravity is unknown.
[0130] Consider a coordinate system in which the pitching direction is the x-axis, the axis perpendicular to the plane containing the pitching axis (pitching direction) and spin axis is the y-axis, and the right-handed axis perpendicular to the x-axis and y-axis is the z-axis. t The geomagnetic vector M at t=t0 t0 The components of the geomagnetic vector M are expressed by equation (87). t0 The unit vector e M (i.e., the direction cosine (l M ,m M ,n M ) is expressed by the following equation (88). The geomagnetic field has a constant dip angle θ inclination (For example, in Tokyo and Osaka, this is about 49 degrees), so equation (89) holds when the y-axis is pointing correctly vertically upward.
[0131]
number
[0132] If equation (89) does not hold, the unit vector e M By rotating around the x-axis (throwing direction), we obtain the correct unit vector e M.correct Convert to unit vector e M.correct is expressed as the following equation (90), the following equation (91) must hold due to the constraints on the dip angle.
[0133]
number
[0134] If the correction rotation angle is θ and (c, s) is defined as in (92), then equation (93) is established. Since equation (94) can be derived from equation (93), (c, s) can be expressed from equation (94) as in equation (95).
[0135]
number
[0136] where n M.correct There are two possible solutions for . Consider two rotation matrices R1 and R2 whose corresponding (c,s) are (c1,s1) and (c2,s2), respectively, as components. Rotation matrix R1 is expressed by equation (96), and rotation matrix R2 is expressed by equation (97). Using the two rotation matrices R1 and R2, the steady-state spin vector ω spin Then, the spin vector ω spin and the reference spin vector ω ref The degree of agreement C1 with the rotation matrix R2 is used to transform the spin vector ω spin and the reference spin vector ω ref The degree of agreement C2 with k (k=1, 2) is expressed by equation (98).
[0137]
number
[0138] As can be seen from equation (98), the degree of agreement C k takes values from -1 to +1, and takes the maximum value (the maximum of which is +1) when the spin axis after coordinate transformation coincides with the reference value. The reference spin vector ω ref Standard values for pitch type and left-handed pitcher are used. k Rotation matrix R with large k By adopting the spin vector ω spin , geomagnetic vector M, pitching direction vector e pitch This transforms the coordinate system into the steady-state spin vector ω in a coordinate system with the pitching direction as the x-axis, the gravity direction as the y-axis, and the direction perpendicular to the x-axis and y-axis as the z-axis. spin That is, the spin vector in the stationary phase relative to the pitching direction and the gravity direction is calculated.
[0139] Such a spin vector ω spinFrom the equation, the spin amount ω is determined by equation (99), and the direction cosine (l spin ,m spin ,n spin ) to obtain the azimuth angle θ azimuth and the elevation angle θ elevation are expressed by equations (101) and (102), respectively.
[0140]
number
[0141] FIG. 13 is a diagram for explaining the direction of the spin axis. FIG. 13(a) is a diagram of a pitched ball viewed from directly above. In FIG. 13(a), the direction from the depth of the paper to the front of the paper is the vertical upward direction, and the direction from the front of the paper to the depth of the paper is the direction of gravity (vertical downward direction). In FIG. 13(b), the top of the paper is vertical upward, and the bottom of the paper is the direction of gravity. From FIG. 13(a) and FIG. 13(b), the direction of the spin axis relative to the pitching direction and the direction of gravity can be understood.
[0142] Fig. 14 is a diagram for explaining the spin vector in the final coordinate system. Referring to Fig. 14, a coordinate system is shown in which the pitching direction is the x-axis, the direction of gravity is the y-axis, and the direction perpendicular to the x-axis and y-axis is the z-axis. Also, the spin vector ω in the stationary phase converted into the global coordinate system in the above-mentioned <coordinate conversion process> is spin and the geomagnetic vector (unit vector e M ) is shown. Also, the spin vector ω spin While maintaining the relationship between the geomagnetic vector and the earth magnetic field, as above, the earth magnetic field vector is at the specified dip angle θ inclination Then, two coordinate transformation matrices R1 and R2 are calculated to obtain
[0143] Using the coordinate transformation matrix R1, the spin vector ω spin and unit vector e M By coordinate transformation, we obtain the spin vector R1ω spin and R1e MThe spin vector ω spin and unit vector e M When these are transformed into coordinate systems, the spin vector R2ω is obtained. spin and R2e M Here, in the example of FIG. 14, the spin vector Rω spin and Rω spin Of these, the reference spin vector ω ref The spin vector close to the spin vector Rω spin Therefore, the spin vector R1ω obtained by coordinate transformation using the rotation matrix R1 is spin is the spin vector in the final coordinate system.
[0144] <Calculation of various information> Various types of information displayed on the terminal device 10 in step S34 of FIG. 4 will be described.
[0145] The information indicating the spin amount ω and the direction of the spin axis (for example, θ azimuth and the elevation angle θ elevation ) is displayed, for example, as shown in FIG.
[0146] Fig. 15 is a diagram showing a user interface screen. With reference to Fig. 15, the terminal device 10 displays on the display 110 a user interface screen 600 including information on the spin received from the sensor device 20. In Fig. 15, the spin amount ω (for example, 1673.4 rpm) and the elevation angle θ elevation An example of the display (e.g., 23°) is shown.
[0147] <Functional configuration> Fig. 16 is a block diagram showing an example of a functional configuration of the sensor device 20. Referring to Fig. 16, the sensor device 20 includes an acquisition section 250, a first spin vector calculation section 252, an instantaneous spin vector calculation section 254, a coordinate conversion section 256, a direction calculation section 258, and a second spin vector calculation section 260. These are basically realized by the processor 202 of the sensor device 20, etc. Note that some or all of these functional configurations may be realized by hardware.
[0148] The acquisition unit 250 acquires time-series three-axis acceleration data and three-axis geomagnetic data detected by a sensor built into the ball 2 thrown by the subject 5. The acquisition unit 250 interpolates the three-axis acceleration data and the three-axis geomagnetic data by spline interpolation. The acquisition unit 250 also performs offset processing on the acquired three-axis geomagnetic data by executing the processing described above in <Offset processing of geomagnetic sensor> to remove the offset amount of the geomagnetic sensor 206.
[0149] Based on the three-axis geomagnetic data, the first spin vector calculation unit 252 calculates the spin vector of the ball 2 in a coordinate system fixed to the ball 2 (i.e., the ball coordinate system or the local coordinate system) in the stationary period after the ball 2 is released. Specifically, the first spin vector calculation unit 252 executes the process described in step S20 of FIG. 4 above to calculate the direction cosine (l ω ,m ω ,n ω ) and distance h. Furthermore, the first spin vector calculation unit 252 executes the process described in the above <Spin amount calculation method> to calculate the spin amount ω. As a result, the first spin vector calculation unit 252 calculates the spin vector ω in the ball coordinate system in the steady state. spin (ωl ω ,ωm ω ,ωn ω ) is calculated.
[0150] The instantaneous spin vector calculation section 254 calculates the instantaneous spin vector of the ball 2 in the ball coordinate system in time series based on the three-axis geomagnetic data and the three-axis acceleration.
[0151] Specifically, the instantaneous spin vector calculation unit 254 calculates the geomagnetic component of the instantaneous spin vector in the ball coordinate system (for example, the geomagnetic component ω M.t ) orthogonal to the orthogonal component (for example, the orthogonal component ω D.t The orthogonal component is calculated by the cross product of the instantaneous geomagnetic vector and the time derivative of the instantaneous geomagnetic vector.
[0152] The instantaneous spin vector calculation unit 254 calculates the orthogonal components, the instantaneous geomagnetic vector, and the instantaneous acceleration vector in the ball coordinate system (for example, the acceleration vector a t ) to calculate the geomagnetic component. More specifically, the instantaneous spin vector calculation unit 254 generates a differential equation (for example, equation (41)) of the geomagnetic component using the orthogonal component, the instantaneous geomagnetic vector, and the instantaneous acceleration vector of the ball coordinate system, and calculates the geomagnetic component by solving the differential equation. Then, the instantaneous spin vector calculation unit 254 calculates the instantaneous spin vector based on the geomagnetic component and the orthogonal component.
[0153] More specifically, the instantaneous spin vector calculation unit 254 executes the process described above in <Instantaneous spin vector calculation method> to calculate the instantaneous spin vector ω t Calculate.
[0154] The coordinate conversion unit 256 uses the time-series instantaneous spin vector to convert the ball coordinate system into an absolute coordinate system (global coordinate system) fixed in absolute space, using a coordinate conversion matrix (for example, a coordinate conversion matrix R k+1 The coordinate conversion unit 256 converts the geomagnetic vector in the ball coordinate system based on the three-axis geomagnetic data into a geomagnetic vector in the absolute coordinate system using a coordinate conversion matrix, converts the acceleration vector in the ball coordinate system based on the three-axis acceleration data into an acceleration vector in the absolute coordinate system, and calculates the spin vector ω in the ball coordinate system in the steady state. spin Let ω be the spin vector in the absolute coordinate system. spinMore specifically, the coordinate conversion unit 256 executes the process described above in <Coordinate conversion process>.
[0155] The direction calculation unit 258 calculates the release direction (pitching direction) of the ball 2 in the absolute coordinate system based on the acceleration vector in the absolute coordinate system. Specifically, the direction calculation unit 258 executes the process described above in <Calculation of pitching direction> to calculate the pitching direction vector (for example, unit vector e pitch ) is calculated.
[0156] The second spin vector calculation unit 260 calculates the spin vector of ball 2 in the steady phase relative to the release direction and gravity direction in the absolute coordinate system based on the geomagnetic vector in the absolute coordinate system, the release direction of ball 2 in the absolute coordinate system, and the spin vector of ball 2 in the steady phase in the absolute coordinate system. Specifically, the second spin vector calculation unit 260 executes the process described in <Calculation of spin vector in final coordinate system> to calculate the steady phase spin vector ω spin In detail, the stationary phase spin vector ω spin Orientation (e.g., azimuth angle θ azimuth and the elevation angle θ elevation ) is calculated.
[0157] <Advantages> According to this embodiment, the instantaneous spin vector during the transition period is calculated with high accuracy, and a highly accurate coordinate transformation is performed using the coordinate transformation matrix obtained from the instantaneous spin vector, so that the spin axis during the steady state period in the global coordinate system can be calculated with high accuracy.
[0158] <Other embodiments> (1) In the above-described embodiments, the sensor device 20 may have a configuration for determining an operation of hitting the glove. Here, although the pitching form varies for each pitcher, some pitchers perform an operation of hitting the glove with the ball (hereinafter, also referred to as "glove hitting operation") before the main operation of rotating the arm at high speed and then start the pitching operation. When a pitcher who performs such a glove hitting operation throws the ball 2 incorporating the sensor device 20, there is a problem that the glove hitting operation may be regarded as an actual pitch and measurement may be performed. Therefore, a method for determining whether or not it is a glove hitting operation will be described.
[0159] FIG. 17 is a diagram for explaining a method for determining a glove hitting operation. Referring to FIG. 17, the sensor device 20 acquires three-axis acceleration data (step S102). The sensor device 20 sets the time when the difference value of the three-axis acceleration data exceeds the threshold value as the catching time Tc when the other party catches the ball 2 (step S104). The difference value is, for example, the difference between the three-axis acceleration data (for example, three-axis combined acceleration) at the current time and the three-axis combined acceleration at the previous time (previous sampling time).
[0160] The sensor device 20 sets the time when the difference value of the three-axis acceleration data exceeds the threshold value (or the time when the three-axis combined acceleration becomes maximum) as the release time Tr when the ball 2 is released from the pitcher, going back from the catching time Tc (step S106). The sensor device 20 sets the value obtained by subtracting the release time Tr from the catching time Tc as the flight time Tf of the ball 2 (that is, Tf = Tc - Tr) (step S108).
[0161] The sensor device 20 determines whether the flight time Tf is within a predetermined time (that is, Tmin < Tr < Tmax) (step S110). The minimum value Tmin and the maximum value Tmax of the predetermined time are determined based on the time normally required from when the pitcher throws the ball until the catcher catches the ball. For example, Tmin is 0.35 seconds and Tmax is 1.5 seconds.
[0162] If the flight time Tf is not within the predetermined time (NO in step S110), the sensor device 20 returns to step S102. In this case, the sensor device 20 determines that a glove-smacking motion has been performed. If the flight time Tf is within the predetermined time (YES in step S110), the sensor device 20 determines that a normal pitching motion has been performed (step S112).
[0163] The processes of steps S102 to S112 may be executed as, for example, pre-processing of Fig. 4. Specifically, when it is determined in step S112 that a normal pitching motion has been performed, the process of step S10 in Fig. 4 may be started.
[0164] 17. Here, the process of acquiring three-axis acceleration data in step S102 in FIG. 17 can be substituted with the process of acquiring sensor data in step S10 in FIG. 4, and step S106 in FIG. 17 can be substituted with step S14 in FIG. 4 (release time calculation process).
[0165] Therefore, the sensor device 20 may execute step S10 (sensor data acquisition process), step S12 (spline interpolation process), and step S14 (release time calculation process) in Fig. 4, and then execute step S104 (catching time Tc setting process) in Fig. 17. Furthermore, the sensor device 20 may execute step S108 (flight time Tf setting process) using the release time calculated in step S14 and the catching time calculated in step S104, and execute step S110 (flight time Tf determination process). Then, if the sensor device 20 determines that a glove-smacking motion has been performed (NO in step S110), it may return to step S10 in Fig. 4, and if it determines that a normal pitching motion has been performed (YES in step S110, i.e., execute step S112), it may execute the processes following step S16 (pitching start time calculation process) in Fig. 4.
[0166] As described above, the sensor device 20 includes, as a functional configuration, a determination unit that determines whether or not a normal pitching motion (motion of the subject throwing a ball to an opponent) has been performed by the subject based on the three-axis acceleration data. The determination unit calculates a first time (release time) when the ball 2 is released and a second time (catching time) when the ball is caught based on the three-axis acceleration data. The determination unit calculates a flight time of the ball 2 based on the first time and the second time, and determines that a normal pitching motion has been performed by the subject when the flight time is equal to or greater than a first threshold (e.g., Tmin) and less than a second threshold (e.g., Tmax).
[0167] (2) In the above embodiment, the ball 2 with the built-in sensor is a baseball ball, but the present invention is not limited to this configuration. For example, the present invention is also applicable to a case where the ball 2 is a softball.
[0168] (3) In the above-described embodiment, the terminal device 10 may have some of the functions of the sensor device 20. For example, the terminal device 10 may have the functions of the sensor device 20 in FIG. 16. In this case, the acquisition unit of the terminal device 10 receives sensor data (e.g., acceleration, geomagnetism, etc.) detected by the sensor of the sensor device 20 and executes the above-described processing. Other functional configurations are similar to the functional configuration described in FIG. 16. Note that the terminal device 10 may have a determination unit of the sensor device 20.
[0169] (4) It is also possible to provide a program that causes a computer to function and execute the control as described in the above embodiment. Such a program can be provided as a program product by being recorded on a non-transitory computer-readable recording medium such as a flexible disk, a CD-ROM (Compact Disk Read Only Memory), a ROM, a RAM, or a memory card that comes with the computer. Alternatively, the program can be provided by being recorded on a recording medium such as a hard disk built into the computer. The program can also be provided by downloading it over a network.
[0170] (5) The configurations exemplified as the above-mentioned embodiments are merely examples of the configurations of the present invention, and may be combined with other known technologies. The present invention may also be modified, for example by omitting some parts, without departing from the gist of the present invention.
[0171] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not the above description, and is intended to include all modifications within the scope and meaning equivalent to the claims. [Explanation of symbols]
[0172] 2 ball, 5 subject, 10 terminal device, 20 sensor device, 102, 202 processor, 104, 204 memory, 106 touch panel, 110 display, 112 wireless communication unit, 113 communication antenna, 114 memory interface, 115 recording medium, 116 speaker, 118 microphone, 205 acceleration sensor, 206 geomagnetic sensor, 212 storage battery, 250 acquisition unit, 252 first spin vector calculation unit, 254 instantaneous spin vector calculation unit, 256 coordinate conversion unit, 258 direction calculation unit, 260 second spin vector calculation unit, 600 user interface screen, 1000 analysis device.
Claims
1. an acquisition unit that acquires time-series three-axis acceleration data and three-axis geomagnetic data detected by a sensor built into the ball thrown by the subject; a first spin vector calculation unit that calculates a spin vector of the ball in a first coordinate system fixed to the ball during a stationary period after the ball is released based on the three-axis geomagnetic data; an instantaneous spin vector calculation unit that calculates an instantaneous spin vector of the ball in the first coordinate system in time series based on the triaxial geomagnetic data and the triaxial acceleration data; a coordinate transformation unit that calculates a coordinate transformation matrix from the first coordinate system to a second coordinate system fixed in an absolute space by using the time-series instantaneous spin vector, the coordinate conversion unit converts a geomagnetic vector in the first coordinate system based on the three-axis geomagnetic data into a geomagnetic vector in the second coordinate system, converts an acceleration vector in the first coordinate system based on the three-axis acceleration data into an acceleration vector in the second coordinate system, and converts a spin vector of the ball in the first coordinate system during the steady period into a spin vector of the ball in the second coordinate system, using the coordinate conversion matrix; a direction calculation unit that calculates a release direction of the ball in the second coordinate system based on the acceleration vector in the second coordinate system; the analysis device further comprising a second spin vector calculation unit that calculates the spin vector of the ball in the steady phase with respect to the release direction and the direction of gravity in the second coordinate system based on the geomagnetic vector in the second coordinate system, the release direction of the ball in the second coordinate system, and the spin vector of the ball in the steady phase in the second coordinate system.
2. The instantaneous spin vector calculation unit Calculating an orthogonal component of the instantaneous spin vector of the first coordinate system that is orthogonal to a geomagnetic component on the basis of the instantaneous geomagnetic vector of the first coordinate system; Calculating the geomagnetic component based on the orthogonal component, the instantaneous geomagnetic vector, and the instantaneous acceleration vector of the first coordinate system; The analysis device according to claim 1 , wherein the instantaneous spin vector is calculated based on the geomagnetic component and the orthogonal component.
3. The analysis device according to claim 2 , wherein the orthogonal components are calculated by a cross product of the instantaneous geomagnetic vector and a time derivative of the instantaneous geomagnetic vector.
4. The instantaneous spin vector calculation unit generating a difference equation for the geomagnetic component using the orthogonal components, the instantaneous geomagnetic vector, and the instantaneous acceleration vector of the first coordinate system; 4. The analysis device according to claim 2, wherein the component around the geomagnetic field is calculated by solving the difference equation.
5. The analysis device according to claim 1 , wherein the three-axis geomagnetic data is offset-corrected.
6. 3. The analysis device according to claim 1, wherein the time-series three-axis acceleration data and the time-series three-axis geomagnetic data are interpolated by spline interpolation.
7. A determination unit that determines whether or not the subject has performed a pitching motion based on the three-axis acceleration data, The determination unit is calculating a first time when the ball is released and a second time when the ball is caught based on the three-axis acceleration data; Calculating a flight time of the ball based on the first time and the second time; The analysis device according to claim 1 , wherein when the flight time is equal to or greater than a first threshold and less than a second threshold, it is determined that a normal pitching motion has been performed by the subject.
8. A step of acquiring time series three-axis acceleration data and three-axis geomagnetic data detected by a sensor built into the ball released by the subject; calculating a spin vector of the ball in a first coordinate system fixed to the ball during a stationary period after the ball is released based on the three-axis geomagnetic data; calculating an instantaneous spin vector of the ball in the first coordinate system in time series based on the three-axis geomagnetic data and the three-axis acceleration data; calculating a coordinate transformation matrix from the first coordinate system to a second coordinate system fixed in absolute space using the time series of instantaneous spin vectors; using the coordinate transformation matrix, a geomagnetic vector in the first coordinate system based on the three-axis geomagnetic data is transformed into a geomagnetic vector in the second coordinate system, an acceleration vector in the first coordinate system based on the three-axis acceleration data is transformed into an acceleration vector in the second coordinate system, and a spin vector of the ball in the first coordinate system during the steady state period is transformed into a spin vector of the ball in the second coordinate system; calculating a release direction of the ball in the second coordinate system based on the acceleration vector in the second coordinate system; and calculating a spin vector of the ball in the steady state relative to the release direction and the direction of gravity in the second coordinate system based on the geomagnetic vector in the second coordinate system, the release direction of the ball in the second coordinate system, and the spin vector of the ball in the steady state in the second coordinate system.
Citation Information
Patent Citations
Cylindrical evaporator for ice machine
JP1986086544A
Ball rotating direction detecting system
JP2017090433A
Ball spin rate measurement system
JP2018169382A
Input device, controller, control system, control method, and hand-held device
WO2009008372A1
