A thermostat capable of self-protecting faulty equipment
By introducing temperature sensors, infrared cameras and convolutional neural networks into the thermostat, precise control of the heating process and fault identification are achieved, which solves the shortcomings of existing thermostats in heating control and fault detection and improves temperature control. Accuracy and safety.
Patent Information
- Application Number
- CN202311555094.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-20
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-11-20
AI Technical Summary
Existing thermostats are difficult to achieve precise temperature control during heating control, and cannot detect and handle faults, especially when dealing with fluids with higher viscosity, such as uneven heating and inconsistent heat transfer.
A thermostat is designed that can self-protect faulty equipment. It uses temperature sensors, infrared cameras and ordinary cameras to collect data. The cloud server is equipped with a convolutional neural network for fault identification and heat uniformity assessment, and real-time adjustment of heating parameters to achieve self- protection and interval regulation.
It achieves precise control of the heating process, identifies and handles faults in a timely manner, avoids the agglomeration of reactants, and solves the problems of uneven heating and inconsistent heat transfer.
Smart Images

Figure CN117850381B
Abstract
Description
Technical Field
[0001] The invention relates to the field of temperature controller equipment, and in particular to a temperature controller capable of self-protecting faulty equipment. Background Art
[0002] Thermostat, generally composed of temperature sensor and controller, is commonly used in temperature control of chemical reactions and automated industrial production. The system temperature is detected by temperature sensor. When the temperature is lower than the set value, the controller turns on the heating device, and when the temperature is not lower than the set value, the heating device is turned off.
[0003] At present, temperature controllers play an important role in the field of industrial automation production. When controlling the temperature of a fluid, the temperature controller needs to control the heating. Especially when heating a fluid with high viscosity, problems such as uneven heating and inconsistent heat transfer are prone to occur, which can easily cause the reactants to agglomerate near the heating device. At the same time, faults in the reaction process require manual monitoring and timely power-off and maintenance to avoid failures. Summary of the invention
[0004] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.
[0005] In view of the above-mentioned problems that the existing thermostat is difficult to control heating and cannot detect faults, the present invention is proposed.
[0006] Therefore, the technical problem solved by the present invention is to solve the problem that the existing thermostat is difficult to accurately control the temperature during heating control and cannot detect faults.
[0007] In order to solve the above technical problems, the present invention provides the following technical solutions: a thermostat capable of self-protecting faulty equipment, comprising:
[0008] A temperature sensor is used to detect the data signal of the temperature of the system and send the data signal to the controller, and the controller processes the data signal and outputs a control signal; and also includes a self-protection unit, which includes: a signal acquisition unit, which collects various environmental parameters in the operating environment of the temperature sensor and the controller through a detection device;
[0009] A signal sending module, which sends various data collected by the signal collection unit to a cloud server, and the cloud server performs risk assessment based on the real-time data and calculates adjustment evaluation parameters;
[0010] A signal receiving module is used to receive risk assessment information and adjustment evaluation parameters and transmit them to a controller. The controller controls the electric heat source to perform heating operation through the risk assessment information and adjustment evaluation parameters acquired in real time.
[0011] As a preferred solution of the present invention, the signal acquisition unit includes: an infrared camera, an ordinary camera, and the controller, the temperature sensor and the system measured by them are all located within the imaging range of the infrared camera and the ordinary camera.
[0012] As a preferred solution of the present invention, the cloud server is equipped with a convolutional neural network (CNN) model that has been trained, evaluated and tested. The convolutional neural network (CNN) model is trained by multiple groups of image data with fault labels and image data without fault labels, and the trained image data are all preprocessed.
[0013] As a preferred solution of the present invention, photos taken by an ordinary camera are identified by a trained convolutional neural network (CNN) model and output risk assessment information of fault or no fault.
[0014] As a preferred solution of the present invention, the cloud server is also equipped with an infrared image processing and computing unit. The thermal imaging data taken by the infrared camera is transmitted to the cloud server in real time for feature extraction to obtain the thermal uniformity coefficient of the reaction system. The adjustment parameter is calculated based on the uniformity coefficient, and intermittent adjustment is performed when the adjustment parameter exceeds a threshold.
[0015] Δx represents the distance between two adjacent pixels; α represents the thermal diffusion coefficient.
[0016] As a preferred solution of the present invention, the evaluation parameter is calculated and adjusted by the following formula:
[0017]
[0018] Among them, F is the heat uniformity coefficient; C is the temperature sensor measurement value; k is the thermal conductivity; δ is the adjustment evaluation parameter.
[0019] As a preferred solution of the present invention, the heating adjustment gap is configured by the following formula:
[0020]
[0021] Wherein, T is the intermittent time; P is the heat source power; δ is the adjustment evaluation parameter; and C is the sensor measurement value.
[0022] As a preferred solution of the present invention, the cloud server sends the image information captured by the ordinary camera to the terminal device in the control room to facilitate manual remote monitoring operations. At the same time, the cloud server intercepts the image information at specific time nodes and stores it.
[0023] As a preferred solution of the present invention, a reference threshold δ0 is set. When the adjustment evaluation parameter δ is greater than δ0, the cloud server captures the image information and stores it. At the same time, the intermittent time T is calculated and sent to the controller for intermittent control.
[0024] Compared with the prior art, the present invention provides a thermostat capable of self-protecting faulty equipment, which has the following features:
[0025] Beneficial effects:
[0026] The present invention uses an ordinary camera to take photos of the actual working status, and uses a deep learning algorithm to identify and process the photos to obtain risk assessment information on whether the system is in a fault state; the controller can promptly perform power-off processing operations and perform self-protection in a timely manner according to the risk assessment information; at the same time, the present invention transmits the thermal imaging data taken by the infrared camera to the cloud server in real time for feature extraction to obtain the heat uniformity coefficient of the reaction system, calculates the adjustment parameter according to the uniformity coefficient, and performs intermittent adjustment when the adjustment parameter exceeds the threshold value, thereby solving the problems of uneven heating and inconsistent heat transfer. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:
[0028] Figure 1 A module diagram of a thermostat capable of self-protecting faulty equipment provided by the present invention;
[0029] Figure 2 A flowchart of a thermostat fault identification capable of self-protecting a faulty device provided by the present invention;
[0030] Figure 3 A flow chart of intermittent control of a thermostat capable of self-protecting a faulty device provided by the present invention;
[0031] Figure 4 An overall control flow chart of a self-protective fault device provided by the present invention. DETAILED DESCRIPTION
[0032] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0033] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0034] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0035] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0036] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0037] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0038] Example 1
[0039] As an important equipment in industrial automation, the thermostat cannot perform accurate heating operations according to the actual heating status during the heating process of the controller when applied to the chemical field. Agglomeration often occurs. At the same time, since the entire system is usually equipped with multiple sets of thermostats, the thermostat is prone to malfunction when working. At present, inspection operations still rely on manual methods, which is very inconvenient.
[0040] See also Figure 1 , a thermostat capable of self-protecting a faulty device provided by the present invention, comprising:
[0041] A temperature sensor is used to detect a data signal of the temperature of the system and send the data signal to a controller, and the controller processes the data signal and outputs a control signal; and also includes a self-protection unit, which includes:
[0042] The signal acquisition unit collects various environmental parameters in the operating environment of the temperature sensor and the controller through the detection equipment. The signal acquisition unit includes: an infrared camera and an ordinary camera. The controller, the temperature sensor and the system being measured are all located within the imaging range of the infrared camera and the ordinary camera.
[0043] A signal sending module, the signal sending module sends the data collected by the signal collection unit to the cloud server, the cloud server performs risk assessment based on the real-time data and calculates the adjustment evaluation parameters, the cloud server is equipped with a convolutional neural network (CNN) model that has been trained, evaluated and tested, the convolutional neural network (CNN) model is trained by multiple groups of image data with fault labels and image data without fault labels, the trained image data are all pre-processed, the photos taken by the ordinary camera are identified by the trained convolutional neural network (CNN) model and the risk assessment information of fault or no fault is output, the cloud server is also equipped with an infrared image processing and calculation unit, the thermal imaging data taken by the infrared camera is transmitted to the cloud server in real time for feature extraction to obtain the heat uniformity coefficient of the reaction system, the adjustment parameter is calculated based on the uniformity coefficient, and intermittent adjustment is performed when the adjustment parameter exceeds the threshold;
[0044] The signal receiving module is used to receive risk assessment information and adjustment evaluation parameters and transmit them to the controller. The controller controls the electric heat source to perform heating operation through the risk assessment information and adjustment evaluation parameters obtained in real time.
[0045] Example 2
[0046] See also Figure 2 , a thermostat capable of self-protecting faulty equipment provided by the present invention, performs fault identification by the following method:
[0047] S1. Data preparation: Collect and organize photo datasets for model training, and label and classify the data;
[0048] S2. Data preprocessing: preprocess the photo dataset, including image size adjustment, data normalization and standardization, etc.;
[0049] S3. Convolutional neural network construction: Build a CNN model, including convolutional layers, pooling layers, fully connected layers, etc. In particular, the design of the convolutional layer should take into account the features of the extracted image;
[0050] S4. Model training: Use the prepared data set to train the model, optimize the model parameters, and improve the recognition accuracy of the model;
[0051] S5. Model evaluation and testing: Use the test data set to evaluate and test the model to verify its accuracy and stability;
[0052] S6. Model application: The trained model is loaded onto the cloud server, and the photos taken by the ordinary camera are sent to the cloud server for identification to obtain risk assessment information (fault / no fault). The cloud server sends the risk assessment information to the signal receiving module and transmits it to the controller.
[0053] Here are some code examples:
[0054] import numpy as np
[0055] import pandas as pd
[0056] import matplotlib.pyplot as plt
[0057] import tensorflow as tf
[0058] from tensorflow.keras import layers,models,callbacks
[0059] train_df=pd.read_csv('train_data.csv')
[0060] test_df=pd.read_csv('test_data.csv')
[0061] train_images=np.array(train_df.iloc[:,1:])
[0062] train_labels=np.array(train_df.iloc[:,0])
[0063] test_images=np.array(test_df.iloc[:,1:])
[0064] test_labels=np.array(test_df.iloc[:,0])
[0065] train_images=train_images.reshape(-1,28,28,1).astype('float32') / 255
[0066] test_images=test_images.reshape(-1,28,28,1).astype('float32') / 255
[0067] model=models.Sequential()
[0068] model.add(layers.Conv2D(32,(3,3),activation='relu',input_shape=(28,28,1)))
[0069] model.add(layers.MaxPooling2D((2,2)))
[0070] model.add(layers.Conv2D(64,(3,3),activation='relu'))
[0071] model.add(layers.MaxPooling2D((2,2)))
[0072] model.add(layers.Conv2D(64,(3,3),activation='relu'))
[0073] model.add(layers.Flatten())
[0074] model.add(layers.Dense(64,activation='relu'))
[0075] model.add(layers.Dense(10))
[0076] model.compile(optimizer='adam',
[0077] loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),metrics=['accuracy'])
[0078] history=model.fit(train_images,train_labels,epochs=10,validation_split=0.2,
[0079] callbacks=[callbacks.EarlyStopping(patience=3)])
[0080] test_loss,test_acc=model.evaluate(test_images,test_labels,verbose=2)
[0081] def predict_risk(image):
[0082] image=image.reshape(-1,28,28,1).astype('float32') / 255
[0083] risk=np.argmax(model.predict(image))
[0084] return risk
[0085] See also Figure 3 , a thermostat capable of self-protecting faulty equipment provided by the present invention, is intermittently controlled by the following method:
[0086] S1. The infrared camera captures thermal imaging data and transmits it to the cloud server in real time;
[0087] S2. The cloud server extracts features from the thermal imaging image and calculates the heat uniformity coefficient. The average value of; Δx represents the distance between two adjacent pixels; α represents the thermal diffusion coefficient;
[0088] S3. The cloud server calculates and adjusts the evaluation parameters according to the heat uniformity coefficient, and calculates and adjusts the evaluation parameters through the following formula:
[0089]
[0090] Wherein, F is the heat uniformity coefficient; C is the temperature sensor measurement value; k is the thermal conductivity; δ is the adjustment evaluation parameter;
[0091] S4. Compare and adjust the evaluation parameter δ with the set reference threshold δ0
[0092] S5. When the adjustment evaluation parameter δ is greater than δ0, the cloud server intercepts the image information taken by the ordinary camera and stores it, and calculates the intermittent time T and sends it to the controller for intermittent control. The heating adjustment gap is configured by the following formula:
[0093]
[0094] Wherein, T is the intermittent time; P is the heat source power; δ is the adjustment evaluation parameter; C is the sensor measurement value; when the adjustment evaluation parameter δ is less than or equal to δ0, the intermittent time T=0 is sent to the controller.
[0095] S6. The controller integrates the risk assessment information (fault / no fault) and the intermittent time T to turn the electric heat source on and off.
[0096] However, if desired, the program can be implemented in assembly or machine language. In any case, the language can be a compiled or interpreted language. In addition, the program can be run on a programmed ASIC for this purpose.
[0097] Furthermore, the operations of the processes described herein may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The processes described herein (or variations and / or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions, and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) that is executed collectively on one or more processors, by hardware, or a combination thereof. The computer program includes a plurality of instructions that may be executed by one or more processors.
[0098] Further, the method can be implemented in any type of computing platform that is operably connected to a suitable computer, including but not limited to a personal computer, a minicomputer, a mainframe, a workstation, a network or distributed computing environment, a separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, etc. Aspects of the present invention can be implemented in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, an optical read and / or write storage medium, a RAM, a ROM, etc., so that it can be read by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the process described herein. In addition, the machine-readable code, or part thereof, can be transmitted via a wired or wireless network. When such media includes instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor, the invention described herein includes these and other different types of non-transitory computer-readable storage media. When programmed according to the methods and techniques described in the present invention, the present invention also includes the computer itself. The computer program can be applied to input data to perform the functions described herein, thereby converting the input data to generate output data stored in a non-volatile memory. The output information can also be applied to one or more output devices such as a display. In a preferred embodiment of the present invention, the converted data represents a physical and tangible object, including a specific visual depiction of the physical and tangible object produced on a display.
[0099] As used in this application, the terms "component", "module", "system", etc. are intended to refer to a computer-related entity, which can be hardware, firmware, a combination of hardware and software, software, or software in operation. For example, a component can be, but is not limited to: a process running on a processor, a processor, an object, an executable file, a thread in execution, a program, and / or a computer. As an example, an application running on a computing device and the computing device can both be components. One or more components can exist in a process and / or thread in execution, and a component can be located in a computer and / or distributed between two or more computers. In addition, these components can be executed from various computer-readable media having various data structures thereon. These components can communicate in a local and / or remote process manner, such as according to a signal having one or more data packets (e.g., data from a component that interacts with another component in a local system, a distributed system, and / or interacts with other systems in a signal manner through a network such as the Internet).
[0100] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A thermostat capable of self-protecting a faulty device, comprising: The temperature sensor is used to detect the data signal of the temperature of the system and send the data signal to the controller, and the controller processes the data signal and outputs a control signal; it is characterized in that it also includes a self-protection unit, and the self-protection unit includes: a signal acquisition unit, which collects various environmental parameters in the temperature sensor and the operating environment of the controller through a detection device; A signal sending module, which sends various data collected by the signal collection unit to a cloud server, and the cloud server performs risk assessment based on the real-time data and calculates adjustment evaluation parameters; A signal receiving module, the signal receiving module is used to receive risk assessment information and adjustment evaluation parameters and transmit them to the controller, and the controller controls the electric heat source to perform heating operation according to the risk assessment information and adjustment evaluation parameters obtained in real time; The cloud server is also equipped with an infrared image processing and computing unit. The thermal imaging data captured by the infrared camera in the signal acquisition unit is transmitted to the cloud server in real time for feature extraction to obtain the heat uniformity coefficient of the reaction system. The evaluation parameter is adjusted according to the heat uniformity coefficient, and intermittent control is performed when the evaluation parameter exceeds the threshold. The heat uniformity coefficient is calculated by the following formula: Where F represents the heat uniformity coefficient; Ti,j represents the temperature value of the i-th row and j-th column; represents the average temperature; Δx represents the distance between two adjacent pixels; α represents the thermal diffusion coefficient; The adjustment evaluation parameters are calculated by the following formula: Wherein, F is the heat uniformity coefficient; C is the temperature sensor measurement value; k is the thermal conductivity; δ is the adjustment evaluation parameter; Configure the heating adjustment gap through the following formula: Wherein, T is the intermittent time; P is the heat source power; δ is the adjustment evaluation parameter; and C is the temperature sensor measurement value.
2. A thermostat capable of self-protecting faulty equipment according to claim 1, characterized in that: The signal acquisition unit includes: an infrared camera, an ordinary camera, a controller, a temperature sensor and the system being measured are all located within the imaging range of the infrared camera and the ordinary camera.
3. A thermostat capable of self-protecting faulty equipment according to claim 2, characterized in that: The cloud server is equipped with a convolutional neural network (CNN) model that has been trained, evaluated and tested. The convolutional neural network (CNN) model is trained by multiple groups of image data with fault labels and image data without fault labels, and the trained image data are all preprocessed.
4. A thermostat capable of self-protecting faulty equipment according to claim 3, characterized in that: Photos taken by ordinary cameras are identified through the trained convolutional neural network (CNN) model and output risk assessment information of fault or no fault.
5. A thermostat capable of self-protecting faulty equipment according to claim 1, characterized in that: The cloud server sends the image information captured by ordinary cameras to the terminal device in the control room, which is convenient for manual remote monitoring operations. At the same time, the cloud server intercepts the image information at specific time nodes and stores it.
6. A thermostat capable of self-protecting faulty equipment according to claim 5, characterized in that: A reference threshold δ0 is set. When the adjustment evaluation parameter δ is greater than δ0, the cloud server captures the image information and stores it. At the same time, the intermittent time T is calculated and sent to the controller for intermittent control.
Citation Information
Patent Citations
Tobacco baking environment parameter control system
CN106054776A
Production equipment fault detection method based on image processing
CN114998352A
Reaction kettle reaction process temperature detection method and device, control method and reaction kettle
CN115007084A
Control system of cooking utensil
CN115177159A
Intelligent heating system for aluminum foil sealing
CN116669244A
