CN112546575A - Target device adjusting method and device, storage medium and electronic device - Google Patents

Target device adjusting method and device, storage medium and electronic device Download PDF

Info

Publication number
CN112546575A
CN112546575A CN202011477413.0A CN202011477413A CN112546575A CN 112546575 A CN112546575 A CN 112546575A CN 202011477413 A CN202011477413 A CN 202011477413A CN 112546575 A CN112546575 A CN 112546575A
Authority
CN
China
Prior art keywords
speed
target
infrared
module
time period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011477413.0A
Other languages
Chinese (zh)
Other versions
CN112546575B (en
Inventor
马宇来
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202011477413.0A priority Critical patent/CN112546575B/en
Publication of CN112546575A publication Critical patent/CN112546575A/en
Application granted granted Critical
Publication of CN112546575B publication Critical patent/CN112546575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0087Electric or electronic controls for exercising apparatus of groups A63B21/00 - A63B23/00, e.g. controlling load
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B22/00Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements
    • A63B22/02Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements with movable endless bands, e.g. treadmills
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B22/00Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements
    • A63B22/02Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements with movable endless bands, e.g. treadmills
    • A63B22/0235Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements with movable endless bands, e.g. treadmills driven by a motor
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B22/00Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements
    • A63B22/02Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements with movable endless bands, e.g. treadmills
    • A63B22/0235Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements with movable endless bands, e.g. treadmills driven by a motor
    • A63B22/0242Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements with movable endless bands, e.g. treadmills driven by a motor with speed variation
    • A63B22/025Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements with movable endless bands, e.g. treadmills driven by a motor with speed variation electrically, e.g. D.C. motors with variable speed control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D13/00Control of linear speed; Control of angular speed; Control of acceleration or deceleration, e.g. of a prime mover
    • G05D13/62Control of linear speed; Control of angular speed; Control of acceleration or deceleration, e.g. of a prime mover characterised by the use of electric means, e.g. use of a tachometric dynamo, use of a transducer converting an electric value into a displacement
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0087Electric or electronic controls for exercising apparatus of groups A63B21/00 - A63B23/00, e.g. controlling load
    • A63B2024/0093Electric or electronic controls for exercising apparatus of groups A63B21/00 - A63B23/00, e.g. controlling load the load of the exercise apparatus being controlled by performance parameters, e.g. distance or speed

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Cardiology (AREA)
  • Vascular Medicine (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Rehabilitation Tools (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)

Abstract

The invention discloses a method and a device for adjusting target equipment, a storage medium and an electronic device. Wherein, the method comprises the following steps: acquiring a first speed obtained by detecting a target part by an infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period, wherein the infrared module is arranged at one side of target equipment, the target part is positioned on a target object, and the target object executes a target event on the target equipment; and adjusting the rotating speed of the motor of the target equipment according to the magnitude relation of the first speed and the second speed. By adopting the technical scheme, the problems that the treadmill cannot automatically control the rotating speed of the motor and needs manual speed regulation by a user in the related technology are solved.

Description

Target device adjusting method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for adjusting a target device, a storage medium, and an electronic apparatus.
Background
At present, the running machine is more and more popular and loved by the public, and only one running machine is arranged at home, so that the user can run when the user wants to run. At present, most of the running machines in the market belong to a semi-automatic control mode, for example, the speed is controlled by using a gauge head key and the like, or the running machines are given different speeds by using an APP communication mode. The semi-automatic control type treadmill has the following defects: the speed gear is adjusted and needs to be clicked by the runner manually, and the gear is clicked when running, so that the accident of falling down is easy to disperse, the gear change is not continuous, the speed change is violent, the running is performed at a high speed, and under the condition of high speed, the running rhythm of the person cannot follow the rhythm of the running machine, so that the injury of different degrees of the knee joint can be easily caused.
Aiming at the problems that the treadmill can not automatically control the rotating speed of the motor and needs manual speed regulation by a user in the related technology, an effective solution is not provided.
Disclosure of Invention
The embodiment of the invention provides a method and a device for adjusting target equipment, a storage medium and an electronic device, which are used for solving the problems that a treadmill in the related art cannot automatically control the rotating speed of a motor and needs manual speed regulation by a user
According to an embodiment of the present invention, there is provided a method for adjusting a target device, including: acquiring a first speed obtained by detecting a target part by an infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period, wherein the infrared module is arranged at one side of target equipment, the target part is positioned on a target object, and the target object executes a target event on the target equipment; and adjusting the rotating speed of the motor of the target equipment according to the magnitude relation of the first speed and the second speed.
Optionally, adjusting the rotation speed of the motor of the target device according to the magnitude relationship between the first speed and the second speed includes: reducing the rotation speed of a motor of the target device when the first speed is greater than the second speed, wherein the first time period is acquired earlier than the second time period; and in the case that the first speed is lower than the second speed, increasing the rotation speed of the motor of the target device.
Optionally, obtaining a first speed obtained by detecting the target portion by the infrared module in a first time period includes: obtain first infrared inductor and detect the first moment of target location to and second infrared inductor detects the second moment of target location, wherein, first infrared inductor with the second infrared inductor all sets up infrared module, first infrared inductor with the interval has first distance between the second infrared inductor, first time quantum includes: the first time, the second time; determining the first speed based on a first distance and a difference between the first time and the second time.
Optionally, obtaining a second speed obtained by detecting the target portion by the infrared module in a second time period includes: acquiring a third moment when the first infrared sensor detects the target part and a fourth moment when the second infrared sensor detects the target part, wherein the second time period comprises: the third time, the fourth time; determining the second speed based on the first distance and a difference between the third time and the fourth time.
Optionally, obtaining a first speed obtained by detecting the target portion by the infrared module in a first time period includes: under the condition that a plurality of infrared modules are arranged, acquiring a plurality of first speeds obtained by detecting a target part by the plurality of infrared modules in a first time period; carrying out weighted summation on the plurality of first speeds, and taking the average value of the obtained weighted summation as the first speed; acquiring a second speed obtained by detecting the target part by the infrared modules at a second time, wherein the second speed is obtained by detecting the target part by the infrared modules at a second time period under the condition that the number of the infrared modules is multiple; and carrying out weighted summation on the plurality of second speeds, and taking the average value of the obtained weighted summation as the second speed.
Optionally, in a case that at least three infrared modules are arranged on the target device, the method further includes: acquiring a third speed obtained by detecting the target part by the first infrared module in a first time period; after the third speed is obtained and before the fourth speed is obtained through the second infrared module, adjusting the rotating speed of the motor of the target device to a rotating speed corresponding to the third speed; after the fourth speed is acquired and before a fifth speed is acquired through a third infrared module, adjusting the rotating speed of a motor of the target device to a rotating speed corresponding to the fourth speed, wherein the plurality of infrared modules comprise: the first infrared module, the second infrared module and the third infrared module.
Optionally, obtaining a first speed obtained by detecting the target location by the infrared module in a first time period and a second speed obtained by detecting the target location by the infrared module in a second time period includes: the method comprises the steps of acquiring a first speed obtained by detecting a target part in a first time period by an infrared module and a second speed obtained by detecting the target part in a second time period by the infrared module under the condition that the target object exists on the target equipment detected by the infrared module and the target equipment starts an automatic adjusting mode, wherein the automatic adjusting mode is used for indicating the target equipment to adjust the rotating speed of a motor of the target equipment according to the detection result of the infrared module.
According to another embodiment of the present invention, there is also provided an adjusting apparatus of a target device, including: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first speed obtained by detecting a target part by an infrared module and a second speed obtained by detecting the target part by a second infrared module, the infrared module and the second infrared module are sequentially arranged on the same side of target equipment, the target part is positioned on a target object, and the target object executes a target event on the target equipment; and the adjusting module is used for adjusting the rotating speed of the motor of the target device according to the magnitude relation between the first speed and the second speed.
According to a further embodiment of the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to carry out the steps of any of the above-described method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the method and the device, a first speed obtained by detecting the target part by the infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period are obtained, wherein the infrared module is arranged on one side of target equipment, the target part is positioned on a target object, and the target object executes a target event on the target equipment; and adjusting the rotating speed of the motor of the target equipment according to the magnitude relation of the first speed and the second speed. That is to say, a first speed obtained by detecting a target part by an infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period are obtained, and the rotation speed of the motor of the target device is adjusted according to the magnitude relation between the first speed and the second speed. By adopting the technical scheme, the problems that the related art treadmill cannot automatically control the rotating speed of the motor and needs manual speed regulation by a user are solved, the intention of the user is predicted by the treadmill, and the motor is automatically controlled to operate according to the recognition result.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a client of an adjustment method of a target device according to an embodiment of the present invention;
fig. 2 is a flowchart of an adjustment method of a target device according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an adjusting method of a target device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an installation position of an infrared sensing module of an adjustment method of a target device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an infrared detection module of an adjustment method of a target device according to an embodiment of the present invention;
fig. 6 is a block diagram of an adjusting apparatus of a target device according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided by the embodiments of the present application may be executed in a client, or similar device. Taking the example of running on the client, fig. 1 is a hardware structure block diagram of the client of the adjustment method of the target device according to the embodiment of the present invention. As shown in fig. 1, the client may include one or more processors 102 (only one is shown in fig. 1), where the processors 102 may include, but are not limited to, a Microprocessor (MPU) or a Programmable Logic Device (PLD), and a memory 104 for storing data, and in an exemplary embodiment, the client may further include a transmission device 106 for communication function and an input/output device 108. It will be understood by those of ordinary skill in the art that the structure shown in fig. 1 is merely an illustration and is not intended to limit the structure of the client. For example, the client may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store a client program, for example, a software program and a module of application software, such as a computer program corresponding to the adjustment method of the target device in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to clients over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the client. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, an adjusting method of a target device is provided, which is applied to the client, and fig. 2 is a flowchart of the adjusting method of the target device according to the embodiment of the present invention, where the flowchart includes the following steps:
step S202, acquiring a first speed obtained by detecting a target part by an infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period, wherein the infrared module is arranged at one side of target equipment, the target part is positioned on a target object, and the target object executes a target event on the target equipment;
and step S204, adjusting the rotating speed of the motor of the target device according to the magnitude relation between the first speed and the second speed.
According to the method and the device, a first speed obtained by detecting the target part by the infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period are obtained, wherein the infrared module is arranged on one side of target equipment, the target part is positioned on a target object, and the target object executes a target event on the target equipment; and adjusting the rotating speed of the motor of the target equipment according to the magnitude relation of the first speed and the second speed. That is to say, a first speed obtained by detecting a target part by an infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period are obtained, and the rotation speed of the motor of the target device is adjusted according to the magnitude relation between the first speed and the second speed. By adopting the technical scheme, the problems that the related art treadmill cannot automatically control the rotating speed of the motor and needs manual speed regulation by a user are solved, the intention of the user is predicted by the treadmill, and the motor is automatically controlled to operate according to the recognition result.
In step S204, adjusting a rotation speed of a motor of the target device according to a magnitude relationship between the first speed and the second speed includes: reducing the rotation speed of a motor of the target device when the first speed is greater than the second speed, wherein the first time period is acquired earlier than the second time period; and in the case that the first speed is lower than the second speed, increasing the rotation speed of the motor of the target device.
It should be noted that, when the first speed is greater than the second speed, the rotation speed of the motor of the target device is reduced, where the first time period is obtained earlier than the second time period, and the first speed and the second speed are two speeds obtained by the same infrared module in different time periods. The first speed is acquired by the infrared module in the first time period, and the second speed is acquired by the infrared module in the second time period. An infrared module has two infrared induction modules, wherein infrared induction module is exactly the infrared inductor of above. In the first period, the two infrared sensing modules of the infrared module sense a target portion of a target object, in one embodiment, the target object is a user, and the target portion is a foot or a leg of the user. Since the distance between the two infrared sensing modules of one infrared module is determined, the first speed is the value obtained by dividing the distance between the two infrared sensing modules of one infrared module by the first time period. The second speed is the same as the first speed is calculated. The target device may adjust the rotational speed of the motor of the target device according to the relationship between the magnitudes of the first speed and the second speed: if the first speed is greater than the second speed, reducing a rotational speed of a motor of the target device; if the first speed is less than the second speed, then the rotational speed of the motor of the target device is increased.
For example, the following steps are carried out: an infrared module at delta Tn1 and Tn+11, the two infrared induction modules of the infrared module group are used for detecting the foot of the user. From the equation of speed versus distance/time, it can be deduced that the speed V is the speed V when the motion of the person's leg is detected the nth timen1=S/△Tn1, when the n +1 th time of detecting the leg movement of the person, Vn+11=S/△Tn+11. The invention uses VTrn+1Indicating the speed trend of the user, VTrn+1=Vn+11/Vn1 when VTr isn+1>1, the first speed is equal to be lower than the second speed, which indicates that the movement speed of the person is faster and faster, and at the moment, the rotating speed of the motor needs to be increased according to the same proportion. Conversely, the motor speed is reduced in the same proportion. For example, the motor has a primary rotational speed of Xnrpm, the new target rotational speed should be Xn+1=Xn*Vn+11/Vn1 rpm. Through the technical means, the treadmill can predict the intention of a user and automatically control the motor to operate according to the recognition result, thereby realizing the complete automation of the treadmill.
In step S202, acquiring a first speed obtained by the infrared module detecting the target portion in a first time period includes: obtain first infrared inductor and detect the first moment of target location to and second infrared inductor detects the second moment of target location, wherein, first infrared inductor with the second infrared inductor all sets up infrared module, first infrared inductor with the interval has first distance between the second infrared inductor, first time quantum includes: the first time, the second time; determining the first speed based on a first distance and a difference between the first time and the second time.
The infrared sensor detects the presence of the target object by infrared rays, and records the time when the target object is detected. The method comprises the steps of obtaining a first moment when a first infrared inductor detects a target part, and obtaining a second moment when a second infrared inductor detects the target part, wherein the first infrared inductor and the second infrared inductor are both located on the same infrared module. The first infrared sensor detects the target portion at a first time, and the second infrared sensor detects the target portion at a second time. The first time period may be determined by a difference between the first time and the second time, and the interval between the first infrared sensor and the second infrared sensor may be recorded as a first distance, so that the first speed obtained by the infrared module detecting the target portion in the first time period is obtained as a value obtained by dividing the first distance by the first time period.
Note that the first time when the first infrared sensor detects the target portion and the second time when the second infrared sensor detects the target portion are two adjacent times, because the first infrared sensor detects the target portion first, the second infrared sensor detects the target portion later, and the first infrared sensor detects the target portion … … later, and this is repeated. If the first moment when the first infrared sensor detects the target part and the second moment when the second infrared sensor detects the target part are not two adjacent moments, the first speed obtained by detecting the target part in the first time period by the infrared module calculated by dividing the first distance by the first time period is incorrect, and the first distance and the first time period are not corresponding. It should be noted that the distance between the first infrared sensor and the second infrared sensor can be adjusted by a user according to a specific situation.
In step S202, acquiring a second speed obtained by the infrared module detecting the target portion in a second time period includes: acquiring a third moment when the first infrared sensor detects the target part and a fourth moment when the second infrared sensor detects the target part, wherein the second time period comprises: the third time, the fourth time; determining the second speed based on the first distance and a difference between the third time and the fourth time.
It should be noted that the third time when the first infrared sensor detects the target portion and the fourth time when the second infrared sensor detects the target portion are obtained, where the first infrared sensor and the second infrared sensor are both located on the same infrared module. The first infrared sensor detects the target portion at the third time, and the second infrared sensor detects the target portion at the fourth time. A second time period may be determined by a difference between the third time and the fourth time, and an interval between the first infrared sensor and the second infrared sensor may be recorded as a first distance, so that a second speed obtained by the infrared module detecting the target portion in the second time period is obtained as a value obtained by dividing the first distance by the second time period.
In an alternative embodiment, acquiring a first speed obtained by the infrared module detecting the target portion in a first time period includes: under the condition that a plurality of infrared modules are arranged, acquiring a plurality of first speeds obtained by detecting a target part by the plurality of infrared modules in a first time period; carrying out weighted summation on the plurality of first speeds, and taking the average value of the obtained weighted summation as the first speed; acquiring a second speed obtained by detecting the target part by the infrared modules at a second time, wherein the second speed is obtained by detecting the target part by the infrared modules at a second time period under the condition that the number of the infrared modules is multiple; performing weighted summation on the plurality of second speeds, and taking the average value of the obtained weighted summation as the second speed
The rotation speed of the motor of the target device is not accurately adjusted according to the magnitude relation between the first speed and the second speed detected by one infrared module, the variation of the first speed and the second speed is too large, and the user can feel abrupt in use, so the invention adopts a plurality of infrared modules to detect a plurality of first speeds and a plurality of second speeds, weights and sums the plurality of first speeds and the plurality of second speeds, and uses the average value of the weighted sums as the first speed and the second speed.
It should be noted that, a plurality of first speeds obtained by detecting the target portion by the plurality of infrared modules in the first time period are obtained, and the plurality of first speeds are weighted and summed, where the plurality of first speeds may be weighted and summed, or the plurality of first speeds may be directly summed without weighting, and an average value of the obtained sums is taken as the first speed. It should be noted that, a plurality of second speeds obtained by detecting the target portion by the plurality of infrared modules in a second time period are obtained, and the plurality of second speeds are weighted and summed, where the plurality of second speeds may be weighted and summed, or the plurality of second speeds may be directly summed without weighting, and an average value of the obtained sums is taken as the second speed.
In an optional embodiment, in a case that at least three infrared modules are provided on the target device, the method further includes: acquiring a third speed obtained by detecting the target part by the first infrared module in a first time period; after the third speed is obtained and before the fourth speed is obtained through the second infrared module, adjusting the rotating speed of the motor of the target device to a rotating speed corresponding to the third speed; after the fourth speed is acquired and before a fifth speed is acquired through a third infrared module, adjusting the rotating speed of a motor of the target device to a rotating speed corresponding to the fourth speed, wherein the plurality of infrared modules comprise: the first infrared module, the second infrared module and the third infrared module.
It should be noted that, when there are a plurality of infrared modules, the plurality of first speeds are weighted and summed, an average value of the obtained weighted and summed is used as the first speed, the plurality of second speeds are weighted and summed, an average value of the obtained weighted and summed is used as the second speed, the rotation speed of the motor of the target device is adjusted according to a magnitude relationship between the first speed and the second speed obtained at this time, and when a difference between the first speed and the second speed is too large, a sudden change in the rotation speed of the motor may cause a user to feel abrupt. Therefore, the present invention provides another method for adjusting the rotation speed of the motor of the target device, that is, sequentially adjusting the rotation speed of the motor of the target device according to the first speed and the second speed obtained by detecting the plurality of infrared modules: adjusting the rotating speed of a motor of the target device to a rotating speed corresponding to the third speed acquired by the first infrared module; adjusting the rotating speed of a motor of the target device to a rotating speed corresponding to the fourth speed acquired by the second infrared module; and adjusting the rotating speed of the motor of the target equipment to a rotating speed corresponding to the fifth speed acquired by the third infrared module.
The infrared detection module and the algorithm work principle of the invention are as follows: when a person or a leg runs forwards to empty, the person or the leg is sensed by the infrared sensor a and then sensed by the infrared sensor b, and the person or the leg is detected once every empty step. The distance S between each module a, b of the sensor is a fixed value (for example 2 cm). Assuming that the nth time is detected, the time difference between the two is recorded as DeltaT for the modules 1,2,3 and 4n1,△Tn2,△Tn3,△Tn4. (normal range is 2-200 ms, corresponding speed is 0.1-10 m/s) assuming that the n +1 th detection, the time difference between the two is recorded as DeltaT for the modules 1,2,3,4n+11,△Tn+12,△Tn+13,△Tn+14. According to the formula of speed, namely distance and time, the speed V can be deduced when the motion of the human leg is detected for the nth timen1=S/△Tn1, when the n +1 th time of detecting the leg movement of the person, Vn+11=S/△Tn+11. Velocity trend VTrn+1=Vn+11/Vn1 when VTr isn+1>1, the movement speed of the person is faster and faster, and at the moment, the rotating speed of the motor needs to be increased according to the same proportion. Conversely, the motor speed is reduced in the same proportion. For example, the motor has a primary rotational speed of Xnrpm, the new target rotational speed should be Xn+1=Xn*Vn+11/Vn1 rpm. The machine has 4 modules, each module is 10cm apart from each other transversely, and the people's leg will be caught 4 times in the process of lifting to landing each time, therefore the process of lifting to landing each time can be according to 4 module's instruction adjustment motor rotational speed 4 times. After the motor gives an instruction from the module No. 1, the speed of the motor needs to be adjusted to a corresponding target rotating speed within 10ms (the human leg does not enter the second module at the moment), and so on, after one period is finished, in the whole tread stage after the leg is landed, the running speed of the motor is the average value of the sum of the target speeds calculated by the 4 modules, namely Xctn+1=(Xan+1+Xbn+1+Xcn+1+Xcn+1/)/4, thereby avoiding that the 4 results are too different, so that the motor rotating speed is suddenly changed to cause the user to feel obtrusive in use. So far, the motor rotating speed control values of all stages are obtained.
In step S202, acquiring a first speed obtained by the infrared module detecting the target portion in a first time period and a second speed obtained by the infrared module detecting the target portion in a second time period includes: the method comprises the steps of acquiring a first speed obtained by detecting a target part in a first time period by an infrared module and a second speed obtained by detecting the target part in a second time period by the infrared module under the condition that the target object exists on the target equipment detected by the infrared module and the target equipment starts an automatic adjusting mode, wherein the automatic adjusting mode is used for indicating the target equipment to adjust the rotating speed of a motor of the target equipment according to the detection result of the infrared module.
It should be noted that, whether the infrared module detects that the target object exists on the target device is determined by whether the first speed and the second speed are detected. Because it makes no sense to merely have the target object on the treadmill, it is not necessary to start the treadmill if the user is merely standing on the treadmill. The present invention detects whether the target object moves on the treadmill, and if the target object moves on the treadmill, the first speed and the second speed can be detected without fail, and if the first speed and the second speed are not detected, the treadmill does not have to be started. It should be noted that the treadmill of the present invention has an automatic adjustment mode and a manual adjustment mode, and when the target device has started the automatic adjustment mode, a first speed obtained by the infrared module detecting the target portion in a first time period and a second speed obtained by the infrared module detecting the target portion in a second time period are obtained.
In order to better understand the technical scheme, the invention also provides an alternative embodiment for explaining the technical scheme.
In an alternative embodiment, fig. 3 is a schematic flowchart of an adjusting method of a target device according to an embodiment of the present invention, as shown in fig. 3, including the following steps:
step S302: firstly, supplying power to a main power supply of the treadmill;
step S304: the infrared human body induction module works, and the infrared human body induction module keeps a detection state;
step S306: detecting the existence/non-existence of the treadmill, if detecting that the user enters the treadmill, starting a motor of the treadmill, and executing the step S308; if the user is not detected to enter, the treadmill is proved to be unmanned, step S310 is executed, and the treadmill is not started;
step S308: determining a mode, if the mode is a manual mode, executing step S312, and if the mode is an automatic mode, executing step S314;
step S310: the running machine is prohibited to be started;
step S312: adjusting the speed of the motor at a key design speed;
step S314: the infrared sensing module starts to detect the current real-time frequency change of a runner so as to adjust the speed of the motor of the treadmill at any time;
step S316: controlling a treadmill motor;
step S318: running healthy and happy.
In an alternative embodiment, fig. 4 is a schematic diagram of an installation position of an infrared sensing module of an adjustment method of a target device according to an embodiment of the present invention, and fig. 5 is a schematic diagram of an infrared detection module of the adjustment method of the target device according to an embodiment of the present invention, as shown in fig. 4 and 5:
arrange 4 infrared detection modules 1,2,3,4 in the treadmill side, have 2 infrared detection module a on every module, b, infrared detection module and algorithm theory of operation are: when a human body or a human leg moves, the infrared sensor a senses the human body or the human leg, and then the infrared sensor b senses the human body or the human leg, and for the modules 1,2,3 and 4, the time difference between the infrared sensor a and the modules is recorded as T1, T2, T3 and T4. And the rotating speed of the motor of the treadmill is correspondingly adjusted according to the T value and the weight of the T1, the T2, the T3 and the T4.
4 infrared detection modules 1,2,3 and 4 are arranged at proper height (about 20cm from the plane of the belt) on the side face of the running machine, each module is provided with 2 infrared detection modules a and b at a transverse distance of 10cm, when a person runs on the running machine, the transverse motion process of the legs of the person is that the legs of the person firstly pass through the sensors a and b of the module 1, then pass through the sensors a and b of the module 2, then pass through the sensors a and b of the module 3, then pass through the sensors a and b of the module 4, then fall to the ground, and the belt drives the legs of the person to reversely pass through the sensors b and a of the module 4, 3, 2 and 1.
According to the method and the device, a first speed obtained by detecting the target part by the infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period are obtained, wherein the infrared module is arranged on one side of target equipment, the target part is positioned on a target object, and the target object executes a target event on the target equipment; and adjusting the rotating speed of the motor of the target equipment according to the magnitude relation of the first speed and the second speed. That is to say, a first speed obtained by detecting a target part by an infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period are obtained, and the rotation speed of the motor of the target device is adjusted according to the magnitude relation between the first speed and the second speed. By adopting the technical scheme, the problems that the related art treadmill cannot automatically control the rotating speed of the motor and needs manual speed regulation by a user are solved, the intention of the user is predicted by the treadmill, and the motor is automatically controlled to operate according to the recognition result.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be substantially embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device) to execute the methods described in the embodiments of the present application.
In this embodiment, an adjusting apparatus of a target device is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the descriptions already given are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 6 is a block diagram of an adjusting apparatus of a target device according to an embodiment of the present invention; as shown in fig. 6, includes:
an obtaining module 60, configured to obtain a first speed obtained by detecting a target portion by an infrared module, and a second speed obtained by detecting the target portion by a second infrared module, where the infrared module and the second infrared module are sequentially disposed on a same side of a target device, the target portion is located on a target object, and the target object executes a target event on the target device;
and an adjusting module 62, configured to adjust a rotation speed of a motor of the target device according to a magnitude relationship between the first speed and the second speed.
According to the method and the device, a first speed obtained by detecting the target part by the infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period are obtained, wherein the infrared module is arranged on one side of target equipment, the target part is positioned on a target object, and the target object executes a target event on the target equipment; and adjusting the rotating speed of the motor of the target equipment according to the magnitude relation of the first speed and the second speed. That is to say, a first speed obtained by detecting a target part by an infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period are obtained, and the rotation speed of the motor of the target device is adjusted according to the magnitude relation between the first speed and the second speed. By adopting the technical scheme, the problems that the related art treadmill cannot automatically control the rotating speed of the motor and needs manual speed regulation by a user are solved, the intention of the user is predicted by the treadmill, and the motor is automatically controlled to operate according to the recognition result.
Optionally, the adjusting module 62 is further configured to reduce a rotation speed of a motor of the target device when the first speed is greater than the second speed, where a time when the first speed is obtained is earlier than a time when the second speed is obtained; and increasing the rotation speed of the motor of the target device when the first speed is lower than the second speed.
It should be noted that, when the first speed is greater than the second speed, the rotation speed of the motor of the target device is reduced, where the first time period is obtained earlier than the second time period, and the first speed and the second speed are two speeds obtained by the same infrared module in different time periods. The first speed is acquired by the infrared module in the first time period, and the second speed is acquired by the infrared module in the second time period. An infrared module has two infrared induction modules, wherein infrared induction module is exactly the infrared inductor of above. In the first time period, the two infrared sensing modules of the infrared module sense a target portion of a target object, in one embodiment, the target object is a user, and the target portion is a foot of the user. Since the distance between the two infrared sensing modules of one infrared module is determined, the first speed is the value obtained by dividing the distance between the two infrared sensing modules of one infrared module by the first time period. The second speed is the same as the first speed is calculated. The target device may adjust the rotational speed of the motor of the target device according to the relationship between the magnitudes of the first speed and the second speed: if the first speed is greater than the second speed, reducing a rotational speed of a motor of the target device; if the first speed is less than the second speed, then the rotational speed of the motor of the target device is increased.
For example, the following steps are carried out: an infrared module at delta Tn1 and Tn+11, the two infrared induction modules of the infrared module group are used for detecting the foot of the user. From the equation of speed versus distance/time, it can be deduced that the speed V is the speed V when the motion of the person's leg is detected the nth timen1=S/△Tn1, when the n +1 th time of detecting the leg movement of the person, Vn+11=S/△Tn+11. The invention uses VTrn+1Indicating the speed trend of the user, VTrn+1=Vn+11/Vn1 when VTr isn+1>1, the first speed is equal to be lower than the second speed, which indicates that the movement speed of the person is faster and faster, and at the moment, the rotating speed of the motor needs to be increased according to the same proportion. Conversely, the motor speed is reduced in the same proportion. For example, the motor has a primary rotational speed of Xnrpm, the new target rotational speed should be Xn+1=Xn*Vn+11/Vn1 rpm. Through the technical means, the treadmill can predict the intention of a user and automatically control the motor to operate according to the recognition result, thereby realizing the complete automation of the treadmill.
Optionally, the obtaining module 60 is further configured to obtain a first time when a first infrared sensor detects the target portion, and a second time when a second infrared sensor detects the target portion, where the first infrared sensor and the second infrared sensor are both disposed on the infrared module, a first distance is spaced between the first infrared sensor and the second infrared sensor, and the first time period includes: the first time, the second time; determining the first speed based on a first distance and a difference between the first time and the second time.
The infrared sensor detects the presence of the target object by infrared rays, and records the time when the target object is detected. The method comprises the steps of obtaining a first moment when a first infrared inductor detects a target part, and obtaining a second moment when a second infrared inductor detects the target part, wherein the first infrared inductor and the second infrared inductor are both located on the same infrared module. The first infrared sensor detects the target portion at a first time, and the second infrared sensor detects the target portion at a second time. The first time period may be determined by a difference between the first time and the second time, and the interval between the first infrared sensor and the second infrared sensor may be recorded as a first distance, so that the first speed obtained by the infrared module detecting the target portion in the first time period is obtained as a value obtained by dividing the first distance by the first time period.
Note that the first time when the first infrared sensor detects the target portion and the second time when the second infrared sensor detects the target portion are two adjacent times, because the first infrared sensor detects the target portion first, the second infrared sensor detects the target portion later, and the first infrared sensor detects the target portion … … later, and this is repeated. If the first moment when the first infrared sensor detects the target part and the second moment when the second infrared sensor detects the target part are not two adjacent moments, the first speed obtained by detecting the target part in the first time period by the infrared module calculated by dividing the first distance by the first time period is incorrect, and the first distance and the first time period are not corresponding. It should be noted that the distance between the first infrared sensor and the second infrared sensor can be adjusted by a user according to a specific situation.
Optionally, the obtaining module 60 is further configured to obtain a third time when the first infrared sensor detects the target portion, and a fourth time when the second infrared sensor detects the target portion, where the second time period includes: the third time, the fourth time; determining the second speed based on the first distance and a difference between the third time and the fourth time.
It should be noted that the third time when the first infrared sensor detects the target portion and the fourth time when the second infrared sensor detects the target portion are obtained, where the first infrared sensor and the second infrared sensor are both located on the same infrared module. The first infrared sensor detects the target portion at the third time, and the second infrared sensor detects the target portion at the fourth time. A second time period may be determined by a difference between the third time and the fourth time, and an interval between the first infrared sensor and the second infrared sensor may be recorded as a first distance, so that a second speed obtained by the infrared module detecting the target portion in the second time period is obtained as a value obtained by dividing the first distance by the second time period.
Optionally, the obtaining module 60 is further configured to obtain, when a plurality of infrared modules are provided, a plurality of first speeds obtained by detecting the target portion by the plurality of infrared modules in a first time period; carrying out weighted summation on the plurality of first speeds, and taking the average value of the obtained weighted summation as the first speed; under the condition that a plurality of infrared modules are arranged, a plurality of second speeds obtained by detecting the target part by the plurality of infrared modules in a second time period are obtained; and carrying out weighted summation on the plurality of second speeds, and taking the average value of the obtained weighted summation as the second speed.
The rotation speed of the motor of the target device is not accurately adjusted according to the magnitude relation between the first speed and the second speed detected by one infrared module, the variation of the first speed and the second speed is too large, and the user can feel abrupt in use, so the invention adopts a plurality of infrared modules to detect a plurality of first speeds and a plurality of second speeds, weights and sums the plurality of first speeds and the plurality of second speeds, and uses the average value of the weighted sums as the first speed and the second speed.
It should be noted that, a plurality of first speeds obtained by detecting the target portion by the plurality of infrared modules in the first time period are obtained, and the plurality of first speeds are weighted and summed, where the plurality of first speeds may be weighted and summed, or the plurality of first speeds may be directly summed without weighting, and an average value of the obtained sums is taken as the first speed. It should be noted that, a plurality of second speeds obtained by detecting the target portion by the plurality of infrared modules in a second time period are obtained, and the plurality of second speeds are weighted and summed, where the plurality of second speeds may be weighted and summed, or the plurality of second speeds may be directly summed without weighting, and an average value of the obtained sums is taken as the second speed.
Optionally, the adjusting module 62 is further configured to obtain a third speed obtained by detecting the target location by the first infrared module in the first time period; after the third speed is obtained and before the fourth speed is obtained through the second infrared module, adjusting the rotating speed of the motor of the target device to a rotating speed corresponding to the third speed; after the fourth speed is acquired and before a fifth speed is acquired through a third infrared module, adjusting the rotating speed of a motor of the target device to a rotating speed corresponding to the fourth speed, wherein the plurality of infrared modules comprise: the first infrared module, the second infrared module and the third infrared module.
It should be noted that, when there are a plurality of infrared modules, the plurality of first speeds are weighted and summed, an average value of the obtained weighted and summed is used as the first speed, the plurality of second speeds are weighted and summed, an average value of the obtained weighted and summed is used as the second speed, the rotation speed of the motor of the target device is adjusted according to a magnitude relationship between the first speed and the second speed obtained at this time, and when a difference between the first speed and the second speed is too large, a sudden change in the rotation speed of the motor may cause a user to feel abrupt. Therefore, the present invention provides another method for adjusting the rotation speed of the motor of the target device, that is, sequentially adjusting the rotation speed of the motor of the target device according to the first speed and the second speed obtained by detecting the plurality of infrared modules: adjusting the rotating speed of a motor of the target device to a rotating speed corresponding to the third speed acquired by the first infrared module; adjusting the rotating speed of a motor of the target device to a rotating speed corresponding to the fourth speed acquired by the second infrared module; and adjusting the rotating speed of the motor of the target equipment to a rotating speed corresponding to the fifth speed acquired by the third infrared module.
The infrared detection module and the algorithm work principle of the invention are as follows: when a person or a leg runs forwards to empty, the person or the leg is sensed by the infrared sensor a and then sensed by the infrared sensor b, and the person or the leg is detected once every empty step. The distance S between each module a, b of the sensor is a fixed value (for example 2 cm). Assuming that the nth time is detected, the time difference between the two is recorded as DeltaT for the modules 1,2,3 and 4n1,△Tn2,△Tn3,△Tn4. (normal range is 2-200 ms, corresponding speed is 0.1-10 m/s) assuming that the n +1 th detection, the time difference between the two is recorded as DeltaT for the modules 1,2,3,4n+11,△Tn+12,△Tn+13,△Tn+14. According to the formula of speed, namely distance and time, the speed V can be deduced when the motion of the human leg is detected for the nth timen1=S/△Tn1, when the n +1 th time of detecting the leg movement of the person, Vn+11=S/△Tn+11. Velocity trend VTrn+1=Vn+11/Vn1 when VTr isn+1>1, the movement speed of the person is faster and faster, and at the moment, the rotating speed of the motor needs to be increased according to the same proportion. Conversely, the motor speed is reduced in the same proportion. For example, the motor has a primary rotational speed of Xnrpm, the new target rotational speed should be Xn+1=Xn*Vn+11/Vn1 rpm. The machine has 4 modules, each module is 10cm apart from each other transversely, and the people's leg will be caught 4 times in the process of lifting to landing each time, therefore the process of lifting to landing each time can be according to 4 module's instruction adjustment motor rotational speed 4 times. Motor is given in module No. 1After the operation, the speed is required to be adjusted to the corresponding target rotating speed within 10ms (the human leg does not enter the second module at the moment), and so on, after one period is finished, the motor running speed is the average value of the sum of the target speeds calculated by the 4 modules in the whole treading stage after the leg is landed, namely Xctn+1=(Xan+1+Xbn+1+Xcn+1+Xcn+1/)/4, thereby avoiding that the 4 results are too different, so that the motor rotating speed is suddenly changed to cause the user to feel obtrusive in use. So far, the motor rotating speed control values of all stages are obtained.
Optionally, the obtaining module 60 is further configured to, when it is detected that a target object exists on the target device through the infrared module and the target device starts an automatic adjustment mode, obtain a first speed obtained by detecting a target location by the infrared module in a first time period and a second speed obtained by detecting the target location by the infrared module in a second time period, where the automatic adjustment mode is used to instruct the target device to adjust a rotation speed of a motor of the target device according to a detection result of the infrared module.
It should be noted that, whether the infrared module detects that the target object exists on the target device is determined by whether the first speed and the second speed are detected. Because it makes no sense to merely have the target object on the treadmill, it is not necessary to start the treadmill if the user is merely standing on the treadmill. The present invention detects whether the target object moves on the treadmill, and if the target object moves on the treadmill, the first speed and the second speed can be detected without fail, and if the first speed and the second speed are not detected, the treadmill does not have to be started. It should be noted that the treadmill of the present invention has an automatic adjustment mode and a manual adjustment mode, and when the target device has started the automatic adjustment mode, a first speed obtained by the infrared module detecting the target portion in a first time period and a second speed obtained by the infrared module detecting the target portion in a second time period are obtained.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring a first speed obtained by detecting a target part by an infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period, wherein the infrared module is arranged at one side of a target device, the target part is positioned on a target object, and the target object executes a target event on the target device;
and S2, adjusting the rotating speed of the motor of the target device according to the magnitude relation between the first speed and the second speed.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a first speed obtained by detecting a target part by an infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period, wherein the infrared module is arranged at one side of a target device, the target part is positioned on a target object, and the target object executes a target event on the target device;
and S2, adjusting the rotating speed of the motor of the target device according to the magnitude relation between the first speed and the second speed.
Optionally, in this option, the specific examples in this embodiment may refer to the examples described in the foregoing embodiment and optional implementation, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for adjusting a target device, comprising:
acquiring a first speed obtained by detecting a target part by an infrared module in a first time period and a second speed obtained by detecting the target part by the infrared module in a second time period, wherein the infrared module is arranged at one side of target equipment, the target part is positioned on a target object, and the target object executes a target event on the target equipment;
and adjusting the rotating speed of the motor of the target equipment according to the magnitude relation of the first speed and the second speed.
2. The method of claim 1, wherein adjusting the rotational speed of the motor of the target device according to the magnitude relationship between the first speed and the second speed comprises:
reducing the rotation speed of a motor of the target device when the first speed is greater than the second speed, wherein the first time period is acquired earlier than the second time period;
and in the case that the first speed is lower than the second speed, increasing the rotation speed of the motor of the target device.
3. The method of claim 1, wherein obtaining a first velocity of the infrared module during a first time period for detecting the target site comprises:
obtain first infrared inductor and detect the first moment of target location to and second infrared inductor detects the second moment of target location, wherein, first infrared inductor with the second infrared inductor all sets up infrared module, first infrared inductor with the interval has first distance between the second infrared inductor, first time quantum includes: the first time, the second time;
determining the first speed based on a first distance and a difference between the first time and the second time.
4. The method of claim 3, wherein obtaining a second velocity of the infrared module during a second time period for detecting the target site comprises:
acquiring a third moment when the first infrared sensor detects the target part and a fourth moment when the second infrared sensor detects the target part, wherein the second time period comprises: the third time, the fourth time;
determining the second speed based on the first distance and a difference between the third time and the fourth time.
5. The method of claim 1, wherein obtaining a first velocity of the infrared module during a first time period for detecting the target site comprises:
under the condition that a plurality of infrared modules are arranged, acquiring a plurality of first speeds obtained by detecting a target part by the plurality of infrared modules in a first time period;
carrying out weighted summation on the plurality of first speeds, and taking the average value of the obtained weighted summation as the first speed;
obtain infrared module and detect the second speed that obtains at the second time to the target site, include:
under the condition that a plurality of infrared modules are arranged, a plurality of second speeds obtained by detecting the target part by the plurality of infrared modules in a second time period are obtained;
and carrying out weighted summation on the plurality of second speeds, and taking the average value of the obtained weighted summation as the second speed.
6. The method of claim 1, wherein in the case that at least three infrared modules are provided on the target device, the method further comprises:
acquiring a third speed obtained by detecting the target part by the first infrared module in a first time period;
after the third speed is obtained and before the fourth speed is obtained through the second infrared module, adjusting the rotating speed of the motor of the target device to a rotating speed corresponding to the third speed;
after the fourth speed is acquired and before a fifth speed is acquired through a third infrared module, adjusting the rotating speed of a motor of the target device to a rotating speed corresponding to the fourth speed, wherein the plurality of infrared modules comprise: the first infrared module, the second infrared module and the third infrared module.
7. The method of claim 1, wherein obtaining a first velocity of the IR module during a first time period for detecting the target portion and a second velocity of the IR module during a second time period for detecting the target portion comprises:
the method comprises the steps of acquiring a first speed obtained by detecting a target part in a first time period by an infrared module and a second speed obtained by detecting the target part in a second time period by the infrared module under the condition that the target object exists on the target equipment detected by the infrared module and the target equipment starts an automatic adjusting mode, wherein the automatic adjusting mode is used for indicating the target equipment to adjust the rotating speed of a motor of the target equipment according to the detection result of the infrared module.
8. An adjustment apparatus of a target device, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first speed obtained by detecting a target part by an infrared module and a second speed obtained by detecting the target part by a second infrared module, the infrared module and the second infrared module are sequentially arranged on the same side of target equipment, the target part is positioned on a target object, and the target object executes a target event on the target equipment;
and the adjusting module is used for adjusting the rotating speed of the motor of the target device according to the magnitude relation between the first speed and the second speed.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 7 by means of the computer program.
CN202011477413.0A 2020-12-15 2020-12-15 Target device adjusting method and device, storage medium and electronic device Active CN112546575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011477413.0A CN112546575B (en) 2020-12-15 2020-12-15 Target device adjusting method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011477413.0A CN112546575B (en) 2020-12-15 2020-12-15 Target device adjusting method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112546575A true CN112546575A (en) 2021-03-26
CN112546575B CN112546575B (en) 2022-03-29

Family

ID=75064736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011477413.0A Active CN112546575B (en) 2020-12-15 2020-12-15 Target device adjusting method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112546575B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018053810A1 (en) * 2016-09-23 2018-03-29 深圳市屹石科技股份有限公司 Treadmill and control method
CN109011353A (en) * 2018-07-13 2018-12-18 刘志鹏 A kind of treadmill method for control speed and system
CN109011351A (en) * 2018-07-13 2018-12-18 刘志鹏 A kind of treadmill
CN109954251A (en) * 2019-03-18 2019-07-02 乐歌人体工学科技股份有限公司 A kind of treadmill control method
CN110787414A (en) * 2019-11-28 2020-02-14 广州卓远虚拟现实科技有限公司 Treadmill speed control method and device and intelligent treadmill

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018053810A1 (en) * 2016-09-23 2018-03-29 深圳市屹石科技股份有限公司 Treadmill and control method
CN109011353A (en) * 2018-07-13 2018-12-18 刘志鹏 A kind of treadmill method for control speed and system
CN109011351A (en) * 2018-07-13 2018-12-18 刘志鹏 A kind of treadmill
CN109954251A (en) * 2019-03-18 2019-07-02 乐歌人体工学科技股份有限公司 A kind of treadmill control method
CN110787414A (en) * 2019-11-28 2020-02-14 广州卓远虚拟现实科技有限公司 Treadmill speed control method and device and intelligent treadmill

Also Published As

Publication number Publication date
CN112546575B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
US8956268B2 (en) Rehabilitation treadmill
EP1188460B1 (en) Treadmill control system
JP2020174924A (en) Exercise support system
CN103576681B (en) Automatic traveling device and control method thereof
US20180111023A1 (en) Method of adaptive control of a treadmill, treadmill with adaptive control and related program product
US20120004074A1 (en) Method And Apparatus For Controlling The Load Parameters Of Training Device
WO2017166340A1 (en) Intelligent running machine and control method therefor
CN105920786A (en) Method for controlling treadmill through intelligent wearable equipment and intelligent wearable equipment
CN105920784A (en) Treadmill, and speed control method and system of running belt of treadmill
CN112546575B (en) Target device adjusting method and device, storage medium and electronic device
CN1267125A (en) Data interface module for electric machine control system
CN112843586B (en) Intelligent skipping rope based on cellular network communication and control method and equipment thereof
JPWO2020100961A1 (en) Load reduction device, load reduction method, and program
WO2018123599A1 (en) Work system and work method
CN110180122A (en) Yoga mat and Yoga mattress system, the data processing method based on Yoga mat and device
CN112439167B (en) Sports equipment control system, mobile device and sports equipment control method thereof
CN108325162A (en) A kind of gait training method, apparatus and wearable device
CN110897254B (en) Intelligent shoe device with anti-falling reminding function and anti-falling reminding method
US11925851B2 (en) Exercise assisting device, exercise assisting method, and storage medium
CN205758532U (en) A kind of multifunctional intellectual shoe pad based on wireless charging
CN108371784A (en) A kind of control method and device of body-sensing intelligent running machine
CN109646877A (en) A kind of control method and device of body-sensing intelligent running machine
CN111588607B (en) Massage equipment with wireless docking function
US11305157B2 (en) Weight training method, apparatus and system
CN110689886B (en) Equipment control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant