Motion capture method and system based on pelma pressure and inertia fusion, computer equipment and storage medium

CN118766440APending Publication Date: 2024-10-15SOUTHWEST UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410854535.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-15

Smart Images

  • Figure CN118766440A_ABST
    Figure CN118766440A_ABST
Patent Text Reader

Abstract

The invention provides an action capture method and system based on pelma pressure and inertia fusion, computer equipment and a storage medium, effectively solves the problem of supporting leg detection of an inertia action capture method in the prior art, and creatively provides an action capture system integrating pelma pressure and inertia. According to the method, plantar pressure data and inertial data are synchronously obtained in real time, according to accurate judgment of the plantar pressure level of a user, human body mass center updating calculation is conducted, human body posture updating and displacement updating are synchronously conducted, and therefore the human body motion capture precision in motion presentation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and more specifically, to a motion capture method, system, computer equipment and storage medium based on the fusion of plantar pressure and inertia. Background Art

[0002] Motion capture is to track and reconstruct the spatial posture of the human body. Trackers are set on the surface of each segment of the body. The computer receives data from the tracker and calculates the three-dimensional coordinates of each segment. By establishing data mapping with the virtual human model, the virtual model is driven to simulate the real human posture and movement. With the development of related technologies, motion capture has been widely used in many fields, including but not limited to animation production, virtual reality, sports rehabilitation, etc. At present, there are two mainstream motion capture methods: optical method and inertial method.

[0003] The optical motion capture method requires the installation of multiple cameras in space in advance and the arrangement of optical markers on the human body. It has high capture accuracy and strong real-time performance, and can capture multiple human targets at the same time. Its main disadvantages are high price and complex system. It relies on known camera alignment, making this method unsuitable for daily life or rehabilitation situations.

[0004] The inertial method uses sensors for motion capture, which has the advantages of miniaturization, low cost and high robustness to different environments. However, it should be noted that human motion capture is not only about capturing postures, displacement estimation is also one of the important links in human motion capture. At present, displacement estimation of inertial motion capture methods often relies on supporting leg detection algorithms at different stages. Due to factors such as solution accuracy and the measurement noise of the sensor itself, the supporting leg is often inaccurately judged, resulting in problems such as accumulated displacement estimation errors. Especially in the case of rapid movement, it has great limitations. In the prior art, there is no integrated plantar pressure and inertia motion capture device with a sensor network synchronization accuracy of milliseconds. Summary of the invention

[0005] The present invention provides a motion capture method, system, computer equipment and storage medium based on the fusion of plantar pressure and inertia, which effectively solves the problems of inaccurate judgment of the supporting leg leading to the accumulation of displacement estimation errors in the existing inertial method for motion capture.

[0006] The present invention provides a motion capture method based on plantar pressure and inertia fusion, comprising:

[0007] Establish a skeleton vector table to calibrate the initial posture of the virtual human model;

[0008] Obtain human body inertial posture data, obtain the body posture of the virtual human model through the posture solution algorithm, and perform posture update;

[0009] Synchronously obtain the plantar pressure data of the left and right feet of the human body to determine the current supporting foot;

[0010] Taking the current supporting foot as the root node, the coordinates of the current center of mass of the virtual human body are calculated and the displacement is updated.

[0011] Furthermore, the present invention also provides a motion capture system based on the fusion of plantar pressure and inertia, comprising:

[0012] Data acquisition module: used to synchronously and real-time collect body posture data and left and right foot pressure data;

[0013] A convergence terminal module, used for receiving the body posture data and the left and right foot plantar pressure data, and sending the body posture data and the left and right foot plantar pressure data to a posture solving module;

[0014] A posture solving module receives the body posture data and the left and right foot pressure data transmitted by the convergence terminal module, solves them into body posture quaternion, updates the current posture, updates the current human body center of mass coordinates, and updates the displacement;

[0015] A human body posture presentation module is used to receive the joint posture quaternion, the body posture quaternion and the center of mass coordinates, control the movement of the virtual human body model, and present the current human body movement in real time;

[0016] The data acquisition module comprises:

[0017] A body posture acquisition module, comprising a plurality of inertial sensors, for acquiring the body posture data;

[0018] The plantar pressure collection module includes left and right plantar pressure insoles, which are used to collect the plantar pressure data of the left and right feet and transmit the plantar pressure data of the left and right feet to the convergence terminal module.

[0019] Furthermore, the present invention also provides a computer device, the computer device comprising a processor and a memory;

[0020] The memory stores a computer program; the processor is used to execute one or more programs stored in the memory to implement the steps of the above-mentioned motion capture method based on plantar pressure and inertia fusion.

[0021] Furthermore, the present invention also provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the above-mentioned motion capture method based on plantar pressure and inertia fusion.

[0022] Beneficial Effects

[0023] The present invention provides a motion capture method, system, computer equipment and storage medium based on the fusion of plantar pressure and inertia, which effectively solves the supporting leg detection problem of the inertial motion capture method in the prior art, creatively proposes a motion capture system integrating plantar pressure and inertia, synchronously acquires plantar pressure data and inertia data in real time, performs human body center of mass update calculation based on accurate judgment of the user's plantar pressure level, and synchronously updates human body posture and displacement, thereby improving the accuracy of human body motion capture in motion presentation. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained like these drawings without paying creative work.

[0025] Figure 1 Schematic diagram of the application environment of the motion capture method based on the fusion of plantar pressure and inertia of the present invention

[0026] Figure 2 A flowchart of a motion capture method based on plantar pressure and inertia fusion according to an embodiment of the present invention;

[0027] Figure 3 An example diagram of a motion capture method based on plantar pressure and inertia fusion provided by another embodiment of the present invention

[0028] Figure 4 It is a structural schematic diagram of a motion capture method system based on plantar pressure and inertia fusion according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The following is a description of a motion capture method based on plantar pressure and inertia fusion in an embodiment of the present application in conjunction with the accompanying drawings. Figure 1 , provides a schematic diagram of the application environment of a motion capture method based on the fusion of plantar pressure and inertia of the present invention. The method can be applied to computers, host computers, etc. with data processing functions in the prior art. This embodiment takes the application of the method to a host computer as an example for explanation.

[0030] like Figure 2 As shown, a motion capture method based on plantar pressure and inertia fusion in this embodiment includes the following steps:

[0031] S101, establishing a skeleton vector table to calibrate the initial posture of the virtual human body model;

[0032] In this step, first, according to the human skeleton structure and the requirements of the present invention for the virtual human body model in the host computer software, a world coordinate system is established, and an initialized skeleton vector table is designed. The skeleton vector table stores the correspondence between inertial nodes and human skeletons, including the skeleton coordinate system of each inertial node.

[0033] In practical applications, the inertial node is a mapping of the position of the inertial sensor worn by the human body to the corresponding position of the virtual human body model. The inertial sensor includes multiple ones, which are worn on different parts of the human body. The initial posture of the virtual human body model can be calibrated by taking the T posture as the initial posture and establishing a world coordinate system based on the human body coordinate system at this time. At the same time, the acquired inertial sensor posture information is calibrated so that the inertial sensor output signal is aligned with the world coordinate system at this time. The waist inertial node is taken as the root node, and the wearing positions of the remaining inertial nodes are leaf nodes. The orientations of the remaining nodes relative to the root node are calculated, and the coordinate system of the actual measurement node is adjusted through certain calculations using the quaternion calculation method to match the initial posture of the virtual three-dimensional character model. The calculation method is a prior art and will not be repeated here.

[0034] S102, acquiring human body inertial posture data, obtaining the body posture of the virtual human body model through a posture calculation algorithm, and performing posture update;

[0035] In another embodiment, the human body inertial posture data includes acceleration, angular velocity, magnetic field data of human body joints collected by inertial sensors and joint posture quaternions of the human body joints.

[0036] In this embodiment, inertial posture data of the human body is collected by inertial sensors; there are multiple inertial sensors, for example, 10 sensors, which are respectively worn on the upper torso, lower torso, left upper arm, right upper arm, left forearm, right forearm, left thigh, right thigh, left calf, right calf, left ankle and right ankle of the human body.

[0037] In this step, the inertial posture information of the human body is obtained through the inertial sensor worn by the human body. The inertial sensor can be an inertial sensor of the prior art. The inertial sensor usually integrates a gyroscope and an accelerometer, for example, it can be an MPU6050. The inertial posture data of the human body includes the acceleration, angular velocity and magnetic field data of the inertial node. The joint posture quaternion of the wearing part can be obtained through internal settlement of the inertial sensor.

[0038] In other implementations, step S102 includes:

[0039] S112, acquiring acceleration, angular velocity and magnetic field data of human joints and joint posture quaternion of the human joints;

[0040] In this step, the acceleration, angular velocity and magnetic field data of the human joints and the joint posture quaternion of the human joints are obtained by wearing and transmitting the inertial sensors related to the human joints.

[0041] S122, using a posture calculation algorithm to obtain a body posture quaternion;

[0042] In this step, the posture solving algorithm can be a posture solving algorithm of the prior art, for example, it can be implemented by the Mahony complementary filtering algorithm of the prior art. In the algorithm, the acceleration is always vertically downward in the geographic coordinate system, so the acceleration vector is always [0,0,1], and the magnetic field in the geographic coordinate system is always maintained at 0 in the vector perpendicular to the longitude plane. Using the above characteristics, the acceleration vector and the magnetic field vector are transformed into the body coordinate system through the rotation matrix, and the ideal values ​​of the acceleration and magnetic field in the body coordinate system can be obtained as [v x v y v z ] and [w x w y w z ], then the theoretical value is cross-multiplied with the actual value vector to obtain the error vector, which is the error corrected by the acceleration and magnetometer. The PI control principle is used to correct the angular velocity vector, and finally the quaternion differential equation is used to update the body posture quaternion.

[0043] S132: driving the virtual human body model to rotate in space by using the joint posture quaternion and the body posture quaternion to update the posture.

[0044] In this step, after the updated body posture quaternion and joint posture quaternion are normalized, the virtual three-dimensional character is driven to perform spatial rotation of the corresponding key parts posture, and the posture of the virtual human body model is updated.

[0045] S103, synchronously obtain the plantar pressure data of the left and right feet of the human body to determine the current supporting foot;

[0046] In this step, while acquiring the inertial posture data of the human body, the plantar pressure data of the left and right feet of the human body are synchronously acquired. The plantar pressure data of the left and right feet can be acquired by means of a plantar pressure sensor disposed on the human body. The plantar pressure sensor can be disposed one on each sole of the left and right feet. By judging the size of the plantar pressure data of the left and right feet, the current supporting foot is judged. If the pressure of the plantar pressure sensor on the left foot is greater, the current supporting foot is the left foot, and vice versa.

[0047] In another embodiment, the plantar pressure information is collected by a plantar pressure insole to obtain the plantar pressure data of the left and right feet;

[0048] The plantar pressure data of the left and right feet include pressure data collected from multiple collection points of the plantar pressure insoles of the left and right feet.

[0049] In this embodiment, the plantar pressure sensor is arranged in the plantar pressure insole, and the plantar pressure sensor is arranged in plurality, and the plantar pressure data of the left and right feet include pressure data collected from a plurality of collection points of the plantar pressure insoles of the left and right feet.

[0050] In other implementations, the method for determining the current supporting foot in step S103 includes:

[0051] Assume that the current supporting foot is L, and the plantar pressure insole has N collection points; if the right foot is the current supporting foot, then L R , the left foot is the current supporting foot, then L l , then the current supporting foot is determined according to the following formula:

[0052]

[0053] Among them, F nr is the right foot pressure level, F nl is the pressure level of the left foot, and the calculation formula is as follows:

[0054]

[0055] F i The pressure data collected at the i-th collection point of the plantar pressure insole, where i≤N.

[0056] In actual application, when N=8, the forces on the left and right feet are as follows:

[0057]

[0058] S104: Taking the current supporting foot as the root node, the coordinates of the center of mass of the current virtual human body are calculated and the displacement is updated.

[0059] In this step, the contact point between the supporting leg and the ground is taken as the root node, and the displacement of the center of gravity of the human body is calculated using the human body dynamics theory.

[0060] In other implementations, step S104 uses the current supporting foot as the root node to calculate the current human body center of mass coordinates, including:

[0061] Assume that the inertial sensor at the ankle of the current supporting foot is root node A, the inertial sensor at the knee joint of the leg on the same side of the current supporting foot is node B, the inertial sensor at the waist is node C, the inertial sensor at the knee joint of the other leg is node D, and the inertial sensor at the ankle of the other foot is node E;

[0062] Solve the current human body center of mass coordinates according to the following formula:

[0063]

[0064] in, is the quaternion multiplication representation, A=[0 x A y A z A ] is the quaternion representation of the bone coordinate system of the root node A. It is the rotation quaternion from the bone coordinate system established by the root node A to the bone coordinate system established by node B; yes The conjugate quaternion of The calculation method is as follows:

[0065]

[0066] q A ,q B ,q C ,q D ,q E The joint posture quaternions obtained by the inertial sensors of the nodes A, B, C, D and E, is the inverse of the corresponding joint pose quaternion.

[0067] In practical applications, such as Figure 3 As shown, the left foot is used as the current supporting foot for explanation, where AB represents the left calf of the human body, with a length of ls, BC represents the left thigh of the human body, with a length of lt, CD represents the right thigh of the human body, with a length of rt, DE represents the right calf of the human body, with a length of rs, and u left is the angle of rotation of the left thigh around the X axis of the body coordinate system, u right is the angle of rotation of the right thigh around the X-axis of the body coordinate system. The left leg of the human body is in contact with the ground, while the right leg is in the swinging stage and is not in contact with the ground. The current supporting foot is the left foot, and the center of mass of the human body is solved using formula 1:

[0068]

[0069] in, is the quaternion multiplication representation, A=[0 x A y A z A ] is the quaternion representation of the coordinate vector of point A and the ground contact point, It is the rotation quaternion from the bone coordinate system established by point A to the bone coordinate system established by point B. yes The conjugate quaternion of The calculation method is as follows:

[0070]

[0071] q A ,q B ,q C ,q D ,q E is the quaternion of the sensor worn on the lower limbs of the body, is the inverse of the corresponding quaternion.

[0072] After the current human body center of mass coordinates are calculated through the above calculation method, the displacement is updated.

[0073] In one embodiment, Figure 4 As shown, the present invention also provides a motion capture system based on plantar pressure and inertia fusion, comprising:

[0074] Data collection module 501: used for synchronously collecting body posture data and left and right foot pressure data in real time;

[0075] The convergence terminal module 502 is used to receive the body posture data and the left and right foot plantar pressure data, and send the body posture data and the left and right foot plantar pressure data to the posture solution module;

[0076] The posture solving module 503 receives the body posture data and the left and right foot pressure data transmitted by the convergence terminal module, solves them into body posture quaternion, updates the current posture, updates the current human body center of mass coordinates, and updates the displacement;

[0077] The human body posture presentation module 504 is used to receive the joint posture quaternion, the body posture quaternion and the center of mass coordinates, control the movement of the virtual human body model, and present the current human body movement in real time;

[0078] The data acquisition module 501 includes:

[0079] A body posture acquisition module 511, comprising a plurality of inertial sensors, for acquiring the body posture data;

[0080] The plantar pressure collection module 521 includes left and right plantar pressure insoles, which are used to collect the plantar pressure data of the left and right feet and transmit the plantar pressure data of the left and right feet to the aggregation terminal module.

[0081] In practical applications, the data acquisition module 501 includes a body posture acquisition module 511 and a plantar pressure acquisition module 521; the body posture acquisition module 511 is mainly implemented by multiple inertial sensors, and the inertial sensors are implemented by existing technologies. For example, the hardware structure of the body posture acquisition module 511 may include an STM32F301K8U6 microcontroller, an LSM6DSOW six-axis sensor module, an AF8133J magnetometer, an nRF24L01 wireless radio frequency communication module, a 3.7V lithium battery and various IC components.

[0082] Each inertial sensor is worn on a relevant joint of the human body, for example, on the upper torso, lower torso, left upper arm, right upper arm, left forearm, right forearm, left thigh, right thigh, left calf, right calf, left ankle and right ankle of the human body, to obtain the nine-axis data of the joint (three-axis acceleration data, three-axis angular velocity data, three-axis magnetometer data), and solve it into the joint posture quaternion of the joint. After connecting with the nRF24L01 wireless radio frequency communication module through SPI, the joint posture quaternion is sent to the aggregation terminal module in real time and synchronously.

[0083] The plantar pressure collection is mainly achieved by plantar pressure insoles, which can be flexible pressure insoles. Its hardware structure includes STM32F301K8U microcontroller, thin film pressure sensor, nRF24L01 wireless radio frequency communication module, 3.7V lithium battery and various IC components. The shell is made of resin by 3D printing. Each pressure insole is used for the soles of the left and right feet to obtain pressure data. The plantar flexible film sensor module includes multiple pressure collection points. In this embodiment, 16 pressure collection points are used. Each collection point is composed of a force sensing resistor (FSR), covering multiple areas of the forefoot, the middle of the sole and the heel for uniform collection. The above-mentioned sensor module is connected to the radio frequency communication module through I2C to obtain the plantar pressure signal.

[0084] After the inertial sensor node and the plantar pressure module are powered on, the program entry main function is entered first, and the underlying driver is initialized, including hardware clock, function library, AD acquisition, inertial sensor and various peripheral interface bus initialization, etc.; the hardware clock initialization content mainly includes selecting external or internal crystal oscillator source, configuring the communication frequency of each bus inside the MCU and the operation frequency of the MCU, etc.; the library function initialization content includes configuring the power management register, and initializing various MCU peripheral resource related programs, such as system clock enable, related power clock enable, etc.; the peripheral interface driver is based on the initialization of the library function, and then initializes the required application interface bus program again, that is, initializes various configuration parameters of external interfaces such as SPI, I2C, UART, such as baud rate, checksum, IO pin multiplexing, etc. The final inertial and pressure sensor configuration is based on the hardware clock, library function and peripheral interface driver initialization. After the completion of the initialization, the MCU uses the I2C interface to operate the internal registers of the inertial and pressure sensors to achieve the configuration purpose. The settings include the measurement range, data sampling frequency and other functions of the gyroscope, accelerometer and magnetometer.

[0085] After that, the time synchronization state of the inertial sensor and the plantar pressure is initialized. The time synchronization initialization includes the initialization of the wireless transmission communication frequency, bandwidth, sending or receiving mode setting, and the time calibration initialization based on the TP SN algorithm; which mainly includes the initialization of the radio frequency module and the synchronization time calibration initialization. Through the above method, the synchronization of the plantar pressure data and the inertial data is realized, that is, the synchronization of multimodal data, which can reach the millisecond level. In practical applications, both the data model construction and the real-time action detection are more accurate than the offline multimodal fusion of the prior art. The MCU controller uses the SPI interface to operate the internal register of the radio frequency module. The radio frequency module initialization includes detecting whether the radio frequency module is alive and configuring the frequency, bandwidth, transceiver address, automatic response, number of retransmissions after failed transmission, checksum mode, radio frequency power and other related parameters of wireless communication. In order to further improve the reliability of wireless transmission, the present invention will set different communication frequencies according to different nodes, set the data frame size to 32 bytes, the bandwidth to 2MHz, set the automatic response function, configure the number of retransmissions after failed transmission to 5 times, the checksum is CRC check, and the radio frequency power is 0dbm. At the same time, the acquisition frequency of the overall transmission network is set to 100Hz. After the RF module is initialized, the basic wireless transmission function is available, and the synchronous time calibration initialization can be started through the wireless data interaction between the inertial sensor, the plantar pressure insole device and the convergence terminal module. The time calibration initialization is based on the TPSN algorithm process to obtain the time deviation and propagation delay between the inertial sensor, the left and right plantar pressure insoles and the convergence terminal module 502, as well as the time when each module agrees to send data for the first time.

[0086] The convergence terminal module 502 may include a power management module, an STM32F439ZGT 6 microcontroller module, a burning and debugging module, and an embedded wireless radio frequency communication module. The convergence terminal is used to synchronously receive inertial sensor nodes and plantar pressure data in millisecond level real-time, and can communicate with the posture solution module through wireless and wired methods of existing technologies.

[0087] Multiple inertial sensors and left and right foot pressure insoles go through the underlying driver initialization program and the synchronous time communication initialization program. If the synchronous time initialization is completed, the time deviation, propagation delay and agreed start sending time of each device of the convergence terminal module, inertial sensors and left and right foot pressure insoles are output.

[0088] After a short wait until the agreed time, multiple inertial sensors and left and right foot pressure insoles begin to enter the data sending mode. The MCU in the inertial sensor uses the I2C bus to start collecting sensor data, that is, collecting acceleration, angular velocity and magnetic field data, and obtains relevant joint posture quaternion and other related data after fusion calculation, and then packages it with the foot pressure data and sends it to the aggregation terminal module.

[0089] After receiving the data, the convergence terminal module 502 returns an ACK data packet, which carries the latest time information parameters, system mode and various command parameters. After receiving the ACK data, the device calculates the latest time deviation and other information. If the ACK signal is not received, the transmission fails and the data acquisition is performed again.

[0090] After the convergence terminal module 502 works, it will create multiple tasks responsible for RF transceiver and a task responsible for uploading to the PC host computer, create corresponding task semaphores and counting semaphores, and finally start real-time scheduling of each task through the FreeRTOS task scheduler. The FreeRTOS operating system initialization mainly creates tasks in the application layer, and sets the stack size, task priority size, task handle, and semaphore of each task. The OS task scheduler abstracts the hardware CPU core program running environment into a virtual soft core for each application task by creating a queue list and status flag data for each task, realizes pseudo-parallel operation of multiple tasks, and improves the real-time response capability of the system. If all device data packets are received, the upload PC semaphore is released and enters the upload PC host computer task queue.

[0091] If a stop command is received, multiple inertial sensors and left and right foot pressure insoles immediately stop data collection and transmission, and the system enters a shutdown state.

[0092] Through the above implementation methods, the plantar pressure and whole body posture data are synchronized at the millisecond level. Therefore, in the application, both data model construction and real-time motion detection are more accurate than previous offline multimodal fusion.

[0093] In other implementations, the data collection module 501 and the convergence terminal module 502 communicate one-to-one via a custom communication protocol.

[0094] Since the transmitted data content is large and the channel resources are limited, and the transmission buffer size of the RF transceiver chip used in this system is 32 bytes, in order to include information such as acceleration, acceleration, magnetometer data and quaternion in each data packet, a suitable data transmission protocol is planned in the motion capture system based on plantar pressure and inertial fusion of the present invention.

[0095] (1) The data acquisition module 501 transmits the relevant data of each sensor to the aggregation terminal module 502

[0096] Data Format

[0097] BYTE1 = device ID (1-255);

[0098] BYTE2 = send sequence number 1 (0-255 cycle);

[0099] BYTE3 = Sending sequence number 2 (0-255 cycles, each time a dynamic data frame is sent, [sending sequence number 2] + 1, and after carrying upwards, [sending sequence number 1] + 1);

[0100] BYTE4 = checksum; (accumulated sum check);

[0101] BYTE5 = node power information;

[0102] BYTE6 = N / A; (don’t care value);

[0103] BYTE7-BYTE32: (Sensor data):

[0104] Table 1 BYTE7-BYTE32 detailed data format

[0105] Quaternions QUR Q0 Q1L Q1H Q2L Q2H Q3L Q3 Acceleration Ax AHr AHr AHr AHr AHr Angular velocity wxya Wxya Wlq Wlq Wlq Wlq magnetic field HkDJ HkDJ HkDJ HkDJ Hz Hz

[0106] (2) The convergence terminal module 502 transmits the data packet format to the host computer

[0107] The convergence terminal module 502 ensures the time synchronization of each sensor node of the data acquisition module 501, and also continuously receives the data packets of each inertial sensor node of the data acquisition module 501, and then unpacks and combines them into new data packets and uploads them to the host computer. The new data packet format is as follows:

[0108] Table 2 Data packet format from the aggregation terminal module to the PC host computer

[0109] Function Synchronous Commands Node 1 Node number... Node 10 Checksum Word length 4byte 36byte …byte 36byte 1byte

[0110] (3) The data acquisition module 501 returns the ACK data packet format

[0111] In the motion capture system based on plantar pressure and inertia fusion of the present invention, wireless transmission adopts ACK confirmation reply mode, and each ACK can carry data. The content of these data is mainly set for time synchronization. The data packet format is as follows:

[0112] BYTE1 = 0XF1 (starting byte);

[0113] BYTE2 = communication frequency flag;

[0114] BYTE3=N / A;

[0115] BYTE4=system mode;

[0116] BYTE5-BYTE8: Synchronization time parameters

[0117] BYTE9-BYTE10: Sending sequence number

[0118] BYTE11-BYTE13: Starting time of sending data

[0119] 4. The PC host sends command parameters

[0120] The host computer is connected to the convergence terminal module 502 via a USB interface. The host computer first sends data to the convergence terminal module 502, and the convergence terminal module 502 then transmits the data to the data acquisition module 502 via a 2.4G transceiver. After receiving the data, the data acquisition module 502 analyzes the command information and completes the corresponding action. The command format and function from the host computer to the data acquisition module 502 are as follows:

[0121] Table 3 Command parameters sent by the host computer

[0122]

[0123] In practical applications, this embodiment can not only meet the needs of ordinary motion capture enthusiasts, but also record the user's body posture data in real time to help the user conduct research in other areas and improve the interactive experience.

[0124] The present invention also provides a server, comprising a processor and a memory;

[0125] The memory stores a computer program and the basic user information.

[0126] The present invention also provides a computer device, the computer device comprising a processor and a memory;

[0127] The memory stores a computer program; the processor is used to execute one or more programs stored in the memory to implement the steps of the motion capture method based on plantar pressure and inertia fusion in the above embodiment.

[0128] Furthermore, the present invention also provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the motion capture method based on plantar pressure and inertia fusion in the above embodiment.

[0129] It should be noted that, in this article, the terms "include", "comprises" or any other variations 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, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0130] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0131] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of various embodiments of the present invention.

[0132] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A motion capture method based on the fusion of plantar pressure and inertia, characterized in that: include: Establish a skeleton vector table to calibrate the initial posture of the virtual human model; Obtain human body inertial posture data, obtain the body posture of the virtual human model through the posture solution algorithm, and perform posture update; Synchronously obtain the plantar pressure data of the left and right feet of the human body to determine the current supporting foot; Taking the current supporting foot as the root node, the coordinates of the current center of mass of the virtual human body are calculated and the displacement is updated.

2. The motion capture method based on plantar pressure and inertia fusion according to claim 1, characterized in that: The human body inertial posture data includes acceleration, angular velocity, magnetic field data of human body joints collected by inertial sensors and joint posture quaternions of the human body joints.

3. The motion capture method based on plantar pressure and inertia fusion according to claim 2 is characterized in that: The acquiring of the human body inertial posture data, obtaining the posture of the virtual human body model through a posture calculation algorithm, and performing posture update include: Acquiring acceleration, angular velocity and magnetic field data of human joints and joint posture quaternions of the human joints; The body posture quaternion is obtained by solving the differential equation of quaternion; The virtual human body model is driven to rotate in space by the joint posture quaternion and the body posture quaternion to perform posture update.

4. The motion capture method based on plantar pressure and inertia fusion according to claim 1, characterized in that: The synchronous acquisition of plantar pressure data of left and right feet of a human body comprises: Collecting plantar pressure information through plantar pressure insoles to obtain plantar pressure data of the left and right feet of the human body; The left and right foot pressure data include pressure data collected from multiple collection points of the foot pressure insoles of the left and right feet of the human body.

5. The motion capture method based on plantar pressure and inertia fusion according to claim 4, characterized in that: The determining the current supporting foot according to the plantar pressure data of the left and right feet includes: Assume that the current supporting foot is L, the plantar pressure insole has N collection points, N ≥ 1; if the right foot is the current supporting foot, then L R , the left foot is the current supporting foot, then L l , then the current supporting foot is determined according to the following formula: Among them, F nr is the right foot pressure level, F nl is the pressure level of the left foot, and the calculation formula is as follows: F i The pressure data collected at the i-th collection point of the plantar pressure insole, where i≤N.

6. The motion capture method based on plantar pressure and inertia fusion according to claim 5, characterized in that: Taking the current supporting foot as the root node, the current human body center of mass coordinates are calculated including: Assume that the inertial sensor at the ankle of the current supporting foot is root node A, the inertial sensor at the knee joint of the leg on the same side of the current supporting foot is node B, the inertial sensor at the waist is node C, the inertial sensor at the knee joint of the other leg is node D, and the inertial sensor at the ankle of the other foot is node E; Solve the current human body center of mass coordinates according to the following formula: in, is the quaternion multiplication representation, A=[0 x A y A z A ] is the quaternion representation of the bone coordinate system of the root node A. It is the rotation quaternion from the bone coordinate system of the root node A to the bone coordinate system of the node B; yes The conjugate quaternion of The calculation method is as follows: q A ,q B ,q C ,q D ,q E The joint posture quaternions obtained by the inertial sensors of the nodes A, B, C, D and E, is the inverse of the corresponding joint pose quaternion.

7. A motion capture system based on the fusion of plantar pressure and inertia, characterized in that: include: Data acquisition module: used to synchronously and real-time collect body posture data and left and right foot pressure data; A convergence terminal module, used for receiving the body posture data and the left and right foot plantar pressure data, and sending the body posture data and the left and right foot plantar pressure data to a posture solving module; A posture solving module receives the body posture data and the left and right foot pressure data transmitted by the convergence terminal module, solves them into body posture quaternion, updates the current posture, updates the current human body center of mass coordinates, and updates the displacement; A human body posture presentation module is used to receive the joint posture quaternion, the body posture quaternion and the center of mass coordinates, control the movement of the virtual human body model, and present the current human body movement in real time; The data acquisition module comprises: A body posture acquisition module, comprising a plurality of inertial sensors, for acquiring the body posture data; The plantar pressure collection module includes left and right plantar pressure insoles, which are used to collect the plantar pressure data of the left and right feet and transmit the plantar pressure data of the left and right feet to the convergence terminal module.

8. The motion capture system based on plantar pressure and inertia fusion as claimed in claim 7, characterized in that: The data acquisition module and the convergence terminal module communicate one-to-one via a custom communication protocol.

9. A computer device, characterized in that: The computer device includes a processor and a memory; The memory stores a computer program; the processor is used to execute one or more programs stored in the memory to implement the steps of the motion capture method based on plantar pressure and inertia fusion as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the motion capture method based on plantar pressure and inertia fusion as described in any one of claims 1 to 6.

Citation Information

Cited By

  • Lower limb torque determination system, method and device, computer equipment and storage medium

    CN120000205A