[go: up one dir, main page]

CN109976157B - A kind of intelligent liquid fermentation parameter control method for food - Google Patents

A kind of intelligent liquid fermentation parameter control method for food Download PDF

Info

Publication number
CN109976157B
CN109976157B CN201910206720.6A CN201910206720A CN109976157B CN 109976157 B CN109976157 B CN 109976157B CN 201910206720 A CN201910206720 A CN 201910206720A CN 109976157 B CN109976157 B CN 109976157B
Authority
CN
China
Prior art keywords
fermentation
fuzzy
control
model
sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910206720.6A
Other languages
Chinese (zh)
Other versions
CN109976157A (en
Inventor
陈全胜
欧阳琴
王安成
许艺
焦天慧
王井井
李欢欢
郭志明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu University
Original Assignee
Jiangsu University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu University filed Critical Jiangsu University
Priority to CN201910206720.6A priority Critical patent/CN109976157B/en
Publication of CN109976157A publication Critical patent/CN109976157A/en
Application granted granted Critical
Publication of CN109976157B publication Critical patent/CN109976157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • CCHEMISTRY; METALLURGY
    • C12BIOCHEMISTRY; BEER; SPIRITS; WINE; VINEGAR; MICROBIOLOGY; ENZYMOLOGY; MUTATION OR GENETIC ENGINEERING
    • C12QMEASURING OR TESTING PROCESSES INVOLVING ENZYMES, NUCLEIC ACIDS OR MICROORGANISMS; COMPOSITIONS OR TEST PAPERS THEREFOR; PROCESSES OF PREPARING SUCH COMPOSITIONS; CONDITION-RESPONSIVE CONTROL IN MICROBIOLOGICAL OR ENZYMOLOGICAL PROCESSES
    • C12Q3/00Condition responsive control processes
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/0265Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric the criterion being a learning criterion
    • G05B13/0275Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric the criterion being a learning criterion using fuzzy logic only
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
    • G05B13/042Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Organic Chemistry (AREA)
  • Software Systems (AREA)
  • Automation & Control Theory (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Wood Science & Technology (AREA)
  • Zoology (AREA)
  • Medical Informatics (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Molecular Biology (AREA)
  • Genetics & Genomics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Biochemistry (AREA)
  • Proteomics, Peptides & Aminoacids (AREA)
  • Microbiology (AREA)
  • Immunology (AREA)
  • Biotechnology (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Feedback Control In General (AREA)

Abstract

本发明公开了一种食品智能化液态发酵参数控制方法,包括步骤1,采集夏秋茶氧化发酵过程中发酵液的多酚含量和颜色信息;步骤2,将多酚含量和颜色信息作为模糊推理的输入因素,将夏秋茶氧化发酵的温度、发酵液PH、发酵液溶氧值DO、发酵液搅拌的转速作为模糊推理的输出因素;构建模糊控制系统;步骤3,确定模糊控制系统的输入输出因素的变化论域;步骤4,制定输入输出因素的模糊划分及隶属度函数;步骤5,制定输入输出参数概率耦合规则及模糊控制表;步骤6,模糊推理及改进的马尔科夫方法解耦合化;结合具有长时间生产经验的操作员提供的发酵控制数据,构建合理的多变量模糊控制规则,使控制发酵变量更加精准。

Figure 201910206720

The invention discloses a method for controlling parameters of intelligent liquid fermentation of food. The method includes step 1, collecting polyphenol content and color information of fermentation liquid in the oxidative fermentation process of summer and autumn tea; step 2, taking the polyphenol content and color information as fuzzy reasoning Input factors, take the temperature of oxidative fermentation of summer and autumn tea, PH of fermentation broth, dissolved oxygen value DO of fermentation broth, and rotational speed of fermentation broth as output factors of fuzzy reasoning; build a fuzzy control system; step 3, determine the input and output factors of fuzzy control system step 4, formulate fuzzy division and membership function of input and output factors; step 5, formulate probability coupling rules and fuzzy control table of input and output parameters; step 6, decoupling of fuzzy reasoning and improved Markov method ; Combine the fermentation control data provided by operators with long-term production experience to construct reasonable multi-variable fuzzy control rules to make the control of fermentation variables more accurate.

Figure 201910206720

Description

一种食品智能化液态发酵参数控制方法A kind of intelligent liquid fermentation parameter control method for food

技术领域technical field

本发明设计发酵控制领域,主要是发酵过程中多种输入输出参数的控制方法和系统。The invention designs the field of fermentation control, mainly a control method and system for various input and output parameters in the fermentation process.

背景技术Background technique

发酵技术在食品、医药、化工等领域均有应用,特别是食品行业,发酵食品具有非常大的消费群体,因而催生了庞大的发酵食品工业;食品本身是一个复杂的体系,在发酵食品的生产过程中,复杂体系的多种生产条件控制一直是行业内外公认的难题。Fermentation technology has applications in food, medicine, chemical industry and other fields, especially in the food industry. Fermented food has a very large consumer group, thus giving birth to a huge fermented food industry; food itself is a complex system, and the production of fermented food In the process, the control of various production conditions in complex systems has always been a recognized problem both inside and outside the industry.

模糊控制(Fuzzy Control)源于模糊理论(Fuzzy Theory),事宜模糊集合理论、模糊推理、模糊变量为基础的一种计算机数字控制技术,属于智能仿生控制的范畴,实质上是一种非线性控制,模糊控制在常见控制系统中具有广泛的应用基础,具有广泛的适应性、不依赖具体的模型、参数反馈速度快、控制精确等优点。但是实际使用中,多采用单一变量的输入输出模糊控制,这一点无法满足食品行业中需要复杂参数控制的需求。Fuzzy Control is derived from Fuzzy Theory, a computer digital control technology based on fuzzy set theory, fuzzy reasoning, and fuzzy variables. It belongs to the category of intelligent bionic control and is essentially a nonlinear control. , Fuzzy control has a wide range of applications in common control systems, and has the advantages of wide adaptability, no dependence on specific models, fast parameter feedback, and accurate control. However, in actual use, the input and output fuzzy control of a single variable is mostly used, which cannot meet the needs of complex parameter control in the food industry.

传统的发酵过程中生产参数的控制是直接采用PID进行稳态调节,但这类方法需要对PID参数进行反复的调整,实际使用过程中存在调试时间长、参数控制不及时等缺点。The traditional control of production parameters in the fermentation process is to directly use PID for steady-state adjustment. However, this method requires repeated adjustment of PID parameters. In actual use, there are disadvantages such as long debugging time and untimely parameter control.

如申请号“CN201510777283.5”公开了一种无负压供水机组的模糊控制系统及其模糊控制方法,采用模糊控制算法提高控制系统的稳态精度,另一方面,很好的适应了无负压供水机组的非线性、滞后性及时变性等特点,使供水机组的出口水压始终保持恒定,能够保证水质量和安全。For example, the application number "CN201510777283.5" discloses a fuzzy control system for a non-negative pressure water supply unit and its fuzzy control method. The fuzzy control algorithm is used to improve the steady-state accuracy of the control system. The non-linearity, hysteresis and timely change of the pressure water supply unit keep the outlet water pressure of the water supply unit constant, which can ensure the water quality and safety.

如申请号“CN200910085548.X”公开了一种模糊控制方法和模糊控制器,包括检测装置输入的检测输入量,将所述检测输入量与设定值的偏差值映射到输入论域上,得到模糊输入量;最后得到模糊输出量,并转化成输出量,传到控制机构,使得水厂加氯能够达到最佳的控制效果。For example, the application number "CN200910085548.X" discloses a fuzzy control method and a fuzzy controller, including a detection input input from a detection device, and mapping the deviation value between the detection input and the set value to the input universe to obtain Fuzzy input quantity; finally get the fuzzy output quantity, convert it into output quantity, and transmit it to the control mechanism, so that the chlorination of the water plant can achieve the best control effect.

但是上述公开专利在模糊控制系统中输入输出的变量都较为单一,并没有提供一种多变量的复杂模糊控制系统,无法应用于食品液态发酵过程的复杂工艺参数控制。However, the above-mentioned published patents have relatively single input and output variables in the fuzzy control system, and do not provide a multi-variable complex fuzzy control system, which cannot be applied to the complex process parameter control of the food liquid fermentation process.

发明内容SUMMARY OF THE INVENTION

本发明在于提出一种基于模糊控制的多变量发酵控制方法及系统,能够替换目前食品液态发酵生产中的发酵参数控制方法,实现一种基于模糊理论的液态食品发酵控制,解决目前在食品发酵控制过程中非线性、强耦合、时变和滞后等特性造成的不能对被控对象实现准确控制的问题。The present invention is to propose a multi-variable fermentation control method and system based on fuzzy control, which can replace the current fermentation parameter control method in food liquid fermentation production, realize a liquid food fermentation control based on fuzzy theory, and solve the problem of current food fermentation control. The problem that the controlled object cannot be accurately controlled due to the characteristics of nonlinearity, strong coupling, time-varying and lag in the process.

本发明的方法的技术方案为:一种食品智能化液态发酵参数控制方法,其特征在于,包括以下步骤:The technical scheme of the method of the present invention is: an intelligent liquid fermentation parameter control method for food, which is characterized by comprising the following steps:

步骤1,采集夏秋茶氧化发酵过程中发酵液的多酚含量和颜色信息;Step 1, collecting the polyphenol content and color information of the fermentation broth in the oxidative fermentation process of summer and autumn tea;

步骤2,将多酚含量和颜色信息作为模糊推理的输入因素,将夏秋茶氧化发酵的温度、发酵液PH、发酵液溶氧值DO、发酵液搅拌的转速作为模糊推理的输出因素;构建模糊控制系统;Step 2, take the polyphenol content and color information as input factors of fuzzy reasoning, and take the temperature of oxidative fermentation of summer and autumn tea, pH of fermentation broth, dissolved oxygen value DO of fermentation broth, and rotational speed of fermentation broth as output factors of fuzzy reasoning; Control System;

步骤3,确定模糊控制系统的输入输出因素的变化论域;Step 3, determine the change domain of the input and output factors of the fuzzy control system;

步骤4,制定输入输出因素的模糊划分及隶属度函数;Step 4, formulate fuzzy division and membership function of input and output factors;

步骤5,制定输入输出参数概率耦合规则及模糊控制表;Step 5, formulate the input and output parameter probability coupling rules and fuzzy control table;

步骤6,模糊推理及改进的马尔科夫方法解耦合化;Step 6: Decoupling of fuzzy reasoning and improved Markov method;

步骤7,将夏秋茶氧化发酵过程中的四个输出因素作为控制参数,并输入到执行机构中,分别调节执行机构中的加热装置、用于改变发酵液PH值的酸碱泵、用于改变发酵液溶氧值的气泵以及改变发酵液搅拌转速的搅拌电机。In step 7, the four output factors in the oxidative fermentation process of summer and autumn tea are used as control parameters, and are input into the actuator to adjust the heating device in the actuator, the acid-base pump for changing the pH value of the fermentation broth, and the The air pump for the dissolved oxygen value of the fermentation liquid and the stirring motor for changing the stirring speed of the fermentation liquid.

进一步,所述模糊控制系统为一个双输入、四输出的改进模糊控制系统。Further, the fuzzy control system is an improved fuzzy control system with dual inputs and four outputs.

进一步,步骤3中,输入输出因素的变化论域为:多酚含量变化在1.4~2.1,颜色的欧氏距离范围在0~15.6之间,发酵温度:25-70℃;发酵液pH:6.0~8.0;发酵液溶氧值DO:0~100;发酵液搅拌的转速:20~300。Further, in step 3, the change domain of the input and output factors is: the content of polyphenols varies from 1.4 to 2.1, the Euclidean distance of the color ranges from 0 to 15.6, the fermentation temperature: 25-70 °C; the pH of the fermentation broth: 6.0 ~8.0; dissolved oxygen value DO of fermentation broth: 0 to 100; rotational speed of fermentation broth stirring: 20 to 300.

进一步,隶属度函数选取为:三角分段隶属度函数。Further, the membership function is selected as: triangular piecewise membership function.

进一步,多酚含量模糊集的划分规则如下,分别是Further, the division rules of the fuzzy sets of polyphenol content are as follows:

很低VL∈(1.4,1.5);低LOW∈(1.5,1.6)∪(1.6,1.7);有点低RL∈(1.6,1.7)∪(1.7,1.8);合适MED∈(1.7,1.8)∪(1.8,1.9);有点高RH∈(1.8,1.9)∪(1.9,2.0);高H∈(1.9,2.0)∪(2.0,2.1);很高VH∈(2.0,2.1);Very low VL∈(1.4,1.5); low LOW∈(1.5,1.6)∪(1.6,1.7); somewhat low RL∈(1.6,1.7)∪(1.7,1.8); suitable MED∈(1.7,1.8)∪ (1.8, 1.9); somewhat high RH ∈ (1.8, 1.9) ∪ (1.9, 2.0); high H ∈ (1.9, 2.0) ∪ (2.0, 2.1); very high VH ∈ (2.0, 2.1);

发酵液颜色值的模糊集划分规则如下,分别是The fuzzy set partition rules for the color value of the fermentation broth are as follows:

合适MED∈(0,2);比较合适RM∈(0,2)∪(2,4);稍高LH∈(2,4)∪(4,6);有点高RH∈(4,6)∪(6,8);高H∈(6,8)∪(8,10);很高VH∈(8,12)∪(12,15);Suitable MED∈(0,2); more suitable RM∈(0,2)∪(2,4); slightly higher LH∈(2,4)∪(4,6); slightly higher RH∈(4,6) ∪(6,8); high H∈(6,8)∪(8,10); very high VH∈(8,12)∪(12,15);

发酵的温度模糊集划分规则如下,分别是:The temperature fuzzy set division rules for fermentation are as follows:

低温MINT∈(25,34);较低温LT∈(25,34)∪(34,43);中温MT∈(34,43)∪(43,52);较高温PT∈(43,52)∪(52,61);高温MAXT∈(52,61)∪(61,70);Low temperature MINT∈(25,34); lower temperature LT∈(25,34)∪(34,43); medium temperature MT∈(34,43)∪(43,52); higher temperature PT∈(43,52)∪ (52,61); high temperature MAXT∈(52,61)∪(61,70);

发酵液pH的模糊集划分规则如下,分别是:The fuzzy set partition rules for pH of fermentation broth are as follows:

酸MINpH∈(6.0,6.5);有点酸LpH∈(6.0,6.5)∪(6.5,7.0);中性MpH∈(6.5,7.0)∪(7.0,7.5);有点碱PpH∈(7.0,7.5)∪(7.5,8.0);碱MAXpH∈(7.5,8.0);Acid MINpH ∈ (6.0, 6.5); somewhat acidic LpH ∈ (6.0, 6.5) ∪ (6.5, 7.0); neutral MpH ∈ (6.5, 7.0) ∪ (7.0, 7.5); somewhat alkaline PpH ∈ (7.0, 7.5) ∪(7.5,8.0); base MAXpH∈(7.5,8.0);

发酵液溶氧值DO的模糊集划分规则如下,分别是:The fuzzy set division rules of the dissolved oxygen value DO of the fermentation broth are as follows:

低MINDO∈(0,25);较低LDO∈(0,25)∪(25,50);中MDO∈(25,50)∪(50,70);较高PDO∈(50,75)∪(75,100);高MAXDO∈(75,100);Low MINDO∈(0,25); Low LDO∈(0,25)∪(25,50); Medium MDO∈(25,50)∪(50,70); High PDO∈(50,75)∪ (75,100); High MAXDO ∈ (75,100);

发酵液搅拌转速的模糊集划分规则如下,分别是:The fuzzy set division rules of the stirring speed of the fermentation broth are as follows:

极低MINS∈(20,67);低LS∈(20,67)∪(67,114);较低RS∈(67,114)∪(114,161);中速MS∈(114,161)∪(161,208);较高PS∈(161,208)∪(208,255);高HS∈(208,255)∪(255,300);极高MAXS∈(255,300);Very low MINS∈(20,67); low LS∈(20,67)∪(67,114); low RS∈(67,114)∪(114,161); medium speed MS∈(114,161)∪(161,208); high PS ∈(161,208)∪(208,255); High HS∈(208,255)∪(255,300); Very High MAXS∈(255,300);

进一步,模糊推理及改进的马尔科夫方法解耦合化的具体过程为:Further, the specific process of decoupling fuzzy reasoning and improved Markov method is as follows:

此模糊推理和改进马尔科夫方法解耦合模型构成如下:This fuzzy inference and improved Markov method decoupling model is composed as follows:

对于采集的发酵液多酚含量以及颜色信息,以及需要输出至控制机构的发酵温度、发酵液pH、发酵液溶氧值DO、发酵液搅拌转速,计算各参数组合的模型的权重,并将多个模型作为观察序列,采用前向因子αt(i),对前向因子初始化,α1(i)=πibi(Y1),其中1≤i≤N,Y1是时序中初始时刻的概率;运用递归的方法不断计算权重,从前向后逐步递推αt+1(j)=[∑αt(i)αij]bj(Yt+1),其中1≤t≤T-1,1≤j≤N,αt为观察序列在t时刻的概率,bj为给定马尔可夫模型观察序列的概率;For the collected polyphenol content and color information of the fermentation broth, as well as the fermentation temperature, pH of the fermentation broth, dissolved oxygen value DO of the fermentation broth, and stirring speed of the fermentation broth that need to be output to the control mechanism, calculate the weight of the model for each parameter combination, and calculate the weights of the models with multiple parameter combinations. A model is used as an observation sequence, and the forward factor α t (i) is used to initialize the forward factor, α 1 (i)=π i b i (Y 1 ), where 1≤i≤N, Y1 is the initial moment in the time series The probability of ; use the recursive method to continuously calculate the weight, and gradually recurse α t+1 (j)=[∑α t (i)α ij ]b j (Y t+1 ) from front to back, where 1≤t≤T -1, 1≤j≤N, α t is the probability of the observation sequence at time t, b j is the probability of the observation sequence given the Markov model;

将发酵控制模型看作是一个观察序列,O=O1O2,...,OT观察模型为λ=(A,B,π),计算P(O|λ),并将各参数的数据作为一个给定模型与观察序列的匹配程度;The fermentation control model is regarded as an observation sequence, O=O 1 O 2 ,...,O T observation model is λ=(A, B, π), calculate P(O|λ), and calculate the value of each parameter. How well the data fit the observation sequence as a given model;

选择一个确定的马尔科夫模型λi={Ai,Bii},i=1,2,···,C,其中Ai,Bi,πi均为模型的参数;对于给定的发酵模型观察序列O=O1,O2,···,OT以及隐马尔科夫模型的模型参数λi,i=1,2,···,C,其中OT为因素O在T时刻所处的被观察状态;Choose a certain Markov model λ i ={A i ,B ii },i=1,2,...,C, where A i , B i , π i are all model parameters; for A given fermentation model observation sequence O=O 1 ,O 2 ,..., OT and the model parameters of the hidden Markov model λ i ,i=1,2,...,C, where O T is a factor The observed state of O at time T;

对于一个特定状态序列Q=q1,q2,...,qT,产生观察序列O=O1O2,...,OT的概率为:

Figure GDA0002637085920000041
Figure GDA0002637085920000042
For a particular state sequence Q=q 1 ,q 2 ,...,q T , the probability of producing the observation sequence O=O 1 O 2 ,...,O T is:
Figure GDA0002637085920000041
Figure GDA0002637085920000042

其中bqT为概率模型在t=T时观察序列O的概率,对给定模型参数λ,产生状态序列Q=q1,q2,...,qT的概率为:P(Q|λ)=πq1aq1q2aq2q3···aqT-1qT(4.11)where b qT is the probability that the probability model observes the sequence O at t=T. For a given model parameter λ, the probability of generating the state sequence Q=q 1 , q 2 ,...,q T is: P(Q|λ ) = π q1 a q1q2 a q2q3 ··· a qT-1qT (4.11)

其中αqT-1qT为函数参数,为了计算模型产生观察序列O=O1O2,...,OT的概率,必须将每一种隐状态序列都考虑进去,计算它们各自产生观察序列O=O1O2,...,OT的概率,然后进行求和,因此,所求概率为:Among them, α qT-1qT is the function parameter. In order to calculate the probability that the model produces the observation sequence O=O 1 O 2 ,...,O T , each hidden state sequence must be taken into account, and the calculation of each of them produces the observation sequence O =O 1 O 2 ,...,O T probability, and then summed, therefore, the obtained probability is:

Figure GDA0002637085920000043
Figure GDA0002637085920000043

从式(4.12)可以知道,观察序列O=O1O2,...,OT的概率等于所有可能产生这个观察序列的隐状态序列的概率之和,基于前向方法递归思想的算法计算P(O|λ),使得算法的时间复杂度减小至N2T,N为观察序列的维度。可以快速的求解耦合状态下各个发酵控制参数的解耦值。It can be known from equation (4.12) that the probability of the observation sequence O=O 1 O 2 ,..., OT is equal to the sum of the probabilities of all hidden state sequences that may generate this observation sequence. The algorithm based on the recursive idea of the forward method calculates P(O|λ), which reduces the time complexity of the algorithm to N 2 T, where N is the dimension of the observation sequence. The decoupling value of each fermentation control parameter in the coupled state can be quickly solved.

该发酵系统包括发酵罐、控制执行机构、控制系统、传感器系统;所述发酵罐与传感器结合,传感器系统包括温度传感器、pH传感器、可见/近红外光谱传感器;控制执行机构包括搅拌电机、温度控制模块、酸碱泵;控制系统包括主控电脑、PLC;The fermentation system includes a fermentation tank, a control actuator, a control system, and a sensor system; the fermentation tank is combined with a sensor, and the sensor system includes a temperature sensor, a pH sensor, and a visible/near-infrared spectrum sensor; the control actuator includes a stirring motor, a temperature control Module, acid-base pump; control system includes main control computer, PLC;

所述传感器和PLC连接,PLC采集传感器的数据;所述PLC和主控电脑连接,主控电脑向PLC发送指令,PLC和控制执行机构连接,直接控制执行机构的动作;所述主控电脑,接收到传感器数据后经过模糊控制系统处理得出控制参数,接着传递给PLC;所述执行机构和发酵罐直接连接,对发酵罐内的生产条件进行控制。The sensor is connected with the PLC, and the PLC collects the data of the sensor; the PLC is connected with the main control computer, the main control computer sends instructions to the PLC, and the PLC is connected with the control actuator to directly control the action of the actuator; the main control computer, After receiving the sensor data, the fuzzy control system is processed to obtain control parameters, which are then transmitted to the PLC; the actuator is directly connected to the fermenter to control the production conditions in the fermenter.

进一步来说,该模糊控制系统的构建方法包括:Further, the construction method of the fuzzy control system includes:

获取发酵液的两种或多种关键状态值,将其作为模糊控制系统的输入值Xk;根据生产经验和实验得出发酵过程中关键的生产控制参数,将其作为模糊控制系统的输出值YkObtain two or more key state values of the fermentation broth and use them as the input value X k of the fuzzy control system; obtain the key production control parameters in the fermentation process according to production experience and experiments, and use them as the output value of the fuzzy control system Y k ;

制定模糊控制规则表(FuzzyControlTable),将模糊控制系统的输入值Xk模糊化,之后通过模糊隶属度函数将其解模糊得到可用于生产调节的输出值Yk精确值;Formulate a fuzzy control rule table (FuzzyControlTable), fuzzify the input value Xk of the fuzzy control system, and then de-fuzzy it through the fuzzy membership function to obtain the output value Yk accurate value that can be used for production adjustment;

本发明设计了一个食品液态发酵的模糊控制模型,包括:The present invention designs a fuzzy control model for liquid fermentation of food, including:

参数输入部分,用于接收检测装置测得的发酵关键状态参数,包括一些关键成分的含量、颜色、黏度、浑浊度等,将上述的输入量带入模糊控制规则表,映射到输入论域中,得到输入参数的模糊值;The parameter input part is used to receive the fermentation key state parameters measured by the detection device, including the content, color, viscosity, turbidity, etc. of some key components, and bring the above input into the fuzzy control rule table and map it to the input universe , get the fuzzy value of the input parameter;

参数处理部分,对输入量的模糊值进行模糊推理和决策,得到对应输出值的模糊量;The parameter processing part performs fuzzy reasoning and decision-making on the fuzzy value of the input value, and obtains the fuzzy value corresponding to the output value;

参数输出部分,将上述参数处理部分得到的控制参数模糊量解模糊处理,得到控制输出量,并将控制输出量呈递至执行和动作机构,进行实际的控制,主要包括发酵罐的温度控制、搅拌转速控制、通气量控制、酸碱度控制;The parameter output part de-fuzzifies the fuzzy control parameters obtained by the above parameter processing part to obtain the control output, and presents the control output to the execution and action mechanism for actual control, mainly including temperature control of the fermenter, stirring Speed control, ventilation volume control, pH control;

由上述技术方案可知,本发明设计了一种改进的模糊控制方法,将多个发酵状态作为输入量,多个控制参数作为输出量,经过模糊化和马尔科夫方法解模糊和去耦合,实现发酵参数和发酵质量的精准控制,构建了一个闭环的多变量模糊控制方法和系统,达到节能减排、提高产品质量的目的。It can be seen from the above technical solutions that the present invention designs an improved fuzzy control method, which uses multiple fermentation states as input quantities and multiple control parameters as output quantities. For the precise control of fermentation parameters and fermentation quality, a closed-loop multi-variable fuzzy control method and system is constructed to achieve the purpose of saving energy and reducing emissions and improving product quality.

本发明的有益效果为:(1)基于改进的模糊控制的多变量输入输出控制系统,结合马尔可夫模型进行输出参数的解模糊和去耦合,能够实时精确的控制复杂的食品液态发酵条件下多种发酵变量的同时控制,达到节能减排的目的;The beneficial effects of the present invention are: (1) based on the improved fuzzy control multi-variable input and output control system, combined with the Markov model for defuzzification and decoupling of output parameters, which can accurately control complex food liquid fermentation conditions in real time Simultaneous control of various fermentation variables to achieve the purpose of energy saving and emission reduction;

(2)结合具有长时间生产经验的操作员提供的发酵控制数据,构建合理的多变量模糊控制规则,使控制发酵变量更加精准;(2) Combining the fermentation control data provided by operators with long-term production experience, construct reasonable multi-variable fuzzy control rules to make the control of fermentation variables more accurate;

附图说明Description of drawings

图1为茶浸提液发酵模糊系统控制流程图Fig. 1 is the control flow chart of tea extract fermentation fuzzy system

图2为茶浸提液发酵温度参数的模糊控制规则曲面Fig. 2 is the fuzzy control rule surface of the fermentation temperature parameters of the tea extract

图3为食品智能化液态发酵控制系统的流程图Figure 3 is the flow chart of the intelligent liquid fermentation control system for food

具体实施方式Detailed ways

该发酵系统包括发酵罐、控制执行机构、控制系统、传感器系统;所述发酵罐与传感器结合,传感器系统包括温度传感器、pH传感器、可见/近红外光谱传感器;控制执行机构包括搅拌电机、温度控制模块、酸碱泵;控制系统包括主控电脑、PLC;The fermentation system includes a fermentation tank, a control actuator, a control system, and a sensor system; the fermentation tank is combined with a sensor, and the sensor system includes a temperature sensor, a pH sensor, and a visible/near-infrared spectrum sensor; the control actuator includes a stirring motor, a temperature control Module, acid-base pump; control system includes main control computer, PLC;

所述传感器和PLC连接,PLC采集传感器的数据;所述PLC和主控电脑连接,主控电脑向PLC发送指令,PLC和控制执行机构连接,直接控制执行机构的动作;所述主控电脑,接收到传感器数据后经过模糊控制系统处理得出控制参数,接着传递给PLC;所述执行机构和发酵罐直接连接,对发酵罐内的生产条件进行控制。该实例设计了一个基于模糊控制的茶浸提液发酵模糊控制系统,主要步骤包括:The sensor is connected with the PLC, and the PLC collects the data of the sensor; the PLC is connected with the main control computer, the main control computer sends instructions to the PLC, and the PLC is connected with the control actuator to directly control the action of the actuator; the main control computer, After receiving the sensor data, the fuzzy control system is processed to obtain control parameters, which are then transmitted to the PLC; the actuator is directly connected to the fermenter to control the production conditions in the fermenter. This example designs a fuzzy control system for tea extract fermentation based on fuzzy control. The main steps include:

步骤1,采集夏秋茶氧化发酵过程中发酵液的多酚含量和颜色信息;Step 1, collecting the polyphenol content and color information of the fermentation broth in the oxidative fermentation process of summer and autumn tea;

步骤2,将多酚含量和颜色信息作为模糊推理的输入因素,将夏秋茶氧化发酵的温度、发酵液PH、发酵液溶氧值DO、发酵液搅拌的转速作为模糊推理的输出因素;构建模糊控制系统;Step 2, take the polyphenol content and color information as input factors of fuzzy reasoning, and take the temperature of oxidative fermentation of summer and autumn tea, pH of fermentation broth, dissolved oxygen value DO of fermentation broth, and rotational speed of fermentation broth as output factors of fuzzy reasoning; Control System;

步骤3,确定模糊控制系统的输入输出因素的变化论域;Step 3, determine the change domain of the input and output factors of the fuzzy control system;

步骤4,制定输入输出因素的模糊划分及隶属度函数;Step 4, formulate fuzzy division and membership function of input and output factors;

步骤5,制定输入输出参数概率耦合规则及模糊控制表;Step 5, formulate the input and output parameter probability coupling rules and fuzzy control table;

步骤6,模糊推理及马尔科夫方法解耦合化;Step 6: Decoupling of fuzzy reasoning and Markov method;

步骤7,将夏秋茶氧化发酵过程中的四个输出因素作为控制参数,并输入到执行机构中,分别调节执行机构中的加热装置、用于改变发酵液PH值的酸碱泵、用于改变发酵液溶氧值的气泵以及改变发酵液搅拌转速的搅拌电机。进一步说明:图1中,1为系统接收的茶浸提液两个关键参量,多酚含量和颜色值;2为改进模糊控制系统以及系统构建过程;3为改进模糊控制系统的参数概率耦合步骤;4为模糊计算推理;5为输出参量的马尔科夫方法解耦合步骤;6为系统输出控制参数;7为控制对象—夏秋茶浸提液;8为发酵参数(温度、pH、溶氧、转速)的执行机构;9为改进模糊控制系统实际输出的控制参数温度、pH、溶氧、转速;In step 7, the four output factors in the oxidative fermentation process of summer and autumn tea are used as control parameters, and are input into the actuator to adjust the heating device in the actuator, the acid-base pump for changing the pH value of the fermentation broth, and the The air pump for the dissolved oxygen value of the fermentation liquid and the stirring motor for changing the stirring speed of the fermentation liquid. Further explanation: In Figure 1, 1 is the two key parameters of the tea extract received by the system, polyphenol content and color value; 2 is the improved fuzzy control system and the system construction process; 3 is the parameter probability coupling step of the improved fuzzy control system ; 4 is the fuzzy calculation reasoning; 5 is the decoupling step of the Markov method of the output parameters; 6 is the system output control parameters; 7 is the control object—the extract of summer and autumn tea; 8 is the fermentation parameters (temperature, pH, dissolved oxygen, 9 is the control parameters temperature, pH, dissolved oxygen and rotational speed that improve the actual output of the fuzzy control system;

建立此改进模糊控制系统主要的步骤有:The main steps in establishing this improved fuzzy control system are:

步骤一:确定输入输出因素的变化论域;Step 1: Determine the change domain of input and output factors;

步骤二:制定输入输出因素的模糊划分及隶属度函数;Step 2: Formulate fuzzy division and membership function of input and output factors;

步骤三:制定参数概率耦合规则及模糊控制表;Step 3: Formulate parameter probability coupling rules and fuzzy control table;

步骤四:模糊推理及马尔科夫方法解耦合化。Step 4: Decoupling of fuzzy reasoning and Markov method.

具体的步骤如下:The specific steps are as follows:

步骤一:确定输入输出因素的变化论域;Step 1: Determine the change domain of input and output factors;

本模糊推理系统每2min检测一次夏秋茶氧化发酵过程中发酵液的多酚含量和颜色,从累积的实验数据可以看出,多酚含量变化在1.4~2.1,颜色的欧氏距离范围在0~15.6之间。本系统包含四个输出因素,输出因素的范围分别是温度:25-70℃;pH:6.0~8.0;DO:0~100;转速:20~300。The fuzzy inference system detects the polyphenol content and color of the fermentation broth in the process of oxidative fermentation of summer and autumn tea every 2 minutes. From the accumulated experimental data, it can be seen that the polyphenol content varies from 1.4 to 2.1, and the Euclidean distance of the color ranges from 0 to 0. between 15.6. The system includes four output factors, the ranges of which are temperature: 25-70℃; pH: 6.0-8.0; DO: 0-100; speed: 20-300.

输入输出变量的变化论域Change domain of input and output variables

Figure GDA0002637085920000071
Figure GDA0002637085920000071

步骤二:制定输入输出因素的模糊划分及隶属度函数;Step 2: Formulate fuzzy division and membership function of input and output factors;

隶属度函数的选择对模糊推理系统的性能影响较大。本系统选用了三角形隶属度函数,输入参数多酚模糊集的划分规则如下,分别是The choice of membership function has a great influence on the performance of fuzzy inference system. The triangular membership function is selected in this system, and the division rules of the input parameter polyphenol fuzzy set are as follows:

很低VL∈(1.4,1.5);低LOW∈(1.5,1.6)∪(1.6,1.7);有点低RL∈(1.6,1.7)∪(1.7,1.8);合适MED∈(1.7,1.8)∪(1.8,1.9);有点高RH∈(1.8,1.9)∪(1.9,2.0);高H∈(1.9,2.0)∪(2.0,2.1);很高VH∈(2.0,2.1);Very low VL ∈ (1.4, 1.5); low LOW ∈ (1.5, 1.6) ∪ (1.6, 1.7); somewhat low RL ∈ (1.6, 1.7) ∪ (1.7, 1.8); suitable MED ∈ (1.7, 1.8) ∪ (1.8, 1.9); somewhat high RH ∈ (1.8, 1.9) ∪ (1.9, 2.0); high H ∈ (1.9, 2.0) ∪ (2.0, 2.1); very high VH ∈ (2.0, 2.1);

输入输出因素的模糊划分表如下The fuzzy partition table of input and output factors is as follows

多酚的模糊集划分Fuzzy Set Partitioning of Polyphenols

Figure GDA0002637085920000081
Figure GDA0002637085920000081

输入参数颜色欧氏距离的模糊集划分规则如下,分别是The fuzzy set partition rules of the input parameter color Euclidean distance are as follows, respectively

合适MED∈(0,2);比较合适RM∈(0,2)∪(2,4);稍高LH∈(2,4)∪(4,6);有点高RH∈(4,6)∪(6,8);高H∈(6,8)∪(8,10);很高VH∈(8,12)∪(12,15);Suitable MED∈(0,2); more suitable RM∈(0,2)∪(2,4); slightly higher LH∈(2,4)∪(4,6); slightly higher RH∈(4,6) ∪(6,8); high H∈(6,8)∪(8,10); very high VH∈(8,12)∪(12,15);

模糊集规则表如下:The fuzzy set rule table is as follows:

颜色欧氏距离的模糊集划分Fuzzy Set Partitioning of Color Euclidean Distance

Figure GDA0002637085920000082
Figure GDA0002637085920000082

Figure GDA0002637085920000091
Figure GDA0002637085920000091

输出参数温度的模糊集划分规则如下:The fuzzy set partition rules for the output parameter temperature are as follows:

低温MINT∈(25,34);较低温LT∈(25,34)∪(34,43);中温MT∈(34,43)∪(43,52);较高温PT∈(43,52)∪(52,61);高温MAXT∈(52,61)∪(61,70);Low temperature MINT∈(25,34); lower temperature LT∈(25,34)∪(34,43); medium temperature MT∈(34,43)∪(43,52); higher temperature PT∈(43,52)∪ (52, 61); high temperature MAXT∈(52, 61)∪(61, 70);

输出参数温度的模糊集划分规则表:The fuzzy set partition rule table for the output parameter temperature:

温度的模糊集划分Fuzzy set partitioning of temperature

Figure GDA0002637085920000092
Figure GDA0002637085920000092

输出参数pH的模糊集划分规则如下The fuzzy set partition rule for the output parameter pH is as follows

酸MINpH∈(6.0,6.5);有点酸LpH∈(6.0,6.5)∪(6.5,7.0);中性MpH∈(6.5,7.0)∪(7.0,7.5);有点碱PpH∈(7.0,7.5)∪(7.5,8.0);碱MAXpH∈(7.5,8.0);Acid MINpH ∈ (6.0, 6.5); somewhat acid LpH ∈ (6.0, 6.5) ∪ (6.5, 7.0); neutral MpH ∈ (6.5, 7.0) ∪ (7.0, 7.5); somewhat alkaline PpH ∈ (7.0, 7.5) ∪(7.5, 8.0); base MAXpH∈(7.5, 8.0);

pH的模糊集划分The Partitioning of Fuzzy Sets of pH

Figure GDA0002637085920000093
Figure GDA0002637085920000093

Figure GDA0002637085920000101
Figure GDA0002637085920000101

输出值DO的模糊集划分规则如下:The fuzzy set partition rules for the output value DO are as follows:

低MINDO∈(0,25);较低LDO∈(0,25)∪(25,50);中MDO∈(25,50)∪(50,70);较高PDO∈(50,75)∪(75,100);高MAXDO∈(75,100);Low MINDO ∈ (0, 25); lower LDO ∈ (0, 25) ∪ (25, 50); medium MDO ∈ (25, 50) ∪ (50, 70); higher PDO ∈ (50, 75) ∪ (75, 100); high MAXDO ∈ (75, 100);

DO值的模糊集划分Fuzzy Set Partitioning of DO Values

Figure GDA0002637085920000102
Figure GDA0002637085920000102

极低MINS∈(20,67);低LS∈(20,67)∪(67,114);较低RS∈(67,114)∪(114,161);中速MS∈(114,161)∪(161,208);较高PS∈(161,208)∪(208,255);高HS∈(208,255)∪(255,300);极高MAXS∈(255,300)。;Very low MINS ∈ (20, 67); low LS ∈ (20, 67) ∪ (67, 114); low RS ∈ (67, 114) ∪ (114, 161); medium speed MS ∈ (114, 161) ∪(161, 208); high PS ∈ (161, 208)∪(208, 255); high HS ∈ (208, 255)∪(255, 300); extremely high MAXS ∈ (255, 300). ;

转速的模糊集划分Fuzzy set partitioning of rotational speed

Figure GDA0002637085920000103
Figure GDA0002637085920000103

步骤三:制定参数概率耦合规则及模糊控制表;Step 3: Formulate parameter probability coupling rules and fuzzy control table;

本系统中设计的模糊决策系统是双输入、四输出的的模糊推理系统,在这里将其分解为四个双输入、单输出的模糊推理系统,分别对应四个输出因素温度、pH、DO、转速。多酚含量分为7个语言变量,颜色分为6个语言变量,输出因素分为5个和7个语言变量。在有经验的生产专家指导下,结合长期以来的生产经验,合理地制定模糊控制规则。The fuzzy decision-making system designed in this system is a dual-input, four-output fuzzy inference system, which is decomposed into four dual-input, single-output fuzzy inference systems, corresponding to the four output factors temperature, pH, DO, Rotating speed. Polyphenol content was divided into 7 linguistic variables, color was divided into 6 linguistic variables, and output factors were divided into 5 and 7 linguistic variables. Under the guidance of experienced production experts, combined with long-term production experience, the fuzzy control rules are reasonably formulated.

温度的模糊控制规则如下:The fuzzy control rules for temperature are as follows:

部分模糊控制逻辑语句如下:Some fuzzy control logic statements are as follows:

1.If(duofen is VL)and(color is MED)then(temp is MINT) (1)1.If(duofen is VL)and(color is MED)then(temp is MINT) (1)

2.If(duofen is VL)and(color is RM)then(temp is MINT) (1)2.If(duofen is VL)and(color is RM)then(temp is MINT) (1)

3.If(duofen is VL)and(color is LH)then(temp is LT) (1)3.If(duofen is VL)and(color is LH)then(temp is LT) (1)

4.If(duofen is VL)and(color is RH)then(temp is MT) (1)4.If(duofen is VL)and(color is RH)then(temp is MT) (1)

5.If(duofen is VL)and(color is H)then(temp is PT) (1)5.If(duofen is VL)and(color is H)then(temp is PT) (1)

6.If(duofen is VL)and(color is VH)then(temp is PT) (1)6.If(duofen is VL)and(color is VH)then(temp is PT) (1)

7.If(duofen is LOW)and(color is MED)then(temp is MINT) (1)7.If(duofen is LOW)and(color is MED)then(temp is MINT) (1)

8.If(duofen is LOW)and(color is RM)then(temp is MINT)(1)8.If(duofen is LOW)and(color is RM)then(temp is MINT)(1)

9.If(duofen is LOW)and(color is LH)then(temp is LT) (1)9.If(duofen is LOW)and(color is LH)then(temp is LT) (1)

10.If(duofen is LOW)and(color is RH)then(temp is MT) (1)10.If(duofen is LOW)and(color is RH)then(temp is MT) (1)

11.If(duofen is LOW)and(color is H)then(temp is PT) (1)11.If(duofen is LOW)and(color is H)then(temp is PT) (1)

12.If(duofen is LOW)and(color is VH)then(temp is PT) (1)12.If(duofen is LOW)and(color is VH)then(temp is PT) (1)

13.If(duofen is RL)and(color is MED)then(temp is MINT) (1)13.If(duofen is RL)and(color is MED)then(temp is MINT) (1)

14.If(duofen is RL)and(color is RM)then(temp is MINT) (1)14.If(duofen is RL)and(color is RM)then(temp is MINT) (1)

15.If(duofen is RL)and(color is LH)then(temp is LT)(1)15.If(duofen is RL)and(color is LH)then(temp is LT)(1)

……...

温度的模糊策略控制表:Fuzzy policy control table for temperature:

温度的模糊策略控制表Temperature fuzzy strategy control table

Figure GDA0002637085920000121
Figure GDA0002637085920000121

pH的模糊策略控制表The fuzzy strategy control table of pH

温度的模糊策略控制表Temperature fuzzy strategy control table

Figure GDA0002637085920000122
Figure GDA0002637085920000122

DO的模糊策略控制表The Fuzzy Policy Control Table of DO

DO的模糊策略控制表The Fuzzy Policy Control Table of DO

Figure GDA0002637085920000131
Figure GDA0002637085920000131

转速的模糊策略控制表Fuzzy strategy control table of rotational speed

转速的模糊策略控制表Fuzzy strategy control table of rotational speed

Figure GDA0002637085920000132
Figure GDA0002637085920000132

步骤四:模糊推理及马尔科夫方法解耦合化。Step 4: Decoupling of fuzzy reasoning and Markov method.

此模糊推理和马尔科夫方法解耦合模型构成如下:This fuzzy inference and Markov method decoupling model consists of the following:

对于采集的发酵液多酚含量以及颜色信息,以及需要输出至控制机构的发酵温度、发酵液pH、发酵液溶氧值DO、发酵液搅拌转速,计算各参数组合的模型的权重,并将多个模型作为观察序列,采用前向因子αt(i),对前向因子初始化,α1(i)=πibi(Y1),其中1≤i≤N,Y1是时序中初始时刻的概率;运用递归的方法不断计算权重,从前向后逐步递推αt+1(j)=[∑αt(i)αij]bj(Yt+1),其中1≤t≤T-1,1≤j≤N,αt为观察序列在t时刻的概率,bj为给定马尔可夫模型观察序列的概率;For the collected polyphenol content and color information of the fermentation broth, as well as the fermentation temperature, pH of the fermentation broth, dissolved oxygen value DO of the fermentation broth, and stirring speed of the fermentation broth that need to be output to the control mechanism, calculate the weight of the model for each parameter combination, and calculate the weights of the models with multiple parameter combinations. A model is used as an observation sequence, and the forward factor α t (i) is used to initialize the forward factor, α 1 (i)=π i b i (Y 1 ), where 1≤i≤N, Y1 is the initial moment in the time series The probability of ; use the recursive method to continuously calculate the weight, and gradually recurse α t+1 (j)=[∑α t (i)α ij ]b j (Y t+1 ) from front to back, where 1≤t≤T -1, 1≤j≤N, α t is the probability of the observation sequence at time t, b j is the probability of the observation sequence given the Markov model;

将发酵控制模型看作是一个观察序列,O=O1O2,...,OT观察模型为λ=(A,B,π),计算P(O|λ),并将各参数的数据作为一个给定模型与观察序列的匹配程度。The fermentation control model is regarded as an observation sequence, O=O 1 O 2 ,...,O T observation model is λ=(A, B, π), calculate P(O|λ), and calculate the value of each parameter. How well the data fit a sequence of observations as a given model.

选择一个确定的马尔科夫模型λi={Ai,Bii},i=1,2,···,C,其中Ai,Bi,πi均为模型的参数。对于给定的发酵模型观察序列O=O1,O2,···,OT以及隐马尔科夫模型的模型参数λi,i=1,2,···,C,其中OT为因素O在T时刻所处的被观察状态;Select a certain Markov model λ i ={A i ,B ii },i=1,2,...,C, where A i , B i , π i are all model parameters. For a given fermentation model observation sequence O=O 1 ,O 2 ,..., OT and the model parameters of the hidden Markov model λ i ,i=1,2,...,C, where O T is The observed state of factor O at time T;

对于一个特定状态序列Q=q1,q2,...,qT,产生观察序列O=O1O2,...,OT的概率为:

Figure GDA0002637085920000141
Figure GDA0002637085920000142
For a particular state sequence Q=q 1 ,q 2 ,...,q T , the probability of producing the observation sequence O=O 1 O 2 ,...,O T is:
Figure GDA0002637085920000141
Figure GDA0002637085920000142

其中bqT为概率模型在t=T时观察序列O的概率,对给定模型参数λ,产生状态序列Q=q1,q2,...,qT的概率为:P(Q|λ)=πq1aq1q2aq2q3···aqT-1qT(4.11)where b qT is the probability that the probability model observes the sequence O at t=T. For a given model parameter λ, the probability of generating the state sequence Q=q 1 , q 2 ,...,q T is: P(Q|λ ) = π q1 a q1q2 a q2q3 ··· a qT-1qT (4.11)

其中αqT-1qT为函数参数,为了计算模型产生观察序列O=O1O2,...,OT的概率,必须将每一种隐状态序列都考虑进去,计算它们各自产生观察序列O=O1O2,...,OT的概率,然后进行求和,因此,所求概率为:Among them, α qT-1qT is the function parameter. In order to calculate the probability that the model produces the observation sequence O=O 1 O 2 ,...,O T , each hidden state sequence must be taken into account, and the calculation of each of them produces the observation sequence O =O 1 O 2 ,...,O T probability, and then summed, therefore, the obtained probability is:

Figure GDA0002637085920000143
Figure GDA0002637085920000143

从式(4.12)可以知道,观察序列O=O1O2,...,OT的概率等于所有可能产生这个观察序列的隐状态序列的概率之和,基于前向方法递归思想的算法计算P(O|λ),使得算法的时间复杂度减小至N2T,可以快速的求解耦合状态下各个发酵控制参数的解耦值。最终形成一个模糊控制曲面,如图2茶浸提液发酵温度参数的模糊控制规则曲面。It can be known from equation (4.12) that the probability of the observation sequence O=O 1 O 2 ,..., OT is equal to the sum of the probabilities of all hidden state sequences that may generate this observation sequence. The algorithm based on the recursive idea of the forward method calculates P(O|λ) reduces the time complexity of the algorithm to N 2 T, and can quickly solve the decoupling value of each fermentation control parameter in the coupled state. Finally, a fuzzy control surface is formed, as shown in Figure 2, the fuzzy control rule surface of the fermentation temperature parameters of tea extract.

本实施例模糊控制器通过采用模糊控制方法,将检测装置输入的检测2输入量按照模糊理论得到模糊控制量,并根据解模糊后的4个控制输出量对被控对象进行控制,克服了现有控制过程中的非线性、强耦合、时变和滞后特性造成的没有统一数学模型、控制不准确的问题,使控制过程更加精确,达到了更佳的控制效果。By adopting the fuzzy control method, the fuzzy controller in this embodiment obtains the fuzzy control quantity according to the fuzzy theory according to the detection 2 input quantities input by the detection device, and controls the controlled object according to the 4 control output quantities after defuzzification, which overcomes the problem of the current situation. There are no unified mathematical model and inaccurate control caused by nonlinear, strong coupling, time-varying and hysteresis characteristics in the control process, which makes the control process more accurate and achieves better control effects.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示意性实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, reference to the terms "one embodiment," "some embodiments," "exemplary embodiment," "example," "specific example," or "some examples," or the like, is meant to incorporate the embodiment. A particular feature, structure, material, or characteristic described by an example or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管已经示出和描述了本发明的实施例,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, The scope of the invention is defined by the claims and their equivalents.

Claims (5)

1. An intelligent food liquid fermentation parameter control method is characterized by comprising the following steps:
step 1, collecting polyphenol content and color information of fermentation liquor in the oxidative fermentation process of summer and autumn tea;
step 2, taking the polyphenol content and the color information as input factors of fuzzy reasoning, and taking the temperature of oxidative fermentation of the summer and autumn tea, the pH value of fermentation liquor, the dissolved oxygen value DO of the fermentation liquor and the stirring speed of the fermentation liquor as output factors of the fuzzy reasoning; constructing a fuzzy control system;
step 3, determining a change discourse domain of input and output factors of the fuzzy control system;
step 4, formulating fuzzy division and membership function of input and output factors;
step 5, making a probability coupling rule and a fuzzy control table of input and output parameters;
step 6, decoupling and combining fuzzy reasoning and improved Markov methods;
the specific process of decoupling and combining the fuzzy inference and the improved Markov method comprises the following steps:
the decoupling model of the fuzzy reasoning and improved Markov method is formed as follows:
calculating the weight of a model of each parameter combination for the collected polyphenol content and color information of the fermentation liquor, the fermentation temperature, pH of the fermentation liquor, DO of the dissolved oxygen value of the fermentation liquor and the stirring speed of the fermentation liquor which need to be output to a control mechanism, taking a plurality of models as an observation sequence, and adopting a forward factor alphat(i) For initialization of the forward factor, α1(i)=πibi(Y1) Wherein i is more than or equal to 1 and less than or equal to N,y1 is the probability of the initial time in the time sequence; continuously calculating the weight by using a recursive method, and gradually recursing alpha from front to backt+1(j)=[∑αt(i)αij]bj(Yt+1) T is more than or equal to 1 and less than or equal to T-1, j is more than or equal to 1 and less than or equal to N, alphatTo observe the probability of a sequence at time t, bjProbability of observing a sequence for a given Markov model;
the fermentation control model is regarded as an observation sequence, O ═ O1O2,...,OTThe observation model is lambda (A, B, pi), P (O | lambda) is calculated, and the data of each parameter is used as the matching degree of a given model and the observation sequence;
selecting a certain Markov model lambdai={Ai,BiiH, i-1, 2, C, wherein ai,Bi,πiAre all parameters of the model; observation of the sequence O ═ O for a given fermentation model1,O2,···,OTAnd a model parameter lambda of the hidden Markov modeliI-1, 2, C, wherein OTThe observed state of the factor O at the time T;
q for a particular state sequence1,q2,...,qTGenerating an observation sequence O ═ O1O2,...,OTThe probability of (c) is:
Figure FDA0002637085910000021
Figure FDA0002637085910000022
wherein b isqTFor the probability of the probabilistic model observing the sequence O at T ═ T, a state sequence Q ═ Q is generated for given model parameters λ1,q2,...,qTThe probability of (c) is: p (Q | λ) ═ piq1aq1q2aq2q3···aqT-1qT(4.11)
Wherein alpha isqT-1qTFor the function parameters, an observation sequence O ═ O is generated for the calculation model1O2,...,OTMust hide each type of the probabilityThe state sequences are all taken into account and are calculated to each produce the observed sequence O ═ O1O2,...,OTThen summed, so the probability is:
Figure FDA0002637085910000023
from formula (4.12), the observation sequence O ═ O1O2,...,OTIs equal to the sum of the probabilities of all the hidden state sequences that may generate this observation sequence, P (O | λ) is calculated based on the algorithm of the forward method recursive idea, so that the temporal complexity of the algorithm is reduced to N2T and N are dimensions of the observed sequence; solving the decoupling value of each fermentation control parameter in the coupling state;
and 7, taking four output factors in the oxidative fermentation process of the summer and autumn tea as control parameters, inputting the control parameters into an execution mechanism, and respectively adjusting a heating device, an acid-base pump for changing the pH value of the fermentation liquor, an air pump for changing the dissolved oxygen value of the fermentation liquor and a stirring motor for changing the stirring speed of the fermentation liquor in the execution mechanism.
2. The intelligent food liquid fermentation parameter control method according to claim 1, wherein the fuzzy control system is a dual-input, four-output improved fuzzy control system.
3. The method for controlling the intelligent liquid fermentation parameters of food according to claim 1, wherein in step 3, the argument of the variation of the input and output factors is as follows: the change of polyphenol content is 1.4-2.1, the Euclidean distance of color is 0-15.6, and the fermentation temperature is as follows: 25-70 ℃; pH of the fermentation liquor: 6.0-8.0; and (3) dissolved oxygen value DO of fermentation liquor: 0 to 100 parts; the stirring speed of the fermentation liquor is as follows: 20 to 300.
4. The method of claim 1, wherein the membership function is selected as: triangular segmented membership functions.
5. The method as claimed in claim 3, wherein the fuzzy set of polyphenol content is divided into the following rules, respectively
Very low VL e (1.4, 1.5); LOW ∈ (1.5,1.6) U (1.6, 1.7); somewhat lower RL ∈ (1.6,1.7) U (1.7, 1.8); suitable MED e (1.7,1.8) U (1.8, 1.9); a high RH ∈ (1.8,1.9) U (1.9, 2.0); high H ∈ (1.9,2.0) U (2.0, 2.1); very high VH e (2.0, 2.1);
the fuzzy set division rule of the color value of the fermentation liquor is as follows respectively
Suitable MED e (0, 2); suitable RM ∈ (0,2) U (2,4) is compared; slightly higher LH ∈ (2,4) U (4, 6); a high RH ∈ (4,6) and U (6, 8); high H ∈ (6,8) U (8, 10); very high VH ∈ (8,12) < u (12, 15);
the temperature fuzzy set partitioning rule of fermentation is as follows:
low temperature MINT ∈ (25, 34); a lower temperature LT ∈ (25,34) U (34, 43); medium temperature MT ∈ (34,43) — (43, 52); higher temperature PT ∈ (43,52) — (52, 61); high temperature MAXT ∈ (52,61) U (61, 70);
the fuzzy set division rule of the pH of the fermentation liquor is as follows:
acid MINpH epsilon (6.0, 6.5); the acid LpH ∈ (6.0,6.5) U (6.5, 7.0); neutral MpH ∈ (6.5,7.0) U (7.0, 7.5); the dotted base PpH ∈ (7.0,7.5 ∈ U (7.5, 8.0); the base MAXpH is in the range of (7.5, 8.0);
the fuzzy set division rule of the fermentation liquor dissolved oxygen value DO is as follows:
low MINDO ∈ (0, 25); lower LDO ∈ (0,25) U (25, 50); medium MDO ∈ (25,50) U (50, 70); higher PDO ∈ (50,75) U (75,100); high MAXDO ∈ (75,100);
the fuzzy set division rule of the fermentation liquor stirring speed is as follows:
extremely low MINS ∈ (20, 67); low LS ∈ (20,67) U (67,114); lower RS ∈ (67,114) U (114,161); medium speed MS ∈ (114,161) — U (161,208); higher PS ∈ (161,208) — U (208,255); high HS ∈ (208,255) u (255,300); very high MAXS ∈ (255,300).
CN201910206720.6A 2019-03-19 2019-03-19 A kind of intelligent liquid fermentation parameter control method for food Active CN109976157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910206720.6A CN109976157B (en) 2019-03-19 2019-03-19 A kind of intelligent liquid fermentation parameter control method for food

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910206720.6A CN109976157B (en) 2019-03-19 2019-03-19 A kind of intelligent liquid fermentation parameter control method for food

Publications (2)

Publication Number Publication Date
CN109976157A CN109976157A (en) 2019-07-05
CN109976157B true CN109976157B (en) 2020-11-03

Family

ID=67079431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910206720.6A Active CN109976157B (en) 2019-03-19 2019-03-19 A kind of intelligent liquid fermentation parameter control method for food

Country Status (1)

Country Link
CN (1) CN109976157B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2216403A2 (en) * 2006-02-02 2010-08-11 Verenium Corporation Esterases and related nucleic acids and methods

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008178401A (en) * 2006-12-27 2008-08-07 Kao Corp Container drink
CN102273527B (en) * 2011-09-15 2012-10-03 湖南湘丰茶业有限公司 Production technology of black tea
CN103777524A (en) * 2014-01-20 2014-05-07 江苏大学 Method and device for controlling black tea moderate fermentation based on visible spectrum technology
CN104297160B (en) * 2014-08-19 2017-01-11 中国农业科学院茶叶研究所 Congou black tea fermentation appropriate degree discrimination method and device
CN106155123B (en) * 2015-03-13 2020-03-10 江南大学 Online control method for residual sugar concentration in fermentation process
CN105231426A (en) * 2015-09-01 2016-01-13 池州职业技术学院 Intelligent fermenting method for foods
CN106857912A (en) * 2017-02-21 2017-06-20 贵州大学 A kind of method using intelligent black tea fermentation equipment processing black tea

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2216403A2 (en) * 2006-02-02 2010-08-11 Verenium Corporation Esterases and related nucleic acids and methods

Also Published As

Publication number Publication date
CN109976157A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
AU2020100379A4 (en) Intelligent Food Liquid Fermentation Parameter Control Method
CN111812968B (en) Valve Position Cascade Control Method Based on Fuzzy Neural Network PID Controller
CN108134114A (en) A kind of PEMFC Temperature control method
CN108790696A (en) Temprature control method, device, electronic equipment and storage medium
CN112180733B (en) A fuzzy logic-based predictive control parameter setting method for building energy consumption system
CN107272754B (en) A Precise Ratio Control System of Water and Fertilizer Based on Fuzzy PID
CN109960149B (en) Automatic disturbance rejection control parameter setting method for pH neutralization process
CN104913559A (en) Method for refrigerating unit group control based on host coefficient of performance (COP) value
CN104122795A (en) Novel extremal function index based intelligent self-turning PID (Proportion Integration Differentiation) indoor temperature control algorithm
CN114995108A (en) Control method based on fuzzy PID and sliding mode control composite control
CN114011564A (en) Coal mill control optimization method based on model offline planning
CN109976157B (en) A kind of intelligent liquid fermentation parameter control method for food
CN117313535A (en) Indium phosphide monocrystal production temperature control method based on fuzzy control
CN117472099A (en) Filling machine liquid level control method based on fuzzy PID composite regulation
CN105159247B (en) Batch process real-time sampling point stage ownership determination methods based on information transmission
CN115729132A (en) Intelligent control method for single-system air conditioner
CN105511270A (en) PID controller parameter optimization method and system based on co-evolution
CN117452805B (en) Extreme learning machine fuzzy PID control method and system for central air conditioning water system
CN115586801B (en) Gas blending concentration control method based on improved fuzzy neural network PID
CN113110635B (en) Temperature control system, method and controller for semiconductor equipment and external ignition device
CN106769812A (en) A kind of flow cytometer laminar flow control system and control method
Liu et al. A PSO-RBF neural network for BOD multi-step prediction in wastewater treatment process
CN110928183A (en) A Fuzzy Control Method for Flotation Concentrate Grade
Ezzatzadegan et al. Prediction and optimization of ethanol concentration in biofuel production using fuzzy neural network
CN117313992A (en) Carbon emission factor updating method considering multi-energy-flow community load

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Chen Quansheng

Inventor after: OuYang Qin

Inventor after: Wang Ancheng

Inventor after: Xu Yi

Inventor after: Jiao Tianhui

Inventor after: Wang Jingjing

Inventor after: Li Huanhuan

Inventor after: Guo Zhiming

Inventor before: Wang Ancheng

Inventor before: Chen Quansheng

Inventor before: Xu Yi

Inventor before: Jiao Tianhui

Inventor before: Wang Jingjing

Inventor before: Li Huanhuan

Inventor before: Guo Zhiming

Inventor before: OuYang Qin

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant