CN116509589A - Electric toothbrush control method, electric toothbrush, and computer-readable storage medium - Google Patents

Electric toothbrush control method, electric toothbrush, and computer-readable storage medium Download PDF

Info

Publication number
CN116509589A
CN116509589A CN202310413567.0A CN202310413567A CN116509589A CN 116509589 A CN116509589 A CN 116509589A CN 202310413567 A CN202310413567 A CN 202310413567A CN 116509589 A CN116509589 A CN 116509589A
Authority
CN
China
Prior art keywords
value
electric toothbrush
data value
sensing data
sliding window
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.)
Pending
Application number
CN202310413567.0A
Other languages
Chinese (zh)
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.)
Dongguan Weigan Electronic Technology Co ltd
Original Assignee
Dongguan Weigan Electronic Technology 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 Dongguan Weigan Electronic Technology Co ltd filed Critical Dongguan Weigan Electronic Technology Co ltd
Priority to CN202310413567.0A priority Critical patent/CN116509589A/en
Publication of CN116509589A publication Critical patent/CN116509589A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L1/00Measuring force or stress, in general
    • G01L1/16Measuring force or stress, in general using properties of piezoelectric devices
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61CDENTISTRY; APPARATUS OR METHODS FOR ORAL OR DENTAL HYGIENE
    • A61C17/00Devices for cleaning, polishing, rinsing or drying teeth, teeth cavities or prostheses; Saliva removers; Dental appliances for receiving spittle
    • A61C17/16Power-driven cleaning or polishing devices
    • A61C17/22Power-driven cleaning or polishing devices with brushes, cushions, cups, or the like
    • A61C17/32Power-driven cleaning or polishing devices with brushes, cushions, cups, or the like reciprocating or oscillating
    • A61C17/34Power-driven cleaning or polishing devices with brushes, cushions, cups, or the like reciprocating or oscillating driven by electric motor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L1/00Measuring force or stress, in general
    • G01L1/18Measuring force or stress, in general using properties of piezo-resistive materials, i.e. materials of which the ohmic resistance varies according to changes in magnitude or direction of force applied to the material

Abstract

The application discloses an electric toothbrush control method, an electric toothbrush and a computer readable storage medium, and relates to the technical field of cleaning and nursing devices, wherein the method comprises the following steps: acquiring a first sensing data value and a second sensing data value which are pressed on the electric toothbrush; the first sensing data value and the second sensing data value are measured by a piezoresistive sensor or a piezoelectric sensor; carrying out equalization processing on the first induction data value to obtain a first equalization value; carrying out equalization processing on the second sensing data value to obtain a second equalization value; and switching the working state of the electric toothbrush according to the first balance value and the second balance value. The accuracy that this application can improve electric toothbrush operating condition and switch over improves user's use experience.

Description

Electric toothbrush control method, electric toothbrush, and computer-readable storage medium
Technical Field
The present disclosure relates to cleaning and caring devices, and more particularly to a control method for an electric toothbrush, and a computer readable storage medium.
Background
With the development of society, intelligent electronic products are becoming more common in people's life in their intelligent performances, for example, people are also becoming more suitable for using intelligent oral care devices such as intelligent electric toothbrushes to perform tooth brushing actions to protect tooth health. The electric toothbrush also often utilizes the pressure sensor to detect the current state of the toothbrush so as to carry out intelligent operation, thereby being convenient for people to live, but because people take the electric toothbrush out of the oral cavity in the process of brushing teeth, the toothpaste foam on the brush head is splashed outwards, or the pressure applied to the electric toothbrush is too large, and the electric toothbrush still works with the original vibration intensity, thereby being easy to cause gum injury of users. Based on this, the working state of the electric toothbrush is usually changed by detecting the pressure value applied to the electric toothbrush, but in the prior art, the pressure detection result is inaccurate due to the fact that the pressure is detected by a single sensor, so that the toothbrush generates a wrong working state switching indication, and the use experience of a user is reduced.
Disclosure of Invention
The present application aims to solve at least one of the technical problems existing in the prior art. Therefore, the application provides an electric toothbrush control method, an electric toothbrush and a computer readable storage medium, which can improve the accuracy of the switching of the working state of the electric toothbrush and improve the use experience of a user.
In a first aspect, the present application provides a method of controlling an electric toothbrush, comprising:
acquiring a first sensing data value and a second sensing data value which are pressed on the electric toothbrush; the first sensing data value and the second sensing data value are measured by a piezoresistive sensor or a piezoelectric sensor;
carrying out equalization processing on the first induction data value to obtain a first equalization value;
carrying out equalization processing on the second sensing data value to obtain a second equalization value;
and switching the working state of the electric toothbrush according to the first balance value and the second balance value.
The electric toothbrush control method according to the embodiment of the first aspect of the present application has at least the following advantages: the pressure applied to the electric toothbrush is detected through the piezoresistive sensor and the piezoelectric sensor respectively, a corresponding first sensing data value and a corresponding second sensing data value are obtained respectively, the piezoresistive sensor focuses on outputting linear data to deformation of an object, the deformation size of the object is convenient to measure, the piezoelectric sensor focuses on having high sensitivity to the deformation of the object, the motion state of the object is convenient to judge, the first sensing data value and the second sensing data value are subjected to equalization processing respectively, a first equalization value and a second equalization value are obtained respectively, the possibility of misjudgment is reduced through the equalization processing, and the working state of the electric toothbrush is switched according to the combination of the first equalization value and the second equalization value, so that the accuracy of the working state switching of the electric toothbrush can be improved, and the use experience of a user is improved.
According to some embodiments of the first aspect of the present application, the performing equalization processing on the first sensed data value to obtain a first equalized value includes: acquiring an induction zero value of the electric toothbrush in a non-pressurized state; and calculating the difference value between the first induction data value and the induction zero value to obtain a first balance value.
According to some embodiments of the first aspect of the present application, the acquiring the induction zero value of the electric toothbrush in the non-pressurized state includes: establishing a first sliding window in response to a start command of the electric toothbrush; sequentially recording the detected first induction data values according to the length of the first sliding window; calculating the median value of all the first sensing data value data in the first sliding window range to obtain a window median value; continuously acquiring the first sensing data value in a preset first time, and updating the first sliding window according to the changed first sensing data value; calculating the median value of all the first sensing data value data in the range of the first sliding window after each update to obtain a plurality of window median values; and determining the induction zero value according to the average value of all the window median values.
According to some embodiments of the first aspect of the present application, the operating state includes an anti-splash mode and a normal mode; the method for obtaining the induction zero point value of the electric toothbrush in the state of no pressure further comprises the following steps: and when the working state of the electric toothbrush is switched from a normal mode to an anti-splashing mode, the induction zero value is redetermined according to the first induction data value within a second time preset in the anti-splashing mode.
According to some embodiments of the first aspect of the present application, the performing equalization processing on the second sensed data value to obtain a second equalized value includes: establishing a second sliding window; sequentially recording the detected second induction data values according to the length of the second sliding window; and calculating standard deviations of all second sensing data value data in the second sliding window range to obtain second equalization values.
According to some embodiments of the first aspect of the present application, the performing equalization processing on the second sensed data value to obtain a second equalized value further includes: acquiring the second sensing data value again; deleting the first second sensing data value in the second sliding window, moving all the remaining second sensing data value data of the second sliding window forward by one bit, and recording the newly acquired second sensing data value to the last bit of the second sliding window; and obtaining an updated second balance value according to the standard deviation of all second sensing data value data in the updated second sliding window range.
According to some embodiments of the first aspect of the present application, the operating state includes an anti-splash mode, a normal mode, and an overpressure alarm mode; the switching of the working state of the electric toothbrush according to the first equalization value and the second equalization value comprises the following steps: when the first balance value is smaller than a preset anti-splashing threshold value and the second balance value is smaller than a preset fluctuation threshold value, switching the working state of the electric toothbrush into an anti-splashing mode; when the first equalization threshold data is larger than a preset overvoltage threshold value, switching the working state of the electric toothbrush into an overvoltage alarm mode; and when the first equalization threshold data is greater than or equal to the anti-splash threshold and is less than or equal to the overvoltage threshold, switching the working state of the electric toothbrush into a normal mode.
According to some embodiments of the first aspect of the present application, the switching the operating state of the electric toothbrush to the splash-proof mode includes: adjusting the working frequency of a motor of the electric toothbrush to 300Hz, adjusting the working duty ratio to 5%, continuously starting the motor, and controlling an indicator lamp of the electric toothbrush to be in a breathing state; the switching of the working state of the electric toothbrush to an overvoltage alarm mode comprises the following steps: adjusting the working frequency of a motor of the electric toothbrush to 300Hz, adjusting the working duty ratio to 85%, starting and stopping the motor at intervals of 500ms as a period, and controlling an indicator lamp of the electric toothbrush to be in a red light flickering state; said switching said operating state of the electric toothbrush to a normal mode comprises: the operating frequency of the motor of the electric toothbrush was adjusted to 300Hz and the duty cycle was adjusted to 85%, and the motor was continuously started.
In a second aspect, the present application also provides an electric toothbrush comprising at least one memory; at least one processor; at least one program; the program is stored in the memory, and the processor executes at least one of the programs to implement the electric toothbrush control method according to any one of the embodiments of the first aspect.
In a third aspect, the present application also provides a computer-readable storage medium storing a computer-executable signal for performing the electric toothbrush control method according to any one of the embodiments of the first aspect.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
Additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart of a method of controlling an electric toothbrush in accordance with one embodiment of the first aspect of the present application;
FIG. 2 is a flow chart of a method of controlling an electric toothbrush in accordance with another embodiment of the first aspect of the present application;
FIG. 3 is a flow chart of a method of controlling an electric toothbrush in accordance with another embodiment of the first aspect of the present application;
FIG. 4 is a flow chart of a method of controlling an electric toothbrush in accordance with another embodiment of the first aspect of the present application;
FIG. 5 is a flow chart of a method of controlling an electric toothbrush in accordance with another embodiment of the first aspect of the present application;
FIG. 6 is a flow chart of a method of controlling an electric toothbrush in accordance with another embodiment of the first aspect of the present application;
FIG. 7 is a flow chart of a method of controlling an electric toothbrush in accordance with another embodiment of the first aspect of the present application;
fig. 8 is a flowchart of a method of controlling an electric toothbrush according to another embodiment of the first aspect of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In the description of the present application, it should be understood that references to orientation descriptions, such as directions of up, down, front, back, left, right, etc., are based on the orientation or positional relationship shown in the drawings, are merely for convenience of describing the present application and simplifying the description, and do not indicate or imply that the apparatus or element referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application.
In the description of the present application, the description of the first and second is only for the purpose of distinguishing technical features, and should not be construed as indicating or implying relative importance or implying the number of technical features indicated or the precedence of the technical features indicated.
In the description of the present application, unless explicitly defined otherwise, terms such as arrangement, installation, connection, etc. should be construed broadly and the specific meaning of the terms in the present application can be reasonably determined by a person skilled in the art in combination with the specific contents of the technical solution.
With the development of society, intelligent electronic products are becoming more common in people's life in their intelligent performances, for example, people are also becoming more suitable for using intelligent oral care devices such as intelligent electric toothbrushes to perform tooth brushing actions to protect tooth health. The electric toothbrush also often utilizes the pressure sensor to detect the current state of the toothbrush so as to carry out intelligent operation, thereby being convenient for people to live, but because people take the electric toothbrush out of the oral cavity in the process of brushing teeth, the toothpaste foam on the brush head is splashed outwards, or the pressure applied to the electric toothbrush is too large, and the electric toothbrush still works with the original vibration intensity, thereby being easy to cause gum injury of users. Based on this, the working state of the electric toothbrush is usually changed by detecting the pressure value applied to the electric toothbrush, but in the prior art, the pressure detection result is inaccurate due to the fact that the pressure is detected by a single sensor, so that the toothbrush generates a wrong working state switching indication, and the use experience of a user is reduced.
Based on the above, the application provides an electric toothbrush control method, an electric toothbrush and a computer readable storage medium, so as to solve the technical problems, improve the accuracy of switching the working state of the electric toothbrush, and improve the use experience of a user.
In a first aspect, and with reference to fig. 1, the present application provides a method of controlling an electric toothbrush, including, but not limited to, the steps of:
step S110: acquiring a first sensing data value and a second sensing data value which are pressed on the electric toothbrush; the first sensing data value and the second sensing data value are obtained through measurement of a piezoresistive sensor or a piezoelectric sensor;
step S120: equalizing the first sensing data value to obtain a first equalizing value;
step S130: equalizing the second sensing data value to obtain a second equalizing value;
step S140: and switching the working state of the electric toothbrush according to the first balance value and the second balance value.
In step S110 to step S140, the present application detects the pressure applied to the electric toothbrush through the piezoresistive sensor and the piezoelectric sensor, and obtains the corresponding first sensing data value and the second sensing data value respectively, where the piezoresistive sensor focuses on outputting linear data to the deformation of the object, so as to measure the deformation size of the object, and the piezoelectric sensor focuses on having high sensitivity to the deformation of the object, so as to determine the motion state of the object, and perform equalization processing on the first sensing data value and the second sensing data value, so as to obtain the first equalization value and the second equalization value respectively, reduce the possibility of misjudgment caused by the abnormal data value through the equalization processing, and combine according to the first equalization value and the second equalization value to generate a switching instruction to the working state of the electric toothbrush.
It should be noted that the first sensing data value and the second sensing data value may be measured by one or more piezoresistive sensors, may be measured by one or more piezoelectric sensors, and may also be measured by a piezoresistive sensor, and the second sensing data value may be measured by a piezoelectric sensor, which is not limited in this application.
Referring to fig. 2, it can be appreciated that in step S120, the following steps may be included, but are not limited to:
step S210: acquiring an induction zero value of the electric toothbrush in a non-pressurized state;
step S220: and calculating a difference value between the first induction data value and the induction zero value to obtain a first balance value.
The first sensing data value is obtained by measuring through the piezoresistive sensor, the deformation condition of the brush head of the electric toothbrush in the current state can be intuitively obtained by calculating the difference value between the first sensing data value and the sensing zero value, and the determination of the working state of the electric toothbrush can be conveniently and rapidly switched through the obtained first balance value. In the prior art, the working state of the electric toothbrush is usually switched directly through the first sensing data value, but in the normal use process of the electric toothbrush, the toothbrush is often subjected to larger pressure due to certain emergency, the electric toothbrush is easily affected by the larger pressure before the larger pressure disappears, the sensed sensing data value is deviated, the jumping threshold value between different working states is generally fixed, the switching time of the working state of the electric toothbrush cannot be accurately controlled, and the use experience of a user is reduced. In steps S210 to S220, the switching timing of the working state of the electric toothbrush is controlled by calculating the difference between the first sensing data value and the sensing zero value and by the obtained first equalization value, so that the accuracy and timeliness of the switching of the working state of the electric toothbrush are improved.
Referring to fig. 3, it can be appreciated that in step S210, the following steps may be included, but are not limited to:
step S310: establishing a first sliding window in response to a start command of the electric toothbrush;
step S320: sequentially recording the detected first induction data values according to the length of the first sliding window;
step S330: calculating the median value of all the first sensing data value data in the first sliding window range to obtain a window median value;
step S340: continuously acquiring a first sensing data value in a preset first time, and updating a first sliding window according to the changed first sensing data value;
step S350: calculating the median value of all the first sensing data value data in the range of the first sliding window after each update to obtain a plurality of window median values;
step S360: and determining the induction zero value according to the average value of all window median values.
In order to determine an induction zero value of the electric toothbrush, when the electric toothbrush is started, a first sliding window is established, a first induction data value is continuously collected, so that the first sliding window is continuously changed and updated, a window median value after each time of updating of the first sliding window in a first time is calculated, and all window median values calculated in the first time are averaged to be used as the induction zero value, namely, the induction zero value is corrected each time the electric toothbrush is started, so that the accuracy of switching of the working state of the electric toothbrush is improved.
Referring to fig. 4, it can be understood that the operation state includes an anti-splash mode and a normal mode, and in step S210, the following steps may be further included, but are not limited to:
step S410: when the working state of the electric toothbrush is switched from the normal mode to the anti-splashing mode, the induction zero value is redetermined according to the first induction data value in a second time preset in the anti-splashing mode.
After the working state is switched from the normal mode to the splash-proof mode, the electric toothbrush is indicated to be operated for a period of time and returns to a state without pressure, and the updated induction zero value is determined according to the first induction data value again in the second time preset in the splash-proof mode, so that the accuracy of the working state switching of the electric toothbrush is improved. It should be noted that, the process of redefining the induction zero value in the step S410 may refer to the flow of the steps S310 to S360, and the repeated description is not repeated in the present application, where the second time may be equal to the first time in length, which is not limited in the present application.
Referring to fig. 5, it can be appreciated that in step S130, the following steps may be included, but are not limited to:
step S510: establishing a second sliding window;
step S520: sequentially recording second induction data values obtained through detection according to the length of a second sliding window;
step S530: and calculating standard deviations of all second sensing data value data in the second sliding window range to obtain second equalization values.
In order to further confirm the current working state of the electric toothbrush, by establishing a second sliding window and calculating the standard deviation of all second sensing data value data in the range of the second sliding window, the obtained second equalization value is adopted to judge whether the electric toothbrush is stable in a certain pressed state, particularly whether the electric toothbrush is stable in a non-pressed state, and the working state of the electric toothbrush is switched in time, wherein the size of the second sliding window can be 1024, and the application is not limited to the method. The switching indication of the working state of the electric toothbrush is generated by combining the first equalization value and the second equalization value, so that the accuracy of the switching of the working state of the electric toothbrush is improved, and the use experience of a user is improved.
Referring to fig. 6, it can be understood that in step S130, the following steps may be further included, but are not limited to:
step S610: acquiring a second sensing data value again;
step S620: deleting the first second sensing data value in the second sliding window, moving all the remaining second sensing data value data of the second sliding window forward by one bit, and recording the newly acquired second sensing data value to the last bit of the second sliding window;
step S630: and obtaining an updated second balance value according to the standard deviation of all second sensing data value data in the updated second sliding window range.
After the second sliding window is filled with 1024 second sensing data values, deleting the first second sensing data value in the second sliding window when the next second sensing data value is received, moving all the remaining second sensing data value data of the second sliding window forward by one bit, recording the newly acquired second sensing data value to the last bit of the second sliding window so as to update the second sliding window, calculating the standard deviation of all the second sensing data value data in the range of the updated second sliding window, and obtaining the updated second balance value. And judging whether the electric toothbrush is stable in a non-pressurized state by adopting the second balance value.
Referring to fig. 7, it can be understood that the operation state includes an overpressure alarm mode in addition to the anti-splash mode and the normal mode, and in step S140, the following steps may be included, but not limited to:
step S710: when the first balance value is smaller than a preset anti-splashing threshold value and the second balance value is smaller than a preset fluctuation threshold value, switching the working state of the electric toothbrush into an anti-splashing mode;
step S720: when the first equalization threshold data is larger than a preset overvoltage threshold value, switching the working state of the electric toothbrush into an overvoltage alarm mode;
step S730: and when the first equalization threshold data is greater than or equal to the anti-splashing threshold and less than or equal to the overvoltage threshold, switching the working state of the electric toothbrush into a normal mode.
The splash prevention mode is combined with the first equalization value and the second equalization value to judge the switching time of the splash prevention mode, and the accuracy of the switching of the working state of the electric toothbrush can be improved through steps S710 to S730, so that the use experience of a user is improved.
Referring to fig. 8, it can be appreciated that the switching between the different operation modes in steps S710 to S730, the specific control thereof may include, but is not limited to, the following steps:
step S810: adjusting the working frequency of a motor of the electric toothbrush to 300Hz, adjusting the working duty ratio to 5%, continuously starting the motor, and controlling an indicator lamp of the electric toothbrush to be in a breathing state;
step S820: the working frequency of the motor of the electric toothbrush is adjusted to 300Hz, the working duty ratio is adjusted to 85%, the motor is started and stopped at intervals of 500ms as a period, and the indicator lamp of the electric toothbrush is controlled to be in a red lamp flickering state;
step S830: the operating frequency of the motor of the electric toothbrush was adjusted to 300Hz and the duty cycle was adjusted to 85%, and the motor was continuously started.
In the anti-splash mode, the vibration amplitude of the electric toothbrush is reduced so as to reduce foam splash on the brush head, an indicator light is adopted to remind a user, in the overvoltage alarm mode, the electric toothbrush is controlled to start and stop at intervals, the damage to teeth or gums is reduced, and the indicator light is also adopted to remind the user.
In a second aspect, the present application also provides an electric toothbrush comprising: at least one memory, at least one processor, and at least one program stored in the memory, the processor executing one or more programs to implement the electric toothbrush control method described above.
The pressure applied to the electric toothbrush is detected through the piezoresistive sensor and the piezoelectric sensor respectively, a corresponding first sensing data value and a corresponding second sensing data value are obtained respectively, the piezoresistive sensor focuses on outputting linear data to deformation of an object, the deformation size of the object is convenient to measure, the piezoelectric sensor focuses on having high sensitivity to the deformation of the object, the motion state of the object is convenient to judge, the first sensing data value and the second sensing data value are subjected to equalization processing respectively, a first equalization value and a second equalization value are obtained respectively, the possibility of misjudgment is reduced through the equalization processing, and the working state of the electric toothbrush is switched according to the combination of the first equalization value and the second equalization value, so that the accuracy of the working state switching of the electric toothbrush can be improved, and the use experience of a user is improved.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and signals, such as program instructions/signals corresponding to the processing modules in the embodiments of the present application. The processor executes various functional applications and data processing by running non-transitory software programs, instructions, and signals stored in the memory, i.e., implements the electric toothbrush control method of the above-described method embodiments.
The memory may include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the data storage area may store data related to the control method of the electric toothbrush described above, and the like. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processing module through 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 one or more signals are stored in the memory and when executed by the one or more processors, perform the method of controlling an electric toothbrush of any of the method embodiments described above. For example, the above-described method steps S110 to S140 in fig. 1, the method steps S210 to S220 in fig. 2, the method steps S310 to S360 in fig. 3, the method step S410 in fig. 4, the method steps S510 to S530 in fig. 5, the method steps S610 to S630 in fig. 6, the method steps S710 to S730 in fig. 7, and the method steps S810 to S830 in fig. 8 are performed.
In a third aspect, embodiments of the present application provide a computer-readable storage medium storing computer-executable instructions that are executed by one or more processors to cause the one or more processors to perform the method of controlling an electric toothbrush in the method embodiments described above. For example, the above-described method steps S110 to S140 in fig. 1, the method steps S210 to S220 in fig. 2, the method steps S310 to S360 in fig. 3, the method step S410 in fig. 4, the method steps S510 to S530 in fig. 5, the method steps S610 to S630 in fig. 6, the method steps S710 to S730 in fig. 7, and the method steps S810 to S830 in fig. 8 are performed.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the description of the embodiments above, those skilled in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable signals, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable signals, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and may include any information delivery media.
In the description of the present specification, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "particularly" or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The embodiments of the present application have been described in detail above with reference to the accompanying drawings, but the present application is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present application.

Claims (10)

1. A method of controlling an electric toothbrush, comprising:
acquiring a first sensing data value and a second sensing data value which are pressed on the electric toothbrush; the first sensing data value and the second sensing data value are measured by a piezoresistive sensor or a piezoelectric sensor;
carrying out equalization processing on the first induction data value to obtain a first equalization value;
carrying out equalization processing on the second sensing data value to obtain a second equalization value;
and switching the working state of the electric toothbrush according to the first balance value and the second balance value.
2. The method of claim 1, wherein said equalizing said first sensed data value to obtain a first equalized value, comprising:
acquiring an induction zero value of the electric toothbrush in a non-pressurized state;
and calculating the difference value between the first induction data value and the induction zero value to obtain a first balance value.
3. The method of claim 2, wherein the acquiring the induction zero value of the electric toothbrush in the pressureless state comprises:
establishing a first sliding window in response to a start command of the electric toothbrush;
sequentially recording the detected first induction data values according to the length of the first sliding window;
calculating the median value of all the first sensing data value data in the first sliding window range to obtain a window median value;
continuously acquiring the first sensing data value in a preset first time, and updating the first sliding window according to the changed first sensing data value;
calculating the median value of all the first sensing data value data in the range of the first sliding window after each update to obtain a plurality of window median values;
and determining the induction zero value according to the average value of all the window median values.
4. The control method of an electric toothbrush according to claim 3, wherein the operating state includes an anti-splash mode and a normal mode; the method for obtaining the induction zero point value of the electric toothbrush in the state of no pressure further comprises the following steps:
and when the working state of the electric toothbrush is switched from a normal mode to an anti-splashing mode, the induction zero value is redetermined according to the first induction data value within a second time preset in the anti-splashing mode.
5. The method of claim 1, wherein said equalizing said second sensed data value to obtain a second equalized value, comprising:
establishing a second sliding window;
sequentially recording the detected second induction data values according to the length of the second sliding window;
and calculating standard deviations of all second sensing data value data in the second sliding window range to obtain second equalization values.
6. The method of claim 5, wherein said equalizing said second sensed data value to obtain a second equalized value, further comprising:
acquiring the second sensing data value again;
deleting the first second sensing data value in the second sliding window, moving all the remaining second sensing data value data of the second sliding window forward by one bit, and recording the newly acquired second sensing data value to the last bit of the second sliding window;
and obtaining an updated second balance value according to the standard deviation of all second sensing data value data in the updated second sliding window range.
7. The method of claim 1, wherein the operating conditions include an anti-splash mode, a normal mode, and an overpressure alarm mode;
the switching of the working state of the electric toothbrush according to the first equalization value and the second equalization value comprises the following steps:
when the first balance value is smaller than a preset anti-splashing threshold value and the second balance value is smaller than a preset fluctuation threshold value, switching the working state of the electric toothbrush into an anti-splashing mode;
when the first equalization threshold data is larger than a preset overvoltage threshold value, switching the working state of the electric toothbrush into an overvoltage alarm mode;
and when the first equalization threshold data is greater than or equal to the anti-splash threshold and is less than or equal to the overvoltage threshold, switching the working state of the electric toothbrush into a normal mode.
8. The method of controlling an electric toothbrush according to claim 7, wherein the switching the operation state of the electric toothbrush to the splash prevention mode includes:
adjusting the working frequency of a motor of the electric toothbrush to 300Hz, adjusting the working duty ratio to 5%, continuously starting the motor, and controlling an indicator lamp of the electric toothbrush to be in a breathing state;
the switching of the working state of the electric toothbrush to an overvoltage alarm mode comprises the following steps:
adjusting the working frequency of a motor of the electric toothbrush to 300Hz, adjusting the working duty ratio to 85%, starting and stopping the motor at intervals of 500ms as a period, and controlling an indicator lamp of the electric toothbrush to be in a red light flickering state;
said switching said operating state of the electric toothbrush to a normal mode comprises:
the operating frequency of the motor of the electric toothbrush was adjusted to 300Hz and the duty cycle was adjusted to 85%, and the motor was continuously started.
9. An electric toothbrush, comprising:
at least one memory;
at least one processor;
at least one program;
the program is stored in the memory, and the processor executes at least one of the programs to realize the electric toothbrush control method according to any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer-executable signal for performing the electric toothbrush control method according to any one of claims 1 to 8.
CN202310413567.0A 2023-04-17 2023-04-17 Electric toothbrush control method, electric toothbrush, and computer-readable storage medium Pending CN116509589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310413567.0A CN116509589A (en) 2023-04-17 2023-04-17 Electric toothbrush control method, electric toothbrush, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310413567.0A CN116509589A (en) 2023-04-17 2023-04-17 Electric toothbrush control method, electric toothbrush, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN116509589A true CN116509589A (en) 2023-08-01

Family

ID=87393373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310413567.0A Pending CN116509589A (en) 2023-04-17 2023-04-17 Electric toothbrush control method, electric toothbrush, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN116509589A (en)

Similar Documents

Publication Publication Date Title
US8622902B2 (en) Controlling an alarm in a medical instrument
US20150374469A1 (en) Oral cavity measuring device, occlusion evaluation system and non-transitory computer readable medium
US20160262641A1 (en) Sensor apparatus and method for monitoring a vital sign of a subject
US20220331079A1 (en) Electric toothbrush system with pressure detection
TWI436305B (en) Method and device for detecting fatigue
JPH08317912A (en) Pulse rate meter
CN110794092B (en) Sensor, control method, device and equipment thereof, and air quality monitoring equipment
WO2022135220A1 (en) Control method and system for adjusting vibration frequency on the basis of pressure, and storage medium
KR101695500B1 (en) Server capable of Context-aware about a fire
CN116509589A (en) Electric toothbrush control method, electric toothbrush, and computer-readable storage medium
US8682420B2 (en) Heartbeat measuring device and heartbeat measuring method
JP3864789B2 (en) Fire detector, fire receiver, and fire alarm system using them
CN113349977A (en) Electric toothbrush, control method thereof, processing module and computer readable storage medium
CN112674897B (en) Pressure data processing control method, control system and computer readable storage medium
US11323521B1 (en) Edge device
JP5263974B2 (en) Radio notification device and battery capacity reduction detection method thereof
CN109965999B (en) Method and device for controlling equipment operation
EP1459680A2 (en) Method, apparatus and system for deterioration detection of a pulse sensor
CN105615858A (en) Blood pressure/ pulse rate average value acquisition method and electronic sphygmomanometer
CN107049327B (en) Unilateral mastication monitoring equipment and monitoring method
JP2010104396A (en) Situational determination device, system, method and program
KR20190020951A (en) Method and apparatus for alerting dangers of elderly person living alnoe
EP4104711A1 (en) Power toothbrush
JP7045832B2 (en) Biometric information measuring device
CN105662347A (en) Parahypnosis monitoring and alarming method

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