JP2014191527A - Microcomputer - Google Patents
Microcomputer Download PDFInfo
- Publication number
- JP2014191527A JP2014191527A JP2013065420A JP2013065420A JP2014191527A JP 2014191527 A JP2014191527 A JP 2014191527A JP 2013065420 A JP2013065420 A JP 2013065420A JP 2013065420 A JP2013065420 A JP 2013065420A JP 2014191527 A JP2014191527 A JP 2014191527A
- Authority
- JP
- Japan
- Prior art keywords
- trimming
- circuit
- operation mode
- power supply
- voltage
- 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.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Microcomputers (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
Description
本発明は、マイクロコンピュータに関し、特に動作用電源電圧を電池から供給するマイクロコンピュータ応用システムに好適に利用できるものである。 The present invention relates to a microcomputer, and can be suitably used for a microcomputer application system that supplies a power supply voltage for operation from a battery.
半導体装置の一例とされるマイクロコンピュータにおいては、内部回路の動作用電源電圧を生成するための定電圧回路が設けられている。この定電圧回路としては、固定トリミングによる定電圧回路と、可変トリミングによる定電圧回路とを挙げることができる。 A microcomputer as an example of a semiconductor device is provided with a constant voltage circuit for generating a power supply voltage for operating an internal circuit. Examples of the constant voltage circuit include a constant voltage circuit using fixed trimming and a constant voltage circuit using variable trimming.
固定トリミングによる定電圧回路では、配線層のマスタスライス、或いはレーザーヒューズ等により製造工程で動作用電源電圧のトリミングが行われる。固定トリミングによる定電圧回路は、可変トリミングによる定電圧回路に比べて構造が簡単で、電源投入後に短時間に容易に内部電圧を内部回路に供給することができる。しかし固定トリミングによる定電圧回路では、チップのばらつきが反映されないため、動作用電源電圧の精度は低い。 In the constant voltage circuit by fixed trimming, the operation power supply voltage is trimmed in the manufacturing process by a master slice of a wiring layer or a laser fuse. The constant voltage circuit by fixed trimming has a simpler structure than the constant voltage circuit by variable trimming, and can easily supply the internal voltage to the internal circuit in a short time after the power is turned on. However, the constant voltage circuit by fixed trimming does not reflect chip variations, so the accuracy of the operating power supply voltage is low.
可変トリミングによる定電圧回路では、製造後のテスト又はフィールド上でチップ毎にトリミングデータが決定され、それがマイクロコンピュータ内の不揮発性メモリに記憶される。電源投入後に、上記不揮発性メモリ内のトリミングデータがトリミングレジスタに転送され、そのトリミングレジスタの値に従ってトリミングが行われる。このため、可変トリミングによる定電圧回路によれば、トリミングデータにチップのばらつきが反映されるため、チップ毎に高精度の動作用電源電圧が得られる。 In the constant voltage circuit by variable trimming, trimming data is determined for each chip on a test or field after manufacture and stored in a nonvolatile memory in the microcomputer. After the power is turned on, the trimming data in the nonvolatile memory is transferred to the trimming register, and trimming is performed according to the value of the trimming register. For this reason, according to the constant voltage circuit by variable trimming, chip variation is reflected in the trimming data, so that a highly accurate power supply voltage for operation can be obtained for each chip.
特許文献1には、トリミングデータによって調整可能な基準電圧発生回路を備えた半導体装置において、電源が立ち上がるまでの基準電圧のばらつきの影響を受けないようにするための技術が記載されている。それによれば、基準電圧生成部はトリミングデータに応じて調整された第1の基準電圧と、このトリミングデータに依存しない第2の基準電圧とが生成される。そして、第2の基準電圧に基づいてリセット信号の論理レベルを切替えるタイミングが決定される。 Japanese Patent Application Laid-Open No. 2004-228561 describes a technique for preventing a semiconductor device including a reference voltage generation circuit that can be adjusted by trimming data from being affected by variations in the reference voltage until the power is turned on. According to this, the reference voltage generation unit generates the first reference voltage adjusted according to the trimming data and the second reference voltage that does not depend on the trimming data. Then, the timing for switching the logic level of the reset signal is determined based on the second reference voltage.
動作用電源電圧を電池から供給するマイクロコンピュータ応用システムにおいては、電池での動作時間を長くするために、システムにおける消費電力を可能な限り抑える必要がある。マイクロコンピュータによる処理が不要となる期間にマイクロコンピュータを低消費電力モードに遷移させることで、マイクロコンピュータを間欠動作させることは、消費電力の低減に有効とされる。 In a microcomputer application system that supplies a power supply voltage for operation from a battery, it is necessary to suppress power consumption in the system as much as possible in order to extend the operation time of the battery. It is effective for reducing power consumption to intermittently operate the microcomputer by shifting the microcomputer to the low power consumption mode during a period when the processing by the microcomputer is not necessary.
例えば所定時間間隔でセンサの出力をサンプリングし、サンプリングデータがある程度蓄積された段階で、そのサンプリングデータを処理してホストシステムに送信するようなマイクロコンピュータ応用システムにおいては、マイクロコンピュータを間欠動作させることで、電池の寿命を長くすることができる。 For example, in a microcomputer application system in which the output of the sensor is sampled at predetermined time intervals and the sampling data is accumulated to some extent and the sampling data is processed and transmitted to the host system, the microcomputer is operated intermittently. Thus, the battery life can be extended.
低消費電力モードを有するマイクロコンピュータにおいて、内部回路の動作用電源電圧を生成するための定電圧回路には、固定トリミングによる定電圧回路や、可変トリミングによる定電圧回路を採用することができる。 In a microcomputer having a low power consumption mode, a constant voltage circuit by fixed trimming or a constant voltage circuit by variable trimming can be adopted as a constant voltage circuit for generating an operation power supply voltage for an internal circuit.
内部回路の動作用電源電圧を生成するための定電圧回路に、固定トリミングによる定電圧回路を採用した場合には、チップのばらつきにより、内部回路の動作に適切なレベルの動作用電源電圧が得られないおそれがある。 When a constant voltage circuit with fixed trimming is used as the constant voltage circuit for generating the operation power supply voltage for the internal circuit, an operation power supply voltage level suitable for the operation of the internal circuit is obtained due to chip variations. There is a risk of not being able to.
内部回路の動作用電源電圧を生成するための定電圧回路に、可変トリミングによる定電圧回路を採用した場合には、電源投入後に、トリミング回路の初期状態で電源電圧の値が決定され、その後、不揮発性メモリ内のトリミングデータがトリミングレジスタに転送されてトリミングが行われる。このため、マイクロコンピュータの内部回路に適切なレベルの動作用電源電圧を高い精度で得ることができる。 When a constant voltage circuit by variable trimming is adopted as the constant voltage circuit for generating the operation power supply voltage of the internal circuit, the power supply voltage value is determined in the initial state of the trimming circuit after the power is turned on, Trimming data in the nonvolatile memory is transferred to the trimming register and trimming is performed. For this reason, it is possible to obtain an operating power supply voltage of an appropriate level for the internal circuit of the microcomputer with high accuracy.
しかし、内部回路の動作用電源電圧を生成するための定電圧回路に、可変トリミングによる定電圧回路を採用した場合には、マイクロコンピュータの間欠動作毎に、不揮発性メモリ内のトリミングデータをトリミングレジスタに転送し、そのトリミングレジスタ内のトリミングデータに従ってトリミングを行う必要がある。このため、電源が投入されてからセンサ出力のサンプリングを開始するまでの時間が長くなり、その分、消費電力が増える。よって、可変トリミングによる定電圧回路を採用した場合の電池の寿命は、固定トリミングによる定電圧回路を採用した場合に比べて短くなる。 However, when a constant voltage circuit using variable trimming is adopted as the constant voltage circuit for generating the operation power supply voltage for the internal circuit, the trimming data in the nonvolatile memory is stored in the trimming register every time the microcomputer is intermittently operated. It is necessary to perform trimming according to the trimming data in the trimming register. For this reason, the time from when the power is turned on until the sampling of the sensor output is started becomes longer, and the power consumption increases accordingly. Therefore, the battery life when the constant voltage circuit by variable trimming is adopted is shorter than that when the constant voltage circuit by fixed trimming is adopted.
このような課題は、引用文献1では考慮されていない。
Such a problem is not considered in the cited
その他の課題と新規な特徴は、本明細書の記述及び添付図面から明らかになるであろう。 Other problems and novel features will become apparent from the description of the specification and the accompanying drawings.
課題を解決するための手段のうち代表的なものの概要を簡単に説明すれば下記の通りである。 An outline of a representative means for solving the problems will be briefly described as follows.
すなわち、内部回路と電源回路とを含んでマイクロコンピュータを構成する。内部回路は、間欠動作に対応する第1動作モードと、上記第1動作モードに比べて動作時間が長い第2動作モードと、上記第1動作モード及び上記第2動作モードに比べて消費電力が低く設定された低消費電力モードとを有する。上記電源回路は、上記内部回路から伝達されたトリミングデータを保持可能なトリミングレジスタと、上記トリミングレジスタに保持されたトリミングデータに従って、上記動作用電源電圧のレベルを調整するためのトリミング回路とを含む。上記内部回路は、上記低消費電力モードから上記第1動作モードに遷移する際には、上記トリミングレジスタへのトリミングデータの伝達を省略し、上記低消費電力モード又は上記第1動作モードから上記第2動作モードに遷移する際には、上記トリミングレジスタにトリミングデータを伝達する制御回路を含む。 That is, a microcomputer is configured including an internal circuit and a power supply circuit. The internal circuit consumes power compared to the first operation mode corresponding to intermittent operation, the second operation mode having a longer operation time than the first operation mode, and the first operation mode and the second operation mode. And a low power consumption mode set low. The power supply circuit includes a trimming register capable of holding trimming data transmitted from the internal circuit, and a trimming circuit for adjusting the level of the operation power supply voltage in accordance with the trimming data held in the trimming register. . When the internal circuit makes a transition from the low power consumption mode to the first operation mode, transmission of trimming data to the trimming register is omitted, and the internal circuit skips the low power consumption mode or the first operation mode to the first operation mode. A control circuit for transmitting trimming data to the trimming register when transitioning to the two operation modes is included.
課題を解決するための手段のうち代表的なものによって得られる効果を簡単に説明すれば下記の通りである。 The effects obtained by typical means for solving the problems will be briefly described as follows.
すなわち、間欠動作に対応するマイクロコンピュータにおいて、当該マイクロコンピュータでの演算処理に支障を与えることなく消費電力の低減を図ることができる。 That is, in a microcomputer corresponding to intermittent operation, power consumption can be reduced without hindering arithmetic processing in the microcomputer.
1.実施の形態の概要
先ず、本願において開示される代表的な実施の形態について概要を説明する。代表的な実施の形態についての概要説明で括弧を付して参照する図面中の参照符号はそれが付された構成要素の概念に含まれるものを例示するに過ぎない。
1. First, an outline of a typical embodiment disclosed in the present application will be described. Reference numerals in the drawings referred to in parentheses in the outline description of the representative embodiments merely exemplify what are included in the concept of the components to which the reference numerals are attached.
〔1〕代表的な実施の形態に係るマイクロコンピュータは、内部回路(13)と電源回路(11)とを含む。内部回路は、間欠動作に対応する第1動作モードと、上記第1動作モードに比べて動作時間が長い第2動作モードと、上記第1動作モード及び上記第2動作モードに比べて消費電力が低く設定された低消費電力モードとを有する。電源回路は、上記内部回路の動作用電源電圧を形成する。この電源回路は、上記内部回路から伝達されたトリミングデータを保持可能なトリミングレジスタ(116)と、上記トリミングレジスタに保持されたトリミングデータに従って、上記動作用電源電圧のレベルを調整するためのトリミング回路(115)とを含む。上記内部回路は、上記低消費電力モードから上記第1動作モードに遷移する際には、上記トリミングレジスタへのトリミングデータの伝達を省略し、上記低消費電力モード又は上記第1動作モードから上記第2動作モードに遷移する際には、上記トリミングレジスタにトリミングデータを伝達する制御回路(137)を含む。 [1] A microcomputer according to a typical embodiment includes an internal circuit (13) and a power supply circuit (11). The internal circuit consumes power compared to the first operation mode corresponding to intermittent operation, the second operation mode having a longer operation time than the first operation mode, and the first operation mode and the second operation mode. And a low power consumption mode set low. The power supply circuit forms a power supply voltage for operation of the internal circuit. The power supply circuit includes a trimming register (116) capable of holding trimming data transmitted from the internal circuit, and a trimming circuit for adjusting the level of the operation power supply voltage in accordance with the trimming data held in the trimming register. (115). When the internal circuit makes a transition from the low power consumption mode to the first operation mode, transmission of trimming data to the trimming register is omitted, and the internal circuit skips the low power consumption mode or the first operation mode to the first operation mode. A control circuit (137) for transmitting trimming data to the trimming register when transitioning to the two operation modes is included.
上記の構成において、上記低消費電力モードから上記第1動作モードに遷移する際には、上記トリミングレジスタへのトリミングデータの伝達が省略される。このため、間欠動作において、低消費電力モードから第1動作モードへ遷移して第1動作モードでの処理を完了するのに要する時間を短縮することができる。これにより、間欠動作に対応する第1動作モードでの消費電力を低減することができる。また、間欠動作に対応する第1動作モードでは、アナログ信号のサンプリング処理などであり、高度な演算処理を伴わない。従って、第1動作モードにおける動作用電源電圧の形成において、トリミングレジスタへのトリミングデータの伝達を省略することにより、内部回路に適切なレベルの動作用電源電圧が得られなくても支障はない。 In the above configuration, when the low power consumption mode is changed to the first operation mode, transmission of trimming data to the trimming register is omitted. For this reason, in the intermittent operation, it is possible to shorten the time required to transition from the low power consumption mode to the first operation mode and complete the processing in the first operation mode. Thereby, power consumption in the first operation mode corresponding to the intermittent operation can be reduced. Further, in the first operation mode corresponding to the intermittent operation, there is an analog signal sampling process or the like, which is not accompanied by an advanced calculation process. Therefore, in the generation of the operation power supply voltage in the first operation mode, there is no problem even if the operation power supply voltage of an appropriate level cannot be obtained in the internal circuit by omitting the transmission of the trimming data to the trimming register.
他方、上記低消費電力モード又は上記第1動作モードから上記第2動作モードに遷移する際には、トリミングレジスタにトリミングデータが伝達されるので、トリミングレジスタに保持されたトリミングデータに従って動作用電源電圧のレベルが調整される。第2動作モードは、上記第1動作モードに比べて動作時間が長い処理に対応するため、トリミングレジスタへのトリミングデータの伝達やトリミング動作の有無は、第2動作モードでの消費電力にほとんど影響しない。 On the other hand, when the transition from the low power consumption mode or the first operation mode to the second operation mode is performed, trimming data is transmitted to the trimming register, so that the operation power supply voltage is in accordance with the trimming data held in the trimming register. The level of is adjusted. Since the second operation mode corresponds to a process having a longer operation time than the first operation mode, transmission of trimming data to the trimming register and presence / absence of the trimming operation almost affect power consumption in the second operation mode. do not do.
また、間欠動作に対応する第1動作モードに比べて動作時間が長い第2動作モードでの演算処理においては、高い処理能力が要求されることが考えられる。そのような第2動作モードでの演算処理は、トリミングレジスタに保持されたトリミングデータに従って動作用電源電圧のレベルが調整された状態で実行されるため、マイクロコンピュータでの演算処理に支障を与えることはない。 Further, in the arithmetic processing in the second operation mode in which the operation time is longer than that in the first operation mode corresponding to the intermittent operation, it is conceivable that high processing capability is required. Such arithmetic processing in the second operation mode is executed in a state where the level of the operation power supply voltage is adjusted in accordance with the trimming data held in the trimming register, which impedes arithmetic processing in the microcomputer. There is no.
〔2〕上記内部回路は、上記第1動作モードと上記第2動作モードとの識別情報を保持する切り替えレジスタ(141)と、上記電源回路の出力電圧レベルが所定レベルに達したことを検出するための電圧検出回路(135)とを含んで構成することができる。このとき上記制御回路は、上記電源回路の出力電圧レベルが所定レベルに達した後に、上記切り替えレジスタに保持されている識別情報の論理を判定する。そして上記制御回路は、上記識別情報が第1論理状態の場合には、上記トリミングレジスタへのトリミングデータの伝達を省略して上記第1動作モードで処理を実行し、上記識別情報が第2論理状態の場合には、上記トリミングレジスタにトリミングデータを伝達してから上記第2動作モードで処理を実行する。 [2] The internal circuit detects that a switching register (141) that holds identification information between the first operation mode and the second operation mode and that the output voltage level of the power supply circuit has reached a predetermined level. And a voltage detection circuit (135). At this time, the control circuit determines the logic of the identification information held in the switching register after the output voltage level of the power supply circuit reaches a predetermined level. When the identification information is in the first logic state, the control circuit omits transmission of the trimming data to the trimming register and executes processing in the first operation mode, and the identification information is in the second logic state. In the state, after the trimming data is transmitted to the trimming register, the process is executed in the second operation mode.
上記制御回路において、上記電源回路の出力電圧レベルが所定レベルに達した後に、上記切り替えレジスタに保持されている識別情報の論理を判定するようにしているのは、上記電源回路の出力電圧レベルが所定レベルに達することで、上記制御回路の安定動作が期待できるからである。上記第1動作モードと上記第2動作モードとの識別情報を保持する切り替えレジスタが設けられたことにより、上記制御回路は、上記識別情報の論理状態に基づいて処理の選択を容易に行うことができる。 In the control circuit, after the output voltage level of the power supply circuit reaches a predetermined level, the logic of the identification information held in the switching register is determined because the output voltage level of the power supply circuit is This is because stable operation of the control circuit can be expected by reaching the predetermined level. By providing a switching register for holding identification information between the first operation mode and the second operation mode, the control circuit can easily select a process based on the logical state of the identification information. it can.
〔3〕上記制御回路は、上記第1動作モードで処理を実行した後に、上記低消費電力モードに遷移するか否かの判別を行う。そして上記制御回路は、上記低消費電力モードに遷移しない場合には、上記切り替えレジスタに保持されている識別情報の論理を第2論理状態に変更してから上記第2動作モードで処理を実行し、その後、上記切り替えレジスタに保持されている識別情報の論理を第1論理状態に変更してから上記内部回路を上記低消費電力モードに遷移させる。 [3] The control circuit determines whether or not to transit to the low power consumption mode after executing the processing in the first operation mode. If the control circuit does not transition to the low power consumption mode, the control circuit changes the logic of the identification information held in the switching register to the second logic state and then executes the process in the second operation mode. Thereafter, the logic of the identification information held in the switching register is changed to the first logic state, and then the internal circuit is shifted to the low power consumption mode.
これにより、第1動作モードから第2動作モードへの遷移や、第2動作モードから低消費電力モードへの遷移を容易に行うことができる。 Thereby, the transition from the first operation mode to the second operation mode and the transition from the second operation mode to the low power consumption mode can be easily performed.
〔4〕上記内部回路における上記第1動作モードの処理には、上記マイクロコンピュータの外部から取り込まれたアナログ信号をサンプリングする処理を適用することができる。そして上記内部回路における上記第2動作モードの処理には、上記第1動作モードでサンプリングされた信号を演算処理してから上記マイクロコンピュータの外部に出力する処理を適用することができる。 [4] A process of sampling an analog signal taken from the outside of the microcomputer can be applied to the process in the first operation mode in the internal circuit. For the processing in the second operation mode in the internal circuit, it is possible to apply processing in which a signal sampled in the first operation mode is arithmetically processed and output to the outside of the microcomputer.
〔5〕上記電源回路は、上記内部回路の動作に必要な動作用電源電圧を定電圧化するための定電圧回路(112,113)を含んで構成することができる。上記定電圧回路は、上記定電圧回路の出力電圧に対応するフィードバック電圧と基準電圧との差分を得る第1演算増幅器(112)と、上記第1演算増幅器の出力に応じて上記動作用電源電圧を出力する第1トランジスタ(113)とを含んで構成することができる。このとき上記トリミング回路は、上記定電圧回路の出力電圧に対応するフィードバック電圧を、上記トリミングレジスタに保持されたトリミングデータに従って調整する。 [5] The power supply circuit may include a constant voltage circuit (112, 113) for making the operation power supply voltage necessary for the operation of the internal circuit constant. The constant voltage circuit includes a first operational amplifier (112) that obtains a difference between a feedback voltage corresponding to an output voltage of the constant voltage circuit and a reference voltage, and the operation power supply voltage according to an output of the first operational amplifier. And a first transistor (113) that outputs a signal. At this time, the trimming circuit adjusts the feedback voltage corresponding to the output voltage of the constant voltage circuit according to the trimming data held in the trimming register.
〔6〕上記電源回路は、第1基準電圧を定電圧化して第2基準電圧を得る第1定電圧回路(117,118)と、上記第2基準電圧を参照して、上記内部回路の動作に必要な動作用電源電圧を定電圧化するための第2定電圧回路(112,113)とを含んで構成することができる。上記第1定電圧回路は、上記第2基準電圧に対応するフィードバック電圧と上記第1基準電圧との差分を得る第2演算増幅器(117)と、上記第2演算増幅器の出力に応じて上記第2基準電圧を出力する第2トランジスタ(118)とを含んで構成することができる。このとき上記トリミング回路は、上記第2基準電圧に対応するフィードバック電圧を、上記トリミングレジスタに保持されたトリミングデータに従って調整する。 [6] The power supply circuit includes a first constant voltage circuit (117, 118) that obtains a second reference voltage by making the first reference voltage constant, and an operation of the internal circuit with reference to the second reference voltage. And a second constant voltage circuit (112, 113) for making the operation power supply voltage necessary for the operation constant. The first constant voltage circuit includes a second operational amplifier (117) that obtains a difference between a feedback voltage corresponding to the second reference voltage and the first reference voltage, and the first operational amplifier according to an output of the second operational amplifier. And a second transistor (118) that outputs two reference voltages. At this time, the trimming circuit adjusts the feedback voltage corresponding to the second reference voltage according to the trimming data held in the trimming register.
2.実施の形態の詳細
実施の形態について更に詳述する。
2. Details of Embodiments Embodiments will be further described in detail.
《実施の形態1》
図3には、マイクロコンピュータ応用システムの一例とされるセンサシステムが示される。
FIG. 3 shows a sensor system as an example of a microcomputer application system.
センサシステム302は、マイクロコンピュータ1とセンサ4とを含む。センサ4は、特に制限されないが、温度検出が可能な温度センサとされる。マイクロコンピュータ1は、電源スイッチ2を介して電池3から供給される電源電圧Vccによって動作し、センサ3から伝達されたアナログ信号をサンプリングする。そしてこのマイクロコンピュータ1は、センサ3から伝達されたアナログ信号をサンプリングして得たデータがある程度蓄積された時点で、ノイズ低減のためのフィルタリング処理などの演算処理を行う。この演算処理の結果は、シリアル通信路5を介してホストシステム301に伝達される。マイクロコンピュータ1での消費電力を抑えて、電池3の寿命を可能な限り長くするため、このマイクロコンピュータ1は、低消費電力モードを有し、所定の時間間隔で低消費電力モードから復帰してセンサからのアナログ信号をサンプリングし、サンプリングが終了した後に再び低消費電力モードに遷移するようにしている。つまり、マイクロコンピュータ1は、電池3の寿命を延ばすために間欠動作される。
The
図1には、マイクロコンピュータ1の構成例が示される。
FIG. 1 shows a configuration example of the
マイクロコンピュータ1は、特に制限されないが、低消費電力スイッチ10、第1電源回路11、第2電源回路12、内部回路13を含み、公知の半導体集積回路製造技術により、単結晶シリコン基板などの一つの半導体基板に形成される。
The
低消費電力スイッチ10は、図3における電源スイッチ2がオンされた状態で、電池3から供給された電源電圧Vccをオン/オフするために設けられる。低消費電力スイッチ10がオンされた状態で、電源電圧Vccが第1電源回路11に供給される。低消費電力スイッチ10がオフされた状態では、電源電圧Vccは第1電源回路11に供給されない。低消費電力スイッチ10は、nチャネル型MOSトランジスタによって形成することができる。
The low
第1電源回路11は、低消費電力スイッチ10を介して伝達された電源電圧Vccを使って内部回路13の第1動作用電源電圧Vdd1を形成する。第1電源回路11は、バンドギャップリファレンス回路(BGR)111、演算増幅器112、nチャネル型MOSトランジスタ113、分圧抵抗114、トリミング回路115、トリミングレジスタ116を含む。
The first
バンドギャップリファレンス回路111は、MOSトランジスタに使われる半導体材料のシリコンの物性である「バンドギャップ電圧」を利用して、温度や電源電圧の変動に対して安定した基準電圧Vrefを作り出す。
The
nチャネル型MOSトランジスタ113と分圧抵抗114とは互いに直列接続される。nチャネル型MOSトランジスタ113のドレイン電極には、低消費電力スイッチ10を介して電源電圧Vccが供給される。分圧抵抗114の他端はグランドGNDに結合される。nチャネル型MOSトランジスタ113と分圧抵抗114との直列接続ノードから第1動作用電源電圧Vdd1が得られる。分圧抵抗114は、複数の抵抗が互いに直列接続されて成る。分圧抵抗114における複数の直列接続ノードはトリミング回路115に接続される。
The n-
トリミングレジスタ116は、内部回路13から転送されたトリミングデータを保持する。トリミングレジスタ116には、第1動作用電源電圧Vdd1が供給される揮発性メモリを適用することができる。
The
トリミング回路115は、トリミングレジスタ116に保持されたトリミングデータに応じて分圧抵抗114における複数の直列接続ノードのうちの一つを選択する。このトリミング回路115によって選択された直列接続ノードの電圧は、演算増幅器112の反転入力端子へフィードバックされる。
The
演算増幅器112は、バンドギャップリファレンス回路111で得られた基準電圧Vrefと、トリミング回路115を介してフィードバックされた電圧との差分を求め、その差分に応じてnチャネル型MOSトランジスタ113のオン抵抗を制御する。これにより、第1動作用電源電圧Vdd1が安定化される。
The
第2電源回路12は、電源電圧Vccを使って内部回路13の第2動作用電源電圧Vdd2を形成する。電源電圧Vccは、低消費電力スイッチ10の状態にかかわらず、第2電源回路12に供給される。第2電源回路12は、基本的には、第1電源回路11と同様に、バンドギャップリファレンス回路、演算増幅器、nチャネル型MOSトランジスタ、分圧抵抗を含んで構成することができる。しかし、第2動作用電源電圧Vdd2は、第1動作用電源電圧Vdd1に比べて精度が低くて良いので、分圧抵抗における直列接続ノードの選択を行うためのトリミング回路などは不要とされる。
The second
内部回路13は、メイン発振器131、サブ発振器132、タイマ133、スイッチ駆動回路134、電圧検出回路135、フラッシュ(Flash)メモリ136、CPU(Central Processing Unit:中央処理装置)137、RAM(Random Access Memory)138を含む。また内部回路13は、SCI(Serial Communication Interface;シリアルコミュニケーションインターフェース)139、A/D(アナログ/デジタル)コンバータ140、切り替えレジスタ141を含む。
The
メイン発振器131、電圧検出回路135、フラッシュメモリ136、CPU137、RAM138、SCI139、A/Dコンバータ140、切り替えレジスタ141には、低消費電力スイッチ10がオンされた状態で、第1動作用電源電圧Vdd1が供給される。サブ発振器132、タイマ133、スイッチ駆動回路134には、低消費電力スイッチ10のオン/オフに拘わらず、第2動作用電源電圧Vdd2が供給される。
The
従って、電源電圧Vccが供給されている状態で低消費電力スイッチ10がオフされている場合には、メイン発振器131、電圧検出回路135、フラッシュメモリ136、CPU137、RAM138、SCI139、A/Dコンバータ140、切り替えレジスタ141は動作しない。この状態が「低消費電力モード」とされる。
Accordingly, when the low
トリミングレジスタ116、フラッシュメモリ136、CPU137、RAM138、SCI139、A/Dコンバータ140、切り替えレジスタ141は、バス142を介して互いに結合される。
The
メイン発振器131は、マイクロコンピュータ1の外部端子に接続された水晶振動子により得られた外部クロック信号に基づいて第1クロック信号CK1を生成する。この第1クロック信号CK1は、主としてCPU137の動作用クロックとされる。
The
サブ発振器132は、上記水晶振動子により得られた外部クロック信号に基づいて、タイマ132に供給される第2クロック信号CK2を形成する。
The
タイマ133は、サブ発振器から伝達された第2クロック信号をカウントすることで、低消費電力スイッチ10をオンするためのタイミング信号SWTを形成する。タイマ133の動作は、CPU137によって制御される。
The
スイッチ駆動回路134は、タイマ133からのタイミング信号SWTに基づいて低消費電力スイッチ10のオンオフ動作を制御する。
The
電圧検出回路135は、低消費電力スイッチ10がオンされてから第1動作用電源電圧Vdd1のレベルが上昇して基準電圧Vrefに達したことを検出するために設けられる。この電圧検出回路135での検出結果は、CPU137に伝達される。
The
フラッシュメモリ136は不揮発性メモリであり、このフラッシュメモリ136には、CPU137で実行されるプログラムや、トリミングレジスタ116に転送されるトリミングデータ143が格納される。
The
CPU137は、フラッシュメモリ136内のプログラムに従って所定の演算処理や、周辺回路の動作を制御する。
The
RAM138は、CPU137での演算処理における作業領域などに使用される。
The
SCI139は、例えばホストシステムとの間でシリアル通信を行うために設けられる。
The
A/Dコンバータ140は、アナログ信号をサンプリングしてデジタル信号に変換する。
The A /
切り替えレジスタ141は、この内部回路13の動作モードの識別情報を保持するために設けられる。内部回路13の動作モードの識別情報は1ビット構成とされる。切り替えレジスタ141には、フラッシュメモリ136とは別の不揮発性メモリが適用される。このため、切り替えレジスタ141に保持された識別情報は、電源スイッチ2や低消費電力スイッチ10がオフされた状態でも失われることはない。
The
内部回路13の動作モードは、切り替えレジスタ141に保持された識別情報の論理によって決定される。内部回路13の動作モードとして、低消費電力モードとは別に、間欠動作に対応する第1動作モードと、上記第1動作モードに比べて動作時間が長い第2動作モードとを有する。本例では、上記第1動作モードにおいて、センサ4からの信号がA/Dコンバータ140でサンプリングされてデジタル信号に変換され、上記第2動作モードにおいて、A/Dコンバータ140でのサンプリングにより得られたデータが演算処理されてからSCI139を介してホストシステム301に転送される。
The operation mode of the
第1動作モードでの処理、すなわち、センサからの信号をA/Dコンバータ140でサンプリングしてデジタル信号に変換する処理では、マイクロコンピュータ1の高い処理能力を必要としない。これに対して、A/Dコンバータ140でのサンプリングにより得られたデータを演算してからSCI139を介してホストシステムに転送するための第2動作モードにおける処理では、第1動作モードに比べて、マイクロコンピュータ1の高い処理能力を必要とする。
In the processing in the first operation mode, that is, the processing in which the signal from the sensor is sampled by the A /
そこで、第1動作モードでの処理においては、低消費電力スイッチ10がオンされてからA/Dコンバータ140によって実際にサンプリングが開始されるまでの時間短縮を優先し、フラッシュメモリ136からトリミングレジスタ116へのトリミングデータの転送を省略する。
Therefore, in the processing in the first operation mode, priority is given to shortening the time from when the low
また第2動作モードにおいては、第1動作モードに比べてマイクロコンピュータ1での高い処理能力が必要とされるため、フラッシュメモリ136からトリミングレジスタ116へのトリミングデータの転送を行うことで、マイクロコンピュータ1が高い処理能力を発揮するために必要な高精度の動作用電源電圧を内部回路13へ供給するようにしている。また、第2動作モードにおいては、CPU137での高速処理を可能とするため、必要に応じてメイン発振器131で形成される第1クロック信号CK1の周波数を上げるようにしても良い。
In the second operation mode, a higher processing capacity is required in the
図2には、トリミング回路115の構成例が示される。
FIG. 2 shows a configuration example of the
このトリミング回路115は、特に制限されないが、トリミングレジスタ116に保持された2ビット構成のトリミングデータをデコードするためのデコーダ(DEC)206と、このデコーダ206のデコード出力に対応するnチャネル型MOSトランジスタ207〜210とを含む。nチャネル型MOSトランジスタ207〜210は、分圧抵抗201〜205の直列接続ノード(タップ)a1〜a4の何れかを選択するために設けられる。nチャネル型MOSトランジスタ207〜210のうちの何れがオンされるかは、トリミングレジスタ116に保持された2ビット構成のトリミングデータによって決定される。すなわち、2ビット構成のトリミングデータが“00”の場合、nチャネル型MOSトランジスタ207がオンされて、直列接続ノードa1の電位が演算増幅器112の反転端子に伝達される。2ビット構成のトリミングデータが“01”の場合、nチャネル型MOSトランジスタ208がオンされて、直列接続ノードa2の電位が演算増幅器112の反転端子に伝達される。2ビット構成のトリミングデータが“10”の場合、nチャネル型MOSトランジスタ209がオンされて、直列接続ノードa3の電位が演算増幅器112の反転端子に伝達される。2ビット構成のトリミングデータが“11”の場合、nチャネル型MOSトランジスタ210がオンされて、直列接続ノードa4の電位が演算増幅器112の反転端子に伝達される。
The
図4には、マイクロコンピュータ1における主要動作の流れが示される。
FIG. 4 shows a flow of main operations in the
マイクロコンピュータ1に電源電圧Vccが供給されない場合、低消費電力スイッチ10はオフ状態とされる。
When the power supply voltage Vcc is not supplied to the
電源スイッチ2がオンされると、電池3から電源電圧Vccがマイクロコンピュータ1に供給される。このとき、マイクロコンピュータ1においては、誤動作防止のため、第1動作用電源電圧Vdd1や第2動作用電源電圧Vdd2が所定のレベルに達するまでの間、自動的にパワーオンリセットがかかるようになっている。
When the
マイクロコンピュータ1に電源電圧Vccが供給されると、第2電源回路12によって第2動作用電源電圧Vdd2が形成され、それがサブ発振器132、タイマ133、及びスイッチ駆動回路134に供給される。サブ発振器132によって第2クロック信号CK2が生成され、それがタイマ133に伝達される。このとき、タイマ133は未だ起動されていない。タイマ133が起動されていない状態では、タイマ122の出力信号Toutはハイレベルとされる。タイマ122の出力信号Toutがハイレベルの場合、スイッチ駆動回路134は、スイッチ制御信号SWcntをハイレベルにして、低消費電力スイッチ10をオンする(401)。低消費電力スイッチ10がオンされることにより、第1電源回路11への電源電圧Vccの供給が開始される。
When the power supply voltage Vcc is supplied to the
第1電源回路11への電源電圧Vccの供給が開始されると、バンドギャップリファレンス回路111により基準電圧Vrefが形成され、それが演算増幅器112に伝達される。第1電源回路11への電源電圧Vccの供給が開始されると、第1内部電源電圧Vdd1が0ボルトから上昇される。この段階では、トリミングレジスタ116にトリミングデータは未だ転送されていないので、トリミングデータによる可変トリミングは実行されない。従ってこの場合のトリミングは、固定トリミングとされる。特に制限されないが、トリミング回路115の初期状態で分圧抵抗201,202の直列接続ノードa1が選択されるものとすると、固定トリミングでは、この直列接続ノードa1の電位が演算増幅器112の反転入力端子にフィードバックされる。演算増幅器112では、直列接続ノードa1の電位と基準電圧Vrefとの差分が求められ、それに応じてnチャネル型MOSトランジスタ113のオン抵抗が制御されることで第1動作用電源電圧Vdd1のレベルが決定される。第1動作用電源電圧Vdd1のレベルは、電圧検出回路135によってモニタされる。電圧検出回路135は、第1動作用電源電圧Vdd1と基準電圧Vrefとの比較を行い、第1動作用電源電圧Vdd1のレベルが基準電圧Vrefのレベルに達した時点で、電圧検出信号DEVをアサートする(402)。電圧検出信号DEVがアサートされると、CPU137のパワーオンリセットが解除され、CPU137は、切り替えレジスタ141に保持された識別情報が論理値“1”であるか論理値“0”であるかの判別を行う(403)。識別情報の論理値“1”は第1動作モードを示し、識別情報の論理値“0”は第2動作モードを示す。CPU137のパワーオンリセットが解除される前の識別情報の初期値は、論理値“1”“0”の何れでもよいが、ここでは、便宜上、論理値“1”が設定されているものとする。
When the supply of the power supply voltage Vcc to the first
上記ステップ403の判別において、切り替えレジスタ141に保持された識別情報は論理値“1”である、と判断された場合、内部回路13は第1動作モードで処理を開始する(410)。
If it is determined in
第1動作モードでは、低消費電力スイッチ10がオンされてからA/Dコンバータ140によって実際にアナログ信号のサンプリングが開始されるまでの時間短縮を優先するため、フラッシュメモリ136からトリミングレジスタ116へのトリミングデータの転送は省略される。この結果、第1動作用電源電圧Vdd1は、分圧抵抗201,202の直列接続ノードa1の電位が演算増幅器112にフィードバックされた状態が維持される。
In the first operation mode, priority is given to shortening the time from when the low
第1動作モードでは、センサ4からのアナログ信号がA/Dコンバータ140でサンプリングされてデジタル信号に変換される。A/Dコンバータ140でサンプリングのタイミングなどは、メイン発振器131で形成された第1クロック信号CK1に基づいてCPU137によって制御される。このようにして得られたデジタル信号は、CPU137の制御下でフラッシュメモリ136に格納される。
In the first operation mode, the analog signal from the sensor 4 is sampled by the A /
フラッシュメモリ136へのデジタル信号の格納が完了した後にCPU137は、低消費電力スイッチ10をオフするか否か、つまり、低消費電力モードに遷移するか否かの判別を行う(411)。この判別において、低消費電力スイッチ10をオフする(Yes)、と判断した場合、CPU137はタイマ133を起動する(408)。タイマ133は、CPU137によって起動されると、直ちに出力信号Toutをローレベルにして、サブ発振器132からの第2クロック信号CK2のカウントを開始する。タイマ133の出力信号Toutがローレベルにされると、スイッチ駆動回路134によってスイッチ制御信号SWcntがローレベルにされて、低消費電力スイッチ10がオフされる(409)。これにより、マイクロコンピュータ1は、低消費電力モードに遷移する。
After the storage of the digital signal in the
タイマ133が起動されてから、当該タイマ133に予め設定された所定時間が経過すると、タイマ133の出力信号Toutが、それまでのローレベルからハイレベルに遷移される。すると、スイッチ駆動回路134によってスイッチ制御信号SWcntがハイレベルにされて低消費電力スイッチ10が再びオンされる(401)。その後の動作は、既述の通りである。つまり、上記ステップ402,403,410,411,408,409の各処理を経て、再び低消費電力モードに遷移する。
When a predetermined time set in advance in the
マイクロコンピュータ1の間欠動作により、上記一連の処理が繰り返される毎に、サンプリングデータがフラッシュメモリ136に蓄積される。そして、フラッシュメモリ136にサンプリングデータがある程度蓄積された場合に、CPU137は、上記ステップ411の判別において、低消費電力スイッチ10をオフしない(No)と判断して、切り替えレジスタ141に保持された識別情報を論理値“0”に変更する(412)。これにより、CPU137は、ステップ403の判別において、切り替えレジスタ保持された識別情報は論理値“0”である、と判断する。その場合、CPU137は、フラッシュメモリ136内のトリミングデータ143をトリミングレジスタ116に転送する(404)。
The sampling data is accumulated in the
フラッシュメモリ136内のトリミングデータ143は、このマイクロコンピュータ1のチップばらつきが考慮され、それを修正するためのデータである。そのようなトリミングデータ143が、CPU137の制御下でフラッシュメモリ136からトリミングレジスタ116に転送されると、トリミング回路115は、トリミングレジスタ116内のトリミングデータ143に従って、分圧抵抗201〜205における直列接続ノードa1〜a4のうちの一つを選択することで、第1動作用電源電圧Vdd1のトリミングを実行する(406)。つまり、分圧抵抗201〜205における直列接続ノードa1〜a4の選択による可変トリミングが行われる。これにより第1動作用電源電圧Vdd1の電位は、チップばらつきが修正されて適切なレベルとなる。
The trimming
ステップ406でのトリミングが実行された後に、CPU137は、第2動作モードでの処理を実行する(407)。例えばこの第2動作モードでは、フラッシュメモリ136に格納されているサンプリングデータを必要に応じて演算処理する。この演算処理には、例えばサンプリングデータに含まれるノイズ成分を除去するためのデジタルフィルタリング処理や、複数のサンプリングデータの加算平均処理などが含まれる。特に、サンプリングデータに含まれるノイズ成分を除去するためのデジタルフィルタリング処理は時間がかかるため、この第2動作モードにおいて、メイン発振器131で形成される第1クロック信号CK1の周波数を上げることは、第2動作モードでの処理時間の短縮に有効とされる。サンプリングデータの演算処理結果は、SCI139を介して、ホストシステム301に送信される。この送信後に、フラッシュメモリ136内のサンプリングデータが削除されて、新たなサンプリングデータの格納に備えられる。
After the trimming at
ステップ406の第2動作モードでの処理が終了した後に、CPU137は、切り替えレジスタ141に保持された識別情報を論理値“1”に変更する(407)。そしてCPU137は、タイマ133を起動する(408)。タイマ133は、CPU137によって起動されると、直ちに出力信号Toutをローレベルにして、サブ発振器132からの第2クロック信号CK2のカウントを開始する。タイマ133の出力信号Toutがローレベルにされると、スイッチ駆動回路134によってスイッチ制御信号SWcntがローレベルにされて、低消費電力スイッチ10がオフされる(409)。これにより、マイクロコンピュータ1は、低消費電力モードに遷移する。
After the processing in the second operation mode in
タイマ133が起動されてから、当該タイマ133に予め設定された所定時間が経過すると、タイマ133の出力信号Toutが、それまでのローレベルからハイレベルに遷移される。すると、スイッチ駆動回路134によってスイッチ制御信号SWcntがハイレベルにされて低消費電力スイッチ10が再びオンされる(401)。その後の動作は、既述の通りである。
When a predetermined time set in advance in the
尚、CPU137のパワーオンリセットが解除される前の識別情報の初期値が論理値“0”とされる場合もあり得る。かかる場合には、上記ステップ403の判別により、第1動作モードでの処理(410)を行うことなく、フラッシュメモリ136内のトリミングデータ143がトリミングレジスタ116に転送され(403)、トリミングが実行された後に(405)、第2動作モードでの処理が行われる(406)。
Note that the initial value of the identification information before the power-on reset of the
実施の形態1によれば、以下の作用効果を奏する。 According to the first embodiment, the following operational effects are obtained.
低消費電力モードから第1動作モードに遷移する際には、トリミングレジスタ116へのトリミングデータの伝達が省略される。このため、間欠動作において、低消費電力モードから第1動作モードへ遷移して第1動作モードでの処理を完了するのに要する時間を短縮することができる。このような時間短縮により、間欠動作に対応する第1動作モードでの消費電力を低減することができる。
When transitioning from the low power consumption mode to the first operation mode, transmission of trimming data to the
低消費電力モード又は第1動作モードから上記第2動作モードに遷移する際には、トリミングレジスタ116にトリミングデータ143が伝達されるので、このトリミングレジスタ116内のトリミングデータに従って動作用電源電圧のレベルが調整される。第2動作モードは、上記第1動作モードに比べて動作時間が長い処理に対応するため、トリミングレジスタへのトリミングデータの伝達やトリミング動作の有無は、第2動作モードでの消費電力にほとんど影響しない。
When transitioning from the low power consumption mode or the first operation mode to the second operation mode, the trimming
第1動作モードに比べて動作時間が長い第2動作モードでの演算処理においては、フィルタリング処理などのように高い処理能力が要求される。そのような第2動作モードでの演算処理は、トリミングレジスタに保持されたトリミングデータに従って動作用電源電圧のレベルが調整された状態で支障なく実行される。 In the arithmetic processing in the second operation mode, which has a longer operation time than the first operation mode, a high processing capability is required such as filtering processing. The arithmetic processing in the second operation mode is executed without any trouble in a state where the level of the operation power supply voltage is adjusted according to the trimming data held in the trimming register.
《実施の形態2》
図5には、図1に示されるマイクロコンピュータ1の変形例が示される。
<<
FIG. 5 shows a modification of the
図5に示されるマイクロコンピュータ1が、図1に示されるのと大きく相違するのは、第1電源回路11の構成において、トリミングデータに従って、第2基準電圧Vref−2のトリミングを実行するようにした点である。演算増幅器117とnチャネル型MOSトランジスタ118とが設けられ、このnチャネル型MOSトランジスタ118に分圧抵抗114が直列接続される。演算増幅器117は、バンドギャップリファレンス回路111で得られた第1基準電圧Vref−1と、トリミング回路115を介してフィードバックされた電圧との差分を求め、その差分に応じてnチャネル型MOSトランジスタ118のオン抵抗を制御する。これにより、第2基準電圧Vref−2が安定化される。フラッシュメモリ143内のトリミングデータ143は、このマイクロコンピュータ1のチップばらつきが考慮され、それを修正するためのデータである。そのようなトリミングデータ143がトリミングレジスタ116に転送されると、トリミング回路115は、そのトリミングデータに従って、第2基準電圧Vref−2のトリミングを実行する。
The
演算増幅器112では、第2基準電圧Vref−2と、第1内部電源電圧Vdd1との差分が求められ、それに応じてnチャネル型MOSトランジスタ113のオン抵抗が制御される。演算増幅器112の非反転入力端子とグランドGNDとの間にキャパシタ119が設けられ、第2基準電圧Vref−2の安定化が図られている。第2基準電圧Vref−2が演算増幅器112に伝達されることにより、第1内部電源電圧Vdd1が安定化される。
In the
このように第1電源回路11において、トリミングデータに従って、第2基準電圧Vref−2のトリミングを実行する場合においても、図4のフローチャートに従って動作されることにより、実施の形態1の場合と同様の作用効果を得ることができる。
As described above, even when the first
以上本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることは言うまでもない。 Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention. Needless to say.
例えば、切り替えレジスタ141が揮発性であっても、切り替えレジスタ141の動作用電源として、第2動作用電源電圧Vdd2を供給するようにすれば、低消費電力スイッチ10がオフされても切り替えレジスタ141の保持内容が失われることは無いので、切り替えレジスタ141を不揮発性メモリで形成する場合と同様の作用効果を得ることができる。
For example, even if the
また、トリミングデータ143のセキュリティを強化するため、フラッシュメモリ136内のトリミングデータ143を暗号化してトリミングレジスタ116に転送するようにしても良い。
In order to enhance the security of the trimming
1 マイクロコンピュータ
2 電源スイッチ
3 電池
4 センサ
10 低消費電力スイッチ
11 第1電源回路
12 第2電源回路
13 内部回路
111 バンドギャップリファレンス回路
112,117 演算増幅器
113,118 nチャネル型MOSトランジスタ
114 分圧抵抗
115 トリミング回路
116 トリミングレジスタ
119 キャパシタ
131 メイン発振器
132 サブ発振器
133 タイマ
134 スイッチ駆動回路
135 電圧検出回路
136 フラッシュメモリ
137 CPU
138 RAM
139 SCI
140 A/Dコンバータ
141 切り替えレジスタ
302 センサシステム
301 ホストシステム
DESCRIPTION OF
138 RAM
139 SCI
140 A /
Claims (6)
上記内部回路の動作用電源電圧を形成する電源回路と、を含み、
上記電源回路は、上記内部回路から伝達されたトリミングデータを保持可能なトリミングレジスタと、
上記トリミングレジスタに保持されたトリミングデータに従って、上記動作用電源電圧のレベルを調整するためのトリミング回路と、を含み、
上記内部回路は、上記低消費電力モードから上記第1動作モードに遷移する際には、上記トリミングレジスタへのトリミングデータの伝達を省略し、上記低消費電力モード又は上記第1動作モードから上記第2動作モードに遷移する際には、上記トリミングレジスタにトリミングデータを伝達する制御回路を含むマイクロコンピュータ。 The first operation mode corresponding to the intermittent operation, the second operation mode in which the operation time is longer than the first operation mode, and the power consumption are set lower than those in the first operation mode and the second operation mode. An internal circuit having a low power consumption mode;
A power supply circuit for forming a power supply voltage for operation of the internal circuit,
The power supply circuit includes a trimming register capable of holding trimming data transmitted from the internal circuit;
A trimming circuit for adjusting the level of the operation power supply voltage according to the trimming data held in the trimming register,
When the internal circuit makes a transition from the low power consumption mode to the first operation mode, transmission of trimming data to the trimming register is omitted, and the internal circuit skips the low power consumption mode or the first operation mode to the first operation mode. A microcomputer including a control circuit for transmitting trimming data to the trimming register when transitioning to the two operation modes.
上記電源回路の出力電圧レベルが所定レベルに達したことを検出するための電圧検出回路を含み、
上記制御回路は、上記電源回路の出力電圧レベルが所定レベルに達した後に、上記切り替えレジスタに保持されている識別情報の論理を判定し、上記識別情報が第1論理状態の場合には、上記トリミングレジスタへのトリミングデータの伝達を省略して上記第1動作モードで処理を実行し、上記識別情報が第2論理状態の場合には、上記トリミングレジスタにトリミングデータを伝達してから上記第2動作モードで処理を実行する請求項1記載のマイクロコンピュータ。 The internal circuit includes a switching register that holds identification information between the first operation mode and the second operation mode;
Including a voltage detection circuit for detecting that the output voltage level of the power supply circuit has reached a predetermined level;
The control circuit determines the logic of the identification information held in the switching register after the output voltage level of the power supply circuit reaches a predetermined level, and when the identification information is in the first logic state, When the transmission of the trimming data to the trimming register is omitted and the process is executed in the first operation mode and the identification information is in the second logic state, the trimming data is transmitted to the trimming register and then the second The microcomputer according to claim 1, wherein the microcomputer executes processing in an operation mode.
上記内部回路における上記第2動作モードの処理は、上記第1動作モードでサンプリングされた信号を演算処理してから上記マイクロコンピュータの外部に出力する処理を含む請求項3記載のマイクロコンピュータ。 The processing in the first operation mode in the internal circuit includes processing for sampling an analog signal taken from the outside of the microcomputer,
4. The microcomputer according to claim 3, wherein the processing in the second operation mode in the internal circuit includes processing for computing the signal sampled in the first operation mode and then outputting the signal to the outside of the microcomputer.
上記定電圧回路は、上記定電圧回路の出力電圧に対応するフィードバック電圧と基準電圧との差分を得る第1演算増幅器と、
上記第1演算増幅器の出力に応じて上記動作用電源電圧を出力する第1トランジスタと、を含み、
上記トリミング回路は、上記定電圧回路の出力電圧に対応するフィードバック電圧を、上記トリミングレジスタに保持されたトリミングデータに従って調整する請求項4記載のマイクロコンピュータ。 The power supply circuit includes a constant voltage circuit for making the power supply voltage for operation necessary for the operation of the internal circuit constant,
The constant voltage circuit includes a first operational amplifier that obtains a difference between a feedback voltage corresponding to an output voltage of the constant voltage circuit and a reference voltage;
A first transistor that outputs the power supply voltage for operation according to the output of the first operational amplifier;
5. The microcomputer according to claim 4, wherein the trimming circuit adjusts a feedback voltage corresponding to an output voltage of the constant voltage circuit according to trimming data held in the trimming register.
上記第2基準電圧を参照して、上記内部回路の動作に必要な動作用電源電圧を定電圧化するための第2定電圧回路と、を含み、
上記第1定電圧回路は、上記第2基準電圧に対応するフィードバック電圧と上記第1基準電圧との差分を得る第2演算増幅器と、
上記第2演算増幅器の出力に応じて上記第2基準電圧を出力する第2トランジスタと、を含み、
上記トリミング回路は、上記第2基準電圧に対応するフィードバック電圧を、上記トリミングレジスタに保持されたトリミングデータに従って調整する請求項4記載のマイクロコンピュータ。 The power supply circuit includes a first constant voltage circuit that obtains a second reference voltage by making the first reference voltage constant;
A second constant voltage circuit for making the power supply voltage for operation necessary for the operation of the internal circuit constant, with reference to the second reference voltage,
The first constant voltage circuit includes a second operational amplifier that obtains a difference between the feedback voltage corresponding to the second reference voltage and the first reference voltage;
A second transistor that outputs the second reference voltage in response to the output of the second operational amplifier;
5. The microcomputer according to claim 4, wherein the trimming circuit adjusts a feedback voltage corresponding to the second reference voltage according to trimming data held in the trimming register.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013065420A JP2014191527A (en) | 2013-03-27 | 2013-03-27 | Microcomputer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013065420A JP2014191527A (en) | 2013-03-27 | 2013-03-27 | Microcomputer |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014191527A true JP2014191527A (en) | 2014-10-06 |
Family
ID=51837739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013065420A Pending JP2014191527A (en) | 2013-03-27 | 2013-03-27 | Microcomputer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014191527A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102019200519A1 (en) | 2018-02-16 | 2019-10-17 | Denso Corporation | Microcomputer and electronic control device |
US11773152B2 (en) | 2017-10-10 | 2023-10-03 | Hiroshima University | Technique for creating antigen-specific regulatory T cells (Treg) in which effector T cell (Teff) antigen receptors are used |
-
2013
- 2013-03-27 JP JP2013065420A patent/JP2014191527A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11773152B2 (en) | 2017-10-10 | 2023-10-03 | Hiroshima University | Technique for creating antigen-specific regulatory T cells (Treg) in which effector T cell (Teff) antigen receptors are used |
DE102019200519A1 (en) | 2018-02-16 | 2019-10-17 | Denso Corporation | Microcomputer and electronic control device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9813063B2 (en) | Method of using a field-effect transistor as a current sensing device | |
JP4820571B2 (en) | Semiconductor device | |
JP3752107B2 (en) | Power-on reset circuit for integrated circuits | |
KR101357368B1 (en) | Circuit arrangement with a plurality of on-chip monitor circuits and a control circuit and corresponding methods | |
EP3152538B1 (en) | Low power low cost temperature sensor | |
US7233213B2 (en) | Oscillator of semiconductor device | |
JP5242186B2 (en) | Semiconductor device | |
US7417448B2 (en) | System to calibrate on-die temperature sensor | |
JP2004133800A (en) | Semiconductor integrated circuit device | |
JP2009153120A (en) | Starting circuit for reference voltage generating circuit | |
JP2005117442A (en) | Semiconductor integrated circuit | |
JP2009277122A (en) | Power source voltage monitoring circuit | |
JP4934818B2 (en) | Electronic circuit devices | |
US9385583B2 (en) | Circuit and method for operating a circuit | |
US7479767B2 (en) | Power supply step-down circuit and semiconductor device | |
US20200287524A1 (en) | Integrated Oscillator | |
JP2018098717A (en) | Voltage monitoring circuit and semiconductor device | |
JP2014191527A (en) | Microcomputer | |
JP6461517B2 (en) | Semiconductor device | |
US20100295530A1 (en) | Power supply voltage control circuit | |
JP5697777B2 (en) | Data processing system | |
JP7435968B2 (en) | integrated circuit device | |
US9030246B2 (en) | Semiconductor device | |
JP2006112889A (en) | Power supply voltage detection circuit | |
JP2008017101A (en) | Power on reset circuit |