CN117179549A - Control method of water dispenser, electronic equipment and storage medium - Google Patents

Control method of water dispenser, electronic equipment and storage medium Download PDF

Info

Publication number
CN117179549A
CN117179549A CN202311313850.2A CN202311313850A CN117179549A CN 117179549 A CN117179549 A CN 117179549A CN 202311313850 A CN202311313850 A CN 202311313850A CN 117179549 A CN117179549 A CN 117179549A
Authority
CN
China
Prior art keywords
speed
motor
rotating speed
water dispenser
determining
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
CN202311313850.2A
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.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information 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 Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN202311313850.2A priority Critical patent/CN117179549A/en
Publication of CN117179549A publication Critical patent/CN117179549A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Non-Positive-Displacement Pumps (AREA)

Abstract

The application discloses a control method of a water dispenser, the water dispenser, electronic equipment and a storage medium, wherein the method comprises the following steps: determining a first rotating speed of a bearing loaded in a water dispenser through induction of a motor of the water dispenser on the rotating resistance of the bearing, wherein the first rotating speed can represent the loading capacity of the bearing, and the motor is used for driving the bearing to rotate; comparing the first rotating speed with a preset rotating speed output by the motor, and determining a speed difference between the first rotating speed and the preset rotating speed under the condition that the first rotating speed is smaller than the preset rotating speed; and determining the compensation power of the motor for rotating the carrier based on the speed difference so as to compensate the rotating speed of the carrier. The method ensures that the bearing (such as drinking water) in the water dispenser keeps stable rotating speed and keeps stable flowing effect of the bearing.

Description

Control method of water dispenser, electronic equipment and storage medium
Technical Field
The present application relates to the field of control of devices, and in particular, to a control method of a water dispenser, an electronic device, and a storage medium.
Background
The water dispenser may be used to supply water, liquid beverages, or other liquid substances. For example, the water dispenser may provide drinking water to a person or pet. The water dispenser needs to drive the liquid substances (such as water, beverage and the like) loaded therein to flow in the working process, so that the function of flowing the liquid substances can be provided for a supply target. For example, providing running water to a pet by a water dispenser when it is supplying water will enhance the experience of use. However, the existing water dispenser with the same or similar functions generally does not have the function of providing flowing liquid substances, and a few water dispensers capable of providing the flowing liquid substances can cause the problem of unbalanced water flow rotation speed due to water level change, so that the function of uniform flowing of the liquid substances can not be realized under the condition of low production cost control, and the user experience is poor.
Disclosure of Invention
The embodiment of the application aims to provide a control method of a water dispenser, the water dispenser, electronic equipment and a storage medium.
In order to achieve the above object, the present application provides a control method of a water dispenser, comprising:
determining a first rotating speed of a bearing loaded in a water dispenser through induction of a motor of the water dispenser on the rotating resistance of the bearing, wherein the first rotating speed can represent the loading capacity of the bearing, and the motor is used for driving the bearing to rotate;
comparing the first rotating speed with a preset rotating speed output by the motor, and determining a speed difference between the first rotating speed and the preset rotating speed under the condition that the first rotating speed is smaller than the preset rotating speed;
and determining the compensation power of the motor for rotating the carrier based on the speed difference so as to compensate the rotating speed of the carrier.
Optionally, the sensing of the rotation resistance of the carrier loaded in the water dispenser by the motor of the water dispenser determines the first rotation speed of the carrier, including:
determining a rotational load of the motor based on a rotational resistance of the carrier based on the parameter information of the motor, wherein the rotational resistance is associated with the load amount;
and determining the first rotating speed by using a first calculation model based on the rotating load, wherein the first calculation model comprises the association relation between the rotating load and the first rotating speed.
Optionally, the determining, based on the speed difference, a compensation power of the motor for rotating the carrier to compensate the rotation speed of the carrier includes:
determining a numerical range corresponding to the speed difference;
determining a loading state corresponding to the loading capacity based on the numerical range;
based on the loading state, a compensation power of the motor for the rotation of the carrier is determined, wherein the compensation power is associated with a compensation rotational speed of the carrier.
Optionally, the determining, based on the speed difference, a compensation power of the motor for rotating the carrier to compensate the rotation speed of the carrier includes:
when the range of values corresponding to the speed differences is a first range of values representing that the first rotational speed is less than 30% of the preset rotational speed,
determining the compensation power as a first compensation power based on the first numerical range;
when the range of values corresponding to the speed differences is a second range of values representing that the first rotational speed is less than 20% of the preset rotational speed,
determining the compensation power as a second compensation power based on the second range of values;
when the value range corresponding to the speed difference is a third value range representing that the first rotating speed is less than 10% of the preset rotating speed,
determining the compensation power as a third compensation power based on the third numerical range; wherein the first compensation power is greater than the second compensation power, and the second compensation power is greater than the third compensation power.
Optionally, the method further comprises:
when the numerical range corresponding to the speed difference is a fourth numerical range representing that the first rotating speed is less than 50% of the preset rotating speed, and the time of the speed difference in the fourth numerical range lasts for a preset time period, controlling the motor to stop running;
and generating warning information.
Optionally, the method further comprises:
determining a numerical range corresponding to the speed difference;
when the numerical range corresponding to the speed difference is a fifth numerical range representing that the first rotating speed is 5% greater than the preset rotating speed, determining that the load capacity of the load is changed;
and adjusting the rotation speed of the output of the motor to the preset rotation speed.
Optionally, a stirring rotor is installed in a container for loading the bearing object of the water dispenser, the motor is a magnetic motor, and the magnetic motor drives the bearing object to rotate through magnetic force action on the stirring rotor.
The embodiment of the application also provides a water dispenser, which comprises:
a sensing module configured to determine a first rotational speed of a load loaded in a water dispenser by sensing a rotational resistance of the load by a motor of the water dispenser, wherein the first rotational speed is indicative of a load of the load, the motor being configured to drive the load to rotate;
a comparison module configured to compare the first rotation speed with a preset rotation speed output by the motor, and determine a speed difference between the first rotation speed and the preset rotation speed if the first rotation speed is determined to be less than the preset rotation speed;
a control module configured to determine a compensation power of the motor for rotation of the carrier based on the speed difference to compensate for a rotational speed of the carrier.
The embodiment of the application also provides electronic equipment, which comprises: a processor and a memory, the memory having stored therein an executable program, the processor processing the executable program to perform the steps of the method as described above.
Embodiments of the present application also provide a storage medium carrying one or more computer programs which, when executed by a processor, implement the steps of the method as described above.
According to the control method provided by the embodiment of the application, after the rotating speed of the bearing (such as drinking water) compensation is accurately compensated through the compensation power, the bearing can rotate according to the original rotating speed, so that the stable flowing effect of the bearing is maintained, and the user experience is improved. Meanwhile, as no other extra equipment is added at the same time of keeping the constant flow of the bearing (such as drinking water) in the water dispenser, such as no extra sensor is added to sense the water quantity, the production cost of the water dispenser is kept at a lower level.
Drawings
FIG. 1 is a flow chart of a control method of a water dispenser according to an embodiment of the application;
FIG. 2 is a flow chart of one embodiment of step S100 of FIG. 1 according to an embodiment of the present application;
FIG. 3 is a flow chart of one embodiment of step S300 of FIG. 1 according to an embodiment of the present application;
FIG. 4 is a flowchart of a control method of a water dispenser according to an embodiment of the present application;
FIG. 5 is a block diagram of a water dispenser according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Various aspects and features of the present application are described herein with reference to the accompanying drawings.
It should be understood that various modifications may be made to the embodiments of the application herein. Therefore, the above description should not be taken as limiting, but merely as exemplification of the embodiments. Other modifications within the scope and spirit of the application will occur to persons of ordinary skill in the art.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and, together with a general description of the application given above, and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the application will become apparent from the following description of a preferred form of embodiment, given as a non-limiting example, with reference to the accompanying drawings.
It is also to be understood that, although the application has been described with reference to some specific examples, those skilled in the art can certainly realize many other equivalent forms of the application.
The above and other aspects, features and advantages of the present application will become more apparent in light of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application will be described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application in unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not intended to be limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the word "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
The control method of the water dispenser can be applied to the water dispenser, and the water dispenser can provide water, beverage and other liquid substances for a user. Such as to provide drinking water to the pet. In this embodiment, the carrier loaded in the water dispenser is a liquid substance such as water and beverage provided for the user. In one embodiment, the container of the water dispenser is loaded with a carrier, and the container is provided with a stirring rotor, which can be a metal object. The motor is installed to the outside lower part of container, and this motor is the magnetic motor, and the magnetic motor is worked under MCU's control, and this magnetic motor makes stirring rotor can drive the loading object through the magnetic force effect to stirring rotor and rotates, forms the flow effect.
The following describes the method in detail with reference to the accompanying drawings, fig. 1 is a flowchart of a control method of a water dispenser according to an embodiment of the present application, as shown in fig. 1 and with reference to fig. 4, the method includes the following steps:
s100, determining a first rotating speed of a bearing object through induction of a motor of the water dispenser to the rotating resistance of the bearing object loaded in the water dispenser, wherein the first rotating speed can represent the loading capacity of the bearing object, and the motor is used for driving the bearing object to rotate.
Illustratively, the carrier loaded in the water dispenser can be a liquid substance carrier such as water, beverage and the like, and the carrier directly and indirectly acts on the liquid substance carrier through a motor to realize rotation.
In one embodiment, the carrier is loaded in a container of the water dispenser, a stirring rotor, which may be a metal object, is installed in the container, and a motor, which is a magnetic motor that works under the control of the MCU, is installed at the lower part of the outer side of the container, and the magnetic motor enables the stirring rotor to drive the carrier to rotate through the magnetic force acting on the stirring rotor. In one embodiment, the motor outputs a predetermined power to drive the carrier to rotate at a predetermined rotational speed.
Because of the magnetic induction phenomenon, the bearing object forms rotation resistance to the motor in the rotation process, and the MCU of the water dispenser can determine the rotation resistance sensed by the motor through the operation parameters of the motor. The different corresponding rotational resistances of the load amounts of the carriers are different. For example, a higher water level in the container will sense a greater rotational resistance and a lower water level will sense a lesser rotational resistance. The motor of the water dispenser sends the sensed rotation resistance to the MCU of the water dispenser, and the MCU determines the first rotation speed of the bearing object based on the logic relation between the rotation resistance and the rotation speed, wherein the first rotation speed is the actual rotation speed of the current bearing object.
S200, comparing the first rotating speed with a preset rotating speed output by the motor, and determining a speed difference between the first rotating speed and the preset rotating speed under the condition that the first rotating speed is smaller than the preset rotating speed.
The preset rotational speed is, for example, a rotational speed at which the motor drives the carrier by outputting the original preset power. The actual first rotation speed is different from the preset rotation speed due to the change of the loading capacity or the influence of other factors in the rotation process of the bearing object. For example, an increase in the amount of water in the water dispenser slows down the first rotational speed relative to the preset rotational speed.
In this embodiment, the MCU determines, through the motor, the sensed first rotation speed, and compares the first rotation speed with the stored preset rotation speed output by the motor, and in the case that it is determined that the first rotation speed is less than the preset rotation speed, it may be determined that the original output power cannot enable the rotation speed of the carrier to reach the preset rotation speed. The speed difference between the first rotational speed and the preset rotational speed may be calculated.
And S300, determining the compensation power of the motor for rotating the bearing object based on the speed difference so as to compensate the rotating speed of the bearing object.
Illustratively, a higher speed differential indicates a greater increase in the load carrying capacity of the load, such as a greater increase in water. Requiring an increased power compensation of the rotation of the water by the motor. Conversely, a lower speed differential indicates a smaller increase in load of the load, requiring less power compensation by the motor for whose rotation.
In this embodiment, the MCU determines the compensation power of the motor for rotating the carrier based on the speed difference and the correlation between the rotational speed of the carrier and the motor power. Alternatively, the MCU determines the compensation power based on the speed difference, as well as empirical data. Wherein the empirical data comprises data relating to a logical relationship between the rotational speed of the carrier and the motor power.
According to the control method provided by the embodiment of the application, after the rotating speed compensated by the bearing object is accurately compensated by the compensation power, the bearing object can rotate according to the original rotating speed, and the stable flowing effect of the bearing object is maintained. For example, the water in the water dispenser keeps constant flow, so that the water dispenser has stable performance, and the user experience is improved. Meanwhile, as no other extra equipment is added while the constant flow of water in the water dispenser is maintained, for example, no extra sensor is added to sense the water quantity, the production cost of the water dispenser is kept at a lower level.
In one embodiment of the present application, the sensing of the rotational resistance of the carrier loaded in the water dispenser by the motor of the water dispenser determines the first rotational speed of the carrier, as shown in fig. 2, comprising the steps of:
s110, determining a rotation load of the motor generated based on rotation resistance of the carrier based on parameter information of the motor, wherein the rotation resistance is related to the loading amount;
illustratively, the parameter information of the motor includes an output power of the motor, a motor rotation speed corresponding to the output power, a rotational load, and the like. The bearing object is subjected to rotation resistance in the rotation process, so that the motor generates rotation load. The MCU can calculate the rotation load of the motor through the obtained output power of the motor, the motor rotating speed corresponding to the output power, the rotation load and other parameter information.
In one implementation, the higher the load of the load, the greater the rotational resistance of the load, which in turn causes the higher the rotational load of the motor; the lower the load of the load is, the lower the rotation resistance of the load is, and the lower the rotation load of the motor is.
And S120, determining the first rotating speed by using a first calculation model based on the rotating load, wherein the first calculation model comprises the association relation between the rotating load and the first rotating speed.
Illustratively, the first computational model is a pre-built model that includes a logical relationship between rotational load and first rotational speed.
The first calculation model may calculate the first rotational speed based on the rotational load. For example, when only the amount of water in the water dispenser is changed, the calculation formula of the rotational resistance of water may be regarded as f=k×h, where F is the rotational resistance of water, k is a constant, and represents the relative speed, density, etc. of the stirring rotor and water, and h is the water level. The rotational load is expressed based on the rotational resistance.
The relation formula of the motor input power P and the rotation resistance F of water is as follows: p=f×v, where v is the speed of the stirring rotor in water.
The method is characterized by comprising the following two steps: p=k×h×v. Therefore, when the output power of the motor is unchanged, the water resistance is increased by the high water quantity (level), so that the rotation speed of the stirring rotor is reduced, and the rotation load formed on the motor is increased.
And the relation between the first rotation speed and the power of the motor is as follows: ω=p/Tm, where Tm is the torque output by the motor, it can be seen that when the output power P is fixed, if the rotational load increases, the motor output torque increases and the rotational speed decreases. In this embodiment, the first calculation model may include the above-mentioned logical relationships between the calculation parameters related to the rotational speed of the motor, so as to calculate the first rotational speed.
In one embodiment of the present application, the determining, based on the speed difference, a compensation power of the motor for rotating the carrier to compensate the rotation speed of the carrier, as shown in fig. 3, includes:
s310, determining a numerical range corresponding to the speed difference;
s320, determining a loading state corresponding to the loading capacity based on the numerical range;
s330, based on the loading state, determining the compensation power of the motor for rotating the carrier, wherein the compensation power is related to the compensation rotating speed of the carrier.
The speed difference between the first rotating speed and the preset rotating speed of the current bearing object is shown as different from the preset rotating speed, and the speed difference is shown as the difference degree between the first rotating speed and the preset rotating speed. In this embodiment, a plurality of different numerical ranges are preset, and the degree of the speed difference represented by each numerical range is different. A larger speed difference indicates a larger load and a smaller speed difference indicates a smaller load.
In one embodiment, a plurality of loading states, such as a high loading state, a medium loading state, and a low loading state, may be preset, wherein each loading state corresponds to a range of values. After the numerical range corresponding to the speed difference is determined, the loading state may be determined based on a preset relationship between the numerical range and the loading state. And thus the compensation power of the motor for the rotation of the load. The output of the compensation power can realize the compensation of the rotating speed of the bearing object.
As a preferred embodiment, the determining, based on the speed difference, a compensation power of the motor for rotating the carrier to compensate for the rotation speed of the carrier includes:
when the range of values corresponding to the speed differences is a first range of values representing that the first rotational speed is less than 30% of the preset rotational speed,
determining the compensation power as a first compensation power based on the first numerical range;
when the range of values corresponding to the speed differences is a second range of values representing that the first rotational speed is less than 20% of the preset rotational speed,
determining the compensation power as a second compensation power based on the second range of values;
when the value range corresponding to the speed difference is a third value range representing that the first rotating speed is less than 10% of the preset rotating speed,
determining the compensation power as a third compensation power based on the third numerical range; wherein the first compensation power is greater than the second compensation power, and the second compensation power is greater than the third compensation power.
Specifically, referring to fig. 4, when the range of values corresponding to the speed difference is a first range of values representing that the first rotational speed is less than 30% of the preset rotational speed, that is, the first rotational speed is reduced by 30% from the preset rotational speed, it may be determined that the current load is in the high loading state. If the water in the water dispenser is in a high water level state, the compensation power is determined to be the first compensation power based on the first numerical range, and the first compensation power is relatively high, so that the water in the high water level state can be stirred to have a stable flowing state.
Similarly, when the range of values corresponding to the speed differences is a second range of values representing that the first rotational speed is less than 20% of the preset rotational speed, that is, the first rotational speed is reduced by 20% from the preset rotational speed, it is possible to determine that the current load is in the loaded state. If the water in the water dispenser is in the medium water level state, the compensation power is determined to be the second compensation power based on the second numerical range, and the second compensation power is in the medium level, so that the water in the medium water level state can be stirred to have a stable flowing state.
When the value range corresponding to the speed difference is a third value range representing that the first rotation speed is less than 10% of the preset rotation speed, namely, the first rotation speed is reduced by 10% compared with the preset rotation speed, the current load can be determined to be in a low loading state. If the water in the water dispenser is in a low water level state, the compensation power is determined to be a third compensation power based on the third numerical range, and the third compensation power is in a lower degree, so that the water in the low water level state can be stirred to have a stable flowing state.
In one embodiment of the present application, in conjunction with fig. 4, the method further comprises the steps of:
when the numerical range corresponding to the speed difference is a fourth numerical range representing that the first rotating speed is less than 50% of the preset rotating speed, and the time of the speed difference in the fourth numerical range lasts for a preset time period, controlling the motor to stop running;
and generating warning information.
For example, when the value range corresponding to the speed difference is a fourth value range indicating that the first rotation speed is less than 50% of the preset rotation speed, that is, the first rotation speed is reduced by 50% from the preset rotation speed, it indicates that the rotation speed of the current load is too slow. If this continues for a predetermined period of time, it is indicated that the water dispenser may malfunction, resulting in an excessively slow rotational speed of the carrier. Such as motor failure, excessive load and power consumption exceeding the rated power of the motor. The MCU can control the motor to stop running in the situation. And generates alert information to alert the user to the condition occurring.
In one embodiment of the present application, in conjunction with fig. 4, the method further comprises the steps of:
determining a numerical range corresponding to the speed difference;
when the numerical range corresponding to the speed difference is a fifth numerical range representing that the first rotating speed is 5% greater than the preset rotating speed, determining that the load capacity of the load is changed;
and adjusting the rotation speed of the output of the motor to the preset rotation speed.
For example, when the range of values corresponding to the speed differences is a fifth range of values representing that the first rotational speed is greater than 5% of the preset rotational speed, i.e. the first rotational speed is higher than the preset rotational speed by 5%, it indicates that the rotational speed of the current load is too fast. For example, a rapid and substantial reduction in the load capacity of the load results in an excessive rotational speed of the load. In order to adapt to the load of the load after the current change, the rotation speed of the output of the motor is adjusted to a preset rotation speed.
The embodiment of the application also provides a water dispenser, as shown in fig. 5, comprising:
and the sensing module is configured to determine a first rotating speed of the bearing through sensing of the rotating resistance of a motor of the water dispenser to the bearing loaded in the water dispenser, wherein the first rotating speed can represent the loading capacity of the bearing, and the motor is used for driving the bearing to rotate.
Illustratively, the carrier loaded in the water dispenser can be a liquid substance carrier such as water, beverage and the like, and the carrier directly and indirectly acts on the liquid substance carrier through a motor to realize rotation.
In one embodiment, the carrier is loaded in a container of the water dispenser, a stirring rotor, which may be a metal object, is installed in the container, and a motor, which is a magnetic motor that works under the control of the MCU, is installed at the lower part of the outer side of the container, and the magnetic motor enables the stirring rotor to drive the carrier to rotate through the magnetic force acting on the stirring rotor. In one embodiment, the motor outputs a predetermined power to drive the carrier to rotate at a predetermined rotational speed.
Because of the magnetic induction phenomenon, the bearing object forms rotation resistance to the motor in the rotation process, and the induction module can acquire the operation parameters of the motor through the MCU of the water dispenser so as to determine the rotation resistance sensed by the motor. The different corresponding rotational resistances of the load amounts of the carriers are different. For example, a higher water level in the container will sense a greater rotational resistance and a lower water level will sense a lesser rotational resistance. The sensing module obtains the rotation resistance sensed by the motor through the MCU of the water dispenser, and determines the first rotation speed of the bearing object by utilizing the MCU and based on the logic relationship between the rotation resistance and the rotation speed, wherein the first rotation speed is the actual rotation speed of the current bearing object.
And the comparison module is configured to compare the first rotating speed with a preset rotating speed output by the motor, and determine a speed difference between the first rotating speed and the preset rotating speed under the condition that the first rotating speed is smaller than the preset rotating speed.
The preset rotational speed is, for example, a rotational speed at which the motor drives the carrier by outputting the original preset power. The actual first rotation speed is different from the preset rotation speed due to the change of the loading capacity or the influence of other factors in the rotation process of the bearing object. For example, an increase in the amount of water in the water dispenser slows down the first rotational speed relative to the preset rotational speed.
In this embodiment, the comparison module determines the sensed first rotation speed by using the motor, and compares the first rotation speed with the stored preset rotation speed output by the motor by using the MCU, and under the condition that the first rotation speed is determined to be smaller than the preset rotation speed, it can be determined that the original output power cannot enable the rotation speed of the carrier to reach the preset rotation speed. The speed difference between the first rotational speed and the preset rotational speed may be calculated.
A control module configured to determine a compensation power of the motor for rotation of the carrier based on the speed difference to compensate for a rotational speed of the carrier.
Illustratively, a higher speed differential indicates a greater increase in the load carrying capacity of the load, such as a greater increase in water. Requiring an increased power compensation of the rotation of the water by the motor. Conversely, a lower speed differential indicates a smaller increase in load of the load, requiring less power compensation by the motor for whose rotation.
In this embodiment, the control module calculates through the MCU, and may determine the compensation power of the motor for the rotation of the carrier based on the speed difference and the association relationship between the rotation speed of the carrier and the power of the motor. Alternatively, the compensation power is determined based on the speed difference, and empirical data. Wherein the empirical data comprises data relating to a logical relationship between the rotational speed of the carrier and the motor power.
After the control module accurately compensates the rotating speed compensated by the bearing object through the compensation power, the bearing object can rotate according to the original rotating speed, and the stable flowing effect of the bearing object is maintained. For example, the water in the water dispenser keeps constant flow, so that the water dispenser has stable performance, and the user experience is improved. Meanwhile, as no other extra equipment is added while the constant flow of water in the water dispenser is maintained, for example, no extra sensor is added to sense the water quantity, the production cost of the water dispenser is kept at a lower level.
In one embodiment of the application, the sensing module is further configured to:
determining a rotational load of the motor based on a rotational resistance of the carrier based on the parameter information of the motor, wherein the rotational resistance is associated with the load amount;
and determining the first rotating speed by using a first calculation model based on the rotating load, wherein the first calculation model comprises the association relation between the rotating load and the first rotating speed.
In one embodiment of the application, the control module is further configured to:
determining a numerical range corresponding to the speed difference;
determining a loading state corresponding to the loading capacity based on the numerical range;
based on the loading state, a compensation power of the motor for the rotation of the carrier is determined, wherein the compensation power is associated with a compensation rotational speed of the carrier.
In one embodiment of the application, the control module is further configured to:
when the range of values corresponding to the speed differences is a first range of values representing that the first rotational speed is less than 30% of the preset rotational speed,
determining the compensation power as a first compensation power based on the first numerical range;
when the range of values corresponding to the speed differences is a second range of values representing that the first rotational speed is less than 20% of the preset rotational speed,
determining the compensation power as a second compensation power based on the second range of values;
when the value range corresponding to the speed difference is a third value range representing that the first rotating speed is less than 10% of the preset rotating speed,
determining the compensation power as a third compensation power based on the third numerical range; wherein the first compensation power is greater than the second compensation power, and the second compensation power is greater than the third compensation power.
In one embodiment of the application, the control module is further configured to:
when the numerical range corresponding to the speed difference is a fourth numerical range representing that the first rotating speed is less than 50% of the preset rotating speed, and the time of the speed difference in the fourth numerical range lasts for a preset time period, controlling the motor to stop running;
and generating warning information.
In one embodiment of the application, the control module is further configured to:
determining a numerical range corresponding to the speed difference;
when the numerical range corresponding to the speed difference is a fifth numerical range representing that the first rotating speed is 5% greater than the preset rotating speed, determining that the load capacity of the load is changed;
and adjusting the rotation speed of the output of the motor to the preset rotation speed.
In one embodiment of the application, a stirring rotor is arranged in a container of the water dispenser for loading the carrier, the motor is a magnetic motor, and the magnetic motor drives the carrier to rotate through magnetic force action on the stirring rotor.
The embodiment of the application also provides an electronic device, as shown in fig. 6, including: a memory in which an executable program is stored, and a processor that executes the executable program to implement the steps of the method as described above.
The processor may be a general purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a programmable logic device (programmable logic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL) or any combination thereof. The general purpose processor may be a microprocessor or any conventional processor or the like.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Embodiments of the present application also provide a storage medium carrying one or more computer programs which, when executed by a processor, implement the steps of the method as described above.
The storage medium in the present embodiment may be contained in an electronic device/system; or may exist alone without being assembled into an electronic device/system. The storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present application.
According to embodiments of the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application, the scope of which is defined by the claims. Various modifications and equivalent arrangements of this application will occur to those skilled in the art, and are intended to be within the spirit and scope of the application.

Claims (10)

1. A control method of a water dispenser, comprising:
determining a first rotating speed of a bearing loaded in a water dispenser through induction of a motor of the water dispenser on the rotating resistance of the bearing, wherein the first rotating speed can represent the loading capacity of the bearing, and the motor is used for driving the bearing to rotate;
comparing the first rotating speed with a preset rotating speed output by the motor, and determining a speed difference between the first rotating speed and the preset rotating speed under the condition that the first rotating speed is smaller than the preset rotating speed;
and determining the compensation power of the motor for rotating the carrier based on the speed difference so as to compensate the rotating speed of the carrier.
2. The method of claim 1, wherein the determining the first rotational speed of the carrier by sensing rotational resistance of a carrier loaded in the water dispenser by a motor of the water dispenser comprises:
determining a rotational load of the motor based on a rotational resistance of the carrier based on the parameter information of the motor, wherein the rotational resistance is associated with the load amount;
and determining the first rotating speed by using a first calculation model based on the rotating load, wherein the first calculation model comprises the association relation between the rotating load and the first rotating speed.
3. The method according to claim 1, wherein the determining the compensation power of the motor for rotating the carrier based on the speed difference to compensate the rotation speed of the carrier includes:
determining a numerical range corresponding to the speed difference;
determining a loading state corresponding to the loading capacity based on the numerical range;
based on the loading state, a compensation power of the motor for the rotation of the carrier is determined, wherein the compensation power is associated with a compensation rotational speed of the carrier.
4. A control method of a water dispenser according to claim 3, wherein the determining the compensation power of the motor for rotating the carrier based on the speed difference to compensate the rotation speed of the carrier includes:
when the range of values corresponding to the speed differences is a first range of values representing that the first rotational speed is less than 30% of the preset rotational speed,
determining the compensation power as a first compensation power based on the first numerical range;
when the range of values corresponding to the speed differences is a second range of values representing that the first rotational speed is less than 20% of the preset rotational speed,
determining the compensation power as a second compensation power based on the second range of values;
when the value range corresponding to the speed difference is a third value range representing that the first rotating speed is less than 10% of the preset rotating speed,
determining the compensation power as a third compensation power based on the third numerical range; wherein the first compensation power is greater than the second compensation power, and the second compensation power is greater than the third compensation power.
5. A method of controlling a water dispenser according to claim 3, further comprising:
when the numerical range corresponding to the speed difference is a fourth numerical range representing that the first rotating speed is less than 50% of the preset rotating speed, and the time of the speed difference in the fourth numerical range lasts for a preset time period, controlling the motor to stop running;
and generating warning information.
6. The method for controlling a water dispenser according to claim 1, further comprising:
determining a numerical range corresponding to the speed difference;
when the numerical range corresponding to the speed difference is a fifth numerical range representing that the first rotating speed is 5% greater than the preset rotating speed, determining that the load capacity of the load is changed;
and adjusting the rotation speed of the output of the motor to the preset rotation speed.
7. The method according to claim 1, wherein a stirring rotor is installed in a container for loading the carrier, the motor is a magnetic motor, and the magnetic motor drives the carrier to rotate by magnetic force acting on the stirring rotor.
8. A water dispenser, comprising:
a sensing module configured to determine a first rotational speed of a load loaded in a water dispenser by sensing a rotational resistance of the load by a motor of the water dispenser, wherein the first rotational speed is indicative of a load of the load, the motor being configured to drive the load to rotate;
a comparison module configured to compare the first rotation speed with a preset rotation speed output by the motor, and determine a speed difference between the first rotation speed and the preset rotation speed if the first rotation speed is determined to be less than the preset rotation speed;
a control module configured to determine a compensation power of the motor for rotation of the carrier based on the speed difference to compensate for a rotational speed of the carrier.
9. An electronic device, comprising: a processor and a memory, the memory having stored therein an executable program, the processor processing the executable program to perform the steps of the method of any of claims 1 to 7.
10. A storage medium carrying one or more computer programs which, when executed by a processor, implement the steps of the method of any of claims 1 to 7.
CN202311313850.2A 2023-10-11 2023-10-11 Control method of water dispenser, electronic equipment and storage medium Pending CN117179549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311313850.2A CN117179549A (en) 2023-10-11 2023-10-11 Control method of water dispenser, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311313850.2A CN117179549A (en) 2023-10-11 2023-10-11 Control method of water dispenser, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117179549A true CN117179549A (en) 2023-12-08

Family

ID=89001765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311313850.2A Pending CN117179549A (en) 2023-10-11 2023-10-11 Control method of water dispenser, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117179549A (en)

Similar Documents

Publication Publication Date Title
CN101557976B (en) Electric power assisted steering apparatus
CN103318177B (en) Forbid the reponse system of condition for engine automatic stop
JP3189701B2 (en) Abnormality determination device for vehicle temperature sensor
CN112519754B (en) Vehicle hill starting control method and device
US10144485B2 (en) Adaptive motor torque adjustment for electric two-wheeled vehicles
CN111854888B (en) Water level detection method and device, storage medium and kettle
CN112963237B (en) Method, device and equipment for detecting running state of electric control silicone oil clutch
JPH06124147A (en) Information processor
CN111660835A (en) Control method, equipment, storage medium and device for range extender of electric vehicle
CN104883158A (en) Filtering method and filtering device for acceleration pedal signals of electric automobile
CN117179549A (en) Control method of water dispenser, electronic equipment and storage medium
CN111190102A (en) Method and device for detecting motor flux linkage
CN112161663B (en) Vehicle residual oil amount determining method, device, equipment and vehicle
CN110687353B (en) Insulation resistance detection method, device, system and storage medium
CN113602132A (en) Charging pile charging abnormity detection method and related equipment
CN108128301A (en) A kind of engine power adjusting method, device and electronic equipment
JP2006010501A (en) Battery status administration system
CN110875697B (en) Intelligent speed regulation method for electric tool, electric tool and storage medium
CN115506218A (en) Milling machine control method, milling machine control system and milling machine
CN114879911A (en) Data storage method and device and electronic equipment
CN114013447B (en) Method, device, equipment and storage medium for determining vehicle load
US20070012103A1 (en) Method and system for determining fuel level
CN117863885A (en) Fuel oil endurance mileage determination method and device
JP3041165B2 (en) Motor protection device
CN109677270B (en) Motor braking energy recovery method and device

Legal Events

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