EP4047124A1 - A method, apparatus, device, and storage medium for controlling a heating tube of a clothes dryer - Google Patents
A method, apparatus, device, and storage medium for controlling a heating tube of a clothes dryer Download PDFInfo
- Publication number
- EP4047124A1 EP4047124A1 EP22152726.0A EP22152726A EP4047124A1 EP 4047124 A1 EP4047124 A1 EP 4047124A1 EP 22152726 A EP22152726 A EP 22152726A EP 4047124 A1 EP4047124 A1 EP 4047124A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- control
- heating tube
- duration
- network
- parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F58/00—Domestic laundry dryers
- D06F58/32—Control of operations performed in domestic laundry dryers
- D06F58/34—Control of operations performed in domestic laundry dryers characterised by the purpose or target of the control
- D06F58/36—Control of operational steps, e.g. for optimisation or improvement of operational steps depending on the condition of the laundry
- D06F58/38—Control of operational steps, e.g. for optimisation or improvement of operational steps depending on the condition of the laundry of drying, e.g. to achieve the target humidity
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F58/00—Domestic laundry dryers
- D06F58/32—Control of operations performed in domestic laundry dryers
- D06F58/34—Control of operations performed in domestic laundry dryers characterised by the purpose or target of the control
- D06F58/46—Control of the operating time
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F34/00—Details of control systems for washing machines, washer-dryers or laundry dryers
- D06F34/04—Signal transfer or data transmission arrangements
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F58/00—Domestic laundry dryers
- D06F58/20—General details of domestic laundry dryers
- D06F58/26—Heating arrangements, e.g. gas heating equipment
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F58/00—Domestic laundry dryers
- D06F58/32—Control of operations performed in domestic laundry dryers
- D06F58/34—Control of operations performed in domestic laundry dryers characterised by the purpose or target of the control
- D06F58/36—Control of operational steps, e.g. for optimisation or improvement of operational steps depending on the condition of the laundry
- D06F58/38—Control of operational steps, e.g. for optimisation or improvement of operational steps depending on the condition of the laundry of drying, e.g. to achieve the target humidity
- D06F58/40—Control of the initial heating of the drying chamber to its operating temperature
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F2103/00—Parameters monitored or detected for the control of domestic laundry washing machines, washer-dryers or laundry dryers
- D06F2103/28—Air properties
- D06F2103/32—Temperature
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F2103/00—Parameters monitored or detected for the control of domestic laundry washing machines, washer-dryers or laundry dryers
- D06F2103/52—Parameters monitored or detected for the control of domestic laundry washing machines, washer-dryers or laundry dryers related to electric heating means, e.g. temperature or voltage
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F2105/00—Systems or parameters controlled or affected by the control systems of washing machines, washer-dryers or laundry dryers
- D06F2105/28—Electric heating
Definitions
- the present invention relates to the field of household appliance technologies, and in particular, to a method, an apparatus, and a device for controlling a heating tube in a clothes dryer, and a storage medium.
- each existing strategy for controlling a heating tube in a clothes dryer on the market is basically to use conventional proportional-integral-derivative (PID) control.
- PID proportional-integral-derivative
- An objective of the present invention is to provide an improved method, apparatus, and device for controlling a heating tube in a clothes dryer and a storage medium.
- the method for controlling a heating tube in a clothes dryer includes: obtaining a set temperature Ts and a detected temperature Tc of the heating tube; obtaining a temperature deviation parameter based on the set temperature Ts and the detected temperature Tc ; inputting the temperature deviation parameter into each of a first backpropagation (BP) network and a second BP network that are pre-trained, to obtain a first control parameter and a second control parameter of the heating tube, where the second control parameter includes a control threshold; obtaining a control quantity of the heating tube based on the first control parameter; and comparing the control quantity with the control threshold, and controlling turning on and off of the heating tube based on a comparison result.
- BP backpropagation
- the second control parameter includes a first duration n, a second duration ⁇ , a third duration ⁇ , and a fourth duration q
- the control threshold includes a maximum threshold Judgemax and a minimum threshold Judgemin
- the controlling turning on and off of the heating tube based on a comparison result includes: controlling the heating tube to be turned off and making an off duration thereof the first duration n when the control quantity is greater than or equal to the maximum threshold Judgemax; controlling the heating tube to be periodically turned on and off when the control quantity is less than the maximum threshold Judgemax and greater than the minimum threshold Judgemin, where in one period, an on duration is the second duration ⁇ and an off duration is the third duration ⁇ ; and controlling the heating tube to be turned on and making an on duration thereof the fourth duration q when the control quantity is less than or equal to the minimum threshold Judgemin.
- a deviation e(k) between the set temperature Ts and the detected temperature Tc in training sample data is used as an error, 1 2 e k 2 is used as a loss function, and the training is not stopped until the loss function is minimized, to obtain the first BP network and the second BP network that are trained.
- the first control parameter is a PID control parameter
- the control quantity is represented by a transfer function G(s) of PID control.
- the apparatus for controlling a heating tube in a clothes dryer includes: an obtaining module, configured to obtain a set temperature Ts and a detected temperature Tc of the heating tube; a first calculation module, configured to obtain a temperature deviation parameter based on the set temperature Ts and the detected temperature Tc; a BP network module, configured to input the temperature deviation parameter into each of a first BP network and a second BP network that are pre-trained, to obtain a first control parameter and a second control parameter of the heating tube, where the second control parameter includes a control threshold; a second calculation module, configured to obtain a control quantity of the heating tube based on the first control parameter; and a control module, configured to compare the control quantity with the control threshold, and control turning on and off of the heating tube based on a comparison result.
- control threshold includes a maximum threshold Judgemax and a minimum threshold Judgemin
- second control parameter includes a first duration n, a second duration ⁇ , a third duration ⁇ , and a fourth duration q
- control module is configured to: control the heating tube to be turned off and make an off duration thereof the first duration n when the control quantity is greater than or equal to the maximum threshold Judgemax; control the heating tube to be periodically turned on and off when the control quantity is less than the maximum threshold Judgemax and greater than the minimum threshold Judgemin, where in one period, an on duration is the second duration ⁇ and an off duration is the third duration ⁇ ; and control the heating tube to be turned on and make an on duration thereof the fourth duration q when the control quantity is less than or equal to the minimum threshold Judgemin.
- the BP network module is configured to train each of the first BP network and the second BP network; and during training of the first BP network and the second BP network, a deviation e(k) between the set temperature Ts and the detected temperature Tc in training sample data is used as an error, 1 2 e k 2 is used as a loss function, and the training is not stopped until the loss function is minimized, to obtain the first BP network and the second BP network that are trained.
- the device for controlling a heating tube in a clothes dryer provided in the embodiments of the present invention includes: a processor; and a memory, storing a computer program executable on the processor, where when the computer program is executed by the processor, the method for controlling a heating tube in a clothes dryer provided in the embodiments of the present invention is implemented.
- the embodiments of the present invention further provide a computer-readable storage medium.
- the computer-readable storage medium stores a computer program, where when the computer program is executed, the method for controlling a heating tube in a clothes dryer provided in the embodiments of the present invention is implemented.
- the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer can balance the stability and accuracy of a control action.
- the control action is strengthened in order to improve the accuracy of the control action and reduce an error, the stability of the control action is not to be reduced.
- the control action is restricted in order to ensure the stability of the control action, the accuracy of the control action is not to be reduced either.
- the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer can realize accurate and thermostatic control over the temperature of the heating tube by the clothes dryer during drying. In this way, the operation efficiency of the clothes dryer can be improved, and dried items can be effectively protected.
- the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer has a strong adaptability, which can not only be applied to clothes dryers of different models, but also automatically regulate control parameters based on the clothes dryers of different models.
- the PID control used for a heating tube of a clothes dryer cannot resolve the contradiction between the stability and accuracy, and cannot achieve the optimal control effect either.
- the present invention provides an improved method, apparatus, and device for controlling a heating tube in a clothes dryer and a storage medium.
- the method for controlling a heating tube in a clothes dryer provided in embodiments of the present invention includes: obtaining a set temperature Ts and a detected temperature Tc of the heating tube; obtaining a temperature deviation parameter based on the set temperature Ts and the detected temperature Tc ; inputting the temperature deviation parameter into each of a first BP network and a second BP network that are pre-trained, to obtain a first control parameter and a second control parameter of the heating tube, where the second control parameter includes a control threshold; obtaining a control quantity of the heating tube based on the first control parameter; and comparing the control quantity with the control threshold, and controlling turning on and off of the heating tube based on a comparison result.
- the technical solutions of the embodiments of the present invention have the following beneficial effects.
- the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer can balance the stability and accuracy of a control action.
- the control action is strengthened in order to improve the accuracy of the control action and reduce an error, the stability of the control action is not to be reduced.
- the control action is restricted in order to ensure the stability of the control action, the accuracy of the control action is not to be reduced either.
- the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer can realize accurate and thermostatic control over the temperature of the heating tube by the clothes dryer during drying.
- the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer has a strong adaptability, which can not only be applied to clothes dryers of different models, but also automatically regulate control parameters based on the clothes dryers of different models.
- FIG. 1 is a schematic structural diagram of a clothes dryer according to an embodiment of the present invention.
- the clothes dryer 100 may include a tub 110, a drum 120 rotatably mounted in the tub 110, and an airflow duct 130 located between the tub 110 and the drum 120.
- the drum 120 is suitable for receiving items (not shown in the figure) to dry the items.
- Both ends of the airflow duct 130 are separately in communication with an internal space 121 of the drum 120, to form a drying loop 140 between the airflow duct 130 and the internal space 121 of the drum 120.
- the airflow duct 130 may include a heat exchange section 131 and a heating section 132 in communication with each other.
- the heat exchange section 131 is provided with a condenser 151 and a fan 152
- the heating section 132 is provided with a heating tube 153.
- the condenser 151 is configured to cool air entering the heat exchange section 131
- the fan 152 is configured to generate airflow in the drying loop 140
- the heating tube 153 is configured to heat air entering the heating section 132.
- the condenser 151, the fan 152, and the heating tube 153 are turned on. Hot and wet air in the internal space 121 of the drum 120 enters the heat exchange section 131 of the airflow duct 130 under the action of the fan 152, and is cooled by the condenser 151 to form cold air in the heat exchange section 131. The cold air further enters the heating section 132 under the action of the fan 152, and is heated into hot air under the action of the heating tube 153. The hot air enters the internal space 121 of the drum 120 under the action of the fan 152, and exchanges heat with items in the internal space 121 to form hot and wet air. Such a cycle is repeated to dry the items.
- the clothes dryer 100 further includes a temperature sensor suitable for collecting a drying temperature during execution of the drying process.
- the temperature sensor is suitable for collecting a heating temperature of the heating tube 153, or collecting a drying temperature of the hot air entering the internal space 121 of the drum 120 during execution of the drying process.
- the clothes dryer 100 may include an integrated washer dryer and an independent clothes drying device.
- the clothes dryer 100 may be provided with one heating tube 153, or may be provided with at least two heating tubes 153.
- FIG. 2 is a schematic flowchart of a method for controlling a heating tube in a clothes dryer according to an embodiment of the present invention.
- the method for controlling a heating tube in a clothes dryer may include the following steps:
- a set temperature and a detected temperature of a heating tube 153 may be obtained during execution of a drying process.
- the detected temperature is a heating temperature of the heating tube 153 collected by a temperature sensor in a clothes dryer 100, or a drying temperature of hot air entering an internal space 121 of a drum 120.
- the set temperature is a preset temperature in the drying process.
- the clothes dryer 100 may be a water-cooled clothes dryer, or may be an air-cooled clothes dryer.
- a set temperature of a heating tube 153 thereof may be set within a range greater than or equal to 90°C and less than or equal to 110°C.
- a set temperature of a heating tube 153 thereof may be adjusted according to seasons. In summer, the set temperature of the heating tube 153 may be set to about 70°C. In winter, the set temperature of the heating tube 153 may be set to about 60°C.
- set temperatures of clothes dryers 100 of different models are different.
- the set temperature of the heating tube 153 may be represented as Ts, and the detected temperature of the heating tube 153 may be represented as Tc.
- a temperature deviation parameter may be obtained based on the set temperature Ts and the detected temperature Tc of the heating tube 153.
- the temperature deviation parameter may include a first temperature deviation parameter, a second temperature deviation parameter, and a third temperature deviation parameter.
- the temperature deviation parameter may be inputted into each of a first BP network (that is, a backpropagation neural network) and a second BP network that are pre-trained, to obtain a first control parameter and a second control parameter of the heating tube 153.
- the first control parameter is obtained through the first BP network
- the second control parameter is obtained through the second BP network.
- the first control parameter may include a PID control parameter.
- the PID control parameter may include a proportional coefficient Kp, an integral coefficient Ki, and a derivative coefficient Kd of the deviation e(k) between the set temperature Ts and the detected temperature Tc of the heating tube at the moment t.
- the first BP network may be constructed based on input (that is, the temperature deviation parameter) and output (that is, the first control parameter) thereof.
- FIG. 3 is a schematic diagram of a structure of a first BP network according to an embodiment of the present invention.
- the first BP network 200 may include an input layer 210, a hidden layer 220, and an output layer 230 connected in sequence.
- the output layer 230 includes three neurons respectively corresponding to the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k) .
- a quantity of neurons in the hidden layer 220 may be obtained based on the Kolmogorov theorem or any known common knowledge or existing technical means in the art.
- the quantity of the neurons in the hidden layer 220 of the first BP network 200 is obtained by using the Kolmogorov theorem, and is specifically seven.
- the hidden layer 220 may use a Sigmoid function as an activation function
- the output layer 230 may use a non-negative Sigmoid function as an activation function.
- the PID control parameter may alternatively be a fractional-order PI ⁇ D ⁇ control parameter (the fractional-order PI ⁇ D ⁇ theory was proposed by Professor Podlubny based on a combination of the fractional-order calculus theory and the PID tuning theory), and the use of the PI ⁇ D ⁇ control parameter can obtain better control performance compared with the use of the conventional PID control parameter (that is, the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k)).
- the PID control parameter may include the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k) of the heating tube at the moment t, any real number ⁇ , and any real number ⁇ .
- a first BP network different from that in the example shown in FIG. 3 may be constructed.
- FIG. 4 is a schematic diagram of another structure of a first BP network according to an embodiment of the present invention.
- the first BP network 300 may include an input layer 310, a hidden layer 320, and an output layer 330 connected in sequence.
- the output layer 330 includes five neurons respectively corresponding to the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k) , any real number ⁇ , and any real number ⁇ .
- a quantity of neurons in the hidden layer 320 of the first BP network 300 may also be obtained based on the Kolmogorov theorem or any known common knowledge or existing technical means in the art.
- the quantity of the neurons in the hidden layer 320 of the first BP network 300 is obtained by using the Kolmogorov theorem, and is specifically seven.
- the hidden layer 320 of the first BP network 300 may also use a Sigmoid function as an activation function, and the output layer 330 thereof may also use a non-negative Sigmoid function as an activation function.
- training sample data may be used to train the first BP network to obtain a trained first BP network. Training of the first BP network is described in the subsequent part of this specification.
- the first control parameter includes the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k) of the heating tube at the moment t.
- the first control parameter includes the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k) of the heating tube at the moment t, any real number ⁇ , and any real number ⁇ .
- a control quantity of the heating tube 153 may be obtained based on the first control parameter.
- control quantity of the heating tube 153 may be represented by a transfer function G(s) of PID control.
- the second control parameter may include a control threshold.
- the second BP network may be constructed based on input (that is, the temperature deviation parameter) and output (that is, the second control parameter) thereof.
- the second BP network may also include an input layer, a hidden layer, and an output layer connected in sequence.
- a quantity of neurons in the output layer may be a quantity of parameters of the control threshold.
- a quantity of neurons in the hidden layer of the second BP network may also be obtained based on the Kolmogorov theorem or any known common knowledge or existing technical means in the art.
- the hidden layer of the second BP network may also use a Sigmoid function as an activation function
- the output layer may also use a non-negative Sigmoid function as an activation function
- training sample data may be used to train the second BP network to obtain a trained second BP network.
- step S5 the control quantity G(s) of the heating tube 153 may be compared with the control threshold, and turning on and off of the heating tube 153 may be controlled based on a comparison result.
- control threshold may be a single parameter.
- an on control signal may be generated to control the heating tube 153 to be turned on.
- an off control signal may be generated to control the heating tube 153 to be turned off.
- the control threshold may include two parameters that are respectively a maximum threshold and a minimum threshold.
- a first control signal may be generated to control the heating tube 153 to be turned on.
- a second control signal may be generated to control the heating tube 153 to be periodically turned on and off.
- a third control signal may be generated to control the heating tube 153 to be turned off.
- the second control parameter may further include a first duration, a second duration, a third duration, and a fourth duration, and the controlling turning on and off of the heating tube 153 based on a comparison result described in step S5 may include:
- the maximum threshold may be represented as Judgemax
- the minimum threshold may be represented as Judgemin
- the first duration may be represented as n
- the second duration may be represented as ⁇
- the third duration may be represented as ⁇
- the fourth duration may be represented as q.
- the six parameters that is, the second control parameter
- the six parameters are all used as the output of the second BP network.
- the second BP network may be constructed based on the input (that is, the temperature deviation parameter) and the output (that is, the second control parameter) thereof.
- FIG. 5 is a schematic diagram of a structure of a second BP network according to an embodiment of the present invention.
- the second BP network 400 may include an input layer 410, a hidden layer 420, and an output layer 430 connected in sequence.
- the output layer 430 includes six neurons respectively corresponding to the maximum threshold Judgemax, the minimum threshold Judgemin, the first duration n, the second duration ⁇ , the third duration ⁇ , and the fourth duration q.
- a quantity of neurons in the hidden layer 420 of the second BP network 400 may also be obtained based on the Kolmogorov theorem or any known common knowledge or existing technical means in the art.
- the quantity of the neurons in the hidden layer 420 of the second BP network 400 is obtained by using the Kolmogorov theorem, and is specifically seven.
- the hidden layer 420 of the second BP network 400 may also use a Sigmoid function as an activation function, and the output layer 430 thereof may also use a non-negative Sigmoid function as an activation function.
- training sample data may be used to train the second BP network to optimize a weight and a bias of the second BP network 400 and obtain a trained second BP network 400.
- control quantity G(s) of the heating tube 153 may be compared with the maximum threshold Judgemax and the minimum threshold Judgemin, and the heating tube 153 may be controlled to be turned on or off based on a comparison result and the first duration n, the second duration ⁇ , the third duration ⁇ , and the fourth duration q.
- FIG. 6 is a schematic principle diagram of a method for controlling a heating tube in a clothes dryer according to an embodiment of the present invention. Training of a first BP network and a second BP network is described below with reference to FIG. 6 .
- the first BP network 300 shown in FIG. 4 is used as an example of the first BP network
- the second BP network 400 shown in FIG. 5 is used as an example of the second BP network.
- training sample data suitable for training the first BP network 300 and the second BP network 400 may include the set temperature Ts , the detected temperature Tc , and the on and off control signals of the heating tube 153.
- the training sample data may be obtained based on the clothes dryers 100 of different models, so as to train the first BP network 300 and the second BP network 400 for each of the clothes dryers 100 of different models. In this way, the heating tube 153 in the clothes dryer 100 of each model can be accurately controlled.
- noise reduction and filtering may be performed on the training sample data first, and the training sample data after processing is then labeled based on the model of the clothes dryer 100 and the set temperature Ts, to obtain labeled final training sample data.
- noise reduction, the filtering, and the labeling of the training sample data may be implemented by using common knowledge or existing technical means in the art, which are not described in detail herein.
- the first BP network 300 and the second BP network 400 may be trained based on the final training sample data.
- the embodiments of the present invention make no limitation on the selection of a specific algorithm, as long as the algorithm can optimize the parameters of the first BP network 300 and the second BP network 400 such as the weights ⁇ , the learning rates ⁇ , and the inertial rates ⁇ .
- a genetic algorithm may be used to optimize the parameters of the first BP network 300 and the second BP network 400 such as the weights ⁇ , the learning rates ⁇ , and the inertial rates ⁇ .
- the deviation e(k) between the set temperature Ts and the detected temperature Tc in the final training sample data is used as an error, 1 2 e k 2 is used as a loss function, and the training is not stopped until the loss function is minimized, to obtain the trained first BP network 300.
- the deviation e(k) between the set temperature Ts and the detected temperature Tc in the final training sample data is used as an error
- 1 2 e k 2 is used as a loss function, and the training is not stopped until the loss function is minimized, to obtain the trained second BP network 400.
- the method for controlling the heating tube 153 in the clothes dryer 100 provided in the embodiments of the present invention needs to be implemented based on the first control parameter and the second control parameter; and the first control parameter is obtained based on the first BP network 300, and the second control parameter is obtained based on the second BP network 400.
- the training of both the first BP network 300 and the second BP network 400 uses the deviation e(k) between the set temperature Ts and the detected temperature Tc in the training sample data as the error, and uses 1 2 e k 2 as the loss function. Therefore, the training of the first BP network 300 and the second BP network 400 needs to be carried out simultaneously.
- the training of the first BP network 300 and the second BP network 400 may be implemented in a same training process, the training of the first BP network 300 and the second BP network 400 cannot be split, and the training of the first BP network 300 and the second BP network 400 cannot be carried out separately or independently.
- FIG. 7 is a principle block diagram of an apparatus for controlling a heating tube in a clothes dryer according to an embodiment of the present invention.
- the apparatus 500 for controlling a heating tube 153 in a clothes dryer 100 includes an obtaining module 510, a first calculation module 520, a BP network module 530, a second calculation module 540, and a control module 550.
- the obtaining module 510 is configured to obtain a set temperature Ts and a detected temperature Tc of the heating tube 153 when the clothes dryer 100 executes a drying process;
- the first calculation module 520 is configured to obtain a temperature deviation parameter based on the set temperature Ts and the detected temperature Tc ;
- the BP network module 530 is configured to input the temperature deviation parameter into each of a first BP network and a second BP network that are pre-trained, to obtain a first control parameter and a second control parameter of the heating tube 153, where the second control parameter includes a control threshold;
- the second calculation module 540 is configured to obtain a control quantity G(s) of the heating tube 153 based on the first control parameter;
- the control module 550 is configured to compare the control quantity G(s) with the control threshold, and control turning on and off of the heating tube 153 based on a comparison result.
- control threshold may include a maximum threshold Judgemax and a minimum threshold Judgemin
- second control parameter may further include a first duration n, a second duration ⁇ , a third duration ⁇ , and a fourth duration q
- control module 550 may be configured to:
- the BP network module 530 is further configured to separately train the first BP network and the second BP network; and during training of the first BP network and the second BP network, a deviation e(k) between the set temperature Ts and the detected temperature Tc in training sample data is used as an error, 1 2 e k 2 is used as a loss function, and the training is not stopped until the loss function is minimized, to obtain the first BP network and the second BP network that are trained.
- the obtaining module 510, the first calculation module 520, the BP network module 530, the second calculation module 540, and the control module 550 may all be implemented based on the technical solutions of the method for controlling a heating tube in a clothes dryer disclosed in the embodiments of the present invention.
- the embodiments of the present invention further provide a device for controlling a heating tube in a clothes dryer.
- the device includes a processor and a memory, the memory storing a computer program executable on the processor, where when the computer program is executed by the processor, the method for controlling a heating tube in a clothes dryer disclosed in the embodiments of the present invention is implemented.
- the clothes dryer 100 provided in the embodiments of the present invention may further include a control apparatus 160.
- control apparatus 160 may include the foregoing processor and memory.
- the processor may be connected to electrical components such as the heating tube 153, and is suitable for controlling the electrical components such as the heating tube 153 to work when executing the foregoing computer program.
- the embodiments of the present invention further provide a computer-readable storage medium.
- the computer-readable storage medium stores a computer program, where when the computer program is executed, the method for controlling a heating tube in a clothes dryer disclosed in the embodiments of the present invention is implemented.
Abstract
The present invention provides an improved method, apparatus, and device for controlling a heating tube in a clothes dryer and a storage medium. The method for controlling a heating tube in a clothes dryer includes: obtaining a set temperature Ts and a detected temperature Tc of the heating tube; obtaining a temperature deviation parameter based on the set temperature Ts and the detected temperature Tc; inputting the temperature deviation parameter into each of a first BP network and a second BP network that are pre-trained, to obtain a first control parameter and a second control parameter of the heating tube, where the second control parameter includes a control threshold; obtaining a control quantity of the heating tube based on the first control parameter; and comparing the control quantity with the control threshold, and controlling turning on and off of the heating tube based on a comparison result. In the present invention, the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer can balance the stability and accuracy of a control action, can realize accurate and thermostatic control over the temperature of the heating tube by the clothes dryer during drying, and has a strong adaptability.
Description
- The present invention relates to the field of household appliance technologies, and in particular, to a method, an apparatus, and a device for controlling a heating tube in a clothes dryer, and a storage medium.
- At present, each existing strategy for controlling a heating tube in a clothes dryer on the market is basically to use conventional proportional-integral-derivative (PID) control.
- However, the PID control is actually a compromise among proportional, integral, and derivative control actions, which cannot resolve the contradiction between the stability and accuracy, and cannot achieve the optimal control effect either.
- An objective of the present invention is to provide an improved method, apparatus, and device for controlling a heating tube in a clothes dryer and a storage medium.
- The method for controlling a heating tube in a clothes dryer provided in embodiments of the present invention includes: obtaining a set temperature Ts and a detected temperature Tc of the heating tube; obtaining a temperature deviation parameter based on the set temperature Ts and the detected temperature Tc; inputting the temperature deviation parameter into each of a first backpropagation (BP) network and a second BP network that are pre-trained, to obtain a first control parameter and a second control parameter of the heating tube, where the second control parameter includes a control threshold; obtaining a control quantity of the heating tube based on the first control parameter; and comparing the control quantity with the control threshold, and controlling turning on and off of the heating tube based on a comparison result.
- Optionally, the second control parameter includes a first duration n, a second duration ε, a third duration ∈, and a fourth duration q, the control threshold includes a maximum threshold Judgemax and a minimum threshold Judgemin, and the controlling turning on and off of the heating tube based on a comparison result includes: controlling the heating tube to be turned off and making an off duration thereof the first duration n when the control quantity is greater than or equal to the maximum threshold Judgemax; controlling the heating tube to be periodically turned on and off when the control quantity is less than the maximum threshold Judgemax and greater than the minimum threshold Judgemin, where in one period, an on duration is the second duration ε and an off duration is the third duration ∈; and controlling the heating tube to be turned on and making an on duration thereof the fourth duration q when the control quantity is less than or equal to the minimum threshold Judgemin.
- Optionally, during training of the first BP network and the second BP network, a deviation e(k) between the set temperature Ts and the detected temperature Tc in training sample data is used as an error,
- Optionally, the temperature deviation parameter includes: a first temperature deviation parameter x1 = e(k), a second temperature deviation parameter x2 = e(k-1), and a third temperature deviation parameter x3 = e(k) - e(k-1), where e(k) represents a deviation between the set temperature Ts and the detected temperature Tc of the heating tube at a moment t, and e(k-1) represents a deviation between the set temperature Ts and the detected temperature Tc of the heating tube at a moment (t-1).
- Optionally, the first control parameter is a PID control parameter, and the control quantity is represented by a transfer function G(s) of PID control.
-
-
- The apparatus for controlling a heating tube in a clothes dryer provided in the embodiments of the present invention includes: an obtaining module, configured to obtain a set temperature Ts and a detected temperature Tc of the heating tube; a first calculation module, configured to obtain a temperature deviation parameter based on the set temperature Ts and the detected temperature Tc; a BP network module, configured to input the temperature deviation parameter into each of a first BP network and a second BP network that are pre-trained, to obtain a first control parameter and a second control parameter of the heating tube, where the second control parameter includes a control threshold; a second calculation module, configured to obtain a control quantity of the heating tube based on the first control parameter; and a control module, configured to compare the control quantity with the control threshold, and control turning on and off of the heating tube based on a comparison result.
- Optionally, the control threshold includes a maximum threshold Judgemax and a minimum threshold Judgemin, the second control parameter includes a first duration n, a second duration ε, a third duration ∈, and a fourth duration q, and the control module is configured to: control the heating tube to be turned off and make an off duration thereof the first duration n when the control quantity is greater than or equal to the maximum threshold Judgemax; control the heating tube to be periodically turned on and off when the control quantity is less than the maximum threshold Judgemax and greater than the minimum threshold Judgemin, where in one period, an on duration is the second duration ε and an off duration is the third duration ∈; and control the heating tube to be turned on and make an on duration thereof the fourth duration q when the control quantity is less than or equal to the minimum threshold Judgemin.
- Optionally, the BP network module is configured to train each of the first BP network and the second BP network; and during training of the first BP network and the second BP network, a deviation e(k) between the set temperature Ts and the detected temperature Tc in training sample data is used as an error,
- The device for controlling a heating tube in a clothes dryer provided in the embodiments of the present invention includes: a processor; and a memory, storing a computer program executable on the processor, where when the computer program is executed by the processor, the method for controlling a heating tube in a clothes dryer provided in the embodiments of the present invention is implemented.
- The embodiments of the present invention further provide a computer-readable storage medium. The computer-readable storage medium stores a computer program, where when the computer program is executed, the method for controlling a heating tube in a clothes dryer provided in the embodiments of the present invention is implemented.
- Compared with the related art, the technical solutions of the embodiments of the present invention have the following beneficial effects.
- For example, the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer can balance the stability and accuracy of a control action. When the control action is strengthened in order to improve the accuracy of the control action and reduce an error, the stability of the control action is not to be reduced. When the control action is restricted in order to ensure the stability of the control action, the accuracy of the control action is not to be reduced either.
- In another example, the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer can realize accurate and thermostatic control over the temperature of the heating tube by the clothes dryer during drying. In this way, the operation efficiency of the clothes dryer can be improved, and dried items can be effectively protected.
- In another example, the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer has a strong adaptability, which can not only be applied to clothes dryers of different models, but also automatically regulate control parameters based on the clothes dryers of different models.
- Other features of the present invention are to be presented in claims, accompanying drawings, and the description of the accompanying drawings. The features and combination of features described in the foregoing description and the features and combination of features described in the following description of the accompanying drawings and/or briefly shown in the accompanying drawings may be respectively presented in the described combination manner, or may be presented in other combinations or separately without departing from the scope of the present invention. Therefore, embodiments that are not described in the present invention and not shown in detail in the accompanying drawings but may be conceived from the embodiments described in detail and may be obtained from the combination of the features should be considered as being included and disclosed.
-
FIG. 1 is a schematic structural diagram of a clothes dryer according to an embodiment of the present invention; -
FIG. 2 is a schematic flowchart of a method for controlling a heating tube in a clothes dryer according to an embodiment of the present invention; -
FIG. 3 is a schematic diagram of a structure of a first BP network according to an embodiment of the present invention; -
FIG. 4 is a schematic diagram of another structure of a first BP network according to an embodiment of the present invention; -
FIG. 5 is a schematic diagram of a structure of a second BP network according to an embodiment of the present invention; -
FIG. 6 is a schematic principle diagram of a method for controlling a heating tube in a clothes dryer according to an embodiment of the present invention; and -
FIG. 7 is a principle block diagram of an apparatus for controlling a heating tube in a clothes dryer according to an embodiment of the present invention. - In the related art, the PID control used for a heating tube of a clothes dryer cannot resolve the contradiction between the stability and accuracy, and cannot achieve the optimal control effect either.
- Different from the related art, the present invention provides an improved method, apparatus, and device for controlling a heating tube in a clothes dryer and a storage medium. The method for controlling a heating tube in a clothes dryer provided in embodiments of the present invention includes: obtaining a set temperature Ts and a detected temperature Tc of the heating tube; obtaining a temperature deviation parameter based on the set temperature Ts and the detected temperature Tc; inputting the temperature deviation parameter into each of a first BP network and a second BP network that are pre-trained, to obtain a first control parameter and a second control parameter of the heating tube, where the second control parameter includes a control threshold; obtaining a control quantity of the heating tube based on the first control parameter; and comparing the control quantity with the control threshold, and controlling turning on and off of the heating tube based on a comparison result.
- Compared with the related art, the technical solutions of the embodiments of the present invention have the following beneficial effects. For example, the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer can balance the stability and accuracy of a control action. When the control action is strengthened in order to improve the accuracy of the control action and reduce an error, the stability of the control action is not to be reduced. When the control action is restricted in order to ensure the stability of the control action, the accuracy of the control action is not to be reduced either. In another example, the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer can realize accurate and thermostatic control over the temperature of the heating tube by the clothes dryer during drying. In this way, the operation efficiency of the clothes dryer can be improved, and dried items can be effectively protected. In another example, the combination of the BP networks and the PID control theory to control the heating tube in the clothes dryer has a strong adaptability, which can not only be applied to clothes dryers of different models, but also automatically regulate control parameters based on the clothes dryers of different models.
- To make the objectives, features, and beneficial effects of the embodiments of the present invention more comprehensible, the specific embodiments of the present invention are described in detail with reference to the accompanying drawings.
-
FIG. 1 is a schematic structural diagram of a clothes dryer according to an embodiment of the present invention. - Referring to
FIG. 1 , theclothes dryer 100 may include atub 110, adrum 120 rotatably mounted in thetub 110, and anairflow duct 130 located between thetub 110 and thedrum 120. Thedrum 120 is suitable for receiving items (not shown in the figure) to dry the items. Both ends of theairflow duct 130 are separately in communication with aninternal space 121 of thedrum 120, to form adrying loop 140 between theairflow duct 130 and theinternal space 121 of thedrum 120. - Specifically, the
airflow duct 130 may include aheat exchange section 131 and aheating section 132 in communication with each other. Theheat exchange section 131 is provided with acondenser 151 and afan 152, and theheating section 132 is provided with aheating tube 153. Thecondenser 151 is configured to cool air entering theheat exchange section 131, thefan 152 is configured to generate airflow in thedrying loop 140, and theheating tube 153 is configured to heat air entering theheating section 132. - When the
clothes dryer 100 executes a drying process, thecondenser 151, thefan 152, and theheating tube 153 are turned on. Hot and wet air in theinternal space 121 of thedrum 120 enters theheat exchange section 131 of theairflow duct 130 under the action of thefan 152, and is cooled by thecondenser 151 to form cold air in theheat exchange section 131. The cold air further enters theheating section 132 under the action of thefan 152, and is heated into hot air under the action of theheating tube 153. The hot air enters theinternal space 121 of thedrum 120 under the action of thefan 152, and exchanges heat with items in theinternal space 121 to form hot and wet air. Such a cycle is repeated to dry the items. - In a specific implementation, the
clothes dryer 100 further includes a temperature sensor suitable for collecting a drying temperature during execution of the drying process. - Specifically, the temperature sensor is suitable for collecting a heating temperature of the
heating tube 153, or collecting a drying temperature of the hot air entering theinternal space 121 of thedrum 120 during execution of the drying process. - In a specific implementation, the
clothes dryer 100 may include an integrated washer dryer and an independent clothes drying device. In a specific implementation, theclothes dryer 100 may be provided with oneheating tube 153, or may be provided with at least twoheating tubes 153. -
FIG. 2 is a schematic flowchart of a method for controlling a heating tube in a clothes dryer according to an embodiment of the present invention. - Referring to
FIG. 2 , the method for controlling a heating tube in a clothes dryer provided in the embodiments of the present invention may include the following steps: - S1: Obtain a set temperature and a detected temperature of the heating tube.
- S2: Obtain a temperature deviation parameter based on the set temperature and the detected temperature.
- S3: Input the temperature deviation parameter into each of a first BP network and a second BP network that are pre-trained, to obtain a first control parameter and a second control parameter of the heating tube, where the second control parameter includes a control threshold.
- S4: Obtain a control quantity of the heating tube based on the first control parameter.
- S5: Compare the control quantity with the control threshold, and control turning on and off of the heating tube based on a comparison result.
- As for step S1, a set temperature and a detected temperature of a
heating tube 153 may be obtained during execution of a drying process. The detected temperature is a heating temperature of theheating tube 153 collected by a temperature sensor in aclothes dryer 100, or a drying temperature of hot air entering aninternal space 121 of adrum 120. The set temperature is a preset temperature in the drying process. - In a specific implementation, the
clothes dryer 100 may be a water-cooled clothes dryer, or may be an air-cooled clothes dryer. For a water-cooledclothes dryer 100, a set temperature of aheating tube 153 thereof may be set within a range greater than or equal to 90°C and less than or equal to 110°C. For an air-cooledclothes dryer 100, a set temperature of aheating tube 153 thereof may be adjusted according to seasons. In summer, the set temperature of theheating tube 153 may be set to about 70°C. In winter, the set temperature of theheating tube 153 may be set to about 60°C. - In a specific implementation, set temperatures of
clothes dryers 100 of different models are different. - In a specific implementation, the set temperature of the
heating tube 153 may be represented as Ts, and the detected temperature of theheating tube 153 may be represented as Tc. - As for step S2, a temperature deviation parameter may be obtained based on the set temperature Ts and the detected temperature Tc of the
heating tube 153. - In a specific implementation, the temperature deviation parameter may include a first temperature deviation parameter, a second temperature deviation parameter, and a third temperature deviation parameter.
- Specifically, the first temperature deviation parameter may be x1 = e(k), the second temperature deviation parameter may be x2 = e(k-1), and the third temperature deviation parameter may be x3 = e(k) - e(k-1), where e(k) represents a deviation between the set temperature Ts and the detected temperature Tc of the
heating tube 153 at a moment t, and e(k-1) represents a deviation between the set temperature Ts and the detected temperature Tc of theheating tube 153 at a moment (t-1). - As for step S3, the temperature deviation parameter may be inputted into each of a first BP network (that is, a backpropagation neural network) and a second BP network that are pre-trained, to obtain a first control parameter and a second control parameter of the
heating tube 153. The first control parameter is obtained through the first BP network, and the second control parameter is obtained through the second BP network. - In a specific implementation, the first control parameter may include a PID control parameter.
- In some embodiments, the PID control parameter may include a proportional coefficient Kp, an integral coefficient Ki, and a derivative coefficient Kd of the deviation e(k) between the set temperature Ts and the detected temperature Tc of the heating tube at the moment t.
- In a specific implementation, the first BP network may be constructed based on input (that is, the temperature deviation parameter) and output (that is, the first control parameter) thereof.
-
FIG. 3 is a schematic diagram of a structure of a first BP network according to an embodiment of the present invention. - Referring to
FIG. 3 , thefirst BP network 200 may include aninput layer 210, ahidden layer 220, and anoutput layer 230 connected in sequence. Theinput layer 210 includes three neurons respectively corresponding to the first temperature deviation parameter x1 = e(k), the second temperature deviation parameter x2 = e(k-1), and the third temperature deviation parameter x3 = e(k) - e(k-1). Theoutput layer 230 includes three neurons respectively corresponding to the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k). - In a specific implementation, a quantity of neurons in the hidden
layer 220 may be obtained based on the Kolmogorov theorem or any known common knowledge or existing technical means in the art. - In an example shown in
FIG. 3 , the quantity of the neurons in the hiddenlayer 220 of thefirst BP network 200 is obtained by using the Kolmogorov theorem, and is specifically seven. - In a specific implementation, the hidden
layer 220 may use a Sigmoid function as an activation function, and theoutput layer 230 may use a non-negative Sigmoid function as an activation function. - In some other embodiments, the PID control parameter may alternatively be a fractional-order PIαDβ control parameter (the fractional-order PIαDβ theory was proposed by Professor Podlubny based on a combination of the fractional-order calculus theory and the PID tuning theory), and the use of the PIαDβ control parameter can obtain better control performance compared with the use of the conventional PID control parameter (that is, the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k)).
- Specifically, the PID control parameter may include the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k) of the heating tube at the moment t, any real number α, and any real number β. In this way, a first BP network different from that in the example shown in
FIG. 3 may be constructed. -
FIG. 4 is a schematic diagram of another structure of a first BP network according to an embodiment of the present invention. - Referring to
FIG. 4 , thefirst BP network 300 may include aninput layer 310, ahidden layer 320, and anoutput layer 330 connected in sequence. Theinput layer 310 includes three neurons respectively corresponding to the first temperature deviation parameter x1 = e(k), the second temperature deviation parameter x2 = e(k-1), and the third temperature deviation parameter x3 = e(k) - e(k-1). Theoutput layer 330 includes five neurons respectively corresponding to the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k), any real number α, and any real number β. - In a specific implementation, a quantity of neurons in the hidden
layer 320 of thefirst BP network 300 may also be obtained based on the Kolmogorov theorem or any known common knowledge or existing technical means in the art. - In an example shown in
FIG. 4 , the quantity of the neurons in the hiddenlayer 320 of thefirst BP network 300 is obtained by using the Kolmogorov theorem, and is specifically seven. - In a specific implementation, the hidden
layer 320 of thefirst BP network 300 may also use a Sigmoid function as an activation function, and theoutput layer 330 thereof may also use a non-negative Sigmoid function as an activation function. - After the first BP network is constructed, training sample data may be used to train the first BP network to obtain a trained first BP network. Training of the first BP network is described in the subsequent part of this specification.
- In the embodiments of the present invention, the first temperature deviation parameter x1 = e(k), the second temperature deviation parameter x2 = e(k-1), and the third temperature deviation parameter x3 = e(k) - e(k-1) may be inputted into the pre-trained first BP network, to obtain the first control parameter of the
heating tube 153. - In some embodiments, the first control parameter includes the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k) of the heating tube at the moment t.
- In some other embodiments, the first control parameter includes the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k) of the heating tube at the moment t, any real number α, and any real numberβ.
- As for step S4, a control quantity of the
heating tube 153 may be obtained based on the first control parameter. - In a specific implementation, the control quantity of the
heating tube 153 may be represented by a transfer function G(s) of PID control. -
- When the first control parameter includes the proportional coefficient Kp, the integral coefficient Ki, and the derivative coefficient Kd of the deviation e(k) of the heating tube at the moment t, any real number α, and any real number β, the control quantity of the
heating tube 153 may be represented as: - In some embodiments, the second control parameter may include a control threshold.
- In a specific implementation, the second BP network may be constructed based on input (that is, the temperature deviation parameter) and output (that is, the second control parameter) thereof.
- In a specific implementation, the second BP network may also include an input layer, a hidden layer, and an output layer connected in sequence. The input layer includes three neurons respectively corresponding to the first temperature deviation parameter x1 = e(k), the second temperature deviation parameter x2 = e(k-1), and the third temperature deviation parameter x3 = e(k) - e(k-1). A quantity of neurons in the output layer may be a quantity of parameters of the control threshold.
- In a specific implementation, a quantity of neurons in the hidden layer of the second BP network may also be obtained based on the Kolmogorov theorem or any known common knowledge or existing technical means in the art.
- In a specific implementation, the hidden layer of the second BP network may also use a Sigmoid function as an activation function, and the output layer may also use a non-negative Sigmoid function as an activation function.
- After the second BP network is constructed, training sample data may be used to train the second BP network to obtain a trained second BP network.
- In the embodiments of the present invention, the first temperature deviation parameter x1 = e(k), the second temperature deviation parameter x2 = e(k-1), and the third temperature deviation parameter x3 = e(k) - e(k-1) may be inputted into the pre-trained second BP network, to obtain the second control parameter of the
heating tube 153, including the control threshold. - As for step S5, the control quantity G(s) of the
heating tube 153 may be compared with the control threshold, and turning on and off of theheating tube 153 may be controlled based on a comparison result. - In some embodiments, the control threshold may be a single parameter. When the control quantity G(s) of the
heating tube 153 is greater than or equal to the control threshold, an on control signal may be generated to control theheating tube 153 to be turned on. When the control quantity G(s) of theheating tube 153 is less than the control threshold, an off control signal may be generated to control theheating tube 153 to be turned off. - In some other embodiments, the control threshold may include two parameters that are respectively a maximum threshold and a minimum threshold. When the control quantity G(s) of the
heating tube 153 is greater than or equal to the maximum threshold, a first control signal may be generated to control theheating tube 153 to be turned on. When the control quantity G(s) of theheating tube 153 is less than the maximum threshold and greater than the minimum threshold, a second control signal may be generated to control theheating tube 153 to be periodically turned on and off. When the control quantity G(s) of theheating tube 153 is less than or equal to the minimum threshold, a third control signal may be generated to control theheating tube 153 to be turned off. - In a specific implementation, the second control parameter may further include a first duration, a second duration, a third duration, and a fourth duration, and the controlling turning on and off of the
heating tube 153 based on a comparison result described in step S5 may include: - controlling the
heating tube 153 to be turned off and making an off duration thereof the first duration when the control quantity G(s) of theheating tube 153 is greater than or equal to the maximum threshold; - controlling the
heating tube 153 to be periodically turned on and off when the control quantity G(s) of theheating tube 153 is less than the maximum threshold and greater than the minimum threshold, where in one period, an on duration is the second duration and an off duration is the third duration; and - controlling the
heating tube 153 to be turned on and making an on duration thereof the fourth duration when the control quantity G(s) of theheating tube 153 is less than or equal to the minimum threshold. - In a specific implementation, the maximum threshold may be represented as Judgemax, the minimum threshold may be represented as Judgemin, the first duration may be represented as n, the second duration may be represented as ε, the third duration may be represented as ∈, and the fourth duration may be represented as q. In addition, the six parameters (that is, the second control parameter) are all used as the output of the second BP network.
- In a specific implementation, the second BP network may be constructed based on the input (that is, the temperature deviation parameter) and the output (that is, the second control parameter) thereof.
-
FIG. 5 is a schematic diagram of a structure of a second BP network according to an embodiment of the present invention. - Referring to
FIG. 5 , thesecond BP network 400 may include aninput layer 410, ahidden layer 420, and anoutput layer 430 connected in sequence. Theinput layer 410 includes three neurons respectively corresponding to the first temperature deviation parameter x1 = e(k), the second temperature deviation parameter x2 = e(k-1), and the third temperature deviation parameter x3 = e(k) - e(k-1). Theoutput layer 430 includes six neurons respectively corresponding to the maximum threshold Judgemax, the minimum threshold Judgemin, the first duration n, the second duration ε, the third duration ∈, and the fourth duration q. - In a specific implementation, a quantity of neurons in the hidden
layer 420 of thesecond BP network 400 may also be obtained based on the Kolmogorov theorem or any known common knowledge or existing technical means in the art. - In an example shown in
FIG. 5 , the quantity of the neurons in the hiddenlayer 420 of thesecond BP network 400 is obtained by using the Kolmogorov theorem, and is specifically seven. - In a specific implementation, the hidden
layer 420 of thesecond BP network 400 may also use a Sigmoid function as an activation function, and theoutput layer 430 thereof may also use a non-negative Sigmoid function as an activation function. - After the
second BP network 400 is constructed, training sample data may be used to train the second BP network to optimize a weight and a bias of thesecond BP network 400 and obtain a trainedsecond BP network 400. - In the embodiments of the present invention, the first temperature deviation parameter x1 = e(k), the second temperature deviation parameter x2 = e(k-1), and the third temperature deviation parameter x3 = e(k) - e(k-1) may be inputted into the pre-trained
second BP network 400, to obtain the second control parameter of theheating tube 153, including the maximum threshold Judgemax, the minimum threshold Judgemin, the first duration n, the second duration ε, the third duration ∈, and the fourth duration q. - In a specific implementation of step S5, the control quantity G(s) of the
heating tube 153 may be compared with the maximum threshold Judgemax and the minimum threshold Judgemin, and theheating tube 153 may be controlled to be turned on or off based on a comparison result and the first duration n, the second duration ε, the third duration ∈, and the fourth duration q. -
FIG. 6 is a schematic principle diagram of a method for controlling a heating tube in a clothes dryer according to an embodiment of the present invention. Training of a first BP network and a second BP network is described below with reference toFIG. 6 . Thefirst BP network 300 shown inFIG. 4 is used as an example of the first BP network, and thesecond BP network 400 shown inFIG. 5 is used as an example of the second BP network. - In a specific implementation, training sample data suitable for training the
first BP network 300 and thesecond BP network 400 may include the set temperature Ts, the detected temperature Tc, and the on and off control signals of theheating tube 153. - In a specific implementation, the training sample data may be obtained based on the
clothes dryers 100 of different models, so as to train thefirst BP network 300 and thesecond BP network 400 for each of theclothes dryers 100 of different models. In this way, theheating tube 153 in theclothes dryer 100 of each model can be accurately controlled. - In a specific implementation, noise reduction and filtering may be performed on the training sample data first, and the training sample data after processing is then labeled based on the model of the
clothes dryer 100 and the set temperature Ts, to obtain labeled final training sample data. - The noise reduction, the filtering, and the labeling of the training sample data may be implemented by using common knowledge or existing technical means in the art, which are not described in detail herein.
- In a specific implementation, the
first BP network 300 and thesecond BP network 400 may be trained based on the final training sample data. - During the training, common knowledge or existing algorithms in the art may be used to optimize parameters of the
first BP network 300 and thesecond BP network 400 such as weights ω, learning rates ρ, and inertial rates α. The embodiments of the present invention make no limitation on the selection of a specific algorithm, as long as the algorithm can optimize the parameters of thefirst BP network 300 and thesecond BP network 400 such as the weights ω, the learning rates ρ, and the inertial rates α. - For example, a genetic algorithm may be used to optimize the parameters of the
first BP network 300 and thesecond BP network 400 such as the weights ω, the learning rates ρ, and the inertial rates α. - In some embodiments, when the genetic algorithm is used to optimize the
first BP network 300, the learning rate ρ = 0.26 and the inertial rate α = 0.05 of thefirst BP network 300 can be obtained. - During the training of the
first BP network 300, the deviation e(k) between the set temperature Ts and the detected temperature Tc in the final training sample data is used as an error,first BP network 300. - During the training of the
second BP network 400, similarly, the deviation e(k) between the set temperature Ts and the detected temperature Tc in the final training sample data is used as an error,second BP network 400. - The method for controlling the
heating tube 153 in theclothes dryer 100 provided in the embodiments of the present invention needs to be implemented based on the first control parameter and the second control parameter; and the first control parameter is obtained based on thefirst BP network 300, and the second control parameter is obtained based on thesecond BP network 400. In addition, the training of both thefirst BP network 300 and thesecond BP network 400 uses the deviation e(k) between the set temperature Ts and the detected temperature Tc in the training sample data as the error, and usesfirst BP network 300 and thesecond BP network 400 needs to be carried out simultaneously. That is, the training of thefirst BP network 300 and thesecond BP network 400 may be implemented in a same training process, the training of thefirst BP network 300 and thesecond BP network 400 cannot be split, and the training of thefirst BP network 300 and thesecond BP network 400 cannot be carried out separately or independently. -
FIG. 7 is a principle block diagram of an apparatus for controlling a heating tube in a clothes dryer according to an embodiment of the present invention. - Referring to
FIG. 7 , theapparatus 500 for controlling aheating tube 153 in aclothes dryer 100 includes an obtainingmodule 510, afirst calculation module 520, aBP network module 530, asecond calculation module 540, and acontrol module 550. - Specifically, the obtaining
module 510 is configured to obtain a set temperature Ts and a detected temperature Tc of theheating tube 153 when theclothes dryer 100 executes a drying process; thefirst calculation module 520 is configured to obtain a temperature deviation parameter based on the set temperature Ts and the detected temperature Tc; theBP network module 530 is configured to input the temperature deviation parameter into each of a first BP network and a second BP network that are pre-trained, to obtain a first control parameter and a second control parameter of theheating tube 153, where the second control parameter includes a control threshold; thesecond calculation module 540 is configured to obtain a control quantity G(s) of theheating tube 153 based on the first control parameter; and thecontrol module 550 is configured to compare the control quantity G(s) with the control threshold, and control turning on and off of theheating tube 153 based on a comparison result. - In some embodiments, the control threshold may include a maximum threshold Judgemax and a minimum threshold Judgemin, the second control parameter may further include a first duration n, a second duration ε, a third duration ∈, and a fourth duration q, and the
control module 550 may be configured to: - control the
heating tube 153 to be turned off and make an off duration thereof n when G(s) ≥ Judgemax; - control the
heating tube 153 to be periodically turned on and off when Judgemax > G(s) > Judgemin, where in one period, an on duration is ε and an off duration is ∈; and - control the
heating tube 153 to be turned on and make an on duration thereof q when G(s)≤Judgemin. - In some embodiments, the
BP network module 530 is further configured to separately train the first BP network and the second BP network; and during training of the first BP network and the second BP network, a deviation e(k) between the set temperature Ts and the detected temperature Tc in training sample data is used as an error, - In a specific implementation, the obtaining
module 510, thefirst calculation module 520, theBP network module 530, thesecond calculation module 540, and thecontrol module 550 may all be implemented based on the technical solutions of the method for controlling a heating tube in a clothes dryer disclosed in the embodiments of the present invention. - The embodiments of the present invention further provide a device for controlling a heating tube in a clothes dryer. The device includes a processor and a memory, the memory storing a computer program executable on the processor, where when the computer program is executed by the processor, the method for controlling a heating tube in a clothes dryer disclosed in the embodiments of the present invention is implemented.
- Further referring to
FIG. 1 , theclothes dryer 100 provided in the embodiments of the present invention may further include acontrol apparatus 160. - Specifically, the
control apparatus 160 may include the foregoing processor and memory. The processor may be connected to electrical components such as theheating tube 153, and is suitable for controlling the electrical components such as theheating tube 153 to work when executing the foregoing computer program. - The embodiments of the present invention further provide a computer-readable storage medium. The computer-readable storage medium stores a computer program, where when the computer program is executed, the method for controlling a heating tube in a clothes dryer disclosed in the embodiments of the present invention is implemented.
- Although specific implementations are described above, the implementations are not intended to limit the scope disclosed in the present invention, even if only a single implementation is described relative to a specific feature. The feature examples provided in the present invention are intended to be illustrative rather than limiting, unless different expressions are made. During specific implementation, according to an actual requirement, in a technically feasible case, the technical features of one or more dependent claims may be combined with the technical features of the independent claims, and the technical features from the corresponding independent claims may be combined in any appropriate way instead of using just specific combinations listed in the claims.
- Although the present invention is disclosed above, the present invention is not limited thereto. A person skilled in the art can make various changes and modifications without departing from the spirit and the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the scope defined by the claims.
Claims (12)
- A method for controlling a heating tube (153) in a clothes dryer (100), characterized by comprising:obtaining a set temperature Ts and a detected temperature Tc of the heating tube (153);obtaining a temperature deviation parameter based on the set temperature Ts and the detected temperature Tc;inputting the temperature deviation parameter into each of a first backpropagation (BP) network (200, 300) and a second BP network (400) that are pre-trained, to obtain a first control parameter and a second control parameter of the heating tube (153), wherein the second control parameter comprises a control threshold;obtaining a control quantity of the heating tube (153) based on the first control parameter; andcomparing the control quantity with the control threshold, and controlling turning on and off of the heating tube (153) based on a comparison result.
- The method according to claim 1, characterized in that the second control parameter comprises a first duration n, a second duration ε, a third duration ∈, and a fourth duration q, the control threshold comprises a maximum threshold Judgemax and a minimum threshold Judgemin, and the controlling turning on and off of the heating tube (153) based on a comparison result comprises:controlling the heating tube (153) to be turned off and making an off duration thereof the first duration n when the control quantity is greater than or equal to the maximum threshold Judgemax;controlling the heating tube (153) to be periodically turned on and off when the control quantity is less than the maximum threshold Judgemax and greater than the minimum threshold Judgemin, wherein in one period, an on duration is the second duration ε and an off duration is the third duration ∈; andcontrolling the heating tube (153) to be turned on and making an on duration thereof the fourth duration q when the control quantity is less than or equal to the minimum threshold Judgemin.
- The method according to claim 1 or 2, characterized in that during training of the first BP network (200, 300) and the second BP network (400), a deviation e(k) between the set temperature Ts and the detected temperature Tc in training sample data is used as an error,
- The method according to claim 1 or 2, characterized in that the temperature deviation parameter comprises: a first temperature deviation parameter x1 = e(k), a second temperature deviation parameter x2 = e(k-1), and a third temperature deviation parameter x3 = e(k) - e(k-1), wherein e(k) represents a deviation between the set temperature Ts and the detected temperature Tc of the heating tube (153) at a moment t, and e(k-1) represents a deviation between the set temperature Ts and the detected temperature Tc of the heating tube (153) at a moment (t-1).
- The method according to claim 4, characterized in that the first control parameter is a proportional-integral-derivative (PID) control parameter, and the control quantity is represented by a transfer function G(s) of PID control.
- The method according to claim 5, characterized in that the PID control parameter comprises a proportional coefficient Kp, an integral coefficient Ki, and a derivative coefficient Kd of the deviation e(k) of the heating tube (153) at the moment t, any real number α, and any real number β; and
the control quantity is: - An apparatus (500) for controlling a heating tube (153) in a clothes dryer (100), characterized by comprising:an obtaining module (510), configured to obtain a set temperature Ts and a detected temperature Tc of the heating tube (153);a first calculation module (520), configured to obtain a temperature deviation parameter based on the set temperature Ts and the detected temperature Tc;a backpropagation (BP) network module (530), configured to input the temperature deviation parameter into each of a first BP network (200, 300) and a second BP network (400) that are pre-trained, to obtain a first control parameter and a second control parameter of the heating tube (153), wherein the second control parameter comprises a control threshold;a second calculation module (540), configured to obtain a control quantity of the heating tube (153) based on the first control parameter; anda control module (550), configured to compare the control quantity with the control threshold, and control turning on and off of the heating tube (153) based on a comparison result.
- The apparatus (500) according to claim 8, characterized in that the control threshold comprises a maximum threshold Judgemax and a minimum threshold Judgemin, the second control parameter comprises a first duration n, a second duration ε, a third duration ∈, and a fourth duration q, and the control module (550) is configured to:control the heating tube (153) to be turned off and make an off duration thereof the first duration n when the control quantity is greater than or equal to the maximum threshold Judgemax;control the heating tube (153) to be periodically turned on and off when the control quantity is less than the maximum threshold Judgemax and greater than the minimum threshold Judgemin, wherein in one period, an on duration is the second duration ε and an off duration is the third duration ∈; andcontrol the heating tube (153) to be turned on and make an on duration thereof the fourth duration q when the control quantity is less than or equal to the minimum threshold Judgemin.
- The apparatus according to claim 8, characterized in that the BP network module (530) is configured to train each of the first BP network (200, 300) and the second BP network (400); and during training of the first BP network (200, 300) and the second BP network (400), a deviation e(k) between the set temperature Ts and the detected temperature Tc in training sample data is used as an error,
- A device for controlling a heating tube (153) in a clothes dryer (100), characterized by comprising:a processor; anda memory, storing a computer program executable on the processor,wherein when the computer program is executed by the processor, the method according to any one of claims 1 to 7 is implemented.
- A computer-readable storage medium, storing a computer program, characterized in that when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110189847.9A CN114960152A (en) | 2021-02-18 | 2021-02-18 | Method, device, equipment and storage medium for controlling heating pipe in clothes dryer |
Publications (1)
Publication Number | Publication Date |
---|---|
EP4047124A1 true EP4047124A1 (en) | 2022-08-24 |
Family
ID=80113534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP22152726.0A Withdrawn EP4047124A1 (en) | 2021-02-18 | 2022-01-21 | A method, apparatus, device, and storage medium for controlling a heating tube of a clothes dryer |
Country Status (2)
Country | Link |
---|---|
EP (1) | EP4047124A1 (en) |
CN (1) | CN114960152A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0029810A1 (en) * | 1979-11-27 | 1981-06-03 | Maschinenfabrik Ad. Schulthess & Co.AG. | Method and device for regulating the temperature in a dryer, particularly a clothes dryer |
DE19918877A1 (en) * | 1999-04-26 | 2000-11-02 | Bsh Bosch Siemens Hausgeraete | Procedure for estimating the load and drying time in household tumble dryers before the drying process |
EP3034669A1 (en) * | 2014-12-15 | 2016-06-22 | Samsung Electronics Co., Ltd. | Washing machine having drying function and method for controlling the same |
CN105734941A (en) * | 2014-12-09 | 2016-07-06 | 西安众智惠泽光电科技有限公司 | Drying temperature intelligent control system for clothes dryer |
US20200002873A1 (en) * | 2019-08-09 | 2020-01-02 | Lg Electronics Inc. | Artificial intelligence laundry drying machine |
US20200087847A1 (en) * | 2019-08-21 | 2020-03-19 | Lg Electronics Inc. | Method and apparatus for drying laundry using intelligent washer |
CN111012061A (en) * | 2019-11-19 | 2020-04-17 | 中国南玻集团股份有限公司 | Heating cabinet |
-
2021
- 2021-02-18 CN CN202110189847.9A patent/CN114960152A/en active Pending
-
2022
- 2022-01-21 EP EP22152726.0A patent/EP4047124A1/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0029810A1 (en) * | 1979-11-27 | 1981-06-03 | Maschinenfabrik Ad. Schulthess & Co.AG. | Method and device for regulating the temperature in a dryer, particularly a clothes dryer |
DE19918877A1 (en) * | 1999-04-26 | 2000-11-02 | Bsh Bosch Siemens Hausgeraete | Procedure for estimating the load and drying time in household tumble dryers before the drying process |
CN105734941A (en) * | 2014-12-09 | 2016-07-06 | 西安众智惠泽光电科技有限公司 | Drying temperature intelligent control system for clothes dryer |
EP3034669A1 (en) * | 2014-12-15 | 2016-06-22 | Samsung Electronics Co., Ltd. | Washing machine having drying function and method for controlling the same |
US20200002873A1 (en) * | 2019-08-09 | 2020-01-02 | Lg Electronics Inc. | Artificial intelligence laundry drying machine |
US20200087847A1 (en) * | 2019-08-21 | 2020-03-19 | Lg Electronics Inc. | Method and apparatus for drying laundry using intelligent washer |
CN111012061A (en) * | 2019-11-19 | 2020-04-17 | 中国南玻集团股份有限公司 | Heating cabinet |
Also Published As
Publication number | Publication date |
---|---|
CN114960152A (en) | 2022-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3556956B2 (en) | System identification device and method | |
Papageorgiou et al. | A new hybrid method using evolutionary algorithms to train fuzzy cognitive maps | |
CA2232038A1 (en) | System and method for predicting the dryness of clothing articles | |
CN113110082B (en) | Method and device for controlling household appliance and household appliance | |
US20200004278A1 (en) | Clothes treating apparatus and method for operating the clothes treating apparatus | |
CN109143870A (en) | A kind of control method of multiple target task | |
EP4047124A1 (en) | A method, apparatus, device, and storage medium for controlling a heating tube of a clothes dryer | |
WO2022178954A1 (en) | Drying control method and apparatus, and clothes processing device and storage medium | |
CN109023878A (en) | Laundry drier control method, device, dryer and readable storage medium storing program for executing | |
Zhang et al. | Improved disturbance observer-based fixed-time adaptive neural network consensus tracking for nonlinear multi-agent systems | |
CN110707973A (en) | Method and system for rapidly searching efficiency optimal point of permanent magnet synchronous motor | |
Ma et al. | Adaptive consensus of uncertain switched nonlinear multi-agent systems under sensor deception attacks | |
He et al. | Resilient operation of DC microgrid against FDI attack: A GRU based framework | |
WO2023005574A1 (en) | Laundry treatment device, method and apparatus for determining load volume thereof, and storage medium | |
Zhao et al. | Neural modeling of vapor compression refrigeration cycle with extreme learning machine | |
CN113622147B (en) | Laundry treating apparatus, control method and device thereof, and storage medium | |
CN113622150A (en) | Clothes treatment equipment, control method and device thereof, and storage medium | |
CN112779720A (en) | Control method and device of washing machine, storage medium and processor | |
CN113139606A (en) | Heating and ventilation fan fault detection method and system based on artificial intelligence algorithm | |
Luo et al. | ANFIS modeling of the PMV thermal comfort index based on prior knowledge | |
Feng et al. | Model detection and estimation for varying coefficient panel data models with fixed effects | |
CN117236181A (en) | DQN-based data center water-cooling unit energy consumption optimization method and system | |
Elmetennani et al. | New fuzzy approximate model for indirect adaptive control of distributed solar collectors | |
Hweju et al. | Genetic Algorithm Based Optimization of Crop Driers: A Review | |
Azab | Tuning of a PID controller in a switching regulator using particle swarm optimization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN PUBLISHED |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN |
|
18D | Application deemed to be withdrawn |
Effective date: 20230225 |