Temperature control method and device and oil chromatography detection system
By obtaining the deviation and change rate of the real-time temperature and set temperature of the oil chromatography detection equipment, the temperature adjustment is performed using a fuzzy neural network and a PID controller, the problem of instability of the equipment is solved and high-precision temperature control and detection results are achieved accuracy.
Patent Information
- Application Number
- CN202411197028.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The temperature control of the oil chromatography detection equipment is unstable, which affects the carrier gas flow rate, pressure and detection results, resulting in inaccurate flow of sample components out of the column.
By obtaining the deviation and deviation change rate of real-time temperature and set temperature, adjusting control parameters using a fuzzy neural network model and PID controller, it realizes accurate temperature control of oil chromatography detection equipment and ensures temperature stability.
It effectively avoids temperature deviation from the set value, improves the accuracy and stability of temperature control, and ensures high-precision operation of oil chromatography detection equipment.
Smart Images

Figure CN119064518A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a temperature control method, device and oil chromatography detection system. Background Art
[0002] A chromatographic column is a device that injects samples into the column filling for separation and detection. The basic principle is to achieve substance separation by utilizing the differences in the interaction between the chemical properties or geometric shapes of the column filling and the substances to be separated during movement.
[0003] With the development of power technology, chromatographic columns are increasingly used in the power field, and the accuracy requirements for analyzing samples are gradually increasing. In the application of chromatographic columns, due to the harsh application environment and backward control methods, the product quality monitoring needs may not be met. Among them, the temperature control accuracy of oil chromatography cannot meet the requirements. This is an important reason. The change in temperature will have a great impact on the flow rate and pressure of the carrier gas, which in turn affects the flow of sample components out of the chromatographic column. Moreover, temperature not only directly affects the selection and separation of the chromatographic column, but also affects the sensitivity and stability of the oil chromatography detection equipment.
[0004] Therefore, the current temperature control technology for oil chromatography detection equipment has the problem of temperature instability. Summary of the invention
[0005] Based on this, it is necessary to provide a temperature control method, device, oil chromatography detection system, computer equipment, computer-readable storage medium and computer program product that can ensure temperature stability in response to the above technical problems.
[0006] In a first aspect, the present application provides a temperature control method, comprising:
[0007] Get the real-time temperature of oil chromatography detection equipment;
[0008] Determining a temperature deviation between the real-time temperature and a set temperature of the oil chromatography detection device, and a deviation change rate corresponding to the temperature deviation;
[0009] A control parameter is determined according to the temperature deviation and the deviation change rate, and the temperature of the oil chromatography detection device is controlled according to the control parameter.
[0010] In one embodiment, determining a control parameter according to the temperature deviation and the deviation change rate, and performing temperature control on the oil chromatography detection device according to the control parameter, comprises:
[0011] Inputting the temperature deviation and the deviation change rate into a trained fuzzy neural network model to obtain a proportional control parameter, an integral control parameter and a differential control parameter of a PID controller;
[0012] adjusting the PID controller according to the proportional control parameter, the integral control parameter and the differential control parameter;
[0013] The oil chromatography detection device is temperature controlled by the adjusted PID controller.
[0014] In one embodiment, before determining the temperature deviation between the real-time temperature and the set temperature of the oil chromatography detection device, and the deviation change rate corresponding to the temperature deviation, the method further includes:
[0015] Inputting the real-time temperature into a trained temperature prediction model to obtain a predicted temperature of the oil chromatography detection device;
[0016] According to the predicted temperature, the model parameters of the originally trained fuzzy neural network model are adjusted to obtain the trained fuzzy neural network model.
[0017] In one embodiment, before obtaining the real-time temperature of the oil chromatography detection device, the method further includes:
[0018] Obtaining the historical temperature of the oil chromatography detection device;
[0019] Extracting temperature prediction samples and prediction sample labels corresponding to the temperature prediction samples from the historical temperatures;
[0020] The temperature prediction model to be trained is trained according to the temperature prediction samples and the prediction sample labels to obtain the trained temperature prediction model.
[0021] In one embodiment, the temperature control of the oil chromatography detection device according to the control parameter includes:
[0022] If the real-time temperature is higher than the upper temperature limit corresponding to the control parameter, the ambient temperature is controlled to cool down the oil chromatography detection device;
[0023] If the real-time temperature is lower than the lower temperature limit corresponding to the control parameter, the heater is controlled to increase the temperature of the oil chromatography detection device.
[0024] In a second aspect, the present application also provides a temperature control device, comprising:
[0025] An acquisition module is used to obtain the real-time temperature of the oil chromatography detection equipment;
[0026] A determination module, used to determine a temperature deviation between the real-time temperature and a set temperature of the oil chromatography detection device, and a deviation change rate corresponding to the temperature deviation;
[0027] A control module is used to determine a control parameter according to the temperature deviation and the deviation change rate, and to perform temperature control on the oil chromatography detection device according to the control parameter.
[0028] In a third aspect, the present application also provides an oil chromatography detection system, comprising: a temperature controller and an oil chromatography detection device;
[0029] The temperature controller is used to obtain the real-time temperature of the oil chromatogram detection device, determine the temperature deviation between the real-time temperature and the set temperature of the oil chromatogram detection device, and the deviation change rate corresponding to the temperature deviation, determine the control parameter according to the temperature deviation and the deviation change rate, and perform temperature control on the oil chromatogram detection device according to the control parameter;
[0030] The oil chromatography detection equipment is used to separate characteristic gas from transformer oil, perform chromatography detection on the characteristic gas, and obtain the chromatographic detection result of the characteristic gas.
[0031] In a fourth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0032] Get the real-time temperature of oil chromatography detection equipment;
[0033] Determining a temperature deviation between the real-time temperature and a set temperature of the oil chromatography detection device, and a deviation change rate corresponding to the temperature deviation;
[0034] A control parameter is determined according to the temperature deviation and the deviation change rate, and the temperature of the oil chromatography detection device is controlled according to the control parameter.
[0035] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0036] Get the real-time temperature of oil chromatography detection equipment;
[0037] Determining a temperature deviation between the real-time temperature and a set temperature of the oil chromatography detection device, and a deviation change rate corresponding to the temperature deviation;
[0038] A control parameter is determined according to the temperature deviation and the deviation change rate, and the temperature of the oil chromatography detection device is controlled according to the control parameter.
[0039] In a sixth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0040] Get the real-time temperature of oil chromatography detection equipment;
[0041] Determining a temperature deviation between the real-time temperature and a set temperature of the oil chromatography detection device, and a deviation change rate corresponding to the temperature deviation;
[0042] A control parameter is determined according to the temperature deviation and the deviation change rate, and the temperature of the oil chromatography detection device is controlled according to the control parameter.
[0043] The temperature control method, device, oil chromatography detection system, computer equipment, computer-readable storage medium and computer program product can obtain the real-time temperature of the oil chromatography detection device, determine the temperature deviation between the real-time temperature and the set temperature of the oil chromatography detection device, and the deviation change rate corresponding to the temperature deviation, determine the control parameters according to the temperature deviation and the deviation change rate, and perform temperature control on the oil chromatography detection device according to the control parameters; the real-time measured temperature of the oil chromatography detection device can be compared with the set temperature, and the control parameters can be adjusted in time according to the temperature deviation and the deviation change rate between the two, and the temperature of the oil chromatography detection device can be controlled based on the adjusted control parameters to avoid the temperature of the oil chromatography detection device deviating from the set temperature and ensure the temperature stability of the oil chromatography detection device. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0045] FIG1 is a schematic flow chart of a temperature control method in one embodiment;
[0046] FIG2 is a block diagram of a high-precision temperature control system for oil chromatography in one embodiment;
[0047] FIG3 is a schematic diagram of a process flow of a high-precision temperature control system for oil chromatography in one embodiment;
[0048] FIG4 is a block diagram of a PID control system according to an embodiment of the present invention;
[0049] FIG5 is a schematic flow chart of a temperature control method in another embodiment;
[0050] FIG6 is a block diagram of a temperature control device in one embodiment;
[0051] FIG. 7 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] In an exemplary embodiment, as shown in FIG1 , a temperature control method is provided. This embodiment uses the method applied to a temperature controller as an example. It is understandable that the method can also be applied to a computer device, which includes a terminal and a server, or a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0054] Step S102, obtaining the real-time temperature of the oil chromatography detection device.
[0055] The oil chromatography detection device may be a device for detecting the chromatogram of gas components in oil, and may specifically be composed of an oil-gas separator and a chromatographic column. The real-time temperature may be the current temperature of the oil chromatography detection device measured in real time.
[0056] In a specific implementation, the real-time temperature of the oil chromatography detection device can be collected through a temperature sensor. The temperature sensor can be integrated in a temperature controller so that the temperature controller can obtain the real-time temperature of the oil chromatography detection device through the temperature sensor. The temperature sensor can also be set separately and connected to the temperature controller to transmit the real-time temperature of the oil chromatography detection device to the temperature controller.
[0057] Step S104, determining the temperature deviation between the real-time temperature and the set temperature of the oil chromatography detection device, and the deviation change rate corresponding to the temperature deviation.
[0058] The set temperature may be a constant temperature set in advance when the oil chromatography detection device is working, a temperature value, or a temperature range. The temperature deviation may be the difference between the real-time temperature and the set temperature. The deviation change rate may characterize the change of the temperature deviation per unit time.
[0059] In a specific implementation, the set temperature of the oil chromatography detection device can be input into the temperature controller, and the temperature controller can compare the real-time temperature with the set temperature to obtain the temperature deviation between the two, and can also perform a derivative operation on the temperature deviation to obtain the deviation change rate. It can be understood that if the set temperature is a temperature value, the temperature deviation can be the difference between the real-time temperature and the set temperature, and if the set temperature is a temperature range, the temperature deviation can be the difference between the real-time temperature and a temperature value within the temperature range, or the difference between the real-time temperature and the mean of the upper and lower limits of the temperature range.
[0060] For example, suppose the real-time temperature collected by the temperature sensor at time t is Y(t), and the set temperature R(t) is input into the temperature controller. The temperature controller can calculate the temperature deviation e(t)=|Y(t)-R(t)| and the deviation change rate de / dt=e(t)-e(t-1).
[0061] Step S106, determining a control parameter according to the temperature deviation and the deviation change rate, and performing temperature control on the oil chromatography detection device according to the control parameter.
[0062] The control parameters may be, but are not limited to, Kp, Ki and Kd of a PID (Proportion Integration Differentiation) controller.
[0063] In a specific implementation, temperature control can be pre-trained based on neural network and fuzzy control to train a fuzzy neural network model, and the calculated temperature deviation and deviation change rate can be input into the trained fuzzy neural network model to obtain the control parameters Kp, Ki and Kd of the PID controller, so that the PID controller can control the temperature of the oil chromatography detection equipment according to the control parameters Kp, Ki and Kd, so as to achieve that the oil chromatography detection equipment is kept constant at the set temperature.
[0064] The temperature control method acquires the real-time temperature of the oil chromatography detection device, determines the temperature deviation between the real-time temperature and the set temperature of the oil chromatography detection device, and the deviation change rate corresponding to the temperature deviation, determines the control parameters according to the temperature deviation and the deviation change rate, and performs temperature control on the oil chromatography detection device according to the control parameters; the real-time measured temperature of the oil chromatography detection device can be compared with the set temperature, and the control parameters can be adjusted in time according to the temperature deviation and the deviation change rate between the two, and the temperature of the oil chromatography detection device can be controlled based on the adjusted control parameters, so as to avoid the temperature of the oil chromatography detection device deviating from the set temperature and ensure the temperature stability of the oil chromatography detection device.
[0065] In an exemplary embodiment, the above step S106 may specifically include: inputting the temperature deviation and the deviation change rate into a trained fuzzy neural network model to obtain proportional control parameters, integral control parameters and differential control parameters of the PID controller; adjusting the PID controller according to the proportional control parameters, integral control parameters and differential control parameters; and controlling the temperature of the oil chromatography detection equipment through the adjusted PID controller.
[0066] The fuzzy neural network model may be a model for predicting control parameters based on temperature deviation and deviation change rate, which may be specifically achieved by combining neural network and fuzzy control.
[0067] In a specific implementation, the temperature controller can pre-train the fuzzy neural network model to obtain a trained fuzzy neural network, and input the calculated temperature deviation and deviation change rate into the trained fuzzy neural network model to obtain the proportional control parameter Kp, integral control parameter Ki and differential control parameter Kd of the PID controller. The PID controller is adjusted according to the obtained Kp, Ki and Kd to realize temperature control of the oil chromatography detection equipment.
[0068] In practical applications, multiple groups of temperature deviation samples and deviation change rate samples can be collected in advance as training samples, and the corresponding Kp, Ki and Kd can be obtained as sample labels. The fuzzy neural network to be trained is trained using the training samples and sample labels to obtain a trained fuzzy neural network.
[0069] In this embodiment, the proportional control parameter, integral control parameter and differential control parameter of the PID controller are obtained by inputting the temperature deviation and the deviation change rate into the trained fuzzy neural network model. The PID controller is adjusted according to the proportional control parameter, integral control parameter and differential control parameter. The temperature of the oil chromatography detection equipment is controlled by the adjusted PID controller. The control parameters of the PID controller can be determined by combining fuzzy control theory and neural network to increase the accuracy of temperature control.
[0070] In an exemplary embodiment, before the above step S104, it can also specifically include: inputting the real-time temperature into a trained temperature prediction model to obtain a predicted temperature of the oil chromatography detection equipment; according to the predicted temperature, adjusting the model parameters of the originally trained fuzzy neural network model to obtain a trained fuzzy neural network model.
[0071] Among them, the temperature prediction model can be a model that predicts future temperature changes based on the current temperature, which can be specifically implemented through a neural network. The predicted temperature can be the predicted temperature of the oil chromatography detection device at a future moment. The originally trained fuzzy neural network model can be a fuzzy neural network model at a historical moment, can be a fuzzy neural network initially trained based on multiple groups of temperature deviation samples and deviation change rate samples, and corresponding sample labels, or can be a fuzzy neural network obtained by adjusting parameters based on the predicted temperature.
[0072] In a specific implementation, the temperature controller can pre-train a temperature prediction model. After collecting the real-time temperature, the real-time temperature is input into the trained temperature prediction model to obtain the predicted temperature of the oil chromatography detection equipment. The predicted temperature is input into the originally trained fuzzy neural network model. The originally trained fuzzy neural network model adjusts its own model parameters according to the input predicted temperature to obtain a trained fuzzy neural network model. The trained fuzzy neural network model can determine the control parameters of the PID controller based on the temperature deviation and the deviation change rate.
[0073] In practical applications, the original trained fuzzy neural network model at the previous moment is assumed to be N(t-1). After the real-time temperature Y(t) is collected at the current moment, the temperature Y'(t+1) at the next moment is predicted based on Y(t), so that N(t-1) adjusts its own parameters based on Y'(t+1) to obtain the trained fuzzy neural network model N(t). Since N(t) takes into account the possible temperature changes at the next moment, the PID control parameters that adapt to the temperature changes at the next moment can be obtained based on the temperature deviation and the deviation change rate.
[0074] It should be noted that the fuzzy neural network model may include an input layer, a fuzzification layer, a fuzzy rule layer, a fuzzy decision layer and an output layer. Adjusting the model parameters of the originally trained fuzzy neural network model may include, but is not limited to, adjusting the number of nodes, node parameters, operation rules, etc. of each layer in the originally trained fuzzy neural network model.
[0075] In this embodiment, the predicted temperature of the oil chromatography detection equipment is obtained by inputting the real-time temperature into the trained temperature prediction model, and the model parameters of the originally trained fuzzy neural network model are adjusted according to the predicted temperature to obtain the trained fuzzy neural network model. The fuzzy neural network model can be adapted to future temperature changes, and PID control parameters that adapt to future temperature changes can be obtained, thereby improving the accuracy of temperature control and making timely adjustments to possible future temperature changes.
[0076] In an exemplary embodiment, before the above step S102, it may also specifically include: obtaining the historical temperature of the oil chromatography detection equipment; extracting temperature prediction samples and prediction sample labels corresponding to the temperature prediction samples from the historical temperatures; training the temperature prediction model to be trained according to the temperature prediction samples and the prediction sample labels to obtain a trained temperature prediction model.
[0077] The historical temperature may be the temperature collected at a historical moment, and the temperature prediction sample and the prediction sample label may be the temperature at a previous moment and the temperature at a next moment in the historical temperature, respectively.
[0078] In a specific implementation, the temperature controller can record the temperature of the oil chromatography detection equipment at historical moments to obtain the historical temperature, extract temperature prediction samples and prediction sample labels from the historical temperature, input the temperature prediction samples into the temperature prediction model to be trained, and obtain the predicted temperature output by the temperature prediction model to be trained. According to the deviation between the predicted temperature and the prediction sample label, the parameters of the temperature prediction model to be trained are adjusted until the preset convergence conditions are met, thereby obtaining a trained temperature prediction model.
[0079] In practical applications, for a series of historical temperatures T(tn), T(t-n+1), …, T(t-2), T(t-1) of oil chromatography detection equipment, T(tn), T(t-n+1), …, T(t-2) can be used as temperature prediction samples, and T(t-n+1), …, T(t-2), T(t-1) can be used as corresponding prediction sample labels to train the temperature prediction model to be trained, so as to obtain a trained temperature prediction model.
[0080] In this embodiment, by obtaining the historical temperature of the oil chromatography detection equipment, extracting temperature prediction samples and prediction sample labels corresponding to the temperature prediction samples from the historical temperatures, and training the temperature prediction model to be trained based on the temperature prediction samples and the prediction sample labels, a trained temperature prediction model is obtained. The predicted temperature can be considered in the temperature control process to ensure that the temperature control can take into account possible temperature changes in the future, make timely adjustments based on the temperature changes, and improve the stability of the temperature control.
[0081] In an exemplary embodiment, the above step S106 may further specifically include: if the real-time temperature is higher than the upper temperature limit corresponding to the control parameter, controlling the ambient temperature to cool down the oil chromatography detection equipment; if the real-time temperature is lower than the lower temperature limit corresponding to the control parameter, controlling the heater to heat up the oil chromatography detection equipment.
[0082] Wherein, a temperature adjustment range can be determined according to the control parameter, the upper temperature limit can be the upper limit of the temperature adjustment range, and the lower temperature limit can be the lower limit of the temperature adjustment range. It can be understood that the temperature adjustment range can also be a specific value, in which case the upper temperature limit and the lower temperature limit are both equal to the specific value. Wherein, the heater can be a heating device, which can be specifically arranged in the oil chromatography detection device, or can be arranged separately and adjacent to the oil chromatography detection device.
[0083] In the specific implementation, after determining the PID control parameters, the temperature controller can determine a temperature adjustment range according to the PID control parameters. If the real-time temperature is higher than the upper limit of the temperature adjustment range, the ambient temperature can be used to cool the oil chromatography detection equipment. If the real-time temperature is lower than the lower limit of the temperature adjustment range, the heater can be controlled to heat the oil chromatography detection equipment.
[0084] For example, when it is determined that the oil chromatography detection equipment needs to be adjusted to 65°C, if the real-time temperature is higher than 65°C, the oil chromatography detection equipment can be cooled using the ambient temperature; if the real-time temperature is lower than 65°C, the oil chromatography detection equipment can be cooled using a heater.
[0085] For another example, when it is determined that the oil chromatography detection equipment needs to be adjusted to 64-66°C, if the real-time temperature is higher than 66°C, the ambient temperature can be used to cool the oil chromatography detection equipment; if the real-time temperature is lower than 64°C, a heater can be used to cool the oil chromatography detection equipment.
[0086] In this embodiment, if the real-time temperature is higher than the upper temperature limit corresponding to the control parameter, the ambient temperature is controlled to cool down the oil chromatography detection device; if the real-time temperature is lower than the lower temperature limit corresponding to the control parameter, the heater is controlled to heat up the oil chromatography detection device, so that the temperature of the oil chromatography detection device can be accurately controlled.
[0087] In order to facilitate those skilled in the art to have a deeper understanding of the embodiments of the present application, a specific example will be described below.
[0088] In view of the problem of unstable temperature of oil chromatography detection equipment, this application proposes a high-precision temperature control method for oil chromatography based on PID. The PID parameters are adjusted by combining predictive control, neural network and fuzzy control to improve the accuracy of the temperature sensor and maintain the temperature of the inlet and outlet oil pipelines, oil-gas separator and chromatographic column at a constant 65°C. Combining the combined method with PID control can make full use of the accuracy of PID control and the adaptability of combined control to cope with the uncertainty and nonlinear characteristics of oil and gas circuits. The combined method is used to adjust the parameters of PID to reduce the fluctuation amplitude of the oil and gas circuit temperatures, enter a stable state faster, make the system have good stability, achieve stable control of the system temperature, and improve the accuracy of temperature control. The temperature control system has the characteristics of fast temperature adjustment speed and system stability.
[0089] It is understandable that the traditional PID control method requires the establishment of a relatively accurate mathematical model on the temperature control system, but in practical applications, the mathematical model of the system cannot achieve precise control. The problems existing in the traditional PID control method on the temperature control system are solved by introducing predictive control, neural network and fuzzy control algorithms to achieve high-precision temperature control of oil chromatography. The predictive control algorithm predicts the future system behavior based on the model and adjusts the control input in advance to optimize the control performance of the system and provide forward-looking control information for the PID controller. The neural network algorithm has powerful nonlinear mapping, self-learning and adaptive capabilities by simulating the structure and function of the biological nervous system. The neural network acts as a feedforward controller to learn the system error of the PID controller and adjust the PID parameters online. The fuzzy control algorithm is based on fuzzy set theory, fuzzy linguistic variables and fuzzy logic reasoning. The fuzzy rule base is used to dynamically adjust the PID parameters to achieve effective control of the system.
[0090] Combining the joint method with PID can make full use of their respective advantages and improve the adaptability and control accuracy of the system. The high-precision temperature control method of oil chromatography based on PID proposed in this application uses the joint method to adjust the parameters of PID to automatically adjust the temperature of the inlet and outlet oil pipelines, oil-gas separators and chromatographic columns to a constant temperature of 65°C.
[0091] FIG2 provides a block diagram of a high-precision temperature control system for oil chromatography. According to FIG2 , the temperature controller may be a control unit 201, on which a temperature sensor is provided, and the oil chromatography detection device may be composed of an oil-gas separator 202 and a chromatographic column 230. The system measures the temperature of the inlet and outlet oil pipelines, the oil-gas separator 202 and the chromatographic column 203 through the temperature sensor of the control unit 201, and controls the temperature of the system at 65°C. When the temperature is too high, the ambient temperature is used to cool it down; when the temperature is too low, the control unit 201 starts the heater 204 to heat it up; and the corresponding temperature is displayed on the monitoring platform 205.
[0092] The user presets a detection time in the system according to actual needs. When the preset detection time is reached, the system automatically triggers the detection process without manual intervention. The system automatically opens the oil inlet valve, allowing the transformer oil to flow into the oil-gas separator 202 through the preset oil extraction path, and the fault characteristic gas dissolved in the oil is effectively separated. The residual oil after oil-gas separation (i.e., the oil with most of the dissolved gas removed) returns to the transformer oil tank through the oil circulation system to maintain the oil level and oil quality in the oil tank. The separated characteristic gas is carried by the carrier gas into the chromatographic detector, which can be specifically a chromatographic column 203. The chromatographic detector converts the concentration characteristics of various gas components detected into electrical signals, which are then received by the data processor for analog-to-digital conversion. The host software processes the received data, generates a spectrum, and obtains the specific concentration data of each component through algorithm analysis. Finally, the concentration data of various gas components obtained by analysis are transmitted to the monitoring platform 205 in real time through the communication monitoring module.
[0093] In the process of the oil inlet and outlet pipelines, the oil-gas separator 202 and the carrier gas carrying the separated gas into the chromatographic column 230, the temperature needs to be constantly controlled at 65°C. FIG3 provides a flow chart of a high-precision temperature control system for oil chromatography. According to FIG3, the system collects temperature data in real time through a thermistor and transmits the collected actual temperature data to the single-chip microcomputer. The single-chip microcomputer analyzes and judges the collected actual temperature data. When the collected actual temperature data exceeds the set temperature limit, the system will immediately start heating or cooling to adjust the temperature of the system to keep it within a constant range. At the same time, the system will transmit the relevant temperature data to the monitoring platform for daily monitoring and management by the staff.
[0094] The temperature change in the system has a great impact on the measurement results of oil chromatography. It is necessary to ensure that the temperature of the oil inlet and outlet pipelines, oil-gas separators and chromatographic columns is constantly controlled at 65°C. The existing temperature sensors have certain errors in measurement results and accuracy due to electromagnetic interference and zero drift when measuring temperature. In this regard, the present application adopts a method combining fuzzy control, neural network and predictive control algorithm to adjust the parameters of PID so that the temperature is controlled at 65°C.
[0095] As shown in Figure 3, it is a structural diagram of the combined PID control. The combined PID control is based on the traditional PID control, and improves the control accuracy and stability of the system, and reduces overshoot and oscillation through the synergy of fuzzy control, neural network and predictive control. The role of predictive control is to provide forward-looking information, predict future deviation trends based on the historical data and current state of the system, and provide the prediction results as auxiliary information to the PID controller. The role of the neural network is to act as a feedforward controller, learn the input and output data of the system, predict the future behavior of the system, and input the prediction results into the PID controller as a feedforward signal. The fuzzy controller acts as a PID parameter adjuster. The fuzzy controller outputs the adjustment amount of the PID parameters based on the input of the system deviation and the rate of change of the deviation, and fuzzy reasoning. This application controls the temperature of the inlet and outlet oil pipelines, oil-gas separators and chromatographic columns through the PID parameters adjusted by the combined method to keep the temperature constant at 65°C.
[0096] In the oil chromatography high-precision temperature control system, the microcontroller implements the above-mentioned joint PID control algorithm by writing software. The microcontroller reads the temperature value measured by the temperature-sensitive resistor in real time, and calculates the deviation e and the deviation change rate e(t) by comparing it with the set temperature. Then, fuzzy control and neural network calculation are used to adjust the PID to achieve the purpose of constant temperature. At the same time, a predictive control algorithm is added to the neural network algorithm and provided to the PID controller as an auxiliary signal to improve the control performance of the system.
[0097] Figure 4 provides a block diagram of the PID control structure. According to Figure 4, the PID control specifically includes:
[0098] Proportional control (P): The controller outputs a control quantity that is adjusted according to the size of the temperature deviation. The principle is that the control quantity is proportional to the deviation. When the temperature deviation is large, the proportional controller will output a larger control quantity, thereby speeding up the temperature adjustment speed; when the temperature approaches the set value, the control quantity will gradually decrease to avoid excessive temperature fluctuations. Proportional control can respond quickly to temperature changes, but it cannot completely eliminate steady-state errors.
[0099] Integral control (I): The control quantity output by the controller is adjusted according to the accumulated amount of temperature deviation. The principle is that the control quantity is directly proportional to the integral of the deviation. Integral control can eliminate steady-state errors and improve the accuracy of temperature control, but too large an integral time can cause overshoot and oscillation of the control system.
[0100] Differential control (D): The control quantity output by the controller is adjusted according to the rate of change of the temperature deviation. The principle is that the control quantity is directly proportional to the differential of the deviation. Differential control can reduce the overshoot and oscillation of the temperature control system and improve the dynamic response speed of the system.
[0101] PID control is a comprehensive control method that combines proportional, integral and differential control. By adjusting the values of the three parameters P, I and D, precise control of the temperature of the inlet and outlet oil pipelines, oil-gas separators and chromatographic columns can be achieved.
[0102] The system uses the actual measured temperature deviation e and deviation change rate e(t) as the input value of the neural network fuzzy control (trained fuzzy neural network model), and uses fuzzy control and neural network calculation to adjust the PID parameters kp, ki, and kd of the PID controller online to stabilize the system temperature at 65°C. At the same time, neural network predictive control (trained temperature prediction model) is used to predict the future deviation trend of PID parameters to optimize the control performance of the system.
[0103] The above oil chromatogram high-precision temperature control system adjusts the PID control algorithm in a combined manner and adjusts the accuracy of the temperature sensor, so that the temperature of the oil inlet and outlet pipelines, oil-gas separator and chromatographic column is constant at 65°C. The temperature control system has the characteristics of fast temperature adjustment speed and stable system.
[0104] In one embodiment, as shown in FIG5 , a temperature control method is provided, comprising the following steps:
[0105] Step S501, obtaining the real-time temperature of the oil chromatography detection equipment;
[0106] Step S502, inputting the real-time temperature into the trained temperature prediction model to obtain the predicted temperature of the oil chromatography detection device;
[0107] Step S503, adjusting the model parameters of the originally trained fuzzy neural network model according to the predicted temperature to obtain a trained fuzzy neural network model;
[0108] Step S504, determining the temperature deviation between the real-time temperature and the set temperature of the oil chromatography detection device, and the deviation change rate corresponding to the temperature deviation;
[0109] Step S505, inputting the temperature deviation and the deviation change rate into the trained fuzzy neural network model to obtain the proportional control parameter, integral control parameter and differential control parameter of the PID controller;
[0110] Step S506, adjusting the PID controller according to the proportional control parameter, the integral control parameter and the differential control parameter;
[0111] Step S507, temperature control of the oil chromatography detection equipment is performed through the adjusted PID controller.
[0112] In a specific implementation, the temperature controller can collect the real-time temperature of the oil chromatography detection equipment through a temperature sensor, and based on the trained temperature prediction model, can obtain the predicted temperature of the oil chromatography detection equipment based on the real-time temperature. The temperature controller can adjust the model parameters of the originally trained fuzzy neural network model according to the predicted temperature to obtain the trained fuzzy neural network model. The temperature controller can also calculate the temperature deviation and the corresponding deviation change rate between the real-time temperature and the set temperature, and input the temperature deviation and the deviation change rate into the trained fuzzy neural network model to obtain the control parameters Kp, Ki and Kd of the PID controller. The PID controller is adjusted according to Kp, Ki and Kd to realize temperature control of the oil chromatography detection equipment.
[0113] The temperature control method obtains the real-time temperature of the oil chromatography detection device, inputs the real-time temperature into the trained temperature prediction model, obtains the predicted temperature of the oil chromatography detection device, adjusts the model parameters of the originally trained fuzzy neural network model according to the predicted temperature, obtains the trained fuzzy neural network model, determines the temperature deviation between the real-time temperature and the set temperature of the oil chromatography detection device, and the deviation change rate corresponding to the temperature deviation, inputs the temperature deviation and the deviation change rate into the trained fuzzy neural network model, obtains the proportional control parameter, integral control parameter and differential control parameter of the PID controller, adjusts the PID controller according to the proportional control parameter, integral control parameter and differential control parameter, and controls the temperature of the oil chromatography detection device through the adjusted PID controller; the temperature of the oil chromatography detection device measured in real time can be compared with the set temperature, and the control parameters can be adjusted in time according to the temperature deviation and the deviation change rate between the two, and the temperature of the oil chromatography detection device can be controlled based on the adjusted control parameters to avoid the temperature of the oil chromatography detection device deviating from the set temperature and ensure the temperature stability of the oil chromatography detection device.
[0114] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0115] Based on the same inventive concept, the embodiment of the present application also provides a temperature control device for implementing the temperature control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more temperature control device embodiments provided below can refer to the limitations on the temperature control method above, and will not be repeated here.
[0116] In an exemplary embodiment, as shown in FIG6 , a temperature control device is provided, including: an acquisition module 602 , a determination module 604 and a control module 606 , wherein:
[0117] An acquisition module 602 is used to acquire the real-time temperature of the oil chromatography detection device;
[0118] A determination module 604 is used to determine a temperature deviation between the real-time temperature and a set temperature of the oil chromatography detection device, and a deviation change rate corresponding to the temperature deviation;
[0119] The control module 606 is used to determine a control parameter according to the temperature deviation and the deviation change rate, and perform temperature control on the oil chromatography detection device according to the control parameter.
[0120] In an exemplary embodiment, the control module 606 is further used to input the temperature deviation and the deviation change rate into a trained fuzzy neural network model to obtain a proportional control parameter, an integral control parameter and a differential control parameter of a PID controller; adjust the PID controller according to the proportional control parameter, the integral control parameter and the differential control parameter; and perform temperature control on the oil chromatography detection equipment through the adjusted PID controller.
[0121] In an exemplary embodiment, the temperature control device further includes an updating module for inputting the real-time temperature into a trained temperature prediction model to obtain a predicted temperature of the oil chromatography detection device; and adjusting the model parameters of the originally trained fuzzy neural network model according to the predicted temperature to obtain the trained fuzzy neural network model.
[0122] In an exemplary embodiment, the temperature control device further includes a training module for obtaining the historical temperature of the oil chromatography detection equipment; extracting temperature prediction samples and prediction sample labels corresponding to the temperature prediction samples from the historical temperatures; and training the temperature prediction model to be trained according to the temperature prediction samples and the prediction sample labels to obtain the trained temperature prediction model.
[0123] In an exemplary embodiment, the control module 606 is further configured to control the ambient temperature to cool down the oil chromatography detection device if the real-time temperature is higher than the upper temperature limit corresponding to the control parameter; and control the heater to heat up the oil chromatography detection device if the real-time temperature is lower than the lower temperature limit corresponding to the control parameter.
[0124] Each module in the above-mentioned temperature control device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0125] In an exemplary embodiment, an oil chromatography detection system is provided, comprising:
[0126] A temperature controller is used to obtain the real-time temperature of the oil chromatography detection device, determine the temperature deviation between the real-time temperature and the set temperature of the oil chromatography detection device, and the deviation change rate corresponding to the temperature deviation, determine the control parameter according to the temperature deviation and the deviation change rate, and perform temperature control on the oil chromatography detection device according to the control parameter;
[0127] The oil chromatography detection equipment is used to separate characteristic gases from transformer oil, perform chromatographic detection on the characteristic gases, and obtain chromatographic detection results of the characteristic gases.
[0128] The temperature controller may be, but is not limited to, various physical devices, unit modules, etc. with temperature control functions. The oil chromatography detection device may be composed of an oil-gas separator and a chromatographic column, and a heater may also be provided in the oil chromatography detection device. The temperature controller may be connected to the oil chromatography detection device.
[0129] The characteristic gas may be a characteristic gas reflecting a transformer fault. The chromatographic detection result includes but is not limited to parameters such as the chromatogram and concentration of each component in the characteristic gas.
[0130] In a specific implementation, when the preset detection time is reached, the temperature controller can automatically collect the real-time temperature of the oil chromatography detection equipment through the temperature sensor. The temperature sensor can be close to the oil chromatography detection equipment. The temperature controller can also calculate the temperature deviation between the real-time temperature and the set temperature of the oil chromatography detection equipment, and calculate the deviation change rate according to the temperature deviation. The temperature deviation and the deviation change rate are input into a pre-trained fuzzy neural network model to obtain the control parameters of the PID controller. The PID controller is adjusted according to the control parameters to control the temperature of the oil chromatography detection equipment so that the oil chromatography detection equipment is constant at the set temperature. The oil chromatography detection equipment can automatically open the oil inlet valve of the oil-gas separator to allow The transformer oil flows into the oil-gas separator through a preset oil extraction path, so that the fault characteristic gas dissolved in the oil is effectively separated. The residual oil after oil-gas separation can be returned to the transformer oil tank through the oil circulation system to maintain the oil level and oil quality in the oil tank. The separated fault characteristic gas is carried into the chromatographic column by the carrier gas. The chromatographic column converts the concentration characteristics of various gas components detected into electrical signals. After the electrical signal is processed by analog-to-digital conversion, a chromatogram is generated, and the concentration and other parameters of each component in the fault characteristic gas are obtained through algorithm analysis. The chromatogram and concentration and other parameters are sent to the monitoring platform for real-time display. In addition, the temperature controller can also send the real-time temperature to the monitoring platform for real-time display.
[0131] The temperature-controlled oil chromatography detection system obtains the real-time temperature of the oil chromatography detection device through a temperature controller, determines the temperature deviation between the real-time temperature and the set temperature of the oil chromatography detection device, and the deviation change rate corresponding to the temperature deviation, determines the control parameters according to the temperature deviation and the deviation change rate, and performs temperature control on the oil chromatography detection device according to the control parameters. The oil chromatography detection device separates characteristic gas from the transformer oil, performs chromatographic detection on the characteristic gas, and obtains chromatographic detection results of the characteristic gas. The temperature of the oil chromatography detection device measured in real time can be compared with the set temperature, and the control parameters can be adjusted in time according to the temperature deviation and the deviation change rate between the two. The oil chromatography detection device is temperature controlled based on the adjusted control parameters to avoid the temperature of the oil chromatography detection device deviating from the set temperature, ensure the temperature stability of the oil chromatography detection device, and obtain more accurate chromatographic detection results.
[0132] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG7. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a temperature control method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0133] Those skilled in the art will understand that the structure shown in FIG. 7 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0134] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0135] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0136] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0137] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0138] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0139] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0140] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A temperature control method, characterized in that: The method comprises: Get the real-time temperature of oil chromatography detection equipment; Determining a temperature deviation between the real-time temperature and a set temperature of the oil chromatography detection device, and a deviation change rate corresponding to the temperature deviation; A control parameter is determined according to the temperature deviation and the deviation change rate, and the temperature of the oil chromatography detection device is controlled according to the control parameter.
2. The method according to claim 1, characterized in that The step of determining a control parameter according to the temperature deviation and the deviation change rate, and performing temperature control on the oil chromatography detection device according to the control parameter, comprises: Inputting the temperature deviation and the deviation change rate into a trained fuzzy neural network model to obtain a proportional control parameter, an integral control parameter and a differential control parameter of a PID controller; adjusting the PID controller according to the proportional control parameter, the integral control parameter and the differential control parameter; The oil chromatography detection device is temperature controlled by the adjusted PID controller.
3. The method according to claim 2, characterized in that Before determining the temperature deviation between the real-time temperature and the set temperature of the oil chromatography detection device, and the deviation change rate corresponding to the temperature deviation, the method further includes: Inputting the real-time temperature into a trained temperature prediction model to obtain a predicted temperature of the oil chromatography detection device; According to the predicted temperature, the model parameters of the originally trained fuzzy neural network model are adjusted to obtain the trained fuzzy neural network model.
4. The method according to claim 3, characterized in that Before obtaining the real-time temperature of the oil chromatography detection equipment, it also includes: Obtaining the historical temperature of the oil chromatography detection device; Extracting temperature prediction samples and prediction sample labels corresponding to the temperature prediction samples from the historical temperatures; The temperature prediction model to be trained is trained according to the temperature prediction samples and the prediction sample labels to obtain the trained temperature prediction model.
5. The method according to claim 1, characterized in that The temperature control of the oil chromatography detection device according to the control parameter comprises: If the real-time temperature is higher than the upper temperature limit corresponding to the control parameter, the ambient temperature is controlled to cool down the oil chromatography detection device; If the real-time temperature is lower than the lower temperature limit corresponding to the control parameter, the heater is controlled to increase the temperature of the oil chromatography detection device.
6. A temperature control device, characterized in that: The device comprises: An acquisition module is used to obtain the real-time temperature of the oil chromatography detection equipment; A determination module, used to determine a temperature deviation between the real-time temperature and a set temperature of the oil chromatography detection device, and a deviation change rate corresponding to the temperature deviation; A control module is used to determine a control parameter according to the temperature deviation and the deviation change rate, and to perform temperature control on the oil chromatography detection device according to the control parameter.
7. An oil chromatography detection system, characterized in that: The system includes a temperature controller and an oil chromatography detection device; The temperature controller is used to obtain the real-time temperature of the oil chromatogram detection device, determine the temperature deviation between the real-time temperature and the set temperature of the oil chromatogram detection device, and the deviation change rate corresponding to the temperature deviation, determine the control parameter according to the temperature deviation and the deviation change rate, and perform temperature control on the oil chromatogram detection device according to the control parameter; The oil chromatography detection equipment is used to separate characteristic gas from transformer oil, perform chromatography detection on the characteristic gas, and obtain the chromatographic detection result of the characteristic gas.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Method and system for predicting quantity of spare parts based on multi-model combination
CN108710905A
Traditional Chinese medicine decoction piece infiltrating temperature prediction control method based on fuzzy neural network
CN114020063A
Transition packet internal temperature control system and method based on predictive variable universe fuzzy PID (Proportion Integration Differentiation)
CN114510092A
Temperature control method and device, computer equipment, storage medium and program product
CN116414160A
Transformer oil chromatography online monitoring method and system based on adaptive neural network fuzzy PID
CN116448934A
