Volume 2022, Issue 1 2496930
Research Article
Open Access

Automatic Control of Food Machinery Based on Neural Network and Computational Torque Compounding

Huanxia Shao

Corresponding Author

Huanxia Shao

College of Energy Engineering, Zhejiang University, Hangzhou 310058, China zju.edu.cn

Search for more papers by this author
First published: 07 September 2022
Academic Editor: Qiangyi Li

Abstract

In order to improve the effect of automatic control of food machinery, this paper combines neural network and computational torque compounding to study the automatic control system of food machinery to improve the effect of automatic control of food machinery. Moreover, this paper studies the problem of strong time-varying nonlinear friction disturbance in the servo motion system, and analyzes the friction nonlinearity at low speed and commutation motion of the system. In addition, this paper introduces the application requirements for the nonlinear friction compensation control method, and proves that the designed controller can maintain the stability of the system under the condition of strong nonlinear time-varying friction through the Lyapunov stability principle. The experimental study shows that the control strategy given in this paper can not only effectively improve the tracking speed of the joints, but also effectively alleviate the later tremor, and the automatic control effect of food machinery based on neural network and computational torque compounding has certain effects.

1. Introduction

At this stage, the overall economic situation is a global economic integration environment under the market economy. Under the influence of this big environment, food processing enterprises can only continuously improve the technical level and management level of food processing only by continuously carrying out technological reform and innovation, and continuously applying new technologies, new materials and new processes to food processing. Moreover, continuously improving the quality and safety of products and building the competitive advantage of brands play an important role in improving the international market competitiveness of food processing enterprises [1]. Based on this, food processing enterprises need to continuously apply new technologies in food machinery to improve the safety, intelligence, automation and so on of food processing. Therefore, the application of new technologies in food machinery is inevitable for social development, economic development, and technological development. It is very necessary to fight the invasion of foreign enterprises [2].

Product packaging is one of the important ways to achieve brand innovation, rapidly increase market share, and achieve sustainable development [3]. Packaging machinery refers to the mechanical equipment that can realize the packaging of all or part of products and commodities [4]. This packaging process mainly includes the steps of forming packaging materials, filling materials, wrapping and sealing, as well as pre- and post-packaging processes such as cleaning, drying, sterilization, and labeling, as well as other auxiliary processes such as transfer and sorting. The use of packaging machinery can not only improve production efficiency, reduce labor intensity of workers, save costs to achieve large-scale high-speed production needs, but also meet the needs of modern industrial green environmental protection [5]. A country's level of development and degree of development in the packaging industry has become one of the important indicators of the country's economic life and civilization. The packaging industry includes many industrial fields, including the design and production of packaging products, the development, printing and supply of packaging materials, the improvement and manufacture of packaging machinery, etc. The fields involved range from primary to tertiary industries, goods circulation, industrial agriculture Business to every aspect of people's lives. As a “sunrise industry” recognized by the world today, the packaging industry is bound to play an immeasurable role in promoting the development of the global manufacturing industry and accelerating the regional circulation of products [6]. The control system is one of the important components of packaging machinery. It realizes the control, adjustment and monitoring of the entire working process, including: making various processes follow the set order; Control; product quality monitoring, production safety protection, the realization of automatic measurement and counting in the packaging process; the realization of functions such as supply and stop of materials, and automatic alarm in the event of a fault [7]. Nowadays, most of the control systems of packaging machinery also use relay control methods, and more components will inevitably lead to greatly reduced reliability and life of the control system and equipment, and occupy a large physical space. If a PLC control system is used, the traditional intermediate relay can be replaced by programming its internal auxiliary relay. Since it is only a virtual internal register of PLC, as long as the program is written within the range permitted by the capacity, various complex control functions can be realized, which greatly simplifies the mechanical and electrical structure [8]. PLC is the programmable controller, which is the product of the combination of computer and relay control technology. It is one of the most rapidly developed and widely used automation control equipment in the past ten years. It has the characteristics of small size, easy programming, rich modules and powerful functions, and is very suitable for automatic packaging machine control systems. In addition, PLC also has the advantages of changing the control function only by modifying the program without adjusting the hardware configuration; the program can be copied, which is easy to mass produce; it can realize various control functions that cannot be achieved by relays and other advantages. Although the cost is slightly higher than that of relay control, in view of the many advantages mentioned above, PLC control begins to gradually replace traditional relay control [9].

Electronic information technology has played a pivotal role in the development of the industry, triggered another technological change in the industry, and realized the dynamic tracking control of industrial production. The application of electronic information technology in food machinery has played the same role. Application of electronic information technology. The running state of food machinery can be controlled online from time to time. It also plays a precise control role in the rapid location and recovery of faults. The application of electronic information technology to food machinery is mainly realized by the information processing system [10]. In the information system processing system. The parameters of food machinery operation, operation status, and mechanical and electrical equipment can be monitored online from time to time. And the system can provide an extensible platform. The ability to incorporate any connectable new technology system into it. Realize the control of the quality, technical level and safety of food processing. After the information processing system is integrated into electronic automatic control, it can control the automatic production of food processing through the operation portal, and realize the integration of automatic production of food machinery [11].

Membrane separation technology is a kind of bionic technology, which achieves selective separation through molecular semipermeable membrane according to cross-flow. This enables the separation of high-quality products. The application of membrane separation technology in food machinery is a new bright spot in the reform of food machinery. Application of Membrane Separation Technology. Greatly improve the quality and safety of products produced and processed by food machinery. Improve the technical level of food processing enterprises. Membrane separation technology has been widely used in the production and processing of food machinery in the production of fresh draft beer, mineral water filtration and sterilization, food factory wastewater treatment, desalination of seawater and brackish water, and air filtration and sterilization. Product quality and reducing production costs play an important role [12].

The application of frequency conversion control technology greatly improves the scientific and technological content of food machinery, ensures the quality stability of food processing, improves the production efficiency of food machinery, reduces the energy consumption of food machinery, thereby reducing the production cost of food enterprises. The long-term development of enterprises plays an important role. The application of frequency conversion control technology in food machinery mainly depends on the frequency converter to change the working frequency of the machinery. Thereby, the precise control of the machine is realized, and its application effect is outstanding in the food conveying system and the food mixing system. In the food conveying system, through the control of the frequency converter, the transmission system can perform speed regulation and synchronization within a certain range, fine-tune as needed, etc., and at the same time, the advantages of the asynchronous motor can be fully utilized [13]. The use of a frequency converter for speed regulation does not require an additional mechanical speed regulating mechanism, so the transmission system will be more compact and lightweight, and the geared asynchronous motor will operate more efficiently. Similarly, variable frequency speed regulation avoids the tedious maintenance work of replacing carbon brushes or commutators similar to DC motor speed regulation [14]. Of course, for some asynchronous motor transmission systems that used to run at a constant speed, the application of variable frequency speed regulation is also very simple and effective, and the transformation can be completed only by adding a frequency converter [15].

Intelligent control technology is to use programmable intelligent chips to build an intelligent control system. The intelligent control system can collect and process information on the operation of food machinery, reducing the workload of the human brain. The application of intelligent control system in food machinery can improve the calculation accuracy of electrical system [16]. Thereby promoting the efficiency of system and equipment operation and reducing labor costs. The application of intelligent control technology in food machinery is mainly reflected in the electrical control process, including neural network control, fuzzy control and effective control of expert systems. As for the application in AC drive. It mainly works by replacing some conventional speed control controllers with fuzzy controllers. It can be seen that intelligent control technology can solve complex problems that cannot be solved by traditional methods, and has great application value [17].

This paper combines neural network and computational torque compounding to study the automatic control system of food machinery, so as to improve the automatic control effect of food machinery and improve the efficiency of food production.

2. Torque compounding calculation

2.1. Immersion invariant control theoretical basis

Different from the nonlinear control method based on Lyapunov stability theory, this method does not need to design the Lyapunov function, which greatly simplifies the realization difficulty of the control system. The immersion invariant control method first designs a low-order target system that can be asymptotically stable, and then designs the immersion mapping and control law. This ensures that on an invariant attracting manifold, the dynamic trajectory of the controlled system under the action of the control law is consistent with the image of the low-order target system under immersion mapping, and makes the system closed-loop and bounded, thereby ensuring the stability of the entire system.

The basic principle of immersion invariance is as follows:

It assumes that the nonlinear equation of the system is:
(1)
In the formula, xRn is the state variable of the system, and uRn is the input signal of the system. To ensure the stability of the above system, it is necessary to find a suitable state feedback control law u = v(x), so that the equilibrium point xRn is the local asymptotically stable point under the closed-loop condition of the system. When p < n, the following mappings exist:
(2)
The following four hypothetical equations are all established.
  • (1)

    The following systems exist in the target system:

(3)
Among them, ξRp , ξ is the local asymptotically stable equilibrium point of the system, and x = π(ξ).
  • (2)

    Immersion conditions

For all ξRp, there are:
(4)
  • (3)

    Implicit manifold

The set of the following equations is always true:
(5)
  • (4)

    Manifold attractiveness and trajectory boundedness

Under the condition that the following formula is established:
(6)
The following systems exist:
(7)

If all state variables are bounded, that is, all trajectories of the system are bounded, the asymptotically stable equilibrium point of the closed-loop system is x. At this time, the corresponding control law u = ψ(x, z) satisfies the initial assumption, and the system is said to be immersed and stable.

To sum up, the stabilization of nonlinear systems using the immersion invariant method can be roughly implemented in two steps. First, a local asymptotically stable system with lower dimension than the original real system is selected as the target system, and an immersion map x = π(ξ) is found such that the immersion condition holds. Secondly, the control law of the system is designed so that the implicit attracting manifold M is invariant and the system is closed-loop and bounded. When applying the immersion invariant method, it is necessary to determine the immersion map by solving the partial differential equation according to the target system, which is often difficult in actual calculation. However, in most cases, the target system can be selected according to the principles and theories related to the original system and the control target, so as to solve the problem that it is difficult to design the target system due to the difficulty in solving partial differential equations. Because the implicit manifold is endowed with invariance and attractive shape, the target system can well describe the restriction on M of the closed-loop system. However, the control input u that makes the implicit manifold invariant is not unique, simply because it is uniquely defined on M.

According to the immersion invariance theory, when the original system is an n-order system, the target system can choose any one-order system from 1 to n − 1. The method is to immerse a low-order target system that is asymptotically stable at the origin into a high-order original system. The Figure 1 below is a schematic illustration of the immersion invariant method, where n is 3. The method of designing the controller based on Lyapunov function can be regarded as a specialization of the immersion invariant method, but when designing the control law, it is necessary to select an appropriate Lyapunov function V(x) and make the function positive definite and satisfy . That is, the target system state quantity ξ is replaced by the designed Lyapunov function V(x).

Details are in the caption following the image

From the analysis and conclusion of the dynamic model of the passive force/torque composite servo loading platform, it can be seen that the dynamic characteristics of the position loop of the loading platform are significantly affected by the static friction and the friction nonlinearity of the preparatory slip section and the boundary lubrication section when moving at low speed. The serious low-speed climbing phenomenon, hysteresis response and even difficult tracking will further affect the high precision and high dynamic response of passive force-torque servo loading, so it is extremely important to accurately estimate and compensate for friction disturbances. The expression form of the system state space function including nonlinear friction disturbance is known, and the state quantity of the system itself and the friction dynamic state quantity z can be obtained. Therefore, adopting the control strategy based on the immersion invariance theory can transform the design problem of the compensation control law for disturbance into the parameter estimation problem of the nonlinear characteristic term of the system. Compared with model reference adaptation, the immersion invariant method requires less prior knowledge, and the control performance is not affected by the system order and initial values of model parameters. Furthermore, the controller design is simpler and increases the flexibility and adaptability of the controller. For the LuGre friction system with strong time-varying nonlinearity, the immersion invariant strategy can theoretically effectively estimate the dynamic and static parameters of friction and then compensate for its disturbance to the loading platform at low speed. As shown in Figure 2

Details are in the caption following the image

2.2. Nonlinear immersion invariant disturbance compensation control algorithm

It considers a class of nonlinear systems of the form:
(8)
In the formula, xi represents the state variable, where i = 1,2,3, …, n − 1, and y represent the system output, and u represents the controller output. All state variables of the system are , f(⋅) is the parametric nonlinear function form of all state variables of the system, frd is the nonlinear function expression of system disturbance, and its specific representation is as follows:
(9)
In the formula, α1 is all the unknown parameter terms included in the system disturbance, φ is the state variable of the system disturbance model, and its specific representations are as follows:
(10)

Among them, mR is the number of state variables of the system disturbance term, that is, the number of disturbance model parameters.

We assume that the disturbance term has m state quantities, and the estimation problem of disturbance can be transformed into an adaptive control problem with m unknown parameters. Moreover, we assume that there exists a suitable state feedback control law, namely a parameterized function u = v(x, φ, α1), that makes the above system globally asymptotically stable at the equilibrium point x1 = x.

The system is defined as follows: in the above-mentioned n-order nonlinear system, α1 is the unknown parameter to be solved, and its adaptive update law is:
(11)
At this point, the estimated value of the parameter α1 is defined as:
(12)
Then, the estimated error of the unknown parameter is:
(13)
In the design of the immersion invariant adaptive method, which is superior to the traditional adaptive control based on the equivalence principle, the estimation of the unknown parameters of the system has an additional term β(x), which is called the auxiliary compensation function term. The introduction of β(x) makes the parameter update law no longer play a single integral role, but turns into a dual role of proportional and integral, which makes the overall parameter update law more flexible and effective.
  • (1)

    First, the algorithm designs the following system as the target system:

(14)
Among them, i = 1,2,3, …, n − 2, n is positive number and the considered system has ξ = (x, 0, …, 0) as the only globally asymptotically stable equilibrium.
  • (2)

    Secondly, the algorithm considers the system immersion mapping, so that the immersion conditions are established as follows:

(15)
Then the system immersion map is:
(16)
In the above formula, i = 1,2,3, …, n − 1.
  • (3)

    The algorithm derives the implicit manifold and obtains the control law.

At this time, the implicit manifold set of the following form always holds:
(17)
In order to make the system tracking error converge to zero asymptotically, the implicit manifold is derived, then:
(18)
c is a constant greater than zero, and then the system control law is updated according to the following formula:
(19)
If the control law still contains some unknown terms, it is necessary to design the parameter update law w1 and the auxiliary compensation function term β1(x).
  • (4)

    The algorithm ensures manifold attractiveness and trajectory boundedness.

In order to make the parameter estimation error close to 0, the above-mentioned function to be found is designed with as the target. The first derivative of the parameter estimation error is:
(20)
The parameter adaptive update law is further obtained:
(21)
By substituting formula 21 into the above formula 20, the derivative term of the parameter error at this time can be obtained:
(22)
The function is derived such that it is less than or equal to zero, that is, it converges to zero:
(23)
We take:
(24)
By arranging the above formula, we can get:
(25)
The control input u is the parameter adaptive update law function , and the auxiliary compensation function β1(x) is the adaptive function of the system state variable. Therefore, the formula 19 of the control law and the formula 25 of the auxiliary compensation function are substituted into the formula 21 of the parameter adaptive update law to form the equation for solving w1:
(26)
Among them,
(27)
Then, the complete form of the adaptive update law is:
(28)
Finally, by substituting w1 and β1 into the control law expression, the complete control law is obtained:
(29)

According to the actual system, the above control law can be modified to make the dimensions unified and ensure the meaning of mathematical calculation.

The algorithm takes the Lyapunov function:
(30)
The algorithm calculates the first derivative of the above formula 30:
(31)
The algorithm substitutes formula (19) into formula (18) and then into formula (31), and substitutes formula (24) into formula (31) for further arrangement:
(32)
According to the mathematical formula:
(33)
there is the following:
(34)
Formula (32) is further rewritten as:
(35)

We set Δx = x1x. In order to meet the system stability requirements, namely, , it is necessary to ensure that , that is, the selection of the constant c needs to satisfy c ∈ [0.5, 1].

So far, the original system can be represented by s, z1, x:
(36)

Therefore, after selecting the appropriate auxiliary compensation function β1(x), the adaptive update law w1 of the interference parameters, and the constants c and λ, it can be seen from the above system that both z1 and s can converge to zero at this time, is the only global asymptotically stable equilibrium, and x1 converges to x. That is, it is proved that the above system has a globally asymptotically stable equilibrium point at the desired point.

2.3. Design and analysis of nonlinear immersion invariant adaptive position controller

In view of the nonlinear dynamic disturbance in the following system, the parameters of the system friction model are unknown, and the control input um(t) is designed to make the servo platform track the desired rotation angle command and ensure that all closed-loop signals are bounded. Furthermore, an immersion-invariant nonlinear disturbance compensation control law is proposed in this paper. As shown in Figure 3.The controller consists of immersion and invariant parameter estimation combined with the system dynamic nonlinear composite function term to form an adaptive control law.

Details are in the caption following the image
The dynamic model of the rotary servo system is:
(37)
In the formula, x1 = θ1, K0 = NKm/RmJeq, m0 = KmKeN2/RmJeq, n0 = 1/Jeq is the constant coefficient of the system state variable combination, is the nonlinear friction of the system, , where θ1 is the unknown parameter, and its adaptive law is:
(38)
The adaptive estimate is defined as:
(39)
Among them, is the dynamic adaptive function, and β1(x2, x1) is the auxiliary compensation function. The introduction of the auxiliary compensation function increases the flexibility of the design of the adaptive estimation value of the disturbance parameters. The unknown parameter estimation error is defined as:
(40)
  • (1)

    The algorithm design target system:

(41)
Among them, λ is a positive parameter and the considered system has ξ = θd as the only global asymptotically stable equilibrium.
  • (2)

    The algorithm designs an immersion map that satisfies the immersion conditions:

(42)
  • (3)

    The algorithm derives the implicit manifold and obtains the control law:

The algorithm derives the following implicit manifold:
(43)
The system tracking error is defined as: Δx = x1θd. If the above-mentioned implicit flow is established, the position tracking error can gradually converge to zero. By substituting (37 and 42) into (43) and taking their derivations, we get:
(44)
At this point, the controller expression is chosen as follows:
(45)
  • (4)

    The algorithm ensures manifold attractiveness and trajectory boundedness:

In order to make the parameter estimation error tend to zero, the derivative of the parameter error (40) has:
(46)
The adaptive update law of the unknown parameters is further obtained:
(47)
By substituting formula 47 into formula 46, we get
(48)
We design the function V(z1) and solve the auxiliary compensation function under the condition that is satisfied:
(49)
The partial derivative of the auxiliary compensation function is selected as:
(50)
At this point, when γ is any constant greater than 0, there are:
(51)
So far, the auxiliary compensation function can be obtained as:
(52)

Selecting β1 according to the above solution can ensure that z1 can converge to 0.

The above derivation shows that um is the deformation function about the unknown parameter adaptive update law . By substituting formula 45 and formula 52 into formula 47, the adaptive update law of the unknown parameter θ1 can be obtained, that is, w1:
(53)
At this time, the position loop adaptive control law can be obtained by substituting formulas 52 and 53 into formula 45:
(54)

In the formula, k1 is a positive coefficient greater than zero.

Because of Δx = x1θd, the complete nonlinear disturbance immersion and invariant adaptive control law is finally obtained:
(55)
The designed friction compensation position servo control law based on immersion invariant is stable when the parameter c ∈ [0.5, 1] is satisfied. The original system can be represented by s, z1, x1:
(56)

Therefore, when β1(x) is selected according to formula 52 and w1 is selected according to formula 53, and the constants c and λ are determined, both z1 and s can converge to zero, and x1 converges to θd . Finally, we can infer that the above system has a globally asymptotically stable equilibrium point at the desired position point, that is, the proof is complete, and the control law um can guarantee the stability of the system shown in formula 34.

Based on the immersion invariance theory, the disturbance parameters of the system model are adaptively estimated, and then the overall control law of the system is designed according to the target system, and the position adaptive control law is obtained, namely:
(57)

Among them, is a time-varying nonlinear function with disturbance state variables.

The rewritten above formula is actually an extension of the adaptive expression form of classical PID control. The performance of the three PID items is as follows:
(58)
The rewritten control law has one more item than the three items of the basic PID, which is the feedforward control law directly acting on the input end of the control system by the desired position command of the loading platform. This item is still an adaptive form, namely:
(59)

The above parameter (kp, ki, kd) is changed by the update and change of the time-varying nonlinear adaptive function f(⋅) composed of the state variables affecting the disturbance, so that the control output of the control law changes in real time. The adaptive feedforward control combined with the feedback control can quickly eliminate the position deviation caused by friction and realize the high-precision position servo of the loading platform.

3. Automatic control of food machinery based on neural network and computational torque compounding

The controller takes the error e and the error rate ec between the actual measured and set parameters of temperature and humidity as input variables. Through the combined operation of fuzzy control and neural network, the real-time tuning PID control factor variation △K (△KP, △KI, △KD) is output. Then, the sum of the initial K0 and △K of the PID control factor is used as the control factor K(t) of the PID input variable e(t) to calculate the output control value u(t). After that, the execution unit is controlled to achieve the purpose of real-time regulation of the temperature control system. As shown in Figure 4.

Details are in the caption following the image

This paper takes the plane two-degree-of-freedom manipulator system as shown in Figure 5 as the research object. The system consists of a satellite base and a two-degree-of-freedom manipulator.

Details are in the caption following the image

The simulation time is set to 10 s, and the simulation step size is 0.001 s. The simulation results are divided into two parts: the first is the comparison between the control strategy of this paper and the control strategy of the example without external interference; the second is the comparison of the control strategy of this paper and the control strategy of the example under the condition of external interference. The angular displacement and angular velocity simulation curves of the double-joint manipulator are shown in Figure 6 and Figure 7.

Details are in the caption following the image
Details are in the caption following the image
Details are in the caption following the image
Details are in the caption following the image
Details are in the caption following the image
Details are in the caption following the image
Details are in the caption following the image
Details are in the caption following the image

It can be seen from Figure 6 that in the absence of external interference, the control strategy of the example is relatively slow in the control tracking speed of joint 1 and joint 2. Although the ideal curve can be roughly tracked in the later stage, the effect is not optimal, and there is a small amount of jitter in the later stage of tracking. The control strategy given in this paper can not only effectively improve the tracking speed of the joints, but also effectively alleviate the tremor in the later stage. It can be seen from Figure 7 that in the case of external disturbances, there is a certain error in the tracking of the trajectory by the control strategy of the example. Moreover, in the early tracking process, the speed is slow and the fluctuation is large, and in the late tracking period, there is obvious jitter. The control strategy given in this paper can still track the ideal trajectory faster in the presence of external disturbance, and there is no obvious jitter in the later stage. Figure 8 is a graph of the control input of each joint of the dual-joint manipulator in the interference state and the non-interference state.

Details are in the caption following the image
Details are in the caption following the image
Details are in the caption following the image
Details are in the caption following the image

It can be seen from the above research that the automatic control effect of food machinery based on neural network and computational torque compounding has a certain effect.

4. Conclusion

With the continuous improvement of social productivity, the continuous enrichment of agricultural and animal husbandry products has brought new development opportunities for food processing enterprises. In order to occupy a certain brand position in the market economy, food processing enterprises not only continuously update management technology, but also continuously introduce new technologies into food processing. This lays a technical foundation for the efficient operation of food processing machinery and provides technical support for the long-term development of food enterprises. This paper combines neural network and computational torque compounding to study the automatic control system of food machinery to improve the automatic control effect of food machinery. The experimental study shows that the control strategy given in this paper can not only effectively improve the tracking speed of the joint, but also effectively alleviate the later tremor. Therefore, the automatic control effect of food machinery based on neural network and computational torque compounding has a certain effect.

Conflicts of Interest

The author declare no competing interests.

Acknowledgments

This work was supported by Zhejiang University.

    Data Availability

    The labeled dataset used to support the findings of this study are available from the corresponding author upon request.

      The full text of this article hosted at iucr.org is unavailable due to technical difficulties.