Paper processing detection system based on artificial intelligence

Through the paper processing and detection system based on artificial intelligence, using deep convolutional neural networks and support vector machines and other technologies, real-time monitoring and optimization of paper quality detection and wastewater treatment are achieved, solving the problems of low efficiency and environmental protection of traditional methods, and improving papermaking Industrial efficiency and environmental protection level.

CN117782217BActive Publication Date: 2024-11-08CHENGBU MIAO AUTONOMOUS COUNTY YINHE PAPER IND
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311835641.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-11-08
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

Traditional paper quality inspection and wastewater treatment methods are inefficient and have poor accuracy, which cannot meet the high-speed, efficient, high-quality and environmental protection requirements of the modern paper industry, and are difficult to monitor and adjust in real time.

Method used

Design a paper processing and detection system based on artificial intelligence, including paper detection module, wastewater detection module and feedback processing module, and use cameras, deep convolutional neural networks, sensors, support vector machines and genetic algorithms to achieve fast and accurate paper quality Detection and real-time monitoring and treatment of wastewater.

Benefits of technology

It realizes rapid, accurate, automatic detection of paper quality and effective treatment of wastewater, improves paper quality and efficiency, and reduces paper production costs and environmental impacts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117782217B_ABST
    Figure CN117782217B_ABST
Patent Text Reader

Abstract

The present invention discloses a paper processing detection system based on artificial intelligence, which belongs to the field of paper manufacturing detection technology. It solves the technical problems of low efficiency, poor accuracy and great difficulty in wastewater treatment of paper quality detection in the prior art. The technical principle of the present invention is: using a camera to collect paper images, using a variety of sensors to collect wastewater data in the papermaking process, using artificial intelligence to analyze the data, and outputting the status and characteristics of the collected data; optimizing the wastewater treatment process and parameters, outputting the wastewater treatment plan and control signal, and adjusting the parameters in the papermaking process; displaying the detection and processing results, and sending an alarm signal in abnormal situations. The beneficial effects of the present invention are: the system can realize fast, accurate and automatic detection of paper quality, and at the same time can effectively monitor and treat the wastewater generated in the papermaking process, thereby improving the quality and efficiency of paper and reducing the cost and environmental impact of papermaking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of paper manufacturing detection, and in particular to a paper processing detection system based on artificial intelligence. Background Art

[0002] Papermaking is a process of processing raw materials such as plant fibers by chemical or mechanical methods to make paper or paperboard. With the progress of society and the development of science and technology, papermaking technology has been continuously improved and innovated to meet the production of paper for different purposes and needs. However, papermaking technology also faces some problems and challenges, mainly including the following two aspects:

[0003] (1) Paper quality inspection is an important part of the papermaking process, which directly affects the performance and use of paper. Traditional paper quality inspection methods mainly rely on manual or simple instruments, which have the disadvantages of low efficiency, poor accuracy, large human errors, and inability to provide real-time feedback. It is difficult to meet the high-speed, high-efficiency, and high-quality requirements of the modern papermaking industry.

[0004] (2) The papermaking process generates a large amount of wastewater, which contains a variety of harmful substances, such as cellulose, lignin, pigments, heavy metals, organic matter, etc. If it is discharged directly without treatment, it will cause serious pollution and damage to the environment. Traditional wastewater treatment methods mainly rely on manual or simple control systems, which have the disadvantages of poor treatment effect, high treatment cost, difficult to optimize treatment parameters, and inability to adjust in real time. It is difficult to meet the energy-saving, environmental protection, and low-carbon requirements of the modern papermaking industry.

[0005] (3) With the development of society, the state attaches more and more importance to environmental protection, and the treatment of wastewater generated after processing is becoming more and more strict. Enterprises also need to pay attention to wastewater treatment. With the development of the economy, people's requirements for quality of life are now improving. It is necessary for papermaking enterprises to produce high-quality paper. However, the quality control of paper is related to the processing cost, product pricing profit and competitiveness of the production enterprise, and also affects the environmental protection expenditure, which is an inevitable cost. In summary, only a more comprehensive consideration and management of paper quality control and wastewater environmental protection treatment is the more suitable development direction for current papermaking enterprises.

[0006] Therefore, how to design and develop a system that can detect paper on the assembly line in real time and monitor and treat wastewater in real time is a technical problem that needs to be solved urgently. Summary of the invention

[0007] In view of the above problems, the present invention provides a paper processing detection system based on artificial intelligence. To achieve the above purpose, the quality of paper can be quickly, accurately and automatically detected, and the wastewater generated in the papermaking process can be effectively monitored and treated, thereby improving the quality and efficiency of paper and reducing the cost and environmental impact of papermaking.

[0008] The technical solution adopted by the present invention is:

[0009] A paper processing detection system based on artificial intelligence, comprising:

[0010] A paper detection module, including a camera and a detection artificial intelligence module, wherein the camera collects paper images, and the detection artificial intelligence module processes the paper images, extracts the color, gloss, flatness, and defects of the paper, and outputs the quality index of the paper;

[0011] A wastewater detection module, comprising a sensor component and a support vector machine; the sensor component comprises a conductivity sensor, a pH sensor, a residual chlorine sensor, a turbidity sensor, an ORP sensor, and a support vector machine; the conductivity sensor detects the conductivity of the wastewater; the pH sensor detects the pH value of the wastewater; the residual chlorine sensor detects the residual chlorine content of the wastewater; the turbidity sensor detects the turbidity of the wastewater; the ORP sensor detects the oxidation-reduction potential of the wastewater; the support vector machine processes the wastewater data and outputs the state and characteristics of the wastewater;

[0012] A feedback processing module includes an artificial intelligence processing module and a controller; the artificial intelligence processing module selects a wastewater treatment scheme and papermaking process parameters according to the data of paper and wastewater, and outputs a wastewater treatment scheme and a papermaking process parameter control signal; the controller adjusts the water volume, temperature and pressure in the papermaking process according to the papermaking process parameter control signal;

[0013] The human-computer interaction module includes an input module, a display module, and an alarm module; the input module collects user input; the display module displays the input result, the detection result of the paper detection module, the detection result of the wastewater detection module, and the treatment result of the wastewater treatment module; the alarm module sends an alarm signal to remind the user when it detects that the quality index of the paper is lower than a preset threshold, or the state or characteristics of the wastewater exceed a specified range;

[0014] The paper detection module, the wastewater detection module, the wastewater treatment module and the human-computer interaction module are connected and communicated with each other via data lines or wireless signals.

[0015] The beneficial effects of the present invention are: the system realizes rapid, accurate and automatic detection of paper quality, and can effectively monitor and treat wastewater generated in the papermaking process, thereby improving paper quality and efficiency and reducing papermaking costs and environmental impacts.

[0016] As a further improvement of the above solution: the detection artificial intelligence module adopts a deep convolutional neural network to extract features and classify the paper image.

[0017] The beneficial effect of the present invention is that the deep convolutional neural network can accurately perform feature extraction and classification.

[0018] As a further improvement of the above scheme: the structure of the deep convolutional neural network is: an input layer, a convolution layer, a pooling layer, a fully connected layer and an output layer, wherein the input layer receives the paper image, the convolution layer is used to perform a convolution operation on the paper image, the pooling layer is used to downsample the output of the convolution layer, the fully connected layer is used to convert the output of the pooling layer into a one-dimensional vector, the output layer is used to generate the quality index of the paper according to the output of the fully connected layer, and the output of the convolution layer is Among them, O i,j,k is the output of the kth convolution kernel in the i-th row and j-th column, W m,n,l,k is the weight of the kth convolution kernel at the mth row, nth column, and lth layer, I i+m,j+n,l is the pixel value of the input image of the layer l at the i+mth row and j+nth column, b k is the bias term of the kth convolution kernel, M and N are the sizes of the convolution kernel, and L is the number of channels of the input image.

[0019] The beneficial effect of the present invention is that the quality of paper can be detected quickly, accurately and automatically by utilizing artificial intelligence technology.

[0020] As a further improvement of the above scheme: the support vector machine uses a kernel function to map the wastewater data from a low-dimensional space to a high-dimensional space, wherein the kernel function is: K(x,y)=exp(-γ||xy|| 2 ), X and y are the data vectors of the wastewater, and γ is the parameter of the kernel function.

[0021] The beneficial effect of the present invention is to analyze wastewater data using artificial intelligence technology.

[0022] The present invention also provides a paper processing detection method based on artificial intelligence, comprising the following steps:

[0023] S1 collects paper images, uses a camera to shoot the paper in the process, and obtains image data of the paper in the process;

[0024] S2 processes the paper image, uses the detection artificial intelligence module to process the image data using a deep convolutional neural network, extracts the color, gloss, flatness, and defects of the paper, and outputs the quality index of the paper;

[0025] S3 collects wastewater data and uses conductivity sensors, pH sensors, residual chlorine sensors, turbidity sensors, and ORP sensors to monitor wastewater in the papermaking process. The conductivity sensor detects the conductivity of the wastewater; the pH sensor detects the pH value of the wastewater; the residual chlorine sensor detects the residual chlorine content of the wastewater; the turbidity sensor detects the turbidity of the wastewater; the ORP sensor detects the oxidation-reduction potential of the wastewater; the support vector machine processes the wastewater data and outputs the state and characteristics of the wastewater;

[0026] S4 processes the wastewater data by using a support vector machine to process the wastewater data using a radial basis kernel function, extracts the composition, concentration, and pH value of the wastewater, and outputs the state and characteristics of the wastewater;

[0027] S5 selects a wastewater treatment scheme, uses a processing artificial intelligence module to select a wastewater treatment scheme and papermaking process parameters according to the quality index of the paper, the state and characteristics of the wastewater, and outputs a wastewater treatment scheme and papermaking process parameter control signal;

[0028] S6 adjusts the papermaking process, using a controller to control the signal according to the papermaking process parameters, to control the valve for controlling the amount of water in the papermaking process, to control the heater for adjusting the temperature, and to control the pressure gauge for adjusting the pressure;

[0029] The beneficial effects of the present invention are: the method can realize the integration and coordinated optimization of paper detection and wastewater treatment, can be flexibly adjusted and controlled according to different paper types and wastewater conditions, improves the adaptability and reliability of the system, and can facilitate user use.

[0030] As a further improvement of the above technical solution: the quality index of the paper is expressed as Q(X)=α1C(X)+α2G(X)+α3F(X)+α4D(X), where Q(X) is the quality index of the paper, C(X) is the color of the paper, G(X) is the gloss of the paper, F(X) is the flatness of the paper, D(X) is the defect of the paper, and α1, α2, α3 and α4 are weight coefficients of each index, which are determined according to the AHP hierarchical analysis method or historical data;

[0031] The beneficial effect of the present invention is that the quality of paper is displayed in a mathematical way, which is more intuitive and scientific.

[0032] As a further improvement of the above technical solution: the selection of wastewater treatment scheme and papermaking process parameters is processed by an artificial intelligence processing module, and the artificial intelligence processing module adopts a genetic algorithm to optimize the wastewater treatment process and parameters.

[0033] The beneficial effects of the present invention are: using a genetic algorithm to select the optimal wastewater treatment plan according to the results, thereby realizing the intelligence and optimization of wastewater treatment.

[0034] As a further improvement of the above technical solution: the use of genetic algorithm includes the following steps:

[0035] S51 initialization: randomly generate a certain number of wastewater treatment schemes and papermaking process parameters as the initial population, where the wastewater treatment schemes and papermaking process parameters are represented by binary codes, where is the code of a wastewater treatment scheme and papermaking process parameter, is the binary number of the th position, is the length of the code, sets the accuracy requirements for the solution, the size of the initial population, and the probability of crossover and mutation;

[0036] S52 Evaluation: According to the quality and efficiency of paper and the cost and environmental impact of papermaking, the fitness value of each wastewater treatment scheme and papermaking process parameter is calculated as f(x)=w1Q(X)+w2E(X)-w3C(X)-w4P(X), where f(x) is the fitness value of a wastewater treatment scheme and papermaking process parameter, Q(X) is the quality index of paper, E(X) is the efficiency of paper, C(X) is the cost of papermaking, P(X) is the environmental impact of papermaking, ω1 is the weight coefficient of Q(X), and ω2 is the weight coefficient of E(X). ), ω3 is the weight coefficient of C(X), ω4 is the weight coefficient of P(X); where E(X) is the efficiency of paper. The efficiency level of paper is evaluated according to the output, qualified rate and speed of paper. E(X)=β1Y(X)+β2R(X)+β3S(X) where E(X) is the efficiency of paper, Y(X) is the output of paper, R(X) is the qualified rate of paper, S(X) is the speed of paper, β1 is the weight coefficient of Y(X), β2 is the weight coefficient of R(X), β3 is the weight coefficient of R(X). C(X): the cost of papermaking. The total cost of papermaking is calculated based on the raw materials, energy, labor and equipment costs of paper. C(X) = γ1M(X) + γ2E(X) + γ3L(X) + γ4A(X). Among them, C(X) is the cost of papermaking, M(X) is the raw material cost of paper, E(X) is the energy cost of paper, L(X) is the labor cost of paper, A(X) is the equipment depreciation cost of paper, γ1 is the proportional coefficient of M(X), γ2 is the proportional coefficient of E(X), and γ3 is the proportional coefficient of L(X). Example coefficient, γ4 is the proportional coefficient of A(X); P(X): environmental impact of papermaking. According to the wastewater, waste gas and waste residue emissions of paper, the environmental pollution degree of papermaking is comprehensively evaluated. P(X) = δ1W(X) + δ2G(X) + δ3S(X) Wherein, P(X) is the environmental impact of papermaking, W(X) is the wastewater discharge of paper, G(X) is the waste gas emission of paper, S(X) is the waste residue emission of paper, δ1 is the influence coefficient of W(X), δ2 is the influence coefficient of G(X), and δ3 is the influence coefficient of S(X);

[0037] S53 selection: According to the fitness value, a certain number of wastewater treatment schemes and papermaking process parameters are selected as the next generation population using the roulette method; a certain number of chromosomes are selected from the initial population as the parents of the next generation. The probability of selection is proportional to the fitness value, that is, the higher the fitness value of the chromosome, the greater the probability of being selected;

[0038] S54 crossover: For every two wastewater treatment schemes and papermaking process parameters, partial exchange is performed with a certain probability to generate new wastewater treatment schemes and papermaking process parameters; according to the crossover probability, the parent chromosomes are paired, and then one or more crossover points are randomly selected on the chromosomes, and the chromosome segments after the crossover points are exchanged to generate new chromosomes as the next generation of offspring;

[0039] S55 mutation: Each wastewater treatment scheme and papermaking process parameter is randomly changed with a certain probability to generate new wastewater treatment schemes and papermaking process parameters; according to the mutation probability, the offspring chromosome is randomly modified, that is, one or more bits are randomly selected on the chromosome and flipped, that is, 0 becomes 1, 1 becomes 0, and a new chromosome is generated as the offspring of the next generation;

[0040] S56 update: replace the parent chromosome with the offspring chromosome to form a new population, and calculate the fitness value of each chromosome;

[0041] S57 termination: determine whether the preset number of iterations or fitness threshold is reached, if yes, output the optimal wastewater treatment solution and papermaking process parameters, if not, return to S52.

[0042] The beneficial effects of the present invention are: selecting wastewater schemes and parameters is mathematically quantified, the optimal wastewater treatment scheme is selected, and the wastewater treatment process and parameters are optimized. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a schematic diagram of the structure of the paper processing detection system;

[0044] Figure 2 This is the work flow chart of the paper processing detection system;

[0045] Figure 3 Workflow diagram for selecting wastewater treatment options. DETAILED DESCRIPTION

[0046] In order to enable those skilled in the art to better understand the technical solution, the technical solution is described in detail below in conjunction with the embodiments. The description in this section is only exemplary and explanatory and should not have any limiting effect on the scope of protection of the present application.

[0047] Embodiment 1:

[0048] Figure 1 The following is a schematic diagram of the system structure of the present invention. As shown in the figure, a paper processing detection system based on artificial intelligence includes:

[0049] The paper detection module includes a camera and a detection artificial intelligence module, which collects paper images, processes the paper images, extracts indicators such as the color, gloss, flatness, and defects of the paper, and outputs the quality index of the paper; the detection artificial intelligence module uses a deep convolutional neural network to extract features and classify the paper images. The structure of the deep convolutional neural network is: input layer, convolution layer, pooling layer, fully connected layer and output layer, wherein the input layer receives the paper image, the convolution layer is used to perform convolution operations on the paper image, the pooling layer is used to downsample the output of the convolution layer, the fully connected layer is used to convert the output of the pooling layer into a one-dimensional vector, and the output layer is used to generate the quality index of the paper according to the output of the fully connected layer. The output of the convolution layer is Among them, O i,j,k is the output of the kth convolution kernel in the i-th row and j-th column, W m,n,l,k is the weight of the kth convolution kernel at the mth row, nth column, and lth layer, I i+m,j+n,l is the pixel value of the input image of the layer l at the i+mth row and j+nth column, b k is the bias term of the kth convolution kernel, M and N are the sizes of the convolution kernel, and L is the number of channels of the input image. Assume that the size of the input image is 28×28×3, that is, the height and width are both 28 pixels, and the number of channels is 3 (color image). The size of the convolution kernel is 5×5×3, that is, the height and width are both 5 pixels, and the number of channels is the same as the input image. The number of convolution kernels is 16, that is, the number of channels of the output image is 16. The stride is 1, and the convolution kernel moves one pixel at a time. The padding is 0, and the edges of the input image are not expanded.

[0050] Based on these parameters, we can calculate the size of the output image as:

[0051]

[0052]

[0053] O C =F N =16

[0054] Among them, O H , O W , O C Respectively represent the height, width and number of channels of the output image, I H , I W , I C Respectively represent the height, width and number of channels of the input image, F H , F W , F C Respectively represent the height, width and number of channels of the convolution kernel, F N represents the number of convolution kernels, P represents padding, and S represents stride.

[0055] Therefore, the size of the output image is 24×24×16. In order to calculate the value of each pixel of the output image, the input image and the convolution kernel need to be convolved. For the pixel in the i-th row and j-th column of the k-th channel of the output image, the 5×5 area of ​​the l-th channel of the input image centered on the i-th row and j-th column and the 5×5 area of ​​the l-th channel of the k-th convolution kernel are multiplied element by element, then summed and added with the bias term of the k-th convolution kernel. This process can be expressed by the following formula:

[0056]

[0057] Among them, O i,j,k is the pixel value of the i-th row and j-th column of the k-th channel of the output image, W m,n,l,k is the weight value of the mth row and nth column of the lth channel of the kth convolution kernel, I i+m,j+n,l is the pixel value of the i+mth row and j+nth column of the lth channel of the input image, b k is the bias term of the kth convolution kernel. To calculate this value, multiply the 5×5 area in the upper left corner of the first channel of the input image by the 5×5 area of ​​the first channel of the first convolution kernel element by element, then sum them up and add the bias term of the first convolution kernel. Calculate the product sum of the corresponding areas of the second and third channels of the input image and the corresponding areas of the second and third channels of the first convolution kernel, and then add these three results to get O 0,0,0 To calculate the values ​​of other pixels in the output image, we need to slide the convolution kernel on the input image, moving one pixel at a time, and repeat the above convolution operation. To calculate the values ​​of other channels in the output image, we need to use different convolution kernels and repeat the above convolution operation.

[0058] The wastewater detection module includes a sensor component and a support vector machine; the sensor component includes a conductivity sensor, a pH sensor, a residual chlorine sensor, a turbidity sensor, an ORP sensor, and a support vector machine; the conductivity sensor detects the conductivity of the wastewater; the pH sensor detects the pH value of the wastewater; the residual chlorine sensor detects the residual chlorine content of the wastewater; the turbidity sensor detects the turbidity of the wastewater; the ORP sensor detects the oxidation-reduction potential of the wastewater; the support vector machine processes the wastewater data and outputs the state and characteristics of the wastewater; the support vector machine uses a kernel function to map the wastewater data from a low-dimensional space to a high-dimensional space, wherein the kernel function is: K(x,y)=exp(-γ||xy|| 2), X and y are the data vectors of the wastewater, and γ is the parameter of the kernel function. Assume that the wastewater data is two-dimensional, that is, x = (x1, x2), y = (y1, y2), where x1 and y1 represent the conductivity of the wastewater, and x2 and y2 represent the pH value of the wastewater. Assume that the parameter γ of the kernel function is 0.5, then the value of the kernel function is:

[0059] K(x,y)=exp(-0.5[(x1-y1) 2 +(x2-y2) 2 ])

[0060] The value of this kernel function represents the similarity of two wastewater data. The larger the value, the more similar they are, and the smaller the value, the less similar they are. For example, if there are two wastewater data x = (1, 7) and y = (2, 8), the value of the kernel function is:

[0061] K(x,y)=exp(-0.5[(1-2) 2 +(7-8) 2 ])≈0.6065

[0062] This means that the two wastewater data are similar. If there are two other wastewater data x = (1, 7) and z = (5, 3), the value of the kernel function is:

[0063] K(x,z)=exp(-0.5[(1-5) 2 +(7-3) 2 ])≈0.0183

[0064] This indicates that the two wastewater data are not very similar.

[0065] Using the value of the kernel function, a kernel matrix is ​​constructed, which is a symmetric positive definite matrix that represents the similarity between wastewater data. For example, if there are four wastewater data x1 = (1, 7), x2 = (2, 8), x3 = (5, 3), x4 = (6, 4), then the kernel matrix is:

[0066] Calculated:

[0067]

[0068] Using kernel matrix, use SVM to perform classification or regression on wastewater data.

[0069] A feedback processing module includes an artificial intelligence processing module and a controller; the artificial intelligence processing module selects a wastewater treatment scheme and papermaking process parameters according to the data of paper and wastewater, and outputs a wastewater treatment scheme and a papermaking process parameter control signal; the controller adjusts the water volume, temperature and pressure in the papermaking process according to the papermaking process parameter control signal;

[0070] The human-computer interaction module includes an input module, a display module, and an alarm module. According to the user's input, the module displays the input result, automatically displays the detection results of the paper detection module, the wastewater detection module, and the wastewater treatment module, and sends an alarm signal to remind the user when it is detected that the paper quality index is lower than a preset threshold, or the state or characteristics of the wastewater exceed the specified range;

[0071] The paper detection module, the wastewater detection module, the wastewater treatment module and the human-computer interaction module are connected and communicated with each other via data lines or wireless signals.

[0072] Embodiment 2:

[0073] Figure 2 This is the workflow diagram of this system. Figure 3 The flowchart for selecting a wastewater treatment solution is shown in the figure. A paper detection method based on artificial intelligence includes the following steps:

[0074] S1 collects paper images, uses a camera to shoot the paper, and obtains image data of the paper;

[0075] S2 processes the paper image, uses the detection artificial intelligence module to process the image data using a deep convolutional neural network, extracts the color, gloss, flatness, and defects of the paper, and outputs the quality index of the paper;

[0076] S3 collects wastewater data and uses conductivity sensors, pH sensors, residual chlorine sensors, turbidity sensors, and ORP sensors to monitor wastewater in the papermaking process and obtain the conductivity, pH value, residual chlorine content, turbidity, and redox potential of the wastewater;

[0077] S4 processes the wastewater data by using a support vector machine to process the wastewater data using a radial basis kernel function, extracts the composition, concentration, and pH value of the wastewater, and outputs the state and characteristics of the wastewater;

[0078] S5 selects a wastewater treatment scheme, uses a processing artificial intelligence module to select a wastewater treatment scheme and papermaking process parameters according to the quality index of the paper, the state and characteristics of the wastewater, and outputs a wastewater treatment scheme and papermaking process parameter control signal;

[0079] S6 adjusts the papermaking process, using the controller to control the valve for controlling the amount of water in the papermaking process, the heater for controlling the temperature, and the pressure gauge for controlling the pressure according to the control signal;

[0080] S7 displays the detection result, using a display module to display the quality index of the paper, the state and characteristics of the wastewater, the wastewater treatment plan, and the user's input result. When it is detected that the paper quality index is lower than a preset threshold, or the state or characteristics of the wastewater exceed a specified range, an alarm signal is issued to remind the user.

[0081] Among them, S5 selects the wastewater treatment scheme as follows:

[0082] S51 Initialization: Randomly generate a certain number of wastewater treatment schemes and papermaking process parameters as the initial population, where the wastewater treatment schemes and papermaking process parameters are represented by binary codes x = (x1, x2, ..., x n ), where x is the code of a wastewater treatment scheme and papermaking process parameters, i is the binary number of the ith bit, and n is the length of the code; set the accuracy requirements for the solution, set the size of the initial population, and the probability of crossover and mutation. Assume that there are four wastewater treatment schemes, namely A, B, C, and D, which can be represented by two binary numbers, A00, B01, C10, and D11. Assume that there are two wastewater treatment parameters, namely p and q, and their value ranges are both [0,1], which can be represented by fifteen binary numbers, p: 0.000000000000000q: 0.0000000000000000, then the encoding of a wastewater treatment scheme and papermaking process parameters is: X = (X1, X2, ..., Xn) where X is the encoding of a wastewater treatment scheme and papermaking process parameters, Xi is the binary number of the ith bit, and n is the length of the code, n = 2 + 15 + 15 = 32.

[0083] If a wastewater treatment scheme and papermaking process parameters are: Scheme B, p = 0.5, q = 0.75, then its code is:

[0084] X=(0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0)

[0085] S52 Evaluation: According to the quality and efficiency of paper, as well as the cost and environmental impact of papermaking, the fitness value of each wastewater treatment scheme and papermaking process parameter is calculated as f(x)=w1Q(X)+w2E(X)-w3C(X)-w4P(X), where f(x) is the fitness value of a wastewater treatment scheme and papermaking process parameter, Q(X) is the quality index of paper, E(X) is the efficiency of paper, C(X) is the cost of papermaking, P(X) is the environmental impact of papermaking, and w1, w2, w3 and w4 are weight coefficients of each item;

[0086] Wherein Q(X)=α1C(X)+α2G(X)+α3F(X)+α4D(X), Q(X) is the quality index of paper, C(X) is the color of paper, G(X) is the gloss of paper, F(X) is the flatness of paper, D(X) is the defect of paper, α1, α2, α3 and α4 are the weight coefficients of each index, which are determined according to AHP or historical data; assuming that the weight coefficients of each index are α1=0.2, α2=0.3, α3=0.4, α4=0.1, and assuming that the color of a paper is 8, the gloss is 7, the flatness is 9, and the defect is 8, then Q(X)=8.1.

[0087] E(X): paper efficiency. The efficiency level of paper can be evaluated according to the output, qualified rate and speed of paper. E(X)=β1Y(X)+β2R(X)+β3S(X), where E(X) is the efficiency of paper, Y(X) is the output of paper, R(X) is the qualified rate of paper, S(X) is the speed of paper, β1, β2 and β3 are the weight coefficients of each indicator, which are determined according to AHP or historical data. Assuming that the weight coefficients of each indicator are β1=0.4, β2=0.3, β3=0.3, the output is 10, the qualified rate is 0.9, and the speed is 12, according to the formula E(X)=β1Y(X)+β2R(X)+β3S(X), E(X)=9.9.

[0088] C(X): The cost of papermaking. The total cost of papermaking is calculated based on the raw materials, energy, labor, and equipment costs of the paper. C(X) = γ1M(X) + γ2E(X) + γ3L(X) + γ4A(X) where C(X) is the cost of papermaking, M(X) is the raw material cost of the paper, E(X) is the energy cost of the paper, L(X) is the labor cost of the paper, A(X) is the equipment depreciation cost of the paper, and γ1, γ2, γ3 and γ4 are the total cost of papermaking. is the proportional coefficient of each cost, which is determined according to the AHP hierarchical analysis method or historical data. Assuming that raw materials are 100, energy is 80, labor is 60, and equipment is 40, the proportional coefficients of each cost are γ1=0.5, γ2=0.2, γ3=0.2, and γ4=0.1. According to the formula C(X)=γ1M(X)+γ2E(X)+γ3L(X)+γ4A(X), the cost scores of various papers can be calculated as: C(X)=90.

[0089] P(X): Environmental impact of papermaking. According to the wastewater, waste gas and waste residue emissions of paper, the environmental pollution degree of papermaking is comprehensively evaluated: P(X) = δ1W(X) + δ2G(X) + δ3S(X). Among them, P(X) is the environmental impact of papermaking, W(X) is the wastewater discharge of paper, G(X) is the waste gas emission of paper, S(X) is the waste residue emission of paper, and δ1, δ2 and δ3 are the impact coefficients of each emission, which are determined according to the AHP hierarchy analysis method or historical data. Assuming that the wastewater of producing a kind of paper is 50, the waste gas is 40, and the waste residue is 30, the impact coefficients of each emission are δ1 = 0.4, δ2 = 0.3, and δ3 = 0.3, then according to the formula P(X) = δ1W(X) + δ2G(X) + δ3S(X), the environmental impact score of various papers can be calculated as: P(X) = 38.

[0090] According to the database, w1, w2, w3 and w4 can be determined and f(x) can be calculated. The higher the fitness value, the better the wastewater treatment scheme and papermaking process parameters.

[0091] S53 selection: According to the fitness value, a certain number of wastewater treatment schemes and papermaking process parameters are selected as the next generation population using the roulette method; a certain number of chromosomes are selected from the initial population as the parents of the next generation. The probability of selection is proportional to the fitness value, that is, the higher the fitness value of the chromosome, the greater the probability of being selected.

[0092] S54 crossover: For every two wastewater treatment schemes and papermaking process parameters, partial exchange is performed with a certain probability to generate new wastewater treatment schemes and papermaking process parameters; according to the crossover probability, the parent chromosomes are paired, and then one or more crossover points are randomly selected on the chromosomes, and the chromosome fragments after the crossover points are exchanged to generate new chromosomes as the next generation of offspring.

[0093] S55 mutation: For each wastewater treatment scheme and papermaking process parameter, random changes are made with a certain probability to generate new wastewater treatment schemes and papermaking process parameters; according to the mutation probability, the offspring chromosomes are randomly modified, that is, one or more bits are randomly selected on the chromosome and flipped, that is, 0 becomes 1, 1 becomes 0, and new chromosomes are generated as the offspring of the next generation.

[0094] S56 update: Replace the parent chromosome with the offspring chromosome to form a new population and calculate the fitness value of each chromosome.

[0095] S57 Terminate: Determine whether the preset number of iterations or fitness threshold is reached, if yes, output the optimal wastewater treatment scheme and papermaking process parameters, if no, return to S52. In this embodiment, the number of iterations is 100.

[0096] The specific working principle of the present invention is as follows: the image data of paper is collected by a camera, and then the image data is input into the detection artificial intelligence module, and the image data is extracted and classified by a deep convolutional neural network, and the quality index of the paper is output according to the color, gloss, flatness, defects and other indicators of the paper. The wastewater in the papermaking process is monitored by a conductivity sensor, a pH sensor, a residual chlorine sensor, a turbidity sensor, and an ORP sensor to obtain the conductivity, pH value, residual chlorine content, turbidity, redox potential and other data of the wastewater, and then the data is input into a support vector machine. The wastewater detection module uses a radial basis kernel function to map the data from a low-dimensional space to a high-dimensional space, and then finds the optimal classification hyperplane in the high-dimensional space, and outputs the state and characteristics of the wastewater according to the composition, concentration, pH value and other indicators of the wastewater. The wastewater treatment module selects the wastewater treatment process and parameters according to the output data of the paper detection module and the wastewater detection module. The module uses genetic algorithms to optimize the wastewater treatment process and parameters. According to the quality and efficiency of the paper, as well as the cost and environmental impact of papermaking, the module calculates the fitness value of each wastewater treatment scheme and papermaking process parameter, selects the scheme and parameters with the highest fitness value, outputs the wastewater treatment scheme and control signal, and then uses the controller to control valves, heaters, pressure gauges, motors and other equipment according to the control signal to adjust the water volume, temperature, pressure and speed in the papermaking process to achieve effective treatment and reuse of wastewater. The human-computer interaction module uses the input module to receive the user's input, uses the display module to display the user's input results, and uses the output results of the paper detection module, the wastewater detection module and the wastewater treatment module. When the alarm module detects that the paper quality index is lower than the preset threshold, or the state or characteristics of the wastewater exceed the specified range, an alarm signal is issued to remind the user. This module is connected and communicated with other modules through data lines or wireless signals to achieve the function of human-computer interaction.

[0097] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. Specific examples are used in this article to illustrate the principles and implementation methods of the technical solution of the present application. The above examples are only used to help understand the method of the present application and its core idea. The above is only a preferred implementation method of the present application. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements, modifications or changes can be made, and the above technical features can be combined in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the patent concept and technical solution to other occasions without improvement, should be regarded as the scope of protection of the present application.

Claims

1. A paper processing detection method based on artificial intelligence, It is characterized in that The following steps are involved: S1 collects paper images, uses a camera to shoot the paper in the process, and obtains image data of the paper in the process; S2 processes the paper image, uses the detection artificial intelligence module to process the image data using a deep convolutional neural network, extracts the color, gloss, flatness, and defects of the paper, and outputs the quality index of the paper; S3 collects wastewater data and uses conductivity sensors, pH sensors, residual chlorine sensors, turbidity sensors, and ORP sensors to monitor wastewater in the papermaking process. The conductivity sensor detects the conductivity of the wastewater; the pH sensor detects the pH value of the wastewater; the residual chlorine sensor detects the residual chlorine content of the wastewater; the turbidity sensor detects the turbidity of the wastewater; and the ORP sensor detects the oxidation-reduction potential of the wastewater; S4 processes the wastewater data by using a support vector machine to process the wastewater data using a radial basis kernel function, extracts the composition, concentration, and pH value of the wastewater, and outputs the state and characteristics of the wastewater; S5 selects a wastewater treatment scheme, uses a processing artificial intelligence module to select a wastewater treatment scheme and papermaking process parameters according to the quality index of the paper, the state and characteristics of the wastewater, and outputs a wastewater treatment scheme and papermaking process parameter control signal; S6 adjusts the papermaking process, using a controller to control the signal according to the papermaking process parameters, to control the valve for controlling the amount of water in the papermaking process, to control the heater for adjusting the temperature, and to control the pressure gauge for adjusting the pressure; S7 displays the detection result, using a display module to display the quality index of the paper, the state and characteristics of the wastewater, the wastewater treatment plan, and the user's input result, and when it is detected that the quality index of the paper is lower than a preset threshold, or the state or characteristics of the wastewater exceed a specified range, an alarm signal is issued to remind the user; The selection of wastewater treatment scheme and papermaking process parameters is processed by an artificial intelligence processing module, and the artificial intelligence processing module adopts a genetic algorithm to optimize the wastewater treatment scheme and papermaking process parameters; The genetic algorithm comprises the following steps: S51 Initialization: Randomly generate a certain number of wastewater treatment schemes and parameters as the initial population, where the wastewater treatment schemes and parameters are represented by binary codes x = (x 1 ,x 2 ,…,x n ), where x is the code of a wastewater treatment scheme and parameters, i is the binary number of the ith bit, n is the length of the code, sets the accuracy requirements for the solution, the size of the initial population, and the probability of crossover and mutation; S52 Evaluation: Calculate the fitness value f(x)=w for each wastewater treatment scheme and parameter based on the quality and efficiency of paper and the cost and environmental impact of papermaking 1 Q(x)+w 2 E(x)-w 3 C(x)-w 4 P(x), where f(x) is the fitness value of a wastewater treatment scheme and parameter, Q(x) is the quality index of paper, E(x) is the efficiency of paper, C(x) is the cost of papermaking, P(x) is the environmental impact of papermaking, ω 1 is the weight coefficient of Q(X), ω 2 is the weight coefficient of E(X), ω 3 is the weight coefficient of C(X), ω 4 is the weight coefficient of P(X); where E(X): paper efficiency, according to the output, qualified rate and speed of paper, the efficiency level of paper is evaluated, E(X) = β 1 Y(X)+β 2 R(X)+β 3 S(X) where E(X) is the efficiency of the paper, Y(X) is the output of the paper, R(X) is the qualified rate of the paper, S(X) is the speed of the paper, β 1 is the weight coefficient of Y(X), β 2 is the weight coefficient of R(X), β 3 is the weight coefficient of R(X); C(X): the cost of papermaking, which is calculated based on the raw materials, energy, labor, and equipment costs of paper. C(X) = γ 1 M(X)+γ 2 E(X)+γ 3 L(X)+γ 4 A(X) where C(X) is the cost of papermaking, M(X) is the cost of raw materials for paper, E(X) is the energy cost for paper, L(X) is the labor cost for paper, A(X) is the equipment depreciation cost for paper, and γ 1 is the proportionality coefficient of M(X), γ 2 is the proportionality coefficient of E(X), γ 3 is the proportionality coefficient of L(X), γ 4 is the proportionality coefficient of A(X); P(X): the environmental impact of papermaking. According to the wastewater, waste gas and waste residue emissions of paper, the environmental pollution degree of papermaking is comprehensively evaluated P(X) = δ 1 W(X)+δ 2 G(X)+δ 3 S(X) where P(X) is the environmental impact of papermaking, W(X) is the wastewater discharge of paper, G(X) is the waste gas emission of paper, S(X) is the waste residue emission of paper, δ 1 is the influence coefficient of W(X), δ 2 is the influence coefficient of G(X), δ 3 is the influence coefficient of S(X); S53 selection: According to the fitness value, a roulette wheel method is used to select a certain number of wastewater treatment schemes and parameters as the next generation population; a certain number of chromosomes are selected from the initial population as the parents of the next generation; the probability of selection is proportional to the fitness value, that is, the higher the fitness value of the chromosome, the greater the probability of being selected; S54 crossover: For every two wastewater treatment schemes and parameters, partial exchange is performed with a certain probability to generate new wastewater treatment schemes and parameters; according to the crossover probability, the parent chromosomes are paired, and then one or more crossover points are randomly selected on the chromosomes, and the chromosome fragments after the crossover points are exchanged to generate new chromosomes as the next generation of offspring; S55 mutation: Each wastewater treatment scheme and parameter is randomly changed with a certain probability to generate new wastewater treatment schemes and parameters; according to the mutation probability, the offspring chromosome is randomly modified, that is, one or more bits are randomly selected on the chromosome and flipped, that is, 0 becomes 1, 1 becomes 0, and a new chromosome is generated as the offspring of the next generation; S56 update: replace the parent chromosome with the offspring chromosome to form a new population, and calculate the fitness value of each chromosome; S57 terminates: determine whether the preset number of iterations or fitness threshold is reached, if yes, output the optimal wastewater treatment plan and parameters, if not, return to S52.

2. The paper processing detection method based on artificial intelligence according to claim 1, It is characterized in that The quality index of the paper is expressed as Q(X)=α 1 C(X)+α 2 G(X)+α 3 F(X)+α 4 D(X), Q(X) are the quality index of paper, C(X) is the color of paper, G(X) is the gloss of paper, F(X) is the flatness of paper, D(X) is the defect of paper, α 1 is the weight coefficient of C(X), α 2 is the weight coefficient of G(X), α 3 is the weight coefficient of F(X), α 4 is the weight coefficient of D(X).

3. A paper processing detection system according to the paper processing detection method based on artificial intelligence according to claim 1 or 2, It is characterized in that include: A paper detection module, including a camera and a detection artificial intelligence module, wherein the camera collects paper images, and the detection artificial intelligence module processes the paper images, extracts the color, gloss, flatness, and defects of the paper, and outputs the quality index of the paper; A wastewater detection module, comprising a sensor component and a support vector machine; the sensor component comprises a conductivity sensor, a pH sensor, a residual chlorine sensor, a turbidity sensor, an ORP sensor, and a support vector machine; the conductivity sensor detects the conductivity of the wastewater; the pH sensor detects the pH value of the wastewater; the residual chlorine sensor detects the residual chlorine content of the wastewater; the turbidity sensor detects the turbidity of the wastewater; and the ORP sensor detects the oxidation-reduction potential of the wastewater; The support vector machine processes the wastewater data and outputs the state and characteristics of the wastewater; A feedback processing module includes an artificial intelligence processing module and a controller; the artificial intelligence processing module selects a wastewater treatment scheme and papermaking process parameters according to the data of paper and wastewater, and outputs a wastewater treatment scheme and papermaking process parameter control signal; The controller adjusts the water volume, temperature and pressure in the papermaking process according to the papermaking process parameter control signal; Human-computer interaction module, including input module, display module and alarm module; The input module collects user input; the display module displays the input result, the detection result of the paper detection module, the detection result of the wastewater detection module and the treatment result of the wastewater treatment module; the alarm module sends an alarm signal to remind the user when it detects that the quality index of the paper is lower than a preset threshold, or the state or characteristics of the wastewater exceed a specified range; The paper detection module, the wastewater detection module, the wastewater treatment module and the human-computer interaction module are connected and communicated with each other via data lines or wireless signals.

4. The paper processing detection system based on artificial intelligence according to claim 3, It is characterized in that The detection artificial intelligence module uses a deep convolutional neural network to extract features and classify the paper images.

5. The paper processing detection system based on artificial intelligence according to claim 4, It is characterized in that The structure of the deep convolutional neural network is: input layer, convolution layer, pooling layer, fully connected layer and output layer, wherein the input layer receives the paper image, the convolution layer is used to perform convolution operation on the paper image, the pooling layer is used to downsample the output of the convolution layer, the fully connected layer is used to convert the output of the pooling layer into a one-dimensional vector, the output layer is used to generate the quality index of the paper according to the output of the fully connected layer, and the output of the convolution layer is Among them, O i,j,k is the output of the kth convolution kernel in the i-th row and j-th column, W m,n,l,k is the weight of the kth convolution kernel at the mth row, nth column, and lth layer, I i+m,j+n,l is the pixel value of the input image of the layer l at the i+mth row and j+nth column, b k is the bias term of the kth convolution kernel, M and N are the sizes of the convolution kernel, and L is the number of channels of the input image.

6. The paper processing detection system based on artificial intelligence according to claim 3, It is characterized in that The support vector machine uses a kernel function to map wastewater data from a low-dimensional space to a high-dimensional space, wherein the kernel function is: K(x,y)=exp(-γ||xy|| 2 ), x and y are the data vectors of the wastewater, and γ is the parameter of the kernel function.