CN107156780B - Intelligent blending method of soy sauce components - Google Patents

Intelligent blending method of soy sauce components Download PDF

Info

Publication number
CN107156780B
CN107156780B CN201710280474.XA CN201710280474A CN107156780B CN 107156780 B CN107156780 B CN 107156780B CN 201710280474 A CN201710280474 A CN 201710280474A CN 107156780 B CN107156780 B CN 107156780B
Authority
CN
China
Prior art keywords
soy sauce
blending
amino acid
new
content
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
CN201710280474.XA
Other languages
Chinese (zh)
Other versions
CN107156780A (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.)
Lee Kum Kee Xin Hui Food Co ltd
South China University of Technology SCUT
Original Assignee
Lee Kum Kee Xin Hui Food Co ltd
South China University of Technology SCUT
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 Lee Kum Kee Xin Hui Food Co ltd, South China University of Technology SCUT filed Critical Lee Kum Kee Xin Hui Food Co ltd
Priority to CN201710280474.XA priority Critical patent/CN107156780B/en
Publication of CN107156780A publication Critical patent/CN107156780A/en
Application granted granted Critical
Publication of CN107156780B publication Critical patent/CN107156780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A23FOODS OR FOODSTUFFS; TREATMENT THEREOF, NOT COVERED BY OTHER CLASSES
    • A23LFOODS, FOODSTUFFS, OR NON-ALCOHOLIC BEVERAGES, NOT COVERED BY SUBCLASSES A21D OR A23B-A23J; THEIR PREPARATION OR TREATMENT, e.g. COOKING, MODIFICATION OF NUTRITIVE QUALITIES, PHYSICAL TREATMENT; PRESERVATION OF FOODS OR FOODSTUFFS, IN GENERAL
    • A23L27/00Spices; Flavouring agents or condiments; Artificial sweetening agents; Table salts; Dietetic salt substitutes; Preparation or treatment thereof
    • A23L27/50Soya sauce
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D11/00Control of flow ratio
    • G05D11/02Controlling ratio of two or more flows of fluid or fluent material
    • G05D11/13Controlling ratio of two or more flows of fluid or fluent material characterised by the use of electric means
    • G05D11/139Controlling ratio of two or more flows of fluid or fluent material characterised by the use of electric means by measuring a value related to the quantity of the individual components and sensing at least one property of the mixture

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Nutrition Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Food Science & Technology (AREA)
  • Polymers & Plastics (AREA)
  • Soy Sauces And Products Related Thereto (AREA)

Abstract

The invention discloses an intelligent soy sauce component blending method, which comprises the steps of firstly, constructing a soy sauce blending mathematical model, wherein a target function in the mathematical model aims at weighting that the occupied proportions of various soy sauce for blending respectively correspond to soy sauce for blending which is closest to the soy sauce for blending when new soy sauce is blended, and setting corresponding constraint conditions; when the new soy sauce is prepared, the weight required by the various soy sauce for preparation, the amino acid nitrogen content and the salt content in the various soy sauce for preparation, the amino acid nitrogen content of the new soy sauce to be prepared and the salt content of the new soy sauce to be prepared are input into a soy sauce preparation mathematical model to solve the soy sauce preparation mathematical model, and the solved result is the occupied weight proportion of the various soy sauce for preparation when the new soy sauce is prepared. The invention directly obtains the proportion of the occupied amount of various soy sauce for blending required when new soy sauce is blended through the soy sauce blending mathematical model, has the advantages of high accuracy, simple operation and short blending time, and improves the soy sauce blending efficiency.

Description

Intelligent blending method of soy sauce components
Technical Field
The invention belongs to the technical field of intelligent food processing, and particularly relates to an intelligent blending method of soy sauce components.
Background
The soy sauce is a necessity for people's life, and with the continuous improvement of the living standard of people, the high-grade soy sauce becomes the first choice for people's consumption and has a wide development space, and with the further strictness of the country on the food quality, the consistency of the content of the soy sauce and the content listed by the label is particularly important.
In the production of soy sauce, the soy sauce brewed by natural fermentation needs to be reasonably blended to reach the national standards of different grades to become a product. The finished products of the blended soy sauce in the same level can reach the consistency of ammonia nitrogen, salt, additives and color. The blending is an important link of the industrialized soy sauce production. At present, most soy sauce production enterprises in China adopt the traditional manual mode to mix soy sauce, the production efficiency is low, and the labor intensity of workers is high.
The soy sauce blending process generally comprises the proportioning process of ammonia nitrogen content, salt content and additive content. At present, domestic soy sauce production enterprises mainly adopt an empirical design method to mix soy sauce according to a proportion given by the empirical design. After the blending is finished, detecting the ammonia nitrogen content and the salt content of the soy sauce, and correcting the soy sauce in the next batch when the error is too large. Such a blending method has the disadvantages of complicated blending process, low efficiency, high labor intensity, high waste and the like, and is not necessarily optimal for certain parameters, such as soy sauce salinity, first soy sauce specific gravity, configuration economy and the like. Therefore, in order to achieve accurate ammonia nitrogen and salt content configuration, soy sauce preparation needs to be carried out through multiple iterations of the whole process of specific concentration (content) ratio, ammonia nitrogen detection, salt adjustment and concentration ratio. This method is inefficient and does not allow the adjustment ratio to be optimized according to the respective requirements. The reason that the optimized allocation algorithm is adopted at present is less: optimizing the soy sauce proportioning aiming at a specific target is a multivariable nonlinear programming problem, the independent variables are more, the initial value is difficult to select, and if an optimal solution is solved by adopting a common optimization theory, the optimal result is often not obtained; meanwhile, the salt content of the soy sauce is required to reach a set value while the ammonia nitrogen content is allocated, so that the complexity of soy sauce proportioning is increased.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide the intelligent soy sauce component blending method, which can automatically blend a plurality of soy sauce with different amino acid nitrogen and salt contents into the soy sauce meeting certain configuration requirements, has the advantages of high accuracy, simple operation and short blending time, greatly improves the soy sauce blending efficiency and solves the problem of soy sauce waste caused by the traditional soy sauce blending method.
The second objective of the present invention is to provide an intelligent soy sauce component blending method, which can automatically blend a plurality of soy sauce with different amino acid nitrogen and salt contents into soy sauce meeting certain configuration requirements, and has the advantages of high accuracy, simple operation and short blending time, thereby greatly improving the soy sauce blending efficiency and solving the problem of soy sauce waste caused by the traditional soy sauce blending method. Meanwhile, the method can also reduce the constraint equation in the preparation process, greatly reduce the problem solving difficulty and greatly improve the calculation efficiency of the soy sauce preparation mathematical model.
The first purpose of the invention is realized by the following technical scheme: an intelligent blending method of soy sauce components comprises the following steps:
s1, constructing a soy sauce blending mathematical model, comprising the following steps:
s11, constructing an objective function of the soy sauce blending mathematical model: constructing a target function of a soy sauce blending mathematical model by taking the weight which is closest to the weight of various soy sauce for blending and corresponds to the occupied weight ratio of various soy sauce for blending when new soy sauce is blended; wherein the soy sauce for blending is soy sauce containing various amino acid nitrogen and salt contents;
s12, constructing constraint conditions of the soy sauce blending mathematical model, wherein the constraint conditions comprise:
the content of amino acid nitrogen of the mixed soy sauce for blending is equal to the content of amino acid nitrogen of the new soy sauce to be blended;
the salt content of the mixed soy sauce for blending is equal to the salt content of the new soy sauce to be blended;
the dosage of the mixed soy sauce for blending is less than or equal to the total stored amount;
s2, acquiring the amino acid nitrogen content and the salt content of the soy sauce for blending; simultaneously acquiring the content of amino acid nitrogen of the new soy sauce to be prepared and the content of salt of the new soy sauce to be prepared, and acquiring the weight of various soy sauce for preparation when the new soy sauce is prepared;
s3, taking the weight of the soy sauce for blending acquired in the step S2, the content of amino acid nitrogen and salt in the soy sauce for blending, the content of amino acid nitrogen in the soy sauce for blending and the content of salt in the soy sauce for blending as the input of the soy sauce blending mathematical model in the step S1 to solve the soy sauce blending mathematical model, and obtaining the solving result, namely the proportion of the occupied amount of the soy sauce for blending mixed when the new soy sauce is blended.
Preferably, the objective function J of the mathematical model for soy sauce blending constructed in the step S11min(xi) Comprises the following steps:
Figure BDA0001279354500000031
the constraint conditions of the soy sauce blending mathematical model in the step S12 are as follows:
Figure BDA0001279354500000032
Figure BDA0001279354500000033
0≤Mxi≤bi
wherein xiThe occupied weight proportion of the ith soy sauce for blending required when blending the new soy sauce is increased;
kiweight of the i th soy sauce for blending when blending the new soy sauce;
num is the total number of soy sauce for blending when new soy sauce is blended;
n is the content of amino acid nitrogen of the new soy sauce to be prepared;
s is the salt content of the new soy sauce to be prepared;
m is the total amount of the new soy sauce to be prepared;
niamino acid nitrogen content of soy sauce for formulation of the ith species;
sithe salt content of the soy sauce for the ith preparation;
bithe total amount of the soy sauce for formulation of the i-th variety.
Preferably, in the step S3, the mathematical model for soy sauce blending is solved through an iterative algorithm, so as to obtain the occupied weight ratio of the soy sauce for blending, which needs to be mixed when blending new soy sauce.
Further, the iterative algorithm is based on a sequence quadratic programming algorithm, a genetic algorithm or a gradient descent algorithm.
Furthermore, when the mathematical model for soy sauce blending is solved through the iterative algorithm in step S3, the initial value of the occupied amount ratio of each soy sauce for blending is obtained through a cross method, and the specific process is as follows:
s31, comparing the amino acid nitrogen content of the soy sauce for blending with the amino acid nitrogen content of the new soy sauce to be blended respectively, and acquiring the total number of the soy sauce for blending with the amino acid nitrogen content higher than the new soy sauce to be blended and the total number of the soy sauce for blending with the amino acid nitrogen content lower than the new soy sauce to be blended; taking an absolute value after the difference value between the total number of the soy sauce with the amino acid nitrogen content higher than the new soy sauce to be prepared and the total number of the soy sauce with the amino acid nitrogen content lower than the new soy sauce to be prepared is taken, wherein the absolute value is B;
s32, adding B soy sauce solutions: if the content of amino acid nitrogen is higher than the total number of the soy sauce for preparing the new soy sauce to be prepared and the content of the amino acid nitrogen is lower than the total number of the soy sauce for preparing the new soy sauce to be prepared, the content of the amino acid nitrogen in various soy sauce solutions in the B soy sauce solution and the content of the amino acid nitrogen in one soy sauce for preparing the new soy sauce to be prepared are the same; if the content of amino acid nitrogen is higher than the total number of the soy sauce for preparing the new soy sauce to be prepared and is less than the total number of the soy sauce for preparing the new soy sauce to be prepared, the content of amino acid nitrogen in various soy sauce solutions in the B soy sauce solution is the same as the content of amino acid nitrogen in one of the soy sauce for preparing the new soy sauce to be prepared;
s33, calculating the absolute value c of the difference between the amino acid nitrogen content of the soy sauce for blending and the amino acid nitrogen content of the new soy sauce to be blendedi
ci=|N-ni|,i=[1,num],i∈N;
Wherein N is the content of amino acid nitrogen in the new soy sauce to be prepared, and N isiAmino acid nitrogen content of soy sauce for formulation of the ith species;
simultaneously calculating the absolute value c of the difference between the amino acid nitrogen content of the B soy sauce solution added in the step S32 and the amino acid nitrogen content of the new soy sauce to be preparedj
cj=|N-nj|,j=[1,B],j∈N;
Wherein n isjThe amino acid nitrogen content of the jth soy sauce solution in the B soy sauce solution added in the step S32;
s34, the initial value of the occupied weight ratio of various soy sauce for blending required when blending new soy sauce:
Figure BDA0001279354500000041
wherein
Figure BDA0001279354500000042
Namely the initial value of the occupied amount ratio of the ith soy sauce for blending required when the new soy sauce is blended.
The second purpose of the invention is realized by the following technical scheme: an intelligent blending method of soy sauce components comprises the following steps:
s1, constructing a soy sauce blending mathematical model, comprising the following steps:
s11, constructing an objective function of the soy sauce blending mathematical model: constructing a target function of a soy sauce blending mathematical model by taking the weight which is closest to the weight of various soy sauce for blending and corresponds to the occupied weight ratio of various soy sauce for blending when new soy sauce is blended; wherein the various soy sauce for blending refers to soy sauce for blending with various amino acid nitrogen and salt content, and the various soy sauce for blending is soy sauce which is not pretreated by salt amount or soy sauce which is pretreated by salt amount;
s12, constructing constraint conditions of the soy sauce blending mathematical model, wherein the constraint conditions comprise:
the content of amino acid nitrogen of the mixed soy sauce for blending is equal to the content of amino acid nitrogen of the new soy sauce to be blended;
the dosage of the mixed soy sauce for blending is less than or equal to the total stored amount;
s2, obtaining various soy sauce, wherein the various soy sauce refers to soy sauce with various amino acid nitrogen and salt contents, and obtaining various soy sauce for blending through the obtained various soy sauce, specifically: aiming at each obtained soy sauce, firstly, comparing the salinity content of the soy sauce with the salinity content of a new soy sauce to be prepared, if the salinity content of the soy sauce is equal to the salinity content of the new soy sauce to be prepared, not performing salt pretreatment on the soy sauce, directly using the soy sauce without salt pretreatment as the soy sauce for preparation, and simultaneously calculating the amino acid nitrogen content of the soy sauce for preparation; if the two are not equal, performing salinity pretreatment on the soy sauce to ensure that the salinity content after the salinity pretreatment is equal to the salinity content of the new soy sauce to be prepared, taking the soy sauce subjected to salinity pretreatment as the soy sauce for preparation, and simultaneously calculating the amino acid nitrogen content of the soy sauce for preparation;
simultaneously acquiring the content of amino acid nitrogen of the new soy sauce to be prepared, the content of salt of the new soy sauce to be prepared and the weight of various soy sauce for preparation when the new soy sauce is prepared;
s3, the amino acid nitrogen content of the soy sauce for blending, the weight required by the soy sauce for blending when new soy sauce is blended, the amino acid nitrogen content of the new soy sauce to be blended and the salt content of the new soy sauce to be blended which are obtained in the step S2 are used as the input of the soy sauce blending mathematical model in the step S1 to solve the soy sauce blending mathematical model, and the obtained solution result is the proportion of the occupied amount of the soy sauce for blending when the new soy sauce is blended.
Preferably, the objective function J of the mathematical model for soy sauce blending constructed in the step S11min(xi) Comprises the following steps:
Figure BDA0001279354500000051
the constraint conditions of the soy sauce blending mathematical model in the step S12 are as follows:
Figure BDA0001279354500000052
0≤Mxi≤bi
wherein xiThe occupied weight proportion of the ith soy sauce for blending after the pretreatment of salinity is needed when the new soy sauce is blended;
kiweight of the i th soy sauce for blending when blending the new soy sauce;
num is the total number of soy sauce for blending when new soy sauce is blended;
n is the content of amino acid nitrogen of the new soy sauce to be prepared;
s is the salt content of the new soy sauce to be prepared;
m is the total amount of the new soy sauce to be prepared;
niamino acid nitrogen content of soy sauce for formulation of the ith species;
bithe total amount of the soy sauce for formulation of the i-th variety.
Preferably, in step S2, for each obtained soy sauce, the salt content of the soy sauce is compared with the salt content of the new soy sauce to be prepared, and if the salt content of the soy sauce is not equal to the salt content of the new soy sauce to be prepared, the soy sauce is pretreated with the following salt content:
s21, judging whether the salt content of the soy sauce is more than or less than the salt content of the new soy sauce to be prepared, if so, entering the step S22; if yes, go to step S23;
s22, adding salt into the soy sauce with the salt content less than that of the new soy sauce to be prepared, enabling the salt content of the soy sauce after the salt is added to be equal to that of the new soy sauce to be prepared, taking the soy sauce after the salt is added as the soy sauce for preparation, and calculating the amino acid nitrogen content of the soy sauce for preparation;
wherein the required added salt amount is as follows:
Figure BDA0001279354500000061
wherein S is the salt content of the new soy sauce to be prepared;
aithe amount of salt added to obtain the i-th soy sauce for blending, i.e. the amount a of salt added to the i-th soy sauce obtained in step S2iThen obtaining the ith soy sauce for blending;
b′ithe total amount of the i-th soy sauce obtained in step S2;
sithe salt content of the i-th soy sauce obtained in step S2;
wherein the calculated amino acid nitrogen content of the soy sauce for blending is as follows:
Figure BDA0001279354500000062
wherein n isiAmino acid nitrogen content of soy sauce for formulation of the ith species;
n′ithe amino acid nitrogen content of the ith soy sauce obtained in step S2;
s23, adding standard solution with the amino acid nitrogen content of 0 into the soy sauce with the salt content larger than that of the new soy sauce to be prepared, enabling the salt content of the soy sauce added with the standard solution to be equal to that of the new soy sauce to be prepared, taking the soy sauce added with the standard solution as the soy sauce for preparation, and calculating the amino acid nitrogen content of the soy sauce for preparation;
wherein the amount of the standard solution required to be added is as follows:
Figure BDA0001279354500000063
wherein S is the salt content of the new soy sauce to be prepared;
withe amount of the standard solution to be added for obtaining the ith soy sauce for blending, i.e., the amount of the ith soy sauce obtained in step S2 is wiObtaining the ith soy sauce for blending after the standard solution is obtained;
b′ithe total amount of the i-th soy sauce obtained in step S2;
siis the step ofThe salt content of the ith soy sauce obtained in the step S2;
wherein the calculated amino acid nitrogen content of the soy sauce for blending is as follows:
Figure BDA0001279354500000071
wherein n isiAmino acid nitrogen content of soy sauce for formulation of the ith species;
n′ithe content of amino acid nitrogen in the i-th soy sauce obtained in step S2.
Preferably, in the step S3, the mathematical model for soy sauce blending is solved through an iterative algorithm, so as to obtain the occupied proportion of the soy sauce for blending, which is required to be mixed when new soy sauce is blended; the iterative algorithm is based on a sequence quadratic programming algorithm, a genetic algorithm or a gradient descent algorithm.
Furthermore, when the mathematical model for soy sauce blending is solved through the iterative algorithm in step S3, the initial value of the occupied amount ratio of each soy sauce for blending required for blending new soy sauce is obtained through a cross method, which comprises the following specific steps:
s31, comparing the amino acid nitrogen content of the soy sauce for blending with the amino acid nitrogen content of the new soy sauce to be blended respectively, and acquiring the total number of the soy sauce for blending with the amino acid nitrogen content higher than the new soy sauce to be blended and the total number of the soy sauce for blending with the amino acid nitrogen content lower than the new soy sauce to be blended; taking an absolute value after the difference value between the total number of the soy sauce with the amino acid nitrogen content higher than the new soy sauce to be prepared and the total number of the soy sauce with the amino acid nitrogen content lower than the new soy sauce to be prepared is taken, wherein the absolute value is B;
s32, adding B soy sauce solutions: if the content of amino acid nitrogen is higher than the total number of the soy sauce for preparing the new soy sauce to be prepared and the content of the amino acid nitrogen is lower than the total number of the soy sauce for preparing the new soy sauce to be prepared, the content of the amino acid nitrogen in various soy sauce solutions in the B soy sauce solution and the content of the amino acid nitrogen in one soy sauce for preparing the new soy sauce to be prepared are the same; if the content of amino acid nitrogen is higher than the total number of the soy sauce for preparing the new soy sauce to be prepared and is less than the total number of the soy sauce for preparing the new soy sauce to be prepared, the content of amino acid nitrogen in various soy sauce solutions in the B soy sauce solution is the same as the content of amino acid nitrogen in one of the soy sauce for preparing the new soy sauce to be prepared;
s33, calculating the absolute value c of the difference between the amino acid nitrogen content of the soy sauce for blending and the amino acid nitrogen content of the new soy sauce to be blendedi
ci=|N-ni|,i=[1,num],i∈N;
Wherein N is the content of amino acid nitrogen in the new soy sauce to be prepared, and N isiAmino acid nitrogen content of soy sauce for formulation of the ith species;
simultaneously calculating the absolute value c of the difference between the amino acid nitrogen content of the B soy sauce solution added in the step S32 and the amino acid nitrogen content of the new soy sauce to be preparedj
cj=|N-nj|,j=[1,B],j∈N;
Wherein n isjThe amino acid nitrogen content of the jth soy sauce solution in the B soy sauce solution added in the step S32;
s34, mixing the new soy sauce, wherein the initial value of the occupied weight ratio of the various soy sauce for blending needs to be mixed:
Figure BDA0001279354500000081
wherein
Figure BDA0001279354500000082
Namely the initial value of the occupied amount ratio of the ith soy sauce for blending required when the new soy sauce is blended.
Compared with the prior art, the invention has the following advantages and effects:
(1) the intelligent soy sauce component blending method comprises the steps of firstly, constructing a soy sauce blending mathematical model, wherein a target function in the mathematical model aims at weighting that the occupied proportions of various soy sauce for blending respectively correspond to soy sauce for blending which is closest to the soy sauce for blending when new soy sauce is blended, and setting corresponding constraint conditions; when the method is used for preparing, the weight required by various soy sauce for preparing new soy sauce, the content of amino acid nitrogen and salt in the various soy sauce for preparing, the content of the amino acid nitrogen in the new soy sauce to be prepared and the salt content of the new soy sauce to be prepared are used as the input of a soy sauce preparation mathematical model to solve the soy sauce preparation mathematical model, and the solved result is the occupied proportion of the various soy sauce for preparing when the new soy sauce is prepared. Therefore, the invention directly obtains the proportion of the occupied amount of various soy sauce for blending required when new soy sauce is blended by the soy sauce blending mathematical model, can automatically blend a plurality of soy sauce with different amino acid nitrogen and salt content into the soy sauce meeting certain blending requirements, compared with the traditional soy sauce blending method, the blending method of the invention does not need repeated tests, has the advantages of high accuracy, simple operation and short blending time, greatly improves the blending efficiency of the soy sauce, and solves the problem of soy sauce waste caused by the traditional blending method.
(2) The invention relates to a soy sauce component intelligent allocation method, which comprises the steps of firstly constructing a soy sauce allocation mathematical model, wherein an objective function in the mathematical model aims at that the occupied weight proportion of various soy sauce for allocation is respectively corresponding to the weight which is closest to the soy sauce for allocation when new soy sauce is allocated, and setting corresponding constraint conditions; therefore, the soy sauce allocation method directly calculates the occupied proportion of various soy sauce for allocation required when new soy sauce is allocated through the soy sauce allocation mathematical model, can automatically allocate soy sauce with different amino acid nitrogen and salt contents into the soy sauce meeting certain allocation requirements, does not need repeated tests compared with the traditional soy sauce allocation method, has the advantages of high accuracy, simple operation and short allocation time, greatly improves the soy sauce allocation efficiency, and solves the problem of soy sauce waste caused by the traditional allocation method. Meanwhile, in the preparation method, various soy sauce for preparation is obtained from soy sauce which is pretreated by salt amount, the salt content of the soy sauce which is pretreated by salt amount is the same as the salt content of the new soy sauce to be prepared, therefore, the preparation method comprises the steps of preparing various soy sauce for preparation with the salt content meeting the production requirement, and then preparing the new soy sauce with the amino acid nitrogen content meeting the production requirement through a soy sauce preparation mathematical model.
(3) In the intelligent soy sauce component allocation method, iterative algorithms such as a sequence quadratic programming algorithm, a genetic algorithm or a gradient descent algorithm and the like can be adopted to solve the soy sauce allocation mathematical model, when the sequence quadratic programming algorithm is adopted, the iteration times are usually less than the times of solving by other methods, the calculation precision is higher, in a search area, the sequence quadratic programming algorithm can obtain the optimal search direction and step length information, and the calculation efficiency is higher.
(4) In the intelligent soy sauce component blending method, when the iterative algorithm is adopted to solve the soy sauce blending mathematical model, the initial values of the occupation ratio of various soy sauce for blending when new soy sauce is blended are firstly calculated by adopting a cross method, so that the convergence speed of optimal value solution is accelerated, and the calculation efficiency of the soy sauce blending mathematical model is further improved.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Example 1
The embodiment discloses an intelligent blending method of soy sauce components, which comprises the following steps:
s1, constructing a soy sauce blending mathematical model, comprising the following steps:
s11, constructing an objective function of the soy sauce blending mathematical model: constructing a target function of a soy sauce blending mathematical model by taking the weight which is closest to the weight of various soy sauce for blending and corresponds to the occupied weight ratio of various soy sauce for blending when new soy sauce is blended; wherein the soy sauce for blending is soy sauce containing various amino acid nitrogen and salt contents;
the objective function J of the mathematical model for soy sauce blending constructed in this embodimentmin(xi) Comprises the following steps:
Figure BDA0001279354500000101
s12, constructing constraint conditions of the soy sauce blending mathematical model, wherein the constraint conditions comprise:
the content of amino acid nitrogen of the mixed soy sauce for blending is equal to the content of amino acid nitrogen of the new soy sauce to be blended; namely:
Figure BDA0001279354500000102
the salt content of the mixed soy sauce for blending is equal to the salt content of the new soy sauce to be blended; namely:
Figure BDA0001279354500000103
the dosage of the mixed soy sauce for blending is less than or equal to the total stored amount; namely:
0≤Mxi≤bi
wherein xiThe occupied weight proportion of the ith soy sauce for blending required when blending the new soy sauce is increased;
kiweight of the i th soy sauce for blending when blending the new soy sauce;
num is the total number of soy sauce for blending when new soy sauce is blended;
n is the content of amino acid nitrogen of the new soy sauce to be prepared;
s is the salt content of the new soy sauce to be prepared;
m is the total amount of the new soy sauce to be prepared;
niamino acid nitrogen content of soy sauce for formulation of the ith species;
sithe salt content of the soy sauce for the ith preparation;
bithe total amount of the soy sauce for formulation of the i-th variety.
S2, acquiring the amino acid nitrogen content and the salt content of the soy sauce for blending; simultaneously acquiring the content of amino acid nitrogen of the new soy sauce to be prepared and the content of salt of the new soy sauce to be prepared, and acquiring the weight of various soy sauce for preparation when the new soy sauce is prepared;
s3, taking the weight of the soy sauce for blending acquired in the step S2, the content of amino acid nitrogen and salt in the soy sauce for blending, the content of amino acid nitrogen in the soy sauce for blending and the content of salt in the soy sauce for blending as the input of the soy sauce blending mathematical model in the step S1 to solve the soy sauce blending mathematical model, and obtaining the solving result, namely the proportion of the occupied amount of the soy sauce for blending mixed when the new soy sauce is blended.
In the step S3, the mathematical model for soy sauce blending is solved through an iterative algorithm to obtain the occupied weight ratio of the soy sauce for blending which needs to be mixed when new soy sauce is blended. In this embodiment, the iterative algorithm based on the sequential quadratic programming algorithm used in Matlab software is used to solve the mathematical model for soy sauce blending, and other iterative algorithms such as a genetic algorithm or a gradient descent algorithm may also be used.
The process of solving the soy sauce allocation mathematical model by the iterative algorithm based on the sequential quadratic programming algorithm mainly comprises three steps: (1) updating of the Hessian matrix of the lagrange function: in each main iteration process, a BFGS method is used for calculating a quasi-Newton approximate matrix of a Hess matrix of the Lagrangian function. (2) Solving a quadratic programming problem: the solution process is divided into two steps, step 1 involves calculation of feasible points (if existing), and step 2 is an iteration sequence from the feasible points to the solution. In step 1, a feasible point is needed as an initial value, and if the current point is not feasible, a feasible point is obtained by solving a linear programming problem: (3) one-dimensional search and calculation of an objective function.
When the mathematical model for soy sauce blending is solved by the iterative algorithm in the step S3, the initial value of the occupied amount ratio of each soy sauce for blending is obtained by a cross method, and the specific process is as follows:
s31, comparing the amino acid nitrogen content of the soy sauce for blending with the amino acid nitrogen content of the new soy sauce to be blended respectively, and acquiring the total number of the soy sauce for blending with the amino acid nitrogen content higher than the new soy sauce to be blended and the total number of the soy sauce for blending with the amino acid nitrogen content lower than the new soy sauce to be blended; taking an absolute value after the difference value between the total number of the soy sauce with the amino acid nitrogen content higher than that of the new soy sauce to be prepared and the total number of the soy sauce with the amino acid nitrogen content lower than that of the new soy sauce to be prepared, wherein the absolute value is B, and B is an integer value;
s32, adding B soy sauce solutions:
if the content of amino acid nitrogen is higher than the total number of the soy sauce for preparing the new soy sauce to be prepared and the content of the amino acid nitrogen is lower than the total number of the soy sauce for preparing the new soy sauce to be prepared, the content of the amino acid nitrogen in various soy sauce solutions in the B soy sauce solution and the content of the amino acid nitrogen in one soy sauce for preparing the new soy sauce to be prepared are the same;
if the content of amino acid nitrogen is higher than the total number of the soy sauce for preparing the new soy sauce to be prepared and is less than the total number of the soy sauce for preparing the new soy sauce to be prepared, the content of amino acid nitrogen in various soy sauce solutions in the B soy sauce solution is the same as the content of amino acid nitrogen in one of the soy sauce for preparing the new soy sauce to be prepared;
s33, calculating the absolute value of the difference between the amino acid nitrogen content of the sauce for blending and the amino acid nitrogen content of the new sauce to be blended:
ci=|N-ni|,i=[1,num],i∈N;
wherein c isiThe absolute value of the difference value between the amino acid nitrogen content of the soy sauce for the ith kind of the soy sauce and the amino acid nitrogen content of the new soy sauce to be prepared; n is the content of amino acid nitrogen in the new soy sauce to be prepared, NiAmino acid nitrogen content of soy sauce for formulation of the ith species;
and simultaneously calculating the absolute value of the difference value between the amino acid nitrogen content of the B soy sauce solution added in the step S32 and the amino acid nitrogen content of the new soy sauce to be prepared:
cj=|N-nj|,j=[1,B],j∈N;
wherein c isjAdding the absolute value of the difference value between the amino acid nitrogen content of the jth soy sauce solution in the B soy sauce solutions and the amino acid nitrogen content of the new soy sauce to be prepared; n isjThe amino acid nitrogen content of the jth soy sauce solution in the B soy sauce solution added in the step S32;
s34 initial value of ratio of soy sauce occupied by new soy sauce
Figure BDA0001279354500000121
Wherein
Figure BDA0001279354500000122
Namely the initial value of the occupied amount proportion of the ith soy sauce for blending required when the new soy sauce is blended;
supposing that 4 kinds of soy sauce for blending are provided, the content of amino acid nitrogen is respectively y1, y2 and y4 from small to large; if the content of amino acid nitrogen in the new soy sauce to be prepared is y, y2< y < y4, the content of amino acid nitrogen is 1 higher than the total number of soy sauce to be prepared, the content of amino acid nitrogen is 2 lower than the total number of soy sauce to be prepared, so that B is 1, and the content of amino acid nitrogen is 1 higher than the total number of soy sauce to be prepared and is lower than the total number of soy sauce to be prepared, so that the content of amino acid nitrogen in the solution of B soy sauce added in the step S32 is the same as the content of amino acid nitrogen in the soy sauce to be prepared; that is, the amino acid nitrogen content of the soy sauce solution B was the same as that of the soy sauce for blending having an amino acid nitrogen content of y 4.
Example 2
The embodiment discloses an intelligent blending method of soy sauce components, which comprises the following steps:
s1, constructing a soy sauce blending mathematical model, comprising the following steps:
s11, constructing an objective function of the soy sauce blending mathematical model: constructing a target function of a soy sauce blending mathematical model by taking the weight which is closest to the weight of various soy sauce for blending and corresponds to the occupied weight ratio of various soy sauce for blending when new soy sauce is blended; wherein the soy sauce for blending refers to soy sauce for blending with various amino acid nitrogen and salt content, and the soy sauce for blending is soy sauce without salt pretreatment or soy sauce after salt pretreatment;
the objective function J of the mathematical model for soy sauce blending constructed in step S11min(xi) Is as follows:
Figure BDA0001279354500000131
s12, constructing constraint conditions of the soy sauce blending mathematical model, wherein the constraint conditions comprise:
the content of amino acid nitrogen of the mixed soy sauce for blending is equal to the content of amino acid nitrogen of the new soy sauce to be blended; namely:
Figure BDA0001279354500000132
the dosage of the mixed soy sauce for blending is less than or equal to the total stored amount; namely:
0≤Mxi≤bi
wherein xiThe occupied weight proportion of the ith soy sauce for blending after the pretreatment of salinity is needed when the new soy sauce is blended;
kifor preparing new sauceWeight of soy sauce for blending of i-th species in oil;
num is the total number of soy sauce for blending when new soy sauce is blended;
n is the content of amino acid nitrogen of the new soy sauce to be prepared;
s is the salt content of the new soy sauce to be prepared;
m is the total amount of the new soy sauce to be prepared;
niamino acid nitrogen content of soy sauce for formulation of the ith species;
bithe total amount of the soy sauce for formulation of the i-th variety.
S2, obtaining various soy sauce, wherein the various soy sauce refers to soy sauce with various amino acid nitrogen and salt contents, and obtaining various soy sauce for blending through the obtained various soy sauce, specifically: aiming at each obtained soy sauce, firstly, comparing the salinity content of the soy sauce with the salinity content of a new soy sauce to be prepared, if the salinity content of the soy sauce is equal to the salinity content of the new soy sauce to be prepared, not performing salt pretreatment on the soy sauce, directly using the soy sauce without salt pretreatment as the soy sauce for preparation, and simultaneously calculating the amino acid nitrogen content of the soy sauce for preparation; if the two are not equal, performing salinity pretreatment on the soy sauce to ensure that the salinity content after the salinity pretreatment is equal to the salinity content of the new soy sauce to be prepared, taking the soy sauce subjected to salinity pretreatment as the soy sauce for preparation, and simultaneously calculating the amino acid nitrogen content of the soy sauce for preparation; in this embodiment, the following salt amount pretreatment is performed on the soy sauce with the salt content not equal to that of the new soy sauce to be prepared in the obtained soy sauce:
s21, judging whether the salt content of the soy sauce is more than or less than the salt content of the new soy sauce to be prepared, if so, entering the step S22; if yes, go to step S23;
s22, adding salt into the soy sauce with the salt content less than that of the new soy sauce to be prepared, enabling the salt content of the soy sauce after the salt is added to be equal to that of the new soy sauce to be prepared, taking the soy sauce after the salt is added as the soy sauce for preparation, and calculating the amino acid nitrogen content of the soy sauce for preparation;
wherein the required added salt amount is as follows:
Figure BDA0001279354500000141
wherein S is the salt content of the new soy sauce to be prepared;
aithe amount of salt added to obtain the i-th soy sauce for blending, i.e. the amount a of salt added to the i-th soy sauce obtained in step S2iThen obtaining the ith soy sauce for blending;
b′ithe total amount of the i-th soy sauce obtained in step S2;
sithe salt content of the i-th soy sauce obtained in step S2;
wherein the calculated amino acid nitrogen content of the soy sauce for blending is as follows:
Figure BDA0001279354500000142
wherein n isiAmino acid nitrogen content of soy sauce for formulation of the ith species;
n′ithe amino acid nitrogen content of the ith soy sauce obtained in step S2;
s23, adding standard solution with the amino acid nitrogen content of 0 into the soy sauce with the salt content larger than that of the new soy sauce to be prepared, enabling the salt content of the soy sauce added with the standard solution to be equal to that of the new soy sauce to be prepared, taking the soy sauce added with the standard solution as the soy sauce for preparation, and calculating the amino acid nitrogen content of the soy sauce for preparation;
wherein the amount of the standard solution required to be added is as follows:
Figure BDA0001279354500000143
wherein S is the salt content of the new soy sauce to be prepared;
withe amount of the standard solution to be added for obtaining the ith soy sauce for blending, i.e. the amount of the ith soy sauce to be added obtained in step S2 is wiIs obtained after the standard solution ofThe ith soy sauce for blending;
b′ithe total amount of the i-th soy sauce obtained in step S2;
sithe salt content of the i-th soy sauce obtained in step S2;
wherein the calculated amino acid nitrogen content of the soy sauce for blending is as follows:
Figure BDA0001279354500000144
wherein n isiThe amino acid nitrogen content of the soy sauce for formulation i.
And simultaneously acquiring the content of amino acid nitrogen of the new soy sauce to be prepared, the content of salt of the new soy sauce to be prepared and the weight of various soy sauce for preparation when the new soy sauce is prepared.
S3, the amino acid nitrogen content of the soy sauce for blending, the weight required by the soy sauce for blending when new soy sauce is blended, the amino acid nitrogen content of the new soy sauce to be blended and the salt content of the new soy sauce to be blended which are obtained in the step S2 are used as the input of the soy sauce blending mathematical model in the step S1 to solve the soy sauce blending mathematical model, and the obtained solution result is the proportion of the occupied amount of the soy sauce for blending when the new soy sauce is blended.
In the step S3, the mathematical model for soy sauce blending is solved through an iterative algorithm to obtain the occupied weight ratio of the soy sauce for blending which needs to be mixed when new soy sauce is blended. In this embodiment, the iterative algorithm based on the sequential quadratic programming algorithm used in Matlab software is used to solve the mathematical model for soy sauce blending, and other iterative algorithms such as a genetic algorithm or a gradient descent algorithm may also be used. When the iterative algorithm based on the sequential quadratic programming algorithm adopted in Matlab software in this embodiment solves the mathematical model for soy sauce blending, the solving process is as shown in embodiment 1.
In this embodiment, when the mathematical model for soy sauce blending is solved by the iterative algorithm, the initial value of the occupied amount ratio of various soy sauce for blending required for blending new soy sauce is obtained by a cross method, and the specific process is as follows:
s31, comparing the amino acid nitrogen content of the soy sauce for blending with the amino acid nitrogen content of the new soy sauce to be blended respectively, and acquiring the total number of the soy sauce for blending with the amino acid nitrogen content higher than the new soy sauce to be blended and the total number of the soy sauce for blending with the amino acid nitrogen content lower than the new soy sauce to be blended; taking an absolute value after the difference value between the total number of the soy sauce with the amino acid nitrogen content higher than that of the new soy sauce to be prepared and the total number of the soy sauce with the amino acid nitrogen content lower than that of the new soy sauce to be prepared, wherein the absolute value is B, and B is an integer value;
s32, adding B soy sauce solutions: if the content of amino acid nitrogen is higher than the total number of the soy sauce for preparing the new soy sauce to be prepared and the content of the amino acid nitrogen is lower than the total number of the soy sauce for preparing the new soy sauce to be prepared, the content of the amino acid nitrogen in various soy sauce solutions in the B soy sauce solution and the content of the amino acid nitrogen in one soy sauce for preparing the new soy sauce to be prepared are the same; if the content of amino acid nitrogen is higher than the total number of the soy sauce for preparing the new soy sauce to be prepared and is less than the total number of the soy sauce for preparing the new soy sauce to be prepared, the content of amino acid nitrogen in various soy sauce solutions in the B soy sauce solution is the same as the content of amino acid nitrogen in one of the soy sauce for preparing the new soy sauce to be prepared;
s33, calculating the absolute value of the difference between the amino acid nitrogen content of the sauce for blending and the amino acid nitrogen content of the new sauce to be blended:
ci=|N-ni|,i=[1,num],i∈N;
wherein c isiThe absolute value of the difference value between the amino acid nitrogen content of the soy sauce for the ith kind of the soy sauce and the amino acid nitrogen content of the new soy sauce to be prepared; n is the content of amino acid nitrogen in the new soy sauce to be prepared, NiAmino acid nitrogen content of soy sauce for formulation of the ith species;
and simultaneously calculating the absolute value of the difference value between the amino acid nitrogen content of the B soy sauce solution added in the step S32 and the amino acid nitrogen content of the new soy sauce to be prepared:
cj=|N-nj|,j=[1,B],j∈N;
wherein c isjAdding the absolute value of the difference value between the amino acid nitrogen content of the jth soy sauce solution in the B soy sauce solutions and the amino acid nitrogen content of the new soy sauce to be prepared; n isjThe amino acid nitrogen content of the jth soy sauce solution in the B soy sauce solution added in the step S32;
s34 initial value of ratio of occupied amount of soy sauce for blending
Figure BDA0001279354500000161
Wherein
Figure BDA0001279354500000162
Namely the initial value of the occupied amount ratio of the ith soy sauce for blending required when the new soy sauce is blended.
For example, when preparing actual soy sauce, soy sauce with three amino acid nitrogen and salt content, the first soy sauce has p amino acid nitrogen content1Salt content of s1(ii) a The second soy sauce contains amino acid nitrogen p2Salt content of s2(ii) a The third soy sauce contains amino acid nitrogen p3Salt content of s3(ii) a Preparing new soy sauce with N content of amino acid nitrogen and S content of salt, wherein the weight of the three soy sauce respectively reaches k when preparing the new soy sauce1、k2And k3And the soy sauce stocks in each are sufficient.
For the new soy sauce to be prepared, when the method of example 1 is adopted for preparation, the soy sauce with three amino acid nitrogen and salt contents is respectively used as three soy sauce for preparation, the amino acid nitrogen and salt contents of the three soy sauce for preparation, the weight of the three soy sauce for preparation when the new soy sauce is prepared and the amino acid nitrogen and salt contents of the new soy sauce to be prepared are respectively used as the input of the mathematical model for preparing the soy sauce of example 1, and the proportion of the soy sauce amount required for preparing the new soy sauce is calculated by the mathematical model for preparing the soy sauce. WhereinNum in the soy sauce blending mathematical model is 3, n1、n2And n3Respectively correspond to p1、p2、p3
For the new soy sauce to be prepared, when the method of example 2 is adopted for preparation, the salt content s of the three soy sauce is required to be firstly prepared1、s2And s3And comparing the salt content S with the salt content S of the new soy sauce to be prepared, if the salt content S is equal to the salt content S of the new soy sauce to be prepared, directly using the soy sauce as the soy sauce for preparation, if the salt content S is not equal to the salt content S of the new soy sauce to be prepared, performing salt pretreatment to ensure that the salt content of the soy sauce after the salt pretreatment is equal to the salt content of the new soy sauce to be prepared, using the soy sauce subjected to salt pretreatment as the soy sauce for preparation, and calculating the amino. The amino acid nitrogen content of the obtained three kinds of soy sauce for blending, the weight required by the three kinds of soy sauce for blending when new soy sauce is blended, the amino acid nitrogen content of the new soy sauce to be blended and the salt content of the new soy sauce to be blended are used as the input of the soy sauce blending mathematical model in the embodiment 2, and the consumption proportion of the three kinds of soy sauce for blending required by the new soy sauce is calculated through the soy sauce blending mathematical model. Wherein the weight of the three kinds of soy sauce for blending is the weight of the three kinds of soy sauce for blending. Wherein num in the mathematical model for soy sauce blending is 3, and when the salt content of the existing soy sauce is equal to the salt content of the new soy sauce to be blended, the amino acid nitrogen content of the soy sauce for blending is the amino acid nitrogen content of the existing soy sauce; when the salt content of the existing soy sauce is equal to the salt content of the new soy sauce to be prepared, the amino acid nitrogen content of the soy sauce for preparation is the amino acid nitrogen content of the existing soy sauce after the salt content is pretreated.
The above embodiments are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and all such changes, modifications, substitutions, combinations, and simplifications are intended to be included in the scope of the present invention.

Claims (7)

1. An intelligent blending method of soy sauce components is characterized by comprising the following steps:
s1, constructing a soy sauce blending mathematical model, comprising the following steps:
s11, constructing an objective function of the soy sauce blending mathematical model: constructing a target function of a soy sauce blending mathematical model by taking the weight which is closest to the weight of various soy sauce for blending and corresponds to the occupied weight ratio of various soy sauce for blending when new soy sauce is blended; wherein the soy sauce for blending is soy sauce containing various amino acid nitrogen and salt contents;
s12, constructing constraint conditions of the soy sauce blending mathematical model, wherein the constraint conditions comprise:
the content of amino acid nitrogen of the mixed soy sauce for blending is equal to the content of amino acid nitrogen of the new soy sauce to be blended;
the salt content of the mixed soy sauce for blending is equal to the salt content of the new soy sauce to be blended;
the dosage of the mixed soy sauce for blending is less than or equal to the total stored amount;
s2, acquiring the amino acid nitrogen content and the salt content of the soy sauce for blending; simultaneously acquiring the content of amino acid nitrogen of the new soy sauce to be prepared and the content of salt of the new soy sauce to be prepared, and acquiring the weight of various soy sauce for preparation when the new soy sauce is prepared;
s3, taking the weight required by the various soy sauce for blending obtained in the step S2 when blending new soy sauce, the amino acid nitrogen content and the salt content in the various soy sauce for blending, the amino acid nitrogen content of the new soy sauce to be blended and the salt content of the new soy sauce to be blended as the input of the soy sauce blending mathematical model in the step S1 to solve the soy sauce blending mathematical model, and obtaining a solving result, namely the occupied quantity proportion of the various soy sauce for blending mixed when blending new soy sauce;
in the step S3, the soy sauce allocation mathematical model is solved through an iterative algorithm to obtain the occupation ratio of the soy sauce for allocation, which needs to be mixed when new soy sauce is allocated, the soy sauce allocation mathematical model is solved through the iterative algorithm based on the sequential quadratic programming algorithm, and the solving process includes three steps: (1) updating of the Hessian matrix of the lagrange function: in each main iteration process, calculating a quasi-Newton approximate matrix of a Hess matrix of the Lagrangian function by using a BFGS method; (2) solving a quadratic programming problem: the solving process is divided into two steps, wherein the step 1 involves calculation of feasible points (if existing), and the step 2 is an iteration sequence from the feasible points to the solution; in step 1, a feasible point is needed as an initial value, and if the current point is not feasible, a feasible point is obtained by solving a linear programming problem: (3) one-dimensional search and calculation of an objective function;
the objective function J of the mathematical model for soy sauce blending constructed in the step S11min(xi) Comprises the following steps:
Figure FDA0002889107490000021
wherein xiThe occupied weight proportion of the ith soy sauce for blending required when blending the new soy sauce is increased;
kiweight of the i th soy sauce for blending when blending the new soy sauce;
num is the total number of soy sauce for blending when new soy sauce is blended.
2. The intelligent soy sauce ingredient blending method as claimed in claim 1, wherein the constraint conditions of the mathematical soy sauce blending model in step S12 are:
Figure FDA0002889107490000022
Figure FDA0002889107490000023
0≤Mxi≤bi
n is the content of amino acid nitrogen of the new soy sauce to be prepared;
s is the salt content of the new soy sauce to be prepared;
m is the total amount of the new soy sauce to be prepared;
niamino acid nitrogen content of soy sauce for formulation of the ith species;
sithe salt content of the soy sauce for the ith preparation;
bithe total amount of the soy sauce for formulation of the i-th variety.
3. The intelligent soy sauce component blending method according to claim 1, wherein when the mathematical soy sauce blending model is solved through the iterative algorithm in step S3, the initial value of the proportion of the soy sauce occupied by each soy sauce for blending is obtained through a cross method, and the specific process is as follows:
s31, comparing the amino acid nitrogen content of the soy sauce for blending with the amino acid nitrogen content of the new soy sauce to be blended respectively, and acquiring the total number of the soy sauce for blending with the amino acid nitrogen content higher than the new soy sauce to be blended and the total number of the soy sauce for blending with the amino acid nitrogen content lower than the new soy sauce to be blended; taking an absolute value after the difference value between the total number of the soy sauce with the amino acid nitrogen content higher than the new soy sauce to be prepared and the total number of the soy sauce with the amino acid nitrogen content lower than the new soy sauce to be prepared is taken, wherein the absolute value is B;
s32, adding B soy sauce solutions: if the content of amino acid nitrogen is higher than the total number of the soy sauce for preparing the new soy sauce to be prepared and the content of the amino acid nitrogen is lower than the total number of the soy sauce for preparing the new soy sauce to be prepared, the content of the amino acid nitrogen in various soy sauce solutions in the B soy sauce solution and the content of the amino acid nitrogen in one soy sauce for preparing the new soy sauce to be prepared are the same; if the content of amino acid nitrogen is higher than the total number of the soy sauce for preparing the new soy sauce to be prepared and is less than the total number of the soy sauce for preparing the new soy sauce to be prepared, the content of amino acid nitrogen in various soy sauce solutions in the B soy sauce solution is the same as the content of amino acid nitrogen in one of the soy sauce for preparing the new soy sauce to be prepared;
s33, calculating the absolute value of the difference between the amino acid nitrogen content of the sauce for blending and the amino acid nitrogen content of the new sauce to be blended:
ci=|N-ni|,i=[1,num],i∈N;
wherein c isiThe absolute value of the difference value between the amino acid nitrogen content of the soy sauce for the ith kind of the soy sauce and the amino acid nitrogen content of the new soy sauce to be prepared; n is the content of amino acid nitrogen in the new soy sauce to be prepared, NiAmino acid nitrogen content of soy sauce for formulation of the ith species;
and simultaneously calculating the absolute value of the difference value between the amino acid nitrogen content of the B soy sauce solution added in the step S32 and the amino acid nitrogen content of the new soy sauce to be prepared:
cj=|N-nj|,j=[1,B],j∈N;
wherein c isjAdding the absolute value of the difference value between the amino acid nitrogen content of the jth soy sauce solution in the B soy sauce solutions and the amino acid nitrogen content of the new soy sauce to be prepared; n isjThe amino acid nitrogen content of the jth soy sauce solution in the B soy sauce solution added in the step S32;
s34, the initial value of the occupied weight ratio of various soy sauce for blending required when blending new soy sauce:
Figure FDA0002889107490000031
wherein
Figure FDA0002889107490000032
Namely the initial value of the occupied amount ratio of the ith soy sauce for blending required when the new soy sauce is blended.
4. An intelligent blending method of soy sauce components is characterized by comprising the following steps:
s1, constructing a soy sauce blending mathematical model, comprising the following steps:
s11, constructing an objective function of the soy sauce blending mathematical model: constructing a target function of a soy sauce blending mathematical model by taking the weight which is closest to the weight of various soy sauce for blending and corresponds to the occupied weight ratio of various soy sauce for blending when new soy sauce is blended; wherein the various soy sauce for blending refers to soy sauce for blending with various amino acid nitrogen and salt content, and the various soy sauce for blending is soy sauce which is not pretreated by salt amount or soy sauce which is pretreated by salt amount;
s12, constructing constraint conditions of the soy sauce blending mathematical model, wherein the constraint conditions comprise:
the content of amino acid nitrogen of the mixed soy sauce for blending is equal to the content of amino acid nitrogen of the new soy sauce to be blended;
the dosage of the mixed soy sauce for blending is less than or equal to the total stored amount;
s2, obtaining various soy sauce, wherein the various soy sauce refers to soy sauce with various amino acid nitrogen and salt contents, and obtaining various soy sauce for blending through the obtained various soy sauce, specifically: aiming at each obtained soy sauce, firstly, comparing the salinity content of the soy sauce with the salinity content of a new soy sauce to be prepared, if the salinity content of the soy sauce is equal to the salinity content of the new soy sauce to be prepared, not performing salt pretreatment on the soy sauce, directly using the soy sauce without salt pretreatment as the soy sauce for preparation, and simultaneously calculating the amino acid nitrogen content of the soy sauce for preparation; if the two are not equal, performing salinity pretreatment on the soy sauce to ensure that the salinity content after the salinity pretreatment is equal to the salinity content of the new soy sauce to be prepared, taking the soy sauce subjected to salinity pretreatment as the soy sauce for preparation, and simultaneously calculating the amino acid nitrogen content of the soy sauce for preparation;
simultaneously acquiring the content of amino acid nitrogen of the new soy sauce to be prepared, the content of salt of the new soy sauce to be prepared and the weight of various soy sauce for preparation when the new soy sauce is prepared;
s3, solving the soy sauce blending mathematical model by taking the amino acid nitrogen content of the soy sauce for blending, the weight required by the soy sauce for blending when new soy sauce is blended, the amino acid nitrogen content of the new soy sauce to be blended and the salt content of the new soy sauce to be blended, which are obtained in the step S2, as the input of the soy sauce blending mathematical model in the step S1, and obtaining a solving result, namely the occupied proportion of the soy sauce for blending when new soy sauce is blended;
in the step S3, the soy sauce allocation mathematical model is solved through an iterative algorithm to obtain the occupation ratio of the soy sauce for allocation, which needs to be mixed when new soy sauce is allocated, the soy sauce allocation mathematical model is solved through the iterative algorithm based on the sequential quadratic programming algorithm, and the solving process includes three steps: (1) updating of the Hessian matrix of the lagrange function: in each main iteration process, calculating a quasi-Newton approximate matrix of a Hess matrix of the Lagrangian function by using a BFGS method; (2) solving a quadratic programming problem: the solving process is divided into two steps, wherein the step 1 involves calculation of feasible points (if existing), and the step 2 is an iteration sequence from the feasible points to the solution; in step 1, a feasible point is needed as an initial value, and if the current point is not feasible, a feasible point is obtained by solving a linear programming problem: (3) one-dimensional search and calculation of an objective function;
the objective function J of the mathematical model for soy sauce blending constructed in the step S11min(xi) Comprises the following steps:
Figure FDA0002889107490000041
wherein xiThe occupied weight proportion of the ith soy sauce for blending after the pretreatment of salinity is needed when the new soy sauce is blended;
kiweight of the i th soy sauce for blending when blending the new soy sauce;
num is the total number of soy sauce for blending when new soy sauce is blended.
5. The intelligent soy sauce ingredient mixing method according to claim 4,
the constraint conditions of the soy sauce blending mathematical model in the step S12 are as follows:
Figure FDA0002889107490000042
0≤Mxi≤bi(ii) a N is the content of amino acid nitrogen of the new soy sauce to be prepared;
s is the salt content of the new soy sauce to be prepared;
m is the total amount of the new soy sauce to be prepared;
niamino acid nitrogen content of soy sauce for formulation of the ith species;
bithe total amount of the soy sauce for formulation of the i-th variety.
6. The intelligent soy sauce ingredient blending method according to claim 4, wherein in step S2, the salt content of each obtained soy sauce is compared with the salt content of the new soy sauce to be blended, and if the salt content of the obtained soy sauce is not equal to the salt content of the new soy sauce to be blended, the soy sauce is pre-treated with the following salt content:
s21, judging whether the salt content of the soy sauce is more than or less than the salt content of the new soy sauce to be prepared, if so, entering the step S22; if yes, go to step S23;
s22, adding salt into the soy sauce with the salt content less than that of the new soy sauce to be prepared, enabling the salt content of the soy sauce after the salt is added to be equal to that of the new soy sauce to be prepared, taking the soy sauce after the salt is added as the soy sauce for preparation, and calculating the amino acid nitrogen content of the soy sauce for preparation;
wherein the required added salt amount is as follows:
Figure FDA0002889107490000051
wherein S is the salt content of the new soy sauce to be prepared;
aithe amount of salt added to obtain the i-th soy sauce for blending, i.e. the amount a of salt added to the i-th soy sauce obtained in step S2iThen obtaining the ith soy sauce for blending;
b′ithe total amount of the i-th soy sauce obtained in step S2;
sithe salt content of the i-th soy sauce obtained in step S2;
wherein the calculated amino acid nitrogen content of the soy sauce for blending is as follows:
Figure FDA0002889107490000052
wherein n isiAmino acid nitrogen content of soy sauce for formulation of the ith species;
n′ithe amino acid nitrogen content of the ith soy sauce obtained in step S2;
s23, adding standard solution with the amino acid nitrogen content of 0 into the soy sauce with the salt content larger than that of the new soy sauce to be prepared, enabling the salt content of the soy sauce added with the standard solution to be equal to that of the new soy sauce to be prepared, taking the soy sauce added with the standard solution as the soy sauce for preparation, and calculating the amino acid nitrogen content of the soy sauce for preparation;
wherein the amount of the standard solution required to be added is as follows:
Figure FDA0002889107490000061
wherein S is the salt content of the new soy sauce to be prepared;
withe amount of the standard solution to be added for obtaining the ith soy sauce for blending, i.e. the amount of the ith soy sauce to be added obtained in step S2 is wiObtaining the ith soy sauce for blending after the standard solution is obtained;
b′ithe total amount of the i-th soy sauce obtained in step S2;
sithe salt content of the i-th soy sauce obtained in step S2;
wherein the calculated amino acid nitrogen content of the soy sauce for blending is as follows:
Figure FDA0002889107490000062
wherein n isiAmino acid nitrogen content of soy sauce for formulation of the ith species;
n′ithe content of amino acid nitrogen in the i-th soy sauce obtained in step S2.
7. The intelligent soy sauce component blending method according to claim 4, wherein when the mathematical soy sauce blending model is solved through the iterative algorithm in step S3, the initial value of the occupied amount ratio of each soy sauce for blending required in the blending of new soy sauce is obtained through a cross method, and the specific process is as follows:
s31, comparing the amino acid nitrogen content of the soy sauce for blending with the amino acid nitrogen content of the new soy sauce to be blended respectively, and acquiring the total number of the soy sauce for blending with the amino acid nitrogen content higher than the new soy sauce to be blended and the total number of the soy sauce for blending with the amino acid nitrogen content lower than the new soy sauce to be blended; taking an absolute value after the difference value between the total number of the soy sauce with the amino acid nitrogen content higher than the new soy sauce to be prepared and the total number of the soy sauce with the amino acid nitrogen content lower than the new soy sauce to be prepared is taken, wherein the absolute value is B;
s32, adding B soy sauce solutions: if the content of amino acid nitrogen is higher than the total number of the soy sauce for preparing the new soy sauce to be prepared and the content of the amino acid nitrogen is lower than the total number of the soy sauce for preparing the new soy sauce to be prepared, the content of the amino acid nitrogen in various soy sauce solutions in the B soy sauce solution and the content of the amino acid nitrogen in one soy sauce for preparing the new soy sauce to be prepared are the same; if the content of amino acid nitrogen is higher than the total number of the soy sauce for preparing the new soy sauce to be prepared and is less than the total number of the soy sauce for preparing the new soy sauce to be prepared, the content of amino acid nitrogen in various soy sauce solutions in the B soy sauce solution is the same as the content of amino acid nitrogen in one of the soy sauce for preparing the new soy sauce to be prepared;
s33, calculating the absolute value of the difference between the amino acid nitrogen content of the sauce for blending and the amino acid nitrogen content of the new sauce to be blended:
ci=|N-ni|,i=[1,num],i∈N;
wherein c isiThe absolute value of the difference value between the amino acid nitrogen content of the soy sauce for the ith kind of the soy sauce and the amino acid nitrogen content of the new soy sauce to be prepared; n is amino of new soy sauce to be preparedContent of acid nitrogen, niAmino acid nitrogen content of soy sauce for formulation of the ith species;
and simultaneously calculating the absolute value of the difference value between the amino acid nitrogen content of the B soy sauce solution added in the step S32 and the amino acid nitrogen content of the new soy sauce to be prepared:
cj=|N-nj|,j=[1,B],j∈N;
wherein c isjAdding the absolute value of the difference value between the amino acid nitrogen content of the jth soy sauce solution in the B soy sauce solutions and the amino acid nitrogen content of the new soy sauce to be prepared; n isjThe amino acid nitrogen content of the jth soy sauce solution in the B soy sauce solution added in the step S32;
s34, mixing the new soy sauce, wherein the initial value of the occupied weight ratio of the various soy sauce for blending needs to be mixed:
Figure FDA0002889107490000071
wherein
Figure FDA0002889107490000072
Namely the initial value of the occupied amount ratio of the ith soy sauce for blending required when the new soy sauce is blended.
CN201710280474.XA 2017-04-26 2017-04-26 Intelligent blending method of soy sauce components Active CN107156780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710280474.XA CN107156780B (en) 2017-04-26 2017-04-26 Intelligent blending method of soy sauce components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710280474.XA CN107156780B (en) 2017-04-26 2017-04-26 Intelligent blending method of soy sauce components

Publications (2)

Publication Number Publication Date
CN107156780A CN107156780A (en) 2017-09-15
CN107156780B true CN107156780B (en) 2021-05-04

Family

ID=59813424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710280474.XA Active CN107156780B (en) 2017-04-26 2017-04-26 Intelligent blending method of soy sauce components

Country Status (1)

Country Link
CN (1) CN107156780B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108185393A (en) * 2018-02-12 2018-06-22 李锦记(新会)食品有限公司 A kind of soy sauce ammonia nitrogen value mixing system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
酱油配制的几种方法;李存新;《中国调味品》;19911231(第9期);第20-21页,尤其是第20页右栏 *

Also Published As

Publication number Publication date
CN107156780A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN101414183B (en) Cigarette working procedure quality overall evaluation system and method based on gray correlation analysis
CN102816577B (en) Coal-rock blending method suitable for tamping coking
Zhang et al. Understanding rural restructuring in China: The impact of changes in labor and capital productivity on domestic agricultural production and trade
CN103810648B (en) Based on region and season water resource cycle product industry water footprints accounting method
CN107156780B (en) Intelligent blending method of soy sauce components
CN104164246B (en) The Coal Blending Expert System of a kind of applicable top dress coke oven
CN106406099A (en) Fuzzy matching and ratio value feedback based cement batching system and method
WO2024036959A1 (en) Carbon emission control method and apparatus considering full life cycle of battery
KR20210144862A (en) Method of Calculation of Blending Effect Parameters of Crude Oil Blending
CN109711031A (en) A kind of neural network method of quick determining mix parameters of high-strength self-compacting concrete
CN104102821B (en) The method for setting up bottle coal coal property evaluation model
CN116993102A (en) MIM forming process
CN111985808B (en) Method and device for matching movable row tables
Li et al. Grey-incidence clustering decision-making method with three-parameter interval grey number based on regret theory
CN110728467A (en) Method for evaluating matching capability of water resources and national economy
CN111077288B (en) Distillation range calculation method for oil product online blending
Ferreira et al. The Insertion of Brazilian industry in global value added chains
CN112183604B (en) Electric energy metering device type selection method and system based on decision tree
Detzel et al. Deliverable 5.1
CN104834979B (en) Leader row group method and system
Zhang et al. Research on development characteristics and brand spillover effects of agricultural product regional brands in China.
Zhang et al. Research on the spatio-temporal coupling relationship between agricultural green development efficiency and food security system in China
CN107203650A (en) General Load Combination implementation method
Babenko et al. Development of agribusiness of Ukraine: an innovative aspect
UDAH et al. Performance Evaluation of Various Policy Regimes Toward Agricultural Growth in Nigeria

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
GR01 Patent grant
GR01 Patent grant