Open Access

Intelligent Application of Frozen Food Process Production in the Digital Era

  
Sep 26, 2025

Cite
Download Cover

Introduction

In recent years, the frozen food industry has been developing rapidly in China and has rapidly formed a large-scale food market. The production process of quick-frozen food includes a number of steps such as preparation of ingredients, cutting, modulation of ingredients, pretreatment, freezing, and packaging [1-4]. These steps can be precisely controlled and operated to produce quick-frozen food with excellent quality and fresh taste. While quick-frozen food is food made by rapidly freezing fresh food, from the current development of quick-frozen food in China, although it is not perfect in all aspects such as safety, processing depth, shelf life, etc. [5-8], with the improvement of the relevant standard system, the continuous improvement of food production technology, the improvement of food quality and the continuous expansion of the market of quick-frozen food, especially the Intelligent application, frozen food industry development prospects are very broad [9-12].

With the rapid development of science and technology, people’s living standards are also improving, and the requirements for food quality are getting higher and higher. In order to meet these demands, intelligent production has gradually become an important trend in food process, especially frozen food process production [13-16]. Intelligent production plays an important role in quick-frozen food process production, through automated production, intelligent control system, big data analysis and food traceability, it can improve the production efficiency, and guarantee the food quality and safety [17-20]. With the continuous development and innovation of science and technology, the application prospect of intelligent production in food engineering will be broader [21-22].

Literature [23] discussed the application of AI in precision agriculture, food processing, handling and storage, and pointed out that the integration of AI into every stage of the food processing industry can help to improve efficiency, product quantity and quality, and has the potential to alleviate the production and distribution of food. Literature [24] reviewed the potential of robots in food factories, showing that robots meet the criteria for industrial safety and provide fail-safe production cycles. Literature [25] explores advances in the use of artificial neural networks for food processing, including a detailed journey from shallow to deep learning in the application space, revealing that this is not just a mix of concepts, but also offers the opportunity to create new dimensions for innovation. Literature [26] provides the FMEA framework for risk analysis of edible oil purification facilities, comparing the framework with classical models, showing that intelligent strategies are more effective for rpn ranking of failure modes and suggesting appropriate maintenance actions to improve the reliability and safety of food processing lines. Literature [27] explored the application of machine learning and artificial intelligence in the food industry and manufacturing, revealing that it has an important role in areas including supply chain optimization, crop selection, logistics, and food distribution. Literature [28] describes how smart manufacturing has changed the way products are made, packaged, transported, and distributed, emphasizing that it is not replacing humans but optimizing production, and explores the basic concepts of AI technologies and their applications in beverage science and technology. Literature [29] reviewed the identification of quality differences and flavor-producing microorganisms in fermented foods, describing the suitability of electronic noses (tongues) for monitoring the fermentation process and their ability to identify the authenticity of food products in real time based on changes in flavor profiles. Literature [30] analyzes the application of artificial intelligence and big data in the food industry and their impact on production, quality, and safety, and discusses their current status, challenges, and strategies to address them, outlining future trends in the food industry. By describing the intelligence of food production, including the application of artificial intelligence, robotics and other technologies, the above studies show that the new era of food process production in the field of progress with the times, not only to improve the production efficiency, product quality, but also to save costs, but at present, the “intelligence of frozen food process production” has not yet been paid attention to.

In this paper, genetic algorithm is used to optimize the affiliation function, control rules, scaling factor and quantization factor in the fuzzy PID controller for the temperature control system of quick-frozen food. By designing the fuzzy control rules, the problem of large overshoot and large inertia in the digital PID control process is solved. In order to reduce the influence of randomness and subjectivity of design parameters, the strategy of automatic adjustment of cross-variance probability with evolutionary generations is adopted to avoid the algorithm converging too slowly or falling into local optimal solution too early. Finally, simulation experiments and practical applications are carried out.

Frozen food production process
Principles and Characteristics of Quick Frozen Foods
Food freezing

The use of modern freezing technology, in the shortest possible time, the temperature of the food will be lowered to its freezing point below the expected freezing temperature, so that it contains all or most of the water, with the internal heat of the food dispersed to form ice crystals, in order to reduce the life activities and biochemical reactions necessary for the liquid water, inhibit microbial activities, and highly slow down the biochemical changes in food, so as to ensure that the food in the process of cold storage stability. The stability of food in the process of refrigeration is ensured.

Quick-freezing of foodstuffs

Food quick-freezing is the center of the food temperature is quickly frozen to -1 ℃ ~ -5 ℃, through the maximum ice crystal generation belt time required for no more than 30 minutes. Fresh fish and meat with high water content of food, when the product temperature reaches -1 ℃, the water in the food began to freeze, the temperature dropped to -5 ℃, the water contained in 80% of the freeze, then, the whole food roughly become frozen state. Therefore, the temperature limit between -1℃ and -5℃ is called the maximum ice crystal generation zone.

Freezing speed

The distance from the surface of the food to the center point divided by the quotient of the time required to reduce the center product temperature from -1°C to -5°C, generally expressed in cm/h.

Freezing characteristics

The freezing point of food is related to the freezing point of the solution contained in the food, and the freezing point of a liquid is the temperature at which the liquid phase is in equilibrium with the solid phase. The vapor pressure of a solution is lower than that of a pure solvent (water), so the freezing point of a solution is lower than that of a pure solvent, and the freezing point of a food is lower than that of pure water. The composition of various foodstuffs varies, so their freezing points are different, and most natural foodstuffs have a freezing point of 0℃ ~ -2.6℃. Freezing point temperature at 0 ℃ water, collard greens; -0.5 ℃ cauliflower, beans; -1.5 ℃ carrots, fish; -2 ℃ of the potato; -2.5 ℃ of the veal, mutton; -3.5 ℃ of garlic, bananas, coconut; -7°C of pecans; -8.5°C of peanuts.

Factors affecting the quality of quick-frozen foods

The main effects of freezing on food quality are:

Changes in food volume, liquid food and milk when frozen, the volume will expand.

Freezing produces a redistribution of solutes within the solution, the faster the freezing rate, the frozen solution within the distribution of solutes tends to be more average.

ice crystals harmful to food: freezing temperature down to the freezing point, in the cellular interstitial ice crystal particles are getting bigger and bigger, destroying the food organization, so that the loss of recovery. Slow freezing, a large amount of water outside the precipitation, and in the cell space to form ice crystals, small amount of more, uniform distribution, cell and texture damage to a low degree, thawing is likely to be originally frozen most of the juice sucked back and save the original state. Although it is still inevitable to lose juice when thawing frozen food, it is much less compared with slow freezing. Therefore, the texture and flavor of quick-frozen food after thawing is much better than that of slow-frozen.

Effects of quick freezing on microorganisms and enzymes

Freezing can cause various changes within the cells of microorganisms in food, where free water forms ice crystals, which have a mechanical damaging effect on microbial cells. Temperatures below -18°C prevent the growth of almost all microorganisms. Accelerating the freezing speed when ice crystals are formed below the freezing point reduces the effect of ice crystals on food quality. Food before freezing due to the role of various enzymes to produce chemical reactions and cause changes, such as enzyme action in vegetables to cause flavor, color, vitamins and other changes. Quick-freezing can blunt the enzyme activity to a large extent, reducing the impact of enzymes on food.

Technological Principles of Food Quick Freezing

Food undergoes various changes during the freezing process, such as physical changes (changes in volume, thermal conductivity, specific heat, dry consumption, etc.), chemical changes (e.g., protein changes, discoloration, etc.), and cellular organization changes. In the freezing process, when the temperature is lower than the freezing point of the food, the food begins to freeze, but first the surface layer of the food freezes, and as the temperature continues to fall, the food begins to freeze internally. The final degree of freezing of the food can be expressed by the freezing rate, which can be approximated by the following formula: ψ=(1tice t)$$\psi = (1 - \frac{{{t_{ice}}{\text{ }}}}{t})$$

Eq:

ψ - icing rate (%);

tice - freezing point of the food (°C), obtained by checking the table;

t - termination temperature of frozen food.

From the formula, it can be seen that the freezing rate of food is related to the freezing termination temperature and not to the freezing speed. However, the freezing quality of the food is closely related to the freezing rate. The freezing rate determines the size and number of ice crystals formed. According to the theory of rapid crystallization, the nucleation rate and growth rate of ice crystals are related to the supercooling state.

In the food freezing point to 5 ℃ range below the freezing point, is the maximum ice crystal growth zone, this time the freezing curve is the most flat, because in the icing process, a large amount of latent heat is released, it must provide enough cold, in order to make the frozen food product temperature quickly through the maximum ice crystal growth zone, this time, the nucleation of ice crystals is greater than the role of the growth of crystals, the formation of ice crystals in large quantities, the volume of a small. This frozen food quality is good. This is the principle of fast freezing of food.

On the contrary, slow freezing, through the largest ice crystal growth zone temperature range for a long time, the formation of ice crystals, large volume, small number, uneven distribution, mainly concentrated in the cellular gap, so that the cell electrolyte material to the center of the concentration of water outside a large number of precipitation, thawing juice loss, so that the frozen food texture, flavor, color and lustre deterioration. At the same time, due to the phenomenon of concentration, there is an unfrozen core inside the food, and the presence of high concentration solution in the residual water is the main reason for the deterioration of some frozen foods.

Fuzzy control algorithm
Basic concepts of fuzzy control
Fuzzy sets and the meaning of the affiliation function

A fuzzy set is defined as follows:

Let U be a set (either discrete or continuous), denoted by {μ}$$\left\{ \mu \right\}$$, U is called the thesis domain, and μ denotes the elements of the thesis domain [31]. The fuzzy set A in the argument domain U is denoted by the affiliation function μA, i.e.: μA:U[0,1]$${\mu_A}:U \to [0,1]$$

A fuzzy set A in the domain U can be represented by an element μ and its affiliation function: F={u,μA(u)|uU}$$F = \{ u,{\mu_A}(u)|u \in U\}$$

Concept and Selection of the Affinity Function

The following types of affiliation functions are commonly used:

Gaussian

This is the most commonly used fuzzy distribution [32]. It is described by two parameters and can be generally expressed as: μx=exp[(xa)2/σ2](σ>0)$${\mu_x} = \exp \left[ { - {{(x - a)}^2}/{\sigma^2}} \right](\sigma > 0)$$

Triangle

The shape and distribution of this type of affiliation function is determined by just three parameters and can be generally described as: μ(x)={ (xa)/(ba) ifa<xb (xc)/(bc) ifb<x<c$$\mu (x) = \left\{ {\begin{array}{*{20}{l}} {(x - a)/(b - a)}&{ {\text{if }} \ a < x \le b} \\ {(x - c)/(b - c)}&{ {\text{if }} \ b < x < c} \end{array}} \right.$$

Trapezoidal

The shape and distribution of this affiliation function is represented by four parameters and can be generally described as: μ(x)={ xaba, ifax<b 1, ifbx<c dxdc, ifcxd$$\mu (x) = \left\{ {\begin{array}{*{20}{l}} {\frac{{x - a}}{{b - a}},}&{ {\text{if }} \ a \le x < b} \\ {1,}&{ {\text{if }} \ b \le x < c} \\ {\frac{{d - x}}{{d - c}},}&{ {\text{if }} \ c \le x \le d} \end{array}} \right.$$

Fuzzy reasoning and related concepts

Fuzzy logic

Fuzzy logic is developed on the basis of two-valued logic and three-valued logic. For a proposition, it is either “true” or “false”, and one of the two must be true, which is two-valued logic.

Fuzzy language

Language is an important carrier of information exchange and transmission, we have a fuzzy language called fuzzy language. The components of fuzzy language include fuzzy linguistic variables and linguistic operators.

Linguistic variables

Fuzzy linguistic variables are fuzzy numerical measures of the characteristics of things, they have a certain relationship with specific values, and can be combined with linguistic operators to represent different fuzzy quantities.

Linguistic operators

The so-called linguistic operator refers to the modifying prefix used to modify the linguistic variable and describe the degree of the linguistic variable, which is usually added in front of the word or phrase to adjust the meaning of the word or phrase.

Fuzzy relationship

Fuzzy relations are an important part of fuzzy mathematics. In the case of a limited argument domain, a fuzzy matrix can be used to represent a fuzzy relationship.

Definition of fuzzy relationship

Let U and V be the domains of the argument and their direct product: U×V={(u,v)|uU,vV}$$U \times V = \{ (u,v)|u \in U,v \in V\}$$

A fuzzy subset R of Eq. is known as the fuzzy relation from U to V, also known as the binary fuzzy relation.

It can be characterized by the following affiliation function μR:U×V[0,1]$${\mu_R}:U \times V \to [0,1]$$

Representation of fuzzy relationships

Fuzzy set representation

Fuzzy relations are also fuzzy sets, so fuzzy relations can be represented by the fuzzy set representation in equation (9). R=μR(u,v)(u,v)(u,v)U×V$$R = \sum {\frac{{{\mu_R}(u,v)}}{{(u,v)}}} \quad (u,v) \in U \times V$$

Fuzzy matrix representation

When U, V is a finite set, the fuzzy relation R defined on U × V can be represented by fuzzy matrix. Especially for the binary fuzzy relation, not only can the fuzzy relation be expressed intuitively, but also the operation is very convenient.

Operation and synthesis of fuzzy relation

Let P be a fuzzy relation on U × V, Q is a fuzzy relation on V × W, then R is a fuzzy relation on U × W, which is a synthesis of P · Q. Its affiliation function is defined as: μR(u,w)μpQ(u,w)=VvV(μp(u,v)μQ(u,w))$${\mu_R}(u,w) \Leftrightarrow {\mu_{p \bullet Q}}(u,w) = {V_{v \in V}}({\mu_p}(u,v) \wedge {\mu_Q}(u,w))$$

If the [INDEX] operator in the formula represents “take a small one min” and v represents “take a big one max” operation, this synthesis relationship is the maximum-minimum synthesis, synthesis relationship R = P · Q.

Fuzzy reasoning

According to the fuzzy set theory and fuzzy logic theory, establishing fuzzy statement and reasoning about it is an important content of designing fuzzy control system, according to the given grammatical rules to form a statement containing fuzzy concepts is called fuzzy statement, which is the carrier of fuzzy rules.

Fundamentals of fuzzy control systems

Fuzzy control belongs to a form of computerized digital control. Therefore, the composition of the fuzzy control system is similar to the general digital control system.

Fuzzy controller: it is the core part of the fuzzy control system. Usually it should be composed of a computer with fuzzy control algorithm.

Input and output interfaces: The input and output interfaces are the two channels before and after the fuzzy controller is connected, the front one is the analog/digital (A/D) converter module, and the back one is the digital/analog (D/A) converter module.

Actuators: common actuators are solenoid valves, motors, etc. Its role is to effectively inject the output of the fuzzy controller into the controlled object.

Controlled object: the controlled object has a wide range. It can be deterministic or fuzzy, univariate or multivariate, with or without hysteresis, linear or nonlinear, normal or time-varying, as well as with strong coupling and interference and so on.

Sensor system: its main task is to collect the controlled parameters of the controlled object, such as displacement, speed, acceleration, temperature, pressure, flow, humidity, etc., and convert various types of analog models into electrical signals, and then feed back to the control system.

Basic approach to fuzzy PID control system design

In the design of fuzzy PID control system, the main work is to design a fuzzy PID controller suitable for the controlled system, the fuzzy PID controller mainly accomplishes two tasks: (1) according to the input quantity, through the fuzzy reasoning set by the fuzzy PID controller, to derive the PID parameters; (2) using its obtained PID parameters and the input quantity, to calculate the output quantity.

Structural design of the fuzzy PID controller

The main work of the structural design of the fuzzy PID controller is to determine the input module and output module of the fuzzy controller.

When designing the input module, the number of input variables of the fuzzy PID controller is usually distinguished by the number of dimensions of the fuzzy PID controller, and the common fuzzy PID controller can be divided into three forms according to the number of dimensions of the fuzzy PID control system. In this paper, the control system uses a two-dimensional fuzzy PID controller.

Fuzzification of inputs

After determining the structure of the fuzzy PID controller, the two inputs sampled into the controller have to be fuzzified in order to implement the fuzzy algorithm.

Because the fuzzification function has a large impact on the performance of the control system, it should be selected according to the actual situation and repeated trials. After the selection of the fuzzification function B, it is also necessary to determine the definition domain of the fuzzy function of each fuzzy subset of the input quantities, so that the number and range of the fuzzy subsets should be spread throughout the entire input quantities of the theoretical domain, so that there is a corresponding fuzzy function for all inputs most.

Design of fuzzy PID control rules

The control rules are the core part of the fuzzy PID controller, which consists of three parts: selecting the set of words describing the input and output variables, defining the fuzzy subsets of the fuzzy variables, and establishing the control rules of the fuzzy controller.

Selection of the set of words describing the input and output variables

Because the control rules of the fuzzy PID controller are expressed as a set of fuzzy conditional statements, by adding large, medium, and small to the positive and negative directions and considering the zero state of the variables, there are seven vocabularies, namely:

{negative large, negative medium, negative small, zero, positive small, positive medium, positive large} { NB NM NS ZE PS PM PB}$$\left\{ {\begin{array}{*{20}{c}} {NB}&{ NM}&{ NS}&{ ZE}&{ PS}&{ PM}&{ PB} \end{array}} \right\}$$

Defining fuzzy subsets of fuzzy variables

Defining a fuzzy subset is actually to determine the shape of the fuzzy subset affiliation function curve. By discretizing the determined affiliation function curve, the degree of affiliation at a finite number of points is obtained, which constitutes a fuzzy subset of the corresponding affiliation variable.

Establishment of control rules for fuzzy PID controller

After the rules in the fuzzy PID control are selected, they have to be fuzzy represented. For a multiple-input multiple-output (MIMO) system, the rules have the following form: R={ RMIMO1 RMIMO2 RMIMOn}$$R = \left\{ {\begin{array}{*{20}{c}} {R_{MIMO}^1}&{ R_{MIMO}^2}& \cdots &{ R_{MIMO}^n} \end{array}} \right\}$$

Among them:

RMIMOi$$R_{MIMO}^i$$ if (x is Ai andand y is Bi) then (zi is Ci, ⋯, zq is Di).

The preconditions of RMIMOi$$R_{MIMO}^i$$ constitute a fuzzy set Ai × ⋯ × Bi on a direct product space X × ⋯ × Y and the conclusion is a merge of q spatial actions which are independent of each other. Thus, rule i can be expressed as the following fuzzy implication relation: RiMIMO:(Ai××Bi)(Ci++Di)$${R^i}_{MIMO}:({A_i} \times \cdots \times {B_i}) \to ({C_i} + \cdots + {D_i})$$

Thus the rule R can be expressed as: R = {i=1nRiMMO} = {i=1n[(Ai××Bi)(Ci++Di)]} = {i=1n[(Ai××Bi)Ci,,(Ai××Bi)Di)]} = {RBMSOl,,RBMSOq}$$\begin{array}{rcl} R &=&\left\{ {{{\bigcup\limits_{i =1}^n {{R^i}} }_{MMO}}} \right\} \\ &=&\left\{ {\bigcup\limits_{i =1}^n {\left[ {({A_i} \times \cdots \times {B_i}) \to ({C_i} + \cdots + {D_i})} \right]} } \right\} \\ &=&\left\{ {\bigcup\limits_{i =1}^n {\left[ {({A_i} \times \cdots \times {B_i}) \to {C_i}, \cdots ,({A_i} \times \cdots \times {B_i}) \to {D_i})} \right]} } \right\} \\ &=&\left\{ {RB_{MSO}^l, \cdots ,RB_{MSO}^q} \right\} \\ \end{array}$$

Clarification of fuzzy quantities

There are usually several types of commonly used clarity calculations:

Maximum affiliation function method

If there is only one peak in the affiliation function of the fuzzy set C′ of the output quantity, then the maximum value of the affiliation function is taken as the clarity value, i.e.: μ(C)(z0)μC(z)zZ$${\mu_{({C^\prime })}}({z_0}) \ge {\mu_{{C^\prime }}}(z)\quad z \in Z$$

Where, z0 denotes the clear value, if the affiliation function of the output quantity has more than one extreme value, then the average of these extreme values is taken as the clear value.

Median method

The so-called median method is to take the median of μc(z) as the clear quantity of z, i.e., the median of z0 = df(z) = μc(z), which satisfies 0zμ(C)(z)dz=bμ(C)(z)dz$$\int_0^z {{\mu_{(C)}}} (z)dz = \mathop \smallint \nolimits^b {\mu_{(C)}}(z)dz$$, that is to say, with z as the demarcation, the μc(z) on both sides of the demarcation line is equal to both sides of the area enclosed by the horizontal axis.

Weighted average method

This method takes the weighted average of μ(c)(z) as the clear value of z, viz: z0=df(z)=abzμc(z)dzabμc(z)dz$${z_0} = df(z) = \frac{{\int_a^b z {\mu_c} \cdot (z)dz}}{{\int_a^b {{\mu_c}} \cdot (z)dz}}$$

Because this method is similar to the calculation of the center of gravity of an object in physics, it is also called the center of gravity method. For the case where the domain of the argument is discrete, we can treat it similarly, and the same is true: z0=i=1nziμC(zi)i=1nμC(zi)$${z_0} = \frac{{\sum\limits_{i = 1}^n {{z_i}} {\mu_C}({z_i})}}{{\sum\limits_{i = 1}^n {{\mu_C}} ({z_i})}}$$

Optimization of fuzzy PID controllers by genetic algorithms
Principles of Genetic Algorithms

In a population of organisms, genetic recombination will produce better adapted individuals. With the continuous renewal of the population, the proportion of excellent genes will increase, so that the whole population can be evolved. The essence is to select the optimal individual in the whole population space through the iterative update of the population, that is, to select the optimal solution [33].

Genetic algorithm is mainly composed of six parts, namely: initialization of parameters (determination and coding of parameters), generation of initial population, calculation of fitness value, selection, crossover and mutation. Its basic flow is shown in Fig. 1.

Figure 1.

Flowchart of genetic algorithm

Genetic Algorithm to Optimize Fuzzy Controller

The control effect of the fuzzy controller and the controller performance mainly depend on the affiliation function of the fuzzy set, the control rules, the scaling factor and the quantization factor. Among them, for the determination of the affiliation function, everyone has a different point of view on the affiliation of the same fuzzy linguistic variable; while the key to determine the fuzzy control rules is based on the knowledge and experience of the experts in the field; the proportionality factor, the quantization factor of the setting of the experimental test method is mainly used at present, the method is relatively rough, if not set properly will have an impact on the stability and response speed of the system. In summary, it can be seen that the design parameters of the controller are random and subjective. Therefore, in order to reduce the influence of human subjectivity and randomness on the control quality, genetic algorithm is used to optimize the fuzzy controller’s affiliation function, control rules, as well as proportionality factor and quantization factor.

Encoding of parameters

The coding of parameters contains three parts: coding of the affiliation function, coding of the control rules, and coding of the scaling and quantization factors.

Coding of affiliation function

The affiliation function used in the fuzzy controller designed in this paper is that the Z-type affiliation function is used at the head, the S-type affiliation function is used at the tail, and the triangle affiliation function is used in the middle. Since three vertices determine the shape of a triangle, the optimization objective in this paper is the horizontal coordinates of the vertices.

Coding of control rules

The coding method used for the fuzzy rules is real number coding. Because the Kp, Ti, Td in the control rules are all divided into grades of 5, and the fuzzy linguistic variables are all ZE, S, M, B, and VB, the real numbers l, 2, 3, 4, and 5 are used to represent these five variables.

Encoding of proportional and quantization factors

Proportional and quantization factors also have a great influence on the fuzzy controller. Let the scaling factor Kkp, Kki, Kkd and quantization factor Ke,Kαc$${K_e},{K_{{\alpha^c}}}$$, whose roles are expressed as transforming the output variables from the fuzzy domain to the real domain and transforming the output variables from the real domain to the fuzzy domain, respectively.

Determination of the adaptation function

The complexity of the fitness function affects the complexity of the whole algorithm, and its selection directly affects the convergence speed of the algorithm and determines whether the optimal solution can be found, which can also be called the evaluation function [34]. Evaluation of the lyophilizer shelf temperature control system is mainly measured by the accuracy and stability and rapidity. Therefore, the fitness function is designed as shown in Eq. (18) and Eq. (19): J=0(w1|e(t)|+w2u2(t))dt+w3tu$$J = \int_0^\infty {({w_1}|e(t)| + {w_2}{u^2}(t)){d_t}} + {w_3}{t_u}$$ f=1/(J+e10)$$f = 1/(J + {e^{ - 10}})$$

Eq:

tu - the rise time of the system;

e(t) - the value of the deviation of the system, e(t) = rin(t) − yout(t);

u(t) - the output of the controller of the system;

wi - the weights of the items, i = 1, 2, 3.

Genetic optimization

After the determination of the fitness function is completed, the fitness of all individuals within the population can be obtained, and then according to the roulette wheel selection method can be calculated that the individual is selected to the probability of p=fi/fi$$p = {f_i}/\sum {{f_i}}$$. At the same time, in order to avoid the loss of high-quality individuals, the high-quality individual preservation strategy will be adopted, which is to allow the individual with the largest fitness value to be directly preserved in a specific variable without crossover mutation. Since the populations need different probabilities for crossover and mutation during evolution, the strategy of automatically adjusting the probability of crossover mutation with the number of evolutionary generations is adopted to avoid the algorithm from converging too slowly or falling into the local optimal solution too early. The decreasing algorithm is used for crossover that way, and the increasing algorithm is used for mutation probability. When cross-mutating the control rules, the resulting decimals need to be subjected to rounding and range limiting operations.

Fuzzy genetic PID controller simulation experiments and applications
PID controller simulation experiment
Simulation analysis of PID controller for food freezing temperature difference

The corresponding closed-loop negative feedback control process under the action of the PID controller is shown in Fig. 2. It can be seen that the reflection curve after 1500 seconds in the stabilization, taking too long.

Figure 2.

Curves of fractional PID controller with the input of step signal

The control indicators are shown in Table 1. The overshoot is as high as 9% and the regulation time is above 900 seconds. The maximum deviation also reaches 0.65°C.

Index of fractional PID controller

Controller type Overadjustment Complementary difference Regulating time ts(2) Peak time Maximum deviation
PID 9% 0 905s 490s 0.65℃
Fuzzy genetic PID simulation analysis of food freezing temperature difference

Because of the complexity of building the fuzzy genetic PID controller directly with the module, this paper uses the form of S-function to construct the module, the number of state variables is 1, and the number of outputs is chosen to be 5, taking into account the displayed changes in the variables Kp, Ki, Kd coefficients.

The corresponding closed-loop negative feedback control process under the action of fuzzy genetic PID controller is shown in Fig. 3.

Figure 3.

Simulink of fuzzy fractional PID controller with the input of step signal

Table 2 shows each control index of the fuzzy genetic PID controller.

Index of fuzzy fractional PID controller

Controller type Overadjustment Complementary difference Regulating time ts(2) Peak time Maximum deviation
PID 3% 0 190s 210s 0.15℃

Comparison of Table 1 and Table 2 can be found that the fuzzy genetic PID controller has the best control effect, the regulation time, overshooting, maximum deviation value and other indicators of excellent performance, and its room temperature change curve is smoother, the control effect is more ideal.

Fig. 4 and Fig. 5 are the change curves of five parameters Kp, Ki, Kd,λ,μ of the fuzzy genetic PID controller in the process of cooling water temperature difference control, observing the curve diagram, we can easily find that these parameters are constantly changing before the cooling water temperature difference reaches the set value, and basically remain unchanged after the temperature difference reaches the set value.

Figure 4.

Curves of fuzzy fractional PID controller’s parameters Kp and Kd

Figure 5.

Curves of fuzzy fractional PID controller’s parameters Ki and λ,μ

Fig. 6 and Fig. 7 show the step response curves when the temperature difference set value is 4°C and 3°C respectively. Observing the curves in the figures, it can be seen that the fuzzy genetic PID controller still has good control quality when the cooling water temperature difference set value is changed.

Figure 6.

Simulink of fuzzy fractional PID controller with the input of step signal

Figure 7.

Simulink of fuzzy fractional PID controller with the input of step signal

In the actual food refrigeration system, the cooling water piping system is dynamically changing, which leads to changes in the cooling water piping characteristic curve, Figure 8 is the transfer function changes (corresponding to the actual cooling water system piping characteristic curve changes) when the step response curve, observe the curve in the figure can be seen, in the system piping characteristics change, the fuzzy genetic PID controller is still a good performance. The parameters of the traditional PID controller remain fixed after the end of the system commissioning stage, which makes the actual cooling water temperature difference control quality decline. From the above comparison results, it can be seen that the fuzzy genetic PID controller with dynamically changing parameters is of high value for the temperature difference control of the actual cooling water system with dynamically changing piping characteristic curves.

Figure 8.

Room temperature response curve

Practical application of refrigeration system control optimization

Using PID, Fuzzy PID and fuzzy genetic PID in this paper to control the temperature of the production process, respectively, to obtain the temperature of the production process and the air volume control response are shown in Figure 8 and Figure 9, respectively. Figure 8 shows the response curve of the production process temperature with the load change, it can be seen that the use of PID control of the indoor temperature is not easy to converge, oscillation is more obvious, and the regulation time is 1850 s, according to the principle of process, the regulation of the long time will inevitably affect the quality of quick-frozen food. And fuzzy PID on the temperature curve of the special can improve a lot, the amount of overshooting is 4.7%; this paper model control curve can converge quickly, the amount of overshooting 3.9%.

Figure 9.

Room temperature response curve

Table 3 shows the characteristics of the room temperature response curve. The regulation time directly reflects the time required for the control system to reach the control temperature, and the shorter the regulation time, the shorter the time required to reach thermal comfort. Through comparison, it is found that the regulation time of this paper’s model control algorithm is the shortest 450 s, while the conventional PID control requires 30 minutes to make the control temperature reach a stable state. The simulation results show that the model control of this paper are better than the conventional PID control.

Temperature response property analysis

Control algorithm PID Fuzzy This model
Adjust time (s) 1850 600 450
Hypermodulation (MP%) 8.2 4.7 3.9

To simulate the room temperature response to changes in the physical parameters of the system, the simulated working time is from 8:00 a.m. to 6:00 p.m.. So that the set temperature is 25°C between 8:00 a.m. and 13:00 a.m., and 26°C at 13:00 p.m. and 18:00 p.m.; the specific heat capacity of the air inside the production process varies from 0.9 to 1.5 kJ/(kg-°C); the production process load is set to vary randomly from 0 to 4 KW, and the cold load varies as shown in Fig. 10. The room temperature response under different control algorithms is shown in Figure 11.

Figure 10.

Room one-day cold load change

Figure 11.

Room temperature response under different control algorithms

The operation results show that the PID control has the largest fluctuation amplitude and the worst control effect; the Fuzzy PID control slightly improves the fluctuation; the model control control in this paper has the best control effect, basically no overshooting.

Advanced algorithm control relative to the traditional PID control of the biggest change is that the amount of overshooting is smaller, excluding the violent fluctuations in the afternoon before 1:00 p.m. and 3:00 p.m. or so, the other time the PID control of the temperature of the corresponding curve and the set point of the absolute value of the error is not greater than 1.5 ℃. System fluctuations in the moment before 1:00 p.m. and 3:00 p.m. or so, through the observation that the two moments of the load is 0 but due to the delayed role of the system, the load acts on the sensor around the air temperature takes a certain amount of time, the load is 0 when the sensor detects the last moment of the room temperature at this time the amount of air supply corresponds to the amount of air supply at this moment, therefore, it will result in the temperature of the room overcooling. Wait until the next moment, the temperature sensor detects the room temperature is lower than the set value, by reducing the amount of air supply to realize the room temperature back up. The amount of air supply cannot be negative, at this time even for the state can not change the overcooling phenomenon when the load is 0 state. Therefore, before 13:00 and around 3:00 p.m. the phenomenon of supercooling has nothing to do with the control effect, the reason for this is attributed to the delay in the system signaling.

In summary, the conventional PID algorithm performs poorly in the face of rooms with large load changes and more frequent fluctuations. The model in this paper can solve the response overshoot problem well.

Conclusion

This paper optimizes the fuzzy PID controller with genetic algorithm and compares the control effect of three different control algorithms, namely, original PID, fuzzy PID, and fuzzy genetic PID in this paper, on the temperature of quick-frozen food production. The simulation results show that:

The regulation time of the original PID controller is up to 400 seconds or more, and the overshooting amount is as high as 9%, which is a poor performance.

The control effect of the fuzzy genetic PID controller is much better than the original PID and fuzzy PID, the regulation time is only 190 seconds, the overshooting amount, the maximum deviation value and other indicators of excellent performance, and its production temperature change curve is smoother, the control effect is more ideal.

Control optimization in practice, the use of PID control of the production temperature is not easy to converge, the oscillation is more obvious, and the regulation time is 1850 s, according to the principle of technology, the regulation of long time is bound to affect the quality of frozen food. And fuzzy PID on the temperature curve of the special can improve a lot, the amount of overshooting is 4.7%; this paper model control curve can quickly converge, overshooting amount of 3.9%.

Language:
English