A temperature control system and method for liquor koji room based on fuzzy PID
Through the fuzzy PID-based liquor koji room temperature control system, combined with fuzzy PID control and machine learning optimization target curve, the problem of poor temperature control accuracy in traditional koji making is solved, efficient and stable koji production is achieved, and the seasonal changes are reduced. Sexual environment dependence and worker labor intensity.
Patent Information
- Application Number
- CN202010960879.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-14
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-09-14
AI Technical Summary
In the traditional koji making process, the temperature control accuracy of the liquor koji room is poor, resulting in unstable koji quality. Affected by seasonal environmental factors, the labor intensity of workers is high, and production is limited by climatic conditions, making it difficult to achieve efficient and high-quality koji. Production.
The temperature control system and method of liquor koji room based on fuzzy PID is adopted, combined with PLC control module, execution module, data processing module and data acquisition module, and the target curve is optimized through fuzzy PID control algorithm and machine learning to achieve automatic temperature control, combined with fans, Humidifier and heater to adjust the ambient temperature of the music room in real time.
It improves the uniformity and quality of koji production, reduces dependence on the seasonal environment, reduces worker labor intensity, realizes an efficient and replicable koji cultivation control system, and ensures data stability and utilization.
Smart Images

Figure CN111948936B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of temperature control in a liquor koji room, and in particular relates to a liquor koji room temperature control system and method based on fuzzy PID. Background Art
[0002] In recent years, my country's liquor industry has made great progress, and liquor consumption has achieved rapid growth. With the continuous improvement of people's living standards, the market demand for high-quality liquor has increased accordingly. Jiuqu is a saccharification and fermentation agent commonly used in the production of Luzhou-flavor and Maotai-flavor liquors, and its quality is one of the decisive factors for the quality of the finished liquor. The entire Jiuqu training cycle is nearly one month. Due to the influence of factors such as raw materials, equipment, climate and manual operation differences, the fermentation temperature rise rate at each stage is different from the product temperature. It is necessary to manually carry out multiple temperature and humidity measurements every day, conduct multiple manual room assembly and stacking in time, increase the stacking height of the koji blocks, reduce the distance between the koji blocks, cover the straw curtains and close the doors and windows to increase the temperature and humidity, or remove the straw curtains and open the doors and windows to lower the temperature and humidity, so that the effective control of the actual production temperature during the entire Jiuqu training process cannot be guaranteed.
[0003] The traditional koji making process has poor control precision. The quality of koji blocks produced in the same koji room varies, and stability is difficult to guarantee. In addition, koji block production is also largely constrained by seasonal environmental factors. In the summer, koji block production is generally stopped due to high temperatures. In addition, the koji room has high ambient temperature, high humidity, many koji insects and dust, and a relatively poor manual working environment, which results in excessive labor intensity for workers. Summary of the invention
[0004] The purpose of the invention is to solve the problem of temperature control in a liquor koji room, and a liquor koji room temperature control system and method based on fuzzy PID is proposed.
[0005] The technical solution of the present invention is: a liquor koji room temperature control system based on fuzzy PID comprises a PLC control module, an execution module, a data processing module and a data acquisition module; the execution module, the data processing module and the data acquisition module are all connected to the PLC control module in communication;
[0006] The PLC control module includes a PLC controller and an industrial touch screen; the PLC controller and the industrial touch screen are connected in communication;
[0007] The execution module includes a fan, an alarm, an external circulation switch valve, a humidifier and a heater; the fan, the alarm, the external circulation switch valve, the humidifier and the heater are all connected to the PLC controller for communication;
[0008] The data processing module includes an industrial computer and a data storage server; the industrial computer and the data storage server are both connected to the PLC controller in communication; the industrial computer and the data storage server are connected in communication;
[0009] The data acquisition module includes a wall-mounted temperature and humidity transmitter and an inserted temperature transmitter; both the wall-mounted temperature and humidity transmitter and the inserted temperature transmitter are communicatively connected with the PLC controller.
[0010] The beneficial effects of the present invention are as follows: the present invention quantifies the original empirical data through the wall-mounted temperature and humidity transmitter, the plug-in temperature transmitter and the quality grading of the final product, realizes industrial automation control, thereby ensuring the stability of the data and the timeliness of the collection, thereby improving the utilization rate of the data. The industrial touch screen mainly realizes the functions of data display of the Qu room cultivation process, historical cultivation cycle data query and the cultivation link where the current Qu cultivation is located, and can also manually operate the Qu cultivation link through actual experience, realizing a new Qu cultivation operation mode combining automatic and manual operation.
[0011] Based on the above system, the present invention also proposes a liquor koji room temperature control method based on fuzzy PID, comprising the following steps:
[0012] S1: Use the data acquisition module to collect the cultivation data of the last round of Qufang cultivation cycle and perform physical and chemical analysis;
[0013] S2: Screen the tea data that meet the acceptable parameter standards after physical and chemical analysis, and conduct grade assessment;
[0014] S3: Input the grade assessment results into the industrial computer and fit them to form a target curve for training;
[0015] S4: using the data acquisition module to collect the actual koji cultivation temperature of this round of koji cultivation cycle, and setting the target koji cultivation temperature according to the koji cultivation target curve;
[0016] S5: Input the actual brewing temperature and the target brewing temperature into the PLC controller, and calculate the temperature error and the temperature error change rate;
[0017] S6: taking the temperature error and the temperature error change rate as input parameters of the PID control, and outputting the correction parameters of the PID control;
[0018] S7: Use the PID controller to convert the correction parameters of the PID control into switch signals, control the industrial touch screen and the execution module, and complete the temperature control of the liquor koji room.
[0019] The beneficial effects of the present invention are:
[0020] (1) The present invention utilizes a combination of machine learning and fuzzy PID control to continuously optimize the target temperature curve and PID control results, thereby making the entire control process more accurate and efficient, the uniformity of the finished koji produced is higher, the cultivation accuracy of the koji cultivation link and the quality of the finished koji blocks are higher, thereby solving the problem that the koji production cannot produce koji blocks efficiently and with high quality due to seasonal and experience factors.
[0021] (2) The present invention continuously optimizes the control process and, under the premise of ensuring product quality, continuously optimizes the product production process, thereby quantifying the experience-based yeast cultivation and forming an effective and replicable yeast cultivation control system.
[0022] (3) The present invention effectively realizes that the production of curved blocks is not affected by seasonal temperature and humidity environmental conditions, delays the production time of curved blocks, improves the production quality and uniformity of curved blocks, improves the manual working environment, reduces the labor intensity of workers, and improves the utilization rate of data.
[0023] Furthermore, step S1 includes the following sub-steps:
[0024] S11: using the data acquisition module to collect the cultivation data of the last round of cultivation cycle of the koji room, and receiving it using the PLC controller;
[0025] S12: using the data processing module, the PLC controller receives the data and saves it in the MySQL database of the data storage server periodically;
[0026] S13: Based on the koji preparation data in the MySQL database, the physical and chemical analysis is completed by using the block physical and chemical analysis of the white wine koji colony content in the koji preparation data in each koji room and the proportion of finished koji blocks in each koji room.
[0027] The beneficial effect of the above further scheme is: in the present invention, the data acquisition module uses RS485 data transmission to receive the temperature of the room environment and the internal temperature of the block collected by the wall-mounted temperature and humidity transmitter and the plug-in temperature transmitter. The multi-channel temperature and humidity transmitter data acquisition is connected in the form of an industrial bus, and the communication module of the PLC control module realizes segmented real-time data acquisition in a polling manner, and then saves it to the data storage server through the PLC control module.
[0028] Further, in step S2, if the content of the white wine koji colony is higher than 70%, the koji cultivation data of the inter-koji room meets the acceptable parameter standard, otherwise the koji cultivation data of the inter-koji room is deleted;
[0029] In step S2, the method of grade assessment is: converting the proportion of finished koji blocks in each koji room into a grade assessment value within the range of 1-100.
[0030] Furthermore, step S3 includes the following sub-steps:
[0031] S31: According to the grading results, the data of the curves that meet the desirable parameter standards are fitted to form a curve y in a weighted manner. i ;
[0032] S32: According to curve y i and the grade assessment value, and calculate the target surface y in a weighted manner. The calculation formula is:
[0033]
[0034] Among them, y i represents the fitting curve of the Peiqu data that meets the desirable parameter standards, g i Indicates the grade rating value of the music room.
[0035] The beneficial effect of the above further scheme is: in the present invention, the effective koji block cultivation temperature parameters are input into the machine learning algorithm in the industrial computer using the rating results, and the target curve of optimizing the koji cultivation process is realized through the operation of the machine learning algorithm.
[0036] Furthermore, in step S4, the method for setting the target Qu cultivation temperature is: determining the actual Qu cultivation temperature collection time point of this round of Qu room cultivation cycle, and taking the temperature value corresponding to the Qu cultivation target curve at the same time point as the target Qu cultivation temperature.
[0037] Furthermore, step S5 includes the following sub-steps:
[0038] S51: Input the actual brewing temperature and the target brewing temperature into the PLC controller, and calculate the temperature error e, the calculation formula is:
[0039] e=Gt-At
[0040] Wherein, Gt represents the target brewing temperature, and At represents the actual brewing temperature;
[0041] S52: Calculate the error change rate ec according to the temperature error e, and the calculation formula is:
[0042]
[0043] Wherein, Δt represents the time interval.
[0044] The beneficial effect of the above further solution is that in the present invention, the calculated temperature error and temperature error rate are used as input parameters to facilitate fuzzy logic correction processing in subsequent steps.
[0045] Furthermore, step S6 includes the following sub-steps:
[0046] S61: Determine whether to perform fuzzy logic correction according to the temperature error;
[0047] S62: The temperature error and the temperature error change rate that need to be corrected by fuzzy logic are used as input parameters of PID control, and the correction parameters of the output PID control are corrected by fuzzy logic.
[0048] The beneficial effect of the above further solution is: in the present invention, the execution module can be controlled by modifying the PID algorithm, thereby increasing or decreasing the ambient temperature value and improving the control speed of the overall control process.
[0049] Further, in step S61, if the temperature error is less than or equal to 0.1°C and greater than or equal to -0.1°C, no fuzzy logic correction is required; if the temperature error is greater than 0.1°C, it is used as an input parameter for fuzzy logic correction; if the temperature error is less than -0.1°C, it is used as an input parameter for fuzzy logic correction;
[0050] In step S62, the correction parameters of PID control include the proportional control correction value K p , differential control correction value K d and integral control correction value K i , and its calculation formula is:
[0051] K p =K p0 +ΔK p
[0052] K d =K d0 +ΔK d
[0053] K i =K i0 +ΔK i
[0054] Among them, K p0 Indicates the initial value of proportional control, ΔK p Indicates the proportional control correction amount, K d0 Denotes the initial value of differential control, ΔK d Denotes the differential control correction, K i0 Indicates the initial value of integral control, ΔK i Indicates the integral control correction amount.
[0055] The beneficial effect of the above further scheme is: in the present invention, if the temperature error is less than or equal to 0.1°C and greater than or equal to -0.1°C, the PLC controller does not perform any operation on all execution devices; for temperature errors that require fuzzy logic correction, the PID algorithm operation is performed to facilitate more accurate control of the temperature of the entire production environment. For all the cultivation processes of the block, each cultivation cycle is subjected to fuzzy logic processing in the early, middle and late time periods to obtain the three parameters required by the PID algorithm, and all execution modules are controlled by modifying the PID algorithm.
[0056] Furthermore, in step S7, after the correction parameters of the PID control are converted into switching signals using the PID controller, the temperature of the qufang cultivation process is displayed through the industrial touch screen. If the temperature error is less than or equal to 0.1°C and greater than or equal to -0.1°C, the execution module does not work; if the temperature error is greater than 0.1°C, the control fan and heater of the execution module are turned on; if the temperature error is less than -0.1°C, the fan and external circulation switch valve of the execution module are both turned on.
[0057] The beneficial effect of the above further scheme is: in the present invention, all the execution devices are connected to the output points of the PLC control module through contactors, and the corresponding analog results are output through processing and calculation of the PLC control module, so as to control the operation of the execution devices and realize more accurate and efficient temperature control of the entire control process to meet the temperature requirements of the block cultivation.
[0058] When the temperature error is greater than 0.1°C, it indicates that the actual production temperature is too low. The output switch signal controls the fan and heater to turn on. The function of the fan is to increase the convection speed of the ambient temperature, thereby increasing the control speed of the overall control process.
[0059] When the temperature of the koji room is less than -0.1℃, it means that the actual production environment temperature is too high. The output switch signal controls the fan and the external circulation switch valve to open, thereby quickly reducing the temperature value of the actual production environment. During operation, the PLC control module will receive the temperature data transmitted by the data acquisition module at equal time intervals, and then transmit it to the data storage server and industrial touch screen as the data for the next round of machine learning. Through continuous optimization of the target temperature curve, the entire production process is more in line with the ideal requirements for koji cultivation, thereby improving the production quality of the product, and also making the koji cultivation process quantified and the control process replicable. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 This is the structural diagram of the temperature control system of the liquor koji room;
[0061] Figure 2 It is a flow chart of the temperature control method of liquor koji room;
[0062] In the figure, 1. PLC control module; 1-1. PLC controller; 1-2. Industrial touch screen; 2. Execution module; 2-1. Fan; 2-2. Alarm; 2-3. External circulation switch valve; 2-4. Humidifier; 2-5. Heater; 3. Data processing module; 3-1. Industrial computer; 3-2. Data storage server; 4. Data acquisition module; 4-1. Wall-mounted temperature and humidity transmitter; 4-2. Plug-in temperature transmitter. DETAILED DESCRIPTION
[0063] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0064] like Figure 1 As shown, the present invention provides a liquor koji room temperature control system based on fuzzy PID, comprising a PLC control module 1, an execution module 2, a data processing module 3 and a data acquisition module 4; the execution module 2, the data processing module 3 and the data acquisition module 4 are all connected to the PLC control module 1 for communication;
[0065] The PLC control module 1 includes a PLC controller 1-1 and an industrial touch screen 1-2; the PLC controller 1-1 and the industrial touch screen 1-2 are in communication connection;
[0066] The execution module 2 includes a fan 2-1, an alarm 2-2, an external circulation switch valve 2-3, a humidifier 2-4 and a heater 2-5; the fan 2-1, the alarm 2-2, the external circulation switch valve 2-3, the humidifier 2-4 and the heater 2-5 are all connected to the PLC controller 1-1 for communication;
[0067] The data processing module 3 includes an industrial computer 3-1 and a data storage server 3-2; the industrial computer 3-1 and the data storage server 3-2 are both connected to the PLC controller 1-1 for communication; the industrial computer 3-1 and the data storage server 3-2 are connected to the PLC controller 1-1 for communication;
[0068] The data acquisition module 4 includes a wall-mounted temperature and humidity transmitter 4-1 and an inserted temperature transmitter 4-2; both the wall-mounted temperature and humidity transmitter 4-1 and the inserted temperature transmitter 4-2 are communicatively connected to the PLC controller 1-1.
[0069] In the embodiment of the present invention, the main controller model of the PLC controller 1-1 is 6ES7 214-1BG40-0XB0PLC of Siemens S7-1200; the model of the industrial touch screen 1-2 is TPC1061TD Kunlun touch screen; the model of the fan 2-1 is BAFG-300; the model of the alarm 2-2 is LTE-1101J; the model of the external circulation switch valve 2-3 is DF-AI air valve controller; the model of the humidifier 2-4 is WL-PTC-016; the model of the heater 2-5 is DRS-03A; the model of the industrial computer 3-1 is IPC-610L; the model of the wall-mounted temperature and humidity transmitter 4-1 is Dow Weston DE-130-A-M4-A; the model of the plug-in temperature transmitter 4-2 is Dow Weston TA-200S / RS485.
[0070] Based on the above system, the present invention also proposes a liquor koji room temperature control method based on fuzzy PID, such as Figure 2 As shown, the following steps are included:
[0071] S1: Use the data acquisition module to collect the cultivation data of the last round of Qufang cultivation cycle and perform physical and chemical analysis;
[0072] S2: Screen the tea data that meet the acceptable parameter standards after physical and chemical analysis, and conduct grade assessment;
[0073] S3: Input the grade assessment results into the industrial computer and fit them to form a target curve for training;
[0074] S4: using the data acquisition module to collect the actual koji cultivation temperature of this round of koji cultivation cycle, and setting the target koji cultivation temperature according to the koji cultivation target curve;
[0075] S5: Input the actual brewing temperature and the target brewing temperature into the PLC controller, and calculate the temperature error and the temperature error change rate;
[0076] S6: taking the temperature error and the temperature error change rate as input parameters of the PID control, and outputting the correction parameters of the PID control;
[0077] S7: Use the PID controller to convert the correction parameters of the PID control into switch signals, control the industrial touch screen and the execution module, and complete the temperature control of the liquor koji room.
[0078] In the embodiment of the present invention, Figure 2 As shown, step S1 includes the following sub-steps:
[0079] S11: using the data acquisition module to collect the cultivation data of the last round of cultivation cycle of the koji room, and receiving it using the PLC controller;
[0080] S12: using the data processing module, the PLC controller receives the data and saves it in the MySQL database of the data storage server periodically;
[0081] S13: Based on the koji preparation data in the MySQL database, the physical and chemical analysis is completed by using the block physical and chemical analysis of the white wine koji colony content in the koji preparation data in each koji room and the proportion of finished koji blocks in each koji room.
[0082] In the present invention, the data acquisition module uses RS485 data transmission to receive the temperature of the room environment and the internal temperature of the block collected by the wall-mounted temperature and humidity transmitter and the plug-in temperature transmitter. The multi-channel temperature and humidity transmitter data acquisition is connected in the form of an industrial bus, and the communication module of the PLC control module realizes segmented real-time data acquisition in a polling manner, and then saves it to the data storage server through the PLC control module.
[0083] In the embodiment of the present invention, Figure 2 As shown, in step S2, if the content of the white wine koji colony is higher than 70%, the koji cultivation data of the inter-koji room meets the acceptable parameter standard, otherwise the koji cultivation data of the inter-koji room is deleted;
[0084] In step S2, the method of grade assessment is: converting the proportion of finished koji blocks in each koji room into a grade assessment value within the range of 1-100.
[0085] In the embodiment of the present invention, Figure 2 As shown, step S3 includes the following sub-steps:
[0086] S31: According to the grading results, the data of the curves that meet the desirable parameter standards are fitted to form a curve y in a weighted manner. i ;
[0087] S32: According to curve y i and the grade assessment value, and calculate the target surface y in a weighted manner. The calculation formula is:
[0088]
[0089] Among them, y i represents the fitting curve of the Peiqu data that meets the desirable parameter standards, g i Indicates the grade rating value of the music room.
[0090] In the present invention, the effective koji block cultivation temperature parameters are input into the machine learning algorithm in the industrial computer using the rating results, and the target curve for optimizing the koji cultivation process is realized through the operation of the machine learning algorithm.
[0091] In the embodiment of the present invention, Figure 2As shown, in step S4, the method for setting the target Qu cultivation temperature is: determining the actual Qu cultivation temperature collection time point of this round of Qu room cultivation cycle, and taking the temperature value corresponding to the Qu cultivation target curve at the same time point as the target Qu cultivation temperature.
[0092] In the embodiment of the present invention, Figure 2 As shown, step S5 includes the following sub-steps:
[0093] S51: Input the actual brewing temperature and the target brewing temperature into the PLC controller, and calculate the temperature error e, the calculation formula is:
[0094] e=Gt-At
[0095] Wherein, Gt represents the target brewing temperature, and At represents the actual brewing temperature;
[0096] S52: Calculate the error change rate ec according to the temperature error e, and the calculation formula is:
[0097]
[0098] Wherein, Δt represents the time interval.
[0099] In the present invention, the calculated temperature error and temperature error rate are used as input parameters to facilitate fuzzy logic correction processing in subsequent steps.
[0100] In the embodiment of the present invention, Figure 2 As shown, step S6 includes the following sub-steps:
[0101] S61: Determine whether to perform fuzzy logic correction according to the temperature error;
[0102] S62: The temperature error and the temperature error change rate that need to be corrected by fuzzy logic are used as input parameters of PID control, and the correction parameters of the output PID control are corrected by fuzzy logic.
[0103] In the present invention, the execution module can be controlled by modifying the PID algorithm, thereby increasing or decreasing the ambient temperature value and improving the control speed of the overall control process.
[0104] In the embodiment of the present invention, Figure 2 As shown, in step S61, if the temperature error is less than or equal to 0.1°C and greater than or equal to -0.1°C, no fuzzy logic correction is required; if the temperature error is greater than 0.1°C, it is used as an input parameter for fuzzy logic correction; if the temperature error is less than -0.1°C, it is used as an input parameter for fuzzy logic correction;
[0105] In step S62, the correction parameters of PID control include the proportional control correction value K p, differential control correction value K d and integral control correction value K i , and its calculation formula is:
[0106] K p =K p0 +ΔK p
[0107] K d =K d0 +ΔK d
[0108] K i =K i0 +ΔK i
[0109] Among them, K p0 Indicates the initial value of proportional control, ΔK p Indicates the proportional control correction amount, K d0 Denotes the initial value of differential control, ΔK d Denotes the differential control correction, K i0 Indicates the initial value of integral control, ΔK i Indicates the integral control correction amount.
[0110] In the present invention, if the temperature error is less than or equal to 0.1°C and greater than or equal to -0.1°C, the PLC controller does not perform any operation on all execution devices; for temperature errors that require fuzzy logic correction, the PID algorithm is operated to more accurately control the temperature of the entire production environment. For all the cultivation processes of the blocks, fuzzy logic processing is performed in the early, middle and late time periods of each cultivation cycle to obtain the three parameters required by the PID algorithm, and all execution modules are controlled by modifying the PID algorithm.
[0111] In the embodiment of the present invention, Figure 2 As shown, in step S7, after the PID controller is used to convert the correction parameters of the PID control into switching signals, the temperature of the qufang cultivation process is displayed through the industrial touch screen. If the temperature error is less than or equal to 0.1°C and greater than or equal to -0.1°C, the execution module does not work; if the temperature error is greater than 0.1°C, the control fan and heater of the execution module are turned on; if the temperature error is less than -0.1°C, the fan and external circulation switch valve of the execution module are turned on.
[0112] In the present invention, all execution devices are connected to the output points of the PLC control module through contactors. The corresponding analog results are output through processing and calculation of the PLC control module, thereby controlling the operation of the execution devices and achieving more accurate and efficient temperature control in the entire control process to meet the temperature requirements for block cultivation.
[0113] When the temperature error is greater than 0.1°C, it indicates that the actual production temperature is too low. The output switch signal controls the fan and heater to turn on. The function of the fan is to increase the convection speed of the ambient temperature, thereby increasing the control speed of the overall control process.
[0114] When the temperature of the koji room is less than -0.1℃, it means that the actual production environment temperature is too high. The output switch signal controls the fan and the external circulation switch valve to open, thereby quickly reducing the temperature value of the actual production environment. During operation, the PLC control module will receive the temperature data transmitted by the data acquisition module at equal time intervals, and then transmit it to the data storage server and industrial touch screen as the data for the next round of machine learning. Through continuous optimization of the target temperature curve, the entire production process is more in line with the ideal requirements for koji cultivation, thereby improving the production quality of the product, and also making the koji cultivation process quantified and the control process replicable.
[0115] The working principle and process of the present invention are as follows: the system of the present invention quantifies the original experience data through the wall-mounted temperature and humidity transmitter and the plug-in temperature transmitter and the quality grading of the final product. The PLC controller 1-1 performs the PID control algorithm; the industrial touch screen 1-2 is used to realize the data display of the Qufang cultivation process; the data processing module 3 is used for data storage and data processing; the execution module 4 controls the action execution of the PLC control module 1, and turns on or off the fan 2-1, the alarm 2-2, the external circulation switch valve 2-3, the humidifier 2-4 and the heater 2-5.
[0116] The method of the present invention is based on the finished koji that meets the results of physical and chemical analysis of the factory in the past, and the fermentation process of each cycle is rated from 0 to 100 according to the quality of the output koji blocks, and then the target temperature curve used for the existing koji cultivation is optimized in sections using a machine learning algorithm to obtain a more accurate temperature control target curve. Then, the temperature value of the obtained target curve and the actual measured temperature value are input into the control link to obtain the errors and error change rates of the two temperature parameters, and then input into the fuzzy logic to correct the PID parameters, and the execution equipment is controlled by the corrected PID parameters to obtain the required temperature in the koji cultivation cycle.
[0117] The beneficial effects of the present invention are:
[0118] (1) The present invention quantifies the original empirical data through a wall-mounted temperature and humidity transmitter, an insertable temperature transmitter, and the quality grading of the final product, thereby realizing industrial automation control, thereby ensuring the stability of the data and the timeliness of the collection, thereby improving the utilization rate of the data. The industrial touch screen mainly realizes the functions of data display of the Qu room cultivation process, historical cultivation cycle data query, and the cultivation link where the current Qu cultivation is located, and can also perform manual operation on the Qu cultivation link through actual experience, realizing a new Qu cultivation operation mode that combines automatic and manual operation.
[0119] (2) The present invention utilizes a combination of machine learning and fuzzy PID control to continuously optimize the target temperature curve and PID control results, thereby making the entire control process more accurate and efficient, the uniformity of the finished koji produced is higher, the cultivation accuracy of the koji cultivation link and the quality of the finished koji blocks are higher, thereby solving the problem that the koji production cannot produce koji blocks efficiently and with high quality due to seasonal and experience factors.
[0120] (3) The present invention continuously optimizes the control process and, under the premise of ensuring product quality, continuously optimizes the product production process, thereby quantifying the experience-based yeast cultivation and forming an effective and replicable yeast cultivation control system.
[0121] (4) The present invention effectively realizes that the production of curved blocks is not affected by seasonal temperature and humidity environmental conditions, delays the production time of curved blocks, improves the production quality and uniformity of curved blocks, improves the manual working environment, reduces the labor intensity of workers, and improves the utilization rate of data.
[0122] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. A method for controlling the temperature of a liquor koji room based on fuzzy PID. The system for controlling the temperature of a liquor koji room comprises a PLC control module (1), an execution module (2), a data processing module (3) and a data acquisition module (4); the execution module (2), the data processing module (3) and the data acquisition module (4) are all connected to the PLC control module (1) in communication; The PLC control module (1) comprises a PLC controller (1-1) and an industrial touch screen (1-2); the PLC controller (1-1) and the industrial touch screen (1-2) are communicatively connected; The execution module (2) comprises a fan (2-1), an alarm (2-2), an external circulation switch valve (2-3), a humidifier (2-4) and a heater (2-5); the fan (2-1), the alarm (2-2), the external circulation switch valve (2-3), the humidifier (2-4) and the heater (2-5) are all connected to the PLC controller (1-1) for communication; The data processing module (3) comprises an industrial computer (3-1) and a data storage server (3-2); the industrial computer (3-1) and the data storage server (3-2) are both communicatively connected to the PLC controller (1-1); the industrial computer (3-1) and the data storage server (3-2) are communicatively connected; The data acquisition module (4) comprises a wall-mounted temperature and humidity transmitter (4-1) and an inserted temperature transmitter (4-2); the wall-mounted temperature and humidity transmitter (4-1) and the inserted temperature transmitter (4-2) are both communicatively connected to the PLC controller (1-1); It is characterized in that The temperature control method of liquor koji room comprises the following steps: S1: Use the data acquisition module to collect the cultivation data of the last round of Qufang cultivation cycle and perform physical and chemical analysis; S2: Screen the tea data that meet the acceptable parameter standards after physical and chemical analysis, and conduct grade assessment; S3: Input the grade assessment results into the industrial computer and fit them to form a target curve for training; S4: using the data acquisition module to collect the actual koji cultivation temperature of this round of koji cultivation cycle, and setting the target koji cultivation temperature according to the koji cultivation target curve; S5: Input the actual brewing temperature and the target brewing temperature into the PLC controller, and calculate the temperature error and the temperature error change rate; S6: taking the temperature error and the temperature error change rate as input parameters of the PID control, and outputting the correction parameters of the PID control; S7: Use the PID controller to convert the correction parameters of the PID control into switch signals, control the industrial touch screen and the execution module to complete the temperature control of the liquor koji room; The step S1 comprises the following sub-steps: S11: using the data acquisition module to collect the cultivation data of the last round of cultivation cycle of the koji room, and receiving it using the PLC controller; S12: using the data processing module, the PLC controller receives the data and saves it in the MySQL database of the data storage server periodically; S13: Based on the fermentation data in the MySQL database, the physical and chemical analysis is performed using the block physical and chemical analysis to analyze the bacterial colony content of the fermentation data in each fermentation room and the proportion of finished fermentation blocks in each fermentation room to complete the physical and chemical analysis; In the step S2, if the content of the white wine koji colony is higher than 70%, the koji cultivation data of the inter-koji room meets the acceptable parameter standard, otherwise the koji cultivation data of the inter-koji room is deleted; In step S2, the method of grade assessment is: converting the proportion of finished koji blocks in each koji room into a grade assessment value within the range of 1-100; The step S3 comprises the following sub-steps: S31: According to the grading results, the data that meet the desirable parameter standards are fitted to form a curve y in a weighted manner. i ; S32: According to curve y i and the grade assessment value, and calculate the target surface y in a weighted manner. The calculation formula is: Among them, y i represents the fitting curve of the Peiqu data that meets the desirable parameter standards, g i Indicates the grade rating value of the music room.
2. The method for controlling the temperature of liquor koji room based on fuzzy PID according to claim 1 is characterized in that: In step S4, the method for setting the target Qu cultivation temperature is: determining the actual Qu cultivation temperature collection time point of the current Qu cultivation cycle, and taking the temperature value corresponding to the Qu cultivation target curve at the same time point as the target Qu cultivation temperature.
3. The method for controlling the temperature of liquor koji room based on fuzzy PID according to claim 1 is characterized in that: The step S5 comprises the following sub-steps: S51: Input the actual brewing temperature and the target brewing temperature into the PLC controller, and calculate the temperature error e, the calculation formula is: e=Gt-At Wherein, Gt represents the target brewing temperature, and At represents the actual brewing temperature; S52: Calculate the error change rate ec according to the temperature error e, and the calculation formula is: Wherein, Δt represents the time interval.
4. The method for controlling the temperature of liquor koji room based on fuzzy PID according to claim 1, characterized in that: The step S6 comprises the following sub-steps: S61: Determine whether to perform fuzzy logic correction according to the temperature error; S62: The temperature error and the temperature error change rate that need to be corrected by fuzzy logic are used as input parameters of PID control, and the correction parameters of the output PID control are corrected by fuzzy logic.
5. The method for controlling the temperature of liquor koji room based on fuzzy PID according to claim 4 is characterized in that: In step S61, if the temperature error is less than or equal to 0.1°C and greater than or equal to -0.1°C, no fuzzy logic correction is required; if the temperature error is greater than 0.1°C, it is used as an input parameter for fuzzy logic correction; if the temperature error is less than -0.1°C, it is used as an input parameter for fuzzy logic correction; In step S62, the correction parameters of the PID control include the proportional control correction value K p , differential control correction value K d and integral control correction value K i , and its calculation formula is: K p =K p0 +ΔK p K d =K d0 +ΔK d K i =K i0 +ΔK i Among them, K p0 Indicates the initial value of proportional control, ΔK p Indicates the proportional control correction amount, K d0 Denotes the initial value of differential control, ΔK d Denotes the differential control correction, K i0 Indicates the initial value of integral control, ΔK i Indicates the integral control correction amount.
6. The method for controlling the temperature of liquor koji room based on fuzzy PID according to claim 5 is characterized in that: In step S7, after the correction parameters of PID control are converted into switching signals using a PID controller, the temperature of the qufang cultivation process is displayed through an industrial touch screen. If the temperature error is less than or equal to 0.1°C and greater than or equal to -0.1°C, the execution module does not work; if the temperature error is greater than 0.1°C, the control fan and heater of the execution module are turned on; if the temperature error is less than -0.1°C, the fan and external circulation switch valve of the execution module are turned on.
