JP4784006B2 - Electronics - Google Patents

Electronics Download PDF

Info

Publication number
JP4784006B2
JP4784006B2 JP2001197130A JP2001197130A JP4784006B2 JP 4784006 B2 JP4784006 B2 JP 4784006B2 JP 2001197130 A JP2001197130 A JP 2001197130A JP 2001197130 A JP2001197130 A JP 2001197130A JP 4784006 B2 JP4784006 B2 JP 4784006B2
Authority
JP
Japan
Prior art keywords
function
register
external device
electronic device
current consumption
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.)
Expired - Fee Related
Application number
JP2001197130A
Other languages
Japanese (ja)
Other versions
JP2002150251A (en
Inventor
芳恭 久保田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2001197130A priority Critical patent/JP4784006B2/en
Publication of JP2002150251A publication Critical patent/JP2002150251A/en
Application granted granted Critical
Publication of JP4784006B2 publication Critical patent/JP4784006B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、例えば外部機器に対して着脱自在に設けられて任意の機能を行う機器に使用して好適な電子機器に関する。詳しくは、例えばメモリカード装置、あるいはそれに類似する半導体メモリ装置と同等の形状を有し、これらの装置の接続部に接続されて任意の機能を実行する電子機器に関するものである。
【0002】
【従来の技術】
例えば外部機器に対して着脱自在に設けられるメモリカード装置、あるいはそれに類似する半導体メモリ装置と同等の形状を有し、外部機器のこれらのメモリ装置等の接続部に接続されて任意の機能を実行する電子機器が提案されている。すなわちこのような電子機器においては、例えばコンピュータネットワークへの接続機能や外部との通信機能を持たせることによって、外部機器の運用や用途を容易に拡張することができるようになるものである。
【0003】
【発明が解決しようとする課題】
ところがこのような電子機器を外部機器に接続して使用する場合には、必然的に外部機器の電流消費量が増大し、この電流消費量の増大によって内蔵電池が短時間で消耗され、電池による長時間の使用が困難になってしまう。特にこのような電流消費量の増大は、複数の機能を電子機器に持たせる場合に顕著である。このため従来は、電子機器には1つの機能しか持たせないなどの方法が取られているが、機能の度に電子機器を付け替えるなどの作業が煩雑になってしまう。
【0004】
これに対して、電子機器には複数の機能を設けると共に、外部機器からこれらの機能に対する電源の供給を制御する手段を設けて、必要な機能に対してのみ電源が供給されるような制御を行うことも考えられている。しかしながらこのような方法では、外部機器側から機能の選択ごとに逐一電源供給の制御を行うなど、外部機器側での制御等に複雑な手順が要求され、外部機器側での処理の負担が増大して容易に実施できるものではない。
【0005】
この出願はこのような点に鑑みて成されたものであって、解決しようとする問題点は、従来の装置では、複数の機能を有する電子機器を外部機器に装着して使用する場合に、複数の機能による消費電流量の増大によって内蔵電池が短時間で消耗され、電池による長時間の使用が困難になってしまう。また、外部機器側から機能の選択ごとに電源供給の制御を行おうとすると、外部機器側での処理の負担が増大して容易に実施できるものではなかったというものである。
【0006】
【課題を解決するための手段】
このため本発明においては、外部機器に対して着脱自在に設けられ、外部機器との間で任意のデータの交換を行うと共に、任意の機能が実行される電子機器であって、複数の機能ブロックと、複数の機能ブロックの電源供給を制御する制御部と、複数の機能ブロックのそれぞれの設定を外部機器からの書き込みで行う書き込みレジスタと、当該電子機器の内部の情報が外部機器で読み出される読み出しレジスタを有し、制御部は、電源投入時及び機能ブロックを使用しないときには機能ブロックの電流消費量を下げ、書き込みレジスタの書き込みで外部機器が使用する機能ブロックを制御部が判断し、その判断した機能ブロックを使用した際の電流消費量と、待機状態の機能ブロックの電流消費量と、制御部の電流消費量を合計した電流消費量を制御部が読み出しレジスタに書き込ませ、読み出しレジスタの電流消費量の書き込みに対応して、書き込みレジスタに使用する機能ブロックの有効化の書き込みがある場合に、制御部は、該当する機能ブロックを起動させるものである。これによれば、簡単な構成で電子機器での電流消費量を必要最小限にして、電流消費量の増加を抑え、内蔵電池による使用時間を長時間にすることができると共に、外部機器での処理の負担も増加しないようにすることができる。
【0007】
【発明の実施の形態】
すなわち本発明の一の実施形態は、外部機器に対して着脱自在に設けられ、外部機器との間で任意のデータの交換を行うと共に、任意の機能が実行される電子機器であって、複数の機能ブロックと、複数の機能ブロックのそれぞれの設定を行う設定レジスタを有し、電源投入時及び機能ブロックを使用しないときには機能ブロックの電流消費量を下げる手段を設けると共に、使用する機能ブロックに対応する設定レジスタの設定に従って機能の実行を行うものである。
【0008】
また本発明の他の実施形態は、電子機器が着脱自在に設けられ、電子機器との間で任意のデータの交換を行うと共に、電子機器の任意の機能を実行させる電子機器を使用する外部機器であって、電子機器に設けられた複数の機能ブロックに共通する機能レジスタに使用の有無の情報を書き込む手段と、機能レジスタに書き込むことにより使用有りとされた機能ブロックに対応する設定レジスタに任意の機能の設定の情報を書き込む手段とを有してなるものである。
【0009】
以下、図面を参照して本発明を説明するに、図1は本発明を適用した一の実施形態である電子機器と、他の実施形態である電子機器を使用する外部機器の構成を示すブロック図である。
【0010】
図1において、図面の左側は電子機器を使用する外部機器としての例えばパーソナルコンピュータからなる外部機器100の要部を示す。この外部機器100には、システムバス11に接続されるメディアコントローラ12が設けられ、このメディアコントローラ12には、例えばカメラ制御用プロトコル回路13と、GPS制御用プロトコル回路14と、電子機器に接続されるインターフェース15が設けられている。
【0011】
一方、図面の右側は電子機器200を示す。この電子機器200は、例えば図2に示すようにいわゆるメモリカード装置、あるいはそれに類似する半導体メモリ装置と同等の形状を有している。そしてこの電子機器200が外部機器100のメモリカード用スロットに対して着脱自在に装着されると共に、その端部に形成される接点群201を介して、外部機器100のメディアコントローラ12のインターフェース15に電気的に接続されるものである。
【0012】
また電子機器200には複数の機能が設けられる。なおこの実施形態では、例えば機能AとしてGPS(Global Positioning System:衛星測位システム)機能ブロック21と、例えば機能Bとしてカメラ撮影の機能ブロック22と、メモリ機能ブロック23とが設けられる。そしてこれらの機能ブロック21〜23が、レジスタ300を介して上述の接点群201に接続されるインターフェース24に接続され、これによって外部機器100との間でデータの交換が行われる。
【0013】
さらに各機能ブロック21、22にはそれぞれ電源制御部21a、22aが設けられる。そしてレジスタ300に接続されるシステム制御回路25からの電源制御信号が、これらの電源制御部21a、22aに供給される。こうしてこの電子機器200が外部機器100に対して着脱自在に設けられることによって、外部機器100のメディアコントローラ12と、電子機器200のレジスタ300との間での電源の供給、及びデータバッファ26を通じてデータの交換が行われる。
【0014】
また、この外部機器100と電子機器200のシステムにおいて、レジスタ300に、例えば図3に示すようなレジスタ300が設けられる。このレジスタ300は、例えば“00”〜“FF”(“−−”は16進値を示す)のアドレスで構成され、それぞれのアドレスには各々2バイトずつの読み出しレジスタと書き込みレジスタが設けられる。ここで読み出しレジスタには電子機器200の内部の情報が読み出され、書き込みレジスタには外部機器100からの情報が書き込まれるものである。
【0015】
レジスタ300は、機能設定レジスタ、メモリ機能用レジスタ、カメラ機能用レジスタ、GPS機能用レジスタで構成され、本実施の形態ではレジスタ300のアドレス“00”〜“0F”が機能設定レジスタに割り当てられ、アドレス“10”〜“1F”がメモリ機能用レジスタに割り当てられ、アドレス“20”〜“2F”がGPS機能用レジスタに割り当てられ、アドレス“30”〜“3F”がカメラ機能用レジスタに割り当てられる。ただし、本発明は、これに限られるものではなく、例えば機能設定レジスタ、メモリ機能用レジスタ、カメラ機能用レジスタ、GPS機能用レジスタが別体に構成され、システム制御部によって、アクセスを切換えるよう構成されてもかまわない。
【0016】
さらにアドレス“06”の読み出しレジスタと書き込みレジスタは電子機器200の内部で実行される機能を示すカテゴリー番号のレジスタとされる。またアドレス“07”の読み出しレジスタはクラス番号のレジスタとされる。なおアドレス“07”の書き込みレジスタは不使用である。さらにアドレス“08”の読み出しレジスタは電流要求のレジスタとされ、書き込みレジスタは機能有効化のレジスタとされる。
【0017】
また、アドレス“09”“0A”の読み出しレジスタはアトリビュート情報の長さのレジスタとされる。アトリビュート情報は、電子機器内200のアトリビュートROM27に記憶され、電子機器に書き込み可能なメモリ機能がある場合は、工場出荷時にアトリビュートROM27から読み出され、上記メモリ機能内に記憶される。このため、工場出荷時の以外の通常の通信では、メモリ機能に記憶されるアトリビュート情報が読み出され、アトリビュートROM27へのアクセスは禁止される。しかしながら、電子機器にメモリ機能がない場合は、通常のアクセスでも、アトリビュートROM27内に記憶されるアトリビュート情報がホストに読み出されることになる。
【0018】
さらにアドレス“10”の書き込みレジスタはシステムパラメータのレジスタとされ、アドレス“11”〜“13”の書き込みレジスタはブロックアドレスのレジスタとされる。さらにアドレス“14”の書き込みレジスタはコマンドパラメータのレジスタとされる。なおアドレス“10”〜“14”の読み出しレジスタは不使用である。またアドレス“15”の読み出しレジスタと書き込みレジスタはページアドレスのレジスタとされる。
【0019】
また、アドレス“16”の読み出しレジスタ及び書き込みレジスタはブロックフラグデータのレジスタとされる。さらにアドレス“17”の読み出しレジスタと書き込みレジスタはブロック情報のレジスタとされる。またアドレス“18”“19”の読み出しレジスタ及び書き込みレジスタは論理アドレスのレジスタとされる。さらにアドレス“1A”〜“1F”はフォーマットの策定中である。以上のアドレス“10”〜“1F”でメモリ機能の設定が行われる。
【0020】
さらにアドレス“20”〜“2F”は、GPS機能用レジスタが割り当てられる。GPS機能ブロックは、位置情報を受信するGPSアンテナとGPS機能コントローラを有する。GPSコントローラは、UART、FIFO、および電源制御部などを有する。
【0021】
また、アドレス“24”の読み出しレジスタはデータ伝送速度の違いを緩衝する受信側先入れ先出しメモリ(FIFO)に残っているデータ量を示すレジスタとされ、アドレス“25”の読み出しレジスタは送信側先入れ先出しメモリの空きバッファ量を示すレジスタとされる。さらにアドレス“24”の書き込みレジスタは外部機器100から受信するデータ長のレジスタとされ、アドレス“25”の書き込みレジスタは外部機器100へ送信するデータ長のレジスタとされる。
【0022】
さらにアドレス“26”の書き込みレジスタは受信側先入れ先出しメモリに蓄積されるデータ量が指定バイト数に達したら割り込みを発生するためのレジスタとされ、アドレス“27”の書き込みレジスタは送信側先入れ先出しメモリの蓄積データ量が設定値を下回ったら割り込みを発生するためのレジスタとされる。なおいずれも値「0」は無効である。またアドレス“26”“27”の読み出しレジスタは不使用である。
【0023】
また、アドレス“28”“29”の読み出しレジスタはUARTのクロック値を示すレジスタとされる。なおアドレス“28”“29”の書き込みレジスタは不使用である。さらにアドレス“2A”の読み出しレジスタ及び書き込みレジスタは、それぞれ電子機器200に設けられる汎用デジタルI/O端子を制御/モニタするレジスタとされる。またアドレス“2B”〜“2F”はフォーマットの策定中である。以上のアドレス“20”〜“2F”で、例えばGPS機能の設定が行われる。
【0024】
さらにアドレス“30”〜“3F”は、カメラ機能用レジスタが割り当てられる。カメラ機能ブロックは、被写体からの撮影光を受けるレンズやCCDなどを備える撮像部と、カメラ機能コントローラを有する。カメラ機能コントローラは、電源制御部、撮像信号処理部などを有する。
【0025】
カメラ機能コントローラ、GPU機能コントローラ、メモリ機能コントローラは、それぞれ電源制御機能をもっており、システム制御回路の電源制御部によって制御され、その機能が使用されていないときに、スリープモード(コントローラのクロック停止状態)になるなどして、消費電力を押さえている。
【0026】
さらにアドレス“40”〜“FF”でも、それぞれ任意の機能の設定が行われる。なおこれらの機能には、任意の情報装置、特定範囲ネットワーク(LAN)等の接続装置(Ethernet)、任意のモデム装置、日米欧のメーカー等によって共通に定められた通信装置(Bluetooth)や、任意のシリアル通信機能等が考えられている。
【0027】
そして例えば外部機器100によって電子機器200で実行される機能の切り換えを行う場合には、まず上述のアドレス“06”の書き込みレジスタに所望の機能のコード(カテゴリー番号)が書き込まれる。従ってこのアドレス“06”の書き込みレジスタに書き込まれた機能のコード(カテゴリー番号)が電子機器200のシステム制御回路25に読み込まれることにより、外部機器100から要求された機能が電子機器200で判別される。
【0028】
さらにこの判別された機能が電子機器200で実行されるように、例えば機能ブロック21または機能ブロック22を駆動するための制御信号がシステム制御回路25で形成される。そしてこのシステム制御回路25で形成された制御信号が、機能ブロック21または機能ブロック22のそれぞれの電源制御部21a、22aに供給されることによって、外部機器100から要求された機能が電子機器200で実行される。
【0029】
また、この電子機器200で実行される機能のコード(カテゴリー番号)が上述のアドレス“06”の読み出しレジスタに読み出されると共に、この電子機器200で実行される機能に付随するヴァージョン等のクラス番号がアドレス“07”の読み出しレジスタに読み出される。そしてこのカテゴリー番号及びクラス番号が外部機器100で判別されることによって、電子機器200が実行する機能が認識され、外部機器100ではそれに応じたドライバー等が駆動される。
【0030】
このようにして、例えば外部機器100から所望の機能のコード(カテゴリー番号)がアドレス“06”の書き込みレジスタに書き込まれることによって、電子機器200で実行される機能の切り換えが行われる。そしてこの電子機器200で実行される機能のコード(カテゴリー番号)がアドレス“06”の読み出しレジスタに読み出されることによって、この電子機器200で実行される機能が外部機器100で認識され、機能の切り換えを円滑に行うことができる。
【0031】
すなわち、例えば外部機器100からアドレス“06”の書き込みレジスタに書き込まれた機能が電子機器200に搭載されていない場合には、アドレス“06”の読み出しレジスタにその機能のコード(カテゴリー番号)が読み出されないので、外部機器100で電子機器200に所望の機能が搭載されていないことが認識される。これによって、外部機器100でその機能の実行を解除するなどの処理を円滑に行うことができる。
【0032】
そこでさらにこのような外部機器100及び電子機器200のシステムに対しては、例えば図4の流れ図に示すような動作が行われる。すなわち図4において、外部機器100側のステップ〔11〕で電源投入されると、電子機器200側はステップ〔21〕にされる。そしてこのステップ〔21〕ではシステム制御回路25のみがアクティブ状態にされ、機能Aの機能ブロック21、及び機能Bの機能ブロック22は待機状態にされる。
【0033】
これに対して外部機器100側のステップ〔12〕で機能Aを使う命令が発行されると、電子機器200側はステップ〔22〕にされ、機能ブロック21が起動されて機能Aが動作される。また外部機器100側のステップ〔13〕で機能Bを使う命令が発行されると、電子機器200側はステップ〔23〕にされる。そしてこのステップ〔23〕では、機能Aの機能ブロック21が待機状態にされると共に、機能ブロック22が起動されて機能Bが動作される。
【0034】
さらに外部機器100側のステップ〔14〕で、再度機能Aを使う命令が発行されると、電子機器200側はステップ〔24〕にされる。そしてこのステップ〔24〕では、機能Bの機能ブロック22が待機状態にされると共に、機能ブロック21が起動されて機能Aが動作される。このようにして、外部機器100側での機能AまたはBを使う命令の発行に従って、電子機器200側ではそれぞれ所望の機能AまたはBの動作が行われる。
【0035】
そしてこれらの動作において、例えば上述のステップ〔21〕では、例えば機能ブロック21、22の待機状態での電流消費量をそれぞれ10mAとし、コントローラ部23の電流消費量を30mAとすると、電子機器200側での電流消費量は、
10+10+30=50mA
となる。
【0036】
これに対してステップ〔22〕〔24〕では、例えば機能ブロック21の動作状態の電流消費量を100mAとすると、電子機器200側の電流消費量は、
100+10+30=140mA
となる。さらにステップ〔23〕では、例えば機能ブロック22の動作状態の電流消費量を60mAとすると、電子機器200側の電流消費量は、
10+60+30=100mA
となる。
【0037】
すなわち上述の外部機器100及び電子機器200のシステムにおいて、電子機器200側の電流消費量は、それぞれステップ〔21〕では50mA、ステップ〔22〕〔24〕では140mA、ステップ〔23〕では100mAになっている。これは例えば機能ブロック21、22を共に動作状態にした場合には、
100+60+30=190mA
となってしまうのに比べて、電流消費量が小さくなっているものである。
【0038】
そしてこの場合に、外部機器100では電子機器200のレジスタ300にデータを書き込むだけで各機能ブロック21、22の電源の制御を行うことができる。また電子機器200ではレジスタ300のデータを見て機能ブロック21、22の電源の制御を行うことができ、極めて簡単な構成で、容易に電源の制御を行うことができるものである。
【0039】
また、これらの電流消費量の値は、例えばアドレス“08”の読み出しレジスタに電子機器200側からの電流要求として提示される。そこで外部機器100側ではこのアドレス“08”の読み出しレジスタを読み出し、その要求電流値が許容範囲内のものであるか否か判断して、同じアドレス“08”の書き込みレジスタに機能の有効化のフラグを立てる。これによって、電子機器200で駆動可能な機能のみを実行させるようにすることができる。なお、書き込みレジスタの最下位のビットはパワーセーブのビットとされ、このビットに1を書き込むことで省電力モードが設定され、0を書き込むことで省電力モードが解除される。
【0040】
さらにレジスタ300は、外部機器100から各機能ブロック21、22に対する設定を行うために従来から設けられているものであり、本発明は、そのレジスタ300の一部に機能レジスタとされるアドレス“06”、メモリ機能の設定レジスタとされるアドレス“10”〜“1F”、機能Aの設定レジスタとされるアドレス“20”〜“2F”、及び機能Bの設定レジスタとされるアドレス“30”〜“3F”を設けることによって実施することができるものである。
【0041】
従ってこれらの実施形態において、機能ブロックを使用しないときにはそのブロックの電流消費量を下げる手段を電子機器側に設けることによって、簡単な構成で電子機器での電流消費量を必要最小限にして、電流消費量の増加を抑え、内蔵電池による使用時間を長時間にすることができると共に、外部機器での処理の負担も増加しなようにすることができる。
【0042】
これによって、従来の装置では、複数の機能を有する電子機器を外部機器に装着して使用する場合に、複数の機能による消費電流量の増大によって内蔵電池が短時間で消耗され、電池による長時間の使用が困難になってしまう。また、外部機器側から機能の選択ごとに電源供給の制御を行おうとすると、外部機器側での処理の負担が増大して容易に実施できるものではなかったものを、本発明によればこれらの問題点を容易に解消することができるものである。
【0043】
なお上述の実施形態においては、機能の選択を機能A、Bの2つの中からとしたが、これは3以上の機能の中から選択するようにしてもよい。その場合に、選択される機能の数は複数にすることもできる。あるいは、機能ブロックの使用を1つのみに限定して排他的とする場合には、選択された機能以外の機能ブロックの電流消費量を下げる処理とすることによって、外部機器からは選択された機能を指定するのみで設定を容易にすることができる。
【0044】
また、上述の実施形態によれば、外部機器100と電子機器200との間で流される電流が抑えられるために、接続用コネクタ、端子などの基本的性能、耐久性などについて安価なものが使用できる。
【0045】
さらに本発明は、上述の説明した実施の形態に限定されるものではなく、本発明の精神を逸脱することなく種々の変形が可能とされるものである。
【0046】
【発明の効果】
従って請求項1の発明の電子機器によれば、外部機器に対して着脱自在に設けられ、外部機器との間で任意のデータの交換を行うと共に、任意の機能が実行される電子機器であって、複数の機能ブロックを有し、電源投入時及び機能ブロックを使用しないときには機能ブロックの電流消費量を下げる手段を設けたことによって、電子機器での電流消費量を必要最小限にして、電流消費量の増加を抑え、内蔵電池による使用時間を長時間にすることができるものである。
【0049】
また、外部機器での処理の負担も増加しなようにすることができるものである。
【0051】
これによって、従来の装置では、複数の機能を有する電子機器を外部機器に装着して使用する場合に、複数の機能による消費電流量の増大によって内蔵電池が短時間で消耗され、電池による長時間の使用が困難になってしまう。また、外部機器側から機能の選択ごとに電源供給の制御を行おうとすると、外部機器側での処理の負担が増大して容易に実施できるものではなかったものを、本発明によればこれらの問題点を容易に解消することができるものである。
【図面の簡単な説明】
【図1】本発明の適用される電子機器及び外部機器の一実施形態の構成図である。
【図2】本発明の適用される電子機器の一実施形態の外観図である。
【図3】その説明のための線図である。
【図4】その動作の説明のための一実施形態の流れ図である。
【符号の説明】
100…外部機器、11…システムバス、12…メディアコントローラ、13…カメラ制御用プロトコル回路、14…GPS制御用プロトコル回路、15…インターフェース、200…電子機器、21…GPSの機能ブロック、22…カメラの機能ブロック、21a,22a…電源制御部、23…メモリの機能ブロック、24…インターフェース、25…システム制御回路、26…データバッファ(FIFO)、27…アトリビュートROM
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic device suitable for use in a device that is detachably attached to an external device and performs an arbitrary function, for example . Specifically, the present invention relates to an electronic device that has a shape equivalent to, for example, a memory card device or a similar semiconductor memory device, and is connected to a connection portion of these devices to execute an arbitrary function.
[0002]
[Prior art]
For example, it has the same shape as a memory card device that is detachably attached to an external device or a semiconductor memory device similar to it, and is connected to a connection portion of these memory devices of the external device to execute an arbitrary function Electronic devices have been proposed. That is, in such an electronic device, for example, by providing a function of connecting to a computer network and a function of communication with the outside, the operation and application of the external device can be easily expanded.
[0003]
[Problems to be solved by the invention]
However, when using such an electronic device connected to an external device, the current consumption of the external device inevitably increases, and the internal battery is consumed in a short time due to the increase in the current consumption. It will be difficult to use for a long time. In particular, such an increase in current consumption is significant when an electronic device is provided with a plurality of functions. For this reason, conventionally, a method has been adopted in which only one function is provided in an electronic device, but work such as changing the electronic device for each function becomes complicated.
[0004]
In contrast to this, electronic devices are provided with a plurality of functions, and means for controlling the supply of power to these functions from external devices is provided so that power is supplied only to necessary functions. It is also considered to do. However, in such a method, complicated procedures are required for control on the external device side, such as control of power supply every time a function is selected from the external device side, and the processing load on the external device side increases. It is not easy to implement.
[0005]
This application has been made in view of the above points, and the problem to be solved is that, in the conventional device, when an electronic device having a plurality of functions is mounted on an external device and used, The increase in current consumption due to a plurality of functions consumes the internal battery in a short time, making it difficult to use the battery for a long time. Further, if it is attempted to control the power supply for each selection of a function from the external device side, the processing load on the external device side increases, which cannot be easily implemented.
[0006]
[Means for Solving the Problems]
For this reason, in the present invention, an electronic device that is detachably attached to an external device, exchanges arbitrary data with the external device, and executes an arbitrary function, and includes a plurality of functional blocks. A control unit that controls power supply to a plurality of functional blocks, a write register that performs setting of each of the plurality of functional blocks by writing from an external device, and reading in which information inside the electronic device is read by the external device Having a register, the control unit reduces the current consumption of the functional block when the power is turned on and when the functional block is not used, and the control unit determines the functional block used by the external device by writing to the write register. a current consumption when using functional blocks, and the current consumption of the functional blocks in the standby state, the current consumption is the sum of current consumption of the control unit The amount was controller is written into the read register, in response to the write current consumption of the read register, if there is a write enable function blocks to be used for writing the register, the control unit, the corresponding function blocks It is what is started. According to this, it is possible to minimize the current consumption in the electronic device with a simple configuration, to suppress the increase in the current consumption, and to extend the usage time by the built-in battery. It is possible to prevent the processing load from increasing.
[0007]
DETAILED DESCRIPTION OF THE INVENTION
In other words, an embodiment of the present invention is an electronic device that is detachably attached to an external device, exchanges arbitrary data with the external device, and executes an arbitrary function. And a setting register for setting each of a plurality of functional blocks, providing means for reducing the current consumption of the functional block when the power is turned on and when the functional block is not used, and corresponding to the functional block to be used The function is executed according to the setting register setting.
[0008]
In another embodiment of the present invention, an electronic device is detachably provided, and an external device using an electronic device that exchanges arbitrary data with the electronic device and executes an arbitrary function of the electronic device. In addition, a means for writing information on presence / absence of use in a function register common to a plurality of function blocks provided in an electronic device, and an arbitrary setting register corresponding to a function block that has been used by writing to the function register Means for writing the function setting information.
[0009]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an electronic device according to one embodiment to which the present invention is applied and an external device using the electronic device according to another embodiment. FIG.
[0010]
In FIG. 1, the left side of the drawing shows a main part of an external device 100 composed of, for example, a personal computer as an external device using an electronic device. The external device 100 is provided with a media controller 12 connected to the system bus 11. The media controller 12 is connected to, for example, a camera control protocol circuit 13, a GPS control protocol circuit 14, and an electronic device. An interface 15 is provided.
[0011]
On the other hand, the right side of the drawing shows the electronic device 200. The electronic device 200 has a shape equivalent to a so-called memory card device or a similar semiconductor memory device as shown in FIG. The electronic device 200 is detachably attached to the memory card slot of the external device 100, and is connected to the interface 15 of the media controller 12 of the external device 100 via a contact group 201 formed at the end thereof. It is electrically connected.
[0012]
The electronic device 200 is provided with a plurality of functions. In this embodiment, a GPS (Global Positioning System) function block 21 is provided as the function A, for example, and a camera photographing function block 22 and a memory function block 23 are provided as the function B, for example. These functional blocks 21 to 23 are connected to the interface 24 connected to the above-described contact group 201 via the register 300, thereby exchanging data with the external device 100.
[0013]
Furthermore, the function blocks 21 and 22 are provided with power control units 21a and 22a, respectively. A power control signal from the system control circuit 25 connected to the register 300 is supplied to the power control units 21a and 22a. By thus providing the electronic device 200 so as to be detachable from the external device 100, power is supplied between the media controller 12 of the external device 100 and the register 300 of the electronic device 200, and data is transmitted through the data buffer 26. Is exchanged.
[0014]
Further, in the system of the external device 100 and the electronic device 200, a register 300 as shown in FIG. The register 300 is configured with addresses of “00” to “FF” (“−” indicates a hexadecimal value), for example, and each address is provided with a 2-byte read register and a write register. Here, the internal information of the electronic device 200 is read to the read register, and the information from the external device 100 is written to the write register.
[0015]
The register 300 includes a function setting register, a memory function register, a camera function register, and a GPS function register. In this embodiment, addresses “00” to “0F” of the register 300 are assigned to the function setting register. Addresses “10” to “1F” are assigned to memory function registers, addresses “20” to “2F” are assigned to GPS function registers, and addresses “30” to “3F” are assigned to camera function registers. . However, the present invention is not limited to this. For example, the function setting register, the memory function register, the camera function register, and the GPS function register are configured separately, and the system control unit switches access. It does not matter.
[0016]
Further, the read register and the write register of the address “06” are category number registers indicating functions executed in the electronic device 200. The read register at the address “07” is a class number register. Note that the write register at the address “07” is not used. Further, the read register at the address “08” is a current request register, and the write register is a function validation register.
[0017]
In addition, the read registers of the addresses “09” and “0A” are registers having the attribute information length. The attribute information is stored in the attribute ROM 27 of the electronic device 200. When there is a memory function writable in the electronic device, the attribute information is read from the attribute ROM 27 at the time of shipment from the factory and stored in the memory function. For this reason, in normal communications other than those at the time of factory shipment, the attribute information stored in the memory function is read, and access to the attribute ROM 27 is prohibited. However, if the electronic device does not have a memory function, the attribute information stored in the attribute ROM 27 is read out to the host even during normal access.
[0018]
Further, the write register at the address “10” is a system parameter register, and the write registers at the addresses “11” to “13” are block address registers. Further, the write register at the address “14” is a command parameter register. Note that the read registers of the addresses “10” to “14” are not used. The read register and the write register at the address “15” are used as page address registers.
[0019]
The read register and write register at address “16” are used as block flag data registers. Further, the read register and the write register of the address “17” are used as block information registers. Further, the read register and the write register of the addresses “18” and “19” are logical address registers. Further, formats of addresses “1A” to “1F” are being formulated. The memory function is set at the addresses “10” to “1F”.
[0020]
Furthermore, registers for GPS functions are assigned to addresses “20” to “2F”. The GPS function block includes a GPS antenna that receives position information and a GPS function controller. The GPS controller has a UART, a FIFO, a power supply control unit, and the like.
[0021]
Also, the read register at address “24” is a register indicating the amount of data remaining in the receive-side first-in first-out memory (FIFO) that buffers the difference in data transmission speed, and the read register at address “25” is a register in the send-in first-in first-out memory. A register indicating the amount of free buffer. Further, the write register at the address “24” is a register for the data length received from the external device 100, and the write register at the address “25” is a register for the data length to be transmitted to the external device 100.
[0022]
Further, the write register at the address “26” is a register for generating an interrupt when the amount of data stored in the reception-side first-in first-out memory reaches a specified number of bytes, and the write register at the address “27” is stored in the first-in first-out first-out memory. When the amount of data falls below the set value, this register is used to generate an interrupt. In both cases, the value “0” is invalid. Further, the read registers of the addresses “26” and “27” are not used.
[0023]
The read registers at addresses “28” and “29” are registers indicating the UART clock value. Note that the write registers at the addresses “28” and “29” are not used. Further, the read register and the write register of the address “2A” are registers for controlling / monitoring general-purpose digital I / O terminals provided in the electronic device 200, respectively. Addresses “2B” to “2F” are being formulated. For example, the GPS function is set at the addresses “20” to “2F”.
[0024]
Furthermore, camera function registers are assigned to addresses “30” to “3F”. The camera function block includes an image pickup unit including a lens that receives photographing light from a subject, a CCD, and the like, and a camera function controller. The camera function controller includes a power control unit, an imaging signal processing unit, and the like.
[0025]
Each of the camera function controller, GPU function controller, and memory function controller has a power control function, and is controlled by the power control unit of the system control circuit. When the function is not used, the sleep mode (controller clock stopped state) This reduces power consumption.
[0026]
Further, arbitrary functions are set for the addresses “40” to “FF”. These functions include any information device, a connection device (Ethernet) such as a specific range network (LAN), an arbitrary modem device, a communication device (Bluetooth) defined in common by manufacturers in Japan, the United States, and Europe. Arbitrary serial communication functions are considered.
[0027]
For example, when the function executed by the electronic device 200 is switched by the external device 100, a code (category number) of a desired function is first written in the write register at the address “06”. Accordingly, the function code (category number) written in the write register at the address “06” is read by the system control circuit 25 of the electronic device 200, so that the function requested from the external device 100 is discriminated by the electronic device 200. The
[0028]
Further, for example, a control signal for driving the function block 21 or the function block 22 is formed by the system control circuit 25 so that the determined function is executed by the electronic device 200. The control signal generated by the system control circuit 25 is supplied to the power control units 21 a and 22 a of the function block 21 or 22, so that the function requested from the external device 100 can be obtained by the electronic device 200. Executed.
[0029]
In addition, the code (category number) of the function executed by the electronic device 200 is read out to the read register at the address “06”, and the class number such as the version associated with the function executed by the electronic device 200 is also displayed. Read to the read register at address “07”. Then, the category number and the class number are discriminated by the external device 100, whereby the function executed by the electronic device 200 is recognized, and the external device 100 drives a driver or the like corresponding thereto.
[0030]
In this manner, for example, the function executed by the electronic device 200 is switched by writing a code (category number) of a desired function from the external device 100 into the write register of the address “06”. The function code (category number) executed by the electronic device 200 is read into the read register at the address “06”, whereby the function executed by the electronic device 200 is recognized by the external device 100, and the function is switched. Can be performed smoothly.
[0031]
That is, for example, when the function written in the write register with the address “06” from the external device 100 is not installed in the electronic device 200, the code (category number) of the function is read into the read register with the address “06”. Therefore, the external device 100 recognizes that the electronic device 200 is not equipped with a desired function. Thus, processing such as canceling the execution of the function by the external device 100 can be performed smoothly.
[0032]
Therefore, for the system of the external device 100 and the electronic device 200, for example, the operation shown in the flowchart of FIG. 4 is performed. That is, in FIG. 4, when the power is turned on in step [11] on the external device 100 side, the electronic device 200 side is changed to step [21]. In this step [21], only the system control circuit 25 is activated, and the function block 21 of the function A and the function block 22 of the function B are set in a standby state.
[0033]
On the other hand, when a command to use the function A is issued in step [12] on the external device 100 side, the electronic device 200 side goes to step [22], the function block 21 is activated, and the function A is operated. . When an instruction to use the function B is issued in step [13] on the external device 100 side, the electronic device 200 side is changed to step [23]. In step [23], the function block 21 of the function A is set in a standby state, and the function block 22 is activated to operate the function B.
[0034]
Further, when an instruction to use the function A is issued again in step [14] on the external device 100 side, the electronic device 200 side is changed to step [24]. In step [24], the function block 22 of the function B is set in a standby state, and the function block 21 is activated to operate the function A. In this way, the operation of the desired function A or B is performed on the electronic device 200 side in accordance with the issuance of a command for using the function A or B on the external device 100 side.
[0035]
In these operations, for example, in step [21] described above, assuming that the current consumption of the functional blocks 21 and 22 in the standby state is 10 mA and the current consumption of the controller unit 23 is 30 mA, for example, the electronic device 200 side The current consumption at
10 + 10 + 30 = 50 mA
It becomes.
[0036]
On the other hand, in steps [22] and [24], for example, if the current consumption in the operating state of the functional block 21 is 100 mA, the current consumption on the electronic device 200 side is:
100 + 10 + 30 = 140 mA
It becomes. Further, in step [23], for example, assuming that the current consumption in the operating state of the functional block 22 is 60 mA, the current consumption on the electronic device 200 side is:
10 + 60 + 30 = 100mA
It becomes.
[0037]
That is, in the system of the external device 100 and the electronic device 200 described above, the current consumption on the electronic device 200 side is 50 mA in step [21], 140 mA in steps [22] and [24], and 100 mA in step [23], respectively. ing. For example, when both the functional blocks 21 and 22 are in an operating state,
100 + 60 + 30 = 190mA
The current consumption is smaller than that.
[0038]
In this case, the external device 100 can control the power sources of the functional blocks 21 and 22 simply by writing data to the register 300 of the electronic device 200. The electronic device 200 can control the power supply of the function blocks 21 and 22 by looking at the data in the register 300, and can easily control the power supply with a very simple configuration.
[0039]
Also, these current consumption values are presented as current requests from the electronic device 200 side, for example, in the read register at the address “08”. Therefore, the external device 100 reads the read register at the address “08”, determines whether the requested current value is within the allowable range, and activates the function in the write register at the same address “08”. Set a flag. As a result, only functions that can be driven by the electronic device 200 can be executed. The least significant bit of the write register is a power save bit. Writing 1 to this bit sets the power saving mode, and writing 0 cancels the power saving mode.
[0040]
Further, the register 300 is conventionally provided for setting the function blocks 21 and 22 from the external device 100. In the present invention, an address “06” used as a function register in a part of the register 300 is provided. ”, Addresses“ 10 ”to“ 1F ”used as memory function setting registers, addresses“ 20 ”to“ 2F ”used as function A setting registers, and addresses“ 30 ”to“ 30 ”used as function B setting registers It can be implemented by providing “3F”.
[0041]
Therefore, in these embodiments, when a functional block is not used, a means for reducing the current consumption of the block is provided on the electronic device side, thereby minimizing the current consumption in the electronic device with a simple configuration and reducing the current consumption. The increase in consumption can be suppressed, the use time by the built-in battery can be extended, and the processing load on the external device can be prevented from increasing.
[0042]
Thus, in the conventional apparatus, when an electronic device having a plurality of functions is attached to an external device and used, the built-in battery is consumed in a short time due to an increase in the amount of current consumption due to the plurality of functions, and the long time due to the battery It becomes difficult to use. In addition, if it is attempted to control the power supply for each function selection from the external device side, the processing load on the external device side is increased and cannot be easily implemented. The problem can be easily solved.
[0043]
In the above-described embodiment, the function is selected from two functions A and B, but may be selected from three or more functions. In that case, a plurality of functions may be selected. Alternatively, if the use of a function block is limited to only one and is exclusive, a function selected from an external device is performed by reducing the current consumption of a function block other than the selected function. Setting can be facilitated simply by specifying.
[0044]
Moreover, according to the above-mentioned embodiment, since the electric current sent between the external device 100 and the electronic device 200 is suppressed, an inexpensive thing is used about basic performance, durability, etc. of a connector for connection, a terminal, etc. it can.
[0045]
Furthermore, the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit of the present invention.
[0046]
【The invention's effect】
Therefore, according to the electronic device of the first aspect of the present invention, the electronic device is detachably provided to the external device, exchanges arbitrary data with the external device, and executes an arbitrary function. By providing means to reduce the current consumption of the functional block when the power is turned on and when the functional block is not used, the current consumption in the electronic device is minimized and the current is reduced. The increase in consumption can be suppressed and the use time by the built-in battery can be extended.
[0049]
Further, those which can also be so do not want to increase the processing load on the external device.
[0051]
Thus, in the conventional apparatus, when an electronic device having a plurality of functions is attached to an external device and used, the built-in battery is consumed in a short time due to an increase in the amount of current consumption due to the plurality of functions, and the long time due to the battery It becomes difficult to use. In addition, if it is attempted to control the power supply for each function selection from the external device side, the processing load on the external device side is increased and cannot be easily implemented. The problem can be easily solved.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an embodiment of an electronic device and an external device to which the present invention is applied.
FIG. 2 is an external view of an embodiment of an electronic apparatus to which the present invention is applied.
FIG. 3 is a diagram for explanation thereof;
FIG. 4 is a flowchart of one embodiment for explaining its operation.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 100 ... External device, 11 ... System bus, 12 ... Media controller, 13 ... Protocol circuit for camera control, 14 ... Protocol circuit for GPS control, 15 ... Interface, 200 ... Electronic device, 21 ... Functional block of GPS, 22 ... Camera Functional blocks, 21a, 22a ... power control unit, 23 ... memory functional block, 24 ... interface, 25 ... system control circuit, 26 ... data buffer (FIFO), 27 ... attribute ROM

Claims (1)

外部機器に対して着脱自在に設けられ、前記外部機器との間で任意のデータの交換を行うと共に、任意の機能が実行される電子機器であって、
複数の機能ブロックと、
前記複数の機能ブロックの電源供給を制御する制御部と、
前記複数の機能ブロックのそれぞれの設定を前記外部機器からの書き込みで行う書き込みレジスタと、
当該電子機器の内部の情報が前記外部機器で読み出される読み出しレジスタを有し、
前記制御部は、電源投入時及び前記機能ブロックを使用しないときには前記機能ブロックの電流消費量を下げ、
前記書き込みレジスタの書き込みで前記外部機器が使用する機能ブロックを前記制御部が判断し、その判断した機能ブロックを使用した際の電流消費量と、待機状態の機能ブロックの電流消費量と、前記制御部の電流消費量を合計した電流消費量を前記制御部が前記読み出しレジスタに書き込ませ、
前記読み出しレジスタの電流消費量の書き込みに対応して、前記書き込みレジスタに使用する前記機能ブロックの有効化の書き込みがある場合に、前記制御部は、該当する機能ブロックを起動させる
電子機器。
An electronic device that is detachably attached to an external device, exchanges arbitrary data with the external device, and executes an arbitrary function,
Multiple functional blocks;
A control unit for controlling power supply of the plurality of functional blocks;
A write register for setting each of the plurality of functional blocks by writing from the external device;
The internal information of the electronic device has a read register that is read by the external device,
The control unit reduces the current consumption of the functional block when power is turned on and when the functional block is not used.
In writing of the write register, wherein the external device is used the function block and the control unit determines a current consumption when using the determination functional blocks, and the current consumption of the functional blocks of the stand-by state, the Causing the control unit to write the current consumption totaling the current consumption of the control unit to the read register;
In response to writing of the current consumption amount of the read register, when there is an activation write of the functional block used in the write register, the control unit activates the corresponding functional block.
JP2001197130A 2000-08-29 2001-06-28 Electronics Expired - Fee Related JP4784006B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001197130A JP4784006B2 (en) 2000-08-29 2001-06-28 Electronics

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2000-259274 2000-08-29
JP2000259274 2000-08-29
JP2000259274 2000-08-29
JP2001197130A JP4784006B2 (en) 2000-08-29 2001-06-28 Electronics

Publications (2)

Publication Number Publication Date
JP2002150251A JP2002150251A (en) 2002-05-24
JP4784006B2 true JP4784006B2 (en) 2011-09-28

Family

ID=26598691

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001197130A Expired - Fee Related JP4784006B2 (en) 2000-08-29 2001-06-28 Electronics

Country Status (1)

Country Link
JP (1) JP4784006B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009543172A (en) * 2006-06-27 2009-12-03 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Apparatus and method for managing power consumption of multiple data processing units
JP6017379B2 (en) * 2013-07-12 2016-11-02 株式会社東芝 Memory system and host device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3164001B2 (en) * 1996-12-04 2001-05-08 株式会社村田製作所 PC card device
JPH10301657A (en) * 1997-04-25 1998-11-13 Toshiba Corp Peripheral device of computer system

Also Published As

Publication number Publication date
JP2002150251A (en) 2002-05-24

Similar Documents

Publication Publication Date Title
JP3813849B2 (en) Card device
US7698404B2 (en) Status information notification system
JP3636157B2 (en) Data transfer control device, electronic device, and data transfer control method
US20050204189A1 (en) Network apparatus, method for controlling the same, and program for the same
JPH0916735A (en) Pc card
JP3726898B2 (en) Data transfer control device, electronic device, and data transfer control method
JP3953832B2 (en) Interface card for media
US20050231597A1 (en) Image-capturing apparatus, image processing system, control method, and storage medium
US6971035B2 (en) Method and system for reducing power consumption of a multi-function electronic apparatus that is adapted to receive power from a host system
JP5030339B2 (en) Electronics
JP4784006B2 (en) Electronics
US7287098B2 (en) Control method and electronic device enabling recognition of functions installed in the electronic device
JP4497587B2 (en) Computer system, computer, message processing method, and computer-readable storage medium
JP7374588B2 (en) Electronic equipment connected to a PCI device and equipped with a device capable of transitioning to a power saving state, and its control method
JP2005092764A (en) Image forming apparatus, interface board, interface chip, and information processor
JP2003030127A (en) Sdio host controller
JP4485113B2 (en) PC adapter for small cards
JPH10174048A (en) Digital camera
JP2654803B2 (en) IC card
KR100306749B1 (en) Network Printer System
JP2601248B2 (en) Communication method of IC card system
JP2006221670A (en) Card device
JP4127071B2 (en) Data transfer control device, electronic device, and data transfer control method
JP2000059545A (en) Facsimile equipment
JP2008234073A (en) Image processor, image processing method, image processing program and computer-readable recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110118

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110405

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110525

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: 20110614

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110627

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140722

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees