A Short-Process Water-Saving Intelligent Control Method and System for Printing and Dyeing

By detecting the printing and dyeing effect in real time and adjusting the chemical equipment and processes based on the test results, and merging the desizing, scouring, bleaching, and dyeing processes, the problem of water waste in printing and dyeing technology is solved, and water resources conservation and printing and dyeing process optimization are achieved.

CN118345583BActive Publication Date: 2024-10-25ZHE JIANG HONG LV LAN FANG ZHI YIN RAN YOU XIAN GONG SI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410424903.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-09
Publication Date
2024-10-25
Estimated Expiration
2044-04-09

Smart Images

  • Figure CN118345583B_ABST
    Figure CN118345583B_ABST
Patent Text Reader

Abstract

The present invention discloses a short-process water-saving printing and dyeing intelligent control method and system, which combines desizing, scouring, bleaching and dyeing into one process, which saves the process on the one hand and can save water on the other hand. In addition, by real-time monitoring of the printing and dyeing effect of the water-consuming link of printing and dyeing, and timely preparing and adding medicine to the printing and dyeing link as needed when the printing and dyeing effect does not reach the preset degree within the preset time, the printing and dyeing speed and the printing and dyeing effect are accelerated, and the medicine is prepared according to the detected real-time printing and dyeing effect, which can improve the accuracy of preparing the medicine, improve the printing and dyeing effect, and save medicine at the same time, avoid adding too much medicine and then adding water, which can save water. When it is detected in real time that the printing and dyeing effect reaches the preset effect, the next link is carried out in time, which can shorten the printing and dyeing time consumption and shorten the operation time for short-process operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of printing and dyeing, and in particular to an intelligent control method and system for short-process water-saving printing and dyeing. Background Art

[0002] Printing and dyeing, also known as dyeing and finishing, is a processing method for textiles. The process of printing and dyeing includes raw cloth preparation, singeing, desizing and scouring, bleaching, dyeing, anti-dyeing treatment, and finishing. In the printing and dyeing process, a large amount of water is used in the processes of desizing and scouring, bleaching, dyeing, anti-dyeing treatment, and finishing.

[0003] In the current printing and dyeing technology, the printing and dyeing process is complicated and requires a large amount of water consumption. In addition, problems in the process and management of some links lead to a large amount of water waste. Summary of the invention

[0004] The purpose of the present invention is to provide a short-process water-saving printing and dyeing intelligent control method and system to solve the above-mentioned problems existing in the prior art.

[0005] In a first aspect, an embodiment of the present invention provides a short-process water-saving printing and dyeing intelligent control method, comprising:

[0006] Real-time detection of the printing and dyeing effect of the water consumption link;

[0007] If the printing and dyeing effect does not reach the preset level within the preset time, a quota of medicine is prepared according to the printing and dyeing effect, and the prepared medicine is added to the printing and dyeing process, or material addition information is generated according to the printing and dyeing effect to add specific medicine to the printing and dyeing process;

[0008] If the printing and dyeing effect reaches the preset level at the preset time node, the next link information will be sent to replace the dyeing and printing link in time.

[0009] Optionally, desizing, scouring, bleaching and dyeing are combined into one process.

[0010] Optionally, the real-time detection of the printing and dyeing effect of the printing and dyeing water consumption link includes:

[0011] Obtain raw material images and liquid images of the water-consuming process of printing and dyeing;

[0012] Inputting the raw material image and the liquid image into a pre-trained printing and dyeing effect detection model, the printing and dyeing effect detection model outputs a printing and dyeing score, the size of which is used to characterize the quality of the printing and dyeing effect;

[0013] The printing and dyeing effect detection model includes a raw material detection head and a liquid detection head. The raw material detection head includes multiple convolutional layers and pooling layers; the liquid detection head includes multiple convolutional layers and pooling layers; the number of convolutional layers of the raw material detection head is the same as that of the liquid detection head, and the number of pooling layers of the raw material detection head is the same as that of the liquid detection head; the convolutional layer of the liquid detection head is trained by the loss function of the convolutional layer of the raw material detection head, and the convolutional layer of the raw material detection head is trained by the loss function of the convolutional layer of the liquid detection head and the loss function of the pooling layer of the raw material detection head.

[0014] Optionally, the training method of the printing and dyeing effect detection model includes:

[0015] Obtaining a first training set and a second training set, wherein the first training set includes a plurality of training raw material images, and the second training set includes a plurality of training liquid images; the training raw material images and the training liquid images are shot at the same time;

[0016] Inputting the first training set into the raw material detection head, and inputting the second training set into the liquid detection head;

[0017] Perform a convolution operation on the first training set through the convolution layer of the raw detection head, and perform a pooling operation on the output of the convolution layer through the pooling layer of the raw detection head; and calculate the loss function of each convolution layer and the loss function of each pooling layer;

[0018] Performing a convolution operation on the second training set through the convolution layer of the liquid detection head, and performing a pooling operation on the output of the convolution layer through the pooling layer of the liquid detection head;

[0019] Calculate the loss function of each convolution layer and each pooling layer respectively;

[0020] The convolution layer of the liquid detection head is trained through the loss function of the convolution layer of the raw material detection head, including:

[0021] Adjust the convolution kernel of the convolution layer of the liquid detection head through the loss function of the convolution layer of the raw material detection head and the loss function of the convolution layer of the liquid detection head;

[0022] Until the output of the last layer of the liquid detection head converges;

[0023] The convolution layer of the raw material detection head is trained through the loss function of the convolution layer of the liquid detection head and the loss function of the pooling layer of the raw material detection head, including:

[0024] Adjust the convolution kernel of the convolution layer of the raw material detection head through the loss function of the convolution layer of the liquid detection head, the loss function of the pooling layer of the raw material detection head, and the loss function of the convolution layer of the liquid detection head;

[0025] Until the output of the last layer of the raw material detection head converges.

[0026] Optionally, adjusting the convolution kernel of the convolution layer of the liquid detection head through the loss function of the convolution layer of the raw material detection head and the loss function of the convolution layer of the liquid detection head includes:

[0027] The loss function of the i-th convolutional layer of the raw material detection head is e i : y k represents the kth output of the i-th convolutional layer of the raw detection head, y k ′ represents the kth standard output of the i-th layer of the raw material detection head; i represents the number of the data, and m represents the dimension of the output data;

[0028] The convolution kernel of the i-th convolution layer of the liquid detection head is adjusted by the following formula:

[0029]

[0030] Among them, p t represents the tth value of the convolution kernel of the i-th convolution layer of the updated liquid detection head, p t0 represents the tth value of the convolution kernel of the i-th convolution layer of the liquid detection head before updating, l i Represents the loss function of the i-th convolutional layer of the liquid detection head.

[0031] Optionally, adjusting the convolution kernel of the convolution layer of the raw material detection head through the loss function of the convolution layer of the liquid detection head, the loss function of the pooling layer of the raw material detection head, and the loss function of the convolution layer of the liquid detection head includes:

[0032] The loss function of the j-th pooling layer of the raw material detection head is w j : Among them, f g represents the g-th correct solution label of the j-th pooling layer of the raw detection head, x g represents the g-th output of the j-th pooling layer of the raw detection head; the convolution kernel of the i-th convolution layer of the raw detection head is adjusted as described by the following formula:

[0033]

[0034] Among them, p u represents the u-th value of the convolution kernel of the i-th convolutional layer after update, p u0 Represents the u-th value of the convolution kernel of the i-th convolutional layer before updating.

[0035] Optionally, if the printing and dyeing effect does not reach a preset level within a preset time, a quota of chemicals is allocated according to the printing and dyeing effect, including:

[0036] If the printing and dyeing score is less than the set value, it is determined that the printing and dyeing effect does not reach the preset level;

[0037] According to the printing and dyeing effect, the quota of chemicals is prepared to meet the following conditions:

[0038]

[0039] Among them, a0 represents the amount of medicine that has been added, G0 represents the amount of water that has been added, a represents the amount of medicine that needs to be added; T represents the concentration of medicine for the best effect; q represents the printing and dyeing score.

[0040] Optionally, the setting value is any real number between 0.6 and 0.9.

[0041] In a second aspect, an embodiment of the present invention provides a short-process water-saving printing and dyeing intelligent control system, comprising:

[0042] Detection module, used to detect the printing and dyeing effect of the water consumption link in real time;

[0043] The control module is used to prepare a quota of chemicals according to the printing and dyeing effect and add the prepared chemicals to the printing and dyeing link if the printing and dyeing effect does not reach the preset level within the preset time, or generate material addition information according to the printing and dyeing effect to add specific chemicals to the printing and dyeing link; if the printing and dyeing effect reaches the preset level at the preset time node, send the next link information to replace the dyeing and printing link in time.

[0044] Optionally, the system includes a short-process water-consuming tank; the short-process water-consuming tank is used for desizing, scouring, bleaching and dyeing.

[0045] Compared with the prior art, the embodiments of the present invention achieve the following beneficial effects:

[0046] The embodiment of the present invention also provides a short-process water-saving printing and dyeing intelligent control method and system, the method comprising: real-time detection of the printing and dyeing effect of the water-consuming link of printing and dyeing; if the printing and dyeing effect does not reach the preset degree within the preset time, a quota of medicine is prepared according to the printing and dyeing effect, and the prepared medicine is added to the printing and dyeing link, or feeding information is generated according to the printing and dyeing effect to add specific medicine to the printing and dyeing link; if the printing and dyeing effect reaches the preset degree at the preset time node, the next link information is issued to replace the dyeing and printing link in time. Among them, desizing, scouring, bleaching, and dyeing are combined into one process. In this way, the water-consuming links are combined into one process, which saves the process on the one hand and saves water on the other. In addition, by real-time monitoring of the printing and dyeing effect of the water-consuming link of printing and dyeing, and timely preparing the potion as needed to add it to the printing and dyeing link when the printing and dyeing effect does not reach the preset degree within the preset time, the printing and dyeing speed and the printing and dyeing effect can be accelerated, and the potion is prepared according to the detected real-time printing and dyeing effect, which can improve the accuracy of the potion preparation and improve the printing and dyeing effect. At the same time, the potion is saved, and too much potion is avoided and then diluted with water, which can save water. When it is detected in real time that the printing and dyeing effect reaches the preset effect, the next link is carried out in time, which can shorten the printing and dyeing time consumption and shorten the operation time for short-process operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 This is a flow chart of a short-process water-saving printing and dyeing intelligent control method provided by an embodiment of the present invention.

[0048] Figure 2 It is a schematic diagram of the structure of a printing and dyeing effect detection model provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0050] Example

[0051] The embodiment of the present invention provides a short-process water-saving printing and dyeing intelligent control system, the system is used to execute the short-process water-saving printing and dyeing intelligent control method provided by the embodiment of the present invention, the system includes:

[0052] The detection module is used to detect the printing and dyeing effect of the water consumption link in real time.

[0053] The control module is used to prepare a quota of chemicals according to the printing and dyeing effect and add the prepared chemicals to the printing and dyeing link if the printing and dyeing effect does not reach the preset level within the preset time, or generate material addition information according to the printing and dyeing effect to add specific chemicals to the printing and dyeing link; if the printing and dyeing effect reaches the preset level at the preset time node, send the next link information to replace the dyeing and printing link in time.

[0054] The system includes a short-process water-consuming cylinder, which is used for desizing, scouring, bleaching and dyeing. That is, in the short-process water-saving printing and dyeing intelligent control method provided by the embodiment of the present invention, desizing, scouring, bleaching and dyeing are combined into one process. Specifically, for the desizing process, first add an appropriate amount of water, and then add desizing solution; execute the desizing process, and wait for the detection of desizing to reach a preset degree (for example, desizing of 90%), then determine that the desizing is successful, send out the next link information, and switch to the scouring link. At this time, the raw material (cloth) can be picked up, and water purification powder can be added to the short-process water-consuming cylinder, so that the cleanliness of the water in the short-process water-consuming cylinder meets the cleanliness of the water for scouring. Then directly add an appropriate amount of scouring solution to the short-process water-consuming cylinder, and then execute the scouring process. When the scouring effect reaches a preset degree (for example, the scouring effect reaches 80%), it is determined that the scouring is successful, send out the next link information, and switch to the bleaching link. Add water purification powder to the short-process water consumption tank so that the water in the short-process water consumption tank meets the water purity level of the bleaching process. Then add bleaching agent to the short-process water consumption tank; then bleach, wait until the bleaching effect reaches the preset level (for example, the bleaching effect reaches 85%), determine that the bleaching is successful, and switch to the dyeing stage. Similarly, water purification is required, and dyeing agents are added after water purification, and then dyeing is performed. When the printing and dyeing effect reaches the preset level, the next stage information is issued to change the dyeing and printing stage in time.

[0055] In the embodiment of the present invention, the printing and dyeing effects may include desizing effect, scouring effect, bleaching effect, and dyeing effect.

[0056] Based on the above statements, the following specifically introduces a short-process water-saving printing and dyeing intelligent control method provided by an embodiment of the present invention. Figure 1 As shown, an intelligent control method for short-process water-saving printing and dyeing provided by an embodiment of the present invention includes:

[0057] S101: Real-time detection of the printing and dyeing effect of the water consumption link of printing and dyeing.

[0058] S102: If the printing and dyeing effect does not reach the preset level within the preset time, a quota of chemicals is prepared according to the printing and dyeing effect, and the prepared chemicals are added to the printing and dyeing process, or material addition information is generated according to the printing and dyeing effect to add specific chemicals to the printing and dyeing process.

[0059] S103: If the printing and dyeing effect reaches a preset level at a preset time point, the next link information is sent to change the dyeing and printing link in time.

[0060] In an embodiment of the present invention, the preset duration can be determined according to the water-consuming links of printing and dyeing (desizing, scouring, bleaching, dyeing, etc.). For example, desizing can be set to 2-48 hours, scouring can be set to 3-50 hours, bleaching can be set to 4-6 hours, dyeing can be set to 4-12 hours, etc. It can be determined according to the raw materials required for printing and dyeing, the chemicals used, the weather, and the temperature requirements.

[0061] Wherein, the real-time detection of the printing and dyeing effect of the water consumption link of printing and dyeing includes:

[0062] Obtain raw material images and liquid images of the water-consuming links in printing and dyeing.

[0063] In the embodiment of the present invention, the raw material image is an image taken after the raw material to be printed and dyed has been processed in the water-consuming link of printing and dyeing, and the raw material is, for example, nylon, polyester-cotton, etc. The liquid image is an image of the liquid in the short-process water-consuming tank directly taken after the raw material is scooped up.

[0064] After obtaining the raw material image and liquid image of the printing and dyeing water consumption link, the raw material image and the liquid image are input into a pre-trained printing and dyeing effect detection model, and the printing and dyeing effect detection model outputs a printing and dyeing score. The size of the printing and dyeing score is used to characterize the quality of the printing and dyeing effect, which can indicate the degree of the printing and dyeing effect, and can also reflect the concentration of the medicine in the short process water consumption tank for the changed process from the side.

[0065] Among them, the printing and dyeing effect detection model includes a raw material detection head and a liquid detection head. The raw material detection head includes multiple convolutional layers and pooling layers; the liquid detection head includes multiple convolutional layers and pooling layers; the number of convolutional layers of the raw material detection head is the same as that of the liquid detection head, and the number of pooling layers of the raw material detection head is the same as that of the liquid detection head; the convolutional layer of the liquid detection head is trained by the loss function of the convolutional layer of the raw material detection head, and the convolutional layer of the raw material detection head is trained by the loss function of the convolutional layer of the liquid detection head and the loss function of the pooling layer of the raw material detection head.

[0066] Furthermore, the training method of the printing and dyeing effect detection model includes:

[0067] A first training set and a second training set are obtained, wherein the first training set includes a plurality of training raw material images, and the second training set includes a plurality of training liquid images; the training raw material images and the training liquid images are taken at the same time. The training is performed in a supervised training manner. The training set includes annotated label images.

[0068] The first training set is input into the raw material detection head, and the second training set is input into the liquid detection head.

[0069] The first training set is convolved by the convolution layer of the raw detection head, and the output of the convolution layer is pooled by the pooling layer of the raw detection head; and the loss function of each convolution layer and the loss function of each pooling layer are calculated.

[0070] The convolution operation is performed on the second training set through the convolution layer of the liquid detection head, and the pooling operation is performed on the output of the convolution layer through the pooling layer of the liquid detection head.

[0071] Calculate the loss function of each convolutional layer and the loss function of each pooling layer separately.

[0072] The convolution layer of the liquid detection head is trained through the loss function of the convolution layer of the raw material detection head, including:

[0073] The convolution kernel of the convolution layer of the liquid detection head is adjusted by the loss function of the convolution layer of the raw material detection head and the loss function of the convolution layer of the liquid detection head, until the output of the last layer of the liquid detection head converges.

[0074] The convolution layer of the raw material detection head is trained through the loss function of the convolution layer of the liquid detection head and the loss function of the pooling layer of the raw material detection head, including:

[0075] The convolution kernel of the convolution layer of the raw detection head is adjusted through the loss function of the convolution layer of the liquid detection head, the loss function of the pooling layer of the raw detection head, and the loss function of the convolution layer of the liquid detection head; until the output of the last layer of the raw detection head converges.

[0076] Please refer to Figure 2 The convolution layer of the raw material detection head includes 3 convolution layers and 3 pooling layers, and the liquid detection head includes 3 convolution layers and 3 pooling layers. The convolution layers and pooling layers in the raw material detection head and the liquid detection head are staggered, that is, the output of the convolution layer in the raw material detection head is used as the input of the pooling layer, and the output of the convolution layer in the liquid detection head is used as the input of the pooling layer.

[0077] In the embodiment of the present invention, adjusting the convolution kernel of the convolution layer of the liquid detection head by using the loss function of the convolution layer of the raw material detection head and the loss function of the convolution layer of the liquid detection head includes:

[0078] The loss function of the i-th convolutional layer of the raw material detection head is e i : y k represents the kth output of the i-th convolutional layer of the raw detection head, y k ′ represents the kth standard output of the i-th layer of the raw material detection head; i represents the number of the data, and m represents the dimension of the output data;

[0079] The convolution kernel of the i-th convolution layer of the liquid detection head is adjusted by the following formula:

[0080]

[0081] Among them, p t represents the tth value of the convolution kernel of the i-th convolution layer of the updated liquid detection head, p t0 represents the tth value of the convolution kernel of the i-th convolution layer of the liquid detection head before updating, l i Represents the loss function of the i-th convolutional layer of the liquid detection head. i The calculation method of e can be the same as above i The calculation method is the same as w j is calculated in the same way.

[0082] Optionally, adjusting the convolution kernel of the convolution layer of the raw material detection head through the loss function of the convolution layer of the liquid detection head, the loss function of the pooling layer of the raw material detection head, and the loss function of the convolution layer of the liquid detection head includes:

[0083] The loss function of the j-th pooling layer of the raw material detection head is w j : Among them, f g represents the g-th correct solution label of the j-th pooling layer of the raw detection head, x g Represents the g-th output of the j-th pooling layer of the raw detection head.

[0084] In the embodiment of the present invention, i+1=j. The value of i is 1, 3, 5, the value of j is 2, 4, 6, and the value of t is 1, 3, 5.

[0085] The convolution kernel of the i-th convolutional layer of the raw material detection head is adjusted by the following formula:

[0086]

[0087] Among them, p u represents the u-th value of the convolution kernel of the i-th convolutional layer after update, p u0 Represents the u-th value of the convolution kernel of the i-th convolutional layer before updating.

[0088] In the embodiment of the present invention, the initial value of the kernel of the convolution layer may be a 3×3 unit matrix or a 1×9 unit vector.

[0089] For the entire printing and dyeing effect detection model, during training, the loss function of the convolution layer of each layer of the raw material detection head and the loss function of each pooling layer are weightedly summed to obtain the overall loss function L1 of the raw material detection head; the loss function of the convolution layer of each layer of the liquid detection head and the loss function of each pooling layer are weightedly summed to obtain the overall loss function L2 of the liquid detection head.

[0090] The raw material detection head is trained by combining L2 with L1 until the output of the printing and dyeing effect detection model converges.

[0091] Specifically, L = a*L2+b*L1, a+b=1, where a and b are weighting factors, and the values ​​of a and b are any real numbers between 0 and 1. L is the overall loss function of the printing and dyeing effect detection model. a<b. Optionally, a=0.3; b=0.7.

[0092] In the printing and dyeing effect detection model, a weighted sum operation is performed on the output of the last pooling layer of the raw material detection head and the output of the last pooling layer of the liquid detection head through a fully connected layer to obtain a printing and dyeing score vector. The maximum value in the printing and dyeing score vector is the printing and dyeing score required by the embodiment of the present invention.

[0093] Among them, X represents the output vector of the last pooling layer of the raw material detection head, Y represents the output vector of the last pooling layer of the liquid detection head, and the printing and dyeing score vector in the fully connected layer is O, O = a*Y+b*X.

[0094] By adopting the above scheme, mutual feedback training is carried out between the raw material detection head and the liquid detection head, so that the printing and dyeing effect detection model can dig out the implicit correlation between the effect of the raw material after printing and dyeing processing and the liquid, so that the printing and dyeing effect detection model can accurately estimate the printing and dyeing score, so that the printing and dyeing score can accurately represent the quality of the printing and dyeing effect.

[0095] As a further step, if the printing and dyeing effect does not reach the preset level within the preset time, a quota of chemicals is allocated according to the printing and dyeing effect, including:

[0096] If the printing and dyeing score is less than the set value, it is determined that the printing and dyeing effect does not reach the preset degree. The set value is any real number between 0.6 and 0.9. The preset degree can be between 60% and 90%.

[0097] According to the printing and dyeing effect, the quota of chemicals is prepared to meet the following conditions:

[0098]

[0099] Among them, a0 represents the amount of medicine that has been added, G0 represents the amount of water that has been added, a represents the amount of medicine that needs to be added; T represents the concentration of medicine for the best effect; q represents the printing and dyeing score.

[0100] By adopting the above method, the amount of liquid medicine to be prepared can be automatically and accurately calculated, which can reduce the waste of liquid medicine and save water resources. At the same time, it can improve the printing and dyeing effect, shorten the printing and dyeing process time, and improve the printing and dyeing efficiency.

[0101] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the present invention described herein, and the description of the above specific languages ​​is for disclosing the best mode of the present invention.

[0102] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0103] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.

[0104] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0105] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0106] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the apparatus according to an embodiment of the present invention. The present invention may also be implemented as a device or device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may have the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0107] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.

Claims

1. A short-process water-saving printing and dyeing intelligent control method, characterized in that: include: Combine desizing, scouring, bleaching and dyeing into one process; Real-time detection of the printing and dyeing effect of the water consumption link; If the printing and dyeing effect does not reach the preset level within the preset time, a quota of medicine is prepared according to the printing and dyeing effect, and the prepared medicine is added to the printing and dyeing process, or material addition information is generated according to the printing and dyeing effect to add specific medicine to the printing and dyeing process; If the printing and dyeing effect reaches the preset level at the preset time node, the next link information will be sent to change the dyeing and printing link in time; The real-time detection of the printing and dyeing effect of the water consumption link of printing and dyeing includes: Obtain raw material images and liquid images of the water-consuming process of printing and dyeing; Inputting the raw material image and the liquid image into a pre-trained printing and dyeing effect detection model, the printing and dyeing effect detection model outputs a printing and dyeing score, the size of which is used to characterize the quality of the printing and dyeing effect; The printing and dyeing effect detection model includes a raw material detection head and a liquid detection head. The raw material detection head includes multiple convolutional layers and pooling layers; the liquid detection head includes multiple convolutional layers and pooling layers; the number of convolutional layers of the raw material detection head is the same as that of the liquid detection head, and the number of pooling layers of the raw material detection head is the same as that of the liquid detection head; the convolutional layer of the liquid detection head is trained by the loss function of the convolutional layer of the raw material detection head, and the convolutional layer of the raw material detection head is trained by the loss function of the convolutional layer of the liquid detection head and the loss function of the pooling layer of the raw material detection head.

2. The intelligent control method for short-process water-saving printing and dyeing according to claim 1 is characterized in that: The training method of the printing and dyeing effect detection model includes: Obtaining a first training set and a second training set, wherein the first training set includes a plurality of training raw material images, and the second training set includes a plurality of training liquid images; the training raw material images and the training liquid images are shot at the same time; Inputting the first training set into the raw material detection head, and inputting the second training set into the liquid detection head; Perform a convolution operation on the first training set through the convolution layer of the raw detection head, and perform a pooling operation on the output of the convolution layer through the pooling layer of the raw detection head; and calculate the loss function of each convolution layer and the loss function of each pooling layer; Performing a convolution operation on the second training set through the convolution layer of the liquid detection head, and performing a pooling operation on the output of the convolution layer through the pooling layer of the liquid detection head; Calculate the loss function of each convolution layer and each pooling layer respectively; The convolution layer of the liquid detection head is trained through the loss function of the convolution layer of the raw material detection head, including: Adjust the convolution kernel of the convolution layer of the liquid detection head through the loss function of the convolution layer of the raw material detection head and the loss function of the convolution layer of the liquid detection head; Until the output of the last layer of the liquid detection head converges; The convolution layer of the raw material detection head is trained through the loss function of the convolution layer of the liquid detection head and the loss function of the pooling layer of the raw material detection head, including: Adjust the convolution kernel of the convolution layer of the raw material detection head through the loss function of the convolution layer of the liquid detection head, the loss function of the pooling layer of the raw material detection head, and the loss function of the convolution layer of the liquid detection head; Until the output of the last layer of the raw material detection head converges.

3. The intelligent control method for short-process water-saving printing and dyeing according to claim 2 is characterized in that: Through the loss function of the convolution layer of the raw material detection head and the loss function of the convolution layer of the liquid detection head, the convolution kernel of the convolution layer of the liquid detection head is adjusted, including: The loss function of the i-th convolutional layer of the raw material detection head is e i : y k represents the kth output of the i-th convolutional layer of the raw detection head, y k ′ represents the kth standard output of the i-th layer of the raw material detection head; i represents the number of the data, and m represents the dimension of the output data; The convolution kernel of the i-th convolution layer of the liquid detection head is adjusted by the following formula: Among them, p t represents the tth value of the convolution kernel of the i-th convolution layer of the updated liquid detection head, p t0 represents the tth value of the convolution kernel of the i-th convolution layer of the liquid detection head before updating, l i Represents the loss function of the i-th convolutional layer of the liquid detection head.

4. The intelligent control method for short-process water-saving printing and dyeing according to claim 3 is characterized in that: The convolution kernel of the convolution layer of the raw material detection head is adjusted through the loss function of the convolution layer of the liquid detection head, the loss function of the pooling layer of the raw material detection head, and the loss function of the convolution layer of the liquid detection head, including: The loss function of the j-th pooling layer of the raw material detection head is w j : Among them, f g represents the jth pooling layer of the raw detection head g Correct solution labels, x g represents the jth pooling layer of the raw detection head g output; adjust the convolution kernel of the i-th convolution layer of the raw material detection head by the following formula: Among them, p u represents the u-th value of the convolution kernel of the i-th convolutional layer after update, p u0 Represents the u-th value of the convolution kernel of the i-th convolutional layer before updating.

5. The intelligent control method for short-process water-saving printing and dyeing according to claim 1 is characterized in that: If the printing and dyeing effect does not reach the preset level within the preset time, a quota of chemicals will be allocated according to the printing and dyeing effect, including: If the printing and dyeing score is less than the set value, it is determined that the printing and dyeing effect does not reach the preset level; According to the printing and dyeing effect, the quota of chemicals is prepared to meet the following conditions: Among them, a0 represents the amount of medicine that has been added, G0 represents the amount of water that has been added, a represents the amount of medicine that needs to be added; T represents the concentration of medicine for the best effect; q represents the printing and dyeing score.

6. The intelligent control method for short-process water-saving printing and dyeing according to claim 5 is characterized in that: The set value can be any real number between 0.6 and 0.

9.

7. A short-process water-saving printing and dyeing intelligent control system, characterized in that: include: Detection module, used to detect the printing and dyeing effect of the water consumption link in real time; The control module is used to prepare a quota of medicine according to the printing and dyeing effect, and add the prepared medicine to the printing and dyeing link, or generate material addition information according to the printing and dyeing effect to add specific medicine to the printing and dyeing link if the printing and dyeing effect does not reach the preset degree within the preset time; if the printing and dyeing effect reaches the preset degree at the preset time node, send the next link information to change the dyeing and printing link in time; The real-time detection of the printing and dyeing effect of the water consumption link of printing and dyeing includes: Obtain raw material images and liquid images of the water-consuming process of printing and dyeing; Inputting the raw material image and the liquid image into a pre-trained printing and dyeing effect detection model, the printing and dyeing effect detection model outputs a printing and dyeing score, the size of which is used to characterize the quality of the printing and dyeing effect; The printing and dyeing effect detection model includes a raw material detection head and a liquid detection head. The raw material detection head includes multiple convolutional layers and pooling layers; the liquid detection head includes multiple convolutional layers and pooling layers; the number of convolutional layers of the raw material detection head is the same as that of the liquid detection head, and the number of pooling layers of the raw material detection head is the same as that of the liquid detection head; the convolutional layer of the liquid detection head is trained by the loss function of the convolutional layer of the raw material detection head, and the convolutional layer of the raw material detection head is trained by the loss function of the convolutional layer of the liquid detection head and the loss function of the pooling layer of the raw material detection head.

8. The intelligent control system for short-process water-saving printing and dyeing according to claim 7 is characterized in that: The system comprises a short-process water-consuming tank; the short-process water-consuming tank is used for desizing, scouring, bleaching and dyeing.