JP2011227756A - Terminal apparatus with high temperature detection counter circuit - Google Patents

Terminal apparatus with high temperature detection counter circuit Download PDF

Info

Publication number
JP2011227756A
JP2011227756A JP2010097842A JP2010097842A JP2011227756A JP 2011227756 A JP2011227756 A JP 2011227756A JP 2010097842 A JP2010097842 A JP 2010097842A JP 2010097842 A JP2010097842 A JP 2010097842A JP 2011227756 A JP2011227756 A JP 2011227756A
Authority
JP
Japan
Prior art keywords
stress
temperature
counter circuit
time
high 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.)
Granted
Application number
JP2010097842A
Other languages
Japanese (ja)
Other versions
JP5516873B2 (en
Inventor
Akira Sato
彰 佐藤
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2010097842A priority Critical patent/JP5516873B2/en
Publication of JP2011227756A publication Critical patent/JP2011227756A/en
Application granted granted Critical
Publication of JP5516873B2 publication Critical patent/JP5516873B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System (AREA)
  • Read Only Memory (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a means for detecting the optimal period for performing an action by a simple method when the temperature of the inside of an apparatus with a device whose characteristics deteriorate in a high temperature becomes high.SOLUTION: A terminal apparatus is provided with: a high temperature detection counter circuit which detects the temperature of the apparatus, and integrates stress acceleration time weighted according to the detected temperature as a stress count value, and outputs an interruption signal when the stress count value becomes equal to or more than a set value; and a CPU which controls the operation of the apparatus. When the total value of a cumulative stress acceleration time obtained by cumulatively counting the interruption signal from the high temperature detection counter circuit and a system time from a timer circuit exceeds a set stress management time, the CPU performs rewriting to a non-volatile memory.

Description

本発明は、端末装置に関し、特に装置内部の温度を検出し、高温状態の時間をその温度に応じて重み付けしてカウントする高温検出カウンタ回路を備え、高温によるリテンション特性が劣化する前に、装置に備えられた不揮発メモリにデータを再書き込みさせる端末装置に関する。   The present invention relates to a terminal device, and in particular, includes a high-temperature detection counter circuit that detects a temperature inside the device and counts the time of a high-temperature state according to the temperature, and before the retention characteristics deteriorate due to high temperature, the device The present invention relates to a terminal device that rewrites data in a non-volatile memory provided in.

携帯端末装置や情報端末装置には、装置内部が高温になった場合に特性の劣化するデバイス、例えば不揮発メモリが使用されている。携帯端末装置や情報端末装置では、装置の動作に必要なアプリケーションプログラムを不揮発メモリに格納している。近年、装置の高機能化に伴い、このようなアプリケーションプログラムは非常に規模が大きくなっており、大容量の不揮発メモリを使用する必要が生じている。大容量の不揮発メモリとして、SLC(Single Level Cell)−NANDおよび、MLC(Multi Level Cell)−NANDの2種類のNANDデバイスがある。この2種類のNANDデバイスのうち、MLC−NANDは1つのメモリセルに複数のビットを記録することができるため、SLC−NANDに比べ大容量化が容易である。そのためMLC−NANDが、携帯端末装置や情報端末装置のように小型化が求められる装置では多用されている。   For portable terminal devices and information terminal devices, devices whose characteristics deteriorate when the temperature inside the device becomes high, such as nonvolatile memories, are used. In portable terminal devices and information terminal devices, application programs necessary for device operation are stored in a nonvolatile memory. In recent years, with the enhancement of functions of devices, such application programs have become very large in scale, and it has become necessary to use a large-capacity nonvolatile memory. As a large-capacity nonvolatile memory, there are two types of NAND devices, SLC (Single Level Cell) -NAND and MLC (Multi Level Cell) -NAND. Of these two types of NAND devices, the MLC-NAND can record a plurality of bits in one memory cell, so that the capacity can be easily increased compared to the SLC-NAND. For this reason, the MLC-NAND is frequently used in devices that require miniaturization, such as portable terminal devices and information terminal devices.

しかしながら、MLC−NANDは、1つのメモリセルに複数のビットを記録するために、メモリセルの閾値レベル(Vt)を細かく制御する必要があり、SLC−NANDに比べ信頼性が劣る。デバイス周囲温度が高温の環境で長時間使用すると、リテンション特性の悪化で、書き込みデータのデータ化けが発生する場合がある。リテンション特性とは、書き込まれたデータが正しく保持されているかどうかのデータ保持特性のことである。例えば、リテンション特性が悪化した場合には、メモリセルの電子がリークし、メモリセルのVtが変動することで、書き込み時と異なるデータに変化してしまう。このように書き込み時と異なるデータに化けることを、データ化けが発生したという。特に、温度が高い場合に影響が大きく、リテンション特性が悪化しやすい。リテンション特性によりデータ化けが発生してしまうと、装置の動作に不具合を発生させてしまう可能性があるため、これを防止する手段が必要である。   However, the MLC-NAND needs to finely control the threshold level (Vt) of the memory cell in order to record a plurality of bits in one memory cell, and is less reliable than the SLC-NAND. If the device is used for a long time in an environment where the device ambient temperature is high, the retention characteristics may deteriorate and the data of the write data may be corrupted. The retention characteristic is a data retention characteristic indicating whether written data is correctly retained. For example, when the retention characteristic deteriorates, electrons in the memory cell leak and the Vt of the memory cell fluctuates, so that the data changes to data different from that at the time of writing. Such garbled data is different from that at the time of writing. In particular, the influence is large when the temperature is high, and the retention characteristics are likely to deteriorate. If garbled data occurs due to the retention characteristic, there is a possibility that a malfunction may occur in the operation of the apparatus. Therefore, a means for preventing this is necessary.

さらに、近年の携帯端末装置や情報端末装置は、ますます装置内部の温度が高くなる傾向にある。第1の要因として、アプリケーション性能や、通信性能向上の必要性から、中央演算処理装置(CPU)の処理性能を上げる必要があり、CPUの処理性能アップに伴い装置内部の温度が高くなっている。第2の要因として、携帯端末装置の小型化による高密度実装のため、発熱量の大きいCPUの近傍にメモリデバイスが配置されることである。例えば、POP(Package On Package)技術などで、CPUデバイスの上部にメモリデバイスをはんだ実装する場合が増えている。   Furthermore, recent portable terminal devices and information terminal devices tend to have higher internal temperatures. As a first factor, it is necessary to improve the processing performance of the central processing unit (CPU) due to the necessity of improving the application performance and communication performance, and the temperature inside the device increases as the processing performance of the CPU increases. . A second factor is that a memory device is arranged in the vicinity of a CPU that generates a large amount of heat for high-density mounting by downsizing the portable terminal device. For example, with the POP (Package On Package) technology or the like, a case where a memory device is solder-mounted on top of a CPU device is increasing.

第3の要因として、防水機能など装置そのものの仕様で気密性を高くする必要があり、装置内部の温度が高くなる傾向がある。さらに、第4の要因として、メモリデバイスの製造プロセスの微細化で、不揮発メモリセルの1セルあたりに蓄える電子数も少なくなることから、デバイス自体のリテンション特性(データ保持特性)も低下している傾向がある。不揮発メモリのデバイス温度が高くなることで、メモリセルのリテンション特性(データ保持特性)が劣化し、常温で使用するよりもデータ化けのリスクが高くなることについては、非特許文献1に記載されている。   As a third factor, it is necessary to increase the airtightness in the specifications of the device itself such as a waterproof function, and the temperature inside the device tends to increase. Further, as a fourth factor, since the number of electrons stored per non-volatile memory cell is reduced due to miniaturization of the memory device manufacturing process, the retention characteristic (data retention characteristic) of the device itself is also deteriorated. Tend. Non-Patent Document 1 describes that the retention characteristic (data retention characteristic) of a memory cell deteriorates due to the device temperature of the non-volatile memory being increased, and the risk of data corruption is higher than that used at room temperature. Yes.

このように、装置自体が高温になりやすい傾向にあり、デバイス自体もリテンション特性(データ保持特性)が低下している傾向にある。そのため近年の携帯端末装置や情報端末装置(以下、総称として、端末装置と略記することがある)におけるリテンション特性起因でのデータ化けが発生するリスクは、高まっている。そのため端末装置には、消費電力の小さい簡易な回路で、装置温度の履歴をモニタし、システムに通知する手段が必要となる。   In this way, the device itself tends to become high temperature, and the device itself also tends to have low retention characteristics (data retention characteristics). For this reason, the risk of data corruption due to retention characteristics in recent mobile terminal devices and information terminal devices (hereinafter sometimes abbreviated as terminal devices) is increasing. For this reason, the terminal device needs a means for monitoring the device temperature history and notifying the system with a simple circuit with low power consumption.

装置温度をモニタし、トラブルの発生を防止する先行特許文献として下記文献がある。特許文献1には、一定経過時間ごとに装置温度を計測し、計測した温度にしたがって重み付けした経過時間をカウントする。重み付けした経過時間が所定時間を超えた場合には、不揮発性メモリに再度書き込み動作を行う技術が示されている。また特許文献2には、周囲温度を定期的に計測する温度検出装置と、検出温度が規格範囲内ならばカウント値を+1、規格範囲外ならばカウント値を+2、加算する演算装置と、カウント値が設定値を超えた場合には警報を出力する技術が示されている。   There are the following documents as prior patent documents for monitoring the apparatus temperature and preventing troubles. In Patent Document 1, the apparatus temperature is measured at every constant elapsed time, and the elapsed time weighted according to the measured temperature is counted. A technique is described in which when a weighted elapsed time exceeds a predetermined time, a write operation is performed again in the nonvolatile memory. Further, Patent Document 2 discloses a temperature detection device that periodically measures the ambient temperature, a count value that is +1 if the detected temperature is within the standard range, and an arithmetic device that adds +2 if the detected temperature is outside the standard range, and a count A technique for outputting an alarm when a value exceeds a set value is shown.

特開2000−11670号公報JP 2000-11670 A 特開2001−144243号公報JP 2001-144243 A

(株)東芝、信頼性試験資料(http://www.semicon.toshiba.co.jp/shared/reliability_pdf/bdj0128e_chap03.pdf)Toshiba Corporation, Reliability Test Data (http://www.semicon.toshiba.co.jp/shared/reliability_pdf/bdj0128e_chap03.pdf) ニューモニクス製NANDデバイスのデータシート(http://www.numonyx.com/Documents/Datasheets/NAND_08GW3C2B.pdf)Numonyx NAND device data sheet (http://www.numonyx.com/Documents/Datasheets/NAND_08GW3C2B.pdf) National semiconductor製LMC555のデータシート(http://www.national.com/JPN/ds/LM/LMC555.pdf)Data sheet for National Semiconductor LMC555 (http://www.national.com/JPN/ds/LM/LMC555.pdf)

上記したように、端末装置では、アプリケーションを動作させるとCPU、メモリ、および周辺回路が発熱するため、装置内部が高温になる。装置内部の温度が高温になると、信頼性の低い不揮発メモリでは、リテンション特性の悪化が原因で、書き込みデータのデータ化けが発生してしまい、システムの信頼性を低下させる要因となる。データ化けが発生する前に、データの再書き込みを実施することで、データ化けを防止することができる。上記した特許文献では、データの再書き込みを実施することで、データ化けを防止している。しかし、上記した特許文献では、周囲温度を一定間隔毎に測定し、測定した温度を、その時間間隔における温度としている。しかしながら、最近の端末装置は、多くのアプリケーションを備えており、どのアプリケーションが動作中であるかにより、装置温度は大きく変化する。従って、上記した装置温度を一定間隔毎に測定するという特許文献の技術ではカウント値が不正確であり、端末装置には使用できない。そのため端末装置に使用できる簡易な方法で、より正確に再書き込みを行う時期を検出する手段が求められているという問題がある。   As described above, in the terminal device, when the application is operated, the CPU, the memory, and the peripheral circuit generate heat, so that the temperature inside the device becomes high. When the temperature inside the device becomes high, in a non-reliable nonvolatile memory, write data is garbled due to deterioration of retention characteristics, which causes a decrease in system reliability. Data corruption can be prevented by rewriting data before data corruption occurs. In the above-described patent document, data corruption is prevented by rewriting data. However, in the above-described patent document, the ambient temperature is measured at regular intervals, and the measured temperature is set as the temperature at the time interval. However, recent terminal devices have many applications, and the device temperature varies greatly depending on which application is operating. Therefore, the technique described in Patent Literature that measures the device temperature at regular intervals is inaccurate and cannot be used for a terminal device. For this reason, there is a problem that means for detecting the timing for rewriting more accurately is required by a simple method that can be used for the terminal device.

本発明は、このように高温時に特性の劣化するデバイスを備えた装置で、その装置内部が高温になった場合に、簡易な方法で、処置を行う最適な時期を検出する手段を提供することにある。   The present invention provides a means for detecting an optimum timing for performing treatment in a simple manner when the inside of the apparatus becomes high temperature in such an apparatus having a device whose characteristics deteriorate at a high temperature. It is in.

本発明の1つの観点によれば、装置内部の温度を検出し、検出した温度に応じて重み付けしたストレス加速時間をストレスカウント値として積算し、前記ストレスカウント値が設定された値以上になったときに割り込み信号を出力する高温検出カウンタ回路と、装置の動作を制御するCPUと、を備え、前記CPUは、前記高温検出カウンタ回路からの割り込み信号を累積カウントした累積ストレス加速時間と、タイマ回路の時間情報から得られたシステム時間との合計値が、設定されたストレス管理時間を超えた場合に、装置内部の不揮発性メモリに再書き込みを行うことを特徴とする端末装置が得られる。   According to one aspect of the present invention, the temperature inside the apparatus is detected, the stress acceleration time weighted according to the detected temperature is integrated as a stress count value, and the stress count value is equal to or greater than a set value. A high-temperature detection counter circuit that sometimes outputs an interrupt signal, and a CPU that controls the operation of the device, the CPU cumulatively accelerating the interrupt signal from the high-temperature detection counter circuit, and a timer circuit Thus, when the total value of the system time obtained from the time information exceeds the set stress management time, a terminal device is obtained in which rewriting is performed in the nonvolatile memory inside the device.

本発明の他の観点によれば、装置内部の温度をそれぞれ異なる温度しきい値を用いて検出する複数の温度センサと、前記複数の温度センサのうち一番低い温度を検出する温度センサからの高温検出信号によりクロック信号を出力する発振回路と、前記クロック信号の入力された回数を前記複数の温度センサからの高温検出信号のそれぞれに対応させて重み付けしたストレスカウント値として積算するカウンタ回路と、を有し、前記カウンタ回路は、前記ストレスカウント値が設定された最大値以上になった場合に、割り込み信号を出力するとともに、前記ストレスカウント値をリセットすることを特徴とする高温検出カウンタ回路が得られる。   According to another aspect of the present invention, a plurality of temperature sensors that detect the temperature inside the apparatus using different temperature thresholds, and a temperature sensor that detects the lowest temperature among the plurality of temperature sensors. An oscillation circuit that outputs a clock signal in response to a high temperature detection signal; a counter circuit that accumulates the number of times the clock signal is input as a stress count value that is weighted corresponding to each of the high temperature detection signals from the plurality of temperature sensors; The counter circuit outputs an interrupt signal and resets the stress count value when the stress count value exceeds a set maximum value. can get.

本発明のさらなる他の観点によれば、CPUが、管理テーブルのそれぞれのレジスタにタイマ回路から読み出したシステム時間と、バックアップされていた累積ストレス加速時間と、前記システム時間と前記累積ストレス加速時間の合計値と、設定されているストレス管理時間と、を書き込み、高温検出カウンタ回路のレジスタにはバックアップされているストレスカウント値を書き込む初期化ステップと、高温検出カウンタ回路は装置内部の温度を検出し、検出した温度に応じて重み付けしたストレスカウント値を前記高温検出カウンタ回路のレジスタに累積カウントし、その累積カウントしたストレスカウント値が一定値以上になった場合に、前記高温検出カウンタ回路は割り込み信号をCPUに出力し、CPUは前記割り込み信号を累積ストレス加速時間としてカウントアップし、前記高温検出カウンタ回路はさらに前記ストレスカウント値をリセットし、再び検出した温度に応じて重み付けしたストレスカウント値を前記高温検出カウンタ回路のレジスタに累積カウントする動作を繰り返し行うステップと、CPUは前記システム時間と前記累積ストレス加速時間の合計値が、前記ストレス管理時間を越えた場合には、装置内部の不揮発メモリに再書き込みを行う書き込みステップと、を備えたことを特徴とする不揮発メモリへの再書き込み方法が得られる。   According to still another aspect of the present invention, the CPU reads the system time read from the timer circuit into each register of the management table, the accumulated stress acceleration time that has been backed up, the system time, and the accumulated stress acceleration time. The initialization step of writing the total value and the set stress management time and writing the stress count value backed up to the register of the high temperature detection counter circuit, and the high temperature detection counter circuit detects the temperature inside the device. Then, the stress count value weighted according to the detected temperature is cumulatively counted in the register of the high temperature detection counter circuit, and when the cumulative count of the stress count value exceeds a certain value, the high temperature detection counter circuit Is output to the CPU, and the CPU accumulates the interrupt signal. Counting up as stress acceleration time, the high temperature detection counter circuit further resets the stress count value, and repeats the operation of accumulating and counting the stress count value weighted according to the detected temperature again in the register of the high temperature detection counter circuit And a writing step of rewriting the nonvolatile memory inside the device when the total value of the system time and the accumulated stress acceleration time exceeds the stress management time. A characteristic rewriting method for a nonvolatile memory can be obtained.

本発明の端末装置は、高温検出カウンタ回路と、装置の動作を制御するCPUとを備えている。高温検出カウンタ回路は、装置内部の温度を検出し、検出した温度に応じて重み付けしたストレス加速時間をストレスカウント値として積算し、そのストレスカウント値が設定された値以上になったときに割り込み信号を出力する。CPUは、高温検出カウンタ回路からの割り込み信号を累積カウントした累積ストレス加速時間と、タイマ回路の時間情報から得られたシステム時間との合計値が、設定されたストレス管理時間を超えた場合に不揮発性メモリに再書き込みを行う。   The terminal device of the present invention includes a high temperature detection counter circuit and a CPU that controls the operation of the device. The high-temperature detection counter circuit detects the temperature inside the device, integrates the stress acceleration time weighted according to the detected temperature as a stress count value, and generates an interrupt signal when the stress count value exceeds the set value. Is output. The CPU is nonvolatile when the total value of the accumulated stress acceleration time obtained by accumulating the interrupt signal from the high temperature detection counter circuit and the system time obtained from the time information of the timer circuit exceeds the set stress management time. Rewrite to the memory.

このように本発明では、データ保持が保証されたストレス管理時間内に、アプリケーションプログラムなどが記憶された不揮発メモリを再書き込みすることができる。したがって、不揮発メモリのリテンション特性起因で発生する不具合を未然に防止することができる。   As described above, according to the present invention, the nonvolatile memory in which the application program and the like are stored can be rewritten within the stress management time in which data retention is guaranteed. Therefore, it is possible to prevent problems caused by the retention characteristics of the nonvolatile memory.

本発明における端末装置のシステム構成図である。It is a system block diagram of the terminal device in this invention. 本発明における高温検出カウンタ回路の回路ブロック図である。It is a circuit block diagram of a high temperature detection counter circuit in the present invention. 本発明におけるカウンタ回路の真理値表である。It is a truth table of the counter circuit in the present invention. 本発明におけるカウンタ回路のストレス加速時間の設定例である。It is a setting example of the stress acceleration time of the counter circuit in the present invention. 本発明におけるストレスカウント値のMAX値の設定例である。It is an example of setting the MAX value of the stress count value in the present invention. 本発明における高温検出カウンタ回路の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of the high temperature detection counter circuit in this invention. 本発明におけるCPUのレジスタに保管される管理テーブル例である。It is an example of the management table preserve | saved at the register | resistor of CPU in this invention. 本発明の構成を携帯電話に搭載した場合の動作例を示すフローチャートである。It is a flowchart which shows the operation example at the time of carrying the structure of this invention in a mobile telephone.

(第一の実施の形態)
以下、本発明の実施形態を、図面を参照して詳細に説明する。図1に、端末装置のシステム構成図を示す。図2は高温検出カウンタ回路の回路ブロック図、図3はカウンタ回路の真理値表、図4はカウンタ回路のストレス加速時間の設定例、図5は本発明におけるストレスカウント値のMAX値の設定例、をそれぞれ示す。図6は高温検出カウンタ回路の動作を示すタイミングチャートである。図7はCPUのレジスタに保管される管理テーブルの1例である。
(First embodiment)
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 shows a system configuration diagram of a terminal device. 2 is a circuit block diagram of the high temperature detection counter circuit, FIG. 3 is a truth table of the counter circuit, FIG. 4 is a setting example of the stress acceleration time of the counter circuit, and FIG. 5 is a setting example of the MAX value of the stress count value in the present invention. , Respectively. FIG. 6 is a timing chart showing the operation of the high temperature detection counter circuit. FIG. 7 shows an example of a management table stored in the CPU register.

図1に、携帯端末装置や情報端末装置の端末装置のシステム構成を示す。端末装置は揮発メモリ(101)、周辺回路(102)、タイマ回路(103)、CPU(104)、高温検出カウンタ回路(105)、不揮発メモリ(106)から構成されている。揮発メモリ(101)は、アプリケーションを動作させるための揮発メモリ(DRAM)である。周辺回路(102)には、無線回路、LCD、キー入出力装置などが含まれている。タイマ回路(103)は、不揮発メモリの書き込みを行ってから現在までに経過した時間を示す。高温検出カウンタ回路(105)は、高温を検出するセンサと、カウンタ回路と、発振回路とで構成され、本発明における最も特徴ある回路である。不揮発メモリ(106)は、プログラムコードやデータが格納されている不揮発メモリ(MLC−NANDメモリ)である。   FIG. 1 shows a system configuration of a terminal device such as a portable terminal device or an information terminal device. The terminal device includes a volatile memory (101), a peripheral circuit (102), a timer circuit (103), a CPU (104), a high temperature detection counter circuit (105), and a nonvolatile memory (106). The volatile memory (101) is a volatile memory (DRAM) for operating an application. The peripheral circuit (102) includes a wireless circuit, an LCD, a key input / output device, and the like. The timer circuit (103) indicates the time that has elapsed since the writing of the nonvolatile memory. The high temperature detection counter circuit (105) is composed of a sensor for detecting a high temperature, a counter circuit, and an oscillation circuit, and is the most characteristic circuit in the present invention. The nonvolatile memory (106) is a nonvolatile memory (MLC-NAND memory) in which program codes and data are stored.

CPU(104)は、端末装置全体の動作を制御する。例えば、携帯電話システムの一般的な動作としては、システムを起動する時に、CPU(104)は、不揮発メモリ(106)に格納してあるアプリケーションプログラムなどを、読み出して、揮発メモリ(101)に展開する。次に、CPU(104)は、揮発メモリ(101)に展開されたアプリケーションプログラムを用い、プログラムを実行する仕組みになっている。このように、CPU(104)は、プログラムコードやアプリケーションプログラムの記述に従って、様々な、周辺回路(102)を制御することにより、装置に求められる機能を実現している。   The CPU (104) controls the operation of the entire terminal device. For example, as a general operation of a mobile phone system, when starting the system, the CPU (104) reads out an application program stored in the nonvolatile memory (106) and develops it in the volatile memory (101). To do. Next, the CPU (104) is configured to execute the program using the application program developed in the volatile memory (101). As described above, the CPU (104) realizes various functions required for the apparatus by controlling various peripheral circuits (102) in accordance with the description of the program code and application program.

携帯端末装置で行われる通話の動作は、例えば、以下のように実現される。ユーザが通話の操作のために、周辺回路(102)のダイヤルキーと通話ボタンを押す。CPU(104)が、周辺回路(102)の中のキー入力でその操作を検知し、通話に必要なアプリケーションプログラムを、不揮発メモリ(106)から、揮発メモリ(101)に展開する。次に、CPU(104)は、そのアプリケーションプログラムで、周辺回路(102)の無線回路を制御し、基地局との無線通信を行う。不揮発メモリ(106)は、一般的なNANDデバイスであり、例えば、非特許文献2のデータシートで示されるニューモニクス製NANDデバイスを使用することができる。   The operation of a call performed on the mobile terminal device is realized as follows, for example. The user presses a dial key and a call button of the peripheral circuit (102) for a call operation. The CPU (104) detects the operation by a key input in the peripheral circuit (102), and develops an application program necessary for a call from the nonvolatile memory (106) to the volatile memory (101). Next, the CPU (104) uses the application program to control the wireless circuit of the peripheral circuit (102) and perform wireless communication with the base station. The nonvolatile memory (106) is a general NAND device, and for example, a Numonyx NAND device shown in the data sheet of Non-Patent Document 2 can be used.

図2は、本発明の高温検出カウンタ回路(105)の回路構成を説明した回路ブロック図である。高温検出カウンタ回路(105)は、カウンタ回路(203)、発振回路(207)、温度センサ2(208)、温度センサ1(209)から構成される。温度センサ1(209)と、温度センサ2(208)とは検出する温度しきい値がそれぞれ異なるように設定されている。温度センサ1(209)は、温度しきい値である第1の高温以上を検出すると高温検出信号として“H”を出力する。温度センサ2(208)は、温度しきい値として温度センサ1よりも高い温度である第2の高温以上を検出すると高温検出信号として“H”を出力する。   FIG. 2 is a circuit block diagram illustrating the circuit configuration of the high temperature detection counter circuit (105) of the present invention. The high temperature detection counter circuit (105) includes a counter circuit (203), an oscillation circuit (207), a temperature sensor 2 (208), and a temperature sensor 1 (209). Temperature sensor 1 (209) and temperature sensor 2 (208) are set such that the detected temperature threshold values are different from each other. The temperature sensor 1 (209) outputs “H” as a high temperature detection signal when it detects the first high temperature or higher which is the temperature threshold value. When the temperature sensor 2 (208) detects a second high temperature or higher, which is a temperature higher than the temperature sensor 1, as a temperature threshold value, it outputs “H” as a high temperature detection signal.

発振回路(207)は、温度センサ1(209)が高温を検出し、高温検出信号として“H”を出力している場合にのみ、1Hzのクロック信号(206)を出力する。カウンタ回路(203)は、発振回路のクロック信号(206)の立ち上がりエッジに同期し、各温度センサの出力(204および205)によって重み付けされたストレス値(ストレス加速時間とも言う)をカウントし、ストレスカウント値としてレジスタに累積する。そのストレスカウント値が、設定されたMAX値になるとCPUに対して割り込み信号(201)を出力する。CPUからのリセット信号(202)を受信時には、内部のレジスタに累積されているストレスカウント値を、“0”にリセットする。   The oscillation circuit (207) outputs a 1 Hz clock signal (206) only when the temperature sensor 1 (209) detects a high temperature and outputs "H" as a high temperature detection signal. The counter circuit (203) counts the stress value (also referred to as stress acceleration time) weighted by the outputs (204 and 205) of each temperature sensor in synchronization with the rising edge of the clock signal (206) of the oscillation circuit. Accumulate in register as count value. When the stress count value reaches the set MAX value, an interrupt signal (201) is output to the CPU. When the reset signal (202) is received from the CPU, the stress count value accumulated in the internal register is reset to “0”.

図3は、カウンタ回路(203)の真理値表(220)である。カウンタ回路(203)の入力としては、CPUから出力されるリセット信号(202)、2つの温度センサからの温度センサ1の出力(205)、温度センサ2の出力(204)、および発振回路の出力であるクロック(206)がある。カウンタ回路(203)の出力は、CPUへ出力される割り込み信号(201)である。   FIG. 3 is a truth table (220) of the counter circuit (203). As an input of the counter circuit (203), a reset signal (202) output from the CPU, an output (205) of the temperature sensor 1 from two temperature sensors, an output (204) of the temperature sensor 2, and an output of the oscillation circuit There is a clock (206). The output of the counter circuit (203) is an interrupt signal (201) output to the CPU.

本カウンタ回路(203)の動作を、真理値表(220)を参照して説明する。CPUからのリセット信号(202)が“L”のときには、他の入力信号に関係なく、カウンタ回路は内部のレジスタ値(ストレスカウント値)Qを“0”にリセットする(条件1)。条件2以降は、CPUからのリセット信号(202)が“H”のときである。温度センサ1の出力(205)が“L”の場合は、クロック信号(206)の“H”立ち上がりエッジが来ても内部レジスタ値Qの値を、そのまま保持する(条件2)。この条件2は、装置温度が常温に近く、第1の検出温度以下であることから、カウンタ回路は、カウントアップしないで、現状の値を保持する。   The operation of the counter circuit (203) will be described with reference to the truth table (220). When the reset signal (202) from the CPU is “L”, the counter circuit resets the internal register value (stress count value) Q to “0” regardless of other input signals (condition 1). Condition 2 and after are when the reset signal (202) from the CPU is "H". When the output (205) of the temperature sensor 1 is “L”, the internal register value Q is held as it is even when the “H” rising edge of the clock signal (206) comes (condition 2). In condition 2, since the apparatus temperature is close to room temperature and is equal to or lower than the first detection temperature, the counter circuit does not count up and maintains the current value.

温度センサ1の出力(205)が“H”で、温度センサ2の出力(204)が“L”の場合、クロック信号(206)の“H”立ち上がりエッジで、内部レジスタ値Qの値を温度センサ1検出時のストレス加速時間td1(td1は後で説明する)だけカウントアップする(条件3)。温度センサ1の出力(205)が“H”で、温度センサ2の出力(204)が“H”の場合、クロック信号(206)の“H”立ち上がりエッジで、内部レジスタ値Qの値を温度センサ2検出時のストレス加速時間td2(td2は後で説明する)だけカウントアップする(条件4)。これらの条件3、4は、装置温度が高温であり、カウンタ回路は、それぞれの設定温度の重み付けによるストレス加速時間に従って、内部レジスタ値であるストレスカウント値をカウントアップする。   When the output (205) of the temperature sensor 1 is “H” and the output (204) of the temperature sensor 2 is “L”, the value of the internal register value Q is changed to the temperature at the “H” rising edge of the clock signal (206). Counts up only for the stress acceleration time td1 when sensor 1 is detected (td1 will be described later) (condition 3). When the output (205) of the temperature sensor 1 is “H” and the output (204) of the temperature sensor 2 is “H”, the value of the internal register value Q is changed to the temperature at the “H” rising edge of the clock signal (206). Counts up only for the stress acceleration time td2 at the time of sensor 2 detection (td2 will be described later) (condition 4). Under these conditions 3 and 4, the apparatus temperature is high, and the counter circuit counts up the stress count value, which is an internal register value, according to the stress acceleration time by weighting each set temperature.

このように、温度センサ1、2が高温を検出した状態では、クロック信号毎に、カウンタ回路の内部レジスタ値(ストレスカウント値)はカウントアップされる。カウンタ回路の内部レジスタ値Qが上限値(MAX)以上にカウントアップされれば、クロック信号(206)の立ち上がりエッジでCPUに対して割り込み信号(201)の“H”を出力する(条件5)。カウンタ回路は割り込み信号(201)を出力し、さらに次の内部レジスタ値(ストレスカウント値)を、“0”にリセットする。   Thus, in a state where the temperature sensors 1 and 2 detect a high temperature, the internal register value (stress count value) of the counter circuit is counted up for each clock signal. When the internal register value Q of the counter circuit is counted up to the upper limit (MAX) or more, the interrupt signal (201) “H” is output to the CPU at the rising edge of the clock signal (206) (condition 5). . The counter circuit outputs an interrupt signal (201), and further resets the next internal register value (stress count value) to “0”.

図4は、ストレス加速時間の設定例(230)を示したものである。この例では、備考欄(236)にあるような各センサの検出温度において、デバイスが常温の何倍のストレスを受けるかという情報から、各温度センサ検出時のストレス加速時間(td1、td2)の設定値(231)を示したものである。説明を判り易くするため、データリテンション特性の例をとり、具体的な数値で説明する。   FIG. 4 shows a setting example (230) of the stress acceleration time. In this example, the stress acceleration time (td1, td2) at the time of detection of each temperature sensor is determined from information on how many times the device is subjected to stress at the detected temperature of each sensor as in the remarks column (236). The set value (231) is shown. In order to make the explanation easy to understand, an example of the data retention characteristic is taken and described with specific numerical values.

前提条件として、温度センサ1(209)は70℃以上の高温を検出した場合“H”を出力し、温度センサ2(208)は80℃以上の高温を検出した場合“H”を出力する2つの温度センサを用いたとする。また、不揮発メモリの高温によるリテンション特性が、70℃以上80℃未満の場合、常温よりも3倍のストレス、80℃以上では、常温よりも10倍のストレスを受けるということが、事前の実験により判明しているものとする。温度が70℃以上80℃未満の場合には、温度センサ1(209)が高温検出、温度センサ2(208)が高温未検出の状態である。このように温度が70℃以上80℃未満の場合には、1秒間で受けるストレスは、常温の3秒相当で、常温1秒間に受けるストレスよりも、2秒間分多くストレスを受けたことになる。この場合のストレス加速時間td1を2(234)とする。   As a precondition, the temperature sensor 1 (209) outputs “H” when a high temperature of 70 ° C. or higher is detected, and the temperature sensor 2 (208) outputs “H” when a high temperature of 80 ° C. or higher is detected 2 Assume that two temperature sensors are used. In addition, according to prior experiments, when the retention characteristics of nonvolatile memory at high temperatures are 70 ° C. or higher and lower than 80 ° C., stress is 3 times higher than normal temperature, and at 80 ° C. or higher, it is 10 times higher than normal temperature. It shall be known. When the temperature is 70 ° C. or higher and lower than 80 ° C., the temperature sensor 1 (209) is in the high temperature detection state and the temperature sensor 2 (208) is in the high temperature non-detection state. As described above, when the temperature is 70 ° C. or more and less than 80 ° C., the stress received in one second is equivalent to 3 seconds at room temperature, and is stressed by 2 seconds more than the stress received in room temperature for 1 second. . In this case, the stress acceleration time td1 is 2 (234).

温度が80℃以上で、温度センサ2(208)が高温検出した場合は、不揮発メモリデバイスが1秒間で受けるストレスは、常温の10秒相当になるため、常温1秒間に受けるストレスよりも、9秒間分多くストレスをうけたことになる。この場合のストレス加速時間td2は9(235)とする。ストレス加速時間とは、1秒間の高温で受けるストレスが、常温の何秒分の加速に相当するかを示す値と定義する。例えば本発明では、装置の温度が70℃以上80℃未満の場合のストレス加速時間td1は2、80℃以上の場合のストレス加速時間td2は9である。このように、80℃以上の場合のストレス加速時間は、70℃以上80℃未満の場合のストレス加速時間に比較して大きくなる。   When the temperature is 80 ° C. or higher and the temperature sensor 2 (208) detects a high temperature, the stress that the non-volatile memory device receives in 1 second is equivalent to 10 seconds at room temperature. I was stressed a lot by the second. In this case, the stress acceleration time td2 is 9 (235). The stress acceleration time is defined as a value indicating how many seconds the stress received at a high temperature for 1 second corresponds to acceleration at room temperature. For example, in the present invention, the stress acceleration time td1 is 2 when the temperature of the apparatus is 70 ° C. or more and less than 80 ° C., and the stress acceleration time td2 is 9 when the temperature of the device is 80 ° C. or more. As described above, the stress acceleration time when the temperature is 80 ° C. or higher is longer than the stress acceleration time when the temperature is 70 ° C. or higher and lower than 80 ° C.

これらの温度センサの温度しきい値の設定は、特に限定される必要はなく、端末装置で問題になりそうな温度に自由に設定することができる。また図2においては温度センサ1と、温度センサ2の2つの温度センサとした。しかし温度センサの数は、2つに限定されることなく、温度センサの数を3個以上にしてもよい。この場合には、温度範囲とそのストレス加速時間をそれぞれ設定すればよい。温度センサの数を増やした場合でも、一番低い温度(第1の温度)に設定された温度センサの出力で発振回路を動作させ、第3の高温時のストレス加速時間td3を設定することで、上記した構成と同様に構成することができる。また、温度センサの数を増やした場合には、温度によるストレス加速時間をより細かく設定できるため、ストレス量の精度を高くすることができる。   The setting of the temperature threshold value of these temperature sensors is not particularly limited, and can be freely set to a temperature that may cause a problem in the terminal device. In FIG. 2, the temperature sensor 1 and the temperature sensor 2 are two temperature sensors. However, the number of temperature sensors is not limited to two, and the number of temperature sensors may be three or more. In this case, the temperature range and the stress acceleration time may be set respectively. Even when the number of temperature sensors is increased, by operating the oscillation circuit with the output of the temperature sensor set to the lowest temperature (first temperature), the stress acceleration time td3 at the third high temperature is set. The configuration can be the same as that described above. Further, when the number of temperature sensors is increased, the stress acceleration time depending on the temperature can be set more finely, so that the accuracy of the stress amount can be increased.

図5は、カウンタ回路のストレスカウント値のMAX値の設定例(240)を示したものである。この例では、備考(243)にあるように、装置が高温により常温3600秒(1時間)相当のストレス加速を受けるごとにCPUに対して、割り込み信号(201)を出力するMAX値(241)の設定例である。発振回路(207)の発振周波数は1Hzであるからストレスカウント値が3600(242)になれば、常温で1時間相当のストレス加速を受けたことを検出できる。カウンタ回路の内部レジスタ(ストレスカウント)値が3600以上になると、カウンタ回路は、CPUに割り込み信号(201)を出力し、さらに内部レジスタ(ストレスカウント)値を“0”にリセットする。   FIG. 5 shows a setting example (240) of the MAX value of the stress count value of the counter circuit. In this example, as described in the remarks (243), the MAX value (241) for outputting an interrupt signal (201) to the CPU every time the device is subjected to stress acceleration equivalent to 3600 seconds (1 hour) at room temperature due to high temperature. It is an example of setting. Since the oscillation frequency of the oscillation circuit (207) is 1 Hz, when the stress count value is 3600 (242), it can be detected that stress acceleration corresponding to one hour has been received at room temperature. When the internal register (stress count) value of the counter circuit becomes 3600 or more, the counter circuit outputs an interrupt signal (201) to the CPU, and further resets the internal register (stress count) value to “0”.

図6は、本発明の高温検出カウンタ回路の動作タイミングチャートである。タイミングチャートには、リセット信号(201)、温度センサ1の出力(209)、温度センサ2の出力(208)、発振回路からのクロック信号(206)、カウンタ回路の内部レジスタ(ストレスカウント)値、CPUへの割り込み信号(201)を、それぞれ示している。   FIG. 6 is an operation timing chart of the high temperature detection counter circuit of the present invention. The timing chart includes a reset signal (201), an output (209) of the temperature sensor 1, an output (208) of the temperature sensor 2, a clock signal (206) from the oscillation circuit, an internal register (stress count) value of the counter circuit, An interrupt signal (201) to the CPU is shown.

最初に、オペレータによりシステムが起動される。時間t0において、CPU(104)がカウンタ回路(203)に対して、リセット信号(201)を出力する。カウンタ回路は、これを受けて内部レジスタ値を“0”にリセットする(340)。アプリケーションが動作して、時間t1において装置内部の温度が70℃以上になると、温度センサ1(209)は設定温度(温度しきい値)を超えたと判定し、温度検出信号出力が“H”になる(311)。温度センサ1(209)の“H”出力を受けて、発振回路(207)は、発振を開始し、1Hzのクロックを出力する(331)。カウンタ回路(203)は、発振回路の出力信号の立ち上がりエッジ(331)を検出し、温度センサ1出力(205)が“H”で、温度センサ2出力(204)がLである場合、td1だけカウントアップする(341)。このように、発振回路出力の立ち上がりエッジを受けて、時間t1〜t2までの間、内部レジスタ(ストレスカウント)値Qをtd1ずつ増加させていく。図では、1Hzのクロックのそれぞれの立ち上がりエッジにおいて、td1=2ずつ増加している。   Initially, the system is activated by the operator. At time t0, the CPU (104) outputs a reset signal (201) to the counter circuit (203). In response to this, the counter circuit resets the internal register value to “0” (340). When the application operates and the temperature inside the apparatus reaches 70 ° C. or more at time t1, the temperature sensor 1 (209) determines that the set temperature (temperature threshold value) has been exceeded, and the temperature detection signal output becomes “H”. (311). Upon receiving the “H” output of the temperature sensor 1 (209), the oscillation circuit (207) starts oscillation and outputs a 1 Hz clock (331). The counter circuit (203) detects the rising edge (331) of the output signal of the oscillation circuit, and when the temperature sensor 1 output (205) is “H” and the temperature sensor 2 output (204) is L, only td1 is obtained. Count up (341). In this way, the internal register (stress count) value Q is increased by td1 from time t1 to time t2 in response to the rising edge of the oscillation circuit output. In the figure, td1 = 2 is increased at each rising edge of the 1 Hz clock.

次に、装置内部の温度が80℃以上になると(時間t2)、温度センサ2(208)は設定温度を超えたと判定し、出力が“H”になる(321)。カウンタ回路(203)は、クロック信号の立ち上がりエッジ(332)で、温度センサ1出力(205)が“H”で、温度センサ2出力(204)が“H”である場合、td2だけカウントアップする(342)。このように、発振回路出力の立ち上がりエッジを受けて、時間t2〜t3までの間、内部レジスタ(ストレスカウント)値Qをtd2=9ずつ増加させていく。次に、装置内部の温度が80℃未満になると(時間t3)、温度センサ2(208)は設定温度未満になったと判定し、出力が“L”になる(322)。カウンタ回路(203)は、クロック信号の立ち上がりエッジ(333)で、温度センサ1出力(205)が“H”で、温度センサ2出力(204)が“L”であるから、td1を内部レジスタ値Qに加える(343)。このように、発振回路出力の立ち上がりエッジを受けて、時間t3〜t4までの間、内部レジスタ値Qをtd1ずつ増加させていく。   Next, when the temperature inside the apparatus becomes 80 ° C. or higher (time t2), the temperature sensor 2 (208) determines that the set temperature has been exceeded, and the output becomes “H” (321). The counter circuit (203) counts up by td2 when the temperature sensor 1 output (205) is "H" and the temperature sensor 2 output (204) is "H" at the rising edge (332) of the clock signal. (342). In this way, the internal register (stress count) value Q is increased by td2 = 9 from time t2 to time t3 in response to the rising edge of the oscillation circuit output. Next, when the temperature inside the apparatus becomes lower than 80 ° C. (time t3), the temperature sensor 2 (208) determines that the temperature has become lower than the set temperature, and the output becomes “L” (322). The counter circuit (203) sets the temperature sensor 1 output (205) to "H" and the temperature sensor 2 output (204) to "L" at the rising edge (333) of the clock signal, so that td1 is set to the internal register value. Add to Q (343). In this way, the internal register value Q is increased by td1 from time t3 to time t4 in response to the rising edge of the oscillation circuit output.

次に、アプリケーションの動作が終了するなどして、装置内部の温度が70℃未満になると(時間t4)、温度センサ1(209)は設定温度未満になったと判定し、出力が“L”になる(312)。発振回路はこれを受けてクロック信号を停止し、内部レジスタ(ストレスカウント)値Qは、その値を保持することになる。   Next, when the operation of the application ends, for example, when the temperature inside the apparatus falls below 70 ° C. (time t4), the temperature sensor 1 (209) determines that the temperature falls below the set temperature, and the output becomes “L”. (312). In response to this, the oscillation circuit stops the clock signal, and the internal register (stress count) value Q holds that value.

次に時間t5の直前までに、時間t1〜t4の動作が繰り返されて、カウンタ回路(203)の内部レジスタ値Qがカウンタ回路のMax値(max=3600)の1つ前の状態であったとする。再び、アプリケーションの動作が開始され、装置内部の温度が70℃以上になると(時間t5)、温度センサ1(209)は、設定温度を超えたと判定し、出力が“H”になる(313)。温度センサ1(209)の“H”出力を受けて、発振回路(207)は、再び発振を開始する。カウンタ回路(203)は、発振回路の出力信号の立ち上がりエッジ(334)を検出し、温度センサ1出力(205)が“H”で、温度センサ2出力(204)が“L”であることから、td1を内部レジスタ値Qに加える。このとき、内部レジスタ値QがMax以上になるため(MAX=3600)、CPUへの割り込み信号の1ショットパルスを出力する(351)。さらに内部レジスタ値Qを0にリセットする動作を行う(344)。   Next, immediately before time t5, the operation from time t1 to t4 is repeated, and the internal register value Q of the counter circuit (203) is in the state immediately before the Max value (max = 3600) of the counter circuit. To do. When the operation of the application is started again and the temperature inside the apparatus reaches 70 ° C. or more (time t5), the temperature sensor 1 (209) determines that the set temperature has been exceeded and the output becomes “H” (313). . In response to the “H” output of the temperature sensor 1 (209), the oscillation circuit (207) starts oscillation again. Since the counter circuit (203) detects the rising edge (334) of the output signal of the oscillation circuit, the temperature sensor 1 output (205) is “H” and the temperature sensor 2 output (204) is “L”. , Td1 is added to the internal register value Q. At this time, since the internal register value Q is equal to or greater than Max (MAX = 3600), a one-shot pulse of an interrupt signal to the CPU is output (351). Further, an operation of resetting the internal register value Q to 0 is performed (344).

図7は、CPU(104)の内部にあるレジスタに保管されている管理テーブル(400)である。管理テーブル(400)のレジスタとしては、以下の4つがある。システム時間tt1(401)は、タイマ回路(103)からCPUが読み出すことで得られるシステムの経過時間である。累積ストレス加速時間tt2(402)は、前記した高温検出カウンタ回路(105)からの割り込み信号(201)の発生回数を累積し、装置高温のために加速された常温相当での累積時間である。現在ストレス時間tt3(403)は、上記したシステム時間tt1(401)と累積ストレス加速時間tt2(402)の和の時間である。ストレス管理時間tt4(404)は、管理したい常温相当のストレス時間である。   FIG. 7 shows a management table (400) stored in a register inside the CPU (104). There are the following four registers in the management table (400). The system time tt1 (401) is an elapsed time of the system obtained by the CPU reading from the timer circuit (103). The accumulated stress acceleration time tt2 (402) is an accumulated time corresponding to room temperature that is accelerated due to the high temperature of the apparatus by accumulating the number of occurrences of the interrupt signal (201) from the high temperature detection counter circuit (105). The current stress time tt3 (403) is the sum of the system time tt1 (401) and the accumulated stress acceleration time tt2 (402). The stress management time tt4 (404) is a stress time corresponding to room temperature to be managed.

そして、装置稼働中、CPU(104)は、高温検出カウンタ回路(105)からの割り込み信号(201)を受信する。割り込み信号(201)の受信により、CPU(104)内部のレジスタである累積ストレス加速時間(402)を1ずつインクリメントしながら、システム時間tt1(401)と現在ストレス時間tt3(403)を更新しつづける。また、CPU(104)は、一定時間ごとに現在ストレス時間tt3(403)とストレス管理時間tt4(404)を比較し、現在ストレス時間tt3(403)がストレス管理時間tt4(404)を超えていれば、不揮発メモリのリテンション特性が管理時間を越えたと判断し、CPU(104)が、不揮発メモリ(106)に対し、再書き込みを行う。   During operation of the apparatus, the CPU (104) receives the interrupt signal (201) from the high temperature detection counter circuit (105). Upon receipt of the interrupt signal (201), the system time tt1 (401) and the current stress time tt3 (403) are continuously updated while the cumulative stress acceleration time (402), which is a register in the CPU (104), is incremented by one. . Further, the CPU (104) compares the current stress time tt3 (403) and the stress management time tt4 (404) at regular intervals, and the current stress time tt3 (403) exceeds the stress management time tt4 (404). For example, it is determined that the retention characteristic of the nonvolatile memory has exceeded the management time, and the CPU (104) rewrites the nonvolatile memory (106).

このように、実際に不揮発メモリのリテンション特性を管理する場合には、装置が動作していない常温の状態も含め、不揮発メモリの書き込みを行った時点からのストレス時間を算出し、再書き込み時期を判断する必要がある。不揮発メモリのリテンション特性の管理には、累積ストレス加速時間(tt2)とともに、システム時間(tt1)が用いられる。システム時間とは、タイマ回路が示す時間情報であり、装置が動作していない状態も含む時間である。例えばシステム時間は、装置の製造時点から経過した時間、あるいはアプリケーションプログラムなどの不揮発メモリの書き込みを行ってから現在までの経過した時間である。これら累積ストレス加速時間(tt2)と、システム時間(tt1)の和(現在ストレス時間tt3)が、常温相当のストレス時間と定義できる。そのため、常温相当のストレス時間が、前もって決めたストレス管理時間(tt4)を越えていれば、CPUは、不揮発メモリの再書き込みを実施する。   In this way, when actually managing the retention characteristics of the nonvolatile memory, calculate the stress time from the time when the nonvolatile memory was written, including the normal temperature state where the device is not operating, and set the rewriting time. It is necessary to judge. For managing the retention characteristics of the nonvolatile memory, the system time (tt1) is used together with the cumulative stress acceleration time (tt2). The system time is time information indicated by the timer circuit, and includes time when the apparatus is not operating. For example, the system time is the time that has elapsed since the device was manufactured, or the time that has elapsed since the writing of an application program or other nonvolatile memory. The sum of the accumulated stress acceleration time (tt2) and the system time (tt1) (current stress time tt3) can be defined as a stress time corresponding to room temperature. Therefore, if the stress time corresponding to room temperature exceeds the stress management time (tt4) determined in advance, the CPU rewrites the nonvolatile memory.

ここでのCPU(104)の管理テーブルの値は、時間単位である。つまり高温検出カウンタ回路(105)の内部レジスタ値は、温度変化に従って正確に秒単位でカウントされ、3600秒(1時間)単位で、CPUへの割り込み信号(201)が出力される。CPU(104)では、この割り込み信号(201)の発生数をカウントし、その回数を累積することで、秒単位から時間単位に変換している。高温検出カウンタ回路(105)の内部レジスタ値は秒単位とし、温度変化に従って、より正確にストレス加速時間をカウントする。しかしながら、不揮発メモリの再書込みまでの時間は、数千時間〜数年〜10年であり、秒単位のカウントでは桁数が多くなりすぎる。従ってCPU(104)の管理テーブルの値は時間単位とすることで、桁数の複雑な処理を簡略に行っている。このように高温検出カウンタ回路から、CPUにおける単位を秒から時間に変換することで、それぞれのレジスタの回路規模を適正な規模とすることができる。   The value in the management table of the CPU (104) here is a time unit. That is, the internal register value of the high temperature detection counter circuit (105) is accurately counted in seconds according to the temperature change, and the interrupt signal (201) to the CPU is output in 3600 seconds (1 hour). The CPU (104) counts the number of occurrences of the interrupt signal (201) and accumulates the number of times to convert from the second unit to the time unit. The internal register value of the high temperature detection counter circuit (105) is in seconds, and the stress acceleration time is counted more accurately according to the temperature change. However, the time until the rewriting of the nonvolatile memory is several thousand hours to several years to 10 years, and the number of digits becomes too large when counting in seconds. Therefore, the value of the management table of the CPU (104) is set to the time unit, thereby simplifying complicated processing of the number of digits. In this way, by converting the unit in the CPU from second to time from the high temperature detection counter circuit, the circuit scale of each register can be set to an appropriate scale.

本発明の携帯端末装置や情報端末装置は、高温になった場合に特性の劣化するデバイスの近傍に複数の温度センサを配置し、装置が動作中の装置内部温度をモニタする。複数の温度センサは、温度しきい値として第1の温度と、その第1の温度よりもそれぞれ異なる高い温度を検出できるように設定する。複数の温度センサのうち、最も低い第1の温度を検出する温度センサが高温を検出している間だけ、カウンタ回路のクロックとなる発振回路を動作させる。装置内部が高温になっている時間の履歴を取るために、発振回路からのクロックに同期し、複数の温度センサごとに重み付けしたストレスカウント値をカウンタ回路でカウントしていく。このように、第1の温度を検出する温度センサが高温を検出している間だけ、発振回路を動作させる回路構成にすると、高温検出時以外の、発振回路の動作がないため、消費電力は小さくできる。   In the portable terminal device and the information terminal device of the present invention, a plurality of temperature sensors are arranged in the vicinity of a device whose characteristics deteriorate when the temperature becomes high, and the internal temperature of the device in operation is monitored. The plurality of temperature sensors are set as temperature thresholds so as to detect the first temperature and a different temperature higher than the first temperature. The oscillation circuit serving as the clock of the counter circuit is operated only while the temperature sensor that detects the lowest first temperature among the plurality of temperature sensors detects the high temperature. In order to obtain a history of the time during which the inside of the apparatus is at a high temperature, the stress count value weighted for each of the plurality of temperature sensors is counted by the counter circuit in synchronization with the clock from the oscillation circuit. Thus, if the circuit configuration is such that the oscillation circuit is operated only while the temperature sensor that detects the first temperature is detecting a high temperature, there is no operation of the oscillation circuit except when the high temperature is detected. Can be small.

また、複数の温度センサごとの重み付けは、あらかじめ、机上設計、あるいは、メモリデバイスの事前評価で決定しておくことができる。机上設計であれば、不揮発メモリのリテンション特性は、非特許文献1に示されるように、温度が高くなるにつれて、ビット化けの発生リスクは高くなると考えてよく、アレニウスの式で知られるような指数関数的な重み付けをすると良い。また、デバイスの事前評価で決定しておくのであれば、不揮発メモリのリテンション特性については、温度センサの温度でビット化けが常温に比べて何倍発生しやすいかのデータを実験で求めておき、重み付けするストレス加速時間を決定しておけば良い。   Further, the weighting for each of the plurality of temperature sensors can be determined in advance by desktop design or prior evaluation of the memory device. If it is a desktop design, the retention characteristic of the nonvolatile memory may be considered that the risk of bit corruption increases as the temperature increases, as shown in Non-Patent Document 1, and is an index known by the Arrhenius equation. Functional weighting is recommended. In addition, if it is determined in advance evaluation of the device, with regard to the retention characteristics of the nonvolatile memory, data on how many times bit bit breakage is likely to occur at the temperature of the temperature sensor compared to normal temperature is obtained through experiments, It is only necessary to determine the stress acceleration time to be weighted.

このように、端末装置が動作中は装置内部温度をモニタし、複数の温度センサごとに重み付けされたストレス値をカウントしつづける。このストレスカウント値から、装置内部が高温になり、デバイスが受けたストレス量が、常温の何秒分加速されたかを知ることができる。そして、カウンタ回路でカウントする上限値(MAX)を決めておき、カウンタが上限値(MAX)になったときにCPUに割り込み信号として、通知する。割り込み信号を通知することで、装置内部が高温になったことから、デバイスが受けたストレス量が、一定値に達したことをシステム側のCPUが検知することができる。CPUは通知された割り込み信号の回数をカウントし、CPUのレジスタ上で管理すれば、装置内部が高温になったことで、デバイスが受けたストレス量(累積ストレス加速時間)を把握することができる。   In this way, while the terminal device is operating, the temperature inside the device is monitored, and the stress value weighted for each of the plurality of temperature sensors is continuously counted. From this stress count value, it is possible to know how many seconds at room temperature the amount of stress received by the device has been accelerated because the temperature inside the apparatus has become high. Then, an upper limit value (MAX) to be counted by the counter circuit is determined and notified to the CPU as an interrupt signal when the counter reaches the upper limit value (MAX). By notifying the interrupt signal, the CPU on the system side can detect that the amount of stress received by the device has reached a certain value because the temperature inside the apparatus has become high. If the CPU counts the number of notified interrupt signals and manages it on the register of the CPU, the amount of stress (accumulated stress acceleration time) received by the device can be grasped when the inside of the apparatus becomes high temperature. .

不揮発メモリのリテンション特性を管理には、「累積ストレス加速時間」と、「システム時間」が用いられる。「累積ストレス加速時間」と「システム時間」との和が、「現在のストレス時間」となる。「現在のストレス時間」が、前もって設定されたストレス管理時間を越えていれば、CPUは、不揮発メモリの再書き込みを実施する。CPUは、メモリの再書き込みを行うことで、信頼性を高めたシステムが得られる。   To manage the retention characteristics of the nonvolatile memory, “accumulated stress acceleration time” and “system time” are used. The sum of “accumulated stress acceleration time” and “system time” becomes “current stress time”. If the “current stress time” exceeds the stress management time set in advance, the CPU rewrites the nonvolatile memory. The CPU can rewrite the memory to obtain a system with improved reliability.

(実施例)
次に、実施例として、本発明を携帯電話に搭載した場合を、図8を参照して説明する。図8には、本発明の構成を携帯電話に搭載した場合の動作フローチャートの例を示している。
(Example)
Next, as an embodiment, a case where the present invention is mounted on a mobile phone will be described with reference to FIG. FIG. 8 shows an example of an operation flowchart when the configuration of the present invention is mounted on a mobile phone.

最初に、ステップ501として、オペレータがシステムを起動する。次に、ステップ502として、CPU(104)は、管理テーブルの初期化としてレジスタに書き込む。CPU(104)は、タイマ回路(103)から現在のシステム時間を読み出し、CPU(104)の内部にあるレジスタ上のシステム時間tt1(401)に書き込む。CPU(104)は、前回のシステムOFF時に不揮発メモリ(106)にバックアップした累積ストレス加速時間の値をCPU(104)の内部にあるレジスタ上の累積ストレス加速時間tt2(402)として書き込む。初めてのシステム起動の場合は、バックアップされた累積ストレス加速時間が0であることから初期値として0が書き込まれる。CPU(104)は、システム時間tt1(401)と累積ストレス加速時間tt2(402)を読み出し、その合計値を求め、その結果を、現在ストレス時間tt3(403)として書き込む。CPU(104)は、あらかじめ、設定してある不揮発メモリ(106)上に格納されているストレス管理時間をストレス管理時間tt4(404)として書き込む。   First, in step 501, the operator starts the system. Next, as step 502, the CPU (104) writes it in the register as initialization of the management table. The CPU (104) reads the current system time from the timer circuit (103) and writes it in the system time tt1 (401) on the register inside the CPU (104). The CPU (104) writes the value of the accumulated stress acceleration time backed up in the nonvolatile memory (106) when the system was turned off as the accumulated stress acceleration time tt2 (402) on the register in the CPU (104). In the case of the first system start-up, 0 is written as an initial value because the backed-up accumulated stress acceleration time is 0. The CPU (104) reads the system time tt1 (401) and the cumulative stress acceleration time tt2 (402), obtains the total value thereof, and writes the result as the current stress time tt3 (403). The CPU (104) writes the stress management time stored in advance in the nonvolatile memory (106) as the stress management time tt4 (404).

またCPU(104)は、カウンタ回路のレジスタの初期化を行う。前回のシステムOFF時に不揮発メモリ(106)にバックアップしたストレスカウント値を、高温検出カウンタ回路(105)のカウンタ回路(203)のレジスタに書き込む。このカウンタ回路のストレスカウント値は、システムOFF時には割り込み信号と同じ経路を使って不揮発メモリにバックアップされ、初期化時にはリセット信号が通知される経路を使って書き込みすることができる。初めてのシステム起動の場合は、バックアップされたストレスカウント値が0であることから初期値として0が書き込まれる。   The CPU (104) initializes the register of the counter circuit. The stress count value backed up in the nonvolatile memory (106) at the previous system OFF is written to the register of the counter circuit (203) of the high temperature detection counter circuit (105). The stress count value of the counter circuit can be backed up to the nonvolatile memory using the same path as the interrupt signal when the system is OFF, and can be written using the path where the reset signal is notified at initialization. In the case of the first system start-up, 0 is written as an initial value because the backed-up stress count value is 0.

次に、CPU(104)は、高温検出カウンタ回路の動作を開始させる(ステップ503)。高温検出カウンタ回路(105)の動作としては、前記した図6のタイミングチャートと同様の動作が行われる。高温検出動作中は、高温検出カウンタ回路(105)が、装置の温度履歴をモニタし、装置高温によって、あらかじめ設定したストレス加速時間をカウントアップし、ストレスカウント値として積算する。温度で重み付けされたストレス加速時間が積算されたストレスカウント値が、最大ストレスカウント値MAX(241)にカウントアップされる度に、CPU(104)に対して割り込み信号を出力しつづける動作を行う。   Next, the CPU (104) starts the operation of the high temperature detection counter circuit (step 503). As the operation of the high temperature detection counter circuit (105), the same operation as the timing chart of FIG. 6 described above is performed. During the high temperature detection operation, the high temperature detection counter circuit (105) monitors the temperature history of the apparatus, counts up a preset stress acceleration time according to the high temperature of the apparatus, and integrates it as a stress count value. Every time the stress count value obtained by integrating the stress acceleration time weighted by temperature is counted up to the maximum stress count value MAX (241), an operation of continuously outputting an interrupt signal to the CPU (104) is performed.

次に、CPU(104)は、高温検出カウンタ回路からの割り込み信号があるかチェックする(ステップ504)。割り込み信号がない場合は、次のステップ(ステップ506)へ進む。割り込み信号がある場合は、CPU(104)の内部にあるレジスタ上の累積ストレス加速時間tt2(402)を+1インクリメント(ステップ505)した後、次のステップ(ステップ506)へ進む。   Next, the CPU (104) checks whether there is an interrupt signal from the high temperature detection counter circuit (step 504). If there is no interrupt signal, the process proceeds to the next step (step 506). When there is an interrupt signal, the cumulative stress acceleration time tt2 (402) on the register in the CPU (104) is incremented by +1 (step 505), and then the process proceeds to the next step (step 506).

次に、CPU(104)は、管理テーブルのシステム時間tt1(401)、累積ストレス加速時間tt2(402)、現在ストレス時間tt3(403)の更新を行う(ステップ506)。CPU(104)は、タイマ回路(103)から現在のシステム時間を読み出し、CPU(104)の内部にあるレジスタ上のシステム時間tt1(401)に書き込む。CPU(104)は、システム時間tt1(401)と累積ストレス加速時間tt2(402)を読み出し、合計値を求め、その結果を、現在ストレス時間tt3(403)として書き込む。   Next, the CPU (104) updates the system time tt1 (401), the accumulated stress acceleration time tt2 (402), and the current stress time tt3 (403) in the management table (step 506). The CPU (104) reads the current system time from the timer circuit (103) and writes it in the system time tt1 (401) on the register inside the CPU (104). The CPU (104) reads the system time tt1 (401) and the cumulative stress acceleration time tt2 (402), obtains the total value, and writes the result as the current stress time tt3 (403).

次に、CPU(104)は、現在ストレス時間tt3(403)とストレス管理時間tt4(404)を比較する(ステップ507)。現在ストレス時間tt3(403)がストレス管理時間tt4(404)を超えていなければ、ステップ504に戻る。現在ストレス時間tt3(403)がストレス管理時間tt4(404)を超えている場合は、不揮発メモリのリテンション特性が管理時間を越えたと判断し、CPU(104)は、不揮発メモリ(106)に対し、再書き込みを行う(ステップ508)。不揮発メモリ(106)への再書き込みを行った後、CPU(104)は、タイマ回路(103)に対するリセット動作(時刻を0にリセット)、累積ストレス加速時間tt2(402)をリセットする。さらにCPU(104)は、高温検出カウンタ回路(105)に対しリセット信号を出力しカウンタ回路(203)のリセットを行う(ステップ509)。次に、ステップ504に戻り、再び高温検出カウンタ回路による高温検出動作を行う。   Next, the CPU (104) compares the current stress time tt3 (403) with the stress management time tt4 (404) (step 507). If the current stress time tt3 (403) does not exceed the stress management time tt4 (404), the process returns to step 504. If the current stress time tt3 (403) exceeds the stress management time tt4 (404), it is determined that the retention characteristic of the nonvolatile memory has exceeded the management time, and the CPU (104) Rewriting is performed (step 508). After rewriting to the nonvolatile memory (106), the CPU (104) resets the timer circuit (103) (reset the time to 0) and resets the accumulated stress acceleration time tt2 (402). Further, the CPU (104) outputs a reset signal to the high temperature detection counter circuit (105) to reset the counter circuit (203) (step 509). Next, returning to step 504, the high temperature detection operation by the high temperature detection counter circuit is performed again.

上記のように、CPU(104)は、装置の動作中に、不揮発メモリ(106)のリテンション特性が管理時間を越えたかどうかを常にチェックし、不揮発メモリ(106)の再書き込みの最適な時期を検出する。そして、管理時間を越えた場合は、CPU(104)が不揮発メモリ(106)の再書き込みを実施する。不揮発メモリの再書き込みを実施した後には、CPUのレジスタに記録された「累積ストレス加速時間」と、タイマ回路の「システム時刻」をリセットする。このようにレジスタをリセットすることで、次回の不揮発メモリの再書き込み時期を再び判定することが可能になる。また、CPU(104)は、システム電源OFFする場合、累積ストレス加速時間tt2や、ストレスカウント値を不揮発メモリ(106)にバックアップする。これにより、次回のシステム起動時に、バックアップした時間から再び、カウントすることが可能になる。このように、持続的に不揮発メモリの再書き込みの最適な時期をチェックし、CPUが不揮発メモリの再書き込みを行わせることで、システムの信頼性を高められる。   As described above, the CPU (104) always checks whether the retention characteristic of the nonvolatile memory (106) has exceeded the management time during the operation of the apparatus, and determines the optimum timing for rewriting the nonvolatile memory (106). To detect. When the management time is exceeded, the CPU (104) rewrites the nonvolatile memory (106). After rewriting the nonvolatile memory, the “accumulated stress acceleration time” recorded in the CPU register and the “system time” of the timer circuit are reset. By resetting the register in this way, it becomes possible to determine again the next rewriting time of the nonvolatile memory. When the system power is turned off, the CPU (104) backs up the accumulated stress acceleration time tt2 and the stress count value in the nonvolatile memory (106). This makes it possible to count again from the backup time at the next system startup. Thus, the reliability of the system can be improved by checking the optimum timing for rewriting the nonvolatile memory continuously and causing the CPU to rewrite the nonvolatile memory.

本発明の端末装置は、高温になった場合に特性の劣化するデバイスの近傍に複数の温度センサを配置し、動作中の装置内部温度をモニタする。複数の温度センサのうち、最も低い温度である第1の温度を検出する温度センサが高温を検出している間だけ、カウンタ回路のクロックとなる発振回路を動作させる。装置内部が高温になっている時間の履歴を取るために、カウンタ回路は発振回路からのクロックに同期し、複数の温度センサごとに重み付けしたストレスカウント値をカウントしていく。そして、カウンタ回路でカウントするストレスカウント値の上限値(MAX)を決めておき、カウンタが上限値(MAX)になったときにCPUに割り込み信号として、通知する。CPUは割り込みの回数をカウントし、CPUのレジスタ上で、累積ストレス加速時間として記憶する。   The terminal device of the present invention arranges a plurality of temperature sensors in the vicinity of a device whose characteristics deteriorate when the temperature becomes high, and monitors the temperature inside the device during operation. Of the plurality of temperature sensors, the oscillation circuit serving as the clock of the counter circuit is operated only while the temperature sensor that detects the first temperature, which is the lowest temperature, detects the high temperature. In order to obtain a history of the time during which the inside of the apparatus is at a high temperature, the counter circuit counts the stress count value weighted for each of the plurality of temperature sensors in synchronization with the clock from the oscillation circuit. Then, an upper limit value (MAX) of the stress count value counted by the counter circuit is determined and notified to the CPU as an interrupt signal when the counter reaches the upper limit value (MAX). The CPU counts the number of interruptions and stores it as the accumulated stress acceleration time on the CPU register.

不揮発メモリのリテンション特性の管理には、累積ストレス加速時間と、システム時間が用いられる。累積ストレス加速時間と、システム時間の和が、現在のストレス時間となる。現在のストレス時間が、前もって設定されたストレス管理時間を越えていれば、CPUは、不揮発メモリの再書き込みを実施する。このように本発明においては、ストレス時間をモニタすることで、不揮発メモリのデータ保持特性の悪化によるデータ化けに対して、データ化けが発生する前に、再書き込みを行うことで、システムの信頼性を高めることができる。   The accumulated stress acceleration time and the system time are used for managing the retention characteristics of the nonvolatile memory. The sum of the accumulated stress acceleration time and the system time becomes the current stress time. If the current stress time exceeds a preset stress management time, the CPU rewrites the nonvolatile memory. As described above, in the present invention, by monitoring the stress time, the data reliability due to the deterioration of the data retention characteristics of the nonvolatile memory is rewritten before the data corruption occurs, thereby improving the reliability of the system. Can be increased.

本発明の回路構成においては、下記の効果が得られる。第1の効果として、高温になった場合に特性の劣化するデバイスのストレスを簡易な回路で、かつ、小さな消費電流で実現することができることである。本発明の回路構成では、装置内部温度の一番低い温度を検出する温度センサが検出したときにのみ、カウンタ回路のクロックを発生する発振回路を駆動させる。そのため高温でない場合(常温に近く、第1の検出温度以下の場合)は、発振回路が駆動されないことから、消費電流を最小限に抑えることができる。   In the circuit configuration of the present invention, the following effects can be obtained. The first effect is that the stress of the device whose characteristics deteriorate when the temperature becomes high can be realized with a simple circuit and a small current consumption. In the circuit configuration of the present invention, the oscillation circuit that generates the clock of the counter circuit is driven only when the temperature sensor that detects the lowest temperature inside the apparatus detects. Therefore, when the temperature is not high (when the temperature is close to normal temperature and equal to or lower than the first detection temperature), the oscillation circuit is not driven, so that current consumption can be minimized.

例えば、この発振回路を一般的なタイマICで実現したとする。一般的なタイマIC(例えばNational semiconductor製LMC555、非特許文献3)のデータシートでは、発振動作中の消費電流が250uA、停止中は1uA以下となっている。第1の検出温度以下の場合に発振しないことから、消費電流の観点で有利になる。特に、携帯電話の待ち受け動作中などは、CPUの動作は、着信の有無のチェックが主な動作になるため負荷は比較的小さく、装置内部が高温になる可能性は小さい。このように装置温度が高温にならない待ち受け動作中に、消費電力を最小限にする手段は非常に重要である。   For example, assume that this oscillation circuit is realized by a general timer IC. In a data sheet of a general timer IC (for example, LMC555 manufactured by National semiconductor, Non-Patent Document 3), the current consumption during the oscillation operation is 250 uA and is 1 uA or less during the stop. Since oscillation does not occur when the temperature is equal to or lower than the first detection temperature, it is advantageous in terms of current consumption. In particular, during the standby operation of a mobile phone, the operation of the CPU is mainly performed to check whether there is an incoming call, so the load is relatively small and the possibility that the inside of the apparatus will be hot is small. Thus, a means for minimizing the power consumption during the standby operation in which the apparatus temperature does not become high is very important.

一般的な携帯電話に本発明を適用し、高温時のみ発振回路を動作した場合の効果を、待ち受け時間(電池の持ち時間)を例として説明すると、以下のような効果が得られる。携帯電話の充電電池(電池パック)の容量を500mAh、携帯電話の高温カウンタ回路以外の通常消費電流を1mAとする。従来例として携帯電話の待ち受け時も、装置内部温度に関係なく、発振回路を動作させる条件(1)と、本発明の構成例として装置内部温度が第1の検出温度以下では、発振回路を停止させる条件(2)における消費電流とを比較する。   When the present invention is applied to a general mobile phone and the oscillation circuit is operated only at a high temperature, the following effects can be obtained by taking the standby time (battery holding time) as an example. The capacity of the rechargeable battery (battery pack) of the mobile phone is 500 mAh, and the normal current consumption other than the high-temperature counter circuit of the mobile phone is 1 mA. As a conventional example, even when waiting for a mobile phone, regardless of the internal temperature of the device, the condition (1) for operating the oscillation circuit is stopped. The consumption current in the condition (2) to be compared is compared.

条件(1)の場合には、高温カウンタ回路の消費電流250uAと、その他の消費電流1mAとの和で、1.25mAとなる。一方 条件(2)の場合には、高温カウンタ回路の消費電流1uAと、その他の消費電流1mAとの和で、1.001mAとなる。その結果待ち受け時間は、条件(1)(従来例)が400時間(≒500÷1.25)、条件(2)(本発明)が500時間(≒500÷1.001)となり、本発明では、100時間も待ち受け時間を向上させている。待ち受け時間は、携帯電話の商品性の重要項目であり、本発明の高温検出カウンタ回路を用いることで、待ち受け時間(電池の持ち時間)を短くすることなく、所望の検出手段を実現することができる。   In the case of condition (1), the sum of the current consumption 250 uA of the high-temperature counter circuit and the other current consumption 1 mA is 1.25 mA. On the other hand, in the condition (2), the sum of the current consumption 1 uA of the high-temperature counter circuit and the other current consumption 1 mA is 1.001 mA. As a result, the standby time is 400 hours (≈500 ÷ 1.25) for condition (1) (conventional example) and 500 hours (≈500 ÷ 1.001) for condition (2) (present invention). , 100 hours standby time has been improved. The standby time is an important item of the merchantability of the mobile phone, and by using the high-temperature detection counter circuit of the present invention, it is possible to realize a desired detection means without shortening the standby time (battery holding time). it can.

本発明の回路構成を用いることで得られる第2の効果は、メモリデバイスのリテンション特性起因で発生するデータ化け防止することである。例えば、一般的な不揮発メモリの書き込みデータは、常温で約数年〜10年間のデータ保持を保証されるものが多い。しかしながら、携帯電話の使用環境としては、高温状態で使用する場合があり、この場合にはリテンション特性が悪化し、データ化けが発生する虞がある。しかし、本発明を用いることで、データ保持の保証内に装置の動作に必要なアプリケーションプログラムなどを再書き込みすることができる。これらの再書き込みは、装置内部で自動的に行われ、特にユーザが意識することなく、不揮発メモリのリテンション特性起因で発生する不具合を未然に防止することができる。   A second effect obtained by using the circuit configuration of the present invention is to prevent data corruption caused by the retention characteristics of the memory device. For example, many write data in a general nonvolatile memory are guaranteed to retain data for several years to 10 years at room temperature. However, there are cases where the mobile phone is used in a high temperature state. In this case, the retention characteristics are deteriorated, and there is a possibility that data corruption occurs. However, by using the present invention, an application program or the like necessary for the operation of the apparatus can be rewritten within the guarantee of data retention. Such rewriting is automatically performed inside the apparatus, and it is possible to prevent problems caused by the retention characteristics of the nonvolatile memory without being noticed by the user.

さらに本発明の回路構成を用いることで、装置温度高温によるメモリデバイスのリテンション特性起因で発生するデータ化け防止できることから、携帯電話の設計上、以下の効果が得られる。最近の携帯電話では、CPUの上部にPOP(Package On Package)でデバイスを実装する場合がある。この場合には、CPUが動作中に熱を発生するため、メモリデバイスのリテンション特性に少なからず影響がある。メモリデバイスのリテンション特性確保のために、熱の発生を抑える目的で、CPUの動作周波数を下げた場合、携帯電話の操作性が低下し、商品性が損なわれるというデメリットが発生する。   Furthermore, by using the circuit configuration of the present invention, it is possible to prevent data corruption that occurs due to the retention characteristics of the memory device due to the high temperature of the device. Therefore, the following effects can be obtained in the design of the mobile phone. In recent mobile phones, there is a case where a device is mounted on the upper part of the CPU by POP (Package On Package). In this case, heat is generated during the operation of the CPU, which has a considerable influence on the retention characteristics of the memory device. When the operating frequency of the CPU is lowered for the purpose of suppressing the generation of heat in order to secure the retention characteristics of the memory device, there is a demerit that the operability of the mobile phone is lowered and the merchantability is impaired.

また、メモリデバイスのリテンション特性確保のために、熱源からの距離を離す目的で、POPを使用しないでCPUとメモリデバイスを重ねない場合、基板面積の増大や携帯電話のデザインにも影響があり商品性が損なわれるというデメリットが発生する。例えば、不揮発メモリチップのデバイス面積が100mmの場合で、30mm x 30mmのプリント板にCPUとメモリデバイスをPOPする設計が出来た場合、プリント板は900mmになる。一方、メモリデバイスのリテンション特性確保のために、熱源からの距離を離す目的で、メモリデバイスをプリント板の別な場所に配置した場合、CPUと別な場所にメモリデバイスの面積が必要となるから、1000mmが必要になる。本発明により、メモリデバイスのリテンション特性起因で発生するメモリ不良を防止し、POPの設計が可能になったとすると、11%( =1000mm/900mm)プリント板を小さく出来たことになる。携帯電話において、プリント板の外形寸法を小さくできると、デザインの自由度も向上し、製品としての商品性を上げることができる。 Also, in order to ensure the retention characteristics of the memory device, if the CPU and the memory device are not stacked without using a POP for the purpose of separating the distance from the heat source, there is an effect on the increase in the board area and the design of the mobile phone. The demerit that the performance is impaired occurs. For example, in the case where the device area of the nonvolatile memory chip is 100 mm 2 , and the POP of the CPU and the memory device can be designed on a 30 mm × 30 mm printed board, the printed board is 900 mm 2 . On the other hand, in order to secure the retention characteristics of the memory device, when the memory device is arranged at a different location on the printed board in order to keep the distance from the heat source, the area of the memory device is required at a location different from the CPU. , 1000 mm 2 is required. The present invention prevents memory corruption occurring in the retention characteristic due to the memory device, when enabled the design of the POP, so that could reduce the 11% (= 1000mm 2 / 900mm 2) printed circuit board. In a mobile phone, if the outer dimensions of the printed board can be reduced, the degree of freedom in design can be improved and the product quality as a product can be improved.

本発明においては、装置温度高温によるメモリデバイスのリテンション特性起因で発生するデータ化け防止できることから、上記したように多くの設計上の制約から開放され、自由な設計ができる。このように設計の自由性を確保しながら、かつ携帯電話の設計上のデメリットの防止、さらに外形寸法の小型化、デザインの自由度、製品としての商品性を上げることができる。   In the present invention, data corruption caused by the retention characteristic of the memory device due to the high temperature of the apparatus can be prevented, so that it is free from many design restrictions as described above, and free design can be performed. Thus, while ensuring design freedom, it is possible to prevent design disadvantages of the mobile phone, further reduce the external dimensions, increase the degree of design freedom, and increase the commercial value of the product.

以上、本発明を好ましい実施の形態、実施例として詳細に説明したが、本発明はこれら実施の形態、実施例に限定されるものではなく、本発明の要旨を逸脱しない範囲内において適宜の変更が可能なものである。   As mentioned above, although this invention was demonstrated in detail as preferable embodiment and an Example, this invention is not limited to these embodiment and an Example, In the range which does not deviate from the summary of this invention, it changes suitably. Is possible.

101 揮発メモリ
102 周辺回路
103 タイマ回路
104 中央演算処理装置(CPU)
105 高温検出カウンタ回路
106 不揮発メモリ
201 割り込み信号
202 リセット信号
203 カウンタ回路
204 温度センサ2の出力
205 温度センサ1の出力
206 クロック
207 発振回路
208 温度センサ2
209 温度センサ1
101 volatile memory 102 peripheral circuit 103 timer circuit 104 central processing unit (CPU)
105 High temperature detection counter circuit 106 Non-volatile memory 201 Interrupt signal 202 Reset signal 203 Counter circuit 204 Output 205 of temperature sensor 2 Output 206 of temperature sensor 1 Clock 207 Oscillation circuit 208 Temperature sensor 2
209 Temperature sensor 1

Claims (8)

装置内部の温度を検出し、検出した温度に応じて重み付けしたストレス加速時間をストレスカウント値として積算し、前記ストレスカウント値が設定された値以上になったときに割り込み信号を出力する高温検出カウンタ回路と、装置の動作を制御するCPUと、を備え、前記CPUは、前記高温検出カウンタ回路からの割り込み信号を累積カウントした累積ストレス加速時間と、タイマ回路の時間情報から得られたシステム時間との合計値が、設定されたストレス管理時間を超えた場合に、装置内部の不揮発性メモリに再書き込みを行うことを特徴とする端末装置。   A high temperature detection counter that detects the temperature inside the apparatus, integrates the stress acceleration time weighted according to the detected temperature as a stress count value, and outputs an interrupt signal when the stress count value exceeds a set value And a CPU for controlling the operation of the apparatus, wherein the CPU is configured to accumulatively count an interrupt signal from the high temperature detection counter circuit, and a system time obtained from time information of the timer circuit. A terminal device, wherein when the total value exceeds a set stress management time, rewriting is performed in a nonvolatile memory inside the device. 前記高温検出カウンタ回路は、装置内部の高温を検出する温度センサと、前記温度センサからの高温検出信号によりクロック信号を出力する発振回路と、前記クロック信号の入力された回数を数えるカウンタ回路を有することを特徴とする請求項1に記載の端末装置。   The high temperature detection counter circuit includes a temperature sensor that detects a high temperature inside the apparatus, an oscillation circuit that outputs a clock signal in response to a high temperature detection signal from the temperature sensor, and a counter circuit that counts the number of times the clock signal is input. The terminal device according to claim 1. 前記高温検出カウンタ回路は、検出する温度しきい値が異なる複数の温度センサを備え、前記複数の温度センサのうち一番低い温度を検出する温度センサが高温であることを検出した時に、前記発振回路が駆動され、クロック信号が出力されることを特徴とする請求項2に記載の端末装置。   The high temperature detection counter circuit includes a plurality of temperature sensors with different temperature thresholds to be detected, and the oscillation is detected when the temperature sensor that detects the lowest temperature among the plurality of temperature sensors detects a high temperature. The terminal device according to claim 2, wherein the circuit is driven and a clock signal is output. 前記カウンタ回路は、前記クロック信号の入力された回数を前記複数の温度センサからの高温検出信号のそれぞれに対応させて重み付けしたストレスカウント値として積算することを特徴とする請求項2又は3に記載の端末装置。   4. The counter circuit according to claim 2, wherein the counter circuit integrates the number of times the clock signal is input as a weighted stress count value corresponding to each of the high temperature detection signals from the plurality of temperature sensors. Terminal equipment. 前記カウンタ回路は、積算されたストレスカウント値が設定された最大値以上になった場合に、割り込み信号を発生するとともに、前記ストレスカウント値をリセットすることを特徴とする請求項2乃至4のいずれかに記載の端末装置。   5. The counter circuit according to claim 2, wherein the counter circuit generates an interrupt signal and resets the stress count value when the accumulated stress count value exceeds a set maximum value. A terminal device according to any one of the above. 前記CPUは、前記累積ストレス加速時間と、前記システム時間と、前記累積ストレス加速時間とシステム時間との合計値と、前記ストレス管理時間とをそれぞれ格納する管理テーブルのレジスタを備えたことを特徴とする請求項1乃至5のいずれかに記載の端末装置。   The CPU includes a management table register for storing the cumulative stress acceleration time, the system time, a total value of the cumulative stress acceleration time and the system time, and the stress management time, respectively. The terminal device according to any one of claims 1 to 5. 装置内部の温度をそれぞれ異なる温度しきい値を用いて検出する複数の温度センサと、
前記複数の温度センサのうち一番低い温度を検出する温度センサからの高温検出信号によりクロック信号を出力する発振回路と、
前記クロック信号の入力された回数を前記複数の温度センサからの高温検出信号のそれぞれに対応させて重み付けしたストレスカウント値として積算するカウンタ回路と、を有し、
前記カウンタ回路は、前記ストレスカウント値が設定された最大値以上になった場合に、割り込み信号を出力するとともに、前記ストレスカウント値をリセットすることを特徴とすることを特徴とする高温検出カウンタ回路。
A plurality of temperature sensors that detect the temperature inside the device using different temperature thresholds;
An oscillation circuit that outputs a clock signal by a high temperature detection signal from a temperature sensor that detects the lowest temperature among the plurality of temperature sensors;
A counter circuit for integrating the number of times the clock signal is input as a stress count value weighted in correspondence with each of the high temperature detection signals from the plurality of temperature sensors;
The counter circuit outputs an interrupt signal and resets the stress count value when the stress count value exceeds a set maximum value, and the high temperature detection counter circuit is characterized in that .
CPUが、管理テーブルのそれぞれのレジスタにタイマ回路から読み出したシステム時間と、バックアップされていた累積ストレス加速時間と、前記システム時間と前記累積ストレス加速時間の合計値と、設定されているストレス管理時間と、を書き込み、高温検出カウンタ回路のレジスタにはバックアップされているストレスカウント値を書き込む初期化ステップと、
高温検出カウンタ回路は装置内部の温度を検出し、検出した温度に応じて重み付けしたストレスカウント値を前記高温検出カウンタ回路のレジスタに累積カウントし、その累積カウントしたストレスカウント値が一定値以上になった場合に、前記高温検出カウンタ回路は割り込み信号をCPUに出力し、CPUは前記割り込み信号を累積ストレス加速時間としてカウントアップし、前記高温検出カウンタ回路はさらに前記ストレスカウント値をリセットし、再び検出した温度に応じて重み付けしたストレスカウント値を前記高温検出カウンタ回路のレジスタに累積カウントする動作を繰り返し行うステップと、
CPUは前記システム時間と前記累積ストレス加速時間の合計値が、前記ストレス管理時間を越えた場合には、装置内部の不揮発メモリに再書き込みを行う書き込みステップと、を備えたことを特徴とする不揮発メモリへの再書き込み方法。
The CPU reads the system time read from the timer circuit into each register of the management table, the accumulated stress acceleration time that was backed up, the total value of the system time and the accumulated stress acceleration time, and the set stress management time And an initialization step of writing a stress count value backed up to a register of the high temperature detection counter circuit,
The high temperature detection counter circuit detects the temperature inside the apparatus, and cumulatively counts the stress count value weighted according to the detected temperature in the register of the high temperature detection counter circuit, and the accumulated count value of the stress reaches a certain value or more. The high temperature detection counter circuit outputs an interrupt signal to the CPU, the CPU counts up the interrupt signal as a cumulative stress acceleration time, and the high temperature detection counter circuit further resets the stress count value and detects again. Repeatedly performing an operation of accumulating the stress count value weighted according to the measured temperature in the register of the high temperature detection counter circuit;
The CPU includes a writing step of performing rewriting to a nonvolatile memory inside the apparatus when a total value of the system time and the accumulated stress acceleration time exceeds the stress management time. How to rewrite to memory.
JP2010097842A 2010-04-21 2010-04-21 Terminal device provided with high temperature detection counter circuit Expired - Fee Related JP5516873B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010097842A JP5516873B2 (en) 2010-04-21 2010-04-21 Terminal device provided with high temperature detection counter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010097842A JP5516873B2 (en) 2010-04-21 2010-04-21 Terminal device provided with high temperature detection counter circuit

Publications (2)

Publication Number Publication Date
JP2011227756A true JP2011227756A (en) 2011-11-10
JP5516873B2 JP5516873B2 (en) 2014-06-11

Family

ID=45043015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010097842A Expired - Fee Related JP5516873B2 (en) 2010-04-21 2010-04-21 Terminal device provided with high temperature detection counter circuit

Country Status (1)

Country Link
JP (1) JP5516873B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9535620B2 (en) 2014-02-21 2017-01-03 Samsung Electronics Co., Ltd. Flash memory system and method controlling same
DE102017130134A1 (en) 2017-03-14 2018-09-20 Omron Corporation RFID data management device, RFID data management method and RFID data management program
EP3379537A2 (en) 2016-12-07 2018-09-26 Renesas Electronics Corporation Semiconductor device
WO2018220714A1 (en) * 2017-05-30 2018-12-06 株式会社日立製作所 Storage system and method of controlling memory device
US10361685B2 (en) 2015-12-25 2019-07-23 Renesas Electronics Corporation Semiconductor device
JP2021099882A (en) * 2017-03-30 2021-07-01 ホーチキ株式会社 Disaster prevention system
CN115248608A (en) * 2021-04-26 2022-10-28 华润微集成电路(无锡)有限公司 Low-power-consumption hygrothermograph circuit structure and measurement control method thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102483195B1 (en) 2022-03-21 2023-01-03 현대건업 (주) A road marking composition comprising polyurea and construction method using the same
KR102490419B1 (en) 2022-05-17 2023-01-19 좌운선 Raised crosswalk composition comprising polyurea and construction method using the same

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9535620B2 (en) 2014-02-21 2017-01-03 Samsung Electronics Co., Ltd. Flash memory system and method controlling same
US10361685B2 (en) 2015-12-25 2019-07-23 Renesas Electronics Corporation Semiconductor device
EP3379537A2 (en) 2016-12-07 2018-09-26 Renesas Electronics Corporation Semiconductor device
DE102017130134A1 (en) 2017-03-14 2018-09-20 Omron Corporation RFID data management device, RFID data management method and RFID data management program
JP2018151948A (en) * 2017-03-14 2018-09-27 オムロン株式会社 RFID data management apparatus, RFID data management method, and RFID data management program
US10402606B2 (en) 2017-03-14 2019-09-03 Omron Corporation Device, method, and program managing RFID data based on environmental temperature
DE102017130134B4 (en) 2017-03-14 2023-04-13 OMRON Corporation RFID data management device, RFID data management method and RFID data management program
JP2021099882A (en) * 2017-03-30 2021-07-01 ホーチキ株式会社 Disaster prevention system
JP7253583B2 (en) 2017-03-30 2023-04-06 ホーチキ株式会社 disaster prevention system
WO2018220714A1 (en) * 2017-05-30 2018-12-06 株式会社日立製作所 Storage system and method of controlling memory device
CN115248608A (en) * 2021-04-26 2022-10-28 华润微集成电路(无锡)有限公司 Low-power-consumption hygrothermograph circuit structure and measurement control method thereof
CN115248608B (en) * 2021-04-26 2023-05-09 华润微集成电路(无锡)有限公司 Low-power consumption hygrothermograph circuit structure and measurement control method thereof

Also Published As

Publication number Publication date
JP5516873B2 (en) 2014-06-11

Similar Documents

Publication Publication Date Title
JP5516873B2 (en) Terminal device provided with high temperature detection counter circuit
US9786356B2 (en) Memory device with adaptive voltage scaling based on error information
US8015444B2 (en) Protection of non-volatile memory component against data corruption due to physical shock
CN102369579B (en) Temperature alert and low rate refresh for a non-volatile memory
KR101358776B1 (en) Apparatus and method for recording reboot reason of equipment
US10592126B2 (en) Memory management method, memory storage device and memory control circuit unit
KR101543245B1 (en) Error correcting device memory device and data processing system including the same
US20130060994A1 (en) Non-volatile memory management system with time measure mechanism and method of operation thereof
US7626355B2 (en) Portable electronic device and method to protect same
US11635777B2 (en) Temperature control circuit, memory storage device and temperature control method
US8339889B2 (en) Semiconductor memory device
US10915388B2 (en) Data storage device and associated operating method capable of detecting errors and effectively protecting data
US20130080830A1 (en) Setting data storage for semiconductor devices including memory devices and systems
KR19990007309A (en) How to reset the system
CN218333137U (en) Solid state hard drives and electronic equipment
JP2007249497A (en) Electronic equipment having failure warning function and failure warning method
CN106528311A (en) Embedded system and control method thereof
JP2005267761A (en) Method for monitoring degradation of flash memory
US20110291705A1 (en) Electronic equipment and power supply control method
US11914703B2 (en) Method and data processing system for detecting a malicious component on an integrated circuit
KR20170033336A (en) Electronic device data recording method and electronic device thereof
JP6137659B2 (en) Weighing device and weighing data recording method
US9552054B2 (en) Method for controlling sensor
US10073138B2 (en) Early detection of reliability degradation through analysis of multiple physically unclonable function circuit codes
US9465428B2 (en) Computer device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131211

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140207

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140305

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140318

R150 Certificate of patent or registration of utility model

Ref document number: 5516873

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees