Control method and device based on vibration strength of toothbrush motor

文档序号:1258364 发布日期:2020-08-25 浏览:32次 中文

阅读说明:本技术 一种基于牙刷电机振动力度的控制方法和装置 (Control method and device based on vibration strength of toothbrush motor ) 是由 刘绍连 章骏 于 2020-05-14 设计创作,主要内容包括:本发明提供了一种基于牙刷电机振动力度的控制方法和装置,所述方法包括:获得第一时长,所述第一时长为按压按键持续的时长;获得第一预定时间阈值;判断所述第一时长是否在所述第一预定时间阈值之内;如果所述第一时长在所述第一预定时间阈值之内,获得第一力度,其中,所述第一力度呈周期性变化。达到了根据用户按压按键的时长不同来进行调节牙刷电机振动力度,提高刷牙的自主性,使刷牙更加人性化、智能化的技术效果。(The invention provides a control method and a device based on the vibration strength of a toothbrush motor, wherein the method comprises the following steps: obtaining a first time length, wherein the first time length is the time length for pressing the key continuously; obtaining a first predetermined time threshold; judging whether the first time length is within the first preset time threshold value; and if the first duration is within the first preset time threshold, obtaining a first force, wherein the first force is changed periodically. The vibration strength of the toothbrush motor is adjusted according to different time lengths when the user presses the key, the autonomy of tooth brushing is improved, and the technical effect of more humanized and intelligent tooth brushing is achieved.)

1. A control method based on vibration strength of a toothbrush motor, wherein the toothbrush comprises a key used for controlling a vibration mode of the toothbrush motor, and the method comprises the following steps:

obtaining a first time length, wherein the first time length is the time length for pressing the key continuously;

obtaining a first predetermined time threshold;

judging whether the first time length is within the first preset time threshold value;

and if the first duration is within the first preset time threshold, obtaining a first force, wherein the first force is changed periodically.

2. The method of claim 1, wherein the method comprises:

obtaining a second time length, wherein the second time length is the time length for pressing the key continuously;

obtaining a second predetermined time threshold;

judging whether the second time length is within the second preset time threshold value;

if the second time length is within the second preset time threshold, obtaining a first instruction, wherein the first instruction is used for controlling the motor to work at a second intensity for a first preset time length, and the first preset time length is longer than the second time length;

and obtaining a first key mode, and obtaining a second instruction according to the first key mode, wherein the second instruction is used for releasing the state that the motor works with a second force.

3. The method of claim 2, wherein the method comprises:

obtaining a preset vibration force change rule;

and adjusting the magnitude of the second force according to the second time and the preset vibration force change rule, wherein the motor vibrates according to the adjusted second force within the first preset time.

4. The method of claim 1, wherein said obtaining a first force if said first duration is within said first predetermined time threshold comprises:

obtaining information on the number of teeth brushed at the first intensity;

acquiring first preset time information;

judging whether the frequency information is within the first preset frequency information or not;

storing the first power if the count information is within the first predetermined count information.

5. The method of claim 4, wherein the method comprises:

obtaining a second key mode;

obtaining a third instruction according to the second key mode,

wherein the third command is for controlling the motor to operate at the first force level.

6. The method of claim 1, wherein the method comprises:

obtaining a second preset time length;

obtaining the working time of the motor;

judging whether the working time of the motor reaches the second preset time or not;

and if the working time of the motor reaches the second preset time, obtaining a first reminding instruction, wherein the first reminding instruction is used for reminding that the working of the motor is about to end.

7. The method of claim 6, wherein the method comprises:

obtaining a third predetermined time length, wherein the third predetermined time length is greater than the second predetermined time length;

judging whether the working time of the motor reaches the third preset time length or not;

and if the working time of the motor reaches the third preset time, obtaining a fourth instruction, wherein the fourth instruction is used for controlling the motor to stop working.

8. A stepless control device based on vibration strength of a toothbrush motor is characterized by comprising:

the first obtaining unit is used for obtaining a first duration, and the first duration is the duration of pressing the key;

a second obtaining unit configured to obtain a first predetermined time threshold;

a first judging unit, configured to judge whether the first duration is within the first predetermined time threshold;

a third obtaining unit, configured to obtain a first strength if the first duration is within the first predetermined time threshold, where the first strength is periodically changed.

9. A stepless control device based on the vibration strength of a toothbrush motor, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 7 when executing the program.

10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.

Technical Field

The invention relates to the technical field of data processing, in particular to a control method and device based on the vibration force of a toothbrush motor.

Background

At present, electric toothbrushes using a sound wave motor are all provided with a plurality of different gears when leaving a factory, and are solidified in a main control chip of the electric toothbrush. When the user uses the electric toothbrush, the user switches between the preset gears by pressing a button on the electric toothbrush.

However, the applicant of the present invention finds that the prior art has at least the following technical problems:

Disclosure of Invention

The embodiment of the invention provides a control method and device based on vibration strength of a toothbrush motor, and solves the technical problem that in the prior art, a user can only switch between preset modes of an electric toothbrush and cannot change the vibration strength of the motor only by applying pressure for different durations to one key in the process of using the electric toothbrush.

In view of the above problems, the embodiments of the present application are proposed to provide a control method and device based on the vibration strength of a toothbrush motor.

In a first aspect, the present invention provides a control method based on vibration strength of a toothbrush motor, where the toothbrush includes a button, and the button is used to control a vibration mode of the toothbrush motor, and the method includes: obtaining a first time length, wherein the first time length is the time length for pressing the key continuously; obtaining a first predetermined time threshold; judging whether the first time length is within the first preset time threshold value; and if the first duration is within the first preset time threshold, obtaining a first force, wherein the first force is changed periodically.

Preferably, the method comprises: obtaining a second time length, wherein the second time length is the time length for pressing the key continuously; obtaining a second predetermined time threshold; judging whether the second time length is within the second preset time threshold value; if the second time length is within the second preset time threshold, obtaining a first instruction, wherein the first instruction is used for controlling the motor to work at a second intensity for a first preset time length, and the first preset time length is longer than the second time length; and obtaining a first key mode, and obtaining a second instruction according to the first key mode, wherein the second instruction is used for releasing the state that the motor works with a second force.

Preferably, the method comprises: obtaining a preset vibration force change rule; and adjusting the magnitude of the second force according to the second time and the preset vibration force change rule, wherein the motor vibrates according to the adjusted second force within the first preset time.

Preferably, the method comprises: obtaining information on the number of teeth brushed at the first intensity; acquiring first preset time information; judging whether the frequency information is within the first preset frequency information or not; storing the first power if the count information is within the first predetermined count information.

Preferably, the method comprises: obtaining a second key mode; and obtaining a third instruction according to the second key mode, wherein the third instruction is used for controlling the motor to work according to the first force.

Preferably, the method comprises: obtaining a second preset time length; obtaining the working time of the motor; judging whether the working time of the motor reaches the second preset time or not; and if the working time of the motor reaches the second preset time, obtaining a first reminding instruction, wherein the first reminding instruction is used for reminding that the working of the motor is about to end.

Preferably, the method comprises: obtaining a third predetermined time length, wherein the third predetermined time length is greater than the second predetermined time length; judging whether the working time of the motor reaches the third preset time length or not; and if the working time of the motor reaches the third preset time, obtaining a fourth instruction, wherein the fourth instruction is used for controlling the motor to stop working.

In a second aspect, the present invention provides a control device based on vibration strength of a toothbrush motor, the device comprising:

the first obtaining unit is used for obtaining a first duration, and the first duration is the duration of pressing the key;

a second obtaining unit configured to obtain a first predetermined time threshold;

a first judging unit, configured to judge whether the first duration is within the first predetermined time threshold;

a third obtaining unit, configured to obtain a first strength if the first duration is within the first predetermined time threshold, where the first strength is periodically changed.

Preferably, the apparatus comprises:

a fourth obtaining unit, configured to obtain a second duration, where the second duration is a duration for which the key is pressed continuously;

a fifth obtaining unit configured to obtain a second predetermined time threshold;

a second determining unit, configured to determine whether the second duration is within the second predetermined time threshold;

a sixth obtaining unit, configured to obtain a first instruction, if the second duration is within the second predetermined time threshold, the first instruction being used to control the motor to operate at a second power for a first predetermined duration, wherein the first predetermined duration is longer than the second duration;

and the seventh obtaining unit is used for obtaining a first key mode, obtaining a second instruction according to the first key mode, and the second instruction is used for releasing the state that the motor works with a second force.

Preferably, the apparatus comprises:

an eighth obtaining unit, configured to obtain a predetermined vibration strength variation rule; and adjusting the magnitude of the second force according to the second time and the preset vibration force change rule, wherein the motor vibrates according to the adjusted second force within the first preset time.

Preferably, the apparatus comprises:

a ninth obtaining unit for obtaining information on the number of times of brushing teeth at the first power;

a tenth obtaining unit configured to obtain information of the first predetermined number of times;

a third judging unit configured to judge whether the count information is within the first predetermined count information;

a first storage unit for storing the first power if the count information is within the first predetermined count information.

Preferably, the apparatus comprises:

an eleventh obtaining unit, configured to obtain a second key manner;

a twelfth obtaining unit, configured to obtain a third instruction according to the second key mode, where the third instruction is used to control the motor to operate according to the first power.

Preferably, the apparatus comprises:

a thirteenth obtaining unit configured to obtain a second predetermined length of time;

a fourteenth obtaining unit configured to obtain the motor operating time period;

the fourth judging unit is used for judging whether the working time of the motor reaches the second preset time;

a fifteenth obtaining unit, configured to obtain a first reminding instruction if the working time of the motor reaches the second predetermined time, where the first reminding instruction is used to remind that the working of the motor is about to end.

Preferably, the apparatus comprises:

a sixteenth obtaining unit, configured to obtain a third predetermined duration, where the third predetermined duration is greater than the second predetermined duration;

a fifth judging unit, configured to judge whether the motor operating time reaches the third predetermined time period;

a seventeenth obtaining unit, configured to obtain a fourth instruction if the working time of the motor reaches the third predetermined time period, where the fourth instruction is used to control the motor to stop working.

In a third aspect, the present invention provides a control device based on the vibration strength of a toothbrush motor, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the above methods when executing the program.

In a fourth aspect, the invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the methods described above.

One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:

according to the control method and device based on the vibration strength of the toothbrush motor, provided by the embodiment of the invention, the first time length is obtained, and the first time length is the time length for pressing the key continuously; obtaining a first predetermined time threshold; judging whether the first time length is within the first preset time threshold value; and if the first duration is within the first preset time threshold, the motor vibrates with a first force, wherein the first force is a non-constant force and periodically changes along with the length of the first duration. The technical problem of the user in the prior art use electric toothbrush's in-process, can not accomplish to let electric toothbrush change the motor vibration dynamics only through exerting pressure when different to a button, reached to press the time length difference of button according to the user and adjusted toothbrush motor vibration dynamics, improve the autonomy of brushing teeth, make the technical effect who brushes teeth humanized, intelligent more.

The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.

Drawings

FIG. 1 is a schematic flow chart of a control method based on vibration force of a toothbrush motor according to an embodiment of the present invention;

FIG. 2 is a schematic structural diagram of a control device based on the vibration force of a toothbrush motor according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of another control device based on the vibration force of a toothbrush motor in the embodiment of the invention.

Description of reference numerals: a first obtaining unit 11, a second obtaining unit 12, a first judging unit 13, a third obtaining unit 14, a bus 300, a receiver 301, a processor 302, a transmitter 303, a memory 304, and a bus interface 306.

Detailed Description

The embodiment of the invention provides a control method and a device based on the vibration strength of a toothbrush motor, which are used for solving the technical problem that the electric toothbrush can not change the vibration strength of the motor only by applying pressure for different durations to a key in the process of using the electric toothbrush by a user in the prior art,

the technical scheme provided by the invention has the following general idea:

obtaining a first time length, wherein the first time length is the time length for pressing the key continuously; obtaining a first predetermined time threshold; judging whether the first time length is within the first preset time threshold value; and if the first duration is within the first preset time threshold, obtaining a first force, wherein the first force is changed periodically. The vibration strength of the toothbrush motor is adjusted according to different time lengths when the user presses the key, the autonomy of tooth brushing is improved, and the technical effect of more humanized and intelligent tooth brushing is achieved.

The technical solutions of the present invention are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features in the embodiments and examples of the present invention are described in detail in the technical solutions of the present application, and are not limited to the technical solutions of the present application, and the technical features in the embodiments and examples of the present application may be combined with each other without conflict.

The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电动牙刷及其控制方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!