Summary of the invention
In view of this, the application provides a kind of transmission line of electricity temperature checking method and device, cannot find in time the problem of circuit abnormal temperature for solving existing transmission line of electricity temperature checking method.
To achieve these goals, the existing scheme proposing is as follows:
A transmission line of electricity temperature checking method, comprising:
Receive the temperature signal of the transmission line of electricity of temperature sensor collection;
Determine apart from the maximum temperature difference of the transmission line of electricity in current time the first Preset Time and the ratio of temperature difference reference value, the deterministic process of described temperature difference reference value is: in apart from current time the second Preset Time, take the 3rd Preset Time as window long, choose the maximum temperature difference of the transmission line of electricity in long of window described in several, by one of minimum in several maximum temperature differences, be defined as described temperature difference reference value, described the second Preset Time is greater than described the 3rd Preset Time, and described the 3rd Preset Time is greater than described the first Preset Time;
Judge whether described ratio surpasses pre-set threshold value, if so, call carrier equipment and by described transmission line of electricity, to user terminal, send temperature value and the corresponding acquisition time of transmission line of electricity.
Preferably, when the described ratio of judgement surpasses pre-set threshold value, also comprise:
Whether the upper moment maximum temperature difference for determined transmission line of electricity and the ratio of temperature difference reference value that judge current time surpass pre-set threshold value, if not, call carrier equipment and to user terminal, send alerting signal by described transmission line of electricity.
Preferably, after the temperature signal of the transmission line of electricity gathering at described reception temperature sensor, also comprise:
At least meet first when pre-conditioned determining, call carrier equipment and by described transmission line of electricity, to user terminal, send the current temperature value of transmission line of electricity, described first pre-conditioned be that the temperature value of transmission line of electricity of current reception is over preset limit value.
Preferably, describedly at least meet first when pre-conditioned determining, call carrier equipment by described transmission line of electricity the current temperature value to user terminal transmission transmission line of electricity, comprising:
Determine meet simultaneously first pre-conditioned and second when pre-conditioned, call carrier equipment and by described transmission line of electricity, to user terminal, send the current temperature value of transmission line of electricity, described second pre-conditioned be that the temperature value of upper one transmission line of electricity constantly of current time is over described preset limit value.
Preferably, also comprise:
Receive the reading command that described user terminal sends, described reading command comprises the initial time that will read transmission line of electricity temperature;
Call carrier equipment, the set of the temperature value of the transmission line of electricity corresponding with described initial time is sent to user terminal by described transmission line of electricity.
A transmission line of electricity temperature-detecting device, comprising:
Signal receiving unit, for receiving the temperature signal of the transmission line of electricity of temperature sensor collection;
Ratio determining unit, for determining apart from the maximum temperature difference of the transmission line of electricity in current time the first Preset Time and the ratio of temperature difference reference value, the deterministic process of described temperature difference reference value is: in apart from current time the second Preset Time, take the 3rd Preset Time as window long, choose the maximum temperature difference of the transmission line of electricity in long of window described in several, by one of minimum in several maximum temperature differences, be defined as described temperature difference reference value, described the second Preset Time is greater than described the 3rd Preset Time, and described the 3rd Preset Time is greater than described the first Preset Time;
The first judging unit, for judging whether described ratio surpasses pre-set threshold value;
The first processing unit, for when judgment result is that of described the first judging unit is, calls carrier equipment and by described transmission line of electricity, to user terminal, sends temperature value and the corresponding acquisition time of transmission line of electricity.
Preferably, also comprise:
The second judging unit, for when judgment result is that of described the first judging unit is, judges whether a upper moment maximum temperature difference for determined transmission line of electricity and the ratio of temperature difference reference value of current time surpasses pre-set threshold value;
The second processing unit, when the determination result is NO at described the second judging unit, calls carrier equipment and to user terminal, sends alerting signal by described transmission line of electricity.
Preferably, also comprise:
The 3rd processing unit, for at least meeting first when pre-conditioned determining, call carrier equipment and by described transmission line of electricity, to user terminal, send the current temperature value of transmission line of electricity, described first pre-conditioned be that the temperature value of transmission line of electricity of current reception is over preset limit value.
Preferably, described the 3rd processing unit comprises:
The 3rd processes subelement, for determine meet simultaneously first pre-conditioned and second when pre-conditioned, call carrier equipment and by described transmission line of electricity, to user terminal, send the current temperature value of transmission line of electricity, described second pre-conditioned be that the temperature value of upper one transmission line of electricity constantly of current time is over described preset limit value.
Preferably, also comprise:
Command reception unit, the reading command sending for receiving described user terminal, described reading command comprises the initial time that will read transmission line of electricity temperature;
Instruction response unit, for calling carrier equipment, is sent to user terminal by the set of the temperature value of the transmission line of electricity corresponding with described initial time by described transmission line of electricity.
From above-mentioned technical scheme, can find out, the transmission line of electricity temperature checking method that the embodiment of the present application provides, by reception, be arranged on the temperature signal that the temperature sensor on transmission line of electricity gathers, determine apart from the maximum temperature difference of the transmission line of electricity in current time the first Preset Time and the ratio of temperature difference reference value, wherein the deterministic process of temperature difference reference value is: in apart from current time the second Preset Time, take the 3rd Preset Time as window long, choose the maximum temperature difference of the transmission line of electricity in long of window described in several, by one of minimum in several maximum temperature differences, be defined as described temperature difference reference value, then judge whether described ratio surpasses pre-set threshold value, if, call carrier equipment and by described transmission line of electricity, to user terminal, send temperature value and the corresponding acquisition time of transmission line of electricity.The application, by set temperature sensor on transmission line of electricity, judges after processing the signal gathering, and sends the temperature of transmission line of electricity when finding that it occurs temperature anomaly to the user terminal in a distant place, has realized the timely discovery to transmission line of electricity temperature anomaly.
Further, the application carries out the judgement of temperature anomaly by the temperature difference of contrast transmission line of electricity and the magnitude relationship between temperature difference reference value, wherein temperature reference value not immobilizes, but with reference to the historical temperature value that changes transmission line of electricity, it is a parameter gradually changing in time, thereby the interference of the variation of having avoided transmission line of electricity local environment temperature to the temperature signal gathering, makes temperature detection more accurate.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Embodiment based in the application, those of ordinary skills are not making the every other embodiment obtaining under creative work prerequisite, all belong to the scope of the application's protection.
In order to address the deficiencies of the prior art, the application is provided with temperature sensor on transmission line of electricity to be measured, and connected treatment facility, as single-chip microcomputer etc.By single-chip microcomputer, receive the temperature signal of temperature sensor transmission, temperature signal is processed, after judging according to the program setting in advance, when finding to satisfy condition, to user terminal, send information.Realize remote monitoring, can find in time and solve the problem of transmission line of electricity temperature anomaly.
The present embodiment describes the angle from single-chip microcomputer in detail to temperature checking method, referring to Fig. 1, Fig. 1 is the disclosed a kind of transmission line of electricity temperature checking method process flow diagram of the embodiment of the present application.
As shown in Figure 1, the method comprises:
The temperature signal of the transmission line of electricity that step 100, reception temperature sensor gather;
Step 110, definite apart from the maximum temperature difference of the transmission line of electricity in current time the first Preset Time and the ratio of temperature difference reference value;
Wherein, the deterministic process of described temperature difference reference value is: in apart from current time the second Preset Time, the 3rd Preset Time of take is long as window, chooses the maximum temperature difference of the transmission line of electricity in long of window described in several, by several maximum temperature differences minimum one be defined as described temperature difference reference value.
It should be noted that, the first Preset Time, the second Preset Time, the 3rd Preset Time are the value of setting voluntarily here, and wherein said the second Preset Time is greater than described the 3rd Preset Time, and described the 3rd Preset Time is greater than described the first Preset Time.If embody three's relation by an example, the first Preset Time can be 3 minutes, and the second Preset Time is 2 hours, and the 3rd Preset Time is 1 hour.
Below by an instantiation, above-mentioned steps is described:
We arrange the first Preset Time is 3 minutes, and the second Preset Time is 2 hours, and the 3rd Preset Time is 1 hour.
From current time, retrodict forward 3 minutes, determine the maximum temperature difference of transmission line of electricity and the ratio value of temperature difference reference value in this time period.Wherein, in time period the temperature value of transmission line of electricity comprise a plurality of, we select temperature difference maximum as maximum temperature difference.
For the deterministic process of temperature difference reference value, as follows:
From current time, retrodict forward 2 hours, within these 2 hours, we take 1 hour as window long, choose the maximum temperature difference of the transmission line of electricity in several windows length, suppose that the maximum temperature difference of choosing has 10,20,30,40 (unit is degree), from these maximum temperature differences, select so one minimum 10 as temperature difference reference value.
It should be noted that, when sliding window is chosen here, step-length can arrange arbitrarily, and it is long that step value can be less than window, also can be greater than window long.Starting point can be the two ends of time period, can be also middle any position.These do not limit.
We why like this object of operation be that the temperature value of considering temperature sensor collection is likely an improper value, or because weather reason causes the abrupt change of transmission line of electricity temperature, these all can affect normally choosing of temperature difference reference value.The error causing in order to reduce this fortuitous event, we choose near the history of current time sometime in section, in several maximum temperature differences less one as temperature difference reference value.Like this, guaranteed the validity of temperature difference reference value.For example, in above-mentioned maximum temperature difference, 30 and 40 is probably within this time period, to occur that weather suddenly rains, snows, and causes maximum temperature difference to become large, and in fact the circuit temperature difference great changes will take place.Mode by the present embodiment can be rejected this situation.
Step 120, judge that whether described ratio surpass pre-set threshold value, if so, performs step 130;
Step 130, call carrier equipment and by described transmission line of electricity, to user terminal, send temperature value and the corresponding acquisition time of transmission line of electricity.
Particularly, by previous step, calculate gained ratio, we judge that whether this ratio surpass pre-set threshold value this step, if it is abnormal to think that transmission line of electricity temperature occurs, to user terminal, send the current temperature value of transmission line of electricity and to acquisition time that should temperature value.
Here, carrier equipment can be converted to electric signal by temperature and time signal, on transmission line of electricity, to user terminal, transmits.
It should be noted that, the temperature value gathering for temperature sensor, single-chip microcomputer all can carry out record, while recording, acquisition time correspondence is preserved simultaneously.Like this, if transmission line of electricity occurs abnormal and causes temporarily cannot be to user terminal to transmit data time, the data that can recover to call after normal storage at circuit send.
The transmission line of electricity temperature checking method that the embodiment of the present application provides, by reception, be arranged on the temperature signal that the temperature sensor on transmission line of electricity gathers, determine apart from the maximum temperature difference of the transmission line of electricity in current time the first Preset Time and the ratio of temperature difference reference value, wherein the deterministic process of temperature difference reference value is: in apart from current time the second Preset Time, take the 3rd Preset Time as window long, choose the maximum temperature difference of the transmission line of electricity in long of window described in several, by one of minimum in several maximum temperature differences, be defined as described temperature difference reference value, then judge whether described ratio surpasses pre-set threshold value, if, call carrier equipment and by described transmission line of electricity, to user terminal, send temperature value and the corresponding acquisition time of transmission line of electricity.The application, by set temperature sensor on transmission line of electricity, judges after processing the signal gathering, and sends the temperature of transmission line of electricity when finding that it occurs temperature anomaly to the user terminal in a distant place, has realized the timely discovery to transmission line of electricity temperature anomaly.
Further, the application carries out the judgement of temperature anomaly by the temperature difference of contrast transmission line of electricity and the magnitude relationship between temperature difference reference value, wherein temperature reference value not immobilizes, but with reference to the historical temperature value that changes transmission line of electricity, it is a parameter gradually changing in time, thereby the interference of the variation of having avoided transmission line of electricity local environment temperature to the temperature signal gathering, makes temperature detection more accurate.
Referring to Fig. 2, Fig. 2 is the disclosed another kind of transmission line of electricity temperature checking method process flow diagram of the embodiment of the present application.
Known in conjunction with Fig. 1 and Fig. 2, in above-mentioned steps 120, while judging that described ratio surpasses pre-set threshold value, the method can also comprise:
Step 200, a upper moment maximum temperature difference for determined transmission line of electricity that judges current time and the ratio of temperature difference reference value, whether over pre-set threshold value, if not, perform step 210;
Step 210, call carrier equipment and to user terminal, send alerting signal by described transmission line of electricity.
Particularly, while receiving the temperature signal of temperature sensor collection, we all carry out each step of embodiment mono-at every turn.Also, all can the maximum temperature difference of a transmission line of electricity of calculative determination and the ratio of temperature difference reference value after each collection.The step 200 of the present embodiment is and judges whether a upper determined ratio of the moment of current time surpasses pre-set threshold value, whether determined ratio can be with reference to current time deterministic process in embodiment over the deterministic process of pre-set threshold value constantly to go up particularly one, and the two mechanism is consistent.
When on finding, the ratio in a moment surpasses pre-set threshold value, illustrate in the current time section of the being time and find that first the circuit temperature difference surpasses threshold value, therefore when sending temperature signal to user terminal, can also send alerting signal as user terminal, for pointing out user.
Why the present embodiment does not all send alarm signal to user when each discovery ratio surpasses pre-set threshold value, mainly consider that sending frequently alarm signal can cause signal harassing and wrecking to user terminal, user needs only receiving alarm signal when finding that circuit is abnormal first.
Based on this thought, we can imagine, suppose that ratio surpasses pre-set threshold value in time period A, after the very short a period of time after the time period, A finished (for example as 2s), and entry time section B again, in time period B, ratio is again over pre-set threshold value.Obviously, if implemented in the manner described above for this kind of situation, can when entry time section A, send one time alarm signal, when entry time section B, send again one time alarm signal.If in order further to reduce the harassing and wrecking to user, we can no longer send alarm signal when entry time section B, and are transmitting line temperature and time data.Also be, we can arrange a threshold time, if be less than threshold time the interval time that ratio surpassed between two discontinuous time periods of pre-set threshold value, when entering second time discovery ratio over pre-set threshold value, to user terminal, do not send alarm signal.
Referring to Fig. 3, Fig. 3 is disclosed another the transmission line of electricity temperature checking method process flow diagram of the embodiment of the present application.
Known in conjunction with Fig. 1 and Fig. 3, after the temperature signal of the transmission line of electricity gathering at above-mentioned steps 100, reception temperature sensor, the method can also comprise:
Step 300, at least meet first when pre-conditioned determining, call carrier equipment and by transmission line of electricity, to user terminal, send the current temperature value of transmission line of electricity.
Wherein, described first pre-conditioned be that the temperature value of the transmission line of electricity of current reception surpasses preset limit value.
The present embodiment, when finding the transmission line of electricity temperature value of overstepping the extreme limit, can send to user terminal by the temperature value of current circuit., can also send a warning message to user terminal meanwhile, the prompting subscriber's line temperature value of overstepping the extreme limit.
It should be noted that, above-mentioned steps 300 is only an embodiment, and we can carry out concrete refinement by step 300, for example:
Determine meet simultaneously first pre-conditioned and second when pre-conditioned, call carrier equipment by described transmission line of electricity the current temperature value to user terminal transmission transmission line of electricity.Wherein, described second pre-conditioned be that the temperature value of upper one transmission line of electricity constantly of current time surpasses described preset limit value.
Particularly, while surpassing preset limit value iff the transmission line of electricity temperature value gathering at the current temperature sensor receiving of judgement, thinking that transmission line of electricity actual temperature surpasses preset limit value, can there is error in this.Because likely current time transmission line of electricity external environment occurs to change suddenly, causes the temperature of temperature sensor collection to occur deviation.For this reason, we can also further judge whether the temperature value of upper one transmission line of electricity constantly of current time surpasses preset limit value, judgment result is that while being, just think that the temperature of current time transmission line of electricity surpasses preset limit value really, call carrier equipment and by described transmission line of electricity, to user terminal, send the current temperature value of transmission line of electricity.
Certainly, if in order further to confirm, can also continue to carry out above-mentioned deterministic process forward.Certainly, this can increase processes loaded down with trivial details degree, and in order to carry out balance between the two, the application is only whether upper one temperature value constantly gathering that judges current time surpasses preset limit value.
Referring to Fig. 4, Fig. 4 is disclosed another the transmission line of electricity temperature checking method process flow diagram of the embodiment of the present application.
Known in conjunction with Fig. 1 and Fig. 4, the method can also comprise:
Step 400, receive the reading command that described user terminal sends, described reading command comprises the initial time that will read transmission line of electricity temperature;
Step 410, call carrier equipment, the set of the temperature value of the transmission line of electricity corresponding with described initial time is sent to user terminal by described transmission line of electricity.
In this enforcement, user terminal can send reading command, the initial time of the historical data that high-speed microprocessor will read to single-chip microcomputer at any time.Temperature value and corresponding acquisition time in the corresponding time period that single-chip microcomputer can be stored self send to user terminal, for terminal, carry out reference.
The transmission line of electricity temperature-detecting device below the embodiment of the present application being provided is described, and transmission line of electricity temperature-detecting device described below can mutual corresponding reference with above-described transmission line of electricity temperature checking method.
Referring to Fig. 5, Fig. 5 is the disclosed a kind of transmission line of electricity temperature-detecting device structural representation of the embodiment of the present application.
As shown in Figure 5, this device comprises:
Signal receiving unit 51, for receiving the temperature signal of the transmission line of electricity of temperature sensor collection;
Ratio determining unit 52, for determining apart from the maximum temperature difference of the transmission line of electricity in current time the first Preset Time and the ratio of temperature difference reference value, the deterministic process of described temperature difference reference value is: in apart from current time the second Preset Time, take the 3rd Preset Time as window long, choose the maximum temperature difference of the transmission line of electricity in long of window described in several, by one of minimum in several maximum temperature differences, be defined as described temperature difference reference value, described the second Preset Time is greater than described the 3rd Preset Time, and described the 3rd Preset Time is greater than described the first Preset Time;
The first judging unit 53, for judging whether described ratio surpasses pre-set threshold value;
The first processing unit 54, for when judgment result is that of described the first judging unit is, calls carrier equipment and by described transmission line of electricity, to user terminal, sends temperature value and the corresponding acquisition time of transmission line of electricity.
Optionally, Fig. 6 example the optional structure of another kind of the disclosed transmission line of electricity temperature-detecting device of the embodiment of the present application, known in conjunction with Fig. 5 and Fig. 6, this device can also comprise:
The second judging unit 55, for when judgment result is that of described the first judging unit 53 is, judges whether a upper moment maximum temperature difference for determined transmission line of electricity and the ratio of temperature difference reference value of current time surpasses pre-set threshold value;
The second processing unit 56, when the determination result is NO at described the second judging unit 55, calls carrier equipment and to user terminal, sends alerting signal by described transmission line of electricity.
Optionally, Fig. 7 example another optional structure of the disclosed transmission line of electricity temperature-detecting device of the embodiment of the present application, known in conjunction with Fig. 5 and Fig. 7, this device can also comprise:
The 3rd processing unit 57, for at least meeting first when pre-conditioned determining, call carrier equipment and by described transmission line of electricity, to user terminal, send the current temperature value of transmission line of electricity, described first pre-conditioned be that the temperature value of transmission line of electricity of current reception is over preset limit value.
Optionally, Fig. 8 example a kind of optional structure of disclosed the 3rd processing unit of the embodiment of the present application, known referring to Fig. 8, the 3rd processing unit 57 comprises:
The 3rd processes subelement 571, for determine meet simultaneously first pre-conditioned and second when pre-conditioned, call carrier equipment and by described transmission line of electricity, to user terminal, send the current temperature value of transmission line of electricity, described second pre-conditioned be that the temperature value of upper one transmission line of electricity constantly of current time is over described preset limit value.
Optionally, this device of the application's temperature detection can also comprise:
Command reception unit, the reading command sending for receiving described user terminal, described reading command comprises the initial time that will read transmission line of electricity temperature;
Instruction response unit, for calling carrier equipment, is sent to user terminal by the set of the temperature value of the transmission line of electricity corresponding with described initial time by described transmission line of electricity.
Wherein, instruction response unit can read the historical data of storage, and the set of choosing the temperature value of the transmission line of electricity corresponding with described initial time is sent to user terminal by described transmission line of electricity.
The transmission line of electricity temperature-detecting device that the embodiment of the present application provides, by reception, be arranged on the temperature signal that the temperature sensor on transmission line of electricity gathers, determine apart from the maximum temperature difference of the transmission line of electricity in current time the first Preset Time and the ratio of temperature difference reference value, wherein the deterministic process of temperature difference reference value is: in apart from current time the second Preset Time, take the 3rd Preset Time as window long, choose the maximum temperature difference of the transmission line of electricity in long of window described in several, by one of minimum in several maximum temperature differences, be defined as described temperature difference reference value, then judge whether described ratio surpasses pre-set threshold value, if, call carrier equipment and by described transmission line of electricity, to user terminal, send temperature value and the corresponding acquisition time of transmission line of electricity.The application, by set temperature sensor on transmission line of electricity, judges after processing the signal gathering, and sends the temperature of transmission line of electricity when finding that it occurs temperature anomaly to the user terminal in a distant place, has realized the timely discovery to transmission line of electricity temperature anomaly.
Further, the application carries out the judgement of temperature anomaly by the temperature difference of contrast transmission line of electricity and the magnitude relationship between temperature difference reference value, wherein temperature reference value not immobilizes, but with reference to the historical temperature value that changes transmission line of electricity, it is a parameter gradually changing in time, thereby the interference of the variation of having avoided transmission line of electricity local environment temperature to the temperature signal gathering, makes temperature detection more accurate.
The application also provides a kind of single-chip microcomputer, and it comprises transmission line of electricity temperature-detecting device described above.Single-chip microcomputer can select the CPU of ATmegal28-16AC model as single-chip microcomputer mainboard.Peripheral clock module can adopt the clock chip of the DS1302 model of Dallas, data memory module adopts the 24LC64EEPROM programmable and erasable storage chip of atmel corp, and temperature sensor adopts the digital temperature sensor of the DS18B20 model of Dallas.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the application.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can be in the situation that do not depart from the application's spirit or scope, realization in other embodiments.Therefore, the application will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.