Intelligent incubator control system and method based on Internet of Things

Through the intelligent insulated box control system based on the Internet of Things, the STM32F407ZGT6 controller, PT100 temperature sensor and TEC1-12706 semiconductor refrigeration chip are used, combined with the cascade fuzzy PID algorithm, to solve the problems of insufficient transportation capacity and low temperature control accuracy in cold chain logistics. , realizes precise adjustment and real-time monitoring of the temperature of the insulating box, and provides powerful logistics information traceability and personalized temperature management.

CN118567412APending Publication Date: 2024-08-30SHANDONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410696112.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing cold chain logistics faces problems such as insufficient transportation capacity, poor temperature control accuracy, and an incomplete traceability system, which results in the inability to effectively mix and transport products with large differences, resulting in a waste of transportation resources.

Method used

An intelligent insulated box control system based on the Internet of Things is designed, including the equipment layer, network layer and platform layer, using STM32F407ZGT6 controller, PT100 temperature sensor, TEC1-12706 semiconductor refrigeration chip, NB-IOT network module and cascade fuzzy PID algorithm realizes precise adjustment and real-time monitoring of the temperature of the incubator.

Benefits of technology

It realizes real-time monitoring and recording of the temperature and location of the insulated box, provides powerful logistics information traceability, realizes personalized temperature management, ensures precise control of the temperature inside the box, reduces noise and environmental pollution, and supports temperatures for different occasions. adjust.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567412A
    Figure CN118567412A
Patent Text Reader

Abstract

The invention discloses an intelligent heat preservation box control system and method based on the Internet of Things. The system comprises an equipment layer, a network layer, a platform layer and an application layer. The equipment layer is integrated with a controller, a temperature sensor, a semiconductor chilling plate, an NB-IOT network module, an LED screen and a buzzer; the network layer realizes data exchange between the platform layer and the equipment layer through the base station and the NB-IOT gateway; the platform layer comprises a cloud server and a data center, the data center is used for storing the temperature and position data of the heat preservation box from the network layer, and the cloud server is used for analyzing and processing the data; the application layer allows a user to access the temperature and position information, stored in the data center, of the heat preservation box through a computer webpage or a mobile phone APP, and sends the temperature set by the user to the heat preservation box through the cloud server. According to the cascade fuzzy PID control algorithm, the semiconductor refrigeration system can be intelligently regulated and controlled according to the temperature target set by the user, and it is ensured that the temperature in the box is always kept within the precise range expected by the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of refrigeration control, and in particular relates to an intelligent incubator control system and method based on the Internet of Things. Background Art

[0002] Cold chain logistics is crucial to food safety and quality assurance, and road transportation represented by refrigerated vehicles and dedicated warehouses is dominant. However, the current cold chain logistics faces problems such as insufficient transportation capacity, poor temperature control accuracy throughout the process, and an imperfect traceability system. Refrigerated trucks cannot transport products with large differences in optimal storage temperatures in a mixed manner, so small-batch transportation will result in a waste of transportation resources.

[0003] Existing solutions, such as vehicle-mounted temperature detection systems, can monitor temperature, but they cannot rely on the temperature control capabilities of refrigerated trucks and cannot alleviate the problem of insufficient cold chain logistics capacity; cold storage insulated boxes are limited by the characteristics of phase change materials and cannot ensure accurate and long-distance temperature control. The compressor refrigeration technology used in traditional refrigerated trucks has a single function and is limited to refrigeration, so it is impossible to accurately adjust the temperature in winter. Summary of the invention

[0004] In view of the above problems existing in the prior art, the present invention proposes an intelligent incubator control system and method based on the Internet of Things, which has a reasonable design, solves the shortcomings of the prior art and has good effects.

[0005] In order to achieve the above purpose 1, the present invention adopts the following technical solution:

[0006] An intelligent incubator control system based on the Internet of Things, comprising a device layer, a network layer, a platform layer and an application layer;

[0007] The device layer integrates a controller, a temperature sensor, a semiconductor refrigeration sheet, an NB-IOT network module, an LED screen, and a buzzer;

[0008] The network layer realizes data exchange between the platform layer and the device layer through the base station and the NB-IOT gateway;

[0009] The platform layer includes a cloud server and a data center, the data center is used to store the temperature and location data of the incubator from the network layer, and the cloud server is used to analyze and process the data;

[0010] The application layer allows the user to access the temperature and location information of the incubator stored in the data center through a computer web page or a mobile phone APP, and sends the user-set temperature to the incubator through the cloud server.

[0011] Furthermore, the controller uses STM32F407ZGT6 to execute the stored computer program to control the incubator.

[0012] Furthermore, the temperature sensor is a PT100 temperature sensor, and the number is set to two, which are used to detect the actual temperature in the insulation box and the temperature on the surface of the semiconductor refrigeration plate respectively.

[0013] Furthermore, the semiconductor refrigeration plate is a TEC1-12706 semiconductor refrigeration plate.

[0014] Furthermore, the NB-IOT network module uses the BC20 module, which is not only used to build a remote communication network and realize remote communication, but also can realize positioning.

[0015] Furthermore, the LED screen communicates with the controller using a serial port to display the status information of the incubator;

[0016] The buzzer is turned on and off using the controller IO level control to issue an alarm message.

[0017] In order to achieve the above purpose 2, the present invention adopts the following technical solution:

[0018] A method for controlling an intelligent incubator based on the Internet of Things, using the intelligent incubator control system based on the Internet of Things as described above, is characterized in that it includes the following steps:

[0019] Step 1: Initialize the controller and remote terminal. The remote terminal is a computer web page or mobile phone APP. Establish connections between the controller and remote terminal and the cloud platform respectively.

[0020] Step 2: Collect the actual temperature information and location information of the incubator and display it on the LED screen;

[0021] Step 3: Upload the temperature information and location information to the data center, and the cloud platform receives the temperature control instructions issued by the user through the remote terminal;

[0022] Step 4: Design a cascade fuzzy PID algorithm. According to the actual temperature of the incubator and the ideal temperature set by the user, adjust the duty cycle of the PWM signal output by the STM32 through the cascade fuzzy PID algorithm, adjust the cooling capacity of the semiconductor refrigeration module through the peripheral drive circuit, and realize the precise adjustment of the temperature of the incubator;

[0023] Step 5: Monitor the status information of the incubator. If the incubator does not move at a certain position within t time or the actual temperature of the incubator is not adjusted to the target value set by the user within t time, the remote terminal and the incubator buzzer will send out alarm information at the same time.

[0024] Furthermore, in step 4, the cascade fuzzy PID algorithm consists of an outer loop and an inner loop, the outer loop uses a PID controller, the inner loop uses a P controller, and the fuzzy controller is used to adjust the parameters of the PID controller and the P controller at the same time, wherein the outer loop fuzzy controller has a two-input and three-output structure, and the inner loop fuzzy controller has a two-input and single-output structure.

[0025] Furthermore, the difference between the target temperature and the actual temperature of the insulated box is recorded as the first error value e1, and the first error value e1 and the first error change rate ec1 are input into the outer loop fuzzy controller, the outer loop fuzzy controller outputs △Kp1, △Ki, △Kd, and △Kp1, △Ki, △Kd are added to the initial proportional adjustment parameter, integral adjustment parameter, and differential adjustment parameter of the PID controller respectively to obtain adjusted Kp1, Ki, Kd parameters, and the PID controller outputs a control quantity according to the adjusted parameters and the first error value e1; the difference between the control quantity and the temperature of the semiconductor refrigeration plate is recorded as the second error value e2, the second error value e2 and the second error change rate ec2 are input into the inner loop fuzzy controller, the inner loop fuzzy controller outputs △Kp2, and △Kp2 is added to the initial proportional adjustment parameter of the P controller to obtain adjusted Kp2, the P controller outputs a control quantity according to the adjusted parameters and the second error value e2, and the duty cycle of the PWM signal is adjusted by the control quantity, thereby adjusting the cooling capacity of the semiconductor refrigeration plate.

[0026] Furthermore, the fuzzy subsets of e1, ec1, e2, ec2, △Kp1, △Kp2, △Ki, and △Kd are set to {NB, NM, NS, ZE, PS, PM, PB} = {negative large, negative medium, negative small, zero, positive small, positive medium, positive large}, and the triangular membership function is used to calculate the membership degree.

[0027] Furthermore, the outer loop fuzzy controller and the inner loop fuzzy controller use the centroid method to perform defuzzification operation, and the formula is:

[0028]

[0029] In the formula, μ N (x) is the membership function of the fuzzy set, u is the exact value output by the outer loop fuzzy controller or the inner loop fuzzy controller, and x is the value in the fuzzy domain.

[0030] Beneficial technical effects brought by the present invention:

[0031] 1. Real-time monitoring and recording of the temperature and position of the incubator allows users to grasp the real-time status of the product at any time no matter where they are, providing strong support for the traceability of logistics information.

[0032] 2. With the help of advanced remote control function, users can easily preset the target temperature of the incubator and achieve personalized temperature management.

[0033] 3. The cascade fuzzy PID control algorithm used in the thermal insulation box can intelligently adjust the semiconductor refrigeration system according to the temperature target set by the user, ensuring that the temperature inside the box is always maintained within the precise range expected by the user.

[0034] 4. The application of semiconductor refrigeration technology for refrigeration reduces noise compared to traditional compressor refrigeration. At the same time, the refrigeration process does not require the participation of refrigerants, reducing environmental pollution.

[0035] 5. Compared with compression refrigeration technology which only has refrigeration function, semiconductor refrigeration technology is more advanced. It can not only cool but also heat. It can achieve precise temperature control and meet the temperature regulation requirements of different occasions and different needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 This is the overall architecture diagram of the intelligent incubator control system provided in the present invention;

[0037] Figure 2 The hardware design diagram of the device layer provided in the present invention;

[0038] Figure 3 This is a flow chart of the intelligent incubator control method provided in the present invention;

[0039] Figure 4 It is the principle diagram of the cascade fuzzy PID algorithm provided in the present invention;

[0040] Figure 5 It is a Simulik simulation diagram of the cascade fuzzy PID algorithm provided in the present invention;

[0041] Figure 6 It is a Simulink simulation result diagram of PID, fuzzy PID and cascade fuzzy PID provided in the present invention; DETAILED DESCRIPTION

[0042] The specific implementation of the present invention is further described below in conjunction with specific embodiments:

[0043] An intelligent incubator control system based on the Internet of Things, such as Figure 1 As shown, it includes device layer, network layer, platform layer and application layer;

[0044] The equipment layer integrates controllers, temperature sensors, semiconductor refrigeration chips, NB-IOT network modules, positioning modules, LED screens, and buzzers, and is the execution terminal of the intelligent incubator control system. Figure 2 As shown;

[0045] The controller uses STM32F407ZGT6, which is used to execute the stored computer program to control the incubator.

[0046] The temperature sensor uses a PT100 temperature sensor, and the number is set to two, which are used to detect the actual temperature in the insulation box and the temperature on the surface of the semiconductor refrigeration chip, and are connected to the controller through a temperature sensor detection circuit.

[0047] The semiconductor refrigeration chip uses TEC1-12706 semiconductor refrigeration chip, and uses air cooling at the hot end to dissipate heat. It is used as the cooling source of the incubator and is connected to the controller through the semiconductor refrigeration chip drive circuit.

[0048] The LED screen uses the serial port to communicate with the controller to display the status information of the incubator;

[0049] The NB-IOT network module uses the BC20 module, which combines the NB-IOT communication module and the global navigation satellite system (GNSS) functions into one. It is not only used to build a remote communication network and realize remote communication, but also can act as a positioning module to realize positioning.

[0050] The buzzer is turned on and off using the controller IO level control to send out alarm information;

[0051] Power module, used to supply power to the control system.

[0052] The network layer is mainly responsible for the communication of the NB-IOT cellular network, and realizes the data exchange between the platform layer and the device layer through the base station and the NB-IOT gateway;

[0053] The platform layer includes cloud servers and data centers. The data centers are used to store the temperature and location data of the incubators from the network layer, and the cloud servers are used to analyze and process the data.

[0054] The application layer allows users to access the temperature and location information of the incubator stored in the data center through computer web pages or mobile phone apps, and send the user-set temperature to the incubator through the cloud server.

[0055] A smart incubator control method based on the Internet of Things, using the smart incubator control system based on the Internet of Things as described above, such as Figure 2 As shown, the following steps are included:

[0056] Step 1: Initialize the controller and remote terminal. The remote terminal is a computer web page or mobile phone APP. Establish connections between the controller and remote terminal and the cloud platform respectively.

[0057] Step 2: Collect the actual temperature information and location information of the incubator and display it on the LED screen;

[0058] Step 3: Upload the temperature information and location information to the data center, and the cloud platform receives the temperature control instructions issued by the user through the remote terminal;

[0059] Step 4: Design a cascade fuzzy PID algorithm. According to the actual temperature of the incubator and the ideal temperature set by the user, adjust the duty cycle of the PWM signal output by the STM32 through the cascade fuzzy PID algorithm, adjust the cooling capacity of the semiconductor refrigeration module through the peripheral drive circuit, and realize the precise adjustment of the temperature of the incubator;

[0060] The temperature control system of the intelligent incubator is a nonlinear system. As a nonlinear control method, fuzzy control has excellent adaptability and anti-interference ability, but pure fuzzy control algorithm has certain limitations in control accuracy and static error. The PID algorithm can improve the control accuracy and eliminate steady-state errors. At the same time, considering the delay effect from the temperature change of the semiconductor refrigeration plate to the temperature change inside the incubator, the introduction of cascade control can effectively reduce the lag and improve the response speed of the system. Therefore, the PID algorithm, fuzzy control algorithm and cascade control are combined to form cascade fuzzy PID control.

[0061] The cascade fuzzy PID algorithm consists of an outer loop and an inner loop. The outer loop uses a PID controller, and the inner loop uses a P controller. The fuzzy controller is used to adjust the parameters of the PID controller and the P controller. The outer loop fuzzy controller has a two-input and three-output structure, and the inner loop fuzzy controller has a two-input and single-output structure.

[0062] like Figure 4 As shown, the difference between the target temperature r(t) and the actual temperature of the incubator is recorded as the first error value e1, the first error value e1 and the first error change rate ec1 are input into the outer loop fuzzy controller, the outer loop fuzzy controller outputs △Kp1, △Ki, △Kd, and △Kp1, △Ki, △Kd are added to the initial proportional adjustment parameter, integral adjustment parameter, and differential adjustment parameter of the PID controller respectively to obtain the adjusted Kp1, Ki, Kd parameters, the PID controller outputs the control amount according to the adjusted parameters and the first error value e1; the difference between the control amount and the temperature of the semiconductor refrigeration plate is recorded as the second error value e2, the second error value e2 and the second error change rate ec2 are input into the inner loop fuzzy controller, the inner loop fuzzy controller outputs △Kp2, and △Kp2 is added to the initial proportional adjustment parameter of the P controller to obtain the adjusted Kp2, the P controller outputs the control amount according to the adjusted parameters and the second error value e2, the PWM signal duty cycle is adjusted by the control amount, thereby adjusting the cooling capacity of the semiconductor refrigeration plate.

[0063] The outer and inner loop fuzzy controllers set the fuzzy subsets of e1, ec1, e2, ec2, △Kp1, △Kp2, △Ki, and △Kd to {NB, NM, NS, ZE, PS, PM, PB} = {negative large, negative medium, negative small, zero, positive small, positive medium, positive large}, and use triangular membership functions to calculate the membership degrees.

[0064] The fuzzy rules used by the outer and inner loop fuzzy controllers are shown in Table 1;

[0065] Table 1 Fuzzy rules

[0066]

[0067] The outer loop fuzzy controller and the inner loop fuzzy controller use the centroid method to perform defuzzification operations, and the formula is:

[0068]

[0069] In the formula, μ N (x) is the membership function of the fuzzy set, u is the exact value output by the outer loop fuzzy controller or the inner loop fuzzy controller, and x is the value in the fuzzy domain.

[0070] Step 5: Monitor the status information of the incubator. If the incubator does not move at a certain position within t time or the actual temperature of the incubator is not adjusted to the target value set by the user within t time, the remote terminal and the incubator buzzer will send out alarm information at the same time.

[0071] like Figure 5 As shown, in Matlab, a system simulation model of the cascade fuzzy PID algorithm was built, and the simulated transfer function is shown in formula (2). At the same time, in order to verify the stability of the cascade fuzzy PID algorithm, a step disturbance was applied at 500s of simulation;

[0072]

[0073] The cascade fuzzy algorithm, PID algorithm and fuzzy PID algorithm were compared and simulated, and the results are as follows Figure 6 As shown, it is obvious that the cascade fuzzy algorithm adopted by the present invention has a faster response speed and a smaller overshoot than the traditional PID algorithm and the fuzzy PID algorithm, and shows better stability when disturbed.

[0074] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.

Claims

1. An intelligent incubator control system based on the Internet of Things, characterized in that: Includes device layer, network layer, platform layer and application layer; The device layer integrates a controller, a temperature sensor, a semiconductor refrigeration sheet, an NB-IOT network module, an LED screen, and a buzzer; The network layer realizes data exchange between the platform layer and the device layer through the base station and the NB-IOT gateway; The platform layer includes a cloud server and a data center, the data center is used to store the temperature and location data of the incubator from the network layer, and the cloud server is used to analyze and process the data; The application layer allows users to access the temperature and location information of the incubator stored in the data center through a computer web page or a mobile phone APP, and sends the user-set temperature to the incubator through the cloud server.

2. According to the intelligent incubator control system based on the Internet of Things described in claim 1, the controller is STM32F407ZGT6, which is used to execute the stored computer program to realize the control of the incubator.

3. According to the intelligent incubator control system based on the Internet of Things according to claim 1, it is characterized in that: The temperature sensor is a PT100 temperature sensor, two of which are used to detect the actual temperature in the incubator and the temperature on the surface of the semiconductor refrigeration chip.

4. According to the intelligent incubator control system based on the Internet of Things according to claim 1, it is characterized in that: The semiconductor refrigeration sheet is a TEC1-12706 semiconductor refrigeration sheet. The NB-IOT network module uses the BC20 module, which is not only used to build a remote communication network and realize remote communication, but also can realize positioning.

5. According to the intelligent incubator control system based on the Internet of Things according to claim 1, it is characterized in that: The LED screen uses a serial port to communicate with the controller to display the status information of the incubator; The buzzer is turned on and off using the controller IO level control to issue an alarm message.

6. A smart incubator control method based on the Internet of Things, characterized in that: The intelligent incubator control system based on the Internet of Things as claimed in any one of claims 1 to 5 is adopted, characterized in that it comprises the following steps: Step 1: Initialize the controller and remote terminal. The remote terminal is a computer web page or mobile phone APP. Establish connections between the controller and remote terminal and the cloud platform respectively. Step 2: Collect the actual temperature information and location information of the incubator and display it on the LED screen; Step 3: Upload the temperature information and location information to the data center, and the cloud platform receives the temperature control instructions issued by the user through the remote terminal; Step 4: Design a cascade fuzzy PID algorithm. According to the actual temperature of the incubator and the ideal temperature set by the user, adjust the duty cycle of the PWM signal output by the STM32 through the cascade fuzzy PID algorithm, adjust the cooling capacity of the semiconductor refrigeration module through the peripheral drive circuit, and realize the precise adjustment of the temperature of the incubator; Step 5: Monitor the status information of the incubator. If the incubator does not move at a certain position within t time or the actual temperature of the incubator is not adjusted to the target value set by the user within t time, the remote terminal and the incubator buzzer will send out alarm information at the same time.

7. The method for controlling an intelligent incubator based on the Internet of Things according to claim 6, characterized in that: In step 4, the cascade fuzzy PID algorithm consists of an outer loop and an inner loop, the outer loop uses a PID controller, the inner loop uses a P controller, and the fuzzy controller is used to adjust the parameters of the PID controller and the P controller at the same time, wherein the outer loop fuzzy controller has a two-input and three-output structure, and the inner loop fuzzy controller has a two-input and single-output structure.

8. The method for controlling an intelligent incubator based on the Internet of Things according to claim 7, characterized in that: The difference between the target temperature and the actual temperature of the incubator is recorded as the first error value e1, and the first error value e1 and the first error change rate ec1 are input into the outer loop fuzzy controller. The outer loop fuzzy controller outputs △Kp1, △Ki, and △Kd, and △Kp1, △Ki, and △Kd are added to the initial proportional adjustment parameter, integral adjustment parameter, and differential adjustment parameter of the PID controller respectively to obtain the adjusted Kp1, Ki, and Kd parameters. The PID controller outputs a control quantity according to the adjusted parameters and the first error value e1; the difference between the control quantity and the temperature of the semiconductor refrigeration plate is recorded as the second error value e2, and the second error value e2 and the second error change rate ec2 are input into the inner loop fuzzy controller. The inner loop fuzzy controller outputs △Kp2, and △Kp2 is added to the initial proportional adjustment parameter of the P controller to obtain the adjusted Kp2. The P controller outputs a control quantity according to the adjusted parameters and the second error value e2, and the duty cycle of the PWM signal is adjusted by the control quantity, thereby adjusting the cooling capacity of the semiconductor refrigeration plate.

9. The method for controlling an intelligent incubator based on the Internet of Things according to claim 8, characterized in that: Set the fuzzy subsets of e1, ec1, e2, ec2, △Kp1, △Kp2, △Ki, and △Kd to {NB, NM, NS, ZE, PS, PM, PB} = {negative large, negative medium, negative small, zero, positive small, positive medium, positive large}, and use the triangular membership function to calculate the membership degree.

10. The method for controlling an intelligent incubator based on the Internet of Things according to claim 9, characterized in that: The outer loop fuzzy controller and the inner loop fuzzy controller use the centroid method to perform defuzzification operation, and the formula is: In the formula, μ N (x) is the membership function of the fuzzy set, u is the exact value output by the outer loop fuzzy controller or the inner loop fuzzy controller, and x is the value in the fuzzy domain.