Foot massage equipment control methods, foot massage equipment, electronic equipment, storage media and computer program products
By incorporating valves and a battery-powered system into the foot bath device, heat exchange is achieved to maintain the foot bath temperature even after the mains power is disconnected. This solves the problems of insufficient electrical safety and poor user experience, and improves the safety and portability of the device.
Patent Information
- Application Number
- CN202510661910.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2045-05-22
AI Technical Summary
Existing foot bath equipment has insufficient electrical safety during use. In particular, the heating wire heating method requires continuous connection to the mains power, which poses a risk of electric leakage. Furthermore, the water temperature drops rapidly after the mains power is disconnected, affecting the user experience.
By installing a valve in the foot bath device, the foot bath section and the water storage section can be selectively connected. Equipped with a battery power supply system, the foot bath section is first heated to a first preset temperature and then the valve is closed. Then the water storage section is heated to a second preset temperature higher than the first preset temperature. After the mains power is disconnected, the valve is opened by the battery power supply to exchange heat and ensure stable water temperature.
While meeting users' needs for foot bath temperature and duration, it avoids the risk of mains power leakage, improves electrical safety and user experience, and is not limited by the location of mains power outlets, thus enhancing the usability of the device.
Smart Images

Figure CN120167813B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automation technology, and in particular to a foot massage equipment control method, foot massage equipment, electronic equipment, storage medium, and computer program product. Background Technology
[0002] Currently, foot bath equipment on the market uses relatively simple methods for heating and maintaining water temperature, mostly employing heating wires. When using foot bath equipment that uses heating wires, water is filled into the equipment, connected to mains power, and the equipment starts heating to the desired temperature for soaking the feet. During the foot bath, the heating wire maintains the temperature. The equipment must be connected to mains power throughout the entire process. The heating wire in the bathtub typically generates heat through high-voltage mains electricity, requiring contact with the water. Since the human body is also in the water, it is unavoidable that they are in the same circuit as the high-voltage mains electricity. Although some foot bath equipment has leakage protection devices, there is still a certain probability of safety hazards, resulting in insufficient electrical safety when using foot bath equipment. Summary of the Invention
[0003] This application aims to address at least one of the technical problems existing in the related art. To this end, this application proposes a control method for foot massage equipment that can balance the user experience and electrical safety of the foot massage equipment.
[0004] This application also proposes a foot bath device, an electronic device, a storage medium, and a computer program product.
[0005] The foot bath device control method according to the first aspect of this application includes:
[0006] In response to the start command, with the valve between the foot bath section and the water storage section of the foot bath device in the open state, the heating element in the water storage section is controlled to operate, and the mains power supply is controlled to supply power to the heating element. The valve is located on the first pipe between the foot bath section and the water storage section.
[0007] When the water temperature in the foot bath reaches the first preset temperature, the valve is controlled to close.
[0008] When the water temperature in the water storage section reaches the second preset temperature, the power supply is switched from the mains power to the battery of the foot bath device to power the foot bath device, and the heating element is controlled to stop operating; wherein, the second preset temperature is greater than the first preset temperature;
[0009] When the valve is closed, and the water temperature in the foot bath is lower than the first preset temperature preset temperature difference, the valve is controlled to open so that water from the water storage unit enters the foot bath.
[0010] According to the foot bath device control method of this application embodiment, by setting a foot bath section and a water storage section selectively connected by a valve in the foot bath device, and by installing a battery in the foot bath device, the water in the foot bath section can be heated to a first preset temperature by mains power, and then the valve is controlled to close, while the water in the water storage section is heated to a second preset temperature higher than the first preset temperature and then heating stops. Furthermore, after the mains power is disconnected, the battery can be used to control the valve to open when the water temperature in the foot bath section is determined to be lower than the first preset temperature by a preset temperature difference while the valve is closed, allowing heat exchange between the water in the water storage section and the water in the foot bath section. Therefore, while meeting the user's foot bath temperature and duration, it avoids user safety issues caused by mains power leakage, thus balancing the user experience and electrical safety of the foot bath device.
[0011] According to one embodiment of this application, when the water temperature in the foot bath is lower than the first preset temperature preset temperature difference, controlling the valve to open so that water from the water storage unit enters the foot bath includes:
[0012] The valve opening duration is determined based on the real-time water temperature of the foot bath area, the first preset temperature, and the second preset temperature.
[0013] The valve is controlled to operate based on the opening duration so that water from the water storage unit enters the foot bath area; or, the valve is controlled to operate and the water pump is controlled to operate based on the opening duration so that water from the water storage unit enters the foot bath area, wherein the water pump is installed in a second pipe, one end of the second pipe is connected to the first pipe located between the valve and the foot bath area, and the other end of the second pipe is located in the foot bath area at a position distinct from the connection point between the first pipe and the foot bath area.
[0014] According to one embodiment of this application, determining the valve opening duration based on the real-time water temperature of the foot bath area, the first preset temperature, and the second preset temperature includes:
[0015] Based on the temperature error between the real-time water temperature of the foot bath and the first preset temperature, the cumulative error value and the rate of change of error are determined respectively.
[0016] The control quantity is determined based on the temperature error, the cumulative error value, the error change rate, and the preset control quantity correction coefficient; the preset control quantity correction coefficient is determined based on the first preset temperature and the second preset temperature.
[0017] The valve opening duration is determined based on the control quantity and a preset proportional factor; the preset proportional factor is a proportional value used to convert the control quantity into the valve opening duration.
[0018] According to one embodiment of this application, the preset control quantity correction coefficient is determined based on the following method:
[0019] The first preset temperature is compared with the second preset temperature, and the result of the ratio calculation is determined as the preset control quantity correction coefficient.
[0020] According to one embodiment of this application, determining the control quantity based on the temperature error, the cumulative error value, the error change rate, and a preset control quantity correction coefficient includes:
[0021] Multiply the temperature error by a preset scaling factor to obtain the first result;
[0022] Multiply the accumulated error value by a preset integration coefficient to obtain the second result;
[0023] Multiplying the error change rate by a preset differential coefficient yields a third result;
[0024] The first result, the second result, and the third result are summed to obtain the fourth result;
[0025] The fourth result is multiplied by the preset control quantity correction coefficient to obtain the control quantity.
[0026] According to one embodiment of this application, controlling the operation of the water pump includes:
[0027] If the water temperature after heat exchange in the first pipe is determined to be lower than the warning water temperature, the water pump is controlled to operate.
[0028] A foot bath device according to a second aspect embodiment of this application includes a mains power access module, a battery, a heating element, a valve, a foot bath section, a water storage section, a temperature detection module, and a controller; the heating element is disposed in the water storage section; the temperature detection module is disposed in both the foot bath section and the water storage section; the valve is disposed between the foot bath section and the water storage section; the controller is connected to the mains power access module, the battery, the heating element, the valve, and the temperature detection module, and the controller implements any of the above-described foot bath device control methods when executed.
[0029] An electronic device according to a third aspect of this application includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the foot bath device control method as described above.
[0030] According to a fourth aspect of this application, the storage medium is a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the foot bath device control method as described above.
[0031] A computer program product according to a fifth aspect of this application includes a computer program that, when executed by a processor, implements the foot bath device control method as described above.
[0032] The above-described one or more technical solutions in the embodiments of this application have at least the following technical effects:
[0033] By incorporating a foot bath device with a selectively connected foot bath section and a water storage section via a valve, and by installing a battery within the device, the system allows for the heating of water in the foot bath section to a first preset temperature using mains power. After heating to this temperature, the valve closes, and the water in the storage section is heated to a second preset temperature, exceeding the first preset temperature, at which point heating stops. Furthermore, when the mains power is disconnected, battery power allows the valve to open when the water temperature in the foot bath section is below the first preset temperature by a predetermined temperature difference, enabling heat exchange between the water in the storage section and the water in the foot bath section. This design ensures that the user's desired foot bath temperature and duration are met while avoiding safety issues caused by mains power leakage, thus balancing user experience and electrical safety.
[0034] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0036] Figure 1 This is a flowchart illustrating the foot bath device control method provided in an embodiment of this application.
[0037] Figure 2 This is a schematic diagram of the planar structure of the foot bath device provided in the embodiment of this application.
[0038] Figure 3 This is a three-dimensional structural diagram of the foot bath device provided in the embodiments of this application.
[0039] Figure 4 This is a schematic diagram of the structure of the electronic device provided in this application. Detailed Implementation
[0040] The embodiments of this application will be described in further detail below with reference to the accompanying drawings and examples. The following examples are used to illustrate this application, but should not be used to limit the scope of this application.
[0041] In the description of the embodiments of this application, it should be noted that the terms "center," "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing the embodiments of this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the embodiments of this application. In addition, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0042] In the description of the embodiments of this application, it should be noted that, unless otherwise explicitly specified and limited, the terms "connected" and "linked" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms in the embodiments of this application based on the specific circumstances.
[0043] In the embodiments of this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "on top of," and "over" the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.
[0044] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the embodiments of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0045] Foot bath equipment, such as foot bath tubs, foot soaking buckets, and foot bath basins, is a common health care device widely used in homes and personal care settings. Traditional foot bath equipment typically consists of a single water container and a heating element installed within it. In use, the heating element heats the water in the container, and the user immerses their feet in the water to achieve a relaxing and caring effect on the feet.
[0046] Currently, foot bath equipment on the market uses relatively simple methods for heating and maintaining water temperature, mostly employing heating wires. When using foot bath equipment that uses heating wires, after filling the equipment with water, it is connected to mains power to heat the water to the desired temperature for soaking the feet. During the soaking process, the heating wire maintains the temperature, requiring continuous connection to mains power. The heating wire in the bathtub typically generates heat through high-voltage mains electricity, requiring contact with the water. Since the user is also in the water, they are inevitably in the same circuit as the high-voltage mains power. Although some foot bath equipment has leakage protection devices, there is still a certain probability of safety hazards, resulting in insufficient electrical safety when using foot bath equipment. Of course, once the water in the container reaches the preset temperature, the user can choose to disconnect the mains power to improve safety, but this will cause the water temperature to drop rapidly, leading to a poor foot bath experience.
[0047] To address the aforementioned problems, this application provides a method for controlling a foot bath device. Figure 1 This is a flowchart illustrating the foot bath equipment control method provided in this application embodiment. The foot bath equipment control method provided in this application embodiment is applied to foot bath equipment, including but not limited to foot bath basins, foot soaking tubs, foot bath basins, etc. Figure 2 This is a schematic diagram of the planar structure of the foot bath device provided in the embodiment of this application. Figure 3 This is a three-dimensional structural diagram of the foot bath device provided in the embodiments of this application. Please refer to it. Figure 2 and Figure 3 The foot bath device includes a foot bath section 2, a water storage section 1, a valve, a heating element, a mains power connection module, a battery, a temperature detection module, and a controller. The heating element is located in the water storage section; the temperature detection modules are located in both the foot bath section and the water storage section; the valve is located between the foot bath section and the water storage section; and the controller is connected to the mains power connection module, the battery, the heating element, the valve, and the temperature detection module. In this application, the valve can be a solenoid valve.
[0048] It should be noted that both the foot bath section and the water storage section can hold water. When using the foot bath device, the user places their feet inside the foot bath section, which is the part that comes into contact with the human body. The water storage section can be a closed hot water insulated chamber made of insulating material. A first pipe 3 can be installed between the foot bath section and the water storage section. A valve is installed on the first pipe. When the valve is open, the water storage section and the foot bath section are connected to each other, and the water in the water storage section can mix with the water in the foot bath section. When the valve is closed, the foot bath section and the water storage section are isolated from each other.
[0049] The heating element is located inside the water storage section and is used to heat the water within it. When the valve is open, water from the storage section can enter the foot bath area. In this case, when the heating element is running, it can heat the water in both the storage section and the foot bath area simultaneously. When the valve is closed, the water in the storage section and the foot bath area cannot communicate. In this case, when the heating element is running, it can only heat the water in the storage section.
[0050] The temperature detection module is used to collect the water temperature of the water storage section and the foot bath section. Two temperature detection modules can be used, one in the foot bath section and one in the water storage section. This allows the two modules to collect the temperatures of the foot bath section and the water storage section respectively and transmit the data to the controller.
[0051] The mains power access module is used to connect the foot bath device to mains power. When the mains power is on, it can power the heating element, valves, temperature detection module, and controller. When the mains power is off, it can power the valves, temperature detection module, and controller via battery. Alternatively, when the mains power is on, it can also power the valves, temperature detection module, and controller via battery instead of mains power. In this embodiment, the mains power access module may include an AC-DC (Alternating Current - Direct Current) module. The AC-DC module is a power module that converts alternating current to direct current. One end of the module is connected to the mains power, and the other end powers other components inside the foot bath device.
[0052] The battery can be a rechargeable battery or a disposable battery. When the battery is a rechargeable battery such as a lithium battery, the foot bath device may also include a lithium battery charge / discharge boost module, a lithium battery protection module, an AC-DC module, a lithium battery charge / discharge boost module, a lithium battery protection module, and the lithium battery connected in sequence. The lithium battery charge / discharge boost module is connected to the controller and is controlled by the controller. The lithium battery charge / discharge boost module is used to realize the charging and discharging of the lithium battery, and the lithium battery protection module is used to realize the protection of the lithium battery.
[0053] The controller is used to control the operation of the valves, heating element, mains power module, battery, and temperature detection module, and executes the aforementioned foot massage equipment control method. The controller may include a control chip, a heating element control module, and a valve drive module. The control chip is electrically connected to the heating element through the heating element control module to control the operation of the heating element. The control chip is also electrically connected to the valve through the valve drive module to control the operation of the valve. When the foot massage equipment is equipped with a lithium battery charging / discharging boost module, the control chip connects to the lithium battery charging / discharging boost module to control the battery's operation.
[0054] like Figure 1 As shown, the control method for the foot bath device includes:
[0055] Step 110: In response to the start command, with the valve between the foot bath section and the water storage section of the foot bath device in the open state, control the operation of the heating element in the water storage section and control the mains power supply to power the heating element.
[0056] In step 110, the user can send a start command to the foot bath device via voice, touch screen, or button. The controller responds to the start command, controls the heating element in the water storage section to operate, and keeps the valve in the open state. Since the water storage section is connected to the foot bath section, the water in both sections can be heated simultaneously.
[0057] It should be noted that the initial state of the valve can be set to normally open. In this case, the valve will not move when a start command is received. Alternatively, the initial state of the valve can be set to normally closed. In this case, after receiving a start command, the controller can control the valve to switch from the closed state to the open state.
[0058] In some cases, the foot bath equipment may be equipped with a second pipe 4, in which a water pump may be installed. One end of the second pipe is connected to the first pipe located between the valve and the foot bath section, and the other end of the second pipe is located in the foot bath section at a position distinct from the connection point between the first pipe and the foot bath section.
[0059] The control chip is connected to the water pump via an electrical signal through the water pump drive module to control the operation of the water pump.
[0060] Therefore, when the heating element is heating, the water pump can be controlled to transport the water in the water storage section to the foot bath section, so that the water temperature in the foot bath section rises faster and the heating time is shortened.
[0061] Step 120: When the water temperature in the foot bath reaches the first preset temperature, control the valve to close.
[0062] In step 120, during the operation of the heating element, the water temperature in the foot bath can be detected by the temperature detection module located in the foot bath area, and compared with a first preset temperature. If the comparison determines that the water temperature in the foot bath area has reached the first preset temperature, the valve can be closed.
[0063] The first preset temperature is the temperature suitable for users to soak their feet, which can be between 40℃ and 45℃, such as 40 degrees Celsius, 42 degrees Celsius, and 45 degrees Celsius.
[0064] Step 130: When the water temperature in the water storage section reaches the second preset temperature, the power supply is switched from the mains power to the battery of the foot bath device to power the foot bath device, and the heating element is stopped from operating; wherein, the second preset temperature is greater than the first preset temperature.
[0065] In step 130, the heating time required for the water temperature in the water storage section to reach the second preset temperature from the first preset temperature can be determined according to the following formula:
[0066] ΔT = Pt / ρVC;
[0067] Wherein, ΔT is the temperature difference between the first preset temperature and the second preset temperature; P is the operating power of the heating element; t is the heating time; ρ is the density of water; C is the specific heat capacity of water; and V is the volume of water in the water storage section.
[0068] It should be noted that while the control valve is closed, the heating element continues to operate. At this time, the heating element can only heat the water in the water storage section, and the water temperature in the storage section can be detected by a temperature detection module and compared with a second preset temperature. The second preset temperature can be set and adjusted according to actual needs. The second preset temperature is higher than the first preset temperature to ensure that once the water in the storage section reaches the second preset temperature, it can mix with the water in the foot bath section to meet the user's foot bath temperature and duration requirements.
[0069] If the water temperature in the storage compartment is determined to have reached the second preset temperature, the heating element can be stopped and the mains power supply disconnected. Simultaneously, a display or sound prompt can be used to notify the user to begin the foot bath.
[0070] It should be noted that traditional foot baths require constant connection to mains power during use. Since the heating wires of the high-voltage components inside the foot bath are in contact with the water and have a certain degree of conductivity with the human body, even with a plug equipped with leakage protection, a safety hazard still exists. This application, however, allows the mains power to be disconnected after the water in the storage section has been heated to a second preset temperature. After disconnection, the device can be powered by batteries, still allowing for control of the foot bath equipment. This avoids electrical safety issues while meeting the user's requirements for foot bath temperature and duration.
[0071] It should be further noted that traditional foot baths require a constant connection to mains power during use, limiting their usability as users must be near a power outlet. This application, however, allows the foot bath device to be moved to areas without a power outlet after the mains power is disconnected, thus improving its usability.
[0072] Step 140: With the valve closed, and the water temperature in the foot bath area lower than the first preset temperature preset temperature difference, control the valve to open so that water from the water storage area enters the foot bath area.
[0073] When the valve is closed, this application can detect the water temperature in the foot bath area via a temperature detection module located therein, and determine whether the water temperature is lower than a first preset temperature difference. The preset temperature difference can be 0℃, 5℃, 10℃, etc.
[0074] Therefore, if the preset temperature difference is 0℃, whenever the water temperature in the foot bath is determined to be lower than the first preset temperature, the valve can be opened to allow the water in the water storage unit to exchange heat with the water in the foot bath, thereby delivering the mixed-heat water to the foot bath and keeping the water in the foot bath warm through hot water compensation, thus meeting the user's foot bath temperature requirements.
[0075] If the preset temperature difference is not 0℃, then whenever the water temperature in the foot bath is determined to be lower than the first preset temperature difference, the valve can be opened to allow the water in the water storage unit to exchange heat with the water in the foot bath, thereby delivering the mixed-heat water to the foot bath and keeping the water in the foot bath warm through hot water compensation, thus meeting the user's foot bath temperature requirements.
[0076] It should be noted that in this application, the higher temperature water in the water storage section can be directly exchanged with the lower temperature water in the foot bath section by controlling the valve to open, thereby increasing the water temperature in the foot bath section.
[0077] If a water pump is installed in the foot bath equipment, the heated water can also be pumped to the foot bath area, thereby accelerating the heat exchange process.
[0078] According to the foot bath device control method of this application embodiment, by setting a foot bath section and a water storage section selectively connected by a valve in the foot bath device, and by installing a battery in the foot bath device, the water in the foot bath section can be heated to a first preset temperature by mains power, and then the valve is controlled to close, while the water in the water storage section is heated to a second preset temperature higher than the first preset temperature and then heating stops. Furthermore, after the mains power is disconnected, the battery can be used to control the valve to open when the water temperature in the foot bath section is determined to be lower than the first preset temperature by a preset temperature difference while the valve is closed, allowing heat exchange between the water in the water storage section and the water in the foot bath section. Therefore, while meeting the user's foot bath temperature and duration, it avoids user safety issues caused by mains power leakage, thus balancing the user experience and electrical safety of the foot bath device.
[0079] Furthermore, in related technologies, the heating element is directly installed inside the foot bath area. To maintain the water temperature during the foot bath, the heating element works continuously. To avoid scalding the user, the power of the heating element in these technologies is often no more than 1000 watts. As a result, after the user fills the foot bath with room temperature water, they need to wait a relatively long time for the water temperature to rise to a suitable temperature for foot bathing. However, the foot bath device provided in this application has a heating element installed inside the water storage area. Since the heating element does not work during the user's foot bath, its power can be set to be higher. This allows the water temperature to quickly reach the first preset temperature after the user fills the foot bath with room temperature water, reducing the user's waiting time. This not only keeps the water temperature warm for a longer period of time but also significantly improves the user experience by reducing the waiting time when starting the foot bath.
[0080] Based on the above embodiments, step 140 includes:
[0081] The valve opening duration is determined based on the real-time water temperature of the foot bath area, the first preset temperature, and the second preset temperature.
[0082] The valve is operated based on the opening duration to allow water from the water storage section to enter the foot bath section; or, the valve is operated based on the opening duration and the water pump is also operated to allow water from the water storage section to enter the foot bath section. The water pump is installed in a second pipe, one end of which is connected to a first pipe located between the valve and the foot bath section, and the other end of which is located in the foot bath section at a position distinct from the connection point between the first pipe and the foot bath section.
[0083] Specifically, this application can first determine the cumulative error value and the error change rate based on the temperature error between the real-time water temperature of the foot bath and the first preset temperature.
[0084] Furthermore, the control quantity can be determined based on the temperature error, the cumulative error value, the error change rate, and the preset control quantity correction coefficient.
[0085] The preset control quantity correction coefficient is determined based on the first preset temperature and the second preset temperature.
[0086] Furthermore, the valve opening duration can be determined based on the ratio of the control quantity to the value used to convert the control quantity into valve opening duration.
[0087] Furthermore, the valve can be controlled to open according to the opening time, so that the water with a higher temperature in the water storage section can directly exchange heat with the water with a lower temperature in the foot bath section, thereby increasing the water temperature in the foot bath section.
[0088] In this application, the valve can be an on / off valve with a fixed flow rate. By controlling the opening time of the on / off valve, the amount of water entering the foot bath from the water storage section can be controlled.
[0089] In this application, the valve can also be a flow regulating valve. In this case, both the flow rate and the valve opening / closing duration can be controlled simultaneously, rather than just the valve opening duration. The value for controlling the flow rate can be determined by the aforementioned control quantity and the proportional value used to convert the control quantity into the control flow rate.
[0090] In some cases, the foot bath equipment also includes a mixing chamber located in the first pipe, which can simultaneously receive water from the water storage section and the foot bath section. Therefore, when a water pump is installed in the foot bath equipment, this application can also control the operation of the water pump while controlling the operation of the valve based on the opening duration, and pump the heated water in the mixing chamber to the foot bath section, thereby accelerating the heat exchange process.
[0091] This application can accurately determine the valve opening time based on the real-time water temperature of the foot bath area, the first preset temperature, and the second preset temperature. By controlling the valve to open according to the opening time, the water in the water storage section at the second preset temperature can interact with the water in the foot bath area at a lower temperature, and the temperature of the mixed water is controlled to be maintained as close as possible to the first preset temperature, thereby achieving accurate temperature control, improving the user's foot bath experience, and thus improving the usability of the foot bath equipment.
[0092] Based on the above embodiments, determining the valve opening duration based on the water temperature of the foot bath area, the first preset temperature, and the second preset temperature includes:
[0093] Based on the temperature error between the real-time water temperature of the foot bath and the first preset temperature, the cumulative error value and the rate of change of error are determined respectively.
[0094] The control quantity is determined based on temperature error, cumulative error value, error change rate, and preset control quantity correction coefficient; the preset control quantity correction coefficient is determined based on the first preset temperature and the second preset temperature.
[0095] The valve opening duration is determined based on the control quantity and the preset proportional factor; the preset proportional factor is the proportional value used to convert the control quantity into the valve opening duration.
[0096] Specifically, when determining the valve opening time based on the water temperature of the foot bath, the first preset temperature, and the second preset temperature, this application can first calculate the temperature difference between the water temperature of the foot bath and the first preset temperature as the temperature error.
[0097] Furthermore, the cumulative temperature error from the initial valve closure during the current foot bath process to the current valve opening can be obtained, and this cumulative temperature error can be added to the aforementioned temperature error to obtain the cumulative error value. If the current valve opening is the first opening after the initial valve closure during the current foot bath process, then the cumulative temperature error value is 0.
[0098] Additionally, obtain the temperature error of the valve since it was first closed during the current foot bath process, and use the difference between the current temperature error and the previous temperature error as the error change rate.
[0099] Furthermore, a preset control quantity correction coefficient can be determined based on the first preset temperature and the second preset temperature as the preset control quantity correction coefficient.
[0100] Furthermore, the control quantity can be determined based on the temperature error, the cumulative error value, the error change rate, and the preset control quantity correction coefficient.
[0101] Furthermore, a proportional value used to convert the control quantity into the valve opening duration can be obtained as a preset proportional factor, and then the control quantity is multiplied by the preset proportional factor, and the resulting product is determined as the valve opening duration.
[0102] This application determines the cumulative error value and the rate of change of error based on the temperature error between the water temperature in the foot bath and the first preset temperature, and determines the preset control quantity correction coefficient based on the first preset temperature and the second preset temperature. Therefore, based on the temperature error, cumulative error value, rate of change of error, and preset control quantity correction coefficient, the control quantity can be accurately determined. This allows for the accurate determination of the valve opening duration based on the control quantity and a preset proportional factor. By controlling the valve to open according to the opening duration, the water in the storage section at the second preset temperature can interact with the lower-temperature water in the foot bath, and the temperature of the mixed water is controlled to be maintained as close as possible to the first preset temperature, achieving accurate temperature control, improving the user's foot bath experience, and thus enhancing the usability of the foot bath equipment.
[0103] Based on the above embodiments, the preset control quantity correction coefficient is determined in the following manner:
[0104] The first preset temperature is compared with the second preset temperature, and the result of the ratio calculation is determined as the preset control quantity correction coefficient.
[0105] Specifically, the first preset temperature is compared with the second preset temperature, and the result of the ratio calculation is determined as the preset control quantity correction coefficient.
[0106] This application accurately determines the preset control quantity correction coefficient based on the first preset temperature and the second preset temperature. Furthermore, based on the temperature error, cumulative error value, error change rate, and the preset control quantity correction coefficient, the control quantity can be accurately determined. This allows for the accurate determination of the valve opening duration based on the control quantity and a preset proportional factor. By controlling the valve to open according to the opening duration, the water in the storage section at the second preset temperature can interact with the lower-temperature water in the foot bath section, and the temperature of the mixed water is controlled to be maintained as close as possible to the first preset temperature. This achieves accurate temperature control, improves the user's foot bath experience, and ultimately enhances the usability of the foot bath equipment.
[0107] Based on the above embodiments, the determination of the control quantity based on temperature error, cumulative error value, error change rate, and preset control quantity correction coefficient includes:
[0108] Multiply the temperature error by a preset scaling factor to obtain the first result;
[0109] Multiply the accumulated error value by the preset integration coefficient to obtain the second result;
[0110] Multiply the rate of change of error by the preset differential coefficient to obtain the third result;
[0111] The first, second, and third results are summed to obtain the fourth result;
[0112] The fourth result is multiplied by the preset control quantity correction coefficient to obtain the control quantity.
[0113] Specifically, this application can obtain the proportional coefficient, integral coefficient, and differential coefficient set according to actual needs, and obtain the preset proportional coefficient, preset integral coefficient, and preset differential coefficient.
[0114] Furthermore, the temperature error can be multiplied by a preset proportional coefficient, and the result of the multiplication can be used as the first result.
[0115] Multiply the accumulated error value by the preset integral coefficient, and use the result of the multiplication as the second result.
[0116] Multiply the rate of change of error by the preset differential coefficient, and use the result of the multiplication as the third result.
[0117] The first, second, and third results are summed, and the sum is taken as the fourth result.
[0118] Multiply the fourth result by the preset control quantity correction coefficient, and use the result of the multiplication as the control quantity.
[0119] This application can accurately determine the control quantity based on temperature error, cumulative error value, error change rate, and preset control quantity correction coefficient. This allows the valve opening duration to be accurately determined based on the control quantity and preset proportional factor. By controlling the valve to open according to the opening duration, the water in the water storage section at the second preset temperature can interact with the water in the foot bath section at the lower temperature, and the temperature of the mixed water is controlled to be maintained as close as possible to the first preset temperature, thus achieving accurate temperature control, improving the user's foot bath experience, and thereby improving the usability of the foot bath equipment.
[0120] Based on the above embodiments, controlling the operation of the water pump specifically includes:
[0121] Once the water temperature after heat exchange in the first pipe is determined to be lower than the warning water temperature, the water pump is controlled to operate.
[0122] Specifically, this application can also install a temperature detection module in or near the mixing tank of the foot bath equipment. When the valve is open, the temperature detection module can detect the water temperature in the pipe (specifically, the mixing tank or the vicinity of the mixing tank) and obtain a pre-set warning water temperature, which is set to avoid scalding the user, for example, 50 degrees Celsius.
[0123] Furthermore, if it is determined that the water temperature after heat exchange is lower than the warning water temperature, the water pump can be controlled to pressurize the heat-exchanged water into the foot bath area. Specifically, the water pump generates negative pressure, drawing water from the mixing chamber into the foot bath area.
[0124] If the water temperature after heat exchange is determined to be equal to or higher than the warning water temperature, it indicates that the water temperature after heat exchange is too high. The degree of valve opening can be controlled to adjust the degree of heat exchange, reduce the water temperature after heat exchange, and then the water pump can be started to press the water after heat exchange into the foot bath area.
[0125] If it is determined that the water temperature after heat exchange is equal to or higher than the warning water temperature, the user can be notified of the hot water by display and / or voice (for example, prompting that hot water will be added to the foot bath area, and the feet can be raised to avoid scalding). Then, the water pump can be started to pressurize the water after heat exchange into the foot bath area.
[0126] This application can protect users from scalding by heated foot bath water, making it safer to use and improving the safety of foot bath equipment.
[0127] Figure 4 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 4As shown, the electronic device can specifically be a foot bath basin. This electronic device includes a processor 410, a communication interface 420, a memory 430, and a communication bus 440. The processor 410, communication interface 420, and memory 430 communicate with each other via the communication bus 440. The processor 410 can call logical instructions in the memory 430 to execute the following method: In response to a start command, with the valve between the foot bath section and the water storage section of the foot bath device open, it controls the heating element in the water storage section to operate and controls the mains power supply to power the heating element. The valve is located on the first pipe between the foot bath section and the water storage section.
[0128] When the water temperature in the foot bath reaches the first preset temperature, the valve is controlled to close.
[0129] When the water temperature in the water storage section reaches the second preset temperature, the power supply is switched from the mains power to the battery of the foot bath device to power the foot bath device, and the heating element is controlled to stop operating; wherein, the second preset temperature is greater than the first preset temperature;
[0130] When the valve is closed, and the water temperature in the foot bath is lower than the first preset temperature preset temperature difference, the valve is controlled to open so that water from the water storage unit enters the foot bath.
[0131] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to related technologies, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0132] In another aspect, embodiments of this application also provide a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program is implemented to perform the methods provided in the above embodiments, such as including: in response to a start command, controlling the operation of a heating element in the water storage section while the valve between the foot bath section and the water storage section of the foot bath device is in an open state, and controlling the mains power supply to power the heating element, wherein the valve is disposed on a first pipe between the foot bath section and the water storage section;
[0133] When the water temperature in the foot bath reaches the first preset temperature, the valve is controlled to close.
[0134] When the water temperature in the water storage section reaches the second preset temperature, the power supply is switched from the mains power to the battery of the foot bath device to power the foot bath device, and the heating element is controlled to stop operating; wherein, the second preset temperature is greater than the first preset temperature;
[0135] When the valve is closed, and the water temperature in the foot bath is lower than the first preset temperature preset temperature difference, the valve is controlled to open so that water from the water storage unit enters the foot bath.
[0136] In another aspect, this application also provides a computer program product, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to perform the methods provided in the above embodiments, such as: in response to a start command, when the valve between the foot bath part and the water storage part of the foot bath device is in an open state, controlling the heating element in the water storage part to operate, and controlling the mains power supply to supply power to the heating element, wherein the valve is disposed on a first pipe between the foot bath part and the water storage part;
[0137] When the water temperature in the foot bath reaches the first preset temperature, the valve is controlled to close.
[0138] When the water temperature in the water storage section reaches the second preset temperature, the power supply is switched from the mains power to the battery of the foot bath device to power the foot bath device, and the heating element is controlled to stop operating; wherein, the second preset temperature is greater than the first preset temperature;
[0139] When the valve is closed, and the water temperature in the foot bath is lower than the first preset temperature preset temperature difference, the valve is controlled to open so that water from the water storage unit enters the foot bath.
[0140] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0141] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of software products. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0142] Finally, it should be noted that the above embodiments are only used to illustrate this application and are not intended to limit this application. Although this application has been described in detail with reference to the embodiments, those skilled in the art should understand that various combinations, modifications, or equivalent substitutions of the technical solutions of this application do not depart from the spirit and scope of the technical solutions of this application.
Claims
1. A control method for a foot bath device, characterized in that, include: In response to the start command, with the valve between the foot bath section and the water storage section of the foot bath device in the open state, the heating element in the water storage section is controlled to operate, and the mains power supply is controlled to supply power to the heating element. The valve is located on the first pipe between the foot bath section and the water storage section. When the water temperature in the foot bath reaches a first preset temperature, the valve is closed; when the valve is closed, the foot bath and the water storage section are isolated from each other. When the water temperature in the water storage section reaches the second preset temperature, the power supply is switched from the mains power to the battery of the foot bath device to power the foot bath device, and the heating element is controlled to stop operating; wherein, the second preset temperature is greater than the first preset temperature; When the valve is closed, and the water temperature in the foot bath is lower than the first preset temperature preset temperature difference, the valve is controlled to open so that water from the water storage unit enters the foot bath. When the water temperature in the foot bath is lower than the first preset temperature preset temperature difference, controlling the valve to open so that water from the water storage unit enters the foot bath includes: The valve opening duration is determined based on the real-time water temperature of the foot bath area, the first preset temperature, and the second preset temperature. The valve is controlled to operate based on the opening duration so that water from the water storage unit enters the foot bath area; or, the valve is controlled to operate and the water pump is controlled to operate based on the opening duration so that water from the water storage unit enters the foot bath area, wherein the water pump is installed in a second pipe, one end of the second pipe is connected to the first pipe located between the valve and the foot bath area, and the other end of the second pipe is located in the foot bath area at a position distinct from the connection point between the first pipe and the foot bath area; The determination of the valve opening duration based on the real-time water temperature of the foot bath area, the first preset temperature, and the second preset temperature includes: Based on the temperature error between the real-time water temperature of the foot bath and the first preset temperature, the cumulative error value and the rate of change of error are determined respectively. The control quantity is determined based on the temperature error, the cumulative error value, the error change rate, and the preset control quantity correction coefficient; the preset control quantity correction coefficient is determined based on the first preset temperature and the second preset temperature. The valve opening duration is determined based on the control quantity and a preset proportional factor; the preset proportional factor is a proportional value used to convert the control quantity into the valve opening duration.
2. The foot bath equipment control method according to claim 1, characterized in that, The preset control quantity correction coefficient is determined based on the following method: The first preset temperature is compared with the second preset temperature, and the result of the ratio calculation is determined as the preset control quantity correction coefficient.
3. The foot bath equipment control method according to claim 1, characterized in that, The determination of the control quantity based on the temperature error, the cumulative error value, the error change rate, and a preset control quantity correction coefficient includes: Multiply the temperature error by a preset scaling factor to obtain the first result; Multiply the accumulated error value by a preset integration coefficient to obtain the second result; Multiplying the error change rate by a preset differential coefficient yields a third result; The first result, the second result, and the third result are summed to obtain the fourth result; The fourth result is multiplied by the preset control quantity correction coefficient to obtain the control quantity.
4. The foot bath equipment control method according to claim 1, characterized in that, The control of the water pump operation includes: If the water temperature after heat exchange in the first pipe is determined to be lower than the warning water temperature, the water pump is controlled to operate.
5. A foot bath device, characterized in that, The device includes a mains power access module, a battery, a heating element, a valve, a foot bath section, a water storage section, a temperature detection module, and a controller; the heating element is disposed in the water storage section; the temperature detection module is disposed in both the foot bath section and the water storage section; the valve is disposed between the foot bath section and the water storage section; the controller is connected to the mains power access module, the battery, the heating element, the valve, and the temperature detection module; when executed, the controller implements the foot bath device control method according to any one of claims 1 to 4.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the foot bath device control method as described in any one of claims 1 to 4.
7. A storage medium, said storage medium being a non-transitory computer-readable storage medium, wherein a computer program is stored thereon, characterized in that, When the computer program is executed by the processor, it implements the foot bath device control method as described in any one of claims 1 to 4.
8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the foot bath device control method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Electric heating safety foot bath
CN108478065A