High-precision measurement system, method and storage medium for joint angle measurement
By using inertial information and gravity vector projection technology in the knee joint measurement system, the angle between each limb and the vertical direction is calculated, which solves the problem of low measurement accuracy in the existing technology when the lower limb plane is not vertical, and achieves a higher knee joint measurement system. Joint angle measurement accuracy.
Patent Information
- Application Number
- CN202310628103.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-31
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-05-31
AI Technical Summary
When using a wearable intelligent system to measure the knee joint angle, the existing technology assumes that the plane of the lower limb is perpendicular to the ground, and cannot handle the situation where the plane of the lower limb is not completely vertical in actual usage scenarios, resulting in reduced measurement accuracy.
A high-precision measurement system is designed, including a data acquisition module, a first limb angle calculation module, a second limb angle calculation module and a joint angle calculation module. The angle between each limb and the vertical direction is calculated by obtaining inertial information, and Combined with gravity vector projection technology, joint angles are calculated to adapt to usage scenarios that are not completely vertical.
It ensures high-precision calculation of knee joint angle in a more flexible environment, reduces the calculation complexity of the measurement system, and improves the accuracy in actual use.
Smart Images

Figure CN116602659B_ABST
Abstract
Description
Technical Field
[0001] The present invention generally relates to a high-precision measurement system for joint angle measurement, and further relates to a high-precision measurement method for joint angle measurement and a storage medium for implementing the method. Background Art
[0002] When knee osteoarthritis affects the patient's quality of life to a certain extent, it is usually treated with total knee arthroplasty (TKA), which replaces the diseased knee joint with an artificial knee joint. Other diseases of the knee joint, such as trauma, rheumatoid arthritis, etc., may also be treated with TKA surgery. Rehabilitation exercises must be performed after TKA surgery to gradually restore the joint range of motion, muscle strength, balance ability, etc. to normal levels and improve the patient's quality of life. TKA rehabilitation exercises are based on a set of specific, step-by-step movements, so there are specific requirements for the range and number of movements to achieve good rehabilitation effects without causing additional damage.
[0003] In the context of smart healthcare and digital therapy, remote, self-service rehabilitation exercises are an effective way and research hotspot to improve the accessibility of medical services and reduce medical costs. Specifically, in TKA rehabilitation, assisted rehabilitation therapy has been implemented with the help of wearable device intelligent systems. The wearable device intelligent system is usually composed of two devices with integrated three-axis (accelerometer) or six-axis (accelerometer and angular velocity meter) inertial sensors and a matching mobile phone app. The two devices are worn on the front or side of the thigh or calf to achieve the purpose of measuring the knee joint angle. Summary of the invention
[0004] However, the above-mentioned method of calculating the knee joint angle with the help of a wearable intelligent system assumes that the lower limb plane formed by the thigh-knee-calf is perpendicular to the ground, otherwise the knee joint angle cannot be directly obtained by simple calculation. In actual use scenarios, it is difficult to ensure that the patient's lower limb plane is completely perpendicular to the ground, and the knee-calf often tilts outward.
[0005] The present invention aims to solve some or all of the above problems in the prior art.
[0006] According to one aspect of the present application, a high-precision measurement system for joint angle measurement is provided, which at least includes: a data acquisition module, which is constructed to respectively acquire corresponding inertial information of a first limb and a second limb forming a target joint; a first limb angle calculation module, which is constructed to calculate the angle between the first limb and the vertical direction based on the corresponding inertial information related to the first limb acquired by the data acquisition module; a second limb angle calculation module, which is constructed to calculate the angle between the second limb and the vertical direction based on the corresponding inertial information related to the second limb acquired by the data acquisition module; and a joint angle calculation module, which is constructed to calculate the angle of the joint based on the corresponding angle calculated by the first limb angle calculation module and the second limb angle calculation module.
[0007] Further, the joint is a knee joint, the first limb is a thigh and the second limb is a calf.
[0008] Further, the angle between the first limb and the vertical direction is calculated as Among them, a y1 and a z1 They respectively represent the acceleration values of the first limb based on the y-axis and z-axis in the three coordinate axes of the Cartesian coordinate system x, y, and z.
[0009] Further, the angle between the second limb and the vertical direction is calculated as Among them, a y2 and a z2 They respectively represent the acceleration values of the second limb based on the y-axis and z-axis of the three coordinate axes of the Cartesian coordinate system x, y, and z.
[0010] Further, the joint angle is calculated as the sum or difference of the angle between the first limb and the vertical direction and the angle between the second limb and the vertical direction, wherein the selection of the sum or difference depends on the specific posture adopted by the user.
[0011] Further, when the front of the lower leg faces forward and downward, the joint angle is calculated as a sum; and when the front of the lower leg faces forward and upward, the joint angle is calculated as a difference, wherein the orientation of the front of the lower leg is based on a about the second limb. z2 The measurement direction is determined so that if a z2 If it is positive, it means that the front face of the lower leg faces forward and upward, and if it is negative, it means that the front face of the lower leg faces forward and downward.
[0012] Furthermore, the system also includes a calibration module, which is configured to determine whether the installation and positioning of the data acquisition module are reasonable based on the inertial data collected by the data acquisition module before measuring the joint angle.
[0013] Furthermore, the system also includes an inclination angle calculation module, which is configured to determine the inclination of the limb plane relative to the vertical plane based on the inertial information collected by the data collection module.
[0014] According to another aspect of the present application, a high-precision measurement method for joint angle measurement is provided, which includes the following steps: respectively acquiring corresponding inertial information of a first limb and a second limb forming a target joint; calculating the angle between the first limb and a vertical direction based on the corresponding inertial information collected about the first limb, calculating the angle between the second limb and the vertical direction based on the corresponding inertial information collected about the second limb, and calculating the joint angle based on the angle between the first limb and the vertical direction and the angle between the second limb and the vertical direction.
[0015] According to another aspect of the present application, a storage medium is provided, which stores instructions. When the instructions are executed, the instructions implement the above-mentioned method.
[0016] With the aid of the present invention, it is possible to ensure high accuracy in calculating the knee joint angle in a more flexible environment, for example even when the plane of the patient's lower limb is not completely perpendicular to the ground. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Other advantages and aspects of the present invention will become more apparent with reference to the following detailed description made with reference to the accompanying drawings, in which:
[0018] Figure 1 is a schematic block diagram of a high-precision measurement system for measuring knee joint angle according to the present invention;
[0019] Figure 2 is a flow chart of a high-precision measurement method for knee joint angle measurement according to the present invention; and
[0020] Figure 3 is an overall diagram of a high-precision measurement system for measuring knee joint angle according to the present invention. DETAILED DESCRIPTION
[0021] In the context of the invention, identical reference numerals denote identical or similar elements or parts.
[0022] Figure 1 1 is a schematic block diagram of a high-precision measurement system 1 for joint angle measurement according to the present invention. In an embodiment of the present invention, the joint for angle measurement is a knee joint, but those skilled in the art should know that the joint for angle measurement can be any joint without departing from the scope of the present invention.
[0023] The high-precision measurement system 1 for joint angle measurement according to the present invention comprises at least a processor 12, and the processor 12 comprises at least a data acquisition module 1202, a first limb angle calculation module 1204, a second limb angle calculation module 1206, and a joint angle calculation module 1208. In the embodiment of the present application, the high-precision measurement system 1 of the present application will be described with reference to the knee joint, in which case the first limb corresponds to the thigh and the second limb corresponds to the calf.
[0024] In an embodiment of the present invention, the data acquisition module 1202 is configured to respectively obtain the corresponding inertial information of the first limb and the second limb forming the target joint. In an embodiment of the present application, the inertial information, for example, includes at least one or both of acceleration information and angular velocity information. Therefore, the data acquisition module is, for example, configured as an inertial sensor such as an accelerometer and / or an angular velocity meter. In the case of using an accelerometer and / or an angular velocity meter at the same time, the data acquisition module 1202 is configured to collect the corresponding six-axis inertial information of the first limb and the second limb. In the following description, in order to simplify the complexity of the description of the present invention so that those skilled in the art can better understand the present invention, a data acquisition module using only an accelerometer will be used as an example for description. However, it should be understood by those of ordinary skill in the art that this is not restrictive, but various transformations can be performed.
[0025] In the knee joint, when the data acquisition module 1202 adopts a three-axis accelerometer, the data acquisition module 1202 of the high-precision measurement system 1 will obtain the acceleration value a of the first limb and the second limb based on the three coordinate axes of the Cartesian coordinate system x, y, and z. x ,a y ,a z . The corresponding definitions of the three axes x, y, and z of the Cartesian coordinate system are as follows: for a person standing upright and wearing the data acquisition module appropriately (for example, the front of the data acquisition module is roughly parallel to the front of the limb), the y-axis or y-axis direction corresponds to the vertical direction of the person standing upright, and when the limb undergoes various actions or movements, the y-axis or y-axis direction always corresponds to the direction of the skin tangent surface along the limb. The x-axis or x-axis direction corresponds to the left-right direction of the vertical direction of the person standing upright. The z-axis or z-axis direction corresponds to the front-back direction of the vertical direction of the person standing upright. The three axes are perpendicular to each other and move or move together with any movement or movement of the limb.
[0026] Assuming that the inertial sensor is worn on the first limb, such as the thigh, with the y-axis facing upward, the x-axis facing left, and the z-axis facing forward, when standing still, the data acquisition module generally obtains the following inertial information: y1 ≈1g (g is the value of gravity acceleration), a x1 =az1 =0; and when sitting down, the data acquisition module generally obtains the following inertial information: a z1 ≈1g, a x1 =a y1 = 0. Based on this, it can be determined that when the user is half squatting, the data acquisition module generally obtains the following inertial information: a x1 =0,a y1 ≠0 and a z1 ≠0. In fact, for the second limb, such as the lower leg, substantially similar inertial data is acquired by the data acquisition module. In other words, when only a three-axis accelerometer is used, in an embodiment of the present invention, the data acquisition module is configured to respectively acquire the three-axis acceleration information of the accelerometers disposed on the first limb and the second limb forming the target joint.
[0027] The first limb angle calculation module 1204 is configured to calculate the angle between the first limb and the vertical direction (i.e., the up-down direction perpendicular to the horizontal ground) based on the corresponding inertial information collected by the data acquisition module. As mentioned above, in the case where the data acquisition module 1202 only uses a three-axis accelerometer, based on the three-axis acceleration information collected by the data acquisition module 1202 disposed on the first limb, the angle between the first limb and the vertical direction can be determined, for example, as Among them, a y1 、a z1 The meaning of is similar to the above, and will not be repeated here. In fact, when the limb plane composed of the first limb-joint-second limb (such as thigh-knee joint-calf) is perpendicular to the horizontal ground, the above formula can be simplified to: However, in actual use scenarios, it is difficult to ensure that the patient's limb plane is completely perpendicular to the horizontal ground, and the first limb-second limb is often tilted outward. In this case, in order to avoid the influence of this tilt on the calculation of the angle between the first limb and the vertical direction, the gravity vector g is first projected into the yz plane (i.e., the limb plane) so that the projection of the gravity vector in this plane is: This makes it possible to exclude the influence of the inclination of the limb plane when calculating the angle between the first limb and the vertical direction, thereby improving the accuracy of measuring the angle of the first limb.
[0028] Similarly, the second limb angle calculation module 1206 is configured to calculate the angle between the second limb and the vertical direction (i.e., the up-down direction perpendicular to the horizontal ground) based on the corresponding inertial information collected by the data acquisition module 1202. As mentioned above, in the case where the data acquisition module 1202 only uses a three-axis accelerometer, based on the three-axis acceleration information collected by the data acquisition module 1202 disposed on the second limb, the angle between the second limb and the vertical direction can be determined, for example, as Among them, a y2 、a z2 The meaning is similar to the above and will not be repeated here.
[0029] The joint angle calculation module 1208 is constructed to calculate the angle of the joint based on the corresponding angles calculated by the first limb angle calculation module 1204 and the second limb angle calculation module 1206. Specifically, in the context of the present invention, the joint angle is calculated as α+β or α-β, for example, where + or - depends on the specific posture adopted by the user. In the case where the first limb is a thigh and the second limb is a calf, when the front face of the calf faces forward and downward, the joint angle is calculated as α+β, for example; and when the front face of the calf faces forward and upward, the joint angle is calculated as α-β, for example, where the orientation of the front face of the calf can be based on a relative position of the second limb. z2 The measurement direction (positive or negative) is determined, for example, if a z2 If it is positive, it means the front of the calf is facing forward and upward. If it is negative, it means the front of the calf is facing forward and downward.
[0030] This calculation process of simply adding or subtracting to determine the angle of the joint is particularly advantageous, as it significantly reduces the computational complexity of the measurement system. Compared to the prior art which fails to take into account the situation where the limb plane is not perpendicular to the horizontal ground, this process of angular calibration by projecting the weight vector can enhance the accuracy of the measurement system without significantly increasing the computational complexity.
[0031] In an embodiment of the present application, the high-precision measurement system 1 for joint angle measurement may further include an output module 1210 , which is configured to output the calculation results of the above three modules.
[0032] Further, in an embodiment of the present application, the high-precision measurement system 1 for joint angle measurement may also include a calibration module 1212, which is configured to determine whether the installation and positioning of the data acquisition module 1202 are reasonable based on the inertial data of the data acquisition module 1202 before measuring the joint angle. Specifically and as an example, the calibration module 1212 can determine whether the data acquisition module 1202 is installed and positioned reasonably based on making the user take corresponding actions according to the instructions and record the inertial data of the data acquisition module 1202, for example, determining whether the data acquisition module 1202 is installed upside down or accurately installed at the ideal position (e.g., the front side) of the first limb or the second limb.
[0033] Furthermore, in an embodiment of the present application, the high-precision measurement system 1 for joint angle measurement may also include a memory 14, which stores various basic information such as prompt information for prompting the user to take corresponding actions.
[0034] Further, in the embodiment of the present application, the high-precision measurement system 1 for joint angle measurement may further include an inclination angle calculation module 1214, which is configured to determine the inclination of the limb plane relative to the vertical plane based on the inertial information collected by the data collection module 1202. As an example and not limiting, in the case where the second limb is a lower leg, the inclination is calculated as The principle of this calculation is that, for the lower limbs, the inclination of the lower limbs relative to the vertical plane is largely dominated by the calf, that is, the change amplitude and degree of the calf are usually greater than the thigh and the movement of the thigh is significantly based on the cooperation of the calf. In this case, the inclination of the calf relative to the vertical plane can be roughly approximated to be equal to the inclination of the entire lower limb plane relative to the vertical plane. Of course, for different joints, there are different dominant limbs and the calculation method of the inclination may be different. Of course, there are also joints that strongly affect the inclination of both limbs. In this case, the calculation of the inclination can be realized based on the inertial information of both the first limb and the second limb.
[0035] Advantageously, the memory 14 of the high-precision measurement system 1 for joint angle measurement within the scope of the present application is, for example, a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other hardware storage that can store data. Further, the memory according to the present invention may include software storage such as a database and cloud storage. Further, the memory may include and store any software program for realizing the functions of the high-precision measurement system for joint angles of the present application.
[0036] Figure 2 The flowchart of the high-precision measurement method for joint angle measurement according to the preferred embodiment of the present invention is shown. In the embodiment of the present application, the high-precision measurement method for joint angle measurement includes the following steps.
[0037] At step 200, corresponding inertial information of a first limb and a second limb forming a target joint is respectively acquired.
[0038] At step 202, the angle between the first limb and the vertical direction (ie, the up-down direction perpendicular to the horizontal ground) is calculated based on the corresponding inertial information collected by the data collection module.
[0039] At step 204, the angle between the second limb and the vertical direction (ie, the up-down direction perpendicular to the horizontal ground) is calculated based on the corresponding inertial information collected by the data collection module.
[0040] At step 206, the angle of the joint is calculated based on the corresponding angles calculated by the first limb angle calculation module and the second limb angle calculation module.
[0041] Optionally, step 208 is included before step 200 to determine whether the installation and positioning of the data acquisition module are reasonable based on the inertial data of the data acquisition module.
[0042] Optionally, the method further comprises step 210 of determining the inclination of the limb plane relative to the vertical plane based on the inertial information collected by the data collection module.
[0043] It is important to understand that although Figure 2 It is shown in FIG. 2 that the high-precision measurement method for measuring joint angles includes steps 208 and 210 , but those skilled in the art will appreciate that these two steps are only preferred and can be omitted, and are only shown here as a preferred embodiment.
[0044] like Figure 3 As shown, Figure 3 The overall structural diagram of the high-precision measurement system for joint angles according to an embodiment of the present invention is shown, wherein, based on the same inventive concept, the high-precision measurement system for joint angles generally includes at least the following components: a processor 301, a memory 302, a communication interface 303 and a bus 304; wherein the processor 301, the memory 302, and the communication interface 303 communicate with each other through the bus 304; the communication interface 303 is used to realize information interaction communication of the high-precision measurement system for joint angles and information transmission with other software or hardware; the processor 301 is used to call the computer program in the memory 302, and when the processor executes the program, it realizes the process executed by the high-precision measurement system for joint angles 1 as described before in this application.
[0045] Based on the same inventive concept, another embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the process performed by the high-precision measurement system for joint angles as described previously in this application is implemented, which will not be repeated here.
[0046] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the process performed by the system for assisting disease reasoning described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0047] For the computer-readable storage medium provided in the embodiment of the present invention, the working principle and beneficial effects of the computer program stored thereon are similar to those of the high-precision measurement system for joint angles provided in the above-mentioned embodiment. Please refer to the introduction of the above-mentioned embodiment for the specific contents, and the embodiment of the present invention will not describe them in detail.
[0048] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present invention. Those of ordinary skill in the art may understand and implement them without creative effort.
[0049] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute various embodiments or certain parts of the embodiments.
[0050] It should also be understood that various modifications may be made according to specific requirements. For example, custom hardware may also be used, and / or specific elements may be implemented using hardware, software, firmware, middleware, microcode, hardware description language, or any combination thereof. For example, some or all of the disclosed system for assisting disease reasoning and the processes performed therein may be implemented by programming hardware (e.g., a programmable logic circuit including a field programmable gate array (FPGA) and / or a programmable logic array (PLA)) using logic and algorithms according to the present disclosure, using assembly language or a hardware programming language (such as VERILOG, VHDL, C++).
[0051] It should also be understood that the process executed by the aforementioned high-precision measurement system for joint angles can be implemented through a server-client mode. For example, the client can receive data input by the user and send the data to the server. The client can also receive data input by the user, perform a portion of the processing in the process executed by the aforementioned high-precision measurement system for joint angles, and send the processed data to the server. The server can receive data from the client, and execute the process executed by the aforementioned system for assisting disease reasoning or another part of the process executed by the aforementioned high-precision measurement system for joint angles, and return the execution result to the client. The client can receive the execution result of the process executed by the high-precision measurement system for joint angles from the server, and can present it to the user, for example, through an output module.
[0052] It should also be understood that the components of the high-precision measurement system for joint angles can be distributed on a network. For example, some processing can be performed using one processor, while other processing can be performed by another processor away from the one processor. Other components of the high-precision measurement system for joint angles can also be distributed similarly. In this way, the high-precision measurement system for joint angles can be interpreted as a distributed computing system that performs processing at multiple locations.
[0053] Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-mentioned methods, systems and devices are merely exemplary embodiments or examples, and the scope of the present invention is not limited by these embodiments or examples, but only by the claims after authorization and their equivalent scope. Various elements in the embodiments or examples can be omitted or replaced by their equivalent elements. In addition, each step can be performed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples can be combined in various ways. It is important that with the evolution of technology, many elements described herein can be replaced by equivalent elements that appear after the present disclosure.
Claims
1. A high-precision measurement system for joint angle measurement, wherein: It includes at least: a data acquisition module configured to respectively acquire corresponding inertial information of a first limb and a second limb forming a target joint; A first limb angle calculation module, which is configured to calculate an angle between the first limb and a vertical direction based on corresponding inertial information related to the first limb collected by the data collection module; A second limb angle calculation module, which is configured to calculate an angle between the second limb and the vertical direction based on the corresponding inertial information related to the second limb collected by the data collection module; a joint angle calculation module, which is configured to calculate the angle of the joint based on the corresponding angles calculated by the first limb angle calculation module and the second limb angle calculation module, The angle between the first limb and the vertical direction is calculated as Among them, a y1 and a z1 Respectively represent the acceleration values of the first limb based on the y-axis and z-axis in the three coordinate axis directions of the Cartesian coordinate system x, y, and z; The angle between the second limb and the vertical direction is calculated as Among them, a y2 and a z2 Respectively represent the acceleration values of the second limb based on the y-axis and z-axis in the three coordinate axis directions of the Cartesian coordinate system x, y, and z; wherein the joint angle is calculated as the sum or difference of the angle between the first limb and the vertical direction and the angle between the second limb and the vertical direction, wherein the selection of the sum or difference depends on the specific posture adopted by the user; and wherein when the front face of the lower leg faces forward and downward, the joint angle is calculated as the sum; and when the front face of the lower leg faces forward and upward, the joint angle is calculated as the difference, wherein the orientation of the front face of the lower leg is based on a with respect to the second limb z2 The measurement direction is determined so that if a z2 If it is positive, it means that the front face of the lower leg is facing the front upper side, and if it is negative, it means that the front face of the lower leg is facing the front lower side.
2. The high-precision measurement system for joint angle measurement according to claim 1, wherein: The joint is a knee joint, the first limb is a thigh and the second limb is a calf.
3. The high-precision measurement system for joint angle measurement according to claim 1 or 2, wherein: It also includes a calibration module, which is configured to determine whether the installation and positioning of the data acquisition module are reasonable based on the inertial data collected by the data acquisition module before measuring the joint angle.
4. The high-precision measurement system for joint angle measurement according to claim 1 or 2, wherein: It also includes an inclination angle calculation module, which is configured to determine the inclination of the limb plane relative to the vertical plane based on the inertial information collected by the data collection module.
5. A high-precision measurement method for joint angle measurement, wherein: It includes the following steps: respectively acquiring corresponding inertial information of a first limb and a second limb forming a target joint; calculating the angle between the first limb and the vertical direction based on the acquired corresponding inertial information about the first limb, calculating the angle between the second limb and the vertical direction based on the acquired corresponding inertial information about the second limb, The joint angle is calculated based on the angle between the first limb and the vertical direction and the angle between the second limb and the vertical direction, The angle between the first limb and the vertical direction is calculated as Among them, a y1 and a z1 Respectively represent the acceleration values of the first limb based on the y-axis and z-axis in the three coordinate axis directions of the Cartesian coordinate system x, y, and z; The angle between the second limb and the vertical direction is calculated as Among them, a y2 and a z2 Respectively represent the acceleration values of the second limb based on the y-axis and z-axis in the three coordinate axis directions of the Cartesian coordinate system x, y, and z; wherein the joint angle is calculated as the sum or difference of the angle between the first limb and the vertical direction and the angle between the second limb and the vertical direction, wherein the selection of the sum or difference depends on the specific posture adopted by the user; and wherein when the front face of the lower leg faces forward and downward, the joint angle is calculated as the sum; and when the front face of the lower leg faces forward and upward, the joint angle is calculated as the difference, wherein the orientation of the front face of the lower leg is based on a with respect to the second limb z2 The measurement direction is determined so that if a z2 If it is positive, it means that the front face of the lower leg is facing the front upper side, and if it is negative, it means that the front face of the lower leg is facing the front lower side.
6. A storage medium storing instructions, which, when executed, implement the method according to claim 5.
