A method for optimizing energy-saving and ecological dyeing and finishing of fabrics and its application in dyeing and finishing processes

By optimizing the dyeing parameters through intermittent heating management and T-S fuzzy model, combined with the neural network decision-making algorithm, the problems of temperature instability and difficulty in adjusting the dye formula in the traditional fabric dyeing and finishing process have been solved, an efficient and environmentally friendly dyeing process has been achieved, and the dyeing efficiency has been improved. Accuracy and energy efficiency.

CN118461337BActive Publication Date: 2024-10-18ZHEJIANG KINGSAFE INTERLINING
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410910790.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-18
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

The traditional fabric dyeing and finishing process lacks precise temperature control and dye formula adjustment, resulting in temperature instability, energy waste and poor dyeing results. The lack of real-time monitoring and adjustment leads to dye waste and environmental pollution.

Method used

Intermittent heating management and T-S fuzzy model are used to optimize dyeing parameters, combined with a spectrophotometer to monitor dye concentration in real time, dynamically adjust the dye dosage and dyeing time, and optimize the heater status through a neural network decision-making algorithm to ensure that the temperature is controlled within the preset range. .

Benefits of technology

It improves energy utilization efficiency, reduces dye and energy waste, ensures dyeing accuracy and stability, reduces production costs, and improves environmental protection and production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118461337B_ABST
    Figure CN118461337B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for optimizing energy-saving and ecological dyeing and finishing of fabrics and its application in dyeing and finishing processes, which is used in the field of fabric processing control. The method comprises the following steps: cleaning and desizing the fabrics and sending them to a spin-drying chamber; presetting a temperature range of the spin-drying chamber, and using intermittent heating for thermal management based on the preset temperature range of the spin-drying chamber; sending the dried fabrics to a dyeing chamber, presetting a dye formula, and optimizing the dyeing parameters of the dyeing formula through a T-S fuzzy model; sending the dyed fabrics to an automated cleaning device for cleaning, sending the cleaned fabrics to a drying chamber, presetting a temperature range of the drying chamber, and drying the fabrics in the drying chamber; transporting the dried fabrics to a flattening device through an automatic conveying device for fabric flattening. The present invention significantly improves the quality, efficiency and environmental protection of fabric processing and dyeing processes, and achieves higher production and ecological benefits.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of fabric processing control, and in particular to a fabric energy-saving and ecological dyeing and finishing optimization method and its application in dyeing and finishing processes. Background Art

[0002] Cloth refers to fabrics made from fibers through a certain process. According to different production processes and uses, cloth can be divided into various types, such as cotton, linen, silk, wool, synthetic fiber cloth, etc.

[0003] Energy-saving ecological dyeing and finishing of fabrics is a fabric processing technology that integrates the concepts of environmental protection and energy conservation. It includes multiple steps such as dyeing, finishing, and cleaning of textiles. Its core goal is to minimize the consumption of energy and resources, reduce the emission of harmful substances, and have the smallest possible negative impact on the environment while ensuring product quality and process effects.

[0004] The purpose of optimizing the energy-saving ecological dyeing and finishing of fabrics is to improve the energy and resource utilization efficiency of the dyeing and finishing process through scientific and technological means, reduce pollutant emissions, and achieve sustainable production. Its purpose is to reduce the consumption of electricity, fuel and other energy required in the dyeing and finishing process by optimizing process parameters and using high-efficiency equipment, and to improve resource utilization efficiency through energy saving and consumption reduction, thereby reducing production costs and enhancing the market competitiveness of enterprises.

[0005] Traditional drying room temperature control systems often lack precise temperature control, and are prone to over-high or over-low temperatures, resulting in unstable fabric processing quality. Traditional continuous heating methods are prone to energy waste and low energy efficiency. During the dyeing process, existing technologies are often unable to accurately adjust the dye formula according to fabric type and color requirements, resulting in color matching errors and poor dyeing effects. There is a lack of real-time monitoring and adjustment in the control of dye input and dyeing time, which easily leads to dye waste and environmental pollution.

[0006] Currently, no effective solution has been proposed for the problems in the related technologies. Summary of the invention

[0007] In order to overcome the above problems, the present invention aims to propose a fabric energy-saving and ecological dyeing and finishing optimization method and its application in the dyeing and finishing process, with the aim of solving the problem that the prior art is often unable to accurately adjust the dye formula according to the fabric type and color requirements, resulting in color matching errors, poor dyeing effects, lack of real-time monitoring and adjustment in the control of dye input and dyeing time, and easily causing dye waste and environmental pollution.

[0008] To this end, the specific technical solution adopted by the present invention is as follows:

[0009] According to one aspect of the present invention, a method for optimizing energy-saving and ecological dyeing and finishing of fabrics is provided, and the method for optimizing energy-saving and ecological dyeing and finishing of fabrics comprises the following steps:

[0010] S1, washing and desizing the fabric and sending it to the drying room;

[0011] S2, presetting a temperature range of the drying chamber, and using intermittent heating to perform thermal management based on the preset temperature range of the drying chamber;

[0012] S3, sending the dried fabric to the dyeing room, presetting the dye formula, and optimizing the dyeing parameters of the dyeing formula through the TS fuzzy model, while using a spectrophotometer to monitor the dye concentration online;

[0013] S4, sending the dyed fabric to an automated cleaning device for cleaning, sending the cleaned fabric to a drying room, presetting a temperature range for the drying room, and drying the fabric in the drying room;

[0014] S5, transporting the dried fabric to a flattening device through an automatic conveying device to flatten the fabric, and transporting the flattened fabric to a preset location for storage;

[0015] The dried fabric is sent to the dyeing room, the dye formula is preset, and the dyeing parameters of the dyeing formula are optimized by the TS fuzzy model. At the same time, the dye concentration is monitored online by a spectrophotometer, which includes the following steps:

[0016] S31, using a conveyor belt to transport the dried fabric to the entrance of the dyeing room;

[0017] S32, identifying the type of fabric and obtaining the color requirement of the fabric;

[0018] S33, presetting dye formula according to fabric type and color requirements;

[0019] S34, normalizing the dye formula into fuzzy input variables;

[0020] S35, setting fuzzy control rules for dyeing time and dye concentration based on TS fuzzy model;

[0021] S36, performing fuzzy reasoning according to the fuzzy control rules and the fuzzy input variables to obtain specific values ​​of dyeing time and dye concentration, and taking the specific values ​​as actual values ​​of the dyeing formula;

[0022] S37, using a spectrophotometer to monitor the dye concentration in the dye solution in real time;

[0023] S38. If the dye concentration monitored in real time deviates from the preset value, the dye feeding amount and dyeing time are adjusted according to the TS fuzzy model, and the dyeing process of the fabric is completed.

[0024] Optionally, presetting a temperature interval of the drying chamber, and performing thermal management by intermittent heating based on the preset temperature interval of the drying chamber includes the following steps:

[0025] S21, initializing the parameters of the decision-making neural network and the value evaluation neural network;

[0026] S22, presetting the initial temperature of the drying chamber, the initial state of the heater and the target temperature range;

[0027] S23, using the initialized decision-making neural network parameters, selecting the optimal heater action according to the temperature of the drying chamber and the heater state;

[0028] S24, executing the selected heater action in the drying chamber, observing and recording the new temperature and the new heater state in the drying chamber after the action is executed;

[0029] S25, calculating a reward value according to the new temperature of the drying chamber and the heater state;

[0030] S26, using the value evaluation neural network parameters to evaluate the reward value, and storing the current state, action, reward and new state into the experience replay pool;

[0031] S27, regularly updating the target decision-making neural network parameters and the target value evaluation neural network parameters, and tracking the parameter changes of the current decision-making neural network parameters and the value evaluation neural network parameters;

[0032] S28, updating the current state as the observed new state, and determining whether the new state satisfies the preset training termination condition;

[0033] If the termination condition is not met, return to step S23;

[0034] If the termination condition is met, the thermal management process ends.

[0035] Optionally, according to the new temperature of the drying chamber and the heater state, calculating the reward value comprises the following steps:

[0036] S251, determining a temperature control range of the drying chamber according to a preset target temperature range;

[0037] S252, calculating the deviation between the current temperature of the drying chamber and the target temperature range, and recording the energy consumption of the heater during the execution of the current action;

[0038] S253, defining a reward function based on the temperature deviation and the recorded energy consumption;

[0039] S254, using the defined reward function, calculating the reward value of the current action;

[0040] Among them, the formula for calculating the reward value of the current action is:

[0041] ;

[0042] In the formula, Indicates the reward value;

[0043] represents the weight of temperature deviation;

[0044] Indicates the current temperature;

[0045] Indicates the target temperature;

[0046] represents the weight of energy consumption;

[0047] Indicates heater power;

[0048] Indicates the heating time.

[0049] Optionally, evaluating the reward value using the value evaluation neural network parameters and storing the current state, action, reward, and new state into the experience replay pool comprises the following steps:

[0050] S261, extracting samples including current state, action, reward and new state from the experience replay pool;

[0051] S262, in the sample, evaluate the neural network using the new state and the target value, and calculate the target Q value;

[0052] S263, based on the current state, action and calculated target Q value, update the value assessment neural network parameters using the gradient descent method;

[0053] S264, based on the current state and value evaluation neural network, calculate the policy gradient of the decision-making neural network;

[0054] S265, using policy gradient, using gradient ascent method to update the parameters of the decision-making neural network;

[0055] S266, storing the current state, action, reward and new state into the experience replay pool;

[0056] Among them, the formula for calculating the policy gradient responsible for decision-making neural network is:

[0057] ;

[0058] In the formula, represents the policy gradient of the decision-making neural network;

[0059] Represents the parameters of the neural network responsible for decision making;

[0060] represents the number of samples extracted from the experience replay pool;

[0061] It represents the rate of change of Q value of action a under given state s;

[0062] s represents a given state;

[0063] a indicates action;

[0064] si represents the i-th state extracted from the experience replay pool;

[0065] π(si) represents the action in state si selected according to the current strategy π;

[0066] Indicates that under a given state s, the output action of the policy network is parameterized The rate of change.

[0067] Optionally, performing fuzzy reasoning according to fuzzy control rules and fuzzy input variables to obtain specific values ​​of dyeing time and dye concentration, and taking the specific values ​​as actual values ​​of the dyeing formula includes the following steps:

[0068] S361, obtaining fuzzy input variables;

[0069] S362, using a preset fuzzy membership function, converting the dyeing parameters in the dye formula into fuzzy membership values;

[0070] S363, based on the TS fuzzy model, using the set fuzzy control rules to perform fuzzy reasoning and calculate the output value of the fuzzy control rules;

[0071] S364, calculating the weighted average of the output values ​​in the fuzzy control rules according to the membership values ​​of all fuzzy rules;

[0072] S365. The weighted average value is taken as the actual value of the dye formula.

[0073] Optionally, based on the TS fuzzy model, fuzzy reasoning is performed using a set fuzzy control rule, and the output value of the fuzzy control rule is calculated, including the following steps:

[0074] S3631. According to the TS fuzzy model, the set fuzzy control rules are applied to match the corresponding fuzzy rules for each input fuzzy input variable;

[0075] S3632. Calculate the output value of each fuzzy control rule according to the matched fuzzy rules;

[0076] S3633. Calculate the membership value of each rule, and weight the output value according to the membership value.

[0077] Optionally, the formula for calculating the membership value of each rule is:

[0078] ;

[0079] In the formula, Indicates the coloring time in the fuzzy input variable In the fuzzy set The degree of membership in ;

[0080] Represents the dye concentration in the fuzzy input variable In the fuzzy set The degree of membership in ;

[0081] Represents the membership value of each fuzzy control rule.

[0082] Optionally, calculating the weighted average of the output values ​​in the fuzzy control rules according to the membership values ​​of all fuzzy rules includes the following steps:

[0083] S3641, adding up the weighted output values ​​of all fuzzy control rules to obtain the sum of the weighted output values ​​of all fuzzy control rules;

[0084] S3642, adding the membership values ​​of all fuzzy control rules to obtain the sum of the membership values ​​of all fuzzy control rules;

[0085] S3643, dividing the sum of the weighted output values ​​of all fuzzy control rules by the sum of the membership values ​​of all fuzzy control rules to obtain a final weighted average output value;

[0086] S3644. Use the final weighted average output value as the final output value.

[0087] Optionally, real-time monitoring of the dye concentration in the dye solution using a spectrophotometer comprises the following steps:

[0088] S371, take a sufficient amount of dye solution sample and remove suspended particles;

[0089] S372, setting the absorbance mode and detection wavelength on the spectrophotometer, and calibrating using pure solvent;

[0090] S373, placing the dye solution sample into the sample pool, reading and recording the absorbance value, and taking the average value of multiple measurements;

[0091] S374, setting a measurement interval, automatically reading and recording the absorbance value of the dye solution sample, and calculating the dye concentration based on it, while recording the change in dye solution concentration;

[0092] S375, analyzing the dye solution concentration change data and drawing a curve chart showing the concentration change over time, and adjusting the dye solution formula according to the real-time monitoring results.

[0093] According to another aspect of the present invention, a method for optimizing energy-saving and ecological dyeing and finishing of fabrics is provided for application in dyeing and finishing processes.

[0094] Compared with the prior art, this application has the following beneficial effects:

[0095] 1. The preset temperature range of the drying chamber of the present invention can meet the needs of fabric processing, ensure that the processing is carried out within an appropriate temperature range, avoid the problems that may be caused by too high or too low temperature, and flexibly control the working state of the heater according to actual needs through intermittent heating management, avoid the energy waste that may be caused by continuous heating, improve energy utilization efficiency, and be beneficial to energy conservation and emission reduction. The neural network decision algorithm is used to dynamically adjust the working state of the heater according to the real-time monitored drying chamber temperature and heater state, keep the drying chamber temperature fluctuating within a preset range, ensure that the processing process is stable and meets the requirements, and continuously learn and optimize the heating management strategy through the calculation of the reward value and the update of the value evaluation neural network, so that the whole process can achieve better energy efficiency and efficiency while ensuring quality, and realize continuous optimization and improvement.

[0096] 2. The present invention utilizes a method for identifying fabric types and color requirements to ensure the use of a correct dye formula, improve dyeing accuracy, and avoid color matching errors. The dyeing parameters are set based on the TS fuzzy model, and can be precisely controlled under complex and changeable dyeing conditions to optimize the dyeing effect. The dye concentration is monitored in real time using a spectrophotometer, and the dye dosage and dyeing time are dynamically adjusted according to the monitoring data to ensure the consistency and stability of the dyeing quality. Through fuzzy control and real-time monitoring, the waste of dyes and energy is reduced, resource utilization is improved, and production costs are reduced. According to the actual dyeing situation, the dyeing parameters are dynamically adjusted using a fuzzy model, which can flexibly respond to changes and uncertainties in production and ensure that the dyeing effect meets expectations.

[0097] 3. The present invention uses an automated cleaning device for secondary cleaning, which can completely remove residual dyes and chemicals on the fabric, ensure the cleanliness of the fabric, and improve the stability and quality of the dyeing effect. The cleaning time, temperature, and water flow rate can be set and accurately adjusted according to the characteristics of the fabric and the type of dye, ensuring the efficiency and reliability of the cleaning process and avoiding damage to the fabric. The dried fabric is transported to the flattening device through an automatic conveying device to achieve automatic flattening of the fabric, reduce manual operations, and improve production efficiency. The flattening parameters are adjusted according to the physical properties of the fabric (such as thickness, material, etc.) to ensure the flattening effect of different types of fabrics, improve the consistency and quality of the product, and improve the quality, efficiency, and environmental protection of the fabric processing and dyeing process, thereby achieving higher production benefits and ecological benefits. BRIEF DESCRIPTION OF THE DRAWINGS

[0098] The above characteristics, features and advantages of the present invention and their implementation methods and methods will become more clearly understood in conjunction with the following description of the embodiments, which are described in detail in conjunction with the accompanying drawings. Herein, a schematic diagram is shown:

[0099] Figure 1 The present invention is a flowchart of a method for optimizing energy-saving and ecological dyeing and finishing of fabrics according to an embodiment of the present invention. DETAILED DESCRIPTION

[0100] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0101] According to an embodiment of the present invention, a method for optimizing energy-saving and ecological dyeing and finishing of cloth and its application in dyeing and finishing process are provided.

[0102] The present invention is further described with reference to the accompanying drawings and specific embodiments. Figure 1 As shown, according to one embodiment of the present invention, a method for optimizing energy-saving and ecological dyeing and finishing of fabrics is provided, and the method for optimizing energy-saving and ecological dyeing and finishing of fabrics comprises the following steps:

[0103] S1. Wash and desizing the fabric and send it to a drying room.

[0104] It needs to be explained that the cleaning equipment should be checked and cleaned to ensure that there are no residual substances, the required cleaning agents and water should be prepared and proportioned according to the cleaning requirements, the fabric should be spread out flat, and check for obvious stains or foreign matter. According to the fabric material and contamination, the appropriate cleaning program and cleaning agent should be selected, the fabric should be placed in the cleaning equipment, an appropriate amount of cleaning agent and water should be added, the cleaning equipment should be started, and the cleaning time and water temperature should be set according to the fabric material and cleaning requirements. The cleaning process should ensure that the sizing substances on the fabric are completely removed. After the cleaning is completed, the water in the cleaning equipment should be drained and rinsed to ensure that the cleaning agent is completely removed. The rinsing process should be repeated. If necessary, multiple rinses can be performed until the fabric is thoroughly clean.

[0105] The specific operation examples are as follows:

[0106] 1) Prepare cleaning equipment: Cleaning equipment includes washing machines or industrial cleaning equipment; cleaning agents include selecting appropriate cleaning agents based on the material of the fabric.

[0107] 2) Preliminary fabric treatment: Unfold the fabric and check for foreign matter or obvious stains. If there are serious stains, perform local treatment first.

[0108] 3) Wash the fabric: put the fabric into the cleaning equipment; add the well-proportioned cleaning agent and water; set the cleaning program, for example: 30 minutes, 40°C; start the cleaning equipment and start cleaning.

[0109] 4) Post-cleaning treatment: After cleaning, drain the water and rinse to ensure that there is no detergent residue. Repeat the rinsing step as needed until the fabric is clean.

[0110] 5) Send to the drying room: Take out the cleaned fabric, squeeze out the water gently, put the fabric evenly into the drying machine, set the drying time (such as 10 minutes) and speed (such as 1000 rpm). Start the drying machine and start drying.

[0111] S2. Preset a temperature range for the drying chamber, and perform thermal management using intermittent heating based on the preset temperature range for the drying chamber.

[0112] Preferably, presetting the temperature interval of the drying chamber, and performing thermal management by intermittent heating based on the preset temperature interval of the drying chamber comprises the following steps:

[0113] S21, initialization is responsible for decision-making neural network parameters and value evaluation neural network parameters.

[0114] S22, presetting the initial temperature of the drying chamber, the initial state of the heater and the target temperature range.

[0115] S23, using the initialized decision-making neural network parameters, select the optimal heater action according to the temperature of the drying chamber and the heater state.

[0116] S24, executing the selected heater action in the spin-drying chamber, observing and recording the new temperature and the new heater state in the spin-drying chamber after the action is executed.

[0117] It should be explained that the parameters of the neural network responsible for decision-making and the neural network parameters for value evaluation are initialized using random methods or pre-trained models to ensure that the input and output layers of the neural network are correctly configured, can accept the current state as input, and output corresponding actions or values; set the initial temperature of the spin drying chamber (for example, room temperature) and the initial state of the heater (for example, off), set the target temperature range, for example, 40°C to 60°C, ensure control within this range, input the current temperature of the spin drying chamber and the state of the heater into the neural network responsible for decision-making, and the neural network outputs the optimal heater action (for example, heating, maintaining the current state, reducing heating) based on the input state, select the optimal action recommended by the neural network for execution, execute the selected heater action in the spin drying chamber, observe and record the temperature of the spin drying chamber and the state of the heater after the action is executed, and record the new temperature and heater state for subsequent decision-making and value evaluation.

[0118] S25. Calculate a reward value according to the new temperature of the drying chamber and the heater status.

[0119] Preferably, according to the new temperature of the drying chamber and the heater state, calculating the reward value comprises the following steps:

[0120] S251, determining a temperature control range of the drying chamber according to a preset target temperature range;

[0121] S252, calculating the deviation between the current temperature of the drying chamber and the target temperature range, and recording the energy consumption of the heater during the execution of the current action;

[0122] S253, defining a reward function based on the temperature deviation and the recorded energy consumption;

[0123] S254, using the defined reward function, calculating the reward value of the current action;

[0124] Among them, the formula for calculating the reward value of the current action is:

[0125] ;

[0126] In the formula, Indicates the reward value;

[0127] represents the weight of temperature deviation;

[0128] Indicates the current temperature;

[0129] Indicates the target temperature;

[0130] represents the weight of energy consumption;

[0131] Indicates heater power;

[0132] Indicates the heating time.

[0133] It should be explained that the target temperature range of the spin drying chamber is determined, for example, 40°C to 60°C, the upper and lower limits of the temperature control are set to ensure that adjustments are made within the preset range, and the deviation between the current spin drying chamber temperature and the target temperature range is measured; if the current temperature is within the target range, the deviation is zero; if the current temperature is lower than the target range, the low temperature deviation is calculated; if the current temperature is higher than the target range, the high temperature deviation is calculated, and the energy consumption during the execution of the current heater action is recorded, which can usually be calculated by recording the power and operating time of the heater, and the reward function is defined in combination with the temperature deviation and energy consumption.

[0134] Specific examples are as follows:

[0135] The target temperature range is set to 40°C to 60°C; the temperature control range is set to upper and lower limits, for example, the minimum temperature is 35°C and the maximum temperature is 65°C; the current temperature of the drying chamber is 55°C, the target temperature range is 40°C to 60°C, and the deviation is 0 (within the target range);

[0136] If the temperature is 35°C, the low temperature deviation is 5°C;

[0137] If the temperature is 65°C, the high temperature deviation is 5°C;

[0138] Record the current heater energy consumption, for example: the heater power is 2kW, the running time is 10 minutes, and the energy consumption is 20kWh; the reward function is defined as , where the weight factor is set ,For example ; The current temperature deviation is 0, and the energy consumption is 20kWh; The reward value is calculated as .

[0139] S26. Use the value evaluation neural network parameters to evaluate the reward value, and store the current state, action, reward, and new state in the experience replay pool.

[0140] Preferably, evaluating the reward value using the value evaluation neural network parameters and storing the current state, action, reward and new state into the experience replay pool comprises the following steps:

[0141] S261, extracting samples including current state, action, reward and new state from the experience replay pool;

[0142] S262, in the sample, evaluate the neural network using the new state and the target value, and calculate the target Q value;

[0143] S263, based on the current state, action and calculated target Q value, update the value assessment neural network parameters using the gradient descent method;

[0144] S264, based on the current state and value evaluation neural network, calculate the policy gradient of the decision-making neural network;

[0145] S265, using policy gradient, using gradient ascent method to update the parameters of the decision-making neural network;

[0146] S266, storing the current state, action, reward and new state into the experience replay pool;

[0147] Among them, the formula for calculating the policy gradient responsible for decision-making neural network is:

[0148] ;

[0149] In the formula, represents the policy gradient of the decision-making neural network;

[0150] Represents the parameters of the neural network responsible for decision making;

[0151] represents the number of samples extracted from the experience replay pool;

[0152] It represents the rate of change of Q value of action a under given state s;

[0153] s represents a given state;

[0154] a indicates action;

[0155] si represents the i-th state extracted from the experience replay pool;

[0156] π(si) represents the action in state si selected according to the current strategy π;

[0157] Indicates that under a given state s, the output action of the policy network is parameterized The rate of change.

[0158] It should be explained that some samples are randomly extracted from the data stored in the experience replay pool. These samples contain previously recorded states, actions, rewards, and new states. The experience replay pool is used to store multiple training samples to help the model learn from diverse experiences, reduce the correlation between samples, and improve training stability. For each new state in the sample, the target value evaluation neural network is used to calculate the target Q value. The target Q value is an estimate of the expected future return and is used to update the value evaluation neural network. ,in represents the discount factor, Indicates the current state. Indicates new job, Indicates the new state, Represents the reward, uses the current state, action and target Q value to calculate the loss function, and uses the gradient descent method to update the parameters of the value evaluation neural network. The loss function is usually the mean square error between the current Q value and the target Q value; uses the output of the value evaluation neural network to calculate the policy gradient of the decision-making neural network. The policy gradient reflects the impact of increasing the probability of selecting a certain action on the overall reward under the current policy; uses the calculated policy gradient to update the parameters of the decision-making neural network through the gradient ascent method. The gradient ascent method is used to maximize the expected return of the strategy, and stores the latest state, action, reward and new state data in the experience replay pool for use in subsequent training, which helps to keep the experience pool up to date and cover more diverse experiences.

[0159] S27. Regularly update the target decision-making neural network parameters and the target value evaluation neural network parameters, and track the parameter changes of the current decision-making neural network parameters and value evaluation neural network parameters.

[0160] S28. Update the current state as the observed new state, and determine whether the new state meets the preset training termination condition.

[0161] If the termination condition is not met, return to step S23;

[0162] If the termination condition is met, the thermal management process ends.

[0163] S3. Send the dried fabric to the dyeing room, preset the dye formula, and optimize the dyeing parameters of the dyeing formula through the TS fuzzy model. At the same time, use a spectrophotometer to monitor the dye concentration online.

[0164] The dried fabric is sent to the dyeing room, the dye formula is preset according to the fabric type and color requirements, and the dyeing parameters of the dyeing formula are optimized by the TS fuzzy model. At the same time, the dye concentration is monitored online using a spectrophotometer, which includes the following steps:

[0165] S31, using a conveyor belt to transport the dried cloth to the entrance of the dyeing room.

[0166] S32: Identify the type of fabric and obtain the color requirement of the fabric.

[0167] S33. Preset dye formula according to fabric type and color requirements.

[0168] S34. Normalize the dye formula into fuzzy input variables.

[0169] S35. Based on the TS fuzzy model, fuzzy control rules for dyeing time and dye concentration are set.

[0170] It should be explained that a conveyor belt is used to transport the dried fabric to the entrance of the dyeing room for subsequent dyeing. In an industrial environment, an automated conveyor belt is used for continuous production to transport the dried fabric from the drying room to the dyeing room. A sensor or a visual recognition algorithm is used to identify the type of fabric and obtain the color requirements that match it, ensuring that the correct dye formula is used in the subsequent dyeing process. A machine vision algorithm is used to scan the fabric label to identify the fabric type and color requirements. For example, pure cotton fabric requires red dye. Based on the identified fabric type and color requirements, the corresponding dye formula is selected from a database or preset rules. The dye formula includes the types and proportions of the required dyes. For the red requirement of pure cotton fabric, the preset dye formula may include a specific concentration of The ratio of red dye and auxiliaries, convert the preset dye formula into fuzzy input variables for use in the fuzzy control model. The fuzzy input variables are usually normalized dye concentration and dyeing time. The concentration and dyeing time of red dye are normalized, for example: map the concentration from 0 to 100% to the fuzzy input range of 0 to 1. Use the Takagi-Sugeno (TS) fuzzy model to set the fuzzy control rules for dyeing time and dye concentration according to the normalized input variables. The TS fuzzy model is used to establish the fuzzy relationship between input and output to ensure the precise control of the dyeing process. Fuzzy rules are set according to the type of fabric and color requirements. For example: if the fabric is pure cotton and the color requirement is red, the dyeing time is X minutes and the dye concentration is Y%.

[0171] The TS fuzzy model is applied to the fuzzy control model, which maps the input variables to the output variables through fuzzy rules. Different from the traditional fuzzy model, the rule output of the TS fuzzy model is a linear function rather than a fuzzy set, which makes the model more efficient and accurate when dealing with nonlinearity.

[0172] S36. Perform fuzzy reasoning based on fuzzy control rules and fuzzy input variables to obtain specific values ​​of dyeing time and dye concentration, and use the specific values ​​as actual values ​​of the dyeing formula.

[0173] Preferably, fuzzy reasoning is performed according to fuzzy control rules and fuzzy input variables to obtain specific values ​​of dyeing time and dye concentration, and taking the specific values ​​as actual values ​​of the dyeing formula includes the following steps:

[0174] S361, obtaining fuzzy input variables;

[0175] S362, using a preset fuzzy membership function, converting the dyeing parameters in the dye formula into fuzzy membership values;

[0176] S363, based on the TS fuzzy model, using the set fuzzy control rules to perform fuzzy reasoning and calculate the output value of the fuzzy control rules;

[0177] S364, calculating the weighted average of the output values ​​in the fuzzy control rules according to the membership values ​​of all fuzzy rules;

[0178] S365. The weighted average value is taken as the actual value of the dye formula.

[0179] It needs to be explained that, through fuzzy reasoning, the fuzzy control rules and input variables are converted into specific dyeing time and dye concentration for the actual dyeing process, and the preset fuzzy input variables, such as fabric type and color requirements, are obtained. For example, the fabric type is "pure cotton" and the color requirement is "red". The dyeing parameters (such as dyeing time, dye concentration) are converted into fuzzy membership values ​​to facilitate fuzzy reasoning. The membership function is used to calculate the fuzzy membership of the fabric type and color requirement. According to the TS fuzzy model and the set fuzzy control rules, fuzzy reasoning is performed to calculate the output value of each rule. If the fabric type is "pure cotton" and the color requirement is "red", then the dyeing time is X minutes and the dye concentration is Y%. According to the membership value of each fuzzy rule, the weighted average of the output values ​​is calculated to obtain the final dyeing time and dye concentration. The weighted average of all rules is calculated to obtain the specific dyeing time and concentration. The calculated weighted average is used as the actual dyeing formula value and applied to the dyeing process.

[0180] Preferably, based on the TS fuzzy model, fuzzy reasoning is performed using the set fuzzy control rules, and the output value of the fuzzy control rules is calculated, which includes the following steps:

[0181] S3631. According to the TS fuzzy model, the set fuzzy control rules are applied to match the corresponding fuzzy rules for each input fuzzy input variable;

[0182] S3632. Calculate the output value of each fuzzy control rule according to the matched fuzzy rules;

[0183] S3633. Calculate the membership value of each rule, and weight the output value according to the membership value.

[0184] Preferably, the formula for calculating the membership value of each rule is:

[0185] ;

[0186] In the formula, Indicates the coloring time in the fuzzy input variable In the fuzzy set The degree of membership in ;

[0187] Represents the dye concentration in the fuzzy input variable In the fuzzy set The degree of membership in ;

[0188] Represents the membership value of each fuzzy control rule.

[0189] It should be explained that for each input fuzzy variable (such as fabric type and color requirement), the preset fuzzy control rules are applied to find the fuzzy rules that match these variables. The input variables are fabric type (pure cotton) and color requirement (red), and matching fuzzy rules are found, such as "if the fabric type is pure cotton and the color requirement is red"; for each matching fuzzy rule, its corresponding output value (such as dyeing time and dye concentration) is calculated. According to the rule "if the fabric type is pure cotton and the color requirement is red, then the dyeing time is Minutes, dye concentration is , calculate the membership value of each rule, and use these membership values ​​to weight the output values ​​of the rules to obtain the final output, that is: calculate the final dyeing time and dye concentration based on the membership value and output value.

[0190] Fuzzy control rules are usually based on a set of IF-THEN rules, where each rule produces an output value. Calculating the output value of each rule usually involves the following steps:

[0191] Fuzzification: Converting input variables into fuzzy sets. This usually involves mapping the input values ​​to the corresponding membership functions to obtain the membership of each fuzzy set.

[0192] Reasoning: Apply fuzzy rules for reasoning. Each rule is usually in the form of IF input 1 is fuzzy set 1 AND / OR input 2 is fuzzy set 2, ..., THEN output is a fuzzy set. In the reasoning process, the membership of each input condition of each rule is combined to obtain the excitation strength of each rule.

[0193] Defuzzification: Converting fuzzy outputs to crisp values. This usually involves taking a weighted average of the excitation strengths of each rule and then using some algorithm (such as the centroid method, maximum membership method, etc.) to get the final crisp output value.

[0194] Preferably, according to the membership values ​​of all fuzzy rules, calculating the weighted average of the output values ​​in the fuzzy control rules comprises the following steps:

[0195] S3641, adding up the weighted output values ​​of all fuzzy control rules to obtain the sum of the weighted output values ​​of all fuzzy control rules;

[0196] S3642, adding the membership values ​​of all fuzzy control rules to obtain the sum of the membership values ​​of all fuzzy control rules;

[0197] S3643, dividing the sum of the weighted output values ​​of all fuzzy control rules by the sum of the membership values ​​of all fuzzy control rules to obtain a final weighted average output value;

[0198] S3644. Use the final weighted average output value as the final output value.

[0199] It should be explained that the weighted output value of each fuzzy control rule is calculated and added up to get the total. If there are multiple fuzzy rules, the weighted output value of each rule is the output value of the rule multiplied by its membership value, and all these weighted output values ​​are added up; the membership value of each fuzzy control rule is added up to get the total, that is, for the membership value of each rule, they are all added up; the sum of the weighted output values ​​is divided by the sum of the membership values ​​to get the weighted average output value, that is, the weighted average dyeing time and dye concentration are calculated; the calculated weighted average output value is used as the actual dyeing time and dye concentration, and the weighted average output value is applied to the actual dyeing process.

[0200] S37. Use a spectrophotometer to monitor the dye concentration in the dye solution in real time.

[0201] Preferably, using a spectrophotometer to monitor the dye concentration in the dye solution in real time comprises the following steps:

[0202] S371, take a sufficient amount of dye solution sample and remove suspended particles;

[0203] S372, setting the absorbance mode and detection wavelength on the spectrophotometer, and calibrating using pure solvent;

[0204] S373, placing the dye solution sample into the sample pool, reading and recording the absorbance value, and taking the average value of multiple measurements;

[0205] S374, setting a measurement interval, automatically reading and recording the absorbance value of the dye solution sample, and calculating the dye concentration based on it, while recording the change in dye solution concentration;

[0206] S375, analyzing the dye solution concentration change data and drawing a curve chart showing the concentration change over time, and adjusting the dye solution formula according to the real-time monitoring results.

[0207] S38. If the dye concentration monitored in real time deviates from the preset value, the dye feeding amount and dyeing time are adjusted according to the TS fuzzy model, and the dyeing process of the fabric is completed.

[0208] It should be explained that sufficient sample is taken from the dye solution, and suspended particles in the sample are removed by filter paper or centrifugation to ensure the accuracy of measurement. The dye solution sample is filtered with filter paper to ensure that the sample is clear and free of impurities. The appropriate absorbance mode and detection wavelength are selected on the spectrophotometer, and the equipment is calibrated with pure solvent to ensure the accuracy of measurement. For example, the detection wavelength is set to the maximum absorption wavelength of a specific dye, such as 500nm, and pure water is used for calibration; the prepared dye solution sample is placed in the sample cell of the spectrophotometer for measurement, and the absorbance values ​​of multiple measurements are recorded and averaged to improve the measurement accuracy, such as measuring 3 times, recording the absorbance values, and calculating the average value; the measurement interval is set, the absorbance value is automatically read, and the dye concentration is calculated according to the standard curve, and the concentration change is recorded at the same time. For example, measure once every 10 minutes, record the data, calculate the dye concentration according to the absorbance value, analyze the recorded dye concentration data, draw a curve chart of concentration changes over time, adjust the dye solution formula according to the real-time monitoring results to ensure the dyeing effect, use software to draw the concentration-time curve, adjust the dye formula according to the curve changes, when the monitored dye concentration deviates from the preset value, use the TS fuzzy model to adjust the dye input and dyeing time to ensure the dyeing effect of the fabric, if the dye concentration is lower than the preset value, increase the dye input and extend the dyeing time according to the TS fuzzy model, according to the real-time monitoring results, use the TS fuzzy model to adjust the dye input and dyeing time to ensure that the dyeing process meets the preset standards, when the dye concentration is lower than the preset value, increase the dye input and extend the dyeing time.

[0209] S4. Send the dyed fabric to an automated cleaning device for cleaning, send the cleaned fabric to a drying room, preset a temperature range for the drying room, and dry the fabric in the drying room.

[0210] It should be explained that the dyed fabrics are sent to the automated cleaning equipment for secondary cleaning to remove residual dyes and chemicals. The cleaning time, temperature and water flow of the cleaning equipment are set to ensure that the fabrics are thoroughly cleaned. The fabrics that have undergone secondary cleaning are sent to the drying room for drying. The temperature range of the drying room is set to ensure that the fabrics will not be affected by overheating or uneven drying during the drying process.

[0211] Specific examples are as follows:

[0212] Use a conveyor belt to transfer the fabric from the dyeing process to the automated cleaning equipment. Set the cleaning time to 15 minutes, the cleaning temperature to 40°C, and the water flow rate to 20L / min. Use a conveyor belt or other means of transportation to transfer the cleaned fabric to the drying room. Set the drying room temperature range to 60°C to 80°C.

[0213] S5. The dried fabric is transported to a flattening device through an automatic conveying device to flatten the fabric, and the flattened fabric is transported to a preset location for storage.

[0214] It needs to be explained that an automatic conveying device is used to transfer the dried fabric to the flattening equipment. The parameters of the flattening equipment are adjusted according to the physical properties of the fabric, such as thickness, softness, tension, etc., to ensure the best flattening effect of the fabric. The flattened fabric is transported to a predetermined storage location through an automatic conveying device, ready for storage or subsequent processing, such as stacking or curling for storage.

[0215] According to another embodiment of the present invention, a method for optimizing energy-saving and ecological dyeing and finishing of fabrics is provided for application in dyeing and finishing processes.

[0216] In summary, with the help of the above technical solutions of the present invention, the preset temperature range of the drying chamber of the present invention can meet the needs of fabric processing, ensure that the processing is carried out within an appropriate temperature range, avoid the problems that may be caused by too high or too low temperature, and flexibly control the working state of the heater according to actual needs through intermittent heating management, avoid the energy waste that may be caused by continuous heating, improve energy utilization efficiency, and be beneficial to energy conservation and emission reduction. The neural network decision algorithm is used to dynamically adjust the working state of the heater according to the real-time monitored drying chamber temperature and heater state, and keep the drying chamber temperature fluctuating within a preset range to ensure that the processing process is stable and meets the requirements. Through the calculation of the reward value and the update of the value evaluation neural network, the heating management strategy is continuously learned and optimized, so that the whole process can achieve better energy efficiency and efficiency while ensuring quality, and achieve continuous optimization and improvement; the present invention uses the method of identifying the type and color requirements of fabrics to ensure the use of the correct dye formula, improve the dyeing accuracy, avoid color matching errors, set the dyeing parameters based on the TS fuzzy model, and can accurately control and optimize the dyeing effect under complex and changeable dyeing conditions. The dyeing solution is monitored in real time using a spectrophotometer The concentration is adjusted dynamically according to the monitoring data, and the dyeing amount and dyeing time are adjusted to ensure the consistency and stability of the dyeing quality. Through fuzzy control and real-time monitoring, the waste of dyes and energy is reduced, the resource utilization rate is improved, and the production cost is reduced. According to the actual dyeing situation, the dyeing parameters are dynamically adjusted using the fuzzy model, which can flexibly respond to changes and uncertainties in production and ensure that the dyeing effect meets expectations; the present invention uses an automated cleaning device for secondary cleaning, which can completely remove residual dyes and chemicals on the fabric, ensure the cleanliness of the fabric, and improve the stability and quality of the dyeing effect. The cleaning time, temperature and water flow rate can be set, and can be accurately adjusted according to the characteristics of the fabric and the type of dye, ensuring the efficiency and reliability of the cleaning process and avoiding fabric damage. The dried fabric is transported to the flattening device through an automatic conveying device to realize automatic flattening of the fabric, reduce manual operation, and improve production efficiency. The flattening parameters are adjusted according to the physical properties of the fabric (such as thickness, material, etc.), to ensure the flattening effect of different types of fabrics, improve the consistency and quality of the product, and improve the quality, efficiency and environmental protection of the fabric processing and dyeing process, and achieve higher production benefits and ecological benefits.

[0217] Although the present invention has been disclosed as above with preferred embodiments, the embodiments are only exemplified for the convenience of explanation and are not intended to limit the present invention. Those skilled in the art may make several changes and modifications without departing from the spirit and scope of the present invention. The scope of protection claimed by the present invention shall be based on the claims.

Claims

1. A method for optimizing energy-saving and ecological dyeing and finishing of fabrics. It is characterized in that The cloth energy-saving ecological dyeing and finishing optimization method comprises the following steps: S1, washing and desizing the fabric and sending it to the drying room; S2, presetting a temperature range of the drying chamber, and using intermittent heating to perform thermal management based on the preset temperature range of the drying chamber; S3, sending the dried fabric to the dyeing room, presetting the dye formula, and optimizing the dyeing parameters of the dyeing formula through the TS fuzzy model, while using a spectrophotometer to monitor the dye concentration online; S4, sending the dyed fabric to an automated cleaning device for cleaning, sending the cleaned fabric to a drying room, presetting a temperature range for the drying room, and drying the fabric in the drying room; S5, transporting the dried fabric to a flattening device through an automatic conveying device to flatten the fabric, and transporting the flattened fabric to a preset location for storage; The method of presetting the drying chamber temperature interval and performing thermal management by intermittent heating based on the preset drying chamber temperature interval includes the following steps: S21, initializing the parameters of the decision-making neural network and the value evaluation neural network; S22, presetting the initial temperature of the drying chamber, the initial state of the heater and the target temperature range; S23, using the initialized decision-making neural network parameters, selecting the optimal heater action according to the temperature of the drying chamber and the heater state; S24, executing the selected heater action in the drying chamber, observing and recording the new temperature and the new heater state in the drying chamber after the action is executed; S25, calculating a reward value according to the new temperature of the drying chamber and the heater state; S26, using the value evaluation neural network parameters to evaluate the reward value, and storing the current state, action, reward and new state into the experience replay pool; S27, regularly updating the target decision-making neural network parameters and the target value evaluation neural network parameters, and tracking the parameter changes of the current decision-making neural network parameters and the value evaluation neural network parameters; S28, updating the current state as the observed new state, and determining whether the new state satisfies the preset training termination condition; If the termination condition is not met, return to step S23; If the termination condition is met, the thermal management process ends; The method of sending the dried fabric into a dyeing room, presetting a dye formula, optimizing the dyeing parameters of the dye formula by using a TS fuzzy model, and online monitoring the dye concentration by using a spectrophotometer comprises the following steps: S31, using a conveyor belt to transport the dried fabric to the entrance of the dyeing room; S32, identifying the type of fabric and obtaining the color requirement of the fabric; S33, presetting dye formula according to fabric type and color requirements; S34, normalizing the dye formula into fuzzy input variables; S35, setting fuzzy control rules for dyeing time and dye concentration based on TS fuzzy model; S36, performing fuzzy reasoning according to the fuzzy control rules and the fuzzy input variables to obtain specific values ​​of dyeing time and dye concentration, and taking the specific values ​​as actual values ​​of the dyeing formula; S37, using a spectrophotometer to monitor the dye concentration in the dye solution in real time; S38. If the dye concentration monitored in real time deviates from the preset value, the dye feeding amount and dyeing time are adjusted according to the TS fuzzy model, and the dyeing process of the fabric is completed.

2. A cloth energy-saving ecological dyeing and finishing optimization method according to claim 1, It is characterized in that The step of calculating the reward value according to the new temperature of the drying chamber and the heater state comprises the following steps: S251, determining a temperature control range of the drying chamber according to a preset target temperature range; S252, calculating the deviation between the current temperature of the drying chamber and the target temperature range, and recording the energy consumption of the heater during the execution of the current action; S253, defining a reward function based on the temperature deviation and the recorded energy consumption; S254. Calculate the reward value of the current action using the defined reward function.

3. A cloth energy-saving ecological dyeing and finishing optimization method according to claim 2, It is characterized in that The method of evaluating the reward value by using the value evaluation neural network parameters and storing the current state, action, reward and new state into the experience replay pool includes the following steps: S261, extracting samples including current state, action, reward and new state from the experience replay pool; S262, in the sample, evaluate the neural network using the new state and the target value, and calculate the target Q value; S263, based on the current state, action and calculated target Q value, update the value assessment neural network parameters using the gradient descent method; S264, based on the current state and value evaluation neural network, calculate the policy gradient of the decision-making neural network; S265, using policy gradient, using gradient ascent method to update the parameters of the decision-making neural network; S266. Store the current state, action, reward, and new state into the experience replay pool.

4. The energy-saving and ecological dyeing and finishing optimization method for fabrics according to claim 1, It is characterized in that The method of performing fuzzy reasoning according to the fuzzy control rules and the fuzzy input variables to obtain specific values ​​of dyeing time and dye concentration, and taking the specific values ​​as actual values ​​of the dyeing formula comprises the following steps: S361, obtaining fuzzy input variables; S362, using a preset fuzzy membership function, converting the dyeing parameters in the dye formula into fuzzy membership values; S363, based on the TS fuzzy model, using the set fuzzy control rules to perform fuzzy reasoning and calculate the output value of the fuzzy control rules; S364, calculating the weighted average of the output values ​​in the fuzzy control rules according to the membership values ​​of all fuzzy rules; S365. The weighted average value is taken as the actual value of the dye formula.

5. A method for optimizing energy-saving and ecological dyeing and finishing of fabrics according to claim 4, It is characterized in that The method of performing fuzzy reasoning based on the TS fuzzy model and calculating the output value of the fuzzy control rule by using the set fuzzy control rule comprises the following steps: S3631. According to the TS fuzzy model, the set fuzzy control rules are applied to match the corresponding fuzzy rules for each input fuzzy input variable; S3632. Calculate the output value of each fuzzy control rule according to the matched fuzzy rules; S3633. Calculate the membership value of each rule, and weight the output value according to the membership value.

6. A method for optimizing energy-saving and ecological dyeing and finishing of fabrics according to claim 5, It is characterized in that The step of calculating the weighted average of the output values ​​in the fuzzy control rules according to the membership values ​​of all fuzzy rules comprises the following steps: S3641, adding up the weighted output values ​​of all fuzzy control rules to obtain the sum of the weighted output values ​​of all fuzzy control rules; S3642, adding the membership values ​​of all fuzzy control rules to obtain the sum of the membership values ​​of all fuzzy control rules; S3643, dividing the sum of the weighted output values ​​of all fuzzy control rules by the sum of the membership values ​​of all fuzzy control rules to obtain a final weighted average output value; S3644. Use the final weighted average output value as the final output value.

7. A method for optimizing energy-saving and ecological dyeing and finishing of fabrics according to claim 6, It is characterized in that The method of using a spectrophotometer to monitor the dye concentration in the dye solution in real time comprises the following steps: S371, take a sufficient amount of dye solution sample and remove suspended particles; S372, setting the absorbance mode and detection wavelength on the spectrophotometer, and calibrating using pure solvent; S373, placing the dye solution sample into the sample pool, reading and recording the absorbance value, and taking the average value of multiple measurements; S374, setting a measurement interval, automatically reading and recording the absorbance value of the dye solution sample, and calculating the dye concentration based on it, while recording the change in dye solution concentration; S375, analyzing the dye solution concentration change data and drawing a curve chart showing the concentration change over time, and adjusting the dye solution formula according to the real-time monitoring results.

8. Application of a cloth energy-saving ecological dyeing and finishing optimization method according to any one of claims 1 to 7 in dyeing and finishing processes.

Citation Information

Patent Citations

  • Method for dyeing cotton fabric by using natural vegetable dyes

    CN110042676A

  • Cloth dyeing device and cloth dyeing control method thereof

    CN110592855A