Intelligent water purifier on-line control and adjustment method and device and computing equipment
Through the combination of the mirror symmetry adversarial network model and the memory network layer, the smart water purifier can accurately predict the life of the filter element and automatically adjust the switch. It solves the problem of low accuracy of filter element life prediction in the existing technology and improves maintenance efficiency and accuracy. .
Patent Information
- Application Number
- CN202411079509.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing smart water purifiers have low accuracy in predicting the life of the filter element and cannot fully reflect the actual condition of the filter element, resulting in biased judgment results and the lack of a dynamic adjustment mechanism.
The mirror symmetric adversarial network model is used, combined with the memory network layer, to predict the remaining life of the filter element by obtaining data such as the concentration of dissolved substances in the water, water output of the water purifier, power consumption, water quality current signal, mineral concentration and filter pressure difference, and Automatically adjust the switch of the water purifier.
It achieves a more accurate prediction of the life of the filter element, reduces the decline in water purification effect caused by overuse of the filter element, improves maintenance efficiency and accuracy, and avoids equipment failures caused by degradation of filter element performance.
Smart Images

Figure CN118718525A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of water purifier equipment and artificial intelligence technology, and in particular to an online control and adjustment method and device, and computing equipment for an intelligent water purifier. Background Art
[0002] Smart water purifiers have become an important part of modern life, integrating a variety of sensors and control systems to monitor water quality and machine operating status in real time. However, like all smart devices, smart water purifiers may also have various problems during use, requiring regular maintenance and troubleshooting.
[0003] Traditional maintenance methods usually require engineers to provide on-site services, which is not only inefficient but also costly. The Chinese invention patent with publication number CN108646654B discloses an online control and adjustment method for an intelligent water purifier. According to the fault data, a remote maintenance instruction package is edited at the maintenance terminal, and the switch corresponding to the switch number to be maintained is adjusted according to the switch control instruction. The maintenance personnel can remotely adjust the switch quantity of the switch to be maintained. Although the function of remotely adjusting the switch of the water purifier is realized, the remaining life of the filter element is not predicted. The remaining life prediction of the filter element is very important for users, which can avoid the decline of water purification effect due to excessive use of the filter element. The Chinese invention patent with publication number CN109406132A proposes a filter element life monitoring method, which determines the filter element life according to the concentration of the monitored target substance, thereby avoiding related problems caused by incorrect identification of the filter element life, such as avoiding the situation where the filter element at the end of its life is still in service and the purification performance is reduced. However, this method mainly relies on the concentration of a single target substance to judge the filter element life, and the performance degradation of the filter element involves multiple factors. Only relying on one indicator cannot fully reflect the actual condition of the filter element, resulting in deviations in the judgment results. Since the use environment and conditions of the filter element change at any time over time. This method does not provide a dynamic adjustment mechanism for the monitoring data, so the judgment of the filter element life is not accurate enough. The Chinese invention patent with publication number CN115108605A discloses a filter element life monitoring method, which reflects the degree of purification of purified water according to the resistance value calculation. When the resistance value is less than the resistance threshold, the alarm signal is selectively activated while continuing to filter water in the working state or stopping to filter water. This method is also based on only one indicator and cannot fully reflect the actual condition of the filter element, resulting in deviations in the judgment results. In addition, it also does not provide a dynamic adjustment mechanism for the monitoring data, so the judgment of the filter element life is not accurate enough.
[0004] Therefore, how to develop an effective online maintenance system for intelligent water purifiers has become an urgent problem to be solved. Summary of the invention
[0005] In view of the above problems, the present invention is proposed to provide an online control and adjustment method, device and computing equipment for an intelligent water purifier that overcomes the problem of low accuracy in predicting the remaining filter life of the intelligent water purifier.
[0006] According to one aspect of the present invention, there is provided an online control and adjustment method for an intelligent water purifier, comprising:
[0007] Obtaining the operation data and filter status data of the intelligent water purifier, wherein the operation data includes the concentration of dissolved substances in water, the water output of the water purifier, the power consumption and the device temperature, and the filter status data includes the water quality current signal, the mineral concentration and the inlet and outlet pressure difference of the filter;
[0008] Inputting the operation data and the filter element status data into a mirror symmetric adversarial network model to predict the remaining life of the filter element, wherein the mirror symmetric adversarial network model introduces a memory network layer;
[0009] The switch component of the water purifier is automatically adjusted according to the remaining life of the filter element and the operating data.
[0010] In an optional manner, the method further includes: when the remaining life of the filter element exceeds a set threshold, starting an early warning program.
[0011] In an optional manner, before the operating data and filter element status data are input into the mirror-symmetric adversarial network model, the attenuation characteristics of the operating data and filter element status data are extracted, wherein the attenuation characteristics include impurity concentration, pressure difference, temperature, flow rate, current signal and mineral concentration.
[0012] In an optional manner, the memory network layer includes a memory storage layer, a memory update layer and a fusion layer; wherein the memory storage layer is used to store previous input information; the memory update layer is used to update the stored memory information according to the new input information; and the fusion layer is used to fuse the memory information.
[0013] In an optional manner, the mirror-symmetric adversarial network model includes an input layer, a deconvolution residual network layer, a temporal network layer, two mirror-symmetric discriminators and two generators, and an output layer, wherein the temporal network layer is a bidirectional GRU layer.
[0014] In an optional manner, the memory network layer is a recursive network composed of multiple Hopfield neural networks, and the multiple Hopfield neural networks are connected by a feedback factor function.
[0015] In an optional manner, the expression of the feedback factor function is:
[0016]
[0017] Among them, E is the network feedback factor; X(t) is the input vector of the network at time t; W is the weight matrix of the network; C is the constant vector; U(t) is the output vector of the network at time t, X(t) T is the transpose of X(t).
[0018] In an optional manner, the gradient descent function of the mirror symmetric adversarial network model is:
[0019]
[0020] Among them, θ j is the jth weight, α′=α×E j ,J(θ j ) is the loss function, α is the learning rate, E j is the network feedback factor of the jth layer, := is the assignment symbol, is J(θ j ) for θ j The partial derivative of .
[0021] According to another aspect of the present invention, there is provided an online control and adjustment device for an intelligent water purifier, comprising:
[0022] An acquisition module, used to acquire the operation data and filter status data of the intelligent water purifier, wherein the operation data includes the concentration of dissolved substances in water, the water output of the water purifier, the power consumption and the device temperature, and the filter status data includes the water quality current signal, the mineral concentration and the inlet and outlet pressure difference of the filter;
[0023] A prediction module, used for inputting the operation data and the filter element status data into a mirror symmetric adversarial network model to predict the remaining life of the filter element, wherein the mirror symmetric adversarial network model introduces a memory network layer;
[0024] The regulating module is used to automatically adjust the switch of the water purifier according to the remaining life of the filter element and the operating data.
[0025] According to another aspect of the present invention, there is provided a computing device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0026] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned intelligent water purifier online control and adjustment method.
[0027] According to the solution provided by the present invention, the operation data and filter cartridge status data of the intelligent water purifier are obtained, wherein the operation data includes the concentration of dissolved substances in water, the water output of the water purifier, the power consumption and the equipment temperature, and the filter cartridge status data includes the water quality current signal, the mineral concentration and the inlet and outlet pressure difference of the filter; the operation data and the filter cartridge status data are input into the mirror-symmetric adversarial network model to predict the remaining life of the filter cartridge, wherein the mirror-symmetric adversarial network model introduces a memory network layer; according to the remaining life of the filter cartridge and the operation data, the switch of the water purifier is automatically adjusted. The present invention can realize the input of cumulative vectors by introducing a memory network layer into the mirror-symmetric adversarial network model, thereby more accurately predicting the remaining life of the filter cartridge.
[0028] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0030] Figure 1 A schematic diagram showing a flow chart of an online control and adjustment method for an intelligent water purifier according to an embodiment of the present invention;
[0031] Figure 2 A schematic diagram showing the structure of an online control and adjustment device for an intelligent water purifier according to an embodiment of the present invention is shown;
[0032] Figure 3 A schematic diagram of the structure of a computing device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0033] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0034] Figure 1 The figure shows a flow chart of the online control and adjustment method of the intelligent water purifier according to the embodiment of the present invention. Figure 1 As shown, the following steps are included:
[0035] Step S101, obtaining the operating data and filter status data of the intelligent water purifier.
[0036] In this embodiment, the operation data includes the concentration of dissolved substances in water, the water output of the water purifier, the power consumption and the device temperature, and the filter element status data includes the water quality current signal, the mineral concentration and the inlet and outlet pressure difference of the filter. In step S102, the attenuation characteristics (such as impurity concentration, pressure difference, current signal, etc.) are extracted from the operation data and the filter element status data, and the above attenuation characteristics can reflect the change trend of the water purifier performance and the filter element status.
[0037] Among them, the concentration of dissolved substances in water measures the quality of water. As the use time of the water purifier increases, the filtering effect of the filter element will gradually decrease, resulting in an increase in the concentration of dissolved substances in the water. By monitoring the changes in the concentration of dissolved substances in the water, the attenuation of the filter element can be indirectly judged. The water output of the water purifier reflects the working efficiency of the water purifier. The blockage or aging of the filter element will cause the water output to decrease. The change in the water output of the water purifier can be used to determine whether the filter element is blocked or aged. If the water output continues to decrease, it may be a signal that the filter element needs to be replaced. Power consumption is closely related to the operating status of the water purifier. The blockage or aging of the filter element causes the water purifier to consume more power. If the power consumption continues to increase, it may be necessary to check the status of the filter element. The change in equipment temperature is also related to the status of the filter element. The blockage of the filter element causes poor water flow, thereby increasing the friction and heat inside the equipment. By monitoring the changes in equipment temperature, it can assist in judging the attenuation of the filter element. The water quality current signal is an electrical signal that reflects the change of water quality. When the water quality changes, the water quality current signal will also change. By monitoring the change of the water quality current signal, the water quality condition can be understood in real time, and the filtering effect of the filter element can be judged accordingly. If the water quality current signal fluctuates abnormally or continues to rise, it means that the filter element needs to be replaced. The mineral concentration reflects the content of minerals in the water. The main function of the filter element is to remove impurities and harmful substances in the water, including some minerals. If the mineral concentration is gradually increasing, it means that the filtering capacity of the filter element is decreasing. The inlet and outlet pressure difference of the filter reflects the degree of blockage of the filter element. When the filter element is blocked, the inlet and outlet pressure difference will increase. If the inlet and outlet pressure difference continues to increase, it means that the degree of blockage of the filter element is getting worse and the filter element needs to be replaced in time.
[0038] For example, the smart water purifier is equipped with water quality sensors, flow sensors, power sensors, and temperature sensors to monitor operating data such as the concentration of dissolved substances in the water, the water output of the water purifier, power consumption, and equipment temperature. A differential pressure sensor is set at the inlet and outlet of the filter element to monitor the inlet and outlet pressure difference of the filter, and a current sensor is set inside or near the filter element to monitor the water quality current signal. The collected data is then stored in the local storage of the water purifier or on a remote server.
[0039] Step S102, inputting the operating data and the filter element status data into a mirror symmetric adversarial network model to predict the remaining life of the filter element.
[0040] In this embodiment, the operating data and filter element status data need to be converted into input vectors of the mirror-symmetric adversarial network model. Taking the conversion of operating data into input vectors as an example, the most recent N measured values of the concentration of dissolved substances in water are converted into a vector of length N as [0.05, 0.06, 0.07, 0.08, 0.09]. Similarly, the most recent N measured values of water output are [10, 9.8, 9.5, 9.2, 9.0]. Power consumption and equipment temperature can also be processed in the same way, and the most recent N power measurements are combined into an input vector. Then, the input vectors of the operating data and filter element status data are combined into a two-dimensional input vector or matrix:
[0041] The two-dimensional input vector or matrix is input into the mirror symmetric adversarial network model (the input layer of the model).
[0042] The mirror-symmetric adversarial network model is two mirror-symmetric GANs, which together form a ring network. The two GANs share two generators and each has a discriminator, that is, there are two discriminators and two generators in total.
[0043] In this embodiment, the mirror symmetric adversarial network model introduces a memory network layer. When the mirror symmetric adversarial network model introduces a memory network layer, the operation data and filter status data of each time period can be effectively accumulated. The memory network layer is different from the traditional GRU (gated recurrent unit) and LSTM (long short-term memory) recurrent neural network (RNN) structures. It does not process long-term dependencies in sequence data through a gating mechanism. Since the mirror symmetric adversarial network model has two GANs that confront and collaborate with each other, the memory network layer interacts closely with the generator and the discriminator. Through the memory network layer (MemNN), historical data related to the neural network layer can be accumulated and stored, and these specific historical data can be pattern-learned and memorized. For example, the memory network converts the input data into the internal feature representation of the neural network through the input layer, and writes the internal feature representation information into these slots through the multiple memory slots of the generalization layer to update the memory. In other words, whenever there is a new input, the memory network updates its memory content and finds the most matching memory slot and question representation in the memory slot through the answer layer (Response). The memory network (MemNN) structure can store and update long-term memory, and can quickly retrieve relevant information based on new inputs and questions. Compared with traditional RNN, LSTM and other models, it has better long-term memory capabilities and can preserve useful information to the maximum extent. In this embodiment, the memory network (MemNN) structure can receive vectors such as the use time of the filter element, filtration efficiency, flow changes, etc. in different time periods, and convert these data into the internal network representation of the neural network. The generator uses the historical data stored in the memory network layer to generate outputs that are more in line with the actual operating conditions, while the discriminator uses these historical data to more accurately judge the quality of the generated samples. In the filter element performance monitoring and prediction tasks, the mirror-symmetric adversarial network model uses the memory network layer to accumulate operating data of different time periods, which can accurately evaluate the state and performance of the filter element and predict its future change trends.
[0044] The above input vector (two-dimensional input vector or matrix of operation data and filter status data:
[0045] )The calculation and processing process in the mirror symmetric adversarial network model is as follows:
[0046] First, the above input vector is fed into the input layer of the model.
[0047] The input vector is then passed to the memory network layer (MemNN), which is used to accumulate and store historical data of the input vector and perform pattern learning and memory on these input vectors. The memory network layer consists of multiple memory slots, each of which can store specific historical data. When a new input vector arrives, the memory network layer updates its stored information and finds the memory slot that best matches the current input through mechanisms such as attention.
[0048] After being processed by the memory network layer, the input vector (combined with the historical information provided by the memory network layer) is fed into the shared generator, which uses these input vectors to generate samples that conform to the real data distribution. Since the generator is shared, the quality of the generated samples can be improved from the confrontation and collaboration of the two GANs.
[0049] Each GAN has an independent discriminator whose task is to distinguish whether the input data comes from a real dataset or is generated by the generator, and to try to learn the intrinsic patterns of the data in order to make more accurate judgments. In the mirror-symmetric adversarial network model, the discriminator interacts with the memory network layer to make more accurate judgments using historical data.
[0050] Then, through adversarial training between the generator and the discriminator, the generator tries to generate data that can deceive the discriminator, while the discriminator strives to improve its own judgment ability.
[0051] Since the model is a mirror-symmetric ring network structure, the two GANs will interact with each other, share weights, transfer information, or conduct collaborative training. In each iteration, the model calculates the loss function, which measures the quality of the generated data and the accuracy of the discriminator. The weights and parameters of the model are then updated through the back-propagation algorithm to minimize the loss function.
[0052] Through multiple iterations of training, the model gradually learns the inherent laws and patterns of the data and optimizes its generation and discrimination capabilities. Ultimately, the model generates high-quality output data that meets specific requirements for predicting filter element performance.
[0053] In an optional manner, the memory network layer includes a memory storage layer, a memory update layer and a fusion layer; wherein the memory storage layer is used to store previous input information; the memory update layer is used to update the stored memory information according to the new input information; and the fusion layer is used to fuse the memory information.
[0054] In this embodiment, the memory storage layer stores the operating data of previous time periods or time points and the filter status data, and can be based on the storage method of key-value pairs, matrices, graphs and other data structures. When new input data arrives, the memory update layer evaluates the correlation and importance between these data and the existing memory, and decides whether to update the stored memory information, including updating methods such as replacing old memory, adding new memory, or fine-tuning existing memory. The fusion layer combines historical memory and current input to generate a network representation containing contextual information. Therefore, the memory network layer can make full use of historical input information and dynamically update according to new data. The mirror-symmetric adversarial network model can better understand the evolution and trend of the data, thereby showing higher performance in generation and discrimination tasks. Specifically, the memory update layer is a plurality of neural network layers located between the memory storage layer and the fusion layer, and the fusion layer serves as the input layer of the mirror-symmetric adversarial network model.
[0055] In an optional manner, the memory network layer is a recursive network composed of multiple Hopfield neural networks, and the multiple Hopfield neural networks are connected by a feedback factor function.
[0056] In this embodiment, the memory network layer is composed of multiple Hopfield neural networks, each Hopfield neural network has an output layer, and each output layer points to the next Hopfield neural network. Multiple Hopfield neural networks are connected through feedback factor functions (also called feedback layers), and the feedback factor function affects the information transmission and state update between the Hopfield neural networks.
[0057] In an optional manner, the expression of the feedback factor function is:
[0058]
[0059] Among them, E is the network feedback factor; X(t) is the input vector of the network at time t; W is the weight matrix of the network; C is the constant vector; U(t) is the output vector of the network at time t.
[0060] In this embodiment, the network feedback factor E represents the energy state of the Hopfield network at a certain moment, X(t) is the input vector of the previous Hopfield neural network at time t, and U(t) is the output vector of the network at time t, and serves as the input of the next Hopfield neural network.
[0061] In an optional manner, the mirror-symmetric adversarial network model includes an input layer, a deconvolution residual network layer, a temporal network layer, two mirror-symmetric discriminators and two generators, and an output layer, wherein the temporal network layer is a bidirectional GRU layer.
[0062] In this embodiment, the input layer receives data from the fusion layer and passes it to the next network layer, namely the deconvolution residual network layer. The deconvolution residual network layer includes multiple deconvolution layers and residual blocks, performs feature extraction and transformation through deconvolution and residual connection, and passes the processed data representation to the timing network layer. The timing network layer adopts a bidirectional GRU timing network layer, which is a bidirectional gated recurrent unit (GRU) network layer, including multiple bidirectional GRU units, and passes the feature representation containing timing information to two mirror-symmetric discriminators and generators. The output of the discriminator is passed to the loss calculation module to calculate the adversarial loss, and the output of the generator is passed through the output layer as the final output of the model.
[0063] In an optional manner, the gradient descent function of the mirror symmetric adversarial network model is:
[0064]
[0065] Among them, θ j is the jth weight, α′=α×E j ,J(θ j ) is the loss function, α is the learning rate, E j is the network feedback factor of the jth layer, := is the assignment symbol, is J(θ j ) for θ j The partial derivative of .
[0066] The gradient descent function is used to update the model parameters during the training process to minimize the loss function. The basic idea is to update the model parameters in the opposite direction of the gradient of the loss function with respect to the model parameters through iteration, so as to gradually approach the minimum value of the loss function. Each iteration calculates the gradient of the loss function with respect to the current parameter value, and then updates the parameters according to this gradient.
[0067] In this embodiment, the gradient descent function of the mirror-symmetric adversarial network model introduces a network feedback factor, which can dynamically adjust the learning rate according to the state of the network. When the network is in a stable convergence stage, the feedback factor may be large, thereby increasing the learning rate and accelerating convergence; when the network is in an oscillating or unstable stage, the feedback factor may be small, reducing the learning rate and preventing instability caused by excessive updates. The mirror-symmetric adversarial network model includes multiple levels and adversarial components. The network feedback factor reflects the current state of the network, including the energy state between different layers, can better adapt to different data distributions, and improves the prediction ability of the model.
[0068] In an optional manner, before the operating data and filter element status data are input into the mirror-symmetric adversarial network model, the attenuation characteristics of the operating data and filter element status data are extracted, wherein the attenuation characteristics include impurity concentration, pressure difference, temperature, flow rate, current signal and mineral concentration.
[0069] In this embodiment, the extracted attenuation characteristics such as impurity concentration, pressure difference, temperature, flow rate, current signal and mineral concentration are key factors that directly affect the performance and operating status of the filter element, and can directly reflect the filtering effect and usage of the filter element.
[0070] Since the neural network model has a strong learning and representation ability, the attenuation characteristics such as impurity concentration, pressure difference, temperature, flow rate, current signal and mineral concentration are integrated as the input vector of the mirror symmetric adversarial network model, and the complex relationship and hidden pattern between the input characteristics can be learned, including the correlation, change trend and periodic law between the characteristics. In the scenario of filter element performance prediction, by taking the attenuation characteristics such as impurity concentration, pressure difference, temperature, flow rate, current signal and mineral concentration as the input vector of the neural network, the neural network constructs a highly nonlinear mapping relationship through the connection and weight adjustment between multiple layers of neurons, and continuously adjusts the network parameters through the back propagation algorithm to minimize the difference between the predicted results and the actual values. In this way, the filtering effect and usage of the filter element can be fully reflected. For example, the impurity concentration reflects the filtering effect of the filter element on impurities, and the pressure difference reflects the degree of blockage of the filter element. Combining the above characteristics can more accurately judge the overall performance of the filter element. In addition, there are interrelated or complementary relationships between different characteristics. For example, when the impurity concentration increases, the pressure difference will also increase; and the change of flow rate is affected by temperature and mineral concentration. By comprehensively considering these characteristics, information can be verified and supplemented with each other, further improving the stability and reliability of model prediction. By extracting these features that are highly correlated with filter life and performance degradation, it is possible to more accurately predict the remaining service life and performance change trends of the filter element, which helps to replace the filter element in a timely manner and avoid equipment failure or water quality problems caused by deterioration of filter element performance.
[0071] Step S103, automatically adjusting the switch of the water purifier according to the remaining life of the filter element and the operating data.
[0072] For example, when the remaining life of the filter element is low or the water quality suddenly deteriorates, the user is reminded to replace the filter element and the opening of the switch is automatically adjusted according to the change in water consumption. When the remaining life of the filter element exceeds the set threshold, the early warning program is activated.
[0073] According to the solution provided by the present invention, the operation data and filter cartridge status data of the intelligent water purifier are obtained, wherein the operation data includes the concentration of dissolved substances in water, the water output of the water purifier, the power consumption and the equipment temperature, and the filter cartridge status data includes the water quality current signal, the mineral concentration and the inlet and outlet pressure difference of the filter; the operation data and the filter cartridge status data are input into the mirror-symmetric adversarial network model to predict the remaining life of the filter cartridge, wherein the mirror-symmetric adversarial network model introduces a memory network layer; according to the remaining life of the filter cartridge and the operation data, the switch of the water purifier is automatically adjusted. The present invention can realize the input of cumulative vectors by introducing a memory network layer into the mirror-symmetric adversarial network model, thereby more accurately predicting the remaining life of the filter cartridge.
[0074] Figure 2 The structure diagram of the intelligent water purifier online control and regulation device according to the embodiment of the present invention is shown. The intelligent water purifier online control and regulation device comprises: an acquisition module 210 , a prediction module 220 and a regulation module 230 .
[0075] The acquisition module 210 is used to acquire the operation data and filter status data of the intelligent water purifier, wherein the operation data includes the concentration of dissolved substances in water, the water output of the water purifier, the power consumption and the device temperature, and the filter status data includes the water quality current signal, the mineral concentration and the inlet and outlet pressure difference of the filter;
[0076] The prediction module 220 is used to input the operation data and the filter element status data into the mirror symmetric adversarial network model to predict the remaining life of the filter element, wherein the mirror symmetric adversarial network model introduces a memory network layer;
[0077] The adjustment module 230 is used to automatically adjust the switch components of the water purifier according to the remaining life of the filter element and the operating data.
[0078] In an optional manner, the method further includes: when the remaining life of the filter element exceeds a set threshold, starting an early warning program.
[0079] In an optional manner, before the operating data and filter element status data are input into the mirror-symmetric adversarial network model, the attenuation characteristics of the operating data and filter element status data are extracted, wherein the attenuation characteristics include impurity concentration, pressure difference, temperature, flow rate, current signal and mineral concentration.
[0080] In an optional manner, the memory network layer includes a memory storage layer, a memory update layer and a fusion layer; wherein the memory storage layer is used to store previous input information; the memory update layer is used to update the stored memory information according to the new input information; and the fusion layer is used to fuse the memory information.
[0081] In an optional manner, the mirror-symmetric adversarial network model includes an input layer, a deconvolution residual network layer, a temporal network layer, two mirror-symmetric discriminators and two generators, and an output layer, wherein the temporal network layer is a bidirectional GRU layer.
[0082] In an optional manner, the memory network layer is a recursive network composed of multiple Hopfield neural networks, and the multiple Hopfield neural networks are connected by a feedback factor function.
[0083] In an optional manner, the expression of the feedback factor function is:
[0084]
[0085] Among them, E is the network feedback factor; X(t) is the input vector of the network at time t; W is the weight matrix of the network; C is the constant vector; U(t) is the output vector of the network at time t.
[0086] In an optional manner, the gradient descent function of the mirror symmetric adversarial network model is:
[0087]
[0088] Among them, θ j is the jth weight, α′=α×E j ,J(θ j ) is the loss function, α is the learning rate, E j is the network feedback factor of the jth layer, := is the assignment symbol, is J(θ j ) for θ j The partial derivative of .
[0089] Figure 3 The schematic diagram of the structure of the computing device embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the computing device.
[0090] like Figure 3 As shown, the computing device may include: a processor (processor) 302 , a communication interface (Communications Interface) 304 , a memory (memory) 306 , and a communication bus 308 .
[0091] The processor 302, the communication interface 304, and the memory 306 communicate with each other via the communication bus 308. The communication interface 304 is used to communicate with other devices such as a client or other server network elements. The processor 302 is used to execute the program 310, which can specifically execute the relevant steps in the above-mentioned embodiment of the online control and adjustment method of the intelligent water purifier.
[0092] Specifically, the program 310 may include program codes, which include computer operation instructions.
[0093] The processor 302 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0094] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0095] According to the solution provided by the present invention, the operation data and filter cartridge status data of the intelligent water purifier are obtained, wherein the operation data includes the concentration of dissolved substances in water, the water output of the water purifier, the power consumption and the equipment temperature, and the filter cartridge status data includes the water quality current signal, the mineral concentration and the inlet and outlet pressure difference of the filter; the operation data and the filter cartridge status data are input into the mirror-symmetric adversarial network model to predict the remaining life of the filter cartridge, wherein the mirror-symmetric adversarial network model introduces a memory network layer; according to the remaining life of the filter cartridge and the operation data, the switch of the water purifier is automatically adjusted. The present invention can realize the input of cumulative vectors by introducing a memory network layer into the mirror-symmetric adversarial network model, thereby more accurately predicting the remaining life of the filter cartridge.
[0096] Those skilled in the art will appreciate that the modules in the devices in the embodiments can be adaptively changed and set in one or more devices different from the embodiments. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition they can be divided into multiple submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner can be combined in any combination. Unless otherwise explicitly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) can be replaced by an alternative feature that provides the same, equivalent or similar purpose. In addition, those skilled in the art will appreciate that although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments means being within the scope of the present invention and forming different embodiments. For example, in the following claims, any one of the claimed embodiments can be used in any combination. The present invention can be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several means, several of these means may be embodied by the same hardware item. The steps in the above embodiments should not be understood as limiting the execution order unless otherwise specified.
Claims
1. An online control and adjustment method for an intelligent water purifier, It is characterized in that include: Obtaining the operation data and filter status data of the intelligent water purifier, wherein the operation data includes the concentration of dissolved substances in water, the water output of the water purifier, the power consumption and the device temperature, and the filter status data includes the water quality current signal, the mineral concentration and the inlet and outlet pressure difference of the filter; Inputting the operation data and the filter element status data into a mirror symmetric adversarial network model to predict the remaining life of the filter element, wherein the mirror symmetric adversarial network model introduces a memory network layer; The switch component of the water purifier is automatically adjusted according to the remaining life of the filter element and the operating data.
2. According to claim 1, the online control and adjustment method of the intelligent water purifier, It is characterized in that The method further includes: when the remaining life of the filter element exceeds a set threshold, starting an early warning program.
3. The online control and adjustment method of the intelligent water purifier according to claim 1 or 2, It is characterized in that Before inputting the operating data and the filter element status data into the mirror symmetric adversarial network model, the attenuation characteristics of the operating data and the filter element status data are extracted, wherein the attenuation characteristics include impurity concentration, pressure difference, temperature, flow rate, current signal and mineral concentration.
4. The online control and adjustment method of the intelligent water purifier according to claim 1, It is characterized in that The memory network layer includes a memory storage layer, a memory update layer and a fusion layer; wherein the memory storage layer is used to store previous input information; the memory update layer is used to update the stored memory information according to the newly input information; and the fusion layer is used to fuse the memory information.
5. The online control and adjustment method of the intelligent water purifier according to claim 1 or 4, It is characterized in that The mirror-symmetric adversarial network model includes an input layer, a deconvolution residual network layer, a temporal network layer, two mirror-symmetric discriminators and two generators, and an output layer, wherein the temporal network layer is a bidirectional GRU layer.
6. The online control and adjustment method of the intelligent water purifier according to claim 4, It is characterized in that The memory network layer is a recursive network composed of multiple Hopfield neural networks, and the multiple Hopfield neural networks are connected through feedback factor functions.
7. The online control and adjustment method of the intelligent water purifier according to claim 6, It is characterized in that The expression of the feedback factor function is: Among them, E is the network feedback factor; X(t) is the input vector of the network at time t; W is the weight matrix of the network; C is the constant vector; U(t) is the output vector of the network at time t.
8. The online control and adjustment method of the intelligent water purifier according to claim 7, It is characterized in that The gradient descent function of the mirror symmetric adversarial network model is: Among them, θ j is the jth weight, α′=α×E j ,J(θ j ) is the loss function, α is the learning rate, E j is the network feedback factor of the jth layer, := is the assignment symbol, is J(θ j ) for θ j The partial derivative of .
9. An online control and adjustment device for an intelligent water purifier, It is characterized in that include: An acquisition module, used to acquire the operation data and filter status data of the intelligent water purifier, wherein the operation data includes the concentration of dissolved substances in water, the water output of the water purifier, the power consumption and the device temperature, and the filter status data includes the water quality current signal, the mineral concentration and the inlet and outlet pressure difference of the filter; A prediction module, used for inputting the operation data and the filter element status data into a mirror symmetric adversarial network model to predict the remaining life of the filter element, wherein the mirror symmetric adversarial network model introduces a memory network layer; The regulating module is used to automatically adjust the switch of the water purifier according to the remaining life of the filter element and the operating data.
10. A computing device, include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned intelligent water purifier online control and adjustment method.
Citation Information
Cited By
Water purifier filter element loss prediction method based on confrontation strategy
CN120387361A
A water purifier filter core loss prediction method based on an antagonistic strategy
CN120387361B
