Control method and device of electric toothbrush, electronic equipment and storage medium
By compensating the motor torque for the brush head end pressure value of the electric toothbrush, the problem of toothpaste and foam splash caused by the initial flutter of the traditional electric toothbrush is solved, and the normal entry of the electric toothbrush into the anti-splash mode is achieved, improving the user experience.
Patent Information
- Application Number
- CN202311794389.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2025-06-24
AI Technical Summary
When the traditional electric toothbrush is initially turned on, the brush head produces extremely strong swing force, causing toothpaste and foam to splash, affecting the user experience.
By obtaining the pressure value at the brush head end, determining the swing speed value according to the preset pressure swing speed comparison relationship, then determining the reverse electromotive force, and performing motor torque compensation based on the reverse electromotive force, so that the pressure value is less than or equal to the preset threshold value, thereby controlling the electric toothbrush into the anti-splash mode.
It effectively solves the problem that electric toothbrushes cannot enter the anti-splash mode due to motor torque, reduces the splash of toothpaste and foam, and improves the user experience.
Smart Images

Figure CN120189253A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electric toothbrushes, and in particular to a control method, device, electronic device and storage medium for an electric toothbrush. Background Art
[0002] An electric toothbrush uses the rapid rotation or vibration of the motor to produce high-frequency vibrations in the brush head, instantly breaking down the toothpaste into fine foam and deeply cleaning the gaps between teeth.
[0003] When using a traditional electric toothbrush, users often dip it in water or toothpaste first, and then turn it on. When it is initially turned on, the brush head will generate a very strong throwing force, which can easily cause the toothpaste and foam to splash out, causing a lot of toothpaste foam and water stains on the user's clothes and bathroom mirror, affecting the user experience. Summary of the invention
[0004] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a control method for an electric toothbrush, discovers and solves the influence of motor torque on the electric toothbrush, and compensates the reverse electromotive force for motor torque, so that the electric toothbrush can normally enter the anti-splash mode.
[0005] The application also proposes a control device, an electronic device and a storage medium for an electric toothbrush.
[0006] According to the control method of the electric toothbrush of the first aspect embodiment of the present application, it includes: obtaining the pressure value at the brush head end of the electric toothbrush in the working mode; determining the swing speed value corresponding to the pressure value according to the preset pressure-swing speed comparison relationship; determining the reverse electromotive force according to the swing speed value; performing motor torque compensation based on the reverse electromotive force so that the pressure value is less than or equal to the first preset threshold value; and controlling the electric toothbrush to enter the anti-splash mode.
[0007] According to the control method of the electric toothbrush in the embodiment of the present application, the influence of the motor torque on the electric toothbrush is discovered and solved. By performing motor torque compensation on the reverse electromotive force, the pressure value at the brush head end can be less than or equal to the first preset threshold value, and the electric toothbrush can enter the anti-splash mode normally.
[0008] According to one embodiment of the present application, motor torque compensation is performed based on back electromotive force so that the pressure value is less than or equal to a first preset threshold value, including: determining a driving voltage value based on the back electromotive force and motor parameters of the electric toothbrush; outputting the driving voltage value to the motor of the electric toothbrush to drive the motor to work so that the pressure value is less than or equal to the first preset threshold value.
[0009] According to an embodiment of the present application, motor torque compensation is performed based on the back electromotive force to make the pressure value less than or equal to the first preset threshold, including: inputting the back electromotive force into the release circuit to make the pressure value less than or equal to the first preset threshold; wherein the release circuit includes a diode and a first resistor, and the release circuit is arranged at both ends of the motor of the electric toothbrush.
[0010] According to an embodiment of the present application, motor torque compensation is performed based on the back electromotive force to make the pressure value less than or equal to the first preset threshold, including: inputting the back electromotive force into a second resistor to generate a braking torque on the motor of the electric toothbrush; wherein the power of the second resistor is greater than the preset power, and the braking torque is used to compensate the torque of the electric toothbrush to make the pressure value less than or equal to the first preset threshold.
[0011] According to an embodiment of the present application, before determining the swing speed value corresponding to the pressure value according to the preset pressure swing speed correspondence relationship, it further includes: testing the swing speed values of the brush head end of the electric toothbrush under different pressures to obtain multiple groups of test data; wherein each group of test data includes a test pressure value and a test swing speed value under the test pressure value; based on the multiple groups of test data, the preset pressure swing speed correspondence relationship is obtained.
[0012] According to an embodiment of the present application, determining the back electromotive force according to the swing speed value includes: obtaining the motor torque constant of the electric toothbrush; determining the back electromotive force according to the product of the motor torque constant and the swing speed value.
[0013] According to an embodiment of the present application, before obtaining the pressure value of the brush head end of the electric toothbrush in the working mode, it includes: obtaining the pressure value of the brush head end of the electric toothbrush; when the pressure value is greater than or equal to the second preset threshold, controlling the electric toothbrush to enter the working mode.
[0014] The control device of the electric toothbrush according to the embodiment of the second aspect of the present application includes: a pressure value acquisition module for acquiring the pressure value of the brush head end of the electric toothbrush in the working mode; a swing speed value determination module for determining the swing speed value corresponding to the pressure value according to the preset pressure swing speed correspondence relationship; a back electromotive force determination module for determining the back electromotive force according to the swing speed value; a motor torque compensation module for performing motor torque compensation based on the back electromotive force to make the pressure value less than or equal to the first preset threshold; a mode control module for controlling the electric toothbrush to exit the anti-splash mode.
[0015] The electronic device according to the embodiment of the third aspect of the present application includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, it implements any one of the above control methods of the electric toothbrush.
[0016] A non-transitory computer-readable storage medium according to an embodiment of the fourth aspect of the present application stores a computer program, and when the computer program is executed by a processor, it implements the control method of any of the above electric toothbrushes.
[0017] One or more of the above technical solutions in the embodiments of the present application have at least one of the following technical effects:
[0018] It is found that the torque of the motor has an impact on the electric toothbrush. The electric toothbrush will have a pressure sensing value far higher than the pressure value threshold for entering the anti-splash mode due to the torque of its own motor, resulting in the inability to enter the anti-splash mode.
[0019] Therefore, in the embodiments of the present application, through the preset pressure swing speed comparison relationship, the swing speed value corresponding to the pressure value is obtained, and then the back electromotive force is determined; by compensating the motor torque through the back electromotive force, the pressure value at the brush head end can be less than or equal to the first preset threshold, and the electric toothbrush can normally enter the anti-splash mode; thus, the problem of electric toothbrush splashing is solved.
[0020] The additional aspects and advantages of the present application will be partially given in the following description, partially become obvious from the following description, or be understood through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0022] Figure 1 It is a schematic flowchart of the control method of the electric toothbrush provided by the embodiment of the present application;
[0023] Figure 2 It is a schematic structural diagram of the electric toothbrush provided by the embodiment of the present application;
[0024] Figure 3 It is a schematic flowchart of motor torque compensation based on the back electromotive force provided by the embodiment of the present application;
[0025] Figure 4 It is a schematic flowchart of the working mode switching of the electric toothbrush provided by the embodiment of the present application;
[0026] Figure 5 It is a schematic structural diagram of the control device of the electric toothbrush provided by the embodiment of the present application;
[0027] Figure 6It is a schematic diagram of the physical structure of the electronic device provided by an embodiment of the present application. Detailed implementation manners
[0028] The following further describes in detail the implementation manners of the present application in conjunction with the accompanying drawings and embodiments. The following embodiments are used to illustrate the present application, but cannot be used to limit the scope of the present application.
[0029] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the embodiments of the present application. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, without conflict, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0030] In the related art, some electric toothbrushes can develop the function of preventing toothpaste and water splashing through a pressure sensing sensor. The logic of splash prevention is roughly as follows: The working process of the electric toothbrush includes an underpressure state and a medium pressure state. Among them, the underpressure state is that the toothbrush head has not reached the set start threshold, and the medium pressure state is that it starts normally after reaching the set threshold. During the process, if the user moves the electric toothbrush out of the mouth or changes the area, the toothbrush head is not stressed. At this time, the electric toothbrush is set to exit the medium pressure state to prevent toothpaste splashing during the process from causing a poor experience.
[0031] However, in the actual use of users, it is found that a high proportion of them cannot enter the splash prevention mode normally. After analysis and research, the inventor found that during the swinging process of the toothbrush head, the torque of the motor shaft itself brings a pressure value to the pressure sensing chip, and this pressure value causes the medium pressure state not to reach the condition of being less than the exit threshold, so it cannot enter the splash prevention state normally.
[0032] Based on this, the embodiment of the present application proposes a control method for an electric toothbrush, which compensates the motor torque through the back electromotive force, so that the electric toothbrush can normally enter the splash prevention mode.
[0033] Please refer to Figure 1 , Figure 1 It is a schematic flowchart of the control method of the electric toothbrush provided by the embodiment of the present application. In this embodiment, the control method of the electric toothbrush may include steps 110 to 150, and the specific steps are as follows:
[0034] Step 110: Obtain the pressure value at the toothbrush head end of the electric toothbrush in the working mode.
[0035] In this embodiment, the pressure value at the brush head end can be obtained through the pressure sensing module. The pressure sensing module can be a pressure sensing chip.
[0036] A pressure sensing chip is an electronic device capable of sensing pressure changes. It usually consists of a pressure sensor and a signal processing circuit, which can convert the pressure signal into an electrical signal and output it after being processed by the circuit. When subjected to external pressure, the sensitive element in the pressure sensor will change, thereby generating a corresponding electrical signal. This electrical signal is processed by the signal processing circuit and then converted into a voltage or current signal that can be output.
[0037] Please refer to Figure 2 , Figure 2 which is a schematic structural diagram of the electric toothbrush provided by the embodiment of the present application.
[0038] In the electric toothbrush, it includes a bristle assembly 10, a brush handle assembly 20, a pressure sensing module 30, a power module 40, a circuit board assembly 50, a battery assembly 60, and a charging assembly 70.
[0039] Exemplarily, the pressure sensing module 30 is arranged on the motor shaft and can sense the pressure change value brought by the brush head end. The power module 40 is provided with the motor of the electric toothbrush. The circuit board module 50 can be provided with the control chip of the electric toothbrush.
[0040] Step 120: Determine the swing speed value corresponding to the pressure value according to the preset pressure-swing speed correspondence.
[0041] The control chip of the electric toothbrush pre-stores the preset pressure-swing speed correspondence. According to the obtained pressure value and the preset pressure-swing speed correspondence, the corresponding swing speed value can be obtained.
[0042] The swing speed value refers to the back-and-forth swing speed of the brush head of the electric toothbrush during operation. The swing speed value has a great influence on the cleaning effect of the toothbrush. A higher swing speed value can provide a stronger cleaning effect because the toothbrush bristles can move on the tooth surface faster, better removing dental plaque and food residues.
[0043] Step 130: Determine the back electromotive force according to the swing speed value.
[0044] When the motor rotates, an induced electromotive force is generated in the motor winding due to the magnetic induction effect. The direction of this electromotive force is related to the operating state of the motor and is usually opposite to the direction of the motor rotation, so it is called the back electromotive force. The back electromotive force will affect the operating characteristics of the motor. For example, in this application, the inventors found that due to the existence of the back electromotive force, when the electric toothbrush should enter the anti-splash mode, due to the torque of the motor, the pressure value is much higher than the threshold for exiting the operating mode, resulting in the inability to enter the anti-splash mode normally, causing the toothpaste and water on the bristles to splash outwards.
[0045] In this embodiment, according to the working principle of the motor, the back electromotive force of the motor can be determined based on the swing speed value.
[0046] Step 140: Perform motor torque compensation based on the back electromotive force so that the pressure value is less than or equal to the first preset threshold.
[0047] Since it is found that the torque of the motor causes the pressure value to be much higher than the threshold for exiting the operating mode, resulting in the inability to enter the anti-splash mode normally, in this embodiment, motor torque compensation can be performed on the back electromotive force obtained in the above steps so that the pressure value can be less than or equal to the first preset threshold.
[0048] Optionally, the motor torque compensation can be related to the circuit structure or the control logic. The motor torque compensation can eliminate / weaken the torque of the electric toothbrush. Under the normal swing amplitude of the toothbrush, by compensating the motor torque value, the electric toothbrush can exit the operating mode normally.
[0049] Step 150: Control the electric toothbrush to enter the anti-splash mode.
[0050] When the pressure value is less than or equal to the first preset threshold, the electric toothbrush can smoothly switch from the operating mode to the anti-splash mode according to the original set program.
[0051] It should be noted that the motor load in the operating mode is greater than the motor load in the anti-splash mode.
[0052] In summary, the present embodiment provides a control method for an electric toothbrush, including: obtaining the pressure value at the brush head end of the electric toothbrush in the working mode; determining the swing speed value corresponding to the pressure value according to the preset pressure swing speed correspondence; determining the back electromotive force according to the swing speed value; performing motor torque compensation based on the back electromotive force so that the pressure value is less than or equal to the first preset threshold; and controlling the electric toothbrush to enter the anti-splash mode. The present embodiment discovers the influence of the motor torque on the electric toothbrush. The electric toothbrush may not be able to enter the anti-splash mode because the pressure sensing value is far higher than the pressure value threshold for entering the anti-splash mode due to the torque of its own motor. Therefore, in the present embodiment, the swing speed value corresponding to the pressure value is obtained through the preset pressure swing speed correspondence, and then the back electromotive force is determined. By performing motor torque compensation on the back electromotive force, the pressure value at the brush head end can be less than or equal to the first preset threshold, and the electric toothbrush can normally enter the anti-splash mode, thereby solving the problem of splashing of the electric toothbrush.
[0053] Based on any of the above embodiments, the step of performing motor torque compensation based on the back electromotive force so that the pressure value is less than or equal to the first preset threshold may specifically include:
[0054] Step 141-1: Determine the drive voltage value based on the back electromotive force and the motor parameters of the electric toothbrush.
[0055] Step 141-2: Output the drive voltage value to the motor of the electric toothbrush to drive the motor to work so that the pressure value is less than or equal to the first preset threshold.
[0056] In this embodiment, without changing the circuit structure, the motor torque compensation is achieved through motor parameter adjustment.
[0057] Specifically, the drive voltage value can be determined based on the back electromotive force and the motor parameters of the electric toothbrush, and then the drive voltage value is output to the motor of the electric toothbrush to drive the motor to work. At this time, the drive voltage value has been adjusted by the back electromotive force. Therefore, the drive motor driven by the drive voltage value can eliminate / weaken the torque of the electric toothbrush, so that the pressure value at the brush head end of the electric toothbrush can be less than or equal to the first preset threshold, enabling the electric toothbrush to normally enter the anti-splash mode.
[0058] Please refer to Figure 3 , Figure 3 which is a schematic flow diagram of motor torque compensation based on the back electromotive force provided by the embodiment of the present application. Specifically, it includes the following steps:
[0059] Step 310: Calculate the back electromotive force, and determine the drive voltage value in combination with the motor set parameters.
[0060] Step 320: Control the H-bridge circuit to output the drive voltage value.
[0061] Step 330: Output the drive voltage value to the motor of the electric toothbrush, and the drive voltage is used to drive the motor of the electric toothbrush to operate.
[0062] In this embodiment, the drive voltage value is output through an H-bridge circuit. The H-bridge circuit can control the direction of the current, thereby controlling the forward rotation, reverse rotation, and braking of the electric motor. Specifically, the H-bridge circuit can be combined with other components such as a drive circuit and a control circuit to achieve precise control of the electric toothbrush.
[0063] Exemplarily, the H-bridge circuit can include four switching elements (such as transistors or MOSFETs). The four switching elements are paired in pairs, and each pair controls two ports of the electric motor respectively. When one of the two switching elements is closed and the other is open, the current can flow through the electric motor in a specific direction, causing it to rotate forward or backward. By alternately controlling the states of the four switching elements, the control of the electric motor of the electric toothbrush can be achieved.
[0064] Based on any of the above embodiments, the step of compensating the motor torque based on the back electromotive force so that the pressure value is less than or equal to the first preset threshold may specifically include:
[0065] Step 142: Input the back electromotive force into the release circuit so that the pressure value is less than or equal to the first preset threshold.
[0066] In this embodiment, the circuit structure is changed, and the motor torque compensation is achieved by adding a release circuit.
[0067] Specifically, the release circuit includes a diode and a first resistor, and the release circuit is arranged at both ends of the motor of the electric toothbrush. After inputting the back electromotive force into the release circuit, the original motor control circuit in the electric toothbrush no longer receives the interference of the back electromotive force. Therefore, the torque of the electric toothbrush can be eliminated / weakened, so that the pressure value at the brush head end of the electric toothbrush can be less than or equal to the first preset threshold, enabling the electric toothbrush to normally enter the anti-splash mode.
[0068] Based on any of the above embodiments, the step of compensating the motor torque based on the back electromotive force so that the pressure value is less than or equal to the first preset threshold may specifically include:
[0069] Step 143: Input the back electromotive force into the second resistor so that the motor of the electric toothbrush generates a braking torque.
[0070] In this embodiment, the circuit structure is changed, and the motor torque compensation is achieved by adding a second resistor.
[0071] Specifically, the power of the second resistor is greater than the preset power, and the braking torque of the second resistor is used to compensate the torque of the electric toothbrush so that the pressure value is less than or equal to the first preset threshold.
[0072] The second resistor is a resistor with a relatively large power, which can allow a relatively large current in the armature. This current will generate a braking torque on the rotor, which can compensate for the torque of the electric toothbrush, so that the pressure value at the brush head end of the electric toothbrush can be less than or equal to the first preset threshold, enabling the electric toothbrush to normally enter the anti-splash mode.
[0073] Based on any of the above embodiments, before determining the swing speed value corresponding to the pressure value according to the preset pressure swing speed correspondence relationship, the steps may specifically include:
[0074] Step 121: Test the swing speed values of the brush head end of the electric toothbrush under different pressures to obtain multiple groups of test data.
[0075] Step 122: Based on the multiple groups of test data, obtain the preset pressure swing speed correspondence relationship.
[0076] It is found through testing that the swing speed values under the rated signals (U, f) and the rated load (brush head, load) are one-to-one corresponding and fixed. Therefore, the swing speed value can be measured through testing, and at the same time, the curve is input into the electric toothbrush control chip, so that it is possible to know what the swing speed value of the corresponding brush head is under different pressures. Thus, the back electromotive force is calculated and compensated through the circuit.
[0077] Specifically, each group of test data in this embodiment may include a test pressure value and a test swing speed value under the test pressure value. Through the correspondence between the multiple groups of test pressure values and test swing speed values, the preset pressure swing speed correspondence relationship can be obtained.
[0078] Based on any of the above embodiments, the steps of determining the back electromotive force according to the swing speed value may specifically include:
[0079] Step 131: Obtain the motor torque constant of the electric toothbrush.
[0080] Step 132: Determine the back electromotive force according to the product of the motor torque constant and the swing speed value.
[0081] The motor of the electric toothbrush can essentially be regarded as a sensor. All motors will generate a back electromotive force Ue during operation. In this embodiment, the back electromotive force can be determined by the product of the motor torque constant and the swing speed value. The specific formula is as follows:
[0082] Ue = BL * ω;
[0083] Where BL is the motor torque constant and ω is the swing speed value. The motor torque constant BL represents the relationship between the torque output by the motor and the input current.
[0084] Based on any of the above embodiments, the steps before obtaining the pressure value at the brush head end of the electric toothbrush in the working mode may specifically include:
[0085] Step 101: Obtain the pressure value at the brush head end of the electric toothbrush.
[0086] Step 102: When the pressure value is greater than or equal to the second preset threshold, control the electric toothbrush to enter the working mode.
[0087] In this embodiment, the pressure value at the brush head end of the electric toothbrush can be detected in real time through the pressure sensing module. To adapt to the user's usage habits, the electric toothbrush can automatically enter the working mode according to the detected pressure value without the user having to turn it on manually.
[0088] Therefore, when powered on, the brush head of the electric toothbrush is in an under-pressure state, and at this time, the electric toothbrush is in the standby mode. When the electric toothbrush touches the teeth and the user starts brushing, the brush head of the electric toothbrush is in a medium-pressure state, and the electric toothbrush is in the working mode.
[0089] Among them, in the standby mode, the motor of the electric toothbrush does not work or works at the lowest load; in the working mode, the motor of the electric toothbrush works normally.
[0090] In some embodiments, due to the user brushing too hard, the brush head of the electric toothbrush may also be in an over-pressure state. At this time, the electric toothbrush is in the first anti-splash mode, and the motor of the electric toothbrush works at a lower load. In this way, the movement speed of the bristles during brushing will slow down, and the speed of water droplet splashing will also decrease, which can play a certain role in preventing splashing.
[0091] In some embodiments, when the electric toothbrush is in the working mode, the brush head may also be removed from the oral cavity or switched to another area, etc., where the brush head is not stressed. At this time, the electric toothbrush is in the second anti-splash module, and the motor of the electric toothbrush does not work or works at a lower load, which can play a certain role in preventing splashing.
[0092] Please refer to Figure 4 , Figure 4 which is a schematic flowchart of the working mode switching of the electric toothbrush provided by the embodiment of the present application.
[0093] When the electric toothbrush is powered on and started, the brush head of the electric toothbrush swings at the lowest load, and the user data at this time is recorded. The pressure of the brush head is detected through the pressure sensing module, and the obtained pressure value is compared with the first threshold (g1). When the brush head pressure detection is greater than or equal to g1, the electric toothbrush enters the working mode, and the brush head enters the high-amplitude vibration state; when the brush head pressure detection is less than g1, the electric toothbrush continues to swing at the lowest load, and the user data at this time is recorded.
[0094] When the electric toothbrush is not pressed against the teeth, the motor is not affected by the pressure from the teeth, and the working current of the motor is small. At this time, the anti-splash mode is maintained, with low frequency and low swing amplitude, and splashing of toothpaste and water will not occur. When the electric toothbrush is pressed against the teeth, the motor is affected by the pressure from the teeth, and the working current of the motor increases significantly. At this time, the motor is controlled to enter the working mode to start normal brushing.
[0095] In the working mode, the electric toothbrush also detects the current working current value and compares it with the first current value (A1). If the current working current value is less than or equal to A1, the medium pressure state is exited, and the electric toothbrush enters the anti-splash mode. If the current working current value is greater than A1, the original working mode is maintained, and the brush head is in a high swing amplitude vibration state.
[0096] After exiting the medium pressure state, continue to detect the current working current value and compare it with the first current value (A1). If the current working current value is greater than A1, restart the working mode, and the brush head enters the high swing amplitude vibration state. If the current working current value continues to be less than or equal to A1, maintain the anti-splash mode until the startup time reaches 2 minutes, and then you can choose to shut down or reset.
[0097] In this embodiment, several switching methods of working modes are provided. It should be noted that in this embodiment, it is judged whether to enter the anti-splash mode according to the current value. Since the current value and voltage can be converted into each other, the threshold judgment for entering the anti-splash mode can be judged according to the voltage value or the current value.
[0098] In addition, in this embodiment, after entering the anti-splash mode, it is also necessary to continue to evaluate the current working current value, because the change in the brush head pressure may be caused by the user having completed brushing the teeth, or it may be caused by briefly moving the toothbrush out of the mouth or changing areas during brushing. Therefore, in this embodiment, it is also necessary to continuously detect the current working current value. If the current working current value is greater than A1, it means that the user wants to continue using the electric toothbrush. Therefore, at this time, it is necessary to restart the working mode.
[0099] On the other hand, the embodiment of the present application provides a control device for an electric toothbrush. Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of the control device for the electric toothbrush provided by the embodiment of the present application. In this embodiment, the control device for the electric toothbrush may include a pressure value acquisition module 510, a swing speed value determination module 520, a back electromotive force determination module 530, a motor torque compensation module 540, and a mode control module 550.
[0100] The pressure value acquisition module 510 is used to acquire the pressure value at the brush head end of the electric toothbrush in the working mode.
[0101] A swing speed value determination module 520, configured to determine a swing speed value corresponding to a pressure value according to a preset pressure-swing speed correspondence.
[0102] A back electromotive force determination module 530, configured to determine a back electromotive force according to the swing speed value.
[0103] A motor torque compensation module 540, configured to perform motor torque compensation based on the back electromotive force, so that the pressure value is less than or equal to a first preset threshold.
[0104] A mode control module 550, configured to control the electric toothbrush to exit the anti-splash mode.
[0105] Based on any of the above embodiments, the motor torque compensation module 540 may include a first compensation module, and the first compensation module may specifically be configured to:
[0106] Determine a drive voltage value based on the back electromotive force and the motor parameters of the electric toothbrush; output the drive voltage value to the motor of the electric toothbrush to drive the motor to operate, so that the pressure value is less than or equal to the first preset threshold.
[0107] Based on any of the above embodiments, the motor torque compensation module 540 may further include a second compensation module, and the second compensation module may specifically be configured to:
[0108] Input the back electromotive force into a release circuit, so that the pressure value is less than or equal to the first preset threshold; wherein the release circuit includes a diode and a first resistor, and the release circuit is disposed at both ends of the motor of the electric toothbrush.
[0109] Based on any of the above embodiments, the motor torque compensation module 540 may further include a third compensation module, and the third compensation module may specifically be configured to:
[0110] Input the back electromotive force into a second resistor, so that the motor of the electric toothbrush generates a braking torque; wherein the power of the second resistor is greater than a preset power, and the braking torque is used to compensate the torque of the electric toothbrush, so that the pressure value is less than or equal to the first preset threshold.
[0111] Based on any of the above embodiments, the control device of the electric toothbrush may further include a correspondence acquisition module, and the correspondence acquisition module may specifically be configured to:
[0112] Test the swing speed values of the brush head end of the electric toothbrush under different pressures to obtain multiple groups of test data; wherein each group of test data includes a test pressure value and a test swing speed value under the test pressure value; based on the multiple groups of test data, obtain a preset pressure-swing speed correspondence.
[0113] Based on any of the above embodiments, the back electromotive force determination module 530 may specifically be configured to: obtain the motor torque constant of the electric toothbrush; determine the back electromotive force according to the product of the motor torque constant and the swing speed value.
[0114] Based on any of the above embodiments, the mode control module 550 may include a working mode control module and a splash prevention mode control module.
[0115] Among them, the splash prevention mode control module may specifically be configured to control the electric toothbrush to exit the splash prevention mode when the pressure value is less than or equal to a first preset threshold; the working mode control module may specifically be configured to obtain the pressure value at the brush head end of the electric toothbrush; and control the electric toothbrush to enter the working mode when the pressure value is greater than or equal to a second preset threshold.
[0116] This embodiment provides a control device for an electric toothbrush, including: a pressure value acquisition module, configured to acquire the pressure value at the brush head end of the electric toothbrush in the working mode; a swing speed value determination module, configured to determine the swing speed value corresponding to the pressure value according to a preset pressure-swing speed correspondence; a back electromotive force determination module, configured to determine the back electromotive force according to the swing speed value; a motor torque compensation module, configured to perform motor torque compensation based on the back electromotive force so that the pressure value is less than or equal to a first preset threshold; and a mode control module, configured to control the electric toothbrush to exit the splash prevention mode. This embodiment discovers and solves the influence of motor torque on the electric toothbrush. By performing motor torque compensation on the back electromotive force, the pressure value at the brush head end can be less than or equal to the first preset threshold, and the electric toothbrush can normally enter the splash prevention mode.
[0117] In another aspect, an embodiment of the present application further provides an electronic device. Please refer to Figure 6 , Figure 6 is a schematic physical structure diagram of the electronic device provided by the embodiment of the present application. The electronic device may include: a processor 610, a communication interface 620, a memory 630, and a communication bus 640. Among them, the processor 610, the communication interface 620, and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the following methods:
[0118] Acquire the pressure value at the brush head end of the electric toothbrush in the working mode; determine the swing speed value corresponding to the pressure value according to a preset pressure-swing speed correspondence; determine the back electromotive force according to the swing speed value; perform motor torque compensation based on the back electromotive force so that the pressure value is less than or equal to a first preset threshold; and control the electric toothbrush to enter the splash prevention mode.
[0119] In addition, when the logical instructions in the above-mentioned memory 630 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the related technology, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0120] In another aspect, an embodiment of the present application further provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is configured to execute the methods provided in the above-mentioned various embodiments, for example, including:
[0121] Obtain the pressure value at the brush head end of the electric toothbrush in the working mode; determine the swing speed value corresponding to the pressure value according to the preset pressure swing speed correspondence; determine the back electromotive force according to the swing speed value; perform motor torque compensation based on the back electromotive force so that the pressure value is less than or equal to the first preset threshold; control the electric toothbrush to enter the anti-splash mode.
[0122] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative efforts.
[0123] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution, in essence, or the part that contributes to the related technology, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disc, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0124] Finally, it should be noted that the above embodiments are only used to illustrate the present application, rather than limiting the present application. Although the present application has been described in detail with reference to the embodiments, those of ordinary skill in the art should understand that various combinations, modifications, or equivalent replacements of the technical solutions of the present application do not depart from the spirit and scope of the technical solutions of the present application, and should all be covered within the scope of the claims of the present application.
Claims
1. A control method for an electric toothbrush, characterized in that Including: Obtain the pressure value at the brush head end of the electric toothbrush in the working mode; Determine the swing speed value corresponding to the pressure value according to the preset pressure swing speed correspondence relationship; Determine the back electromotive force according to the swing speed value; Perform motor torque compensation based on the back electromotive force so that the pressure value is less than or equal to the first preset threshold; Control the electric toothbrush to enter the anti-splash mode.
2. The control method of the electric toothbrush according to claim 1, characterized in that The performing motor torque compensation based on the back electromotive force so that the pressure value is less than or equal to the first preset threshold includes: Determine the drive voltage value based on the back electromotive force and the motor parameters of the electric toothbrush; Output the drive voltage value to the motor of the electric toothbrush to drive the motor to work so that the pressure value is less than or equal to the first preset threshold.
3. The control method of the electric toothbrush according to claim 1, wherein The performing motor torque compensation based on the back electromotive force so that the pressure value is less than or equal to the first preset threshold includes: Input the back electromotive force into the release circuit so that the pressure value is less than or equal to the first preset threshold; Wherein the release circuit includes a diode and a first resistor, and the release circuit is arranged at both ends of the motor of the electric toothbrush.
4. The control method of the electric toothbrush according to claim 1, wherein The performing motor torque compensation based on the back electromotive force so that the pressure value is less than or equal to the first preset threshold includes: Input the back electromotive force into the second resistor so that the motor of the electric toothbrush generates a braking torque; Wherein the power of the second resistor is greater than the preset power, and the braking torque is used to compensate the torque of the electric toothbrush so that the pressure value is less than or equal to the first preset threshold.
5. The control method of the electric toothbrush according to any one of claims 1 to 4, characterized in that Before determining the swing speed value corresponding to the pressure value according to the preset pressure swing speed correspondence relationship, it further includes: Test the swing speed values at the brush head end of the electric toothbrush under different pressures to obtain multiple groups of test data; wherein each group of test data includes a test pressure value and the swing speed value under the test pressure value; Obtain the preset pressure swing speed correspondence relationship based on the multiple groups of test data.
6. The control method of the electric toothbrush according to any one of claims 1 to 4, characterized in that, The determining the back electromotive force according to the swing speed value includes: Obtain the motor torque constant of the electric toothbrush; Determine the back electromotive force according to the product of the motor torque constant and the swing speed value.
7. The control method of the electric toothbrush according to any one of claims 1 to 4, characterized in that Before obtaining the pressure value at the brush head end of the electric toothbrush in the working mode, it includes: Obtain the pressure value at the brush head end of the electric toothbrush; When the pressure value is greater than or equal to the second preset threshold, control the electric toothbrush to enter the working mode.
8. A control device for an electric toothbrush, characterized in that, Including: A pressure value acquisition module for obtaining the pressure value at the brush head end of the electric toothbrush in the working mode; A swing speed value determination module for determining the swing speed value corresponding to the pressure value according to the preset pressure swing speed correspondence relationship; A back electromotive force determination module for determining the back electromotive force according to the swing speed value; A motor torque compensation module for performing motor torque compensation based on the back electromotive force so that the pressure value is less than or equal to the first preset threshold; A mode control module for controlling the electric toothbrush to exit the anti-splash mode.
9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the control method of the electric toothbrush according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the control method of the electric toothbrush according to any one of claims 1 to 7.