Thermoelectric power generation control method and system
By calculating the temperature scores and historical changes of hot and cold pipes, and determining the most suitable frame selection range and contact plate position, the problem of unstable output power of the temperature differential power generation device is solved, and the power generation efficiency and reliability are improved.
Patent Information
- Application Number
- CN202411122592.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-11-26
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The output power of temperature differential power generation in industrial scenarios is unstable, making it difficult to achieve the optimal power generation effect.
By obtaining infrared images and historical videos of hot and cold pipes, calculating temperature values and quality scores everywhere, determining the most suitable frame selection range and contact plate position, and controlling the temperature difference power generation device to move to the target area to improve output power stability.
It achieves a more stable output power of temperature differential power generation, suitable for power supply of industrial instruments, and improves power generation efficiency and reliability.
Smart Images

Figure CN119030368A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of temperature difference power generation, and in particular to a temperature difference power generation control method and system. Background Art
[0002] Since high-temperature gas and liquid as well as low-temperature gas and liquid are needed in the manufacturing process, multiple pipelines for transporting media of different temperatures are laid in buildings such as industrial plants, and the pipelines are parallel to each other. With the maturity of temperature difference power generation technology, temperature difference generators based on the principle of temperature difference power generation have emerged. However, due to the low power of temperature difference power generation, in the scenario of industrial plants, the different temperatures of different transport pipelines can be used, that is, the temperature difference and temperature difference generators can be used to generate electricity, thereby powering some industrial instruments with low power requirements on site, thereby achieving energy saving. However, due to the different temperatures at various locations on the pipeline and the temperature changes over time, the output power of temperature difference power generation is unstable, which is not conducive to achieving the best power generation effect. Summary of the invention
[0003] In order to improve the output power stability of temperature difference power generation, the present application provides a method, device, electronic equipment and medium for managing non-motor vehicles in a city.
[0004] In a first aspect, the present application provides a temperature difference power generation control method, which adopts the following technical solution: A temperature difference power generation control method, comprising: Acquire a first infrared image of a hot pipeline, a second infrared image of a cold pipeline, a first historical infrared video of the hot pipeline, and a second historical infrared video of the cold pipeline; A first temperature value at each location of the hot pipe is determined based on the first infrared image, and a second temperature value at each location of the cold pipe is determined based on the second infrared image.
[0005] Scan the hot pipe and the cold pipe based on a preset frame selection range, and calculate a first average value of the first temperature value and a second average value of the second temperature value within each frame selection range; Determine a first quality score for the hot pipe segment within each selected frame based on the first historical infrared video, and determine a second quality score for the cold pipe segment within each selected frame based on the second historical infrared video; Determine a total quality score of each selection range based on the first quality score and the second quality score, and determine a preset number of to-be-selected selection ranges having the highest total quality scores; Determine a target frame selection range from the frame selection range to be selected based on the first average value and the second average value of the frame selection range to be selected; The positions of the two contact plates on the temperature difference power generation device within the target frame selection range are determined, the temperature difference power generation device is controlled to move into the target frame selection range, and the two contact plates are controlled to move to corresponding positions.
[0006] By adopting the above technical solution, the preset frame selection range is the range determined according to the adjustment range of the two contact plates when the temperature difference power generation device is in one position. The first historical infrared image represents the temperature change of the hot pipe in the past, and the second historical infrared image represents the temperature change of the cold pipe in the past. The more stable the temperature change and the higher or lower the temperature, the more suitable the position is for temperature difference power generation. Therefore, the first quality score of the hot pipe section in each frame selection range is determined according to the first historical infrared image, and the second quality score of the cold pipe in each frame selection range is determined according to the second historical infrared image, and then the total quality score of each frame selection range is determined. The higher the total quality score, the more stable the temperature change in the past and the higher or lower the temperature, which further indicates that the temperature in the future period of time is more stable. The change is also stable and the temperature is higher or lower, which is suitable as the power generation position of the thermoelectric power generation device. Therefore, a preset number of candidate frame selection ranges with the highest total quality score are determined, and the target frame selection range is determined according to the first average value and the second average value of each candidate frame selection range, that is, the area most suitable for thermoelectric power generation, and the optimal position of the contact plate on the hot pipe and the optimal position of the contact plate on the cold pipe within the target frame selection range are further determined. The thermoelectric power generation equipment is controlled to move to the target frame selection range, and the contact plate is controlled to move to the corresponding position. By determining the target frame selection range with stable temperature changes and higher or lower temperatures, and determining the position of the contact plate in the target frame selection range, the output power is more stable when thermoelectric power generation is performed within the target frame selection range.
[0007] In another possible implementation, determining a first quality score for a hot pipe segment within each selected frame based on the first historical infrared video, and determining a second quality score for a cold pipe segment within each selected frame based on the second historical infrared video includes: Determine a first historical temperature value at each location on the hot pipe segment within each frame selection range based on the first historical infrared video, and determine a second historical temperature value at each location on the cold pipe segment within each frame selection range based on the second historical infrared video; Determine a first historical temperature variance and a first historical temperature average value of a hot pipe segment within each selected frame based on the first historical temperature value, and determine a second temperature variance and a second historical temperature average value of a cold pipe segment within each selected frame based on the second historical infrared video; The first quality score of the hot pipe section within each selected range is calculated based on the first historical temperature variance, the first historical temperature average and the corresponding coefficients, and the second quality score of the cold pipe section within each selected range is calculated based on the second temperature variance, the second historical temperature average and the corresponding coefficients.
[0008] In another possible implementation, determining a target frame selection range from the frame selection range to be selected based on the first average value and the second average value of the frame selection range to be selected includes: Determine a first difference between a first average value and a second average value of each to-be-selected frame selection range; Determine a first distance from each to-be-selected box selection range to the current position of the temperature difference power generation device; Determine a first score for each to-be-selected frame selection range based on the first difference, the first distance, the total quality score of each to-be-selected frame selection range, and the respective corresponding coefficients; The to-be-selected frame selection range with the first highest score is determined as the target frame selection range.
[0009] In another possible implementation, the first historical infrared video and the second historical infrared video are both multiple long images taken continuously, and determining the positions of the two contact plates on the temperature difference power generation device within the target frame selection range includes: Determine a first sub-video at multiple locations on a hot pipe segment within a target selection range from the first historical infrared video, and determine a second sub-video at multiple locations on a cold pipe segment within a target selection range from the second historical infrared video; Calculating a first similarity between two adjacent frames in the first sub-video at each position on the hot pipe segment and determining a first similarity average value, calculating a second similarity between two adjacent frames in the second sub-video on the cold pipe segment and determining a second similarity average value; Determine a second score for each position on the hot pipe section based on the first similarity average value, the first temperature value of each position, and the corresponding coefficients, and determine a third score for each position on the cold pipe section based on the second similarity average value, the second temperature value of each position, and the corresponding coefficients; The second highest scoring position is determined as the position where the thermoelectric power generation device contacts a plate on the hot pipe, and the third highest scoring position is determined as the position where the thermoelectric power generation device contacts a plate on the cold pipe.
[0010] In another possible implementation, the method further includes: Obtain a third temperature value at the hot pipe and a fourth temperature value at the cold pipe at the current location of the temperature difference power generation device; Calculating a second difference between the third temperature value and the fourth temperature value; Calculate a second distance from the target selection range to the current location; The moving speed of the temperature difference power generation device is determined based on the second difference, the second distance and the respective corresponding coefficients.
[0011] In another possible implementation, the determining the positions of the two contact plates on the thermoelectric power generation device within the target frame selection range then includes: Controlling to disconnect the power supply line from the temperature difference power generation device to the industrial instrument; The power supply circuit of the industrial instrument is switched and connected to a backup battery.
[0012] In another possible implementation, the method further includes: Obtaining the power generation power of the temperature difference power generation device; When the power generation power reaches the preset power generation power, the power output end of the temperature difference power generation device is controlled to connect to the backup battery.
[0013] In a second aspect, the present application provides a temperature difference power generation control system, which adopts the following technical solution: A temperature difference power generation control system, comprising: An infrared camera device, used to collect a first infrared image of the hot pipe and a second infrared image of the cold pipe; An electronic device, used to obtain a first infrared image of a hot pipe, a second infrared image of a cold pipe, a first historical infrared video of the hot pipe, and a second historical infrared video of the cold pipe; determine a first temperature value at each location of the hot pipe based on the first infrared image, and determine a second temperature value at each location of the cold pipe based on the second infrared image; scan the hot pipe and the cold pipe based on a preset frame selection range, and calculate a first average value of the first temperature value and a second average value of the second temperature value in each frame selection range; determine a first quality score of the hot pipe segment in each frame selection range based on the first historical infrared video, and determine a second quality score of the cold pipe segment in each frame selection range based on the second historical infrared video; determine a total quality score of each frame selection range based on the first quality score and the second quality score, and determine a preset number of frame selection ranges to be selected with the highest total quality score; determine a target frame selection range from the frame selection range to be selected based on the first average value and the second average value of the frame selection range to be selected; determine the position of two contact plates on the temperature difference power generation device within the target frame selection range, control the temperature difference power generation device to move into the target frame selection range, and control the two contact plates to move to corresponding positions; A temperature difference power generation device is arranged on a hot pipe and a cold pipe, and includes two annular bases, a connecting plate, a contact plate arranged on each annular base, a running wheel arranged on each annular base, and a hoisting device arranged on each annular base; the two annular bases are respectively arranged on the hot pipe and the cold pipe, and a groove is opened along the pipe direction on one side of the annular base close to the pipe, the contact plate is located in the groove and is slidably connected to the annular base, the two ends of the connecting plate are respectively fixed on the two annular bases, a power generation component is arranged on the connecting plate, and a wire for supplying power to the industrial instrument is wound on the hoisting device, one end of the wire is connected to the power generation component, and the other end is connected to the industrial instrument; the temperature difference power generation device is electrically connected to the electronic device, so that the electronic device controls the temperature difference power generation device to move into the target frame selection range, and controls the two contact plates to move to corresponding positions.
[0014] In a third aspect, the present application provides an electronic device, which adopts the following technical solution: An electronic device, comprising: at least one processor; Memory; At least one application, wherein at least one application is stored in a memory and configured to be executed by at least one processor, and at least one is configured to: execute a temperature difference power generation control method shown in any possible implementation of the first aspect.
[0015] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium, when the computer program is executed in a computer, enables the computer to execute a temperature difference power generation control method as described in any one of the first aspects.
[0016] In summary, the present application includes at least one of the following beneficial technical effects: The preset selection range is a range determined according to the adjustment range of the two contact plates when the temperature difference power generation device is in one position. The first historical infrared image represents the temperature change of the hot pipe in the past, and the second historical infrared image represents the temperature change of the cold pipe in the past. The more stable the temperature change and the higher or lower the temperature, the more suitable the location is for temperature difference power generation. Therefore, the first quality score of the hot pipe segment in each selection range is determined according to the first historical infrared image, and the second quality score of the cold pipe in each selection range is determined according to the second historical infrared image, and then the total quality score of each selection range is determined. The higher the total quality score, the more stable the temperature change in the past and the higher or lower the temperature, which means that the temperature change will be stable in the future. And the temperature is higher or lower, which is suitable as the power generation position of the thermoelectric power generation device. Therefore, a preset number of candidate frame selection ranges with the highest total quality score are determined, and the target frame selection range is determined according to the first average value and the second average value of each candidate frame selection range, that is, the area most suitable for thermoelectric power generation, and the optimal position of the contact plate on the hot pipe and the optimal position of the contact plate on the cold pipe within the target frame selection range are further determined. The thermoelectric power generation equipment is controlled to move to the target frame selection range, and the contact plate is controlled and adjusted to move to the corresponding position. By determining the target frame selection range with stable temperature changes and higher or lower temperatures, and determining the position of the contact plate in the target frame selection range, the output power is more stable when thermoelectric power generation is performed within the target frame selection range. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a flow chart of a temperature difference power generation control method according to an embodiment of the present application.
[0018] Figure 2 It is a structural schematic diagram of a temperature difference power generation control system in an embodiment of the present application.
[0019] Figure 3 It is a schematic diagram of the structure of the temperature difference power generation device in the embodiment of the present application.
[0020] Figure 4 It is another structural schematic diagram of the temperature difference power generation device in the embodiment of the present application.
[0021] Figure 5 It is a structural schematic diagram of an electronic device according to an embodiment of the present application.
[0022] Figure numerals: 2, infrared camera device; 3, electronic device; 31, processor; 32, bus; 33, memory; 34, transceiver; 4, temperature difference power generation device; 41, annular base; 411, groove; 42, connecting plate; 43, contact plate; 431, fixing block; 44, walking wheel; 45, hoisting device; 46, driving motor; 47, screw rod; 48, power generation component. DETAILED DESCRIPTION
[0023] The present application is further described in detail below in conjunction with the accompanying drawings.
[0024] After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but such modifications are protected by patent law as long as they are within the scope of the claims of this application.
[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0026] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0027] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0028] The embodiment of the present application provides a temperature difference power generation control method, which is executed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, and the embodiment of the present application does not limit this. Figure 1 As shown, the method includes step S101, step S102, step S103, step S104, step S105, step S106 and step S107, wherein: S101, acquiring a first infrared image of a hot pipe, a second infrared image of a cold pipe, a first historical infrared video of the hot pipe, and a second historical infrared video of the cold pipe.
[0029] For the embodiment of the present application, the staff can install an infrared camera device in advance in the factory or on-site area that can cover the pipeline where the temperature difference power generation device is located, so as to collect the first infrared image and the second infrared image. The electronic device is connected to the infrared camera device by a wire or wirelessly, so that the electronic device obtains the first infrared image and the second infrared image. Similarly, the first historical infrared video and the second historical infrared video can be collected by an infrared camera, and the first historical infrared video and the second historical infrared video can be stored in a local storage medium of the electronic device, or can be stored in a server, so that the electronic device can obtain it. The history can be the past three days, the past five days, or other time periods.
[0030] S102: Determine a first temperature value at each location of the hot pipe based on the first infrared image, and determine a second temperature value at each location of the cold pipe based on the second infrared image.
[0031] In the embodiment of the present application, the infrared camera device measures the temperature of the object using the principle of infrared temperature measurement, so the electronic device can determine the first temperature value of each location of the hot pipe through the first infrared image, and similarly, the electronic device can determine the second temperature value of each location of the cold pipe through the second infrared image. The electronic device can also perform feature recognition or edge detection on the first infrared image and the second infrared image, thereby identifying the hot pipe feature and the cold pipe feature, and then obtaining the first temperature value and the second temperature value of each location.
[0032] S103, scanning the hot pipes and the cold pipes based on a preset selection range, and calculating a first average value of the first temperature value and a second average value of the second temperature value within each selection range.
[0033] For the embodiment of the present application, the preset frame selection range is determined by the staff according to the range of the contact plate on the temperature difference power generation device. In the temperature difference power generation device disclosed in the present application, the device is provided with a contact plate on both the hot pipe and the cold pipe for temperature difference power generation, and when the temperature difference power generation device is fixed in one position, both contact plates can move along the direction of the pipe, that is, the preset frame selection range is determined according to the moving range of the contact plate. After the staff sets the preset frame selection range, the preset frame selection range can be stored in the electronic device.
[0034] The electronic device slides the preset frame selection range on the first infrared image and the second infrared image along the direction of the pipeline. Specifically, the sliding can be performed according to the preset step length or at a preset number of pixel intervals, thereby obtaining multiple frame selection ranges. The electronic device determines the first average value based on the first temperature value at each location on the hot pipeline within each frame selection range using the average value calculation formula. Similarly, the electronic device determines the second average value based on the second temperature value at each location on the cold pipeline within each frame selection range using the average value calculation formula. Since the temperature values at each location on the pipeline within each frame selection range are different, it is more accurate to use the average value to characterize the temperature conditions on the pipeline within the frame selection range as a whole.
[0035] S104: Determine a first quality score for the hot pipe segment within each selected frame based on the first historical infrared video, and determine a second quality score for the cold pipe segment within each selected frame based on the second historical infrared video.
[0036] For the embodiment of the present application, the first historical infrared video characterizes the temperature values and temperature changes at various locations on the hot pipe in the past, and the second historical infrared image is similar. Therefore, the electronic device can determine the first quality score of the hot pipe segment within each frame selection range based on the first historical infrared video, and the electronic device can determine the second quality score of the cold pipe segment within each frame selection range based on the second historical infrared video. The higher the historical temperature of the hot pipe within the frame selection range and the smaller the change, the higher the first quality score will be. Similarly, the lower the historical temperature of the cold pipe within the frame selection range and the smaller the change, the lower the first quality score will be. Similarly, the lower the historical temperature of the cold pipe within the frame selection range and the smaller the change, the lower the temperature and the smaller the change, the higher the first quality score will be. Therefore, the electronic device can determine the first quality score based on the first historical infrared video and determine the second quality score based on the second historical infrared video. The higher the first quality score and the second quality score, the higher or lower the temperature and the smaller the output power change.
[0037] S105: Determine a total quality score of each selection range based on the first quality score and the second quality score, and determine a preset number of to-be-selected selection ranges with the highest total quality scores.
[0038] For the embodiment of the present application, after the electronic device determines the first quality score and the second quality score of each frame selection range, the total quality score of each frame selection range can be determined according to the first quality score and the second quality score. Specifically, the electronic device can directly add the first quality score and the second quality score to obtain the total quality score, or perform weighted calculation on the first quality score and the second quality score to obtain the total quality score. The electronic device then sorts the total quality score of each frame selection range from high to low. The preset number can be 2, 3, or any other number. Assuming that the preset number is 5, the electronic device determines the first 5 frame selection ranges as the frame selection ranges to be selected according to the sorting result. It is more convenient and quick for the electronic device to filter out the frame selection ranges with lower quality and further determine the final frame selection range from the frame selection ranges to be selected.
[0039] S106: Determine a target frame selection range from the frame selection range to be selected based on the first average value and the second average value of the frame selection range to be selected.
[0040] For the embodiment of the present application, since the first average value and the second average value represent the current temperature of the hot pipe and the current temperature of the cold pipe in each selection range, the selection range to be selected is screened according to the first average value and the second average value to determine the most suitable target selection range.
[0041] S107, determining the positions of the two contact plates on the temperature difference power generation device within the target frame selection range, controlling the temperature difference power generation device to move into the target frame selection range, and controlling the two contact plates to move to corresponding positions.
[0042] For the embodiment of the present application, after determining the target selection range, since different positions of the pipeline within the target selection range correspond to different temperatures, it is also necessary to determine the position of each contact plate on the thermoelectric power generation device. After the electronic device determines the target selection range, it sends a control instruction to the thermoelectric power generation device so that the thermoelectric power generation device moves into the target selection range, and then controls the two contact plates to move to their respective corresponding positions. The thermoelectric power generation device in the present application is provided with walking wheels to realize the movement of the thermoelectric power generation device on the pipeline, and the contact plate can move on the thermoelectric power generation device, so that after the thermoelectric power generation device moves to the target selection range, the contact plate moves to the corresponding position.
[0043] The total quality score of each selection range is determined through historical infrared images, and the candidate selection range with the smallest temperature change, the highest hot pipe temperature and the lowest cold pipe temperature is screened out according to the total quality score. The target selection range is determined from the candidate selection range by combining the first average value and the second average value. Finally, the temperature difference power generation device is controlled to move into the target selection range and the contact plate is controlled to move to the corresponding position. The temperature difference power generation device can output stable power generation, thereby improving the stability of the output power of the temperature difference power generation.
[0044] In a possible implementation of the embodiment of the present application, in step S104, a first quality score of a hot pipe segment within each selected frame is determined based on the first historical infrared video, and a second quality score of a cold pipe segment within each selected frame is determined based on the second historical infrared video, including step S1041 (not shown in the figure), step S1042 (not shown in the figure), and step S1043 (not shown in the figure), wherein: S1041, determining a first historical temperature value at each location on the hot pipe segment within each selected frame based on the first historical infrared video, and determining a second historical temperature value at each location on the cold pipe segment within each selected frame based on the second historical infrared video.
[0045] For the embodiment of the present application, the electronic device can divide the first historical infrared video into video segments according to each frame selection range, determine the temperature value of each location on the hot pipe segment of the frame selection range in each frame of the video segment, and thus obtain the first historical temperature value of each location at multiple historical time points. Similarly, the electronic device can divide the second historical infrared video into video segments according to each frame selection range, determine the temperature value of each location on the cold pipe segment of the frame selection range in each frame of the video segment, and thus obtain the second historical temperature value of each location at multiple historical time points.
[0046] S1042, determining a first historical temperature variance and a first historical temperature average value of the hot pipe segment within each selected frame based on the first historical temperature value, and determining a second temperature variance and a second historical temperature average value of the cold pipe segment within each selected frame based on the second historical infrared video.
[0047] For the embodiment of the present application, after the electronic device obtains the first historical temperature value, the first historical temperature value of each position in each frame selection range and each position at each time point in history is first summed and then the average value is calculated to obtain the first historical temperature average value. The higher the first historical temperature average value, the higher the temperature of the hot pipe section in the frame selection range in history, which means that the temperature in a certain period of time in the future can also be maintained at a high level, so the effect of thermoelectric power generation is better. After the electronic device determines the first historical temperature average value, it uses the variance calculation formula to obtain the first historical temperature variance for the first historical temperature value and the first historical temperature average value. The larger the first historical temperature variance, the more drastic the temperature change in history, the more unstable the temperature is, and the more unstable the output power of the thermoelectric power generation device is. Similarly, the electronic device determines the second historical temperature average value and the second temperature variance of the cold pipe in each frame selection range in the same way. The lower the second historical temperature average value, the lower the temperature of the cold pipe section in the frame selection range in history, which means that the temperature in a certain period of time in the future can also be maintained at a low level, so the effect of thermoelectric power generation is better.
[0048] S1043, calculating the first quality score of the hot pipe segment in each selected range based on the first historical temperature variance, the first historical temperature average value and the corresponding coefficients, and calculating the second quality score of the cold pipe segment in each selected range based on the second temperature variance, the second historical temperature average value and the corresponding coefficients.
[0049] For the embodiment of the present application, since the first historical temperature variance and the first historical temperature average value are both important factors affecting the temperature quality of the hot pipe section within the selected range, and the degree of influence is different, different coefficients can be set for the above two. Assuming that the coefficient of the first historical temperature variance is 0.6 and the coefficient of the first historical temperature average value is 0.4, since the larger the variance, the higher the quality of the hot pipe section, that is, the variance is inversely proportional to the quality, the electronic device can find the inverse of the first historical temperature variance, and then combine the coefficients to perform weighted calculation to obtain the first quality score of the hot pipe section within each selected range. Similarly, the electronic device can determine the second quality score of the cold pipe within each selected range in the above manner, but since the lower the temperature of the cold pipe, the higher the quality of the selected range, that is, the temperature of the second historical temperature average value is inversely proportional to the quality, the electronic device can find the inverse of the first historical average value, and find the inverse of the second historical temperature variance, and then combine the coefficients to perform weighted calculation to obtain the second quality score of the cold pipe within each selected range.
[0050] In a possible implementation of the embodiment of the present application, in S106, a target frame selection range is determined from the frame selection range to be selected based on the first average value and the second average value of the frame selection range to be selected, and specifically includes step S1061 (not shown in the figure), step S1062 (not shown in the figure), step S1063 (not shown in the figure), and step S1064 (not shown in the figure), wherein: S1061, determining a first difference between a first average value and a second average value of each to-be-selected frame selection range.
[0051] For the embodiment of the present application, after the electronic device determines the to-be-selected box selection range, the first average value and the second average value of each box selection range are subtracted to obtain a first difference value. The larger the first difference value, the larger the corresponding temperature difference power generation power.
[0052] S1062, determining a first distance from each to-be-selected box selection range to the current position of the temperature difference power generation device.
[0053] For the embodiment of the present application, the electronic device may determine the center point of each to-be-selected frame selection range as the position of the to-be-selected frame selection range. A coordinate system may be preset in the electronic device, and the electronic device maps the first infrared image and the second infrared image in the preset coordinate system, thereby obtaining the coordinates of the center point of each frame selection range in the preset coordinate system, and the electronic device marks the preset coordinate system according to the position of the thermoelectric power generation device. Specifically, the first infrared image and the second infrared image show the characteristics of the thermoelectric power generation device, so the electronic device can recognize the characteristics of the thermoelectric power generation device in the infrared image, and then determine the position of the thermoelectric power generation device in the preset coordinate system, and the electronic device then calculates the first distance from each to-be-selected frame selection range to the current position of the thermoelectric power generation device according to the distance formula between the two points.
[0054] S1063: Determine a first score for each candidate selection range based on the first difference, the first distance, the total quality score of each candidate selection range, and the corresponding coefficients.
[0055] For the embodiment of the present application, the larger the first difference value of the range to be selected, the more suitable it is as an area for the thermoelectric power generation device to generate electricity, and the first difference value is proportional to whether the thermoelectric power generation device is suitable for generating electricity. The smaller the first distance, the shorter the distance the thermoelectric power generation device needs to move, the faster the thermoelectric power generation device can move to the area, the smaller the impact on the thermoelectric power generation, and the more suitable it is as an area for the thermoelectric power generation device to generate electricity. The first distance is inversely proportional to whether the thermoelectric power generation device is suitable for generating electricity. The larger the total quality score, the smaller the temperature change of the hot pipe section and the cold pipe section in the range to be selected in the future period of time, and the higher the temperature of the hot pipe section and the lower the temperature of the cold pipe section, which is more suitable for the thermoelectric power generation device to generate electricity, and the total quality score is proportional to whether the thermoelectric power generation device is suitable for generating electricity. Therefore, the above three factors are all key factors that affect whether the range to be selected is suitable for power generation as a temperature difference power generation device, and the degree of influence is different. Different coefficients can be set for the above three factors, and then the electronic device performs weighted calculation on the above three factors to obtain the first score of each range to be selected, among which the reciprocal of the first distance can be used for weighted calculation of the first distance, so that the final first score is more in line with reality.
[0056] S1064: Determine the to-be-selected frame selection range with the highest first score as the target frame selection range.
[0057] For the embodiment of the present application, after determining the first score of each to-be-selected frame selection range, the electronic device can sort the first scores and determine the to-be-selected frame selection range with the highest first score as the target frame selection range. The highest first score indicates that the to-be-selected frame selection range is more suitable as the target frame selection range in all aspects, that is, determining the first score of each to-be-selected frame selection range according to the first difference, the first distance and the total quality score facilitates quantifying the suitability of each to-be-selected frame selection range, and determining the first score according to the first difference, the first distance and the total quality score is more accurate.
[0058] In a possible implementation of the embodiment of the present application, the first historical infrared video and the second historical infrared video are both long images taken continuously, and the positions of the two contact plates on the temperature difference power generation device within the target frame selection range are determined in step S107, specifically including step S1071 (not shown in the figure), step S1072 (not shown in the figure), step S1073 (not shown in the figure) and step S1074 (not shown in the figure), wherein: S1071, determine a first sub-video of multiple positions on the hot pipe segment within the target selection range from the first historical infrared video, and determine a second sub-video of multiple positions on the cold pipe segment within the target selection range from the second historical infrared video.
[0059] For the embodiment of the present application, the electronic device segments the first historical infrared video according to the target frame selection range, and segments the segmented first historical infrared video again according to multiple positions on the hot pipe segment within the target frame selection range to obtain a first sub-video for each position. Similarly, the electronic device processes the second historical infrared video in the above manner to obtain a second sub-video for each position on the cold pipe segment.
[0060] S1072, calculating the first similarity between two adjacent frames in the first sub-video at each position on the hot pipe segment, and determining the first similarity average value, calculating the second similarity between two adjacent frames in the second sub-video on the cold pipe segment, and determining the second similarity average value.
[0061] For the embodiment of the present application, the electronic device calculates the first similarity between two adjacent frames in the first sub-video at each position. Specifically, the first similarity can be calculated by structural similarity measurement (SSIM). It can also be calculated by cosine similarity, histogram, or other methods, which are not limited here. Similarly, the electronic device calculates the second similarity in the same manner as above.
[0062] After the electronic device determines the first similarity and the second similarity, it determines the first similarity average value and the second similarity average value according to the average value calculation formula. The higher the similarity of a certain position, the smaller the change between two adjacent frames of the position, that is, the smaller the temperature change at the position, that is, the more stable the temperature at the position. It is more accurate to characterize the overall temperature change at each position by the similarity average value.
[0063] S1073, determining a second score for each position on the hot pipe segment based on the first similarity average, the first temperature value of each position, and the corresponding coefficient, and determining a third score for each position on the cold pipe segment based on the second similarity average, the second temperature value of each position, and the corresponding coefficient.
[0064] For the embodiment of the present application, the higher the average first similarity value of a certain position of the hot pipe section within the target selection range, the smaller the temperature change at that position, and the more suitable it is for the thermoelectric power generation device to generate electricity at that position. The higher the average second similarity value of a certain position of the cold pipe section within the target selection range, the smaller the temperature change at that position, and the more suitable it is for the thermoelectric power generation device to generate electricity at that position. Furthermore, the higher the current first temperature value of a certain position of the hot pipe section within the target selection range, the more suitable it is as a power generation position. The higher the current second temperature value of a certain position of the cold pipe section within the target selection range, the more suitable it is as a power generation position. Therefore, the staff can mention the coefficients of the first similarity average value and the first temperature value of the device, and the electronic device performs weighted calculation on the first similarity average value and the first temperature value of each position according to the corresponding coefficient to obtain the second score of each position on the hot pipe section in the target selection range. Similarly, the electronic device determines the third score in the same way, and the inverse of the second temperature value can be used for calculation during the calculation process.
[0065] S1074, determining the position with the second highest score as the position where the thermoelectric power generation device contacts the plate on the hot pipe, and determining the position with the third highest score as the position where the thermoelectric power generation device contacts the plate on the cold pipe.
[0066] For the embodiment of the present application, the higher the second score, the more suitable it is for the position of the contact plate of the thermoelectric power generation device on the hot pipe, and the higher the third score, the more suitable it is for the position of the contact plate of the thermoelectric power generation device on the cold pipe. Therefore, the electronic device can determine the position with the highest second score as the position of the contact plate on the hot pipe, and the position with the highest third score as the position of the contact plate on the cold pipe. By determining the position of each contact plate, thermoelectric power generation is performed at the corresponding position to achieve a better power generation effect.
[0067] In a possible implementation of the embodiment of the present application, step S106 further includes step S1 (not shown in the figure), step S2 (not shown in the figure), step S3 (not shown in the figure) and step S4 (not shown in the figure), wherein: S1, obtaining a third temperature value at a hot pipe and a fourth temperature value at a cold pipe at a current location of a temperature difference power generation device.
[0068] For the embodiment of the present application, a temperature sensor may be provided on the contact plate of the thermoelectric power generation device to collect the third temperature value at the hot pipe and the fourth temperature value at the cold pipe where the thermoelectric power generation device is currently located.
[0069] S2, calculating a second difference between the third temperature value and the fourth temperature value.
[0070] For the embodiment of the present application, the electronic device differs the third temperature value and the fourth temperature value to obtain a second difference. The smaller the second difference is, the smaller the temperature difference is, the smaller the current output power is, and the more necessary it is to move to the target selection range in time for more stable and higher-power power generation.
[0071] S3, calculating the second distance from the target selection range to the current position.
[0072] For the embodiment of the present application, the electronic device can calculate the second distance from the target selection range to the current location in the manner disclosed in step S1062. The longer the second distance is, the longer it takes to move to the target selection range.
[0073] S4, determining a moving speed of the temperature difference power generation device based on the second difference, the second distance and their corresponding coefficients.
[0074] For the embodiment of the present application, in order to allow the thermoelectric power generation device to quickly move to the target frame selection range, it is necessary to determine a suitable speed. The smaller the second difference, the more urgent it is to move to the target frame selection range, the faster the speed required, the second difference is inversely proportional to the speed, and the larger the second distance, the faster the speed required to move to the target frame selection range, and the second difference is proportional to the speed. The staff can set different coefficients for the second difference and the second distance, and the electronic device performs weighted calculation of the second difference and the second distance according to the coefficient to obtain a score, wherein the reciprocal of the second difference can be used when calculating the score. Multiple score intervals can be preset in the electronic device, and each score interval corresponds to a suitable speed to enable the thermoelectric power generation device to quickly move to the target frame selection range. The electronic device determines the preset score interval where the score is located, and determines the speed corresponding to the interval as the moving speed of the thermoelectric power generation device. By determining a suitable moving speed according to the second difference and the second distance, the thermoelectric power generation device can be moved to the target frame selection range faster, and then enter the state of thermoelectric power generation faster.
[0075] In a possible implementation of the embodiment of the present application, step S107 includes step 1 and step 2, wherein: Step 1: Control and disconnect the power supply line from the temperature difference power generation device to the industrial instrument.
[0076] Step 2: Switch the power supply line of the industrial instrument to the backup battery.
[0077] For the embodiment of the present application, after determining the position of the contact plate, the temperature difference power generation device needs to be moved to the target frame selection range. During the movement, the output power will be unstable, which will cause the instability of the industrial instrument. Therefore, the staff can install a line switching switch at the industrial instrument, such as a single-pole double-throw switch, to achieve the switching of the power supply line of the temperature difference power generation device and the power supply line of the backup battery. The single-pole double-throw switch is electromagnetic, and the electronic device is connected to the single-pole double-throw switch through a wire, so as to send a control signal to the single-pole double-throw switch in advance, so that the power supply line of the industrial instrument is switched to the backup battery. After being connected to the line of the backup battery, the electronic device can control the movement of the temperature difference power generation device. In this way, the industrial instrument is always stable and the possibility of failure of the industrial instrument is reduced.
[0078] In a possible implementation of the embodiment of the present application, after step S107, the following steps are further included: Step three, obtaining the power generation power of the temperature difference power generation device.
[0079] Step 4: When the power generation reaches the preset power generation, the power output end of the temperature difference power generation device is controlled to connect to the backup battery.
[0080] For the embodiment of the present application, the electronic device is connected to the thermoelectric power generation device through a wire or wirelessly to obtain the power generation of the thermoelectric power generation device. The preset power generation is used as a dividing point for whether the backup battery can be charged with sufficient power while supplying power to the industrial instrument. The electronic device compares the obtained power generation with the preset power generation. If the preset power generation is reached, it means that the backup battery can be charged while supplying power to the industrial instrument. The power output end of the thermoelectric power generation device is also connected to the backup battery by a line, and an electric control switch is provided to control the on and off of the line. The electronic device outputs a control signal to the electric control switch to make the line conductive, thereby charging the backup battery, thereby improving the utilization rate of thermoelectric power generation.
[0081] The above embodiment introduces a temperature difference power generation control method from the perspective of method flow, and the following embodiment introduces a temperature difference power generation control system. Please refer to the following embodiment for details.
[0082] The present application embodiment provides a temperature difference power generation control system, such as Figure 2 As shown, the system may specifically include an infrared camera device 2 , an electronic device 3 and a temperature difference power generation device 4 .
[0083] The infrared camera device 2 is arranged in a location such as a factory building where infrared images of hot pipes and cold pipes can be captured, and is used to capture a first infrared image of the hot pipe and a second infrared image of the cold pipe.
[0084] The electronic device 3 is connected to the infrared camera device 2 via a wire or wirelessly, and the electronic device 3 is used to execute the contents disclosed in the above method embodiment.
[0085] The temperature difference power generation device 4 is arranged on the hot pipe and the cold pipe and can move on the hot pipe and the cold pipe. Figure 3 and Figure 4 As shown, the temperature difference power generation device 4 includes two annular bases 41 , a connecting plate 42 , a contact plate 43 arranged on each annular base 41 , a running wheel 44 arranged on each annular base 41 , and a hoisting device 45 arranged on each annular base 41 .
[0086] Reference Figure 3 and Figure 4 , the annular base 41 wraps around the hot pipe and the cold pipe, that is, the cross section of the annular base 41 is "C" shaped, and the annular base 41 can wrap around more than half of the outer wall of the pipe, or the annular 41 can be a cylindrical hollow structure to be sleeved on the pipe, so that the temperature difference power generation device is not easy to fall off the pipe, and each annular base 41 is provided with a plurality of running wheels 44, and the running wheels 44 are located on the side of the annular base 41 close to the pipe, and the running wheels 44 are rotatably connected with the annular base 41. The annular base 41 is provided with a driving device (not shown in the figure) for driving the running wheels 44 to rotate, and the driving device can be a motor, and the output shaft of the motor is fixedly connected with the rotating shaft of the running wheel 44, and one running wheel 44 can correspond to one motor. In other embodiments, traction devices can be respectively provided on both sides of the pipe, and the two traction devices are respectively fixedly connected with the temperature difference power generation device through traction ropes, and the traction devices can release and recycle the traction ropes, thereby driving the temperature difference power generation device to move.
[0087] Reference Figure 3 and Figure 4 , two annular bases 41 are respectively arranged on the hot pipe and the cold pipe. A groove 411 is opened on the side of the annular base 41 close to the pipe along the direction of the pipe. The contact plate 43 is located in the groove 411 and is slidably connected to the annular base 41. A driving motor 46 and a screw 47 are arranged on the annular base 41. The direction of the screw 47 is consistent with the direction of the groove 411. One end of the screw 47 is fixedly connected to the output shaft of the driving motor 46, and the other end is embedded in the annular base 41 and is rotatably connected to the annular base 41. A fixing block 431 is fixedly connected to the contact plate 43. The fixing block 431 is threadedly connected to the screw 47. The rotation of the driving motor 46 drives the screw 47 to rotate. The rotation of the screw 47 drives the contact plate 43 to move in the groove 411, so that when the temperature difference power generation device 4 moves to the target frame selection range, the contact plate 43 is adjusted to the corresponding position.
[0088] Reference Figure 3 and Figure 4The two ends of the connecting plate 42 are respectively fixed on the two annular bases 41. The connecting plate 42 is provided with a power generation component 48 manufactured according to the temperature difference power generation principle. The power generation component 48 is a prior art and will not be described in detail here.
[0089] Reference Figure 3 and Figure 4 A wire for supplying power to the industrial instrument is wound around the hoisting device 45, one end of the wire is connected to the power generation component 48, and the other end is connected to the industrial instrument. The temperature difference power generation device 4 is connected to the electronic device 3 through a wire or wirelessly, so that the electronic device 3 controls the temperature difference power generation device 4 to move to the target frame selection range, and controls the two contact plates 43 to move to the corresponding positions.
[0090] An electronic device is provided in an embodiment of the present application, such as Figure 5 As shown, Figure 5 The electronic device 3 shown includes: a processor 31 and a memory 33. The processor 31 and the memory 33 are connected, such as through a bus 32. Optionally, the electronic device 3 may also include a transceiver 34. It should be noted that in actual applications, the transceiver 34 is not limited to one, and the structure of the electronic device 3 does not constitute a limitation on the embodiments of the present application.
[0091] The processor 31 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 31 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0092] The bus 32 may include a path for transmitting information between the above components. The bus 32 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 32 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but it does not mean that there is only one bus or only one type of bus.
[0093] The memory 33 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0094] The memory 33 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 31 is used to execute the application code stored in the memory 33 to implement the contents shown in the above method embodiment.
[0095] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 5 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0096] The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment. Compared with the related art, the preset frame selection range in the embodiment of the present application is a range determined according to the adjustment range of the two contact plates when the temperature difference power generation device is in one position. The first historical infrared image represents the temperature change of the hot pipe in the past, and the second historical infrared image represents the temperature change of the cold pipe in the past. The more stable the temperature change and the higher or lower the temperature, the more suitable the location is for temperature difference power generation. Therefore, the first quality score of the hot pipe section in each frame selection range is determined according to the first historical infrared image, and the second quality score of the cold pipe in each frame selection range is determined according to the second historical infrared image, and then the total quality score of each frame selection range is determined. The higher the total quality score, the more stable the temperature change in the past and the higher or lower the temperature, which further indicates that in the future period of time, The temperature change is also stable and the temperature is high or low, which is suitable as the power generation position of the thermoelectric power generation device. Therefore, a preset number of candidate selection ranges with the highest total quality score are determined, and the target selection range is determined according to the first average value and the second average value of each candidate selection range, that is, the area most suitable for thermoelectric power generation. The optimal position of the contact plate on the hot pipe and the optimal position of the contact plate on the cold pipe within the target selection range are further determined, and the thermoelectric power generation equipment is controlled to move to the target selection range, and the contact plate is controlled to move to the corresponding position. By determining the target selection range with stable temperature change and high or low temperature, and determining the position of the contact plate in the target selection range, the output power is more stable when thermoelectric power generation is performed within the target selection range. .
[0097] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0098] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A temperature difference power generation control method, characterized in that: include: Acquire a first infrared image of a hot pipeline, a second infrared image of a cold pipeline, a first historical infrared video of the hot pipeline, and a second historical infrared video of the cold pipeline; Determine a first temperature value at each location of the hot pipe based on the first infrared image, and determine a second temperature value at each location of the cold pipe based on the second infrared image; Scan the hot pipe and the cold pipe based on a preset frame selection range, and calculate a first average value of the first temperature value and a second average value of the second temperature value within each frame selection range; Determine a first quality score for the hot pipe segment within each selected frame based on the first historical infrared video, and determine a second quality score for the cold pipe segment within each selected frame based on the second historical infrared video; Determine a total quality score of each selection range based on the first quality score and the second quality score, and determine a preset number of to-be-selected selection ranges having the highest total quality scores; Determine a target frame selection range from the frame selection range to be selected based on the first average value and the second average value of the frame selection range to be selected; The positions of the two contact plates on the temperature difference power generation device within the target frame selection range are determined, the temperature difference power generation device is controlled to move into the target frame selection range, and the two contact plates are controlled to move to corresponding positions.
2. A thermoelectric power generation control method according to claim 1, characterized in that: The step of determining a first quality score of a hot pipe segment within each selected frame based on the first historical infrared video, and determining a second quality score of a cold pipe segment within each selected frame based on the second historical infrared video, comprises: Determine a first historical temperature value at each location on the hot pipe segment within each frame selection range based on the first historical infrared video, and determine a second historical temperature value at each location on the cold pipe segment within each frame selection range based on the second historical infrared video; Determine a first historical temperature variance and a first historical temperature average value of a hot pipe segment within each selected frame based on the first historical temperature value, and determine a second temperature variance and a second historical temperature average value of a cold pipe segment within each selected frame based on the second historical infrared video; The first quality score of the hot pipe section within each selected range is calculated based on the first historical temperature variance, the first historical temperature average and the corresponding coefficients, and the second quality score of the cold pipe section within each selected range is calculated based on the second temperature variance, the second historical temperature average and the corresponding coefficients.
3. A thermoelectric power generation control method according to claim 2, characterized in that: The determining a target frame selection range from the to-be-selected frame selection range based on the first average value and the second average value includes: Determine a first difference between a first average value and a second average value of each to-be-selected frame selection range; Determine a first distance from each to-be-selected box selection range to the current position of the temperature difference power generation device; Determine a first score for each to-be-selected frame selection range based on the first difference, the first distance, the total quality score of each to-be-selected frame selection range, and the respective corresponding coefficients; The to-be-selected frame selection range with the first highest score is determined as the target frame selection range.
4. A thermoelectric power generation control method according to claim 1, characterized in that: The first historical infrared video and the second historical infrared video are both long images taken continuously, and the determining of the positions of the two contact plates on the temperature difference power generation device within the target frame selection range includes: Determine a first sub-video at multiple locations on a hot pipe segment within a target selection range from the first historical infrared video, and determine a second sub-video at multiple locations on a cold pipe segment within a target selection range from the second historical infrared video; Calculating a first similarity between two adjacent frames in the first sub-video at each position on the hot pipe segment and determining a first similarity average value, calculating a second similarity between two adjacent frames in the second sub-video on the cold pipe segment and determining a second similarity average value; Determine a second score for each position on the hot pipe section based on the first similarity average value, the first temperature value of each position, and the corresponding coefficients, and determine a third score for each position on the cold pipe section based on the second similarity average value, the second temperature value of each position, and the corresponding coefficients; The second highest scoring position is determined as the position where the thermoelectric power generation device contacts a plate on the hot pipe, and the third highest scoring position is determined as the position where the thermoelectric power generation device contacts a plate on the cold pipe.
5. A thermoelectric power generation control method according to claim 1, characterized in that: The method further comprises: Obtain a third temperature value at the hot pipe and a fourth temperature value at the cold pipe at the current location of the temperature difference power generation device; Calculating a second difference between the third temperature value and the fourth temperature value; Calculate a second distance from the target selection range to the current location; The moving speed of the temperature difference power generation device is determined based on the second difference, the second distance and the respective corresponding coefficients.
6. A thermoelectric power generation control method according to claim 1, characterized in that: The step of determining the positions of the two contact plates on the temperature difference power generation device within the target frame selection range comprises: Controlling to disconnect the power supply line from the temperature difference power generation device to the industrial instrument; The power supply circuit of the industrial instrument is switched and connected to a backup battery.
7. A thermoelectric power generation control method according to claim 6, characterized in that: The method further comprises: Obtaining the power generation power of the temperature difference power generation device; When the power generation power reaches the preset power generation power, the power output end of the temperature difference power generation device is controlled to connect to the backup battery.
8. A temperature difference power generation control system, characterized in that: include: An infrared camera device, used to collect a first infrared image of the hot pipe and a second infrared image of the cold pipe; An electronic device, used for acquiring a first infrared image of a hot pipe, a second infrared image of a cold pipe, a first historical infrared video of the hot pipe, and a second historical infrared video of the cold pipe; determining a first temperature value at each location of the hot pipe based on the first infrared image, and determining a second temperature value at each location of the cold pipe based on the second infrared image; Scan the hot pipe and the cold pipe based on a preset selection range, and calculate a first average value of the first temperature value and a second average value of the second temperature value within each selection range; determine a first quality score of the hot pipe segment within each selection range based on the first historical infrared video, and determine a second quality score of the cold pipe segment within each selection range based on the second historical infrared video; Determine the total quality score of each selection range based on the first quality score and the second quality score, and determine a preset number of to-be-selected selection ranges with the highest total quality score; determine a target selection range from the to-be-selected selection range based on the first average value and the second average value of the to-be-selected selection range; determine the positions of the two contact plates on the thermoelectric power generation device within the target selection range, control the thermoelectric power generation device to move into the target selection range, and control the two contact plates to move to corresponding positions; A temperature difference power generation device is arranged on a hot pipe and a cold pipe, and includes two annular bases, a connecting plate, a contact plate arranged on each annular base, a running wheel arranged on each annular base, and a hoisting device arranged on each annular base; the two annular bases are respectively arranged on the hot pipe and the cold pipe, and a groove is opened along the pipe direction on one side of the annular base close to the pipe, the contact plate is located in the groove and is slidably connected to the annular base, the two ends of the connecting plate are respectively fixed on the two annular bases, a power generation component is arranged on the connecting plate, and a wire for supplying power to the industrial instrument is wound on the hoisting device, one end of the wire is connected to the power generation component, and the other end is connected to the industrial instrument; the temperature difference power generation device is electrically connected to the electronic device, so that the electronic device controls the temperature difference power generation device to move into the target frame selection range, and controls the two contact plates to move to corresponding positions.
9. An electronic device, characterized in that: It includes: at least one processor; Memory; At least one application, wherein the at least one application is stored in the memory and configured to be executed by the at least one processor, and the at least one application is used to execute a temperature difference power generation control method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed in a computer, the computer is caused to execute a temperature difference power generation control method as claimed in any one of claims 1 to 7.
