CN108955951A - A kind of temperature sensor fault judgment method and device - Google Patents
A kind of temperature sensor fault judgment method and device Download PDFInfo
- Publication number
- CN108955951A CN108955951A CN201810827499.1A CN201810827499A CN108955951A CN 108955951 A CN108955951 A CN 108955951A CN 201810827499 A CN201810827499 A CN 201810827499A CN 108955951 A CN108955951 A CN 108955951A
- Authority
- CN
- China
- Prior art keywords
- temperature
- temperature sensor
- output
- value
- range
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000008859 change Effects 0.000 claims description 56
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 238000001514 detection method Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000007257 malfunction Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01K—MEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
- G01K15/00—Testing or calibrating of thermometers
- G01K15/007—Testing
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Measuring Temperature Or Quantity Of Heat (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The present invention provides a kind of temperature sensor fault judgment method and devices, by the temperature value for obtaining temperature sensor output, judge whether the temperature value of temperature sensor output is greater than preset temperature upper limit or is less than preset temperature upper limit value, when the temperature value of temperature sensor output is greater than preset temperature upper limit or is less than preset temperature upper limit value, calculate the output temperature range for generating temperature sensor, judge whether the output temperature range of temperature sensor is less than preset range value, if being less than, then determine that temperature sensor breaks down, export fault-signal.Judged by the output area to temperature sensor, thus avoid because Rule of judgment is single and caused by erroneous judgement.It avoids because service condition badly causes output signal to be more than that the sensor of preset range is mistaken for failure or occurs accidentally to protect, to guarantee the normal work of electrical equipment.
Description
Technical field
The present invention relates to temperature sensor technology field, in particular to a kind of temperature sensor fault judgment method and dress
It sets.
Background technique
Temperature sensor is usually used in various electrical equipments, in order to guarantee the operational safety of electrical equipment, it will usually be arranged
Temperature sensor fault detection function detects that electrical equipment is controlled when failure to stop working, in order to avoid when temperature sensor fault
Electrical equipment, which detects that the temperature of mistake is still run, leads to dangerous generation.Traditional fault detection method is to temperature sensor
Output signal setting range goes beyond the scope and thinks sensor fault, and when electrical equipment service condition is more severe, normally
Sensor output signal be also possible to beyond setting range cause occur accidentally protect, lead to electrical equipment cisco unity malfunction.
Summary of the invention
In view of this, the present invention is directed to propose a kind of temperature sensor fault judgment method and device, to avoid existing
The problems such as method of temperature sensor fault judgement is easy to appear erroneous judgement.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
In a first aspect, the present invention provides a kind of body-sensing air quantity adjusting method, the body-sensing air quantity adjusting method includes:
Obtain the temperature value T of temperature sensor output;
When the temperature value of acquisition is greater than preset temperature upper limit Tup-limitOr it is less than preset temperature upper limit value
Tlow_limitWhen, it is calculated according to the historical temperature value of temperature sensor output and generates output temperature range Trange;
As the output temperature range TrangeLess than preset range value Trange_setWhen, output temperature sensor fault-signal.
Further, the temperature sensor fault judgment method further include:
As the output temperature range TrangeNot less than the preset range value Trange_setWhen, it calculates and generates the temperature
The maximum output change rate T of sensorchange_rate_max;
As the maximum output change rate Tchange_rate_maxGreater than preset maximum output change rate Tchange_rate_max-set
When, output temperature sensor fault-signal.
Further, the temperature sensor fault judgment method further include:
As the Tchange_rate_maxNo more than preset maximum output change rate Tchange_rate_max-setWhen, output temperature
Sensor normal signal.
The temperature sensor fault judgment method further include:
When the temperature value of acquisition is not more than the preset temperature upper limit Tup-limitAnd not less than at the temperature
Limit value Tlow_limitWhen, output temperature sensor normal signal.
Further, the maximum output change rate T for obtaining temperature sensorchange_rate_maxThe step of include:
It obtains the output temperature value T (n) of the temperature sensor every preset time interval and records and obtain T (n)
Time time (n);
According to formula Tchange_rate(n)=| (T (n)-T (n-1))/(time (n))-time (n-1) | calculate the temperature
The output change rate T of sensorchange_rate(n), wherein n is greater than 1;
Set the maximum output change rate Tchange_rate_maxInitial value be 0, as the output change rate Tchange_rate
(n) value is greater than the maximum output change rate Tchange_rate_maxWhen, with the output change rate Tchange_rate(n) value is more
The new maximum output change rate Tchange_rate_maxValue.
Further, the output temperature range TrangeRefer to the historical high of temperature sensor output within a preset time
Temperature value TmaxWith historical low temperature value TminDifference.
Further, the preset temperature upper limit Tup-limitIt is 60 DEG C, the preset temperature upper limit value Tlow_limit
It is -30 DEG C, the preset range value Trange_setIt is 1 DEG C.
Second aspect, the present invention provides a kind of temperature sensor fault judgment means, the temperature sensor fault is sentenced
Disconnected device includes:
Acquiring unit, for obtaining the temperature value T of temperature sensor output;
First generation unit, for being greater than preset temperature upper limit T when the temperature value obtainedup-limitOr it is less than pre-
If temperature upper limit value Tlow_limitWhen, generate the output temperature range T of the temperature sensorrange;
Failure output unit, for working as the output temperature range TrangeLess than preset range value Trange_setWhen, output temperature
Spend sensor failure signals.
Further, the temperature sensor fault judgment means further include:
Second generation unit, for working as the output temperature range TrangeNot less than the preset range value Trange_setWhen,
Calculate the maximum output change rate T for generating the temperature sensorchange_rate_max;
The failure output unit is also used to as the maximum output change rate Tchange_rate_maxIt is defeated greater than preset maximum
Change rate T outchange_rate_max-setWhen, output temperature sensor fault-signal.
Further, the temperature sensor fault judgment means further include normal signal output unit, the normal letter
Number output unit is used to be not more than the preset temperature upper limit T when the temperature value obtainedup-limitAnd not less than described
Temperature upper limit value Tlow_limitWhen, output temperature sensor normal signal.
Compared with the existing technology, a kind of temperature sensor fault judgment method of the present invention and device have following excellent
Gesture:
By obtaining the temperature value of temperature sensor output, it is default to judge whether the temperature value of temperature sensor output is greater than
Temperature upper limit or be less than preset temperature upper limit value, when temperature sensor output temperature value be greater than preset temperature upper limit
When being worth or being less than preset temperature upper limit value, the output temperature range for generating temperature sensor is calculated, judges temperature sensor
Whether output temperature range is less than preset range value, if being less than, determines that temperature sensor breaks down, exports fault-signal.
Judged by the output area to temperature sensor, thus avoid because Rule of judgment is single and caused by erroneous judgement, keep away
Exempt from accidentally to protect because service condition badly causes output signal to be mistaken for failure or generation more than the sensor of preset range, with
Guarantee the normal work of electrical equipment.
Detailed description of the invention
The attached drawing for constituting a part of the invention is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the functional block diagram of air conditioner described in the embodiment of the present invention.
Fig. 2 is the flow chart of temperature sensor fault judgment method described in the embodiment of the present invention.
Fig. 3 shows the sub-step flow chart of step S60 in Fig. 2.
Fig. 4 shows the functional unit schematic diagram of temperature sensor fault judgment means.
Appended drawing reference: 1- air conditioner, 2- processor, 3- memory, 4- temperature sensor fault judgment means, 5- temperature pass
Sensor, 6- input unit, 7- display unit, 8- acquiring unit, the first judging unit of 9-, the first generation unit of 10-, 11- second
Judging unit, the second generation unit of 12-, 13- third judging unit, 14- failure output unit, 15- normal signal output unit.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should be noted that the relational terms of term " first " and " second " or the like be used merely to an entity or
Operation is distinguished with another entity or operation, and without necessarily requiring or implying between these entities or operation, there are any
This actual relationship or sequence.
Traditional temperature sensor fault detection method is gone beyond the scope i.e. to temperature sensor output signal setting range
Think sensor fault, and when electrical equipment service condition is more severe, normal sensor output signal is also possible to surpass
Setting range causes to judge by accident out, and electrical equipment will do it accidentally protection operation, leads to electrical equipment cisco unity malfunction.
First embodiment
The embodiment of the invention provides a kind of air conditioners 1, are easy erroneous judgement temperature sensor 5 to improve existing air conditioner 1
Fault condition the problem of.Referring to Fig. 1, being the functional block diagram of air conditioner 1 provided in an embodiment of the present invention.The air conditioner 1 packet
It includes: memory 3, processor 2, temperature sensor fault judgment means 4, temperature sensor 5, input unit 6, display unit 7.Its
In, processor 2 is electrically connected with memory 3, temperature sensor 5, input unit 6 and display unit 7.The temperature sensor event
Barrier judgment means 4 include that at least one can be stored in the memory 3 in the form of software or firmware (firmware).
Wherein, memory 3 can be used for storing software program and unit, such as the temperature sensor event in the embodiment of the present invention
Hinder program instruction/unit corresponding to judgment means 4 and method, processor 2 is passed by the temperature that operation is stored in memory 3
Sensor failure judgment device 4, the software program of method and unit, thereby executing various function application and data processing, such as
Body-sensing air quantity adjusting method provided in an embodiment of the present invention.Wherein, the memory 3 may be, but not limited to, and arbitrary access is deposited
Reservoir 3 (Random Access Memory, RAM), read-only memory 3 (Read Only Memory, ROM), may be programmed read-only
Memory 3 (Programmable Read-Only Memory, PROM), 3 (Erasable of erasable read-only memory
Programmable Read-Only Memory, EPROM), (the Electric Erasable of electricallyerasable ROM (EEROM) 3
Programmable Read-Only Memory, EEPROM) etc..
Processor 2 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 2 can be
General processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network
Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), specific integrated circuit (ASIC), field-programmable
Gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.It can be with
Realize or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.
The temperature that temperature sensor 5 is used to detect temperature, and will test is transmitted to processor 2.
Input unit 6 is used to be supplied to the interaction that user input data realizes user and the air conditioner 1.For example, can be with
The parameters etc. of the temperature sensor 5 of setting are inputted for user.The input unit 6 may be, but not limited to, key,
Dummy keyboard etc..
Display unit 7 provided between the air conditioner 1 and user an interactive interface (such as user interface) or
For showing that the fault message exported or normal information are referred to user.
It is to be appreciated that structure shown in FIG. 1 is only to illustrate, air conditioner 1 may include more or less than shown in Fig. 1
Component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software, or its combination
It realizes.
Second embodiment
A kind of temperature sensor fault judgment method is present embodiments provided, to improve 5 breakdown judge of temperature sensor
The problems such as accuracy, it is single to improve existing fault detection method Rule of judgment, is easy to happen erroneous judgement.Referring to Fig. 2, Fig. 2 shows
The flow chart of temperature sensor fault judgment method provided in this embodiment is gone out.
Step S10: the temperature value T that temperature sensor 5 exports is obtained.
It is to be appreciated that temperature sensor 5 has output port, the output port of temperature sensor 5 is for exporting its inspection
Survey the temperature signal obtained.The temperature value T that available temperature sensor 5 exports after handling the temperature signal.It is excellent
Selection of land can obtain the temperature value T (n) that a temperature sensor 5 exports every preset time interval.
Step S20: whether the temperature value T for judging that the temperature sensor 5 obtained exports is greater than preset temperature upper limit
Value Tup-limitOr whether it is less than preset temperature upper limit value Tlow_limit.。
Preset temperature upper limit Tup-limitIt is the maximum temperature values that the preset temperature sensor 5 can export.In advance
If temperature upper limit value Tlow_limit.It is the minimum temperature value that the preset temperature sensor 5 can export.It is to be appreciated that
When the temperature value of the temperature sensor 5 output is in the preset temperature upper limit Tup-limitWith preset temperature upper limit value
Tlow_limit.Between when, the temperature value that the temperature sensor 5 exports is in normal range (NR).When judging the temperature sensor 5
The temperature value of output is in normal range (NR), executes step S80,5 normal signal of output temperature sensor.If the temperature obtained
It spends the temperature value that sensor 5 exports and is less than preset temperature upper limit value Tlow_limit.Or it is greater than preset temperature upper limit Tup-limit
When, execute step S30.
Preferably, preset temperature upper limit Tup-limit, preset temperature upper limit value Tlow_limit.It can be according to the temperature
The performance parameter of degree sensor 5 is set, in this present embodiment, preset temperature upper limit Tup-limitIt is 60 DEG C, it is preset
Temperature upper limit value Tlow_limit.It is -30 DEG C, but not limited to this, it can also be according to the model, performance, parameter etc. of temperature sensor 5
The temperature upper limit and temperature upper limit value of the temperature sensor 5 are set.
Step S30: it is calculated according to the historical temperature value that temperature sensor 5 exports and generates output temperature range Trange。
Output temperature range TrangeRefer to the historical high temperature value T that temperature sensor 5 exports within a preset timemaxWith
Historical low temperature value TminDifference.
Preferably, variable T can be setmax、TminAnd Trange, the variable initial value is set as 0.When the temperature of acquisition
The temperature value T (n) that sensor 5 exports is greater than TmaxWhen, by TmaxIt is updated to current T (n).It is to be appreciated that when T (n) is less than
TminWhen, by TminIt is updated to current T (n).T (n) refers to the temperature that the multiple temperature sensors 5 obtained within a preset time export
Angle value, the value of n are 1,2,3 ...
According to formula Trange=Tmax-TminCalculate the output temperature range T of temperature sensor 5range。
Step S40: judge the output temperature range TrangeWhether preset range value T is less thanrange_set。
Step S30 is calculated into the output temperature range T generated according to the historical temperature value that temperature sensor 5 exportsrangeWith
One preset range value Trange_setIt is compared.Temperature value of each temperature sensor 5 in multiple measurement is variation,
In other words, the temperature value that temperature sensor 5 exports is in a variation range.Generally, the preset range value is
It is set according to the performance of temperature sensor 5 or parameter, in this present embodiment, preset range value Trange_setIt is set as 1
DEG C, the historical temperature value exported according to temperature sensor 5 is calculated to the output temperature range T generatedrangeWith preset range value
Trange_setIt is compared, as output temperature range TrangeLess than preset range value Trange_setWhen, indicate that temperature sensor 5 exports
Temperature value variation be less than the changing value of setting, determine that temperature sensor 5 has occurred failure, execute step S50, work as output temperature
Range TrangeNot less than preset range value Trange_setWhen, execute step S60.
Step S50: 5 fault-signal of output temperature sensor.
Step S60: the maximum output change rate T for generating the temperature sensor 5 is calculatedchange_rate_max。
According to the historical temperature value that temperature sensor 5 exports, the output change rate of the temperature sensor 5 is calculated, and take
Maximum value therein is maximum output change rate.In this present embodiment, step S60 includes following sub-step, referring to Fig. 3,
Step S60 includes sub-step S601~sub-step S603.
Step S601: the output temperature value T (n) of the temperature sensor 5 is obtained every preset time interval and is recorded
Obtain the time time (n) of T (n).
Fixed interval time Δ t is set, obtains the output of the temperature sensor 5 every preset time interval Δ t
Temperature value, and the time for obtaining the temperature value of output is recorded, the timing definition of this record is time (n), last time record
Timing definition is time (n-1), and the temperature of this record is defined as T (n), and the last time temperature of record is defined as T (n-1).
Step S602: according to formulaCalculate the temperature sensor 5
Output change rate Tchange_rate(n), wherein n is greater than 1.
It seeks the variable quantity of the temperature value of the adjacent output of temperature sensor 5 recorded twice of output and records the time
The ratio of variable quantity is the output change rate of temperature sensor 5 in this time.
Step S603: the maximum output change rate T is setchange_rate_maxInitial value be 0, Tchange_rate_max=
(Tchange_rate_maxInitial value, Tchange_rate(n)).As the output change rate Tchange_rate(n) value be greater than it is described most
Big output change rate Tchange_rate_maxWhen, with the output change rate Tchange_rate(n) value updates the maximum output variation
Rate Tchange_rate_maxValue.So as to so that Tchange_rate_maxFor Tchange_rate(n) maximum value in.
Step S70: judge the maximum output change rate Tchange_rate_maxWhether preset maximum output change rate is greater than
Tchange_rate_max-set。
By the maximum output change rate Tchange_rate_maxWith preset maximum output change rate Tchange_rate_max-setInto
Row compares, and judges the maximum output change rate T of the temperature sensor 5change_rate_maxWhether preset maximum is greater than defeated
Change rate T outchange_rate_max-set, the preset maximum output change rate Tchange_rate_max-setIt is according to temperature sensor 5
Performance, parameter carry out preset parameter, in this present embodiment, the preset maximum output change rate Tchange_rate_max-set
It is set as 10 DEG C/s.
As the maximum output change rate Tchange_rate_maxGreater than preset maximum output change rate
Tchange_rate_max-set, then it represents that the T in step S40rangeGreater than Trange_setIt is to cause because sensor contacts are bad, then determines
5 failure of temperature sensor executes step S50,5 fault-signal of output temperature sensor.
As the maximum output change rate Tchange_rate_maxNo more than preset maximum output change rate
Tchange_rate_max-setWhen, determine that the temperature sensor 5 is normal, executes step S80,5 normal signal of output temperature sensor.
3rd embodiment
A kind of temperature sensor fault judgment means 4 are present embodiments provided, referring to Fig. 4, Fig. 4 shows the present embodiment
The functional unit schematic diagram of the temperature sensor fault judgment means 4 of offer.
It should be noted that temperature sensor fault judgment means 4, basic principle and generation provided by the present embodiment
Technical effect and first embodiment it is essentially identical, to briefly describe, the present embodiment is no longer described in detail.The present embodiment is not
Detailed place is introduced, the related content in first embodiment is please referred to.
Temperature sensor fault judgment means 4 include acquiring unit 8, the first judging unit 9, the first generation unit 10, the
Two judging units 11, the second generation unit 12, third judging unit 13, failure output unit 14 and normal signal output unit
15。
Wherein, the acquiring unit 8 is used to obtain the temperature value T of the output of temperature sensor 5.Preferably, the acquisition is single
Member 8 can obtain the temperature value T (n) that a temperature sensor 5 exports every preset time interval.
It is to be appreciated that the acquiring unit 8 can be used for executing step S10 in a kind of preferred embodiment.
It is preset that first judging unit 9 is used to judge whether the temperature value T that the temperature sensor 5 obtained exports to be greater than
Temperature upper limit Tup-limitOr whether it is less than preset temperature upper limit value Tlow_limit.。
When the temperature value of the temperature sensor 5 output is in the preset temperature upper limit Tup-limitWith preset temperature
Spend lower limit value Tlow_limit.Between when, the temperature value that the temperature sensor 5 exports is in normal range (NR).When first judgement
The temperature value that unit 9 judges that the temperature sensor 5 exports is in normal range (NR), judges that temperature sensor 5 is normal, output temperature
Spend 5 normal signal of sensor.
It is to be appreciated that first judging unit 9 can be used for executing step S20 in a kind of preferred embodiment.
The historical temperature value that first generation unit 10 is used to be exported according to temperature sensor 5, which calculates, generates temperature sensor 5
Output temperature range Trange。
When the temperature value that first judging unit 9 judges that the temperature sensor 5 exports is in except normal range (NR),
The historical temperature value that first generation unit 10 is used to be exported according to temperature sensor 5 calculates the output temperature for generating temperature sensor 5
Spend range Trange。
Preferably, variable T can be setmax、TminAnd Trange, the variable initial value is set as 0.When the temperature of acquisition
The temperature value T (n) that sensor 5 exports is greater than TmaxWhen, by TmaxIt is updated to current T (n).It is to be appreciated that when T (n) is less than
TminWhen, by TminIt is updated to current T (n).T (n) refers to the temperature that the multiple temperature sensors 5 obtained within a preset time export
Angle value, the value of n are 1,2,3 ..., according to formula Trange=Tmax-TminCalculate the output temperature range of temperature sensor 5
Trange。
It is to be appreciated that first generation unit 10 can be used for executing step in a kind of preferred embodiment
S30。
Second judgment unit 11, for judging the output temperature range TrangeWhether preset range value T is less thanrange_set。
As output temperature range TrangeLess than preset range value Trange_setWhen, indicate the temperature value that temperature sensor 5 exports
Variation is less than the changing value of setting, determines that failure has occurred in temperature sensor 5.
It is to be appreciated that the second judgment unit 11 can be used for executing step in a kind of preferred embodiment
S40。
Second generation unit 12, for calculating the maximum output change rate for generating the temperature sensor 5
Tchange_rate_max。
It is to be appreciated that second generation unit 12 can be used for executing step in a kind of preferred embodiment
S60。
Third judging unit 13 is for judging the maximum output change rate Tchange_rate_maxWhether preset maximum is greater than
Export change rate Tchange_rate_max-set。
When the third judging unit 13 judges the maximum output change rate Tchange_rate_maxIt is defeated greater than preset maximum
Change rate T outchange_rate_max-set, then T above-mentionedrangeGreater than Trange_setIt is because 5 poor contact of temperature sensor causes, then
Determine 5 failure of temperature sensor.When the third judging unit 13 judges the maximum output change rate Tchange_rate_maxLess
In preset maximum output change rate Tchange_rate_max-setWhen, determine that the temperature sensor 5 is normal.
It is to be appreciated that the third judging unit 13 can be used for executing step in a kind of preferred embodiment
S60。
Failure output unit 14, for the second judgment unit 11 judge the temperature sensor 5 have occurred failure,
When third judging unit 13 judges that failure has occurred in the temperature sensor 5,5 fault-signal of output temperature sensor.
It is to be appreciated that failure output unit 14 can be used for executing step S50 in a kind of preferred embodiment.
Normal signal output unit 15.Judge that the temperature sensor 5 is normal for working as first judging unit 9, and
When the third judging unit 13 judges that the temperature sensor 5 is normal, 5 normal signal of output temperature sensor.
It is to be appreciated that normal signal output unit 15 can be used for executing step in a kind of preferred embodiment
S80。
In conclusion being passed the present invention provides a kind of temperature sensor fault judgment method and device by obtaining temperature
The temperature value of sensor output, judges whether the temperature value of temperature sensor output is greater than preset temperature upper limit or is less than default
Temperature upper limit value, when temperature sensor output temperature value be greater than preset temperature upper limit or be less than preset lowest temperature
When value, the output temperature range for generating temperature sensor is calculated, it is pre- to judge whether the output temperature range of temperature sensor is less than
If value range, if being less than, determines that temperature sensor breaks down, export fault-signal.Pass through the output to temperature sensor
Range judged, thus avoid because Rule of judgment is single and caused by erroneous judgement, avoid traditional fault detection approach from existing
When electrical equipment service condition is more severe, normal sensor output signal is since service condition is more badly beyond setting model
It encloses and misjudged causes to occur accidentally to protect for failure, the problem of leading to electrical equipment cisco unity malfunction.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing
Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code
Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held
Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart
The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement
It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of temperature sensor fault judgment method, which is characterized in that the temperature sensor fault judgment method includes:
Obtain the temperature value T of temperature sensor (5) output;
When the temperature value of acquisition is greater than preset temperature upper limit Tup-limitOr it is less than preset temperature upper limit value Tlow_limit
When, it is calculated according to the historical temperature value of temperature sensor (5) output and generates output temperature range Trange;
As the output temperature range TrangeLess than preset range value Trange_setWhen, output temperature sensor fault-signal.
2. temperature sensor fault judgment method as described in claim 1, which is characterized in that the temperature sensor fault is sentenced
Disconnected method further include:
As the output temperature range TrangeNot less than the preset range value Trange_setWhen, it calculates and generates the temperature sensing
The maximum output change rate T of device (5)change_rate_max;
As the maximum output change rate Tchange_rate_maxGreater than preset maximum output change rate Tchange_rate_max-setWhen, it is defeated
Temperature sensor fault signal out.
3. temperature sensor fault judgment method as claimed in claim 2, which is characterized in that the temperature sensor fault is sentenced
Disconnected method further include:
As the Tchange_rate_maxNo more than preset maximum output change rate Tchange_rate_max-setWhen, output temperature sensor
Normal signal.
4. temperature sensor fault judgment method as described in claim 1, which is characterized in that the temperature sensor fault is sentenced
Disconnected method further include:
When the temperature value of acquisition is not more than the preset temperature upper limit Tup-limitAnd it is not less than the temperature upper limit value
Tlow_limitWhen, output temperature sensor normal signal.
5. temperature sensor fault judgment method as claimed in claim 2, which is characterized in that the acquisition temperature sensor
(5) maximum output change rate Tchange_rate_maxThe step of include:
Every preset time interval obtain the output temperature value T (n) of the temperature sensor (5) and recording obtain T (n) when
Between time (n);
According to formula Tchange_rate(n)=| (T (n)-T (n-1))/(time (n))-time (n-1) | calculate the temperature sensing
The output change rate T of device (5)change_rate(n), wherein n is greater than 1;
Set the maximum output change rate Tchange_rate_maxInitial value be 0, as the output change rate Tchange_rate(n)
Value be greater than the maximum output change rate Tchange_rate_maxWhen, with the output change rate Tchange_rate(n) value updates institute
State maximum output change rate Tchange_rate_maxValue.
6. temperature sensor fault judgment method as described in claim 1, which is characterized in that the output temperature range Trange
Refer to the historical high temperature value T of temperature sensor (5) output within a preset timemaxWith historical low temperature value TminDifference
Value.
7. temperature sensor fault judgment method as described in claim 1, which is characterized in that the preset temperature upper limit
Tup-limitIt is 60 DEG C, the preset temperature upper limit value Tlow_limitIt is -30 DEG C, the preset range value Trange_setIt is 1 DEG C.
8. a kind of temperature sensor fault judgment means, which is characterized in that temperature sensor fault judgment means (4) packet
It includes:
Acquiring unit (8), for obtaining the temperature value T of temperature sensor (5) output;
First generation unit (10), for being greater than preset temperature upper limit T when the temperature value obtainedup-limitOr it is less than pre-
If temperature upper limit value Tlow_limitWhen, generate the output temperature range T of the temperature sensor (5)range;
Failure output unit (14), for working as the output temperature range TrangeLess than preset range value Trange_setWhen, output temperature
Spend sensor (5) fault-signal.
9. temperature sensor fault judgment means as claimed in claim 8, which is characterized in that the temperature sensor fault is sentenced
Disconnected device (4) further include:
Second generation unit (12), for working as the output temperature range TrangeNot less than the preset range value Trange_setWhen,
Calculate the maximum output change rate T for generating the temperature sensor (5)change_rate_max;
The failure output unit (14) is also used to as the maximum output change rate Tchange_rate_maxIt is defeated greater than preset maximum
Change rate T outchange_rate_max-setWhen, output temperature sensor fault-signal.
10. temperature sensor fault judgment means as claimed in claim 8, which is characterized in that the temperature sensor fault
Judgment means (4) further include normal signal output unit (15), and the normal signal output unit (15) is used for when the institute obtained
Temperature value is stated no more than the preset temperature upper limit Tup-limitAnd it is not less than the temperature upper limit value Tlow_limitWhen, output
Temperature sensor normal signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810827499.1A CN108955951B (en) | 2018-07-25 | 2018-07-25 | Temperature sensor fault judgment method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810827499.1A CN108955951B (en) | 2018-07-25 | 2018-07-25 | Temperature sensor fault judgment method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108955951A true CN108955951A (en) | 2018-12-07 |
CN108955951B CN108955951B (en) | 2020-12-25 |
Family
ID=64464773
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810827499.1A Active CN108955951B (en) | 2018-07-25 | 2018-07-25 | Temperature sensor fault judgment method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108955951B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109645750A (en) * | 2019-01-22 | 2019-04-19 | 浙江想能云软件股份有限公司 | A kind of intelligence mattress temperature control automatic failure alarm processing system and method |
CN110925067A (en) * | 2019-12-11 | 2020-03-27 | 潍柴动力股份有限公司 | Temperature sensor misloading detection method and device and engine post-processing system |
CN111684235A (en) * | 2019-01-09 | 2020-09-18 | 深圳市大疆创新科技有限公司 | Temperature data processing method and device, distance measuring system and mobile terminal |
CN112050971A (en) * | 2020-08-13 | 2020-12-08 | 北京车和家信息技术有限公司 | Cooling loop temperature sensor signal checking method, device, equipment and medium |
CN112558506A (en) * | 2019-09-25 | 2021-03-26 | 佛山市顺德区美的洗涤电器制造有限公司 | Control method, kitchen device and computer-readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102519743A (en) * | 2011-12-01 | 2012-06-27 | 北京工业大学 | Wireless sensor network-based monitoring and early warning method for running state of mine ventilator |
JP5516295B2 (en) * | 2010-09-30 | 2014-06-11 | 株式会社富士通ゼネラル | Air conditioner |
CN104165709A (en) * | 2013-05-16 | 2014-11-26 | 富士重工业株式会社 | Diagnosis device for temperature sensor |
CN105067150A (en) * | 2015-07-22 | 2015-11-18 | 株洲南车时代电气股份有限公司 | Motor car axle box temperature detection system and method |
CN105599700A (en) * | 2014-11-13 | 2016-05-25 | 福特全球技术公司 | Methods and systems for temperature sensor fault detection |
CN106679120A (en) * | 2017-02-07 | 2017-05-17 | 铨高科技(珠海)股份有限公司 | Method and device for detecting fault of air conditioning compressor |
CN107166638A (en) * | 2017-05-09 | 2017-09-15 | 广东美的暖通设备有限公司 | Fault detection method, detection means and the multi-connected air conditioning system of temperature sensor |
CN107290080A (en) * | 2017-08-08 | 2017-10-24 | 珠海格力电器股份有限公司 | Thermal bulb fault detection method and system |
CN107621059A (en) * | 2017-07-14 | 2018-01-23 | 深圳达实智能股份有限公司 | Hospital's combined type wind cabinet automatic fault diagnosis devices, systems, and methods |
-
2018
- 2018-07-25 CN CN201810827499.1A patent/CN108955951B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5516295B2 (en) * | 2010-09-30 | 2014-06-11 | 株式会社富士通ゼネラル | Air conditioner |
CN102519743A (en) * | 2011-12-01 | 2012-06-27 | 北京工业大学 | Wireless sensor network-based monitoring and early warning method for running state of mine ventilator |
CN104165709A (en) * | 2013-05-16 | 2014-11-26 | 富士重工业株式会社 | Diagnosis device for temperature sensor |
CN105599700A (en) * | 2014-11-13 | 2016-05-25 | 福特全球技术公司 | Methods and systems for temperature sensor fault detection |
CN105067150A (en) * | 2015-07-22 | 2015-11-18 | 株洲南车时代电气股份有限公司 | Motor car axle box temperature detection system and method |
CN106679120A (en) * | 2017-02-07 | 2017-05-17 | 铨高科技(珠海)股份有限公司 | Method and device for detecting fault of air conditioning compressor |
CN107166638A (en) * | 2017-05-09 | 2017-09-15 | 广东美的暖通设备有限公司 | Fault detection method, detection means and the multi-connected air conditioning system of temperature sensor |
CN107621059A (en) * | 2017-07-14 | 2018-01-23 | 深圳达实智能股份有限公司 | Hospital's combined type wind cabinet automatic fault diagnosis devices, systems, and methods |
CN107290080A (en) * | 2017-08-08 | 2017-10-24 | 珠海格力电器股份有限公司 | Thermal bulb fault detection method and system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111684235A (en) * | 2019-01-09 | 2020-09-18 | 深圳市大疆创新科技有限公司 | Temperature data processing method and device, distance measuring system and mobile terminal |
CN109645750A (en) * | 2019-01-22 | 2019-04-19 | 浙江想能云软件股份有限公司 | A kind of intelligence mattress temperature control automatic failure alarm processing system and method |
CN112558506A (en) * | 2019-09-25 | 2021-03-26 | 佛山市顺德区美的洗涤电器制造有限公司 | Control method, kitchen device and computer-readable storage medium |
CN110925067A (en) * | 2019-12-11 | 2020-03-27 | 潍柴动力股份有限公司 | Temperature sensor misloading detection method and device and engine post-processing system |
CN110925067B (en) * | 2019-12-11 | 2021-12-21 | 潍柴动力股份有限公司 | Temperature sensor misloading detection method and device and engine post-processing system |
CN112050971A (en) * | 2020-08-13 | 2020-12-08 | 北京车和家信息技术有限公司 | Cooling loop temperature sensor signal checking method, device, equipment and medium |
CN112050971B (en) * | 2020-08-13 | 2023-02-28 | 北京车和家信息技术有限公司 | Cooling loop temperature sensor signal checking method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN108955951B (en) | 2020-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108955951A (en) | A kind of temperature sensor fault judgment method and device | |
CN107831422B (en) | GIS equipment partial discharge diagnosis method and system | |
KR102376883B1 (en) | Diagnostic device for electric motors | |
CN110906508B (en) | Fault detection method and system for air conditioner sensor | |
US10670648B2 (en) | Systems and methods for determining whether a circuit is operating properly | |
CN103797468A (en) | Automated detection of a system anomaly | |
CN104763665A (en) | Fan fault detection method and device of network device | |
CN109117327A (en) | A kind of hard disk detection method and device | |
JP2020068025A (en) | System and method for anomaly characterization based on joint analysis of history and time series | |
CN106407059A (en) | Server node testing system and method | |
JP2009070052A (en) | Monitoring device and program | |
CN109725220B (en) | Detection method, system and device for transformer oil cooling loop | |
CN106672722B (en) | Machinery diagnosis device, machinery diagnosis method and machinery diagnosis system | |
CN106841854A (en) | Power equipment safety monitoring method and system | |
CN103675355A (en) | Anemometer monitoring method and system | |
JP2018173948A (en) | Malfunction diagnosis device, malfunction diagnosis method, and computer program | |
CN108195461A (en) | On-line monitoring method, the apparatus and system of vibration of reactor | |
CN107450786A (en) | Touch control controller including its contact panel and the method for detecting fault | |
CN110455536A (en) | A kind of Compressor test bearing temperature data processing method and device | |
CN113339970B (en) | Method, device and smart air conditioner for detecting indoor temperature | |
CN118937970A (en) | A mine circuit fault self-diagnosis method and system | |
JP2015533402A (en) | Method for operating a compressor when one or more measurement signals are faulty | |
CN110967615B (en) | Circuit board fault diagnosis device and method | |
KR20180081437A (en) | Outlier detecting method, device and system using the method | |
KR20200059429A (en) | Method for applying Visualization Tool for Digital Twin based Construction Machine Intelligence |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |