[go: up one dir, main page]

CN104458048B - A kind of temperature checking method, device, circuit and a kind of electronic equipment - Google Patents

A kind of temperature checking method, device, circuit and a kind of electronic equipment Download PDF

Info

Publication number
CN104458048B
CN104458048B CN201310451102.0A CN201310451102A CN104458048B CN 104458048 B CN104458048 B CN 104458048B CN 201310451102 A CN201310451102 A CN 201310451102A CN 104458048 B CN104458048 B CN 104458048B
Authority
CN
China
Prior art keywords
electronic equipment
resistance value
thermistor
switch
temperature
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.)
Active
Application number
CN201310451102.0A
Other languages
Chinese (zh)
Other versions
CN104458048A (en
Inventor
林翔
肖荣彬
胡建锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310451102.0A priority Critical patent/CN104458048B/en
Publication of CN104458048A publication Critical patent/CN104458048A/en
Application granted granted Critical
Publication of CN104458048B publication Critical patent/CN104458048B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The present invention provides a kind of temperature checking methods, are applied to the first electronic equipment, wherein the first electronic equipment is matched with the second electronic equipment, which includes:First device, first switch and thermistor, specifically, first switch is connected in series with thermistor, and the branch circuit parallel connection where with the first device.Temperature checking method provided by the invention includes:Obtain the first resistance value of the second electronic equipment when first switch is off, the second resistance value of first switch the second electronic equipment in the closure state is obtained again, according to the first resistance value and the second resistance value, determine the current resistance value of thermistor, according to the correspondence of the resistance value of thermistor and temperature, the corresponding Current Temperatures of resistance value of current thermistor are obtained, solve the problems, such as that mobile electronic device does not have environment temperature detection function in the prior art.

Description

A kind of temperature checking method, device, circuit and a kind of electronic equipment
Technical field
The present invention relates to the communications field, more specifically, it relates to a kind of temperature checking method, device,
Circuit and a kind of electronic equipment.
Background technology
Currently, the type of mobile electronic device and application are in diversified development trend, e.g., computer is from thick and heavy Laptop is to ultra-thin notebook, then arrives " super basis ".For another example, mobile phone is intelligent from " taking transmitting-receiving " function on basis to straight panel Machine, then arrive the touch screen intelligent machine comprising various applications.
Except this, with the fast development of mobile communication technology, the mobile electronic device with phonetic function is more and more Consumer use, at the same time, earphone also becomes one of essential communication accessory in routine work life.
Specifically, under the promoting of consumer demand, the application type of smart mobile phone is more and more, such as:Digital map navigation, U.S. Eat food and drink, weather forecast etc..But inventor has found, in the application of current mobile phone, does not answer what environment temperature was detected With, and temperature detection is the common function of consumer.
Invention content
In view of this, the present invention provides a kind of temperature checking method, to overcome, mobile electronic device is not in the prior art Has the problem of environment temperature detection function.
To achieve the above object, the present invention provides the following technical solutions:
A kind of temperature checking method, is applied to the first electronic equipment, and first electronic equipment is matched with the second electronic equipment Set uses, wherein second electronic equipment includes:First device, first switch and thermistor, the first switch with The thermistor is connected in series with, and the branch circuit parallel connection where with first device, the temperature checking method include:
First resistance value of the second electronic equipment described in obtaining when the first switch is off;
Obtain the second resistance value of the first switch second electronic equipment in the closure state;
According to the first resistance value and the second resistance value, the current resistance value of the thermistor is calculated;
According to the correspondence of the resistance value of the thermistor and temperature, the current resistance value pair with the thermistor is obtained The Current Temperatures answered.
Preferably, the first resistance value packet of the second electronic equipment described in when the acquisition first switch is off It includes:
It accesses the instruction of first electronic equipment receiving second electronic equipment and detects that described first opens When shutdown is opened, the ADC module in first electronic equipment detects the first resistor value of presently described second electronic equipment, described First resistor value is the resistance value of branch where first device.
Preferably, the second resistance value packet for obtaining the first switch second electronic equipment in the closure state It includes:
It accesses the instruction of first electronic equipment receiving second electronic equipment and detects that described first opens When closing conjunction, the ADC module in first electronic equipment detects the second resistance value of presently described second electronic equipment, described Second resistance value is total resistance value of the thermistor in parallel with first device and branch resistance where first device.
Preferably, described according to the first resistance value and the second resistance value, determine that the current resistance value of the thermistor includes:
The resistance value of the thermistor is obtained according to computing the resistor value formula in parallel.
Preferably, second electronic equipment is the earphone with Mike, and first device is the Mike of the earphone, The first switch is hook key, correspondingly, the second electronics described in when the acquisition first switch is off is set The first standby resistance value includes:
It is inserted into the instruction of first electronic equipment and when detecting that the hook key is not pressed receiving the earphone, ADC module in first electronic equipment detects the first resistor value of Mike's branch of presently described earphone.
Preferably, the second resistance value packet for obtaining the first switch second electronic equipment in the closure state It includes:
The instruction of first electronic equipment is accessed receiving the earphone and when detecting that the hook key is pressed, institute State the second resistance value that the ADC module in the first electronic equipment detects presently described earphone, the second resistance value be with it is described Total resistance value of the thermistor of Mike's parallel connection and branch resistance where the Mike.
A kind of temperature-detecting device, including:
First acquisition module, first for the second electronic equipment described in obtaining when the first switch is off Resistance value;
Second acquisition module, for obtain the first switch in the closure state second electronic equipment second Resistance value;
Computing module, for according to the first resistance value and the second resistance value, determining the current resistance value of the thermistor;
Third acquisition module, for according to the resistance value of the thermistor and the correspondence of temperature, obtaining and the heat The corresponding Current Temperatures of current resistance value of quick resistance.
A kind of temperature sensing circuit, using the second electronic equipment, including:First device, thermistor and first switch, The first switch is connected with the thermistor, and the branch after series connection and branch circuit parallel connection where first device.
A kind of electronic equipment, including above-mentioned temperature sensing circuit.
Preferably, the electronic equipment is the earphone with Mike.
Preferably, the intersection in the circuit of the left speaker and right loud speaker of the earphone is arranged in the thermistor.
It can be seen via above technical scheme that compared with prior art, the present invention provides a kind of temperature checking methods, answer For the first electronic equipment, wherein the first electronic equipment is matched with the second electronic equipment, which includes: First device, first switch and thermistor, specifically, first switch is connected in series with thermistor, and with the first device The branch circuit parallel connection at place.Temperature checking method provided by the invention includes:Obtain the second electricity when first switch is off First resistance value of sub- equipment, then the second resistance value of first switch the second electronic equipment in the closure state is obtained, according to first Resistance value and the second resistance value determine the current resistance value of thermistor, according to the correspondence of the resistance value of thermistor and temperature, The corresponding Current Temperatures of resistance value of current thermistor are obtained, mobile electronic device in the prior art is solved and does not have environment temperature The problem of spending detection function.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of temperature checking method provided in an embodiment of the present invention;
Fig. 2 is the first electronic equipment provided in an embodiment of the present invention and the second electronic equipment connection relationship diagram;
Fig. 3 is another second electronic equipment connection relationship diagram provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram that the second electronic equipment is the earphone with Mike;
Fig. 5 is a kind of structural scheme of mechanism of temperature-detecting device provided in an embodiment of the present invention;
Fig. 6 is installation site figure of the thermistor provided in an embodiment of the present invention on earphone.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Attached drawing 1 is please referred to, is a kind of flow diagram of temperature checking method provided in an embodiment of the present invention, this method is answered For the first electronic equipment, which matches with the second electronic equipment, wherein the second electronic equipment includes: First device, first switch and thermistor, above-mentioned first switch are connected in series with above-mentioned thermistor, and with above-mentioned first Branch circuit parallel connection where device.Above-mentioned temperature checking method includes:
Step S101:First resistance value of the second electronic equipment described in obtaining when the first switch is off.
Step S102:Obtain the second resistance value of the first switch second electronic equipment in the closure state;
Temperature checking method provided in this embodiment is to be based on and matching used first electronic equipment of the second electronic equipment Detection method, specifically, the matching figure of the first electronic equipment and the second electronic equipment is as shown in Figure 2, wherein the second electronics is set Standby includes the first device 1021, first switch 1022 and thermistor 1023.
When the second electronic equipment 102 is connect with the first electronic equipment 101, opened by the second electronic equipment of test first Pass 1022 is switched on and off state to acquire the resistance value of current second electronic equipment.In the present embodiment, above-mentioned the is defined When one switch is off, the current resistance value of the second electronic equipment detected is the first resistance value.Above-mentioned first is defined to open It closes in the closure state, the current resistance value of the second electronic equipment detected is the second resistance value.Certainly, above-mentioned resistance value is determined Right way of conduct formula is intended merely to illustrate, it is not limited to this, the state of first switch can be exchanged, corresponding first resistor value with And second resistance value, that is, define first switch in the closure state, the current resistance value of the second electronic equipment detected is the One resistance value;When first switch is off, the current resistance value of the second electronic equipment detected is the second resistance value.Also may be used With by other definition modes, this will not be detailed here.
The present embodiment does not limit the sequencing of above-mentioned steps S101 and step S102, you can be to first carry out step Step S102 is executed after S101, or executes step S101 after first carrying out step S102.
Preferably, the first electronic equipment 101 can be that tablet computer, mobile phone etc. be hand-held or non-hand-held electronic equipment, this When the second electronic equipment can be individual detection device, or carry Mike earphone.
If the second electronic equipment is the earphone with Mike, at this point, first switch can be physical switch, such as Hook key, the first device can be the Mike of earphone.Second electronic equipment i.e. provided in this embodiment(Earphone)For in existing skill In art on the earphone with Mike, the branch where hook key is in series with a thermistor, and by the thermistor and hook key The branch and the branch circuit parallel connection where Mike at place.
When the second electronic equipment accesses the first electronic equipment, the first electronic equipment starts to detect the state of first switch, When detecting that first switch disconnects, the ADC module in the first electronic equipment detects the first resistor of current second electronic equipment Value.In conjunction with the connection relation of above-mentioned device, it is not difficult to learn, since first switch disconnects, first switch and thermistor institute at this time Branch disconnect, i.e., first resistor value be the first device where branch resistance value.
Correspondingly, after the instruction that the first electronic equipment receives the access of the second electronic equipment, when detecting first switch When closure, the ADC module in the first electronic equipment detects the second resistance value of current second electronic equipment.At this point, second resistance Value is total resistance value of branch resistance where the thermistor in parallel with the first device and the first device.
It should be noted that the first electronic equipment can constantly detect the state of first switch in the second electronic equipment, when When the state of one switch is overturn, the resistance value of the second electronic equipment is detected again.But constantly detection can lead to the damage of electric energy The action of physical button may be used to control the state of first switch being switched on and off because in the present embodiment in consumption.
Using the second electronic equipment as earphone for example, when hook key is not pressed, where hook key and thermistor Branch disconnects, at this point, branch only where Mike accesses the first electronic equipment, i.e., at this time the first electronic equipment detect the The access resistance value of two electronic equipments is the resistance value of branch where Mike, referred to as first resistor value.
When hook key is pressed, the branch where hook key and thermistor accesses circuit, i.e., branch where Mike and Branch where hook key accesses the first electronic equipment.The of ADC module detection current earphone in first electronic equipment at this time Two resistance values, the second resistance value are total resistance value of the thermistor in parallel with Mike and branch resistance where Mike.
It is noted herein that the first electronic equipment detects the resistance value of the second electronic equipment, particularly the first electronics ADC module in equipment is detected.Under normal conditions, tablet computer, the equipment such as mobile phone all have ADC module, therefore are not required to pair First electronic equipment is improved.Certainly it is also not excluded for an other electronic equipment and does not have ADC module, at this point, if the electronics Equipment needs to increase temperature detecting function, need to increase ADC module in current first electronic equipment.
It is described above when the second electronic equipment is the earphone with Mike, the realization of step S101 and S102 Journey.It now introduces when the second electronic equipment is individual detection device, the workflow of step S101 and S102 are as follows:
Referring to Fig. 3, when second electronic equipment 202 includes first switch 2021 and thermistor 2022, the When two electronic equipments access the first electronic equipment, the first electronic equipment starts to detect the state of first switch, when detecting first When switch disconnects, the ADC module in the first electronic equipment detects the first resistor value of current second electronic equipment.It opens due to first Shutdown is opened, and first switch and the branch where thermistor disconnect at this time, i.e., first resistor value is the circuit of the second electronic equipment Parasitic resistance value.
Correspondingly, after the instruction that the first electronic equipment receives the access of the second electronic equipment, when detecting first switch When closure, the ADC module in the first electronic equipment detects the second resistance value of current second electronic equipment.At this point, second resistance Value is the resistance value of thermistor.
Step S103:According to the first resistance value and the second resistance value, the current resistance value of the thermistor is calculated.
In conjunction with the composition and connection relation of the second electronic equipment in Fig. 2, it is known that, the second resistance value is the first device and heat Total resistance value after quick resistor coupled in parallel obtains current temperature-sensitive electricity according to resistor coupled in parallel computing the resistor value formula RX=R1*R2/ (R1-R2) The resistance value of resistance.
When the second electronic equipment is equipment shown in Fig. 3, since first switch and thermistor are same branch, then The resistance value that thermistor can be obtained is equal to the difference that second resistance value subtracts first resistor value.
Above-described embodiment setting first switch purpose be accurately to measure the current resistance value of thermistor, theoretically, Do not consider dead resistance, the second electronic equipment provided in this embodiment can also only be thermistor, when thermistor passes through object When reason interface is connected with the first electronic equipment, the ADC module in the first electronic equipment detects the resistance value of current thermistor.
Specifically, when the second electronic equipment is the earphone with Mike, as shown in figure 4, corresponding, first switch is Hook key, the first device are Mike.Corresponding when electronic equipment is individual device, first switch can be hook key, It can be simple mechanical switch.Can be plug+thermistor of earphone when the second electronic equipment only includes thermistor Structure, or by the improvement to the first electronic equipment hardware, the second electronic equipment is made to be connected thereto use accordingly Structure.
Step S104:According to the correspondence of the resistance value of the thermistor and temperature, obtain and the thermistor The corresponding Current Temperatures of current resistance value.
As its name suggests, thermistor is one kind of sensing element, is divided into positive temperature coefficient temperature-sensitive according to temperature coefficient difference Resistor(PTC)And negative temperature coefficient thermistor(NTC).The typical feature of thermistor be it is temperature sensitive, it is different At a temperature of show different resistance values.Positive temperature coefficient thermistor(PTC)When temperature is higher, resistance value is bigger, subzero temperature Spend coefficient thermal resistor(NTC)When temperature is higher, resistance value is lower.
In the present embodiment, the type of thermistor is not limited.Be thermistor it is negative temperature system in conjunction with table 1 Number thermal resistor(NTC)The resistance value temperature table of comparisons, table look-up the corresponding Current Temperatures of current resistance value for obtaining thermistor.
Table 1
T(℃)R(KΩ) T(℃)R(KΩ) T(℃)R(KΩ)
-20.095.3370 20.512.2138 61.02.3820
-19.592.6559 21.011.9425 61.52.3394
-19.090.0580 21.511.6778 62.02.2977
-18.587.5406 22.011.4198 62.52.2568
-18.085.1009 22.511.1681 63.02.2167
-17.582.7364 23.010.9227 63.52.1775
-17.080.4445 23.510.6834 64.02.1390
-16.578.2227 24.010.4499 64.52.1013
-16.076.0689 24.510.2222 65.02.0644
-15.573.9806 25.010.0000 65.52.0282
-15.071.9558 25.59.7833 66.01.9928
-14.569.9923 26.09.5718 66.51.9580
-14.068.0881 26.59.3655 67.01.9240
-13.566.2412 27.09.1642 67.51.8906
-13.064.4499 27.58.9677 68.01.8579
-12.562.7122 28.08.7760 68.51.8258
-12.061.0264 28.58.5889 69.01.7944
-11.559.3908 29.08.4063 69.51.7636
-11.057.8038 29.58.2281 70.01.7334
-10.556.2639 30.08.0541 70.51.7037
-10.054.7694 30.57.8842 71.01.6747
-9.553.3189 31.07.7184 71.51.6462
-9.051.9111 31.57.5565 72.01.6183
-8.550.5445 32.07.3985 72.51.5910
-8.049.2178 32.57.2442 73.01.5641
-7.547.9298 33.07.0935 73.51.5378
-7.046.6792 33.56.9463 74.01.5120
-6.545.4649 34.06.8026 74.51.4867
-6.044.2856 34.56.6622 75.01.4619
-5.543.1403 35.06.5251 75.51.4375
-5.042.0279 35.56.3912 76.01.4136
-4.540.9474 36.06.2604 76.51.3902
-4.039.8978 36.56.1326 77.01.3672
-3.538.8780 37.06.0077 77.51.3447
-3.037.8873 37.55.8858 78.01.3225
-2.536.9246 38.05.7666 78.51.3008
-2.035.9892 38.55.6501 79.01.2795
-1.535.0801 39.05.5363 79.51.2586
-1.034.1965 39.55.4251 80.01.2381
-0.533.3378 40.05.3164 80.51.2180
0.032.5030 40.55.2102 81.01.1983
0.531.6915 41.05.1064 81.51.1789
1.030.9026 41.55.0049 82.01.1599
1.530.1355 42.04.9057 82.51.1412
2.029.3896 42.54.8088 83.01.1229
2.528.6644 43.04.7140 83.51.1050
3.027.9590 43.54.6213 84.01.0873
3.527.2730 44.04.5307 84.51.0700
4.026.6058 44.54.4421 85.01.0530
4.525.9567 45.04.3554 85.51.0363
5.025.3254 45.54.2707 86.01.0199
5.524.7111 46.04.1878 86.51.0038
6.024.1135 46.54.1068 87.00.9880
6.523.5320 47.04.0275 87.50.9725
7.022.9661 47.53.9500 88.00.9573
7.522.4154 48.03.8742 88.50.9424
8.021.8795 48.53.8000 89.00.9277
8.521.3579 49.03.7275 89.50.9133
9.020.8502 49.53.6565 90.00.8991
9.520.3559 50.03.5870 90.50.8852
10.019.8747 50.53.5190 91.00.8715
10.519.4063 51.03.4525 91.50.8581
11.018.9502 51.53.3875 92.00.8450
11.518.5060 52.03.3238 92.50.8320
12.018.0735 52.53.2615 93.00.8193
12.517.6523 53.03.2005 93.50.8068
13.017.2421 53.53.1408 94.00.7945
13.516.8426 54.03.0824 94.50.7825
14.016.4534 54.53.0252 95.00.7707
14.516.0743 55.02.9692 95.50.7590
15.015.7049 55.52.9144 96.00.7476
15.515.3450 56.02.8608 96.50.7364
16.014.9944 56.52.8082 97.00.7253
16.514.6528 57.02.7568 97.50.7145
17.014.3198 57.52.7065 98.00.7038
17.513.9954 58.02.6572 98.50.6933
18.013.6792 58.52.6089 99.00.6831
18.513.3710 59.02.5616 99.50.6729
19.013.0705 59.52.5153 100.00.6630
19.512.7777 60.02.4700
20.012.4922 60.52.4255
Certainly, when thermistor is positive temperature coefficient thermistor(PTC)When, operation principle is similar.It does not do herein in detail It is thin to introduce.It should be noted that the first switch in the present embodiment may be the circuit for having switching function, but in view of at It is the problem of this and circuit volume, preferred in the present embodiment or use mechanical key.
Except this, the Standard resistance range for selecting thermistor can be determined according to the resistance value of the first device, it is band to take the second equipment For having the earphone of Mike, it is contemplated that the impedance of Mike is that generally 5k~14.8K compares the heat of recommendation in order to which precision is considered Quick resistance is 1K.Because thermistor is in parallel with Mike, the resistance value selection of thermistor is smaller, then total resistance value after parallel connection is also got over Small, i.e. the resistance value that the second equipment accesses the first equipment is smaller and then energy saving.
Method is described in detail in the embodiment that aforementioned present invention provides, diversified forms can be used for the method for the present invention Device realize that therefore the present invention also provides a kind of devices, and specific embodiment is given below and is described in detail.
Referring to Fig. 5, the temperature-detecting device is applied to above-mentioned first electronic equipment, including:
First acquisition module 501, for the second electronic equipment described in obtaining when the first switch is off First resistance value.
Second acquisition module 502, for obtaining the first switch second electronic equipment in the closure state Second resistance value.
That is the first acquisition module and the second acquisition module are by testing the unlatching of first switch and pass in the second electronic equipment Disconnected state acquires the resistance value of current second electronic equipment.In the present embodiment, it defines above-mentioned first switch and is in disconnection shape When state, the current resistance value of the second electronic equipment detected is the first resistance value.Define above-mentioned first switch in the closure state, The current resistance value of the second electronic equipment detected is the second resistance value.Certainly, the definition mode of above-mentioned resistance value is intended merely to have Body explanation, it is not limited to this, the state of first switch can be exchanged, corresponding first resistor value and second resistance value, i.e., Define first switch in the closure state, the current resistance value of the second electronic equipment detected is the first resistance value;It opens when first When pass is off, the current resistance value of the second electronic equipment detected is the second resistance value.It can also be fixed by others Right way of conduct formula, this will not be detailed here.
Preferably, the first electronic equipment 101 can be that tablet computer, mobile phone etc. be hand-held or non-hand-held electronic equipment.
When the second electronic equipment accesses the first electronic equipment, the first electronic equipment starts to detect the state of first switch, When detecting that first switch disconnects, the ADC module in the first electronic equipment detects the first resistor of current second electronic equipment Value.In conjunction with the connection relation of above-mentioned device, it is not difficult to learn, since first switch disconnects, first switch and thermistor institute at this time Branch disconnect, i.e., first resistor value be the first device where branch resistance value.
Correspondingly, after the instruction that the first electronic equipment receives the access of the second electronic equipment, when detecting first switch When closure, the ADC module in the first electronic equipment detects the second resistance value of current second electronic equipment.At this point, second resistance Value is total resistance value of branch resistance where the thermistor in parallel with the first device and the first device.
It is noted herein that the first electronic equipment detects the resistance value of the second electronic equipment, particularly the first electronics ADC module in equipment is detected.Under normal conditions, tablet computer, the equipment such as mobile phone all have ADC module, therefore are not required to pair First electronic equipment is improved.Certainly it is also not excluded for an other electronic equipment and does not have ADC module, at this point, if the electronics Equipment needs to increase temperature detecting function, need to increase ADC module in current first electronic equipment.
Computing module 503, for according to the first resistance value and the second resistance value, determining the current resistance of the thermistor Value.
In conjunction with above-mentioned temperature checking method, it is known that, the meter of computing module 503 different according to the composition of the second electronic equipment Calculation mode does not have to accordingly yet, and when the second electronic equipment is the earphone with Mike, first resistor value is branch where Mike Resistance value.Second resistance value is total resistance value after thermistor is in parallel with Mike.According to resistor coupled in parallel computing the resistor value formula RX=R1* R2/ (R1-R2), obtains the resistance value of current thermistor.When the second electronic equipment is equipment shown in Fig. 3, open due to first It closes and thermistor is same branch, then the resistance value that thermistor can be obtained subtracts first resistor value equal to second resistance value Difference.
Third acquisition module 504, for according to the resistance value of the thermistor and the correspondence of temperature, obtain with it is described The corresponding Current Temperatures of current resistance value of thermistor.I.e. the third acquisition module obtains the current resistance value of thermistor by tabling look-up Corresponding temperature value.
Except this, the present embodiment additionally provides a kind of electronic equipment, i.e., the second above-mentioned electronic equipment, when the second electronic equipment For earphone with Mike when, it is preferred that thermistor is arranged in the left speaker of earphone and crossing for the circuit of right loud speaker Place, as shown in fig. 6, a points in figure.When can reduce hand touch switch in this way, the interference caused by environment temperature, and it is more beautiful.
In summary:The present invention provides a kind of temperature checking methods, are applied to the first electronic equipment, wherein the first electricity Sub- equipment is matched with the second electronic equipment, which includes:First device, first switch and temperature-sensitive electricity Resistance, specifically, first switch is connected in series with thermistor, and the branch circuit parallel connection where with the first device.It is provided by the invention Temperature checking method includes:The first resistance value of the second electronic equipment when first switch is off is obtained, then obtains first The second resistance value for switching the second electronic equipment in the closure state determines temperature-sensitive according to the first resistance value and the second resistance value The current resistance value of resistance, according to the correspondence of the resistance value of thermistor and temperature, the resistance value for obtaining current thermistor corresponds to Current Temperatures, solve the problems, such as that mobile electronic device does not have environment temperature detection function in the prior art.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.The device provided for embodiment For, since it is corresponding with the method that embodiment provides, so description is fairly simple, related place is said referring to method part It is bright.
Above description to the embodiment provided, enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and principle provided in this article and features of novelty phase one The widest range caused.

Claims (11)

1. a kind of temperature checking method is applied to the first electronic equipment, which is characterized in that first electronic equipment and the second electricity Sub- coordinative composition of equipments uses, wherein second electronic equipment includes:First device, first switch and thermistor, described Branch circuit parallel connection where with first device after one switch is connected with the thermistor, the temperature checking method include:
First resistance value of the second electronic equipment described in obtaining when the first switch is off;
Obtain the second resistance value of the first switch second electronic equipment in the closure state;
According to the first resistance value and the second resistance value, the current resistance value of the thermistor is calculated;
According to the correspondence of the resistance value of the thermistor and temperature, obtain corresponding with the current resistance value of the thermistor Current Temperatures.
2. temperature checking method according to claim 1, which is characterized in that described to obtain the first switch in disconnection First resistance value of the second electronic equipment described in when state includes:
It accesses the instruction of first electronic equipment receiving second electronic equipment and detects that the first switch is disconnected When opening, the ADC module in first electronic equipment detects the first resistance value of presently described second electronic equipment, first resistance Value is the resistance value of branch where first device.
3. temperature checking method according to claim 1, which is characterized in that described to obtain the first switch in closure Second resistance value of the second electronic equipment described in when state includes:
It accesses the instruction of first electronic equipment receiving second electronic equipment and detects that the first switch is closed When conjunction, the ADC module in first electronic equipment detects the second resistance value of presently described second electronic equipment, second resistance Value is total resistance value of the thermistor in parallel with first device and branch resistance where first device.
4. temperature checking method according to claim 1, which is characterized in that described to be hindered according to the first resistance value and second Value, determines that the current resistance value of the thermistor includes:
The resistance value of the thermistor is obtained according to computing the resistor value formula in parallel.
5. temperature checking method according to claim 1, which is characterized in that second electronic equipment is with Mike's Earphone, first device are the Mike of the earphone, and the first switch is hook key, correspondingly, described obtain described the One switch when being off described in the first resistance value of the second electronic equipment include:
It is inserted into the instruction of first electronic equipment and when detecting that the hook key is not pressed receiving the earphone, it is described ADC module in first electronic equipment detects the first resistance value of Mike's branch of presently described earphone.
6. temperature checking method according to claim 5, which is characterized in that described to obtain the first switch in closure Second resistance value of the second electronic equipment described in when state includes:
The instruction of first electronic equipment is accessed receiving the earphone and when detecting that the hook key is pressed, described ADC module in one electronic equipment detects the second resistance value of presently described earphone, and second resistance value is in parallel with the Mike Thermistor and the Mike where branch resistance total resistance value.
7. a kind of temperature-detecting device is applied to the first electronic equipment, which is characterized in that first electronic equipment and the second electricity Sub- coordinative composition of equipments uses, wherein second electronic equipment includes:First device, first switch and thermistor, described Branch circuit parallel connection where with first device after one switch is connected with the thermistor;The temperature-detecting device includes:
First acquisition module, the first resistance for the second electronic equipment described in obtaining when the first switch is off Value;
Second acquisition module, for obtain the first switch in the closure state second electronic equipment second resistance Value;
Computing module, for according to the first resistance value and the second resistance value, determining the current resistance value of the thermistor;
Third acquisition module, for according to the resistance value of the thermistor and the correspondence of temperature, obtaining and temperature-sensitive electricity The corresponding Current Temperatures of current resistance value of resistance.
8. a kind of temperature sensing circuit, which is characterized in that match, be based on the temperature-detecting device described in claim 7 Claim 1~6 any one of them temperature checking method carries out temperature detection;Including:First device, thermistor and One switch, the first switch connect with the thermistor, and branch after connecting and first device place branch are simultaneously Connection.
9. a kind of electronic equipment, which is characterized in that including temperature sensing circuit as claimed in claim 8.
10. electronic equipment according to claim 9, which is characterized in that the electronic equipment is the earphone with Mike.
11. electronic equipment according to claim 10, which is characterized in that the thermistor is arranged on a left side for the earphone The intersection of loud speaker and the circuit of right loud speaker.
CN201310451102.0A 2013-09-25 2013-09-25 A kind of temperature checking method, device, circuit and a kind of electronic equipment Active CN104458048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310451102.0A CN104458048B (en) 2013-09-25 2013-09-25 A kind of temperature checking method, device, circuit and a kind of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310451102.0A CN104458048B (en) 2013-09-25 2013-09-25 A kind of temperature checking method, device, circuit and a kind of electronic equipment

Publications (2)

Publication Number Publication Date
CN104458048A CN104458048A (en) 2015-03-25
CN104458048B true CN104458048B (en) 2018-10-12

Family

ID=52904470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310451102.0A Active CN104458048B (en) 2013-09-25 2013-09-25 A kind of temperature checking method, device, circuit and a kind of electronic equipment

Country Status (1)

Country Link
CN (1) CN104458048B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113804322A (en) * 2021-08-27 2021-12-17 惠州Tcl移动通信有限公司 Circuit system, method, storage medium and equipment for detecting temperature

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2256051B (en) * 1991-05-21 1994-09-07 Kane May Limited Temperature measuring apparatus
CN1549652A (en) * 2003-05-22 2004-11-24 华为技术有限公司 Earphone for realizing temperaure measuring function of electronic products
CN102117793A (en) * 2010-01-06 2011-07-06 联发科技股份有限公司 E-fuse macro
CN102457598A (en) * 2010-11-05 2012-05-16 谢达斌 Peripheral physiological detection devices and peripheral auxiliary devices for smart phones
CN102589741A (en) * 2012-03-14 2012-07-18 华为终端有限公司 Method and device for detecting temperature

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4782624B2 (en) * 2006-07-05 2011-09-28 ホーチキ株式会社 Heat sensor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2256051B (en) * 1991-05-21 1994-09-07 Kane May Limited Temperature measuring apparatus
CN1549652A (en) * 2003-05-22 2004-11-24 华为技术有限公司 Earphone for realizing temperaure measuring function of electronic products
CN102117793A (en) * 2010-01-06 2011-07-06 联发科技股份有限公司 E-fuse macro
CN102457598A (en) * 2010-11-05 2012-05-16 谢达斌 Peripheral physiological detection devices and peripheral auxiliary devices for smart phones
CN102589741A (en) * 2012-03-14 2012-07-18 华为终端有限公司 Method and device for detecting temperature

Also Published As

Publication number Publication date
CN104458048A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
EP2503343B1 (en) Systems, methods, and apparatus for detecting theft and status of electrical power
US8369779B2 (en) Device wearing status determination using RSSI
CN106549464A (en) A charging control method, device and computer equipment
KR102023822B1 (en) Electric power management method and apparatus, and electronic device
JP2014504145A5 (en)
TW200424910A (en) Interface device for automatically determining peripherals and electronic device having such a function
JP2017505038A (en) Cable and connector protection
CN204156226U (en) A kind of smart jack
CN106455027A (en) Method for adjusting network standard and mobile terminal
CN104953642A (en) Rechargeable battery pack and terminal device
CN109378878A (en) Charging circuit, charging method, electronic equipment and storage medium
CN107204494A (en) Detection method, terminal and the computer-readable recording medium of battery temperature
CN104458048B (en) A kind of temperature checking method, device, circuit and a kind of electronic equipment
CN205176696U (en) Multi -functional temperature controller
CN109860743B (en) Charging method and terminal equipment
CN107221984A (en) Temperature rise control method, device and storage medium when terminal device and its charging
CN203909201U (en) DC output electric leakage detection circuit
CN214310818U (en) Simulation battery capable of simulating battery temperature and simulating battery attached resistance
CN110994052B (en) Method and device for prolonging battery endurance, storage medium and terminal equipment
CN202998502U (en) Wireless router with temperature detection and display functions
CN116111659A (en) Charging circuit, method, device, electronic equipment and medium
CN103398796A (en) Electronic thermometer and electronic device
CN107817397B (en) Charging heating abnormity detection method and terminal equipment
CN114326949B (en) Detection method and device, storage medium and electronic equipment
CN105430004A (en) Audio password key of earphone interface standard and interface adaption method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant