JP2019134410A - Semiconductor device, power supply management circuit and electronic apparatus - Google Patents

Semiconductor device, power supply management circuit and electronic apparatus Download PDF

Info

Publication number
JP2019134410A
JP2019134410A JP2018234474A JP2018234474A JP2019134410A JP 2019134410 A JP2019134410 A JP 2019134410A JP 2018234474 A JP2018234474 A JP 2018234474A JP 2018234474 A JP2018234474 A JP 2018234474A JP 2019134410 A JP2019134410 A JP 2019134410A
Authority
JP
Japan
Prior art keywords
semiconductor device
converter
circuit
processor
calibration
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
Application number
JP2018234474A
Other languages
Japanese (ja)
Inventor
耕太 源
Kota Minamoto
耕太 源
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.)
Rohm Co Ltd
Original Assignee
Rohm Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to US16/261,993 priority Critical patent/US10951228B2/en
Publication of JP2019134410A publication Critical patent/JP2019134410A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

To provide a semiconductor device capable of achieving low power consumption for a system.SOLUTION: A semiconductor device 100 is used together with a processor 4. An A/D converter 120 is constituted to be correctable. A logic circuit 130 regularly gives a correction trigger to the A/D converter 120 by a counting operation using an output of an oscillator 110.SELECTED DRAWING: Figure 2

Description

本発明は、A/Dコンバータを備える半導体装置に関する。   The present invention relates to a semiconductor device including an A / D converter.

さまざまな電子機器において、内部回路の電気的状態や電子機器の物理的状態をデジタル信号処理するために、これらの状態を表すアナログ信号をデジタル信号に変換するA/Dコンバータが用いられる。   In various electronic devices, A / D converters that convert analog signals representing these states into digital signals are used to perform digital signal processing on the electrical state of internal circuits and the physical state of electronic devices.

図1は、A/Dコンバータを備える半導体装置10のブロック図である。半導体装置10は、プロセッサ4とともに電子機器2に搭載される。半導体装置10は、A/Dコンバータ12、ロジック回路14、インタフェース回路16を含む。A/Dコンバータ12は、外部から入力される、あるいは半導体装置10の内部で生成されるアナログ信号A1をデジタル信号D1に変換する。ロジック回路14は、デジタル信号D1を処理する。処理の結果、得られたデータD2はレジスタに格納され、インタフェース回路16を経由してプロセッサ4からアクセス可能である。   FIG. 1 is a block diagram of a semiconductor device 10 including an A / D converter. The semiconductor device 10 is mounted on the electronic device 2 together with the processor 4. The semiconductor device 10 includes an A / D converter 12, a logic circuit 14, and an interface circuit 16. The A / D converter 12 converts an analog signal A1 input from the outside or generated inside the semiconductor device 10 into a digital signal D1. The logic circuit 14 processes the digital signal D1. The data D2 obtained as a result of the processing is stored in a register and can be accessed from the processor 4 via the interface circuit 16.

A/Dコンバータ12に高い分解能が求められる用途では、温度変化に起因するオフセット量が変換結果に大きく影響する。そこでロジック回路14は、プロセッサ4からの校正指示を受信すると、A/Dコンバータ12に対して、校正動作の実行を指示する。   In applications where high resolution is required for the A / D converter 12, the amount of offset due to temperature change greatly affects the conversion result. Therefore, when receiving the calibration instruction from the processor 4, the logic circuit 14 instructs the A / D converter 12 to execute the calibration operation.

たとえばプロセッサ4は、温度を監視し、許容できない温度変動が生じたことを条件として、半導体装置10に校正指示を出力する。   For example, the processor 4 monitors the temperature and outputs a calibration instruction to the semiconductor device 10 on condition that an unacceptable temperature fluctuation has occurred.

特開2014−230012号公報JP 2014-230012 A

図1の回路システムでは、電子機器2の動作状態にかかわらず、常時、プロセッサ4は、温度を監視し続けなければならない。したがって、プロセッサ4を、停止(スリープ、サスペンド、スタンバイ)させることができず、低消費電力化を阻害する一因となっていた。   In the circuit system of FIG. 1, the processor 4 must constantly monitor the temperature regardless of the operating state of the electronic device 2. Therefore, the processor 4 cannot be stopped (sleep, suspend, standby), which is one factor that hinders the reduction in power consumption.

本発明はこうした課題に鑑みてなされたものであり、そのある態様の例示的な目的のひとつは、システムを低消費電力化することが可能は半導体装置の提供にある。   The present invention has been made in view of these problems, and one of exemplary objects of an aspect thereof is to provide a semiconductor device capable of reducing the power consumption of the system.

本発明のある態様は、プロセッサとともに使用される半導体装置に関する。半導体装置は、オシレータと、校正可能に構成されたA/Dコンバータと、オシレータの出力を利用したカウント動作により、A/Dコンバータに定期的に校正のトリガを与えるロジック回路と、を備える。   One embodiment of the present invention relates to a semiconductor device used with a processor. The semiconductor device includes an oscillator, an A / D converter configured to be calibrated, and a logic circuit that periodically gives a calibration trigger to the A / D converter by a count operation using the output of the oscillator.

本発明の別の態様は、電源管理回路である。電源管理回路は、バッテリからの電圧を受け、プロセッサに供給すべき電源電圧を生成する電源回路と、バッテリに流れる電流をデジタル値に変換し、かつ校正可能に校正されたA/Dコンバータと、常時動作するリアルタイムクロックと、リアルタイムクロックの出力を利用したカウント動作を行い、A/Dコンバータに第1周期でA/D変換のトリガを与えるとともに、A/Dコンバータに、第1周期より長い第2周期で校正のトリガを与えるロジック回路と、を備える。   Another aspect of the present invention is a power management circuit. The power management circuit receives a voltage from the battery and generates a power supply voltage to be supplied to the processor, an A / D converter that converts the current flowing through the battery into a digital value and is calibrated so as to be calibrated, A real-time clock that always operates and a count operation using the output of the real-time clock are performed, and an A / D conversion trigger is given to the A / D converter in the first period. And a logic circuit for providing a calibration trigger in two cycles.

なお、以上の構成要素の任意の組み合わせや本発明の構成要素や表現を、方法、装置、システムなどの間で相互に置換したものもまた、本発明の態様として有効である。   Note that any combination of the above-described constituent elements and the constituent elements and expressions of the present invention replaced with each other among methods, apparatuses, systems, and the like are also effective as an aspect of the present invention.

本発明によれば、消費電力を低減できる。   According to the present invention, power consumption can be reduced.

A/Dコンバータを備える半導体装置のブロック図である。It is a block diagram of a semiconductor device provided with an A / D converter. 実施の形態に係る半導体装置を備える電子機器のブロック図である。1 is a block diagram of an electronic device including a semiconductor device according to an embodiment. 図2の半導体装置の動作を説明するタイムチャートである。3 is a time chart for explaining the operation of the semiconductor device of FIG. 2. 電源管理回路のブロック図である。It is a block diagram of a power management circuit. 第1変形例に係る半導体装置を備える電子機器のブロック図である。It is a block diagram of an electronic device provided with the semiconductor device which concerns on a 1st modification.

(実施の形態の概要)
本明細書に開示される一実施の形態は、半導体装置に関する。半導体装置は、プロセッサとともに使用される。半導体装置は、常時発振するオシレータと、校正可能に構成されたA/Dコンバータと、オシレータの出力を利用したカウント動作により、A/Dコンバータに定期的に校正のトリガを与えるロジック回路と、を備える。
(Outline of the embodiment)
One embodiment disclosed in this specification relates to a semiconductor device. Semiconductor devices are used with processors. A semiconductor device includes an oscillator that oscillates at all times, an A / D converter configured to be calibrated, and a logic circuit that periodically gives a calibration trigger to the A / D converter by a count operation using the output of the oscillator. Prepare.

この実施の形態によれば、半導体装置自体が内蔵するオシレータを利用して、定期的にA/Dコンバータの校正を実施するため、プロセッサによる校正条件の判定が不要となる。したがって、プロセッサによる処理が不要な状況ではプロセッサを停止させることが可能となり、消費電力を低減できる。   According to this embodiment, since the A / D converter is periodically calibrated using the oscillator built in the semiconductor device itself, it is not necessary to determine the calibration condition by the processor. Therefore, in a situation where processing by the processor is unnecessary, the processor can be stopped, and power consumption can be reduced.

ロジック回路は、オシレータの出力にもとづく所定の周期のタイミング信号を受け、タイミング信号に応じてA/DコンバータにA/D変換のトリガを与えるとともに、タイミング信号を所定数カウントするたびに、A/Dコンバータに校正のトリガを与えてもよい。A/D変換動作と校正を共通の信号にもとづいて管理することで、回路構成を簡素化できる。   The logic circuit receives a timing signal having a predetermined period based on the output of the oscillator, gives an A / D conversion trigger to the A / D converter in accordance with the timing signal, and counts a predetermined number of timing signals every time the timing signal is counted. A calibration trigger may be given to the D converter. By managing the A / D conversion operation and calibration based on a common signal, the circuit configuration can be simplified.

所定数を外部から設定可能であってもよい。これにより、半導体装置の用途に応じて、校正の頻度を最適化できる。   The predetermined number may be set from the outside. Thereby, the frequency of calibration can be optimized according to the use of the semiconductor device.

半導体装置は、RTC(Real Time Clock)回路をさらに備えてもよい。タイミング信号は、RTC回路により生成されてもよい。RTC回路は常時動作する上に、消費電力が非常に小さいため、その出力の用途として、定期的な校正のトリガの生成は好適である。   The semiconductor device may further include an RTC (Real Time Clock) circuit. The timing signal may be generated by an RTC circuit. Since the RTC circuit always operates and consumes very little power, the generation of a periodic calibration trigger is suitable for the use of the output.

半導体装置は、半導体装置が組み込まれる機器のバッテリと接続され、A/Dコンバータは、バッテリの電流をデジタル値に変換してもよい。半導体装置は、デジタル値を積算してもよい。これによりバッテリの残量検出が可能となる。   The semiconductor device may be connected to a battery of a device in which the semiconductor device is incorporated, and the A / D converter may convert the battery current into a digital value. The semiconductor device may integrate digital values. Thereby, the remaining amount of the battery can be detected.

半導体装置は、プロセッサに電源電圧を供給する電源回路をさらに備えてもよい。電源回路は、プロセッサの停止状態において電源電圧の供給を停止してもよい。   The semiconductor device may further include a power supply circuit that supplies a power supply voltage to the processor. The power supply circuit may stop supplying the power supply voltage when the processor is stopped.

A/Dコンバータは、ΔΣ型であってもよい。   The A / D converter may be a ΔΣ type.

(実施の形態)
以下、本発明を好適な実施の形態をもとに図面を参照しながら説明する。各図面に示される同一または同等の構成要素、部材、処理には、同一の符号を付するものとし、適宜重複した説明は省略する。また、実施の形態は、発明を限定するものではなく例示であって、実施の形態に記述されるすべての特徴やその組み合わせは、必ずしも発明の本質的なものであるとは限らない。
(Embodiment)
The present invention will be described below based on preferred embodiments with reference to the drawings. The same or equivalent components, members, and processes shown in the drawings are denoted by the same reference numerals, and repeated descriptions are omitted as appropriate. The embodiments do not limit the invention but are exemplifications, and all features and combinations thereof described in the embodiments are not necessarily essential to the invention.

本明細書において、「部材Aが、部材Bと接続された状態」とは、部材Aと部材Bが物理的に直接的に接続される場合や、部材Aと部材Bが、それらの電気的な接続状態に実質的な影響を及ぼさない、あるいはそれらの結合により奏される機能や効果を損なわせない、その他の部材を介して間接的に接続される場合も含む。同様に、「部材Cが、部材Aと部材Bの間に設けられた状態」とは、部材Aと部材C、あるいは部材Bと部材Cが直接的に接続される場合のほか、それらの電気的な接続状態に実質的な影響を及ぼさない、あるいはそれらの結合により奏される機能や効果を損なわせない、その他の部材を介して間接的に接続される場合も含む。   In this specification, “the state in which the member A is connected to the member B” means that the member A and the member B are physically directly connected, or the member A and the member B are electrically connected to each other. Including the case of being indirectly connected through other members that do not substantially affect the state of connection, or do not impair the functions and effects achieved by the combination thereof. Similarly, “the state in which the member C is provided between the member A and the member B” refers to the case where the member A and the member C or the member B and the member C are directly connected, as well as their electric It includes cases where the connection is indirectly made through other members that do not substantially affect the general connection state, or that do not impair the functions and effects achieved by their combination.

図2は、実施の形態に係る半導体装置100を備える電子機器2のブロック図である。電子機器2は、半導体装置100に加えて、プロセッサ4、バッテリ6を備える。電子機器2の種類は限定されないが、たとえばスマートフォン、タブレット端末、ウェアラブル端末、電子書籍や火災報知器など、低消費電力が要求される機器が例示される。   FIG. 2 is a block diagram of the electronic device 2 including the semiconductor device 100 according to the embodiment. The electronic device 2 includes a processor 4 and a battery 6 in addition to the semiconductor device 100. The type of the electronic device 2 is not limited, but examples include devices that require low power consumption, such as smartphones, tablet terminals, wearable terminals, electronic books, and fire alarms.

半導体装置100は、オシレータ110、A/Dコンバータ120、ロジック回路130、インタフェース回路140を備え、ひとつの半導体基板に集積化される。半導体装置100には、バッテリ6からの電圧VBATが、電源として常時給電されている。バッテリ6は、一次電池、二次電池のいずれであってもよい。 The semiconductor device 100 includes an oscillator 110, an A / D converter 120, a logic circuit 130, and an interface circuit 140, and is integrated on one semiconductor substrate. The semiconductor device 100 is constantly supplied with a voltage V BAT from the battery 6 as a power source. The battery 6 may be either a primary battery or a secondary battery.

オシレータ110は、常時発振しており、クロック信号CKを生成する。A/Dコンバータ120は、外部から入力されるアナログ信号A1をデジタル信号D1に変換する。A/Dコンバータ120は、半導体装置10の内部信号を入力としてもよい。   The oscillator 110 constantly oscillates and generates a clock signal CK. The A / D converter 120 converts an analog signal A1 input from the outside into a digital signal D1. The A / D converter 120 may receive an internal signal of the semiconductor device 10 as an input.

ロジック回路14は、デジタル信号D1を処理する。処理の結果、得られたデータD2はレジスタに格納され、インタフェース回路140を経由してプロセッサ4からアクセス可能である。   The logic circuit 14 processes the digital signal D1. The data D2 obtained as a result of the processing is stored in a register and can be accessed from the processor 4 via the interface circuit 140.

A/Dコンバータ120は、校正可能に構成されている。たとえば校正モードにおいて、A/Dコンバータ120の入力が固定され、そのときの出力がオフセットとして取得される。A/Dコンバータ120が差動入力を備える場合、2入力がショートされて、そのときの出力が取得される。A/Dコンバータの校正方法は、A/Dコンバータの方式に応じて選択すればよい。   The A / D converter 120 is configured to be calibrated. For example, in the calibration mode, the input of the A / D converter 120 is fixed, and the output at that time is acquired as an offset. When the A / D converter 120 includes a differential input, the two inputs are short-circuited and the output at that time is acquired. The calibration method for the A / D converter may be selected according to the method of the A / D converter.

ロジック回路130は、オシレータ110の出力CKを利用したカウント動作により、一定の時間間隔(校正周期TCAL)で校正信号CALをアサートし、A/Dコンバータ120に定期的に校正のトリガを与える。また、校正周期(第2周期という)よりも短いサンプリング周期T(第1周期)で、サンプリング信号SMPをアサートし、A/Dコンバータ120に、A/D変換の指示を与える。 The logic circuit 130 asserts the calibration signal CAL at a constant time interval (calibration period T CAL ) by a counting operation using the output CK of the oscillator 110, and periodically gives a calibration trigger to the A / D converter 120. Further, the sampling signal SMP is asserted at a sampling cycle T S (first cycle) shorter than the calibration cycle (referred to as the second cycle), and an A / D conversion instruction is given to the A / D converter 120.

好ましくは半導体装置100は、RTC回路112を含み、時計機能やカレンダー機能を提供する。RTC回路112は、クロック信号CKにもとづいて、現在時刻や日付を更新し続ける。時刻データや日付データは、インタフェース回路140を介してプロセッサ4からアクセス可能である。   Preferably, the semiconductor device 100 includes an RTC circuit 112 and provides a clock function and a calendar function. The RTC circuit 112 continues to update the current time and date based on the clock signal CK. The time data and date data can be accessed from the processor 4 via the interface circuit 140.

RTC回路112は、1秒ごとにアサートされる信号(タイミング信号という)TMを生成することができる。そこでロジック回路130は、タイミング信号TMを利用して、サンプリング周期および校正周期を生成してもよい。たとえば、サンプリング周期を、タイミング信号TMの周期(すなわち1秒)としてもよい。また校正周期を、タイミング信号TMの周期の所定数N倍としてもよい。Nは、外部から設定可能なパラメータとするとよい。この場合、校正信号CALを、タイミング信号TMをカウントするカウンタによって校正することができる。   The RTC circuit 112 can generate a signal (called a timing signal) TM that is asserted every second. Therefore, the logic circuit 130 may generate the sampling period and the calibration period using the timing signal TM. For example, the sampling period may be the period of the timing signal TM (that is, 1 second). The calibration cycle may be a predetermined number N times the cycle of the timing signal TM. N may be a parameter that can be set from the outside. In this case, the calibration signal CAL can be calibrated by a counter that counts the timing signal TM.

以上が半導体装置100の構成である。続いてその動作を説明する。図3は、図2の半導体装置100の動作を説明するタイムチャートである。A/Dコンバータ120は、所定のサンプリング周期Tごとにアサートされるサンプリング信号SMPに応答して、アナログ信号A1をデジタル値に変換する。またA/Dコンバータ120は、所定の校正周期TCALごとにアサートされる校正信号CALに応答して、校正モードにセットされ、校正に必要なデジタル値を出力する。 The above is the configuration of the semiconductor device 100. Next, the operation will be described. FIG. 3 is a time chart for explaining the operation of the semiconductor device 100 of FIG. A / D converter 120 in response to the sampling signal SMP which is asserted for each predetermined sampling period T S, converts the analog signals A1 to a digital value. The A / D converter 120 is set to the calibration mode in response to the calibration signal CAL asserted every predetermined calibration cycle TCAL and outputs a digital value necessary for calibration.

以上が半導体装置100の動作である。この半導体装置100によれば、半導体装置100自体が内蔵するオシレータ110を利用して、定期的にA/Dコンバータ120の校正を実施するため、外部のプロセッサ4による校正条件の判定(たとえば温度の監視)が不要となる。したがって、電子機器2Aが動作していない場合など、プロセッサ4による処理が不要な状況では、プロセッサ4を停止させることが可能となり、消費電力を低減できる。   The above is the operation of the semiconductor device 100. According to the semiconductor device 100, the calibration of the A / D converter 120 is periodically performed using the oscillator 110 built in the semiconductor device 100 itself. Monitoring) becomes unnecessary. Therefore, in a situation where the processing by the processor 4 is unnecessary, such as when the electronic device 2A is not operating, the processor 4 can be stopped and power consumption can be reduced.

なお、ロジック回路130による校正信号CALの生成は、プロセッサ4が停止しているといないとに関わらず、常時行ってもよい。この場合、プロセッサ4側に、校正条件を判定するための処理や回路を組み込む必要がなくなるという利点がある。   Note that the generation of the calibration signal CAL by the logic circuit 130 may always be performed regardless of whether the processor 4 is stopped. In this case, there is an advantage that it is not necessary to incorporate processing or a circuit for determining the calibration condition on the processor 4 side.

続いて半導体装置100の用途を説明する。半導体装置100のアーキテクチャは、電源管理回路に好適に用いることができる。図4は、電源管理回路200のブロック図である。電源管理回路200は、プロセッサ4やバッテリ6とともに電子機器2Aに内蔵される。   Next, the use of the semiconductor device 100 will be described. The architecture of the semiconductor device 100 can be suitably used for a power management circuit. FIG. 4 is a block diagram of the power management circuit 200. The power management circuit 200 is built in the electronic device 2 </ b> A together with the processor 4 and the battery 6.

電源管理回路200は、電子機器2Aにおける電源に関する管理を行うIC(Integrated Circuit)である。   The power management circuit 200 is an IC (Integrated Circuit) that performs management related to power in the electronic device 2A.

電源管理回路200は、上述の半導体装置100と同様の回路ブロック(110,112,120,130,140)に加えて、電源回路210を備える。電源回路210は、DC/DCコンバータやリニアレギュレータを含み、バッテリ電圧VBATを受け、所定の電圧レベルに安定化された電源電圧VDDを生成する。電源電圧VDDは、電圧出力端子(VOUT)からプロセッサ4に供給される。 The power management circuit 200 includes a power circuit 210 in addition to the circuit blocks (110, 112, 120, 130, 140) similar to those of the semiconductor device 100 described above. Power supply circuit 210 includes a DC / DC converter and a linear regulator, receives battery voltage VBAT , and generates power supply voltage V DD stabilized at a predetermined voltage level. The power supply voltage V DD is supplied to the processor 4 from the voltage output terminal (VOUT).

電源管理回路200は、プロセッサ4以外の負荷に対して電源電圧を供給する複数の電源回路を備えてもよいが、それらは本発明と関係がないため図示しない。   The power management circuit 200 may include a plurality of power supply circuits that supply a power supply voltage to loads other than the processor 4, but these are not shown because they are not related to the present invention.

電源管理回路200は、バッテリの残量を検出する機能(フューエルゲージ)を備える。残量検出の方式として、バッテリ6に流れる電流IBATを積算するクーロンカウント法がある。電源管理回路200は、クーロンカウント法にもとづいて、バッテリ6から流れ出た電荷量を検出する。 The power management circuit 200 has a function (fuel gauge) for detecting the remaining battery level. As a method for detecting the remaining amount, there is a Coulomb count method in which the current I BAT flowing through the battery 6 is integrated. The power management circuit 200 detects the amount of charge flowing out from the battery 6 based on the coulomb counting method.

A/Dコンバータ120は、バッテリ6の電流の検出に用いられる。バッテリ6と直列に、センス抵抗Rsが接続され、センス抵抗Rsには、バッテリ電流IBATに比例した電圧降下VSNSが発生する。電源管理回路200のセンス端子SNSP,SNSNには、電圧降下VSNSに入力される。A/Dコンバータ120は、電圧降下VSNSをデジタル値D1に変換する。A/Dコンバータ120はたとえばΔΣ型が用いられる。 The A / D converter 120 is used for detecting the current of the battery 6. A sense resistor Rs is connected in series with the battery 6, and a voltage drop V SNS proportional to the battery current I BAT is generated in the sense resistor Rs. The voltage drop V SNS is input to the sense terminals SNSP and SNSN of the power management circuit 200. The A / D converter 120 converts the voltage drop VSNS into a digital value D1. For example, a ΔΣ type is used for the A / D converter 120.

ロジック回路130は、電流量を示すデジタル値D1を積算するクーロンカウンタ回路132を含み、クーロンカウント値CCを生成する。クーロンカウント値CCは、プロセッサ4からアクセス可能である。クーロンカウンタ回路132はメモリと加算器を含む積算器で構成できる。   The logic circuit 130 includes a coulomb counter circuit 132 that integrates a digital value D1 indicating the amount of current, and generates a coulomb count value CC. The coulomb count value CC is accessible from the processor 4. The coulomb counter circuit 132 can be constituted by an accumulator including a memory and an adder.

A/Dコンバータ120の入力段には、微小な電圧降下VSNSを増幅するセンスアンプが設けられてもよい。 A sense amplifier that amplifies a minute voltage drop VSNS may be provided at the input stage of the A / D converter 120.

バッテリ6が2次電池である場合、電源管理回路200には、充電回路がさらに集積化される。   When the battery 6 is a secondary battery, the power management circuit 200 is further integrated with a charging circuit.

以上が電源管理回路200の構成である。半導体装置100のアーキテクチャを採用することにより、電源管理回路200自身がA/Dコンバータ120を定期的に校正できるため、電子機器2Aの停止状態において、プロセッサ4を停止することができ、消費電力を下げることができる。   The above is the configuration of the power management circuit 200. By adopting the architecture of the semiconductor device 100, the power management circuit 200 itself can periodically calibrate the A / D converter 120. Therefore, the processor 4 can be stopped when the electronic device 2A is stopped, thereby reducing power consumption. Can be lowered.

また、プロセッサ4が停止状態となると、電源管理回路200は電源電圧VDDの供給を停止することができる。すなわち電源回路210の動作を停止できるため、電源管理回路200の消費電力をさらに下げることができる。 Further, when the processor 4 is stopped, the power management circuit 200 can stop supplying the power supply voltage V DD . That is, since the operation of the power supply circuit 210 can be stopped, the power consumption of the power management circuit 200 can be further reduced.

以上、本発明について、実施の形態をもとに説明した。この実施の形態は例示であり、それらの各構成要素や各処理プロセスの組み合わせにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。以下、こうした変形例について説明する。   The present invention has been described based on the embodiments. This embodiment is an exemplification, and it will be understood by those skilled in the art that various modifications can be made to combinations of the respective constituent elements and processing processes, and such modifications are within the scope of the present invention. is there. Hereinafter, such modifications will be described.

(第1変形例)
図5は、第1変形例に係る半導体装置を備える電子機器のブロック図である。第1変形例において、ロジック回路130による校正信号CAL(内部校正信号CALINT)の生成を、プロセッサ4がスリープした状態においてのみ行うこととしてもよい。プロセッサ4が起きている間は、プロセッサ4によって校正条件の判定を行い、校正条件を満たした場合にプロセッサ4から半導体装置100に対して、校正のトリガー(外部校正信号CALEXT)が与えられる。
(First modification)
FIG. 5 is a block diagram of an electronic apparatus including the semiconductor device according to the first modification. In the first modification, the generation of the calibration signal CAL (internal calibration signal CAL INT ) by the logic circuit 130 may be performed only when the processor 4 is in a sleep state. While the processor 4 is awake, the processor 4 determines the calibration condition. When the calibration condition is satisfied, the processor 4 gives a calibration trigger (external calibration signal CAL EXT ) to the semiconductor device 100.

外部校正信号CALEXTは、インタフェース回路140を経由して、A/Dコンバータ120に入力される。A/Dコンバータ120には、外部校正信号CALEXTと内部校正信号CALINTの論理和を与えるようにしてもよい。あるいは、外部校正信号CALEXTは、インタフェース回路140を経由してロジック回路130に入力され、ロジック回路130がA/Dコンバータ120に校正指示を与えるようにしてもよい。 The external calibration signal CAL EXT is input to the A / D converter 120 via the interface circuit 140. The A / D converter 120 may be given a logical sum of the external calibration signal CAL EXT and the internal calibration signal CAL INT . Alternatively, the external calibration signal CAL EXT may be input to the logic circuit 130 via the interface circuit 140 so that the logic circuit 130 gives a calibration instruction to the A / D converter 120.

多くのアプリケーションにおいて、プロセッサ4は、温度をはじめとする時間以外のさまざまなパラメータ(動作条件)を知ることができる。したがってプロセッサ4は、時間以外のパラメータを考慮して、A/Dコンバータ120を校正すべきタイミングを設定することができる。これにより、内部校正信号CALINTのみにもとづいて校正のタイミングを規定する場合に比べて、より適切な校正を行うことができる。 In many applications, the processor 4 can know various parameters (operating conditions) other than time including temperature. Therefore, the processor 4 can set the timing for calibrating the A / D converter 120 in consideration of parameters other than time. As a result, more appropriate calibration can be performed as compared with the case where the calibration timing is defined based only on the internal calibration signal CAL INT .

(第2変形例)
すでに説明した校正周期TCALおよびサンプリング周期Tの長さや、校正信号CALやサンプリング信号SMPの生成方法は例示に過ぎず、A/Dコンバータの監視対象や半導体装置100の用途に応じて定めればよい。
(Second modification)
Already and length of the calibration period T CAL and the sampling period T S described, the method of generating the calibration signal CAL and the sampling signal SMP are merely illustrative, are determined according to the application of the monitoring target and the semiconductor device 100 of the A / D converter That's fine.

サンプリング周期TをM秒(M<N)としてもよい。この場合、サンプリング信号SMPも、1秒ごとにアサートされるタイミング信号をカウントするカウンタで構成することができる。 The sampling period T S may be M s (M <N). In this case, the sampling signal SMP can also be constituted by a counter that counts timing signals asserted every second.

校正周期TCALを60秒(1分)とする場合、RTC回路112が提供する1分ごとにアサートされるタイミング信号を、校正信号CALとして用いてもよい。また、校正周期TCALをN分とする場合、1分ごとにアサートされるタイミング信号をカウントしてもよい。温度のように緩やかに変化する量を監視対象とする場合、サンプリング周期TをN分としてもよい。 When the calibration cycle T CAL is set to 60 seconds (1 minute), a timing signal that is asserted every minute provided by the RTC circuit 112 may be used as the calibration signal CAL. When the calibration cycle TCAL is N minutes, the timing signal asserted every minute may be counted. If the amount of slowly changing as the temperature monitored, the sampling period T S may be N times.

(第3変形例)
半導体装置100の用途は電源管理ICに限定されない。たとえばA/Dコンバータ120は、温度センサなどさまざまなセンシングデバイスの出力を入力とすることができる。
(Third Modification)
The application of the semiconductor device 100 is not limited to the power management IC. For example, the A / D converter 120 can receive the output of various sensing devices such as a temperature sensor.

実施の形態にもとづき、具体的な用語を用いて本発明を説明したが、実施の形態は、本発明の原理、応用を示しているにすぎず、実施の形態には、請求の範囲に規定された本発明の思想を逸脱しない範囲において、多くの変形例や配置の変更が認められる。   Although the present invention has been described using specific terms based on the embodiments, the embodiments only illustrate the principles and applications of the present invention, and the embodiments are defined in the claims. Many variations and modifications of the arrangement are permitted without departing from the spirit of the present invention.

100 半導体装置
110 オシレータ
112 RTC回路
120 A/Dコンバータ
130 ロジック回路
140 インタフェース回路
2 電子機器
4 プロセッサ
6 バッテリ
200 電源管理回路
210 電源回路
DESCRIPTION OF SYMBOLS 100 Semiconductor device 110 Oscillator 112 RTC circuit 120 A / D converter 130 Logic circuit 140 Interface circuit 2 Electronic device 4 Processor 6 Battery 200 Power supply management circuit 210 Power supply circuit

Claims (14)

プロセッサとともに使用される半導体装置であって、
オシレータと、
校正可能に構成されたA/Dコンバータと、
前記オシレータの出力を利用したカウント動作により、前記A/Dコンバータに定期的に校正のトリガを与えるロジック回路と、
を備えることを特徴とする半導体装置。
A semiconductor device used with a processor,
An oscillator,
An A / D converter configured to be calibrated;
A logic circuit that periodically gives a calibration trigger to the A / D converter by a counting operation using the output of the oscillator;
A semiconductor device comprising:
前記ロジック回路は、前記オシレータの出力にもとづく所定の周期のタイミング信号を受け、前記タイミング信号に応じて前記A/DコンバータにA/D変換のトリガを与えるとともに、前記タイミング信号を所定数カウントするたびに、前記A/Dコンバータに前記校正のトリガを与えることを特徴とする請求項1に記載の半導体装置。   The logic circuit receives a timing signal of a predetermined period based on the output of the oscillator, gives an A / D conversion trigger to the A / D converter according to the timing signal, and counts a predetermined number of the timing signals. 2. The semiconductor device according to claim 1, wherein the calibration trigger is given to the A / D converter each time. 前記所定数を設定可能であることを特徴とする請求項2に記載の半導体装置。   The semiconductor device according to claim 2, wherein the predetermined number can be set. RTC(Real Time Clock)回路をさらに備え、前記タイミング信号は前記RTC回路により生成されることを特徴とする請求項2または3に記載の半導体装置。   4. The semiconductor device according to claim 2, further comprising an RTC (Real Time Clock) circuit, wherein the timing signal is generated by the RTC circuit. 前記半導体装置は、前記半導体装置が組み込まれる機器のバッテリと接続され、前記A/Dコンバータは、前記バッテリの電流をデジタル値に変換可能であり、
前記半導体装置は、前記デジタル値を積算することを特徴とする請求項1から4のいずれかに記載の半導体装置。
The semiconductor device is connected to a battery of a device in which the semiconductor device is incorporated, and the A / D converter can convert the current of the battery into a digital value,
The semiconductor device according to claim 1, wherein the semiconductor device integrates the digital values.
前記プロセッサに電源電圧を供給する電源回路をさらに備えることを特徴とする請求項1から5のいずれかに記載の半導体装置。   The semiconductor device according to claim 1, further comprising a power supply circuit that supplies a power supply voltage to the processor. 前記電源回路は、前記プロセッサの停止状態において前記電源電圧の供給を停止することを特徴とする請求項6に記載の半導体装置。   The semiconductor device according to claim 6, wherein the power supply circuit stops supply of the power supply voltage when the processor is stopped. 前記ロジック回路は、前記プロセッサの停止中に、前記オシレータの出力を利用して前記校正のトリガーを発生し、
前記プロセッサの動作中は、前記プロセッサが、前記A/Dコンバータの校正のトリガを発生することを特徴とする請求項1から7のいずれかに記載の半導体装置。
The logic circuit generates the calibration trigger using the output of the oscillator while the processor is stopped.
8. The semiconductor device according to claim 1, wherein the processor generates a calibration trigger for the A / D converter during the operation of the processor.
前記A/Dコンバータは、ΔΣ型であることを特徴とする請求項1から8のいずれかに記載の半導体装置。   The semiconductor device according to claim 1, wherein the A / D converter is a ΔΣ type. ひとつの半導体基板に一体集積化されることを特徴とする請求項1から9のいずれかに記載の半導体装置。   The semiconductor device according to claim 1, wherein the semiconductor device is monolithically integrated on a single semiconductor substrate. バッテリからの電圧を受け、プロセッサに供給すべき電源電圧を生成する電源回路と、
前記バッテリに流れる電流をデジタル値に変換し、かつ校正可能に校正されたA/Dコンバータと、
常時動作するRTC(Real Time Clock)回路と、
前記RTC回路の出力を利用したカウント動作を行い、前記A/Dコンバータに第1周期でA/D変換のトリガを与えるとともに、前記A/Dコンバータに、前記第1周期より長い第2周期で前記校正のトリガを与えるロジック回路と、
を備えることを特徴とする電源管理回路。
A power supply circuit that receives a voltage from the battery and generates a power supply voltage to be supplied to the processor;
An A / D converter which converts the current flowing through the battery into a digital value and is calibrated so as to be calibrated;
RTC (Real Time Clock) circuit that always operates,
The count operation using the output of the RTC circuit is performed, and an A / D conversion trigger is given to the A / D converter in a first cycle, and the A / D converter is given a second cycle longer than the first cycle. A logic circuit for providing a trigger for the calibration;
A power management circuit comprising:
前記A/Dコンバータの出力を積算するクーロンカウンタ回路をさらに備えることを特徴とする請求項11に記載の電源管理回路。   The power management circuit according to claim 11, further comprising a coulomb counter circuit that integrates outputs of the A / D converter. 前記ロジック回路は、前記プロセッサの停止中に、前記オシレータの出力を利用して前記校正のトリガーを発生し、
前記プロセッサの動作中は、前記プロセッサが、前記A/Dコンバータの校正のトリガを発生することを特徴とする請求項11または12に記載の電源管理回路。
The logic circuit generates the calibration trigger using the output of the oscillator while the processor is stopped.
13. The power management circuit according to claim 11, wherein the processor generates a calibration trigger for the A / D converter during the operation of the processor.
請求項11から13のいずれかに記載の電源管理回路を備えることを特徴とする電子機器。   An electronic apparatus comprising the power management circuit according to claim 11.
JP2018234474A 2018-02-01 2018-12-14 Semiconductor device, power supply management circuit and electronic apparatus Pending JP2019134410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/261,993 US10951228B2 (en) 2018-02-01 2019-01-30 Semiconductor apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018016510 2018-02-01
JP2018016510 2018-02-01

Publications (1)

Publication Number Publication Date
JP2019134410A true JP2019134410A (en) 2019-08-08

Family

ID=67547677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018234474A Pending JP2019134410A (en) 2018-02-01 2018-12-14 Semiconductor device, power supply management circuit and electronic apparatus

Country Status (1)

Country Link
JP (1) JP2019134410A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003198369A (en) * 2001-12-27 2003-07-11 Fujitsu Ten Ltd A/d converter and signal processing system
JP2013141095A (en) * 2011-12-28 2013-07-18 Sharp Corp A/d conversion circuit, device for correcting error in a/d converter, and battery level detection device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003198369A (en) * 2001-12-27 2003-07-11 Fujitsu Ten Ltd A/d converter and signal processing system
JP2013141095A (en) * 2011-12-28 2013-07-18 Sharp Corp A/d conversion circuit, device for correcting error in a/d converter, and battery level detection device

Similar Documents

Publication Publication Date Title
US8370654B1 (en) AVS-adaptive voltage scaling
US8456243B2 (en) Failsafe oscillator monitor and alarm
US9680471B2 (en) Apparatus for a reduced current wake-up circuit for a battery management system
US7750612B2 (en) Voltage-pulse converting circuit and charge control system
WO2010004984A1 (en) Battery state monitoring device
US10439626B2 (en) Analog-to-digital converter with autonomous gain stage and auto scaling, and related systems and methods
US11658473B2 (en) Prevention and detection of overheating from component short circuits
US10951228B2 (en) Semiconductor apparatus
RU2696233C1 (en) Device and circuit of calibration or adjustment of regulators built-in into a microchip without use of input-output contacts
US20120331331A1 (en) Microcontroller and control method therefor
JPH03212799A (en) Two-wire type gauge
US7563023B2 (en) Digital temperature detecting system and method
EP3192177A1 (en) Low power small area oscillator-based adc
KR20150116816A (en) Pulse width modulation load share bus
US20130232347A1 (en) Method and apparatus for dynamic power management
TWI439714B (en) Battery voltage measurement
KR101570460B1 (en) Delta-sigma ad converter circuit and battery pack
JP2023101509A (en) Semiconductor device and method for detecting remaining amount of battery
US20030169020A1 (en) Battery charge monitor
JP2019134410A (en) Semiconductor device, power supply management circuit and electronic apparatus
JP6718284B2 (en) Signal processing circuit, coulomb counter circuit, electronic device
JP2018200306A (en) Battery residual amount detection circuit, electronic apparatus using the same, and detection method of battery residual amount
JPS62225163A (en) Electronic power unit
JP2009229165A (en) Coulomb counter, and its internal power supply control method
JP2017011667A (en) Sensor device and sensing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220914

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221101

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230425

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20230626

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230823

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231128