Disclosure of Invention
The invention provides a running machine, a running state monitoring method, a running state monitoring device and a storage medium, which are used for solving the problems that the existing running state monitoring method is complex in implementation scheme, high in cost and greatly influenced by environmental factors.
In one aspect of the present invention, there is provided a running state monitoring method, the method comprising:
when the running machine enters a running state, running pressure data of pressure sensors positioned at four corners of a running plate of the running machine are recorded in real time;
detecting peak positions and trough positions in running pressure data of pressure sensors at all positions;
calculating the foot drop position of the current running action according to the running pressure data of the wave crest position corresponding to the time point, and calculating the real-time position of the user on the running machine after the foot drop according to the foot drop position of the current running action and the current running belt speed of the running machine;
calculating the foot lifting position of the next running action of the user according to the time points corresponding to the wave crest position and the wave trough position, the real-time position and the current running belt speed of the running machine;
judging whether the real-time position and/or the foot lifting position is in a preset dangerous position area on a running board of the running machine;
and when the real-time position and/or the foot lifting position is in a preset dangerous position area on the running board of the running machine, performing out-of-range alarm prompt.
Optionally, after the detecting the peak position and the trough position in the running pressure data of the pressure sensor at each position, the method further comprises:
determining running step frequency of a user according to the peak position or the trough position in the running pressure data in the first preset time period;
and when the variation amplitude of the running frequency of the user within the first preset duration is greater than a preset variation threshold value, performing step frequency alarm prompt.
Optionally, before recording running pressure data of the pressure sensors at four corners of the treadmill deck in real time, the method further comprises:
acquiring sensor data acquired by pressure sensors at four corners of a running plate of the running machine, and monitoring whether a user climbs the running machine or not according to the sensor data;
judging whether the running machine has hidden dangling placing trouble currently according to sensor data acquired by each pressure sensor when a user logs on the running machine;
if the hidden danger of hanging placement exists, hanging alarm prompt is carried out;
Otherwise, the running state of the running machine is monitored so as to execute the operation of recording running pressure data of the pressure sensors at various positions in real time when the running machine enters the running state.
Optionally, calculating the foot drop position of the current running action according to the running pressure data of the point in time corresponding to the peak position includes:
calculating the foot falling position P of the current running action by adopting a preset first calculation model, wherein the first calculation model is as follows:
P=a*w1*P1+b*w2*P2+c*w3*P3+d*w4*P4;
Wherein P1, P2, P3, P4 are respectively 2-dimensional position vectors of four pressure sensors positioned at four corners of the running board of the running machine, w1, w 2, w 3, w 4 are running pressure data corresponding to the four pressure sensors at the time point of the peak position closest to the current time, and a, b, c, d are preset deviation adjusting parameters.
Optionally, calculating the foot lifting position of the next running action of the user according to the time points corresponding to the peak position and the trough position, the real-time position and the current running belt speed of the running machine, including:
taking a time point corresponding to the wave trough position closest to the current time as the foot lifting time, and taking a time point corresponding to the wave crest position closest to the current time as the foot falling time;
Calculating coordinate values of the foot lifting position of the next running action of the user by adopting a preset second calculation model, wherein the second calculation model is as follows:
y-coordinate value of foot lifting position = y-coordinate value of real-time position-current running belt speed (foot lifting time-foot falling time);
The x coordinate value of the foot lifting position=the x coordinate value of the real-time position, wherein the running belt moving direction is set to be the y-axis direction, and the direction perpendicular to the running belt moving direction on the same horizontal plane is set to be the x-axis direction.
Optionally, the method further comprises:
And acquiring initial sensor data acquired by pressure sensors positioned at four corners of a running board of the running machine in an idle state of the running machine, and calibrating the pressure sensors according to the initial sensor data.
Optionally, the method further comprises:
recording running pressure data acquired by pressure sensors at four corners of a running plate of the running machine by taking a time point corresponding to the peak position as an index to form a queue;
Analyzing the landing pressures of the left foot and the right foot through the position relation of each pressure sensor and the running pressure data acquired by each pressure sensor;
If the landing pressures of the left foot and the right foot are continuously in an unbalanced state within the second preset time period, unbalanced early warning prompt is carried out in the movement.
In another aspect of the present invention, there is provided a running state monitoring apparatus including a functional module for implementing the running state monitoring method as described above.
Furthermore, the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the running state monitoring method as described above.
In addition, the invention also provides a running machine, which comprises a running machine body and a controller, wherein the controller comprises a memory, a processor and a computer program stored on the memory and running on the processor, and the steps of the running state monitoring method are realized when the processor executes the computer program;
the running machine body comprises pressure sensors positioned at four corners of a running plate of the running machine.
According to the running machine, the running state monitoring method, the running state monitoring device and the storage medium, the running pressure data detected by the pressure sensors at four corners of the running plate of the running machine are analyzed, the real-time position of the user on the running machine after the user falls down and the foot lifting position of the next running action of the user are calculated in real time, so that whether the user deviates from a running area or not is judged, the user is reminded in real time, danger caused by the fact that the user deviates or falls down the running machine is avoided, and user experience is improved.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Fig. 1 schematically shows a flowchart of a running state monitoring method according to an embodiment of the present invention. Referring to fig. 1, the running state monitoring method provided by the embodiment of the invention specifically includes steps S11 to S16, as follows:
S11, when the running machine enters a running state, running pressure data of pressure sensors positioned at four corners of a running plate of the running machine are recorded in real time.
Further, the pressure sensors are four, and the pressure sensors are respectively arranged on two sides of the running board. Two pressure sensors are arranged on the two sides. Specifically, 4 pressure sensors are placed at four corners of a running plate of the running machine, so that sensor signals, namely running pressure data, are collected in real time when the running machine enters a running state.
S12, detecting the peak position and the trough position in running pressure data of the pressure sensors at all positions;
further, in the embodiment of the invention, after the peak position and the trough position in the running pressure data of the pressure sensor at each position are detected, the running frequency of the user can be determined according to the peak position or the trough position in the running pressure data within the first preset time period, and whether the running frequency of the user is disordered or not is determined according to the running frequency, so that danger is generated. Specifically, when the variation amplitude of the running frequency of the user within the first preset duration is greater than a preset variation threshold, the user is judged to be confused in the running frequency, and the running frequency alarm prompt is carried out, so that danger is avoided. The value of the second preset duration can be set according to actual application requirements, which is not particularly limited in the invention.
Specifically, when the user runs, the wave crest or the wave trough in the running pressure data of the pressure sensor at each position is detected, the wave crest value is the user foot falling time point, the wave trough value is the foot lifting time point, the step frequency can be calculated by recording the wave crest or the wave trough in a period of time, the step frequency is monitored, if the short-time change exceeds a threshold value, for example, the step frequency is fast, slow, and the like, the step frequency confusion of the user is indicated, the user can not keep up at present, and early warning is carried out, so that danger is avoided.
S13, calculating the foot falling position of the current running action according to the running pressure data of the time point corresponding to the peak position, and calculating the real-time position of the user on the running machine after the foot falling according to the foot falling position of the current running action and the current running belt speed of the running machine.
In the embodiment, a preset first calculation model is specifically adopted to calculate the foot drop position P of the current running motion, wherein the first calculation model is as follows, p=aw1×p1+bw2×p2+cw3×p3+dw4×p1, P2, P3, P4 are respectively 2-dimensional position vectors of four pressure sensors located at four corners of the running board of the running machine, w1, w2, w3, w4 are running pressure data of four pressure sensors corresponding to a peak position time point closest to the current time, and a, b, c, d is a preset deviation adjusting parameter.
The offset parameter a, b, c, d is a preset fixed value. In an alternative embodiment, the value of the bias parameter a, b, c, d may be 1, indicating that all four sensors are unbiased. It can be appreciated that the specific value of the bias parameters a, b, c, d can be obtained through experimentation. For example, tire impact instruments with different weights can be used as experimental devices, pressure is applied to the running board at different corresponding positions, sensing data of pressure sensors corresponding to the experimental process are respectively acquired, and then preferable values of a, b, c, d are fitted by using calculation modes such as machine learning.
Specifically, the peak is the foot drop time, so that the peak in the running pressure data of the pressure sensors at all positions is obtained, the foot drop position of the current running can be calculated through an average algorithm of the first calculation model, when running, the user almost drags the running belt to move after the foot drop, and the real-time position of the user on the running machine after the foot drop can be calculated by combining the current speed with the foot drop position. Wherein the real-time position is the position of the foot on the treadmill at any time. The foot-falling position refers to a position that falls on the treadmill for an instant. The foot drop position is different from the real-time position because the foot drop is towed away after landing on the treadmill.
S14, calculating the foot lifting position of the next running action of the user according to the time point corresponding to the wave crest position and the wave trough position, the real-time position and the current running belt speed of the running machine.
In this embodiment, the foot lifting position of the next running action of the user is calculated according to the time points corresponding to the peak position and the trough position, the real-time position and the current running belt speed of the running machine, and specifically includes the following implementation steps of taking the time point corresponding to the trough position closest to the current time as foot lifting time and taking the time point corresponding to the peak position closest to the current time as foot falling time:
the y coordinate value of the foot lifting position = the y coordinate value of the real-time position-the current running belt speed (foot lifting time-foot falling time), and the x coordinate value of the foot lifting position = the x coordinate value of the real-time position, wherein the running belt moving direction is set to be the y axis direction, and the direction perpendicular to the running belt moving direction on the same horizontal plane is set to be the x axis direction.
Specifically, the foot lifting time can be determined by judging the occurrence time of the trough position in the running pressure data of the pressure sensor at each position. The trough represents that the value acquired by the pressure sensor at the current moment is minimum, namely, no person steps on the trough in the corresponding movement process. For example, the direction of motion of the running belt is defined as the y-axis, and the direction perpendicular to the direction of motion of the running belt is defined as x, and then for the direction of motion of the running belt, the y-coordinate value of the foot lifting position=the y-coordinate value of the real-time position-the current running belt speed (foot lifting time-foot falling time), the perpendicular direction is defined as the x-coordinate value of the foot lifting position=the x-coordinate value of the real-time position.
And S15, judging whether the real-time position and/or the foot lifting position is in a preset dangerous position area on the running board of the running machine.
S16, when the real-time position and/or the foot lifting position is in a preset dangerous position area on the running board of the running machine, performing out-of-limit alarm prompt.
In the embodiment of the invention, a dangerous position area is preset on a running board of the running machine in advance, and in the running process, when the real-time position of the user on the running machine after falling feet and/or the foot lifting position of the next running action of the user are in the preset dangerous position area, real-time early warning is carried out, for example, if the falling feet position is too far left or right, the foot lifting position is too far after examination, and the like, out-of-limit warning prompt can be carried out.
According to the running state monitoring method provided by the embodiment of the invention, the running pressure data detected by the pressure sensors positioned at the four corners of the running plate of the running machine are analyzed, and the real-time position of the user on the running machine after the foot falls and the foot lifting position of the next running action of the user are calculated in real time, so that whether the user deviates from a running area or not is judged, the user is reminded in real time, the danger caused by the deviation of the user or the falling of the running machine is avoided, and the user experience is improved.
In addition, the running state of the running machine is monitored by adopting four sensors, the running machine is low in cost and easy to install, the prompting situation is rich through algorithm calculation, and the safety monitoring effect during exercise can be conveniently achieved.
It can be understood that, in order to further improve the running state monitoring accuracy, the design pressure sensors can be additionally arranged at other positions of the running board of the running machine, or a plurality of pressure sensors are arranged at four corners of the running board of the running machine to detect running pressure data, and the technical scheme of arranging 4 pressure sensors at four corners of the running board of the running machine is only used for explaining the technical scheme and is not particularly limited.
In the embodiment of the invention, before running pressure data of pressure sensors positioned at four corners of a running plate of a running machine are recorded in real time, sensor data acquired by the pressure sensors positioned at the four corners of the running plate of the running machine are acquired, whether a user climbs the running machine or not is monitored according to the sensor data, whether the running machine has hidden dangles in the hanging state currently is judged according to the sensor data acquired by each pressure sensor when the user climbs the running machine, if the hidden dangles in the hanging state exist, hanging alarm prompt is carried out, otherwise, the working state of the running machine is monitored, and the running pressure data operation of the pressure sensors at each position is recorded in real time when the running machine enters the running state.
In the embodiment of the invention, whether a user climbs onto the running machine or not can be monitored according to the sensor data acquired by the pressure sensors before exercise, and when the user climbs onto the running machine, whether the sensor data of each pressure sensor change consistently or not is judged, for example, three pressure sensor values are increased, one pressure sensor value is hardly increased, the corresponding position of the pressure sensor is not increased by the value, the running machine is suspended on uneven ground, and suspended placement hidden danger exists, and suspended alarm prompt is carried out at the moment, so that the danger caused by the exercise of the user is avoided.
In the embodiment of the invention, in order to ensure the accurate availability of data, the initial sensor data acquired by the pressure sensors positioned at four corners of the running board of the running machine can be acquired in the idle state of the running machine, and the pressure sensors are calibrated according to the initial sensor data.
Specifically, when the running machine is started, the value of the sensor is recorded for a period of time in the idle state of the running machine, the sensor is calibrated, and the current value is recorded. Further, sensor data may fluctuate, or illegal values may sometimes occur due to electromagnetic interference or the like, so that a filtering algorithm may also be adopted to ensure data consistency.
When the running machine is in idle load, the values of the pressure sensors are read, an average value in a period of time is recorded as initial sensor data of the corresponding pressure sensor by means of average value filtering, and when the data of the pressure sensors are read, difference processing can be carried out on the re-read data and the initial sensor data of the corresponding pressure sensor, so that calibration and calibration are completed. The results obtained in theory are zero values and actually float up and down around the zero values, so calibration is needed to achieve accurate analysis of the data.
The method further comprises the steps of recording running pressure data collected by pressure sensors at four corners of a running board of the running machine by taking a time point corresponding to the peak position as an index to form a queue, analyzing the landing pressures of left and right feet through the position relation of each pressure sensor and the running pressure data collected by each pressure sensor, and carrying out unbalanced early warning prompt in movement if the landing pressures of the left and right feet are in an unbalanced state continuously within a second preset duration. The value of the second preset duration can be set according to actual application requirements, which is not particularly limited in the invention.
Specifically, the invention can record the values of the sensors based on the time of the falling foot points to form a queue, judge the left foot and the right foot according to the position relation of the sensors, calculate the values of the left foot and the right foot to obtain the falling pressure, and if the falling of the two feet is always unbalanced for a period of time, early warning prompt is carried out in the movement.
Further, according to the position information of the pressure sensor, the peak value queue of the sensor is recorded, and whether the current foot falls on the left foot or the right foot can be distinguished through calculation. In an alternative embodiment, consider a queue formed by several consecutive footfalls, for two consecutive footfalls in the queue, if the sum of the left sensor values of the first footfall is greater than the sum of the right sensor values, and the sum of the left sensor values of the second footfall is less than the sum of the right sensor values, then the first footfall may be determined to be the left foot, and the second footfall may be determined to be the right foot. Assuming that the four sensor values are w1, w2, w3, w4 when the foot drop point is left foot, and u1, u2, u3, u4 when the foot drop point is right foot, it can be calculated that pr= (a×w1+b×w2+c×w3+d×w4)/(a×u1+b×u2+c×u3+d×u4) is a left and right foot drop pressure ratio, and a, b, c, d is a preset deviation adjustment parameter. When the ratio of the ground pressure of the left foot to the ground pressure of the right foot is larger than a certain preset threshold value or smaller than a certain preset threshold value for a continuous period of time, the imbalance of the ground pressure of the left foot and the ground pressure of the right foot of the user can be judged, and early warning prompt is carried out on the user.
According to the running state monitoring method provided by the embodiment of the invention, the running pressure data detected by the pressure sensors positioned at the four corners of the running plate of the running machine are analyzed, and the foot drop points of the user on the running machine are calculated in real time, so that whether the user deviates from a running area is judged, reminding is given in real time, and danger is avoided for the user. The reminding part mainly comprises whether the running machine is in an uneven position or not, so that the exercise is dangerous. If the walking frequency of the user is disordered, the foot falling position of the dangerous user is too deviated, and therefore the dangerous user can deviate or fall down the running machine, so that whether the left foot falling force and the right foot falling force of the dangerous user are inconsistent or not is caused, the running posture is incorrect, and some chronic injuries are caused.
For the purposes of simplicity of explanation, the methodologies are shown and described as a series of acts, it is to be understood and appreciated by one of ordinary skill in the art that the methodologies are not limited by the order of acts, as some acts may, in accordance with the methodologies, take place in other order or concurrently. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
In another embodiment of the present invention, there is also provided a running state monitoring apparatus including a functional module for implementing the running state monitoring method as described above. Fig. 2 schematically illustrates a structural diagram of a running state monitoring device according to an embodiment of the present invention. Referring to fig. 2, the running state monitoring device according to the embodiment of the present invention specifically includes a recording module 201, a detecting module 202, a first calculating module 203, a second calculating module 204, a judging module 205, and an alarm module 206, where:
a recording module 201 for recording running pressure data of the pressure sensors at four corners of the running board of the running machine in real time when the running machine enters the running state;
a detection module 202 for detecting peak and trough positions in running pressure data of the pressure sensors at the respective positions;
The first calculating module 203 is configured to calculate a foot drop position of a current running motion according to running pressure data of a point in time corresponding to the peak position, and calculate a real-time position of a user on the running machine after the user drops the foot according to the foot drop position of the current running motion and a current running belt speed of the running machine;
A second calculating module 204, configured to calculate a foot lifting position of a next running action of the user according to the time points corresponding to the peak position and the trough position, the real-time position and the current running belt speed of the running machine;
The judging module 205 is configured to judge whether the real-time position and/or the foot lifting position is in a preset dangerous position area on the running board of the running machine;
And the alarm module 206 is used for carrying out boundary-exiting alarm prompt when the real-time position and/or the foot lifting position is in a preset dangerous position area on the running board of the running machine.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Furthermore, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method as described above.
In this embodiment, the modules/units integrated with the running state monitoring method may be stored in a computer readable storage medium if implemented as software functional units and sold or used as independent products. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
In a specific implementation process of the embodiment, reference may be made to the foregoing embodiment, which has a corresponding technical effect.
The embodiment of the invention also provides a running machine, which comprises a running machine body and a controller, wherein the controller comprises a memory, a processor and a computer program stored on the memory and running on the processor, and the steps of the running state monitoring method are realized when the processor executes the computer program, such as S11-S16 shown in fig. 1. Or the processor may perform the functions of the modules/units in the embodiments of the running state monitoring device, such as the recording module 201, the detecting module 202, the first calculating module 203, the second calculating module 204, the judging module 205, and the alarm module 206 shown in fig. 2, when executing the computer program.
The running machine body comprises pressure sensors positioned at four corners of a running plate of the running machine.
According to the running machine, the running state monitoring method, the running state monitoring device and the storage medium, the running pressure data detected by the pressure sensors at four corners of the running plate of the running machine are analyzed, the real-time position of the user on the running machine after the user falls down and the foot lifting position of the next running action of the user are calculated in real time, so that whether the user deviates from a running area or not is judged, the user is reminded in real time, danger caused by the fact that the user deviates or falls down the running machine is avoided, and user experience is improved.
The computer program may be divided into one or more modules/units, which are stored in the memory and executed by the processor to accomplish the present invention, for example. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program in the running state monitoring device.
The Processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that is the control center of the treadmill, with various interfaces and lines connecting the various portions of the entire treadmill.
The memory may be used to store the computer program and/or modules, and the processor may implement various functions of the treadmill by running or executing the computer program and/or modules stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area which may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), etc., and a storage data area which may store data created according to the use of the cellular phone (such as audio data, a phonebook, etc.), etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart memory card (SMART MEDIA CARD, SMC), secure Digital (SD) card, flash memory card (FLASH CARD), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Those skilled in the art will appreciate that while some embodiments herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments. For example, any of the claimed embodiments of the application can be used in any combination.
It should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention, and not for limiting the same, and although the present invention has been described in detail with reference to the above-mentioned embodiments, it should be understood by those skilled in the art that the technical solution described in the above-mentioned embodiments may be modified or some technical features may be equivalently replaced, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the spirit and scope of the technical solution of the embodiments of the present invention.