A method for measuring and controlling the terminal temperature of an electric energy meter with a built-in large current switch

By combining a high-sensitivity thermistor sensor and an adaptive calibration unit with a PID algorithm, the problems of insufficient temperature measurement accuracy, unstable temperature control, and poor communication anti-interference in temperature measurement and temperature control at the terminals of large current electric energy meters are solved, achieving high-precision, stable, and safe temperature control.

CN119620801BActive Publication Date: 2025-09-30GUIZHOU POWER GRID CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411758153.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-09-30
Estimated Expiration
2044-12-03

AI Technical Summary

Technical Problem

The existing high-current electric energy meter terminal temperature measurement and temperature control methods have problems such as insufficient temperature measurement accuracy, unstable temperature control, poor communication anti-interference performance, and imperfect automated test management.

Method used

High-sensitivity thermal resistance sensors are used for real-time temperature acquisition. Combined with adaptive calibration units and dynamic adjustment of communication parameters, temperature regulation and control are performed based on the PID algorithm. Automatic judgment logic and safe exit mechanism are used to achieve precise temperature regulation and stability analysis.

Benefits of technology

It improves the accuracy and real-time performance of temperature monitoring, reduces communication errors, enhances system reliability and operational safety, and achieves high-precision temperature control and automated test management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119620801B_ABST
    Figure CN119620801B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for measuring and controlling the temperature of a terminal of an electric energy meter with a built-in large current switch, which relates to the technical field of temperature measurement and temperature control of electric energy meter terminals, including real-time temperature acquisition of the electric energy meter terminals and adaptive adjustment of communication parameters; regulating and controlling the temperature based on a PID algorithm and analyzing the stability of temperature regulation; automatically determining the temperature, sending an end instruction and exiting within a safe temperature range. The method for measuring and controlling the temperature of a terminal of an electric energy meter with a built-in large current switch provided by the present invention improves the accuracy and real-time performance of temperature monitoring by adopting an incremental PID control algorithm and a dynamically calibrated thermal resistor sensor, reduces communication errors during the temperature measurement and temperature control process by optimizing Bluetooth communication, and improves the overall reliability of the system. The safety and convenience of operation are improved by automating the test process and the safe exit mechanism. The present invention achieves better results in terms of accuracy, real-time performance and safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of temperature measurement and temperature control of electric energy meter terminals, and in particular to a temperature measurement and temperature control method for electric energy meter terminals with built-in high-current switches. Background Art

[0002] With the continuous development of power systems and the widespread application of smart grids, the reliability and stability of electricity meters in high current environments are gradually increasing. Especially in industrial and commercial scenarios with large power loads, electricity meters not only need to withstand higher currents, but also need to have high-precision electricity measurement and real-time temperature monitoring capabilities to prevent equipment failure and safety accidents due to overheating. Therefore, many researchers and technicians are committed to improving the structure and control system of high-current electricity meters, trying to improve temperature measurement accuracy and temperature control response speed through technical means such as thermal resistor sensors and PID control. However, current technical applications are mostly concentrated on small and medium current electricity meters, and have a weak dependence on accurate temperature measurement and intelligent control under high current conditions, making it difficult to fully meet the industrial field's demand for high precision and high reliability. Based on this, how to further improve the temperature measurement accuracy and temperature control effect of the terminals of high-current switching electricity meters has become a hot topic and difficulty in current research.

[0003] Existing high-current electricity meter temperature measurement and temperature control technologies have many deficiencies in practical applications. First, in terms of temperature measurement, existing technologies mostly rely on traditional thermistor sensors for temperature acquisition, but these sensors usually lack high-precision dynamic calibration functions, resulting in large deviations in temperature measurement accuracy under high current conditions, which is difficult to meet the stringent requirements of industrial applications. Secondly, in terms of temperature control, existing technologies mainly use simple control algorithms, which cannot achieve precise temperature adjustment and real-time response, resulting in unstable temperature control effects under high current loads. In addition, the communication modules of existing technologies have insufficient anti-interference capabilities under strong electric fields and complex electromagnetic interference conditions, and data transmission is unstable, which in turn affects the reliability of the entire temperature control system. Finally, most existing systems lack automated test process management and safe exit mechanisms, which makes the equipment less safe to operate in high-temperature environments. Summary of the Invention

[0004] In view of the above-mentioned problems, the present invention is proposed.

[0005] Therefore, the technical problem solved by the present invention is: the existing high-current electric energy meter terminal temperature measurement and temperature control methods have insufficient temperature measurement accuracy, unstable temperature control, poor communication anti-interference ability, and how to optimize the automated test management safely and efficiently.

[0006] To solve the above technical problems, the present invention provides the following technical solutions: a method for temperature measurement and temperature control of the terminals of an electric energy meter with a built-in large current switch, comprising real-time temperature acquisition of the electric energy meter terminals and adaptive adjustment of communication parameters; temperature regulation and control based on a PID algorithm and analysis of the temperature regulation stability; automatic temperature determination, sending an end instruction and exiting within a safe temperature range.

[0007] As a preferred solution of the temperature measurement and temperature control method for the terminal of an electric energy meter with a built-in large current switch described in the present invention, the real-time temperature acquisition of the electric energy meter terminal includes acquiring the real-time temperature of the terminal through a high-sensitivity thermistor sensor of the electric energy meter terminal. The sensor directly contacts the terminal surface and adapts to the actual operating conditions of the electric energy meter in a high current environment. The collected raw data is calibrated, and the nonlinear error, temperature drift effect and environmental interference factors of the sensor are comprehensively considered. The system has a built-in calibration unit that matches the sensor characteristics to correct the deviation between the sensor output and the actual temperature. The calibration unit dynamically adjusts the data according to changes in the ambient temperature. The data calibration operates in coordination with the system's host computer software. The host computer automatically updates the calibration factor according to the specific parameters of the sensor to adapt to electric energy meter terminals of different models or batches. The data calibration is expressed as:

[0008] T cal =a*T raw +b

[0009] Among them, T cal is the corrected temperature value, T raw is the original temperature value, a and b are the calibration coefficients.

[0010] As a preferred solution of the temperature measurement and temperature control method for the terminal of the electric energy meter with built-in large current switch described in the present invention, the adaptive adjustment of communication parameters includes a Bluetooth unit communication optimization model. The Bluetooth unit is the communication interface between the host computer and the temperature measurement control unit. The Bluetooth unit is affected by external wireless signals, cabinet metal material shielding, and electromagnetic interference inside the equipment during data transmission. Through the intelligent signal optimization mechanism, the communication status of the Bluetooth unit is detected in real time, the transmission frequency and power are dynamically adjusted, the system evaluates the current signal strength, and automatically selects appropriate signal transmission parameters according to the type and strength of the interference source. The Bluetooth unit communication optimization model is expressed as:

[0011]

[0012] Among them, Q comm is the communication quality index, S is the signal strength, and I is the interference rate.

[0013] As a preferred solution of the temperature measurement and temperature control method for the terminal of the electric energy meter with built-in high-current switch of the present invention, the temperature adjustment and control based on the PID algorithm includes real-time monitoring of the actual temperature of the terminal, comparing it with the preset target temperature, calculating the temperature deviation value, and adjusting the power of the heating control unit according to the deviation value and the change trend. The temperature adjustment control based on the incremental PID control algorithm is expressed as:

[0014] Δu(k)=K p [e(k)-e(k-1)]+K i e(k)+K d [e(k)-2e(k-1)+e(k-2)]

[0015] e(k)=T t -T(k)

[0016] Among them, Δu(k) is the control increment of the kth sampling, K p , K i , K d are proportional, integral, and differential gains respectively, e(k) is the temperature deviation of the kth sampling, T t is the target temperature value, and T(k) is the terminal temperature value of the kth sampling.

[0017] As a preferred solution of the temperature measurement and temperature control method for the terminal of the electric energy meter with built-in large current switch of the present invention, the analysis of temperature regulation stability includes a temperature regulation stability analysis model, which performs dynamic stability analysis on the temperature regulation process. The temperature adjustment is affected by current fluctuations and sensor delay factors. By dynamically monitoring the changing trend of temperature deviation, the current regulation effect is evaluated. The temperature regulation stability analysis model is expressed as:

[0018]

[0019] Among them, V(e) is the Lyapunov function. If V(e) decreases as k increases, it means that the temperature control tends to be stable.

[0020] As a preferred embodiment of the method for measuring and controlling the temperature of the terminals of a high-current switch-built-in electric energy meter according to the present invention, the automatic determination of the temperature includes determining whether the terminal temperature of the electric energy meter under test is within a qualified range, detecting whether the terminal temperature has reached a target range, and continuously monitoring the change trend. If the temperature remains stable within a certain period of time, the result is in line with expectations. If the temperature fluctuates abnormally or fails to reach the target value, it is marked as a failure, and historical data comparison is introduced to compare the current test data with the test records of the same type of equipment to determine whether there is an abnormality. The automatic determination logic is expressed as follows:

[0021] |Tt -T(k)|≤εand t s ≥T min

[0022] Where ε is the allowable temperature deviation threshold, t s is the duration that the temperature is within the allowable range, T min is the minimum stable time threshold. If the temperature remains near the target value and the duration satisfies T min , the test is judged to be qualified.

[0023] As a preferred embodiment of the temperature measurement and temperature control method for the terminal of a large-current switch-built-in electric energy meter according to the present invention, the sending of the end instruction and the exit within the safe temperature range include a safe temperature exit model. By continuously monitoring the difference between the terminal temperature and the ambient temperature, the cooling speed of the heating control unit is dynamically adjusted to reach a safe state in the shortest time. At the end of the test, the control unit preferentially cuts off the power supply to the electric heating tube and starts the passive cooling mode to accelerate cooling through natural heat dissipation or forced ventilation. When the temperature approaches the safe range, the cooling speed is further slowed down. When all sensors feedback that the temperature is lower than the set safety value, an end-of-test signal is sent to the user, allowing the user to replace the electric energy meter. The safe temperature exit model is expressed as follows:

[0024] T safe =T ambient +α*(T max -T ambient )

[0025] Among them, T safe For safe exit temperature, T ambient is the ambient temperature, T max is the highest temperature during the test, and α is the coefficient for controlling the cooling rate.

[0026] Another object of the present invention is to provide a high-current switching electric energy meter terminal temperature measurement and temperature control system, which can accurately adjust the terminal temperature and perform stability analysis through the adjustment control module, solving the current problems of slow temperature adjustment response, insufficient control accuracy, and lack of stability analysis.

[0027] As a preferred solution of the temperature measurement and temperature control system of the high-current switch electric energy meter terminal described in the present invention, it includes: an acquisition and adjustment module, an adjustment control module, and a judgment and exit module; the acquisition and adjustment module is used to perform real-time temperature acquisition on the electric energy meter terminal and adaptively adjust the communication parameters; the adjustment control module is used to adjust and control the temperature based on the PID algorithm and analyze the temperature adjustment stability; the judgment and exit module is used to automatically determine the temperature, send an end instruction and exit within a safe temperature range.

[0028] A computer device includes a memory and a processor, wherein the memory stores a computer program, and is characterized in that the processor executes the computer program to implement a method for measuring and controlling the temperature of terminals of an electric energy meter with a built-in large current switch.

[0029] A computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the computer program implements the steps of a method for measuring and controlling the temperature of terminals of an electric energy meter with a built-in large current switch.

[0030] Beneficial effects of the present invention: The temperature measurement and temperature control method for the terminal of a large-current switch built-in electric energy meter provided by the present invention improves the accuracy and real-time performance of temperature monitoring by adopting an incremental PID control algorithm and a dynamically calibrated thermal resistor sensor, and achieves precise temperature adjustment through the PID control incremental algorithm, thereby avoiding equipment loss and safety hazards caused by temperature fluctuations. By optimizing Bluetooth communication, the communication error in the temperature measurement and temperature control process is reduced, and the overall reliability of the system is improved. The safety and convenience of operation are improved through the automated test process and the safe exit mechanism. The present invention achieves better results in terms of accuracy, real-time performance and safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] 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. Those skilled in the art can also derive other drawings based on these drawings without any creative effort. Among them:

[0032] Figure 1 This is an overall flow chart of a method for measuring and controlling terminal temperature of an electric energy meter with a built-in high-current switch, provided in the first embodiment of the present invention.

[0033] Figure 2 This is an overall module diagram of a high-current switching energy meter terminal temperature measurement and temperature control system provided by the third embodiment of the present invention. DETAILED DESCRIPTION

[0034] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the following detailed description of the specific embodiments of the present invention is given in conjunction with the accompanying drawings. It is obvious that the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in this field without creative work should fall within the scope of protection of the present invention.

[0035] Example 1

[0036] Reference Figure 1 , as one embodiment of the present invention, provides a method for measuring and controlling the temperature of a terminal of an electric energy meter with a built-in large current switch, comprising:

[0037] S1: Collect the real-time temperature of the electricity meter terminals and adaptively adjust the communication parameters.

[0038] Furthermore, real-time temperature collection of the electric energy meter terminal includes a high-sensitivity thermal resistance sensor at the electric energy meter terminal.

[0039] It should be noted that the real-time temperature of the terminal is collected, and the sensor directly contacts the terminal surface to adapt to the actual operating conditions of the energy meter in a high current environment. The collected raw data is calibrated, taking into account the nonlinear error, temperature drift effect and environmental interference factors of the sensor. The system has a built-in calibration unit that matches the sensor characteristics to correct the deviation between the sensor output and the actual temperature. The calibration unit dynamically adjusts the data according to the change of ambient temperature. The data calibration cooperates with the system's host computer software. The host computer automatically updates the calibration factor according to the specific parameters of the sensor to adapt to different models or batches of energy meter terminals. The data calibration is expressed as:

[0040] T cal =a*T raw +b

[0041] Among them, T cal is the corrected temperature value, T raw is the original temperature value, a and b are the calibration coefficients.

[0042] Furthermore, adaptively adjusting communication parameters includes optimizing the communication model of the Bluetooth unit.

[0043] It should be noted that the Bluetooth unit is the communication interface between the host computer and the temperature measurement control unit. During the data transmission process, the Bluetooth unit is affected by external wireless signals, cabinet metal material shielding, and internal electromagnetic interference of the equipment. Through the intelligent signal optimization mechanism, the communication status of the Bluetooth unit is detected in real time, the transmission frequency and power are dynamically adjusted, the system evaluates the current signal strength, and automatically selects appropriate signal transmission parameters according to the type and strength of the interference source. The Bluetooth unit communication optimization model is expressed as:

[0044]

[0045] Among them, Q comm is the communication quality index, S is the signal strength, and I is the interference rate.

[0046] It should also be noted that in environments with greater interference, the Bluetooth unit will reduce the transmission speed to improve data stability, while in environments with smooth signals, the transmission rate can be increased to shorten the test time. In addition, the optimization mechanism also uses redundant verification technology to ensure that data can be completely restored even in cases of greater interference.

[0047] S2: Regulate and control the temperature based on the PID algorithm and analyze the temperature regulation stability.

[0048] Furthermore, the temperature regulation and control based on the PID algorithm includes real-time monitoring of the actual temperature of the terminal.

[0049] It should be noted that the temperature deviation is calculated by comparing with the preset target temperature. According to the deviation value and the change trend, the power of the heating control unit is adjusted. The temperature regulation control based on the incremental PID control algorithm is expressed as:

[0050] Δu(k)=K p [e(k)-e(k-1)]+K i e(k)+K d [e(k)-2e(k-1)+e(k-2)]

[0051] e(k)=T t -T(k)

[0052] Among them, Δu(k) is the control increment of the kth sampling, K p , K i , K d are proportional, integral, and differential gains respectively, e(k) is the temperature deviation of the kth sampling, T t is the target temperature value, and T(k) is the terminal temperature value of the kth sampling.

[0053] It should also be noted that the key to temperature control lies in the balance between response speed and stability. On the one hand, the system needs to respond quickly to sudden changes in temperature to avoid damage to the terminals due to overheating. On the other hand, it needs to prevent temperature fluctuations caused by too frequent control. The system adopts a segmented control strategy. In the case of large temperature deviations, the control unit will give priority to adjusting the heating power to shorten the heating time. When the temperature approaches the target value, it will gradually approach the target with a smaller adjustment range, thereby achieving a smooth temperature transition. The entire control process is monitored and recorded by the host computer for subsequent analysis and optimization.

[0054] It should also be noted that the heating control unit consists of four parts: the main control circuit, the temperature measurement circuit, the output control circuit, and the communication circuit. The main control circuit consists of an ARM chip, an external clock oscillation circuit, and a power filter capacitor. The ARM chip uses STM32FxxxRxT6, an LQFP-64 package, which can be manually soldered to reduce production costs. Combined with a high-precision, low-temperature drift crystal oscillator, the clock frequency can reach 72MHz. When performing multi-channel temperature measurement and control quantity calculation, it can still maintain a reasonable processor occupancy rate and respond to the host computer's commands in a timely manner. The temperature measurement circuit consists of MAX31865, a high-precision reference resistor, and an input decoupling capacitor. Through an external temperature sensor with a temperature compensation input, the MAX31865 with the working parameters set converts the measured temperature into a percentage based on the reference resistance. The STM32 reads and calculates the resistance value, and then calculates the corresponding temperature value according to the sensor's "resistance-temperature" conversion formula. The output control circuit controls the on and off of the AC220V electric heating tube according to the control quantity, and the communication circuit realizes information interaction with the host computer.

[0055] Furthermore, analyzing the temperature regulation stability includes a temperature regulation stability analysis model.

[0056] It should be noted that the dynamic stability analysis of the temperature regulation process is carried out. The temperature adjustment is affected by current fluctuations and sensor delay factors. By dynamically monitoring the changing trend of temperature deviation, the current regulation effect is evaluated. The temperature regulation stability analysis model is expressed as:

[0057]

[0058] Among them, V(e) is the Lyapunov function. If V(e) decreases as k increases, it means that the temperature control tends to be stable.

[0059] It should also be noted that near the target temperature, the convergence speed of the temperature deviation is directly related to the stability of the regulation system. If the temperature continues to fluctuate around the target value, the control strategy needs to be adjusted. The purpose of the stability analysis is to determine the applicability of the control strategy under various environmental conditions and ensure that it has sufficient adaptability to changes in terminal temperature.

[0060] S3: Automatically determine the temperature, send an end command and exit within a safe temperature range.

[0061] Furthermore, automatically determining the temperature includes determining whether the temperature of the terminals of the electric energy meter being tested is within a qualified range.

[0062] It should be noted that the terminal temperature is detected to see if it has reached the target range, and the change trend is continuously monitored. If the temperature remains stable within a certain period of time, the result is in line with expectations. If the temperature fluctuates abnormally or fails to reach the target value, it is marked as a failure and historical data comparison is introduced to compare the current test data with the test records of the same type of equipment to determine whether there is any abnormality. The automatic judgment logic is expressed as follows:

[0063] |T t -T(k)|≤εand t s ≥T min

[0064] Where ε is the allowable temperature deviation threshold, t s is the duration that the temperature is within the allowable range, T min is the minimum stable time threshold. If the temperature remains near the target value and the duration satisfies T min , the test is judged to be qualified.

[0065] Furthermore, sending an end command and exiting within a safe temperature range includes a safe temperature exit model.

[0066] It should be noted that by continuously monitoring the difference between the terminal temperature and the ambient temperature, the cooling speed of the heating control unit is dynamically adjusted to reach a safe state in the shortest time. At the end of the test, the control unit preferentially cuts off the power supply to the electric heating tube and starts the passive cooling mode to accelerate cooling through natural heat dissipation or forced ventilation. When the temperature approaches the safe range, the cooling speed is further slowed down. When all sensors feedback that the temperature is lower than the set safety value, an end-of-test signal is sent to the user, allowing the user to replace the energy meter. The safe temperature exit model is expressed as:

[0067] T safe =T ambient +α*(T max -T ambient )

[0068] Among them, T safe For safe exit temperature, T ambient is the ambient temperature, T max is the highest temperature during the test, and α is the coefficient for controlling the cooling rate.

[0069] Example 2

[0070] One embodiment of the present invention provides a method for measuring and controlling the temperature of a terminal of an electric energy meter with a built-in high-current switch. To verify the beneficial effects of the present invention, scientific demonstration is conducted through economic benefit calculations and simulation experiments.

[0071] Tests were conducted on different types of electricity meters. The equipment used included an airtight cabinet, an electricity meter fixture, a programmable power supply, a Bluetooth communication unit, a thermistor sensor, and a heating control unit with an incremental PID algorithm. The experiments were conducted at a constant room temperature. The goal was to test the stability of the electricity meter terminal temperature, the temperature control effect, and the communication reliability of the system.

[0072] First, fix the electricity meter in the electricity meter fixture on the top of the cabinet. The fixture is made of high-strength insulating material to ensure that there is no deformation or conductivity problems under high temperature conditions. The terminal posts are in close contact with the terminals, and the sensors are precisely fitted to the terminal surface to collect temperature data in real time. The cabinet door is then closed to isolate the external environment from interfering with the temperature measurement data. During the test, the host computer communicates with the electricity meter through the Bluetooth unit. After successful communication, a start command is issued. The heating unit uses the incremental PID algorithm to adjust the power of the electric heating tube according to the temperature data fed back by the sensor to ensure that the terminal temperature remains stable within the target range. The entire test process lasts about 6 minutes. After all data collection is completed, the heating unit automatically stops working and prompts to replace the electricity meter after the temperature drops to a safe range.

[0073] As shown in Table 1, the deviation between the target temperature and the actual temperature is maintained within the range of ±0.5°C, which shows that the temperature control unit using the incremental PID algorithm can achieve extremely high accuracy and stability. Traditional temperature control methods usually have the problem of large deviation, while the present invention significantly improves the control effect through real-time feedback and dynamic adjustment. The energy consumption performance of the present invention is relatively outstanding. The energy consumption per unit time of all test objects in the experiment is in the range of 25-32 watt-hours, which is compared with the generally high energy consumption of traditional methods (an average of more than 35 watt-hours). The high energy-saving characteristics of the present invention are shown. This is because after the temperature reaches the target value, the present invention can intelligently adjust the heating power to avoid unnecessary energy waste. The experimental data of the communication success rate are all higher than 98%, indicating that the signal optimization technology of the Bluetooth unit can effectively resist external interference. This high communication success rate ensures the real-time and accuracy of data transmission. The problem of data loss that traditional equipment is prone to in a strong interference environment has been comprehensively improved in the present invention.

[0074] Table 1 Experimental data table

[0075]

[0076] Example 3

[0077] Reference Figure 2 , is an embodiment of the present invention, which provides a high-current switch electric energy meter terminal temperature measurement and temperature control system, including: an acquisition and adjustment module, a regulation and control module, and a judgment and exit module.

[0078] The acquisition and adjustment module is used to collect real-time temperature from the electricity meter terminals and adaptively adjust communication parameters; the regulation and control module is used to regulate and control the temperature based on the PID algorithm and analyze the temperature regulation stability; the determination and exit module is used to automatically determine the temperature, send an end instruction and exit within a safe temperature range.

[0079] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program code.

[0080] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0081] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic devices), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering, or processing in another suitable manner as necessary, and then stored in a computer memory.

[0082] It should be understood that various parts of the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used: a discrete logic circuit having logic gate circuits for implementing logical functions on data signals, an application-specific integrated circuit having suitable combinational logic gate circuits, a programmable gate array (PGA), a field-programmable gate array (FPGA), etc. It should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and are not intended to be limiting. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced with equivalents without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications should be encompassed by the claims of the present invention.

[0083] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. 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 method for measuring and controlling the temperature of a terminal of an electric energy meter with a built-in large current switch, characterized in that: include: Real-time temperature acquisition of the electric energy meter terminals and adaptive adjustment of communication parameters; Regulate and control the temperature based on the PID algorithm and analyze the temperature regulation stability; Automatically determine the temperature, send an end command and exit within a safe temperature range; The temperature regulation control based on the PID algorithm includes real-time monitoring of the actual temperature of the terminal, comparing it with the preset target temperature, calculating the temperature deviation value, and adjusting the power of the heating control unit according to the deviation value and the change trend. The temperature regulation control based on the incremental PID control algorithm is expressed as: Δu(k)=K p [e(k)-e(k-1)]+K i e(k)+K d [e(k)-2e(k-1)+e(k-2)] e(k)=T t -T(k) Among them, Δu(k) is the control increment of the kth sampling, K p , K i , K d are proportional, integral, and differential gains respectively, e(k) is the temperature deviation of the kth sampling, T t is the target temperature value, T(k) is the terminal temperature value of the kth sampling; The analysis of temperature regulation stability includes a temperature regulation stability analysis model, which performs dynamic stability analysis on the temperature regulation process. Temperature adjustment is affected by current fluctuations and sensor delay factors. By dynamically monitoring the changing trend of temperature deviation, the current regulation effect is evaluated. The temperature regulation stability analysis model is expressed as: Among them, V(e) is the Lyapunov function. If V(e) decreases as k increases, it means that the temperature control tends to be stable.

2. The method for measuring and controlling the temperature of the terminals of an electric energy meter with a built-in large current switch according to claim 1, wherein: The real-time temperature acquisition of the electric energy meter terminal includes acquiring the real-time temperature of the terminal through a high-sensitivity thermistor sensor at the electric energy meter terminal. The sensor directly contacts the terminal surface and adapts to the actual operating conditions of the electric energy meter in a high current environment. The acquired raw data is calibrated to comprehensively consider the nonlinear error of the sensor, the temperature drift effect and the environmental interference factors. The system has a built-in calibration unit that matches the sensor characteristics to correct the deviation between the sensor output and the actual temperature. The calibration unit dynamically adjusts the data according to the change of the ambient temperature. The data calibration operates in coordination with the system's host computer software. The host computer automatically updates the calibration factor according to the specific parameters of the sensor to adapt to different models or batches of electric energy meter terminals. The data calibration is expressed as: T cal =a*T raw +b Among them, T cal is the corrected temperature value, T raw is the original temperature value, a and b are the calibration coefficients.

3. The method for measuring and controlling the temperature of the terminals of an electric energy meter with a built-in large current switch according to claim 2, wherein: The adaptive adjustment of communication parameters includes a Bluetooth unit communication optimization model. The Bluetooth unit is the communication interface between the host computer and the temperature measurement control unit. During the data transmission process, the Bluetooth unit is affected by external wireless signals, cabinet metal material shielding, and internal electromagnetic interference of the equipment. Through the intelligent signal optimization mechanism, the communication status of the Bluetooth unit is detected in real time, the transmission frequency and power are dynamically adjusted, the system evaluates the current signal strength, and automatically selects appropriate signal transmission parameters according to the type and strength of the interference source. The Bluetooth unit communication optimization model is expressed as: Among them, Q comm is the communication quality index, S is the signal strength, and I is the interference rate.

4. The method for measuring and controlling the temperature of the terminals of an electric energy meter with a built-in large current switch according to claim 1, wherein: The automatic temperature determination includes determining whether the terminal temperature of the electric energy meter under test is within the qualified range, detecting whether the terminal temperature has reached the target range, and continuously monitoring the change trend. If the temperature remains stable for a certain period of time, the result is in line with expectations. If the temperature fluctuates abnormally or fails to reach the target value, it is marked as a failure. Historical data comparison is introduced to compare the current test data with the test records of the same type of equipment to determine whether there is any abnormality. The automatic determination logic is expressed as follows: |T t -T(k)|≤εand t s ≥T min Where ε is the allowable temperature deviation threshold, t s is the duration that the temperature is within the allowable range, T min is the minimum stable time threshold. If the temperature remains near the target value and the duration satisfies T min , the test is judged to be qualified.

5. The method for measuring and controlling the temperature of the terminals of an electric energy meter with a built-in large current switch according to claim 4, wherein: The sending of the end instruction and exiting within the safe temperature range includes a safe temperature exit model. By continuously monitoring the difference between the terminal temperature and the ambient temperature, the cooling speed of the heating control unit is dynamically adjusted to reach a safe state in the shortest time. At the end of the test, the control unit preferentially cuts off the power supply to the electric heating tube and starts the passive cooling mode to accelerate cooling through natural heat dissipation or forced ventilation. When the temperature approaches the safe range, the cooling speed is further slowed down. When all sensors feedback that the temperature is lower than the set safety value, an end test signal is sent to the user, allowing the user to replace the electric energy meter. The safe temperature exit model is expressed as: T safe =T ambient +α*(T max -T ambient ) Among them, T safe For safe exit temperature, T ambient is the ambient temperature, T max is the highest temperature during the test, and α is the coefficient for controlling the cooling rate.

6. A system using the method for measuring and controlling the temperature of the terminals of an electric energy meter with a built-in large current switch according to any one of claims 1 to 5, characterized in that: It includes acquisition and adjustment module, regulation and control module, and judgment and exit module; The acquisition and adjustment module is used to collect the real-time temperature of the electric energy meter terminals and adaptively adjust the communication parameters; The regulation control module is used to regulate and control the temperature based on the PID algorithm and analyze the temperature regulation stability; The determination and exit module is used to automatically determine the temperature, send an end instruction and exit within a safe temperature range.

7. 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 for measuring and controlling the terminal temperature of an electric energy meter with a built-in large current switch according to any one of claims 1 to 5 are implemented.

8. 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 for measuring and controlling the terminal temperature of an electric energy meter with a built-in large current switch according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Electric energy meter terminal base temperature control method and device based on fuzzy PID algorithm

    CN112783233A

  • Terminal temperature control method and device, equipment and medium

    CN117873226A