Water injection control method, water injection controller, bath, water injection control system
By working together with the water inlet valve and the power supply module, the water filling time is determined according to control commands and voltage correction, realizing intelligent control of bathtub water filling. This solves the problem of manual operation required in existing technologies and improves the user experience.
Patent Information
- Application Number
- CN202211580989.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-09
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2042-12-09
AI Technical Summary
Existing bathing devices such as bathtubs require manual operation for water filling control and lack intelligent control methods.
The water injection valve generates a water injection signal according to the control command. Combined with the preset duration reference table and power supply voltage correction, the target water injection duration is automatically determined and the water flow is controlled to be turned on and off.
It achieves intelligent control of bathtub water filling, and can automatically adjust the water flow on and off according to control commands, thus improving the user experience.
Smart Images

Figure CN115951727B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of smart home, and in particular to a water injection control method, a water injection controller, a bathtub, and a water injection control system. BACKGROUND
[0002] At present, bathing devices such as bathtubs have water injection control functions. For example, in the related art, water injection is controlled by a mechanical knob or a touchable electronic switch valve. However, the above water injection control methods all need to be manually controlled by a user. Therefore, how to provide an intelligent water injection control method has become a technical problem to be solved. SUMMARY
[0003] The present application aims to at least solve one of the technical problems in the prior art. To this end, the present application provides a water injection control method, a water injection controller, a bathtub, and a water injection control system, which can intelligently control water injection.
[0004] The water injection control method according to the first aspect of the present application is applied to a bathtub, the bathtub comprising a water injection valve and a power supply module, the water injection valve being configured to control water flow conduction according to a control instruction, and the power supply module being configured to generate an original power supply voltage according to water flow. The method comprises the following steps:
[0005] obtaining a water injection conduction signal, wherein the water injection conduction signal is a signal generated by the water injection valve according to the control instruction;
[0006] determining a target water injection amount according to the water injection conduction signal;
[0007] determining an initial water injection time according to the target water injection amount and a preset time reference table;
[0008] comparing the original power supply voltage with a preset voltage, and determining a target compensation time according to a comparison result;
[0009] obtaining a target water injection time according to the target compensation time and the initial water injection time;
[0010] generating a water injection cut-off signal according to the target water injection time, wherein the water injection valve is further configured to control water flow cut-off according to the water injection cut-off signal.
[0011] According to the water injection control method, the water injection valve generates a water injection conduction signal according to the control instruction, determines an initial water injection time length through the water injection conduction signal and a preset time length reference table, and generates a target compensation time length for time length correction of the initial water injection time length through the original power supply voltage, so as to obtain a target water injection time length. The water injection closing signal is determined through the target water injection time length, so that the water injection valve can be turned off according to the water injection closing signal. Therefore, the embodiment of the application can control the conduction and turn-off of water flow according to the control instruction, that is, intelligent water injection control is realized.
[0012] According to some embodiments of the application, the comparison of the original power supply voltage with the preset voltage and the determination of the target compensation time length according to the comparison result include:
[0013] The original power supply voltage is obtained within a preset acquisition time length, and the original power supply voltage is subjected to mean value processing to obtain an average voltage.
[0014] The average voltage is compared with the preset voltage to obtain the comparison result.
[0015] If the comparison result indicates that the average voltage is less than the preset voltage, the target compensation time length is calculated according to the average voltage, the preset voltage and a preset compensation time length.
[0016] According to some embodiments of the application, the comparison of the original power supply voltage with the preset voltage and the determination of the target compensation time length according to the comparison result include:
[0017] If the comparison result indicates that the average voltage is greater than the preset voltage, the target compensation time length is set to zero.
[0018] According to the second aspect of the embodiment of the application, the water injection controller is applied to a bathtub, and is used to execute the water injection control method according to any one of the first aspect, and includes:
[0019] The communication module is used to be in communication connection with the water injection valve, and is used to obtain a water injection conduction signal.
[0020] The main control module is electrically connected with the communication module, and is used to determine a target water injection amount according to the water injection conduction signal, determine an initial water injection time length according to the target water injection amount and a preset time length reference table, compare the original power supply voltage with a preset voltage, determine a target compensation time length according to a comparison result, obtain a target water injection time length according to the target compensation time length and the initial water injection time length, and generate a water injection closing signal according to the target water injection time length. The water injection valve is also used to control the turn-off of water flow according to the water injection closing signal.
[0021] According to some embodiments of the present application, the water injection controller further comprises:
[0022] an analog-to-digital conversion module, which is electrically connected with the power supply module, and is configured to perform analog-to-digital conversion on the original power supply voltage to obtain a target power supply voltage.
[0023] In the method, the main control module compares the target power supply voltage with a preset voltage.
[0024] According to some embodiments of the present application, the water injection controller further comprises:
[0025] a voltage conversion module, which is electrically connected with the power supply module, and is configured to perform voltage conversion on the original power supply voltage to obtain an initial power supply voltage; wherein the initial power supply voltage is configured to supply power to the water injection controller.
[0026] According to some embodiments of the present application, the water injection controller further comprises:
[0027] an energy storage module, which is electrically connected with the voltage conversion module, and is configured to perform energy storage operation according to the initial power supply voltage.
[0028] According to the third aspect of the embodiments of the present application, the bathtub comprises:
[0029] The water injection controller according to any one of the second aspect;
[0030] a water injection valve;
[0031] a power supply module.
[0032] According to some embodiments of the present application, the water injection controller is further configured to obtain a drainage signal, the drainage signal being a signal generated by the water injection valve according to the control instruction, and the bathtub further comprises:
[0033] a drainage device, which is electrically connected with the water injection controller, and is configured to perform drainage operation according to the drainage signal.
[0034] According to the fourth aspect of the embodiments of the present application, the water injection control system comprises:
[0035] The bathtub according to the third aspect;
[0036] a server, which is in communication connection with the water injection valve, and is configured to receive a control instruction.
[0037] Additional aspects and advantages of the present application will be given in part in the following description, become apparent from the following description, or be learned by practice of the present application. BRIEF DESCRIPTION OF DRAWINGS
[0038] The present application will be further described with reference to the drawings and examples, wherein:
[0039] Figure 1 A flowchart of a water injection control method according to an embodiment of the present application;
[0040] Figure 2 Another flowchart of a water injection control method according to an embodiment of the present application;
[0041] Figure 3 A block diagram of a water injection controller according to an embodiment of the present application;
[0042] Figure 4 A structure diagram of a bathtub according to an embodiment of the present application;
[0043] Figure 5 A block diagram of a water injection control system according to an embodiment of the present application.
[0044] Reference Signs:
[0045] Water injection valve 100, power supply module 200, water injection controller 300, communication module 301, main control module 302, analog-to-digital conversion module 303, voltage conversion module 304, energy storage module 305, drainage device 400, shower 500, faucet 600, water inlet pipe 700, server 800. DETAILED DESCRIPTION
[0046] The embodiments of the present application are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference signs represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary, only for explaining the present application, and cannot be understood as limiting the present application.
[0047] In the description of the present application, it should be understood that the orientation description, such as the orientation or position relationship indicated by up, down, front, back, left, right, etc. is based on the orientation or position relationship shown in the drawings, only for the convenience of describing the present application and simplifying the description, and is not intended to indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, therefore cannot be understood as limiting the present application.
[0048] In the description of the present application, if several meanings are one or more, the meaning of multiple is two or more, greater than, less than, more than, etc. Understand as not including the number, above, below, within, etc. Understand as including the number. If it is described to the first, the second is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the sequence of indicated technical features.
[0049] In the description of the present application, unless otherwise explicitly limited, the words such as setting, installing, connecting, etc. should be broadly understood, and those skilled in the art can reasonably determine the specific meaning of the above words in the present application in combination with the specific content of the technical solution.
[0050] In the description of the present application, the description of the terms "one embodiment", "some embodiments", "exemplary embodiment", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in combination with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the exemplary description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the described specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0051] Referring to Figure 1 The water injection control method provided by the embodiment of the present application is applied to a bathtub. The bathtub comprises a water injection valve and a power supply module. The water injection valve is used to control water flow conduction according to a control instruction, and the power supply module is used to generate an original power supply voltage according to water flow. The water injection control method comprises but is not limited to steps S101 to S106.
[0052] Step S101, an injection communication signal is acquired; wherein the injection communication signal is a signal generated by the water injection valve according to the control instruction;
[0053] Step S102, a target water injection amount is determined according to the injection communication signal;
[0054] Step S103, an initial water injection time is determined according to the target water injection amount and a preset time length reference table;
[0055] Step S104, the original power supply voltage is compared with a preset voltage, and a target compensation time is determined according to the comparison result;
[0056] Step S105, a target water injection time is obtained according to the target compensation time and the initial water injection time;
[0057] Step S106, a water injection closing signal is generated according to the target water injection time; wherein the water injection valve is further used to control water flow cut-off according to the water injection closing signal.
[0058] It should be noted that the water injection control method provided by the embodiments of the present application is used to control the water injection of a bathing device with a water storage function, such as a bathtub. Therefore, when the water injection control method provided by the embodiments of the present application is applied to other bathing devices such as an intelligent foot bath bucket, the adaptive modifications made by the embodiments of the present application should also be within the protection scope of the embodiments of the present application. Taking a bathtub as an example, the bathtub includes faucets, shower heads and other mechanical structures related to the function of the bathtub, as well as other electric control structures. The bathtub provided by the embodiments of the present application is a water power generation bathtub, that is, the power supply module is a water power generation module. Specifically, the power supply module generates an original power supply voltage through the water flow flowing through its inside, and the electric control structure is turned on according to the original power supply voltage, thereby realizing the control of the related functions of the bathtub. Secondly, the bathtub also includes a water injection valve, which serves as a communication medium between the power supply module and the external water inlet pipe of the bathtub. The water injection valve is used to control the water flow output by the water inlet pipe to flow to the power supply module and the bathtub, or to control the water flow output by the water inlet pipe not to flow to the power supply module and the bathtub. It can be understood that the water injection valve is an electronic valve, that is, the water injection valve can receive a control instruction sent by a user and be turned on or turned off according to the control instruction. For example, when the control instruction represents a water injection opening instruction, the water injection valve is turned on, and at this time the water flow provided by the water inlet pipe flows to the power supply module and the bathtub through the turned-on water injection valve, thereby opening the water injection function and enabling the electric control structure to perform corresponding water injection opening control according to the power supply voltage generated by the power supply module. The water injection opening control and water injection closing control are described in detail below.
[0059] In step S101 of some embodiments, the electric control structure is in communication connection with the water injection valve through radio frequency or the like. The water injection valve generates a corresponding water injection on signal according to the control instruction sent by the external user, and the electric control structure receives the water injection on signal. It can be understood that the water injection valve can be in communication connection with the control instruction sending end of the user through a server, for example, the control instruction sending end of the user is a mobile terminal, and the user uploads the control instruction to the server by performing a touch operation in the mobile terminal. The water injection valve obtains the control instruction by communicating with the server through MQTT or the like. Among them, the mobile terminal can be any one of a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle terminal device, a wearable device, a super mobile personal computer, a netbook, a personal digital assistant, a CPE, a UFI (wireless hotspot device), and the like, and the embodiments of the present application are not limited thereto.
[0060] In step S102 of some embodiments, the water injection guide signal is a signal carrying target water injection amount information, or the water injection guide signal is a signal carrying information related to the target water injection amount. Taking the water injection guide signal as an example, the water injection guide signal is a signal directly carrying target water injection amount information, and the water injection guide signal is a predetermined communication format, for example, a four-byte format. Among them, the third byte contains the target water injection amount, and the value of the target water injection amount is in the preset interval of 200 to 250, such as any one of the eight original water injection amounts 200, 205, 210, 215, 220, 225, 230, 235.
[0061] In step S103 of some embodiments, the initial water injection time is determined according to the target water injection amount and the preset time length reference table. Specifically, the time length reference table includes a plurality of original time length index values and an original water injection time length mapped to each original time length index value. The target time length index value Index is calculated according to the target water injection amount and the following formula (1). The target time length index value Index is matched with the plurality of original time length index values in the time length reference table, so as to obtain the original water injection time length corresponding to the matched original index value, and the original water injection time length is taken as the initial water injection time length.
[0062] Index = (target water injection amount - 200) / 5... formula (1)
[0063] It can be understood that other ways of determining the initial water injection time length can also be set according to actual needs. For example, in the preset time length reference table, the original water injection time length directly mapped to the preset eight original water injection amounts is set, and the like, which is not limited in the embodiments of the present application. It can be understood that the plurality of original water injection time lengths in the time length reference table are water injection time lengths obtained in a test state. Therefore, when the water flow size in different test areas is different, the original water injection time length in the corresponding time length reference table may also be different.
[0064] In steps S104 to S105 of some embodiments, since the original water injection time length is the ideal water injection time length in the test state, in the actual water injection operation, the water flow size of the water inlet valve may be different from the water flow size in the test state. Therefore, the initial water injection time length obtained by table lookup should also be corrected. Specifically, since the power supply module is a water power module, the original power supply voltage generated by the power supply module is related to the size of the current water flow. The original power supply voltage is compared with the preset voltage, and whether the time length needs to be corrected is determined according to the comparison result. When the time length needs to be corrected, the target compensation time length is obtained according to the original power supply voltage and the preset voltage, and the initial water injection time length is corrected according to the target compensation time length to obtain the target water injection time length. The preset voltage is the voltage corresponding to the original water injection time length tested in the test state.
[0065] In step S106 of some embodiments, the electric control structure determines the water injection closing time according to the target water injection time length and the current time, and generates a water injection closing signal when the water injection closing time is reached. The electric control structure sends the water injection closing signal to the water injection valve according to the radio frequency communication, so that the water injection valve closes according to the water injection closing signal, i.e. closes the water injection operation, thereby achieving the water injection control of the bathtub.
[0066] It can be understood that in some embodiments, the control instruction carries the water injection on time, so that the water injection valve can be turned on according to the control instruction at the water injection on time, thereby achieving intelligent control of the water injection on time, the water injection amount, and the water injection closing.
[0067] It can be understood that the water injection valve according to the control instruction generates a water injection on signal, determines the initial water injection time length through the water injection on signal and the preset time length reference table, and generates a target compensation time length for time length correction of the initial water injection time length through the original power supply voltage, thereby obtaining the target water injection time length. The water injection closing signal is determined through the target water injection time length, so that the water injection valve can be closed according to the water injection closing signal. Therefore, it can be known that the embodiments of the present application can control the water flow to be turned on and closed according to the control instruction, i.e. intelligent water injection control is achieved.
[0068] Reference Figure 2 In some embodiments, step S104 includes but is not limited to steps S201 to S203.
[0069] Step S201, obtaining a plurality of original power supply voltages within a preset collection time length, and obtaining an average voltage by performing mean value processing on the plurality of original power supply voltages;
[0070] Step S202, comparing the average voltage with a preset voltage to obtain a comparison result;
[0071] Step S203, if the comparison result indicates that the average voltage is less than the preset voltage, calculating a target compensation time length according to the average voltage, the preset voltage, and a preset compensation time length.
[0072] In step S201 of some embodiments, the voltage collection time length is set in advance, i.e. the preset collection time length is set in advance. The voltage collection operation is performed multiple times within the preset collection time length, thereby obtaining a plurality of original power supply voltages. The plurality of original power supply voltages are subjected to mean value processing, thereby obtaining an average voltage. It can be understood that according to actual needs, the voltage collection operation can be performed immediately after the original power supply voltage is generated by the power supply module; or because the water flow is unstable when the water injection valve is just turned on, in order to ensure the accuracy of the time length correction, the voltage collection operation is performed after the original power supply voltage is generated by the power supply module for a period of time, which is not limited in the embodiments of the present application.
[0073] In step S202 to step S203 of some embodiments, the average voltage is compared with the preset voltage, and if the comparison result indicates that the average voltage is less than the preset voltage, it means that the current water flow is less than the water flow in the test state. Therefore, the target compensation duration is calculated according to the following formula (2).
[0074] Target compensation duration = (preset voltage-average voltage) *K / Vmax+Tmin...... formula (2)
[0075] Wherein, K represents a compensation coefficient, which can be adaptively set according to the actual water storage capacity of the bathtub. Tmin represents a preset minimum compensation duration, which can be set to a value such as 30s according to actual needs. In some embodiments, the plurality of original power supply voltages are collected by a voltage collection module in the electric control structure, and therefore Vmax represents the maximum voltage value that can be collected by the voltage collection module, that is, Vmax is adaptively adjusted according to the type of the voltage collection module.
[0076] Referring to Figure 2 In some embodiments, step S104 includes but is not limited to step S204.
[0077] In step S204, if the comparison result indicates that the average voltage is greater than the preset voltage, the target compensation duration is set to zero.
[0078] In step S204 of some embodiments, if the comparison result indicates that the average voltage is greater than the preset voltage, it means that the initial water injection duration does not need to be corrected. At this time, the target compensation duration is set to zero, that is, the initial water injection duration is taken as the target water injection duration.
[0079] It can be understood that, in addition to the water injection control method described above, the water injection temperature of the bathtub can also be intelligently controlled, which will not be described in detail in the embodiments of the present application.
[0080] Referring to Figure 3The embodiment of the present application also provides a water injection controller 300. It can be understood that the water injection controller 300 is the electric control structure described in the above various embodiments, and the water injection controller 300 is used to execute the water injection control method described in any of the above embodiments. The water injection controller 300 comprises a communication module 301 and a main control module 302. The communication module 301 is used to be in communication connection with the water injection valve 100, and the communication module 301 is used to acquire a water injection guide signal. The main control module 302 is electrically connected with the communication module 301, and the main control module 302 is used to determine a target water injection amount according to the water injection guide signal; determine an initial water injection time length according to the target water injection amount and a preset time length reference table; compare an original power supply voltage with a preset voltage, and determine a target compensation time length according to a comparison result; obtain a target water injection time length according to the target compensation time length and the initial water injection time length; generate a water injection closing signal according to the target water injection time length; and the water injection valve 100 is further used to control water flow to be turned off according to the water injection closing signal.
[0081] It can be seen that the contents in the above water injection control method embodiments are all applicable to the embodiment of the present water injection controller 300. The function realized by the embodiment of the present water injection controller 300 is the same as that of the above water injection control method embodiments, and the beneficial effects achieved by the embodiment of the present water injection controller 300 are also the same as those achieved by the above water injection control method embodiments.
[0082] In some embodiments, the water injection controller 300 further comprises an analog-digital conversion module 303, the analog-digital conversion module 303 is electrically connected with the power supply module 200, and the analog-digital conversion module 303 is used to perform analog-digital conversion on the original power supply voltage to obtain a target power supply voltage. It can be understood that, in order to enable the water injection controller 300 to compare the original power supply voltage with the preset voltage in numerical value, the original power supply voltage also needs to be subjected to analog-digital conversion processing, that is, the original power supply voltage in an analog state is converted into the target power supply voltage in a numerical value state. Therefore, when the main control module 302 performs the operation of “comparing the original power supply voltage with the preset voltage”, the main control module 302 actually compares the target power supply voltage with the preset voltage.
[0083] In some embodiments, the water injection controller 300 further comprises a voltage conversion module 304. The voltage conversion module 304 is electrically connected with the power supply module 200, and the voltage conversion module 304 is used to perform voltage conversion on the original power supply voltage to obtain an initial power supply voltage. Specifically, in order to enable the original power supply voltage generated by the power supply module 200 to adapt to the size of the demand voltage of the water injection controller 300, the water injection controller 300 further comprises the voltage conversion module 304 used to perform voltage reduction processing or voltage increase processing on the original power supply voltage. By performing voltage reduction or voltage increase processing on the original power supply voltage, an adapted initial power supply voltage is obtained, and the water injection controller 300 starts to work according to the initial power supply voltage.
[0084] In some embodiments, the water injection controller 300 further comprises an energy storage module 305, which is electrically connected with the voltage conversion module 304, and is used for energy storage operation according to the initial power supply voltage. It can be understood that when the water injection valve 100 receives the water injection closing signal generated by the master module 302, it will be turned off according to the water injection closing signal. At this time, there is no water flow through the power supply module 200. Therefore, in order to ensure that the bathtub can still be controlled in other intelligent ways under the condition that there is no water flow through the power supply module 200, the water injection controller 300 further comprises an energy storage module 305 for storing energy. Specifically, the energy storage module 305 comprises energy storage components such as Faraday capacitor, etc. After the power supply module 200 generates the original power supply voltage, the energy storage module 305 performs energy storage operation according to the original power supply voltage after voltage conversion, i.e. energy storage operation according to the initial power supply voltage, so that when the power supply module 200 does not generate the original power supply voltage, the water injection controller 300 can continue to work according to the energy storage signal in the energy storage module 305. For example, after the bathtub is filled with water, it can still be drained. That is, the water injection valve 100 receives a control instruction indicating drainage, and the water injection valve 100 generates a drainage signal according to the control instruction and sends the drainage signal to the master module 302 through the communication module 301. The master module 302 controls the drainage device 400 in the bathtub to perform drainage operation according to the drainage signal, thereby realizing intelligent drainage control.
[0085] With reference to Figure 4 The embodiment of the present application also provides a bathtub, which comprises the water injection controller 300, the water injection valve 100 and the power supply module 200 as described in any of the above embodiments.
[0086] It can be seen that the contents of the above-mentioned water injection controller embodiments are applicable to the embodiment of the present bathtub. The functions realized by the embodiment of the present bathtub are the same as those of the above-mentioned water injection controller embodiments, and the beneficial effects achieved by the embodiment of the present bathtub are also the same as those achieved by the above-mentioned water injection controller embodiments.
[0087] In some embodiments, the bathtub further comprises a drainage device 400, which comprises a drainage pipe, a drainage valve and the like. The drainage valve is electrically connected with the master module in the water injection controller 300, so as to control the drainage valve to be turned on when the master module receives the drainage signal according to the method described in any of the above embodiments, thereby realizing drainage operation.
[0088] With reference to Figure 5 The embodiment of the present application also provides a water injection control system, which comprises the bathtub and the server 800 as described in any of the above embodiments. The server 800 is used for communication connection with the water injection valve 100, such as MQTT. The server 800 is used for receiving the control instruction uploaded by the user and forwarding the control instruction to the water injection valve 100, thereby realizing water injection control, drainage control and the like of the bathtub.
[0089] The embodiments of the present application are described in detail above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the spirit of the present application. Furthermore, the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
Claims
1. A water injection control method characterized by, The application is applied to a bathtub, the bathtub comprises a water filling valve and a power supply module, the water filling valve is used for controlling water flow to be turned on according to a control instruction, and the power supply module is used for generating an original power supply voltage according to water flow, and the method comprises the following steps: An water filling control signal is acquired; wherein the water filling control signal is a signal generated by the water filling valve according to the control instruction; A target water filling amount is determined according to the water filling control signal; An initial water filling time length is determined according to the target water filling amount and a preset time length reference table; wherein the time length reference table comprises a plurality of original water filling time lengths; The original power supply voltage is compared with a preset voltage, and a target compensation time length is determined according to a comparison result; wherein the preset voltage is a voltage obtained by testing an original water filling time length in a test state; A target water filling time length is obtained according to the target compensation time length and the initial water filling time length; A water filling closing signal is generated according to the target water filling time length; wherein the water filling valve is further used for controlling water flow to be turned off according to the water filling closing signal.
2. The method of claim 1, wherein, The comparison of the original power supply voltage with the preset voltage and the determination of the target compensation time length according to the comparison result comprise the following steps: A plurality of original power supply voltages are acquired within a preset acquisition time length, and average processing is performed on the plurality of original power supply voltages to obtain an average voltage; The average voltage is compared with the preset voltage to obtain the comparison result; If the comparison result indicates that the average voltage is less than the preset voltage, the target compensation time length is calculated according to the average voltage, the preset voltage and a preset compensation time length.
3. The method of claim 2, wherein, The comparison of the original power supply voltage with the preset voltage and the determination of the target compensation time length according to the comparison result further comprise the following steps: If the comparison result indicates that the average voltage is greater than the preset voltage, the target compensation time length is set to zero.
4. A water injection controller characterized by, The application is applied to a bathtub, the water filling controller is used for executing the water filling control method according to any one of claims 1 to 3, and the water filling controller comprises the following: A communication module is used for being in communication connection with the water filling valve, and the communication module is used for acquiring a water filling control signal; A main control module is electrically connected with the communication module, and the main control module is used for determining a target water filling amount according to the water filling control signal, determining an initial water filling time length according to the target water filling amount and a preset time length reference table, comparing the original power supply voltage with a preset voltage to determine a target compensation time length according to a comparison result, obtaining a target water filling time length according to the target compensation time length and the initial water filling time length, and generating a water filling closing signal according to the target water filling time length; wherein the water filling valve is further used for controlling water flow to be turned off according to the water filling closing signal.
5. The water injection controller of claim 4, wherein, The water filling controller further comprises the following: An analog-to-digital conversion module is electrically connected with the power supply module, and the analog-to-digital conversion module is used for performing analog-to-digital conversion on the original power supply voltage to obtain a target power supply voltage; The comparison of the original power supply voltage with the preset voltage by the main control module comprises the comparison of the target power supply voltage with the preset voltage by the main control module.
6. The water injection controller of claim 4, wherein, The water filling controller further comprises the following: A voltage conversion module is electrically connected with the power supply module, and is configured to perform voltage conversion on the original power supply voltage to obtain an initial power supply voltage; wherein the initial power supply voltage is configured to supply power to the water injection controller.
7. The water injection controller of claim 6, wherein, The water injection controller further comprises: An energy storage module is electrically connected with the voltage conversion module, and is configured to perform energy storage operation according to the initial power supply voltage.
8. A bath characterized by, The bathtub comprises: The water injection controller according to any one of claims 4 to 7; A water injection valve; A power supply module.
9. A bath according to claim 8, characterised in that The water injection controller is further configured to obtain a drainage signal, wherein the drainage signal is a signal generated by the water injection valve according to the control instruction, and the bathtub further comprises: A drainage device is electrically connected with the water injection controller, and is configured to perform drainage operation according to the drainage signal.
10. A water injection control system characterized by, The water injection control system comprises: The bathtub according to claim 8 or 9; A server is in communication connection with the water injection valve, and is configured to receive a control instruction.
Citation Information
Patent Citations
Balanced water injection control method and device and clothes processing device
CN110616550A
Bathtub water injection control method and water heater
CN111141022A