[go: up one dir, main page]

JP2007012360A - Electronic device and program thereof - Google Patents

Electronic device and program thereof Download PDF

Info

Publication number
JP2007012360A
JP2007012360A JP2005189750A JP2005189750A JP2007012360A JP 2007012360 A JP2007012360 A JP 2007012360A JP 2005189750 A JP2005189750 A JP 2005189750A JP 2005189750 A JP2005189750 A JP 2005189750A JP 2007012360 A JP2007012360 A JP 2007012360A
Authority
JP
Japan
Prior art keywords
battery
power
user
display
type
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
JP2005189750A
Other languages
Japanese (ja)
Inventor
Jun Hosoda
潤 細田
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2005189750A priority Critical patent/JP2007012360A/en
Publication of JP2007012360A publication Critical patent/JP2007012360A/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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)
  • Power Sources (AREA)

Abstract

【課題】 電池残量を正確に認識することができる電子機器及びそのプログラムを実現する。
【解決手段】 サブマイコン11は、電池14が投入されたか否かを判断し、電池14が投入されたと判断すると、CPU10の電圧をOnさせるととともに、電池14が投入された旨を示す情報をCPU10に通知する。CPU10は、電源がOnされると、電池14が投入された旨を示す情報が送られてきたか否かを判断し、送られてきたと判断すると電池設定メニューを表示させる。そして、ユーザによって電池14の種類が選択されセットキーの操作が行なわれると、CPU10は、該選択されている電池の種類に対応する終止電圧の設定を行ってから、サブマイコン11にパワーオフ通知を行い、サブマイコン11は、パワーオフ通知を受け取ると、CPU10の電源をOFFする。
【選択図】 図1
PROBLEM TO BE SOLVED: To realize an electronic device and its program capable of accurately recognizing the remaining battery level.
A sub-microcomputer 11 determines whether or not a battery 14 has been inserted. If the sub-microcomputer 11 determines that the battery 14 has been inserted, the sub-microcomputer 11 turns on the voltage of the CPU 10 and displays information indicating that the battery 14 has been inserted. The CPU 10 is notified. When the power is turned on, the CPU 10 determines whether or not information indicating that the battery 14 has been inserted has been sent, and if it has been sent, displays the battery setting menu. When the user selects the type of battery 14 and operates the set key, the CPU 10 sets the end voltage corresponding to the selected battery type and then notifies the sub-microcomputer 11 of power off. When the sub-microcomputer 11 receives the power-off notification, the sub-microcomputer 11 turns off the power of the CPU 10.
[Selection] Figure 1

Description

本発明は、電子機器及びそのプログラムに係り、詳しくは、電池残量を正確に認識することができる電子機器及びそのプログラムに関する。   The present invention relates to an electronic device and a program thereof, and more particularly, to an electronic device and a program thereof that can accurately recognize a remaining battery level.

従来、電池の種類に応じて放電特性が異なるため、ユーザが投入した電池の種類を設定し、該設定された電池の種類に応じた適切な電池残量表示ができるカメラが登場してきている。
また、投入された電池の種類を自動的に判別し、該判別した電池の種類に応じた適切な電池残量表示を行うことができるデジタルカメラも登場してきている(特許文献1)。
Conventionally, since discharge characteristics differ depending on the type of battery, cameras have appeared that can set the type of battery inserted by the user and display an appropriate remaining battery level in accordance with the set type of battery.
In addition, a digital camera that can automatically determine the type of inserted battery and display an appropriate remaining battery level according to the determined type of battery has also appeared (Patent Document 1).

公開特許公報 特開2001−218084Japanese Patent Laid-Open No. 2001-218084

しかしながら、従来のユーザが電池の種類を設定し、該設定した電池の種類に応じた適切な電池残量表示ができるデジタルカメラにおいては、ユーザが電池の交換をしたときに電池の種類の設定を忘れた場合には、適切な電池残量を識別できず、間違った電池残量表示を行ってしまうという問題点があった。
また、特許文献1に記載されているように、電池の種類を自動的に判別して適切な電池残量表示を行うデジタルカメラにおいては、短時間で電池の種類を判別するのは困難であるため、誤認識により本来の電池の種類とは違う電池の種類であると判別することがある。そのため、適切な電池残量を識別できず、間違った電池残量表示を行ってしまうという問題点があった。
However, in a digital camera in which a conventional user sets a battery type and can display an appropriate remaining battery level according to the set battery type, the battery type is set when the user replaces the battery. In the case of forgetting, there is a problem that an appropriate battery remaining amount cannot be identified and an incorrect battery remaining amount display is performed.
Further, as described in Patent Document 1, it is difficult to determine the type of battery in a short time in a digital camera that automatically determines the type of battery and displays an appropriate remaining battery level. Therefore, it may be determined that the battery type is different from the original battery type due to misrecognition. For this reason, there is a problem that an appropriate battery remaining amount cannot be identified and an incorrect battery remaining amount display is performed.

更に、間違った電池残量を識別することにより種々の問題が発生してしまう。
例えば、電池残量が殆どないのに、電池残量があると識別している場合には、データの記録が完了する前や、レンズを仕舞うことなくデジタルカメラの電源がOffされてしまい、記録中のデータが失われたり、レンズが汚れたり割れたりするという問題点が存在していた。また、電池残量がまだあるのに、電池残量が殆どないと識別している場合には、デジタルカメラの電源がOffされてしまい、電池を有効に活用することができないという問題点も存在していた。
Furthermore, various problems are caused by identifying an incorrect remaining battery level.
For example, if there is almost no remaining battery power and it is recognized that there is remaining battery power, the digital camera power is turned off before the data recording is completed or the lens is not closed. There was a problem that the data inside was lost or the lens was dirty or cracked. There is also a problem that the digital camera power is turned off and the battery cannot be used effectively when it is identified that the battery level is low but the battery level is low. Was.

そこで本発明は、かかる従来の問題点に鑑みてなされたものであり、電池残量を正確に認識することができる電子機器及びそのプログラムを提供することを目的とする。   Therefore, the present invention has been made in view of such conventional problems, and an object of the present invention is to provide an electronic device that can accurately recognize the remaining battery level and a program thereof.

上記目的達成のため、請求項1記載の発明による電子機器は、ユーザが電池の種類を設定するための設定手段と、
前記設定手段により設定された電池の種類に対応する電池の終止電圧を設定する電圧設定手段と、
電池がセットされたか否かを判断する判断手段と、
前記判断手段により電池がセットされたと判断された場合は、ユーザに対して前記設定手段による電池の種類の設定を促す画面を表示手段に表示させる第1の表示制御手段と、
を備えたことを特徴とする。
In order to achieve the above object, an electronic device according to the first aspect of the present invention includes a setting unit for a user to set the type of battery;
Voltage setting means for setting an end voltage of the battery corresponding to the type of battery set by the setting means;
A judging means for judging whether or not a battery is set;
First display control means for causing the display means to display a screen prompting the user to set the battery type by the setting means when the determination means determines that a battery has been set;
It is provided with.

また、例えば、請求項2に記載されているように、前記設定手段により設定された電池の終止電圧に基づいて、現在の電池残量を判定する判定手段と、
前記判定手段により判定された現在の電池残量を前記表示手段に表示させる第2の表示制御手段と、
を備えようにしてもよい。
Further, for example, as described in claim 2, a determination unit that determines a current remaining battery level based on a battery end voltage set by the setting unit;
Second display control means for causing the display means to display the current remaining battery capacity determined by the determination means;
You may make it provide.

また、例えば、請求項3に記載されているように、前記判定手段により判定された電池残量がない場合には、パワーオフ処理を行なってから前記電子機器の電源をパワーオフさせる電源オフ手段を備えようにしてもよい。   For example, as described in claim 3, when there is no remaining battery level determined by the determination unit, a power-off unit that powers off the electronic device after performing a power-off process. You may make it provide.

また、例えば、請求項4に記載されているように、前記電池の終止電圧は、
パワーオフ処理を実行させるのに必要最低限の電圧以上の電圧であるようにしてもよい。
Further, for example, as described in claim 4, the end voltage of the battery is
The voltage may be higher than a minimum voltage necessary for executing the power-off process.

また、例えば、請求項5に記載されているように、前記第1の表示制御手段は、
前記判断手段により電池がセットされたと判断された直後に、ユーザに対して電池の種類の設定を促す画面を前記表示手段に表示させるようにしてもよい。
For example, as described in claim 5, the first display control unit includes:
A screen prompting the user to set the battery type may be displayed on the display unit immediately after the determination unit determines that a battery has been set.

また、例えば、請求項6に記載されているように、ユーザが前記電子機器の電源をパワーオンさせるための指示手段と、
前記指示手段により電源のパワーオンの指示がされた場合には、前記電子機器の電源をオンさせる電源オン手段と、
を備え、
前記第1の表示制御手段は、
前記判断手段により電池がセットされたと判断された後、前記電源オン手段により最初に電源がオンされたときに、ユーザに対して電池の種類の設定を促す画面を前記表示手段に表示させるようにしてもよい。
Further, for example, as described in claim 6, an instruction unit for a user to power on a power source of the electronic device;
When the instruction means instructs to turn on the power, the power on means for turning on the electronic device;
With
The first display control means includes
When the power is turned on for the first time by the power-on means after the judgment means determines that the battery is set, a screen prompting the user to set the battery type is displayed on the display means. May be.

また、例えば、請求項7に記載されているように、前記第1の表示制御手段は、
複数の電池の種類を前記表示手段に一覧表示させるようにしてもよい。
Further, for example, as described in claim 7, the first display control means includes:
A plurality of battery types may be displayed in a list on the display means.

また、例えば、請求項8に記載されているように、前記第1の表示制御手段は、
複数の電池の種類に対応するそれぞれの画像を一覧表示させるようにしてもよい。
Further, for example, as described in claim 8, the first display control means includes:
Each image corresponding to a plurality of battery types may be displayed in a list.

また、例えば、請求項9に記載されているように、前記第1の表示制御手段は、
複数の電池の種類に対応するそれぞれの名称を一覧表示させるようにしてもよい。
Further, for example, as described in claim 9, the first display control means includes:
Each name corresponding to a plurality of battery types may be displayed in a list.

また、例えば、請求項10に記載されているように、前記第1の表示制御手段は、
ユーザに対して電池設定を促すメッセージを前記表示手段に表示させるようにしてもよい。
For example, as described in claim 10, the first display control unit includes:
A message for prompting the user to set the battery may be displayed on the display means.

また、例えば、請求項11に記載されているように、前記判断手段は、
電池から電力が供給されていない状態から電池から電力が供給された状態になったか否かの判断、又は、電池の蓋が開閉されたか否かの判断、又は、電池が装着されたか否かの判断のうち、何れか1つの判断に基づいて、電池がセットされたか否かの判断を行うようにしてもよい。
In addition, for example, as described in claim 11, the determination unit includes:
Judgment whether power is supplied from the battery from the state where power is not supplied from the battery, determination of whether the battery lid is opened or closed, or whether the battery is installed Based on one of the determinations, it may be determined whether or not a battery has been set.

上記目的達成のため、請求項12記載の発明によるプログラムは、ユーザが電池の種類を設定するための設定手段と、
前記設定手段により設定された電池の種類に対応する電池の終止電圧を設定する電圧設定手段と、
を備えた電子機器を実行させるためのプログラムであって、
電池がセットされたか否かを判断する処理と、
この処理により電池がセットされたと判断された場合は、ユーザに対して電池の種類の設定を促す画面を表示部に表示させる処理と、
を含み、上記各処理を電子機器で実行させることを特徴とする。
In order to achieve the above object, a program according to the invention of claim 12 includes a setting means for a user to set the type of battery,
Voltage setting means for setting an end voltage of the battery corresponding to the type of battery set by the setting means;
A program for executing an electronic device comprising:
A process for determining whether or not a battery is set;
If it is determined that the battery is set by this process, a process for displaying a screen prompting the user to set the battery type on the display unit;
And each of the above processes is executed by an electronic device.

請求項1記載の発明によれば、ユーザが電池の種類を設定するための設定手段と、前記設定手段により設定された電池の種類に対応する電池の終止電圧を設定する電圧設定手段と、電池がセットされたか否かを判断する判断手段と、前記判断手段により電池がセットされたと判断された場合は、ユーザに対して前記設定手段による電池の種類の設定を促す画面を表示手段に表示させる第1の表示制御手段と、を備えるようにしたので、電池交換を行なった場合における電池の種類の設定忘れを防止することができる。   According to the first aspect of the present invention, the setting means for the user to set the battery type, the voltage setting means for setting the end voltage of the battery corresponding to the battery type set by the setting means, and the battery A display for displaying a screen prompting the user to set the battery type by the setting unit when the determination unit determines that a battery has been set. Since the first display control means is provided, it is possible to prevent forgetting to set the battery type when the battery is replaced.

請求項2記載の発明によれば、前記設定手段により設定された電池の終止電圧に基づいて、現在の電池残量を判定する判定手段と、前記判定手段により判定された現在の電池残量を前記表示手段に表示させる第2の表示制御手段と、を備えるようにしたので、電池残量を正確に認識することができ、適切な電池残量表示を行うことができる。   According to the second aspect of the present invention, the determination means for determining the current remaining battery level based on the end voltage of the battery set by the setting means, and the current remaining battery level determined by the determination means And a second display control unit for displaying on the display unit, so that the remaining battery level can be accurately recognized and an appropriate remaining battery level can be displayed.

請求項3記載の発明によれば前記判定手段により判定された電池残量がない場合には、パワーオフ処理を行なってから前記電子機器の電源をパワーオフさせる電源オフ手段を備えるようにしたので、電池残量を正確に認識することができ、電源をオフにする前に、確実にパワーオフ処理を実行させることができる。つまり、データの記録中やレンズを仕舞うことなく電源をオフすることがない。   According to a third aspect of the present invention, when there is no remaining battery level determined by the determination unit, a power-off unit for powering off the power source of the electronic device after performing a power-off process is provided. The battery remaining amount can be recognized accurately, and the power-off process can be surely executed before turning off the power. That is, the power is not turned off during data recording or without closing the lens.

請求項4記載の発明によれば、前記電池の終止電圧は、パワーオフ処理を実行させるのに必要最低限の電圧以上の電圧であるので、電源をオフする前に、確実にパワーオフ処理を実行させることができる。   According to the invention of claim 4, since the end voltage of the battery is a voltage higher than the minimum voltage necessary for executing the power-off process, the power-off process is surely performed before the power is turned off. Can be executed.

請求項5記載の発明によれば、前記第1の表示制御手段は、前記判断手段により電池がセットされたと判断された直後に、ユーザに対して電池の種類の設定を促す画面を前記表示手段に表示させるようにしたので、電池交換の際、電池の種類の設定忘れを防止することができる。   According to a fifth aspect of the present invention, the first display control means displays a screen prompting the user to set the type of battery immediately after the determination means determines that a battery has been set. This makes it possible to prevent the user from forgetting to set the battery type when replacing the battery.

請求項6記載の発明によれば、ユーザが前記電子機器の電源をパワーオンさせるための指示手段と、前記指示手段により電源のパワーオンの指示がされた場合には、前記電子機器の電源をオンさせる電源オン手段と、を備え、前記第1の表示制御手段は、前記判断手段により電池がセットされたと判断された後、前記電源オン手段により最初に電源がオンされたときに、ユーザに対して電池の種類の設定を促す画面を前記表示手段に表示させるようにしたので、電池交換後、最初に電子機器の電源オンの際、電池の種類の設定を行なうことができ、電池の種類の設定忘れを防止することができる。   According to the sixth aspect of the present invention, when the user instructs to turn on the power of the electronic device, and when the user instructs to power on the power by the instruction, the power of the electronic device is turned off. Power on means for turning on, and the first display control means is configured to prompt the user when the power is first turned on by the power on means after the judgment means judges that the battery is set. On the other hand, since the screen prompting the user to set the battery type is displayed on the display means, the battery type can be set when the electronic device is first turned on after battery replacement. You can prevent forgetting your settings.

請求項7記載の発明によれば、前記第1の表示制御手段は、複数の電池の種類を前記表示手段に一覧表示させるようにしたので、ユーザは、すぐに電池設定を行なうことができ、電池の種類の設定忘れを確実に防止することができる。   According to the invention of claim 7, since the first display control means causes the display means to display a list of a plurality of battery types, the user can immediately set the battery, Forgetting to set the battery type can be reliably prevented.

請求項8記載の発明によれば、前記第1の表示制御手段は、複数の電池の種類に対応する画像を一覧表示させるようにしたので、簡単に電池の設定を行なうことができる。また、電池の名称がわからない場合でも電池の画像を見ることにより簡単に電池の設定を行なうことができる。   According to the invention described in claim 8, since the first display control means displays a list of images corresponding to a plurality of types of batteries, it is possible to easily set the batteries. Even when the name of the battery is unknown, it is possible to easily set the battery by looking at the battery image.

請求項9記載の発明によれば、前記第1の表示制御手段は、複数の電池の種類に対応する名称を一覧表示させるようにしたので、簡単に電池の設定を行なうことができる。   According to the ninth aspect of the invention, since the first display control means displays a list of names corresponding to a plurality of battery types, the battery can be easily set.

請求項10記載の発明によれば、前記第1の表示制御手段は、ユーザに対して電池設定を促すメッセージを前記第1の表示手段に表示させるようにしたので、電池の種類の設定忘れを確実に防止することができる。   According to the tenth aspect of the present invention, the first display control means displays a message prompting the user to set the battery on the first display means. It can be surely prevented.

請求項11記載の発明によれば、前記判断手段は、電池から電力が供給されていない状態から電池から電力が供給された状態になったか否かの判断、又は、電池の蓋が開閉されたか否かの判断、又は、電池が装着されたか否かの判断のうち、何れか1つの判断に基づいて、電池がセットされたか否かの判断を行うようにしたので、電池がセットされたか否かの判断を確実に行うことができる。   According to the eleventh aspect of the present invention, the determination means determines whether or not power is supplied from the battery from a state where no power is supplied from the battery, or whether or not the battery lid is opened or closed. Whether or not the battery has been set is determined based on any one of the determination of whether or not the battery is installed or not. Can be reliably determined.

請求項12記載の発明によれば、デジタルカメラ、パソコン等に読み込ませることにより、本発明の電子機器を実現することができる。   According to the invention of the twelfth aspect, the electronic device of the present invention can be realized by being read by a digital camera, a personal computer or the like.

以下、本実施の形態について、デジタルカメラを適用した一例として図面を参照して詳細に説明する。
[実施の形態]
A.デジタルカメラの構成
図1は、本発明の電子機器を実現するデジタルカメラ1の電気的な概略構成を示すブロック図である。
デジタルカメラ1は、撮影レンズ2、レンズ駆動ブロック3、絞り兼用シャッタ4、CCD5、TG(timing generator)6、ユニット回路7、DRAM8、メモリ9、CPU10、サブマイコン11、キー入力部12、電源回路13、(交換可能な)電池14、フラッシュメモリ15、画像表示部16から構成されている。
Hereinafter, the present embodiment will be described in detail with reference to the drawings as an example to which a digital camera is applied.
[Embodiment]
A. Configuration of Digital Camera FIG. 1 is a block diagram showing a schematic electrical configuration of a digital camera 1 that implements the electronic apparatus of the present invention.
The digital camera 1 includes a photographic lens 2, a lens driving block 3, an aperture / shutter 4, a CCD 5, a TG (timing generator) 6, a unit circuit 7, a DRAM 8, a memory 9, a CPU 10, a sub microcomputer 11, a key input unit 12, and a power circuit. 13, (replaceable) battery 14, flash memory 15, and image display unit 16.

撮影レンズ2は、図示しないフォーカスレンズ、ズームレンズを含み、レンズ駆動ブロック3が接続されている。レンズ駆動ブロック3は、図示しないフォーカスレンズ、ズームレンズをそれぞれ光軸方向に駆動させるフォーカスモータ、ズームモータと、CPU10からの制御信号にしたがってフォーカスモータ、ズームモータをそれぞれ光軸方向に駆動させるフォーカスモータドライバ、ズームモータドライバから構成されている。   The photographing lens 2 includes a focus lens and a zoom lens (not shown), and a lens driving block 3 is connected thereto. The lens driving block 3 includes a focus motor and a zoom motor that drive a focus lens and a zoom lens (not shown) in the optical axis direction, and a focus motor that drives the focus motor and the zoom motor in the optical axis direction according to a control signal from the CPU 10, respectively. It consists of a driver and a zoom motor driver.

絞り兼用シャッタ4は、図示しない駆動回路を含み、駆動回路はCPU10から送られてくる制御信号にしたがって絞り兼用シャッタを動作させる。この絞り兼用シャッタは、絞りとシャッタとして機能する。
絞りとは、撮影レンズ2から入ってくる光の量を制御する機構のことをいい、シャッタとは、CCD5に光を当てる時間を制御する機構のことをいい、CCD5に光を当てる時間は、シャッタの開閉の速度(シャッタ速度)によって変わってくる。露出は、この絞りとシャッタ速度によって定めることができる。
The aperture / shutter 4 includes a drive circuit (not shown), and the drive circuit operates the aperture / shutter in accordance with a control signal sent from the CPU 10. The aperture / shutter functions as an aperture and a shutter.
The diaphragm is a mechanism that controls the amount of light that enters from the photographic lens 2, and the shutter is a mechanism that controls the time that light is applied to the CCD 5, and the time that light is applied to the CCD 5 is It varies depending on the shutter opening / closing speed (shutter speed). Exposure can be determined by the aperture and shutter speed.

CCD5は、撮影レンズ2、絞り兼用シャッタ4を介して投影された被写体の光を電気信号に変換し、撮像信号としてユニット回路7に出力する。また、CCD5は、TG6によって生成された所定周波数のタイミング信号にしたがって駆動する。TG6にはユニット回路7が接続されている。
ユニット回路7は、CCD5から出力される撮像信号を相関二重サンプリングして保持するCDS(Correlated Double Sampling)回路、そのサンプリング後の撮像信号の自動利得調整を行うAGC(Automatic Gain Control)回路、その自動利得調整後のアナログの撮像信号をデジタル信号に変換するA/D変換器から構成されており、CCD5の撮像信号は、ユニット回路7を経てデジタル信号としてCPU10に送られる。
The CCD 5 converts the light of the subject projected through the photographing lens 2 and the diaphragm / shutter 4 into an electrical signal and outputs it as an imaging signal to the unit circuit 7. The CCD 5 is driven in accordance with a predetermined frequency timing signal generated by the TG 6. A unit circuit 7 is connected to the TG 6.
The unit circuit 7 includes a CDS (Correlated Double Sampling) circuit that holds the imaging signal output from the CCD 5 by correlated double sampling, an AGC (Automatic Gain Control) circuit that performs automatic gain adjustment of the imaging signal after the sampling, The A / D converter converts an analog image pickup signal after automatic gain adjustment into a digital signal. The image pickup signal of the CCD 5 is sent to the CPU 10 as a digital signal through the unit circuit 7.

CPU10は、ユニット回路7から送られてきた画像データの画像処理(画素補間処理、γ補正、輝度色差信号の生成、ホワイトバランス処理、露出補正処理等)、画像データの圧縮・伸張(例えば、JPEG形式やMPEG形式の圧縮・伸張)の処理などを行う機能を有するとともに、デジタルカメラ1の各部を制御するワンチップマイコンである。
DRAM8は、CCD5によって撮像された後、CPU10に送られてきた画像データを一時記憶するバッファメモリとして使用されるとともに、CPU10のワーキングメモリとして使用される。
The CPU 10 performs image processing (pixel interpolation processing, γ correction, luminance color difference signal generation, white balance processing, exposure correction processing, etc.) of the image data sent from the unit circuit 7, and compression / decompression (for example, JPEG) of the image data. This is a one-chip microcomputer that has a function of performing processing such as compression / decompression of a format or MPEG format and controls each part of the digital camera 1.
The DRAM 8 is used as a buffer memory for temporarily storing image data sent to the CPU 10 after being imaged by the CCD 5 and also as a working memory for the CPU 10.

サブマイコン11は、電源回路13の制御や、電池14のバッテリー電圧値及びキー入力部12からの操作信号などを取得してCPU10に出力する機能を有する。
キー入力部12は、電源On/Offキー、シャッタボタン、メニューキー、SETキー、十字キー等の複数の操作キーを含み、ユーザのキー操作に応じた操作信号をサブマイコン11に出力する。
電源回路13は、電池14の電圧をサブマイコン11やCPU10などの供給対象に必要な電圧に安定させてからサブマイコン11に電圧を出力するものである。なお、電源回路13は、サブマイコン11の制御信号にしたがって、電池14の電圧を安定電圧にさせる。
The sub-microcomputer 11 has a function of controlling the power supply circuit 13, acquiring a battery voltage value of the battery 14, an operation signal from the key input unit 12, and the like and outputting the operation signal to the CPU 10.
The key input unit 12 includes a plurality of operation keys such as a power On / Off key, a shutter button, a menu key, a SET key, and a cross key, and outputs an operation signal corresponding to a user's key operation to the sub-microcomputer 11.
The power supply circuit 13 outputs the voltage to the sub-microcomputer 11 after stabilizing the voltage of the battery 14 to a voltage necessary for the supply target such as the sub-microcomputer 11 and the CPU 10. Note that the power supply circuit 13 causes the voltage of the battery 14 to become a stable voltage in accordance with the control signal of the sub-microcomputer 11.

フラッシュメモリ15は、CCD5によって撮像された画像データなどを保存しておく記録媒体である。
画像表示部16は、カラーLCDとその駆動回路を含み、電池設定メニューや電池残量を表示させたり、撮影待機状態にあるときには、CCD5によって撮像された被写体をスルー画像として表示させる。
The flash memory 15 is a recording medium that stores image data captured by the CCD 5.
The image display unit 16 includes a color LCD and its driving circuit, displays a battery setting menu and a remaining battery level, and displays a subject imaged by the CCD 5 as a through image when in a shooting standby state.

メモリ9には、CPU10によるデジタルカメラ1の各部の制御に必要なプログラム、及び各部の制御に必要なデータが記録されており、CPU10は、このプログラムにしたがって処理を行う。
また、メモリ9には、電池の種類の名称及びその名称に対応する電池の画像(写真、絵などを含む)も記録されており、また、設定された電池の種類を記憶しておく電池記憶領域、設定された電池の種類に対応する終止電圧値を記憶しておく電圧記憶領域も有する。
The memory 9 stores a program necessary for controlling each part of the digital camera 1 by the CPU 10 and data necessary for controlling each part. The CPU 10 performs processing according to this program.
The memory 9 also stores the name of the battery type and the battery image (including photographs, pictures, etc.) corresponding to the name, and also stores the set battery type. There is also a voltage storage area for storing the end voltage value corresponding to the area and the set battery type.

更に、メモリ9には、電池の種類に対応する終止電圧値などが格納された電圧値テーブルも有する。
図2は、メモリ9に格納された電圧テーブルを示すものであり、電圧テーブルには、電池の種類毎の終止電圧値、70%電圧値、50電圧値、30%電圧値が記録されている。終止電圧値とは、電池の電圧がこの電圧値になったときには電池残量がないと判断する電圧値のことであり、70%電圧値は、電池の電圧がこの電圧値になったときには電池残量が70%と判断する電圧値のことであり、50%電圧値とは、電池残量が50%と判断する電圧値のことであり、30%電圧値とは、電池残量が30%と判断する電圧値のことである。
なお、サブマイコン11による各部の制御に必要なプログラム等は、サブマイコン11に内蔵されているメモリに記録されている。
Further, the memory 9 has a voltage value table in which end voltage values corresponding to the types of batteries are stored.
FIG. 2 shows a voltage table stored in the memory 9, and the end voltage value, 70% voltage value, 50 voltage value, and 30% voltage value for each type of battery are recorded in the voltage table. . The end voltage value is a voltage value that determines that there is no remaining battery power when the battery voltage reaches this voltage value, and the 70% voltage value is the battery voltage when the battery voltage reaches this voltage value. It is a voltage value at which the remaining amount is determined to be 70%, the 50% voltage value is a voltage value at which the remaining battery level is determined to be 50%, and the 30% voltage value is a remaining battery level of 30%. It is a voltage value judged to be%.
Note that programs and the like necessary for controlling each unit by the sub-microcomputer 11 are recorded in a memory built in the sub-microcomputer 11.

B.デジタルカメラ1の動作
実施の形態におけるデジタルカメラ1の動作を、サブマイコン11とCPU10との2つの動作に分けて説明する。
B. Operation of Digital Camera 1 The operation of the digital camera 1 in the embodiment will be described by dividing it into two operations of the sub-microcomputer 11 and the CPU 10.

B−1.サブマイコン11の動作について
まず、サブマイコン11の動作を図3のフローチャートにしたがって説明する。
まず、サブマイコン11は、ユーザによって電池が投入されたか否かの判断を行う(ステップS1)。この電池の投入がされたか否かの判断は、電池14から電力が供給されていない状態から、電池14から電力が電源回路13を介して供給される状態になったか否かにより判断する。
B-1. Operation of Sub-Microcomputer 11 First, the operation of the sub-microcomputer 11 will be described with reference to the flowchart of FIG.
First, the sub-microcomputer 11 determines whether or not a battery has been inserted by the user (step S1). The determination as to whether or not the battery has been inserted is made based on whether or not electric power is supplied from the battery 14 via the power supply circuit 13 from a state where no electric power is supplied from the battery 14.

ステップS1で電池が投入されたと判断すると、サブマイコン11のリセットが解除され、サブマイコン11は、このときにリセット状態から復帰したことを示すリセットフラグをOnにさせる(ステップS2)。
次いで、サブマイコン11は、各種の初期化処理を実行させ(ステップS3)、その後、電源回路13を介して電池14から供給されている電圧をCPU10に供給させる(ステップS4)。これにより、CPU10の電源がOnすることになる。
次いで、サブマイコン11は、リセットフラグがOnされているか否かの判断を行う(ステップS5)。
If it is determined in step S1 that the battery has been inserted, the reset of the sub-microcomputer 11 is released, and the sub-microcomputer 11 turns on a reset flag indicating that it has returned from the reset state at this time (step S2).
Next, the sub-microcomputer 11 executes various initialization processes (step S3), and then causes the CPU 10 to supply the voltage supplied from the battery 14 via the power supply circuit 13 (step S4). As a result, the power source of the CPU 10 is turned on.
Next, the sub-microcomputer 11 determines whether or not the reset flag is turned on (step S5).

ステップS5で、リセットフラグがOnされていると判断すると、サブマイコン11は、電池が投入されたものと判断し、リセットフラグをOffにさせてから(ステップS6)、電池投入された旨を示す情報をCPU10に通知(出力)して(ステップS7)、ステップS9に進む。
一方、ステップS5で、リセットフラグがOnされていないと判断すると、通常通りに起動させた旨を示す情報をCPU10に通知(出力)して(ステップS8)、ステップS9に進む。この通常通りに起動させたとは、電池の投入によりCPU10の電源をOnさせたのではく、ユーザの電源On/OffキーによりCPU10の電源をOnさせたことをいう。
If it is determined in step S5 that the reset flag has been turned on, the sub-microcomputer 11 determines that the battery has been turned on, turns the reset flag off (step S6), and indicates that the battery has been turned on. Information is output (output) to the CPU 10 (step S7), and the process proceeds to step S9.
On the other hand, if it is determined in step S5 that the reset flag is not turned on, the CPU 10 is notified (output) of information indicating that it has been started normally (step S8), and the process proceeds to step S9. The normal activation means that the power of the CPU 10 is turned on by the user's power On / Off key instead of turning on the power of the CPU 10 by turning on the battery.

ステップS9に進むと、サブマイコン11は、通常処理を行う。この通常処理では、キー入力部12からの操作信号をCPU10に出力したり、電源回路13の制御を行なったりする。
次いで、サブマイコン11は、CPU10をPower Offさせるか否かの判断を行う(ステップS10)。このPower Offさせるか否かの判断は、CPU10からPower Off通知(CPU10の電源をOffさせる旨の情報)が送られてきた場合や、ユーザのキー入力部12の電源On/Offキーの操作により電源をOffする旨の操作信号が送られてきた場合には、Power Offさせると判断する。
In step S9, the sub-microcomputer 11 performs normal processing. In this normal processing, an operation signal from the key input unit 12 is output to the CPU 10 or the power supply circuit 13 is controlled.
Next, the sub-microcomputer 11 determines whether or not to turn off the CPU 10 (step S10). The determination as to whether or not to turn off the power is made when a power off notification (information indicating that the power of the CPU 10 is turned off) is sent from the CPU 10 or when the user operates the power On / Off key of the key input unit 12. When an operation signal for turning off the power is sent, it is determined that the power is turned off.

ステップS10で、Power Offさせないと判断すると、ステップS9に戻り、Power Offさせると判断するまで通常処理を行う。
一方、ステップS10で、Power Offさせると判断すると、サブマイコン11は、CPU10への電圧供給を中止させて(ステップS11)、サブマイコンは、スリープ状態になる(ステップS12)。つまり、CPU10の電源をOffさせてからスリープ状態になる。
If it is determined in step S10 that the power is not turned off, the process returns to step S9, and normal processing is performed until it is determined that the power is turned off.
On the other hand, if it is determined in step S10 that the power is turned off, the sub-microcomputer 11 stops the voltage supply to the CPU 10 (step S11), and the sub-microcomputer enters a sleep state (step S12). That is, the CPU 10 enters the sleep state after the power of the CPU 10 is turned off.

次いで、サブマイコン11は、Power Onするか否かの判断を行う(ステップS13)。このPower Onするか否かの判断は、ユーザの電源On/Offキーの操作により電源をOnする旨の操作信号がキー入力部12から送られてきたか否かにより判断する。
ステップS13で、Power Onしないと判断するとステップS12に戻り、Power Onすると判断するまでスリープ状態を保つ。
一方、ステップS13で、Power Onすると判断すると、サブマイコン11は、スリープ状態から脱して、ステップS4に戻り、CPU10に電圧を供給させることによりCPU10の電源をOnさせ、上記した動作を繰り返す。
Next, the sub-microcomputer 11 determines whether to turn on the power (step S13). The determination as to whether or not to turn on the power is made based on whether or not an operation signal for turning on the power is sent from the key input unit 12 by the user's operation of the power on / off key.
If it is determined in step S13 that the power is not turned on, the process returns to step S12, and the sleep state is maintained until it is determined that the power is turned on.
On the other hand, if it is determined in step S13 that the power is turned on, the sub-microcomputer 11 exits from the sleep state, returns to step S4, turns on the power of the CPU 10 by supplying voltage to the CPU 10, and repeats the above operation.

B−2.CPU10の動作について
次に、CPU10の動作を図4のフローチャートにしたがって説明する。
CPU10は、サブマイコン11から電圧が供給されることにより電源がOnされると、各種の初期化処理を実行させ(ステップS51)、電池が投入された旨を示す情報と、通常通りに起動させた旨を示す情報のうち、どちらの情報がサブマイコン11から送られてきたか否かを判断する(ステップS52)。なお、この判断は、マイコン11からどちらか一方の情報が送られてくるまで待ち処理を行う。
B-2. Next, the operation of the CPU 10 will be described with reference to the flowchart of FIG.
When the power is turned on when the voltage is supplied from the sub-microcomputer 11, the CPU 10 executes various initialization processes (step S51), and starts up normally with information indicating that the battery has been inserted. It is determined which information has been sent from the sub-microcomputer 11 among the information indicating the fact (step S52). This determination is performed by waiting until either one of the information is sent from the microcomputer 11.

ステップS52で、電池が投入された旨を示す情報がサブマイコン11から送られてきたと判断すると、CPU10は、電池設定メニューを画像表示部16に表示させる。具体的に説明すると、電池の種類の名称及び画像(写真、絵などを含む)を画像表示部16に一覧表示させる(ステップS53)とともに、現在設定されている電池(前回使用していた電池)の種類を差別表示させる(ステップS54)。この現在設定されている電池の種類は、メモリ9の電池記憶領域に記憶されているので、該電池記憶領域に記憶されている電池の種類を示す情報を読み出し、該読み出した電池の種類を差別表示させることとなる。
ここでは、現在設定されている電池(前回使用した電池)の種類をアルカリ電池とする。
If it is determined in step S52 that information indicating that the battery has been inserted is sent from the sub-microcomputer 11, the CPU 10 causes the image display unit 16 to display a battery setting menu. More specifically, the battery type name and image (including photographs, pictures, etc.) are displayed in a list on the image display unit 16 (step S53), and the currently set battery (battery used last time). Is displayed in a discriminative manner (step S54). Since the currently set battery type is stored in the battery storage area of the memory 9, information indicating the battery type stored in the battery storage area is read out to discriminate the read battery type. Will be displayed.
Here, the type of the currently set battery (the battery used last time) is an alkaline battery.

図5(a)は、そのときの画像表示部16に表示された電池設定メニューの様子を示すものであり、画像表示部16には、電池の種類の名称及びその名称に対応する電池の画像が一覧表示されており、且つ、現在設定されている電池の種類、ここでは、アルカリ電池が差別表示されているのがわかる。
次いで、CPU10は、ユーザによってSETキーの操作が行なわれたか否かの判断を行う(ステップS55)。この判断は、SETキーの操作に対応する操作信号がサブマイコン11を介してキー入力部12から送られてきたか否かにより判断する。
FIG. 5A shows the state of the battery setting menu displayed on the image display unit 16 at that time. The image display unit 16 displays the name of the type of battery and the image of the battery corresponding to the name. Are displayed in a list, and the currently set battery type, here, the alkaline battery is discriminated.
Next, the CPU 10 determines whether or not the user has operated the SET key (step S55). This determination is made based on whether or not an operation signal corresponding to the operation of the SET key has been sent from the key input unit 12 via the sub-microcomputer 11.

ステップS55で、SETキーの操作が行なわれていないと判断すると、ユーザによって電池の選択が行なわれたか否かを判断する(ステップS56)。この判断は、キー入力部12の十字キーの操作に対応する操作信号がサブマイコン11を介してキー入力部12から送られてきたか否かにより判断する。
ステップS56で、電池の選択が行なわれたと判断すると、該選択された電池を差別表示させて(ステップS57)、ステップS55に戻り、ステップS56で、電池の選択が行なわれていないと判断するとそのままステップS55に戻る。
このステップS55〜ステップS57のループの間に、十字キーの操作を行なうことによりユーザは投入した電池の種類を選択することができる。
If it is determined in step S55 that the SET key has not been operated, it is determined whether or not a battery has been selected by the user (step S56). This determination is made based on whether or not an operation signal corresponding to the operation of the cross key of the key input unit 12 is sent from the key input unit 12 via the sub-microcomputer 11.
If it is determined in step S56 that the battery has been selected, the selected battery is displayed in a different manner (step S57), and the process returns to step S55. If it is determined in step S56 that the battery has not been selected, the process is continued. The process returns to step S55.
By operating the cross key during the loop of step S55 to step S57, the user can select the type of the inserted battery.

例えば、図5(a)に示すような状態で、ユーザが十字キーの「↑」キーを操作すると、リチウム電池が選択された状態となり、リチウム電池が他の電池と差別表示されることになる(図5(b)参照)。また、図5(a)に示すような状態で、ユーザが十字キーの「↓」キーを操作すると、マンガン電池が選択された状態となり、マンガン電池が他の電池と差別表示されることとなる(図示略)。これにより、ユーザが今投入した電池の種類を選択することができる。
そして、ユーザは、今投入した電池を選択してSETキーの操作を行なうことにより、該選択した電池を今投入した電池の種類であると確定することができる。
ここでは、ユーザは、リチウム電池を十字キーの操作により選択して、SETキーの操作を行なったものとする。
For example, when the user operates the “↑” key of the cross key in the state shown in FIG. 5A, the lithium battery is selected, and the lithium battery is displayed differently from other batteries. (See FIG. 5 (b)). In addition, when the user operates the “↓” key of the cross key in the state shown in FIG. 5A, the manganese battery is selected, and the manganese battery is displayed differently from other batteries. (Not shown). This allows the user to select the type of battery that has just been inserted.
The user can determine that the selected battery is the type of the battery that has just been inserted by selecting the battery that has just been inserted and operating the SET key.
Here, it is assumed that the user selects a lithium battery by operating the cross key and operates the SET key.

図4のフローチャートに戻り、ステップS55で、SETキーの操作が行なわれたと判断すると、CPU10は、該選択している電池を今投入された電池として設定する(ステップS58)。つまり、メモリ9の電池記憶領域に記憶されている電池の種類を示す情報に、該選択された電池の種類を示す情報を上書きして記憶させる。   Returning to the flowchart of FIG. 4, when it is determined in step S55 that the SET key has been operated, the CPU 10 sets the selected battery as the currently inserted battery (step S58). That is, the information indicating the type of the battery stored in the battery storage area of the memory 9 is overwritten with the information indicating the type of the selected battery.

次いで、該設定した電池の種類に対応する終止電圧値の設定を行なう(ステップS59)。つまり、該設定した電池の種類(電池記憶領域に記憶されている電池の種類)に対応する終止電圧値等(70%電圧値、50%電圧値、30%電圧値を含む)をメモリ9に格納されている電圧値テーブルから読み出して電圧記憶領域に記憶させる。このとき、電圧記憶領域に終止電圧値等が記憶されている場合には上書きして記憶させる。   Next, an end voltage value corresponding to the set battery type is set (step S59). That is, an end voltage value (including 70% voltage value, 50% voltage value, and 30% voltage value) corresponding to the set battery type (battery type stored in the battery storage area) is stored in the memory 9. It is read from the stored voltage value table and stored in the voltage storage area. At this time, if an end voltage value or the like is stored in the voltage storage area, it is overwritten and stored.

この終止電圧値とは、電池14の電圧がこの電圧に達したら、電池残量がないと判断する電圧のことである。この終止電圧値は、後述するPower Off処理を行うだけの電力を勘案した電圧であり、終止電圧値に達したら全く電池残量がないというわけではない。なお、終止電圧値は、電池の放電特性によって変わってくるので、電池の種類毎に異なることはいうまでもない。   This end voltage value is a voltage that determines that there is no remaining battery power when the voltage of the battery 14 reaches this voltage. This end voltage value is a voltage that takes into account the power required to perform the power-off process described later, and does not mean that there is no remaining battery power when the end voltage value is reached. Note that the end voltage value varies depending on the discharge characteristics of the battery, and needless to say, it varies depending on the type of battery.

次いで、CPU10は、Power Off通知(CPU10の電源をOffさせる旨の情報)をサブマイコン11に送る(ステップS66)。これによりサブマイコン11は、CPU10への電圧供給を中止し、CPU10は電源がOff状態となる。
つまり、電池14が投入されると(電池交換がされると)、CPU10の電源がOnにされ、CPU10は、電池設定メニューを画像表示部16に表示させる。そして、電池の種類の設定を行なうと、CPU10の電源がOffにされる。
Next, the CPU 10 sends a power off notification (information indicating that the power of the CPU 10 is turned off) to the sub-microcomputer 11 (step S66). As a result, the sub-microcomputer 11 stops the voltage supply to the CPU 10, and the power of the CPU 10 is turned off.
That is, when the battery 14 is inserted (when the battery is replaced), the power source of the CPU 10 is turned on, and the CPU 10 causes the image display unit 16 to display a battery setting menu. When the battery type is set, the power source of the CPU 10 is turned off.

一方、ステップS52で、電池が投入された旨を示す情報でなく、通常通りに起動させた旨を示す情報がサブマイコン11から送られてきた判断すると、CPU10は、通常処理を行う(ステップS60)。この通常処理とは、CCD5による撮像を開始させたり、撮像された画像データを画像表示部16に表示させたり、撮像された画像データをフラッシュメモリ15に記録したりする処理のことをいう。
次いで、CPU10は、電池14の電圧値を電源回路13及びサブマイコン11を介して取得する(ステップS61)。
On the other hand, if it is determined in step S52 that information indicating that the battery has been started is sent from the sub-microcomputer 11 instead of information indicating that the battery has been inserted, the CPU 10 performs normal processing (step S60). ). The normal processing refers to processing for starting imaging by the CCD 5, displaying the captured image data on the image display unit 16, and recording the captured image data in the flash memory 15.
Next, the CPU 10 acquires the voltage value of the battery 14 via the power supply circuit 13 and the sub-microcomputer 11 (step S61).

次いで、CPU10は、該取得した電圧値を用いて電池残量を判定し、該判定した電池残量を画像表示部16に表示させる(ステップS62)。この電池残量の判定は、該取得した電圧値とメモリ9の電圧記憶領域に格納されている該電池14の終止電圧値、70%電圧値、50%電圧値、30%電圧値を用いて、電池残量を判定するようにする。このとき、例えば、取得した電圧値が終止電圧値の場合には、電池残量は0%、つまり、残量なしと判定し、取得した電圧値が50%電圧値の場合には、電池残量は50%、つまり、残量は半分と判定する。   Next, the CPU 10 determines the remaining battery level using the acquired voltage value, and causes the image display unit 16 to display the determined remaining battery level (step S62). The battery remaining amount is determined using the acquired voltage value and the end voltage value, 70% voltage value, 50% voltage value, and 30% voltage value of the battery 14 stored in the voltage storage area of the memory 9. The battery remaining amount is determined. At this time, for example, when the acquired voltage value is the end voltage value, it is determined that the remaining battery level is 0%, that is, there is no remaining battery level. When the acquired voltage value is 50%, the remaining battery level is determined. The amount is determined to be 50%, that is, the remaining amount is half.

また、取得した電圧値が、70%電圧値と50電圧値との間の電圧値の場合には、取得した電圧値と、70%電圧値及び50%電圧値とを用いて演算により電池残量を判定する。
なお、電圧値テーブルには、電池の種類毎の終止電圧値のみを格納させておき、取得した電池14の電圧値と、該電池14の終止電圧を用いて、演算により電池残量を判定するようにしてもよい。
Further, when the acquired voltage value is a voltage value between 70% voltage value and 50 voltage value, the remaining battery level is calculated by using the acquired voltage value, 70% voltage value and 50% voltage value. Determine the amount.
In the voltage value table, only the end voltage value for each type of battery is stored, and the remaining battery level is determined by calculation using the acquired voltage value of the battery 14 and the end voltage of the battery 14. You may do it.

次いで、CPU10は、該取得した電池14の電圧値が、該電池14の終止電圧値まで電圧が下がっているか否かの判断を行う(ステップS63)。つまり、電池14の電圧値が、メモリ9の電圧記憶領域に記憶されている終止電圧値まで下がっているか否かの判断を行う。
ステップS63で、該取得した電池14の電圧値が、該電池14の終止電圧値まで下がっていないと判断すると、ステップS60に戻って、通常処理を行い、上記した動作を繰り返す。
Next, the CPU 10 determines whether or not the acquired voltage value of the battery 14 has dropped to the end voltage value of the battery 14 (step S63). That is, it is determined whether or not the voltage value of the battery 14 has dropped to the end voltage value stored in the voltage storage area of the memory 9.
If it is determined in step S63 that the acquired voltage value of the battery 14 has not decreased to the end voltage value of the battery 14, the process returns to step S60, the normal process is performed, and the above-described operation is repeated.

一方、ステップS63で、該取得した電池14の電圧値が、該電池14の終止電圧値まで下がっていると判断すると、CPU10は、Power Off処理を開始する(ステップS64)。このPower Off処理とは、現在画像データをフラッシュメモリ15に記録している最中である場合には、該画像データの記録処理を完了させたり、レンズを所定位置に収納させる等、CPU10を電源Off状態にさせるために必要な動作処理のことをいう。
次いで、CPU10は、Power Off処理が完了したか否かを判断し(ステップS65)、完了していないと判断すると完了したと判断するまでステップS65に留まる。
On the other hand, when it is determined in step S63 that the acquired voltage value of the battery 14 has decreased to the end voltage value of the battery 14, the CPU 10 starts the Power Off process (step S64). The power-off processing means that when image data is currently being recorded in the flash memory 15, the CPU 10 is powered on by completing the image data recording processing or storing the lens in a predetermined position. This is an operation process necessary for setting the Off state.
Next, the CPU 10 determines whether or not the Power Off process has been completed (step S65). If it is determined that the power off process has not been completed, the CPU 10 remains in step S65 until it is determined that the power off process has been completed.

一方、ステップS65で、Power Off処理が完了したと判断すると、つまり、フラッシュメモリ15への画像データの記録やレンズの収納などが完了すると、CPU10は、サブマイコン11にPower Off通知(CPU10の電源をOffさせる旨の情報)を送る(ステップS66)。そして、上述したように、サブマイコン11は、Power Off通知がCPU10から送られてくると、CPU10への電圧の供給を中止させてから、スリープ状態になる。   On the other hand, when it is determined in step S65 that the Power Off process is completed, that is, when the recording of the image data in the flash memory 15 and the storage of the lens are completed, the CPU 10 notifies the sub microcomputer 11 of the Power Off (the power of the CPU 10). (Information to turn off) is sent (step S66). As described above, when the power-off notification is sent from the CPU 10, the sub-microcomputer 11 enters the sleep state after stopping the supply of voltage to the CPU 10.

C.以上のように、実施の形態においては、サブマイコン11は、電池14が投入されたと判断すると、CPU10に電圧を供給することによりCPU10の電源をOnさせるとともに、電池が投入された旨を通知させ、CPU10は、電源がOnにされ、電池が投入された旨が通知されると、ユーザに電池の設定を行なわせるべく、電池設定メニューを表示させるので、電池交換の際、電池の種類の設定忘れを防止することができ、電池残量を正確に認識することができる。
また、電池残量を正確に認識することができるので、適切な電池残量表示を行うこともできる。
C. As described above, in the embodiment, when the sub-microcomputer 11 determines that the battery 14 has been turned on, the CPU 10 turns on the power of the CPU 10 by supplying a voltage to the CPU 10 and notifies that the battery has been turned on. When the CPU 10 is notified that the power is turned on and the battery has been inserted, the CPU 10 displays a battery setting menu in order to allow the user to set the battery. Forgetting can be prevented, and the remaining battery level can be accurately recognized.
In addition, since the remaining battery level can be accurately recognized, an appropriate remaining battery level can be displayed.

なお、上記実施の形態においては、電池が投入されると、CPU10の電源をOnさせるとともに、電池設定メニューを画像表示部16に表示させるようにしたが、電池投入後、ユーザの最初の電源On操作時に電池設定メニューを画像表示部16に表示させるようにしてもよい。
また、電池が投入されると(電池交換の際)、電池設定メニューを画像表示部16に表示させるようにしたが、電池設定を促すメッセージを表示させるようにしてもよい。メッセージとしては、例えば、「電池の設定を行なってください」という文章であってもよいし、電池設定を促すアイコンであってもよい。この場合には、ユーザがメニューキーの操作を行なうことにより、電池設定メニューを表示させて、電池の設定を行なうことができる。
In the above embodiment, when the battery is turned on, the power of the CPU 10 is turned on and the battery setting menu is displayed on the image display unit 16. You may make it display a battery setting menu on the image display part 16 at the time of operation.
Further, when the battery is inserted (when the battery is replaced), the battery setting menu is displayed on the image display unit 16, but a message for prompting the battery setting may be displayed. The message may be, for example, a sentence “Please set the battery” or an icon that prompts the user to set the battery. In this case, the user can operate the menu key to display the battery setting menu and set the battery.

また、図3のステップS1では、電池14から電力が供給されていない状態から、電池14から電力が供給される状態になった場合には、電池が投入されたと判断するようにしたが、電池を仕舞う蓋(電池蓋)の開閉の有無を判断したり、電池が装着されたか否かを判断するようにしてもよい。つまり、電池蓋の開閉が行なわれたと判断された場合、電池が装着されたと判断された場合は、電池が投入されたと判断するようにしてもよい。
この電池蓋の開閉の有無の判断は、開閉の有無を検出するセンサやスイッチボタンによって判断するようにし、電池が装着されたか否かの判断も、電池が装着されたか否かを判断するセンサや、スイッチボタンにより判断するようにする。
Further, in step S1 of FIG. 3, when the power is supplied from the battery 14 from the state where the power is not supplied from the battery 14, it is determined that the battery is inserted. It may be determined whether or not a lid (battery lid) is closed or not, or whether or not a battery is attached. That is, when it is determined that the battery lid is opened or closed, or when it is determined that the battery is attached, it may be determined that the battery is inserted.
Whether the battery lid is opened or closed is determined by a sensor or switch button that detects whether the battery lid is opened or closed, and whether or not a battery is installed is also determined by whether a sensor is installed or not. Judgment is made by a switch button.

また、電池設定メニューとしては、複数の電池の種類の名称及び画像を一覧表示させるようにしたが、画像のみを一覧表示させるようにしてもよいし、名称のみを一覧表示させるようにしてもよい。
また、電池残量と電池設定メニューとを画像表示部16に表示させるようにしたが、電池残量を表示させる表示部を別に設け、その表示部に電池残量を表示させるようにしてもよい。
In addition, as the battery setting menu, names and images of a plurality of types of batteries are displayed as a list, but only images may be displayed as a list, or only names may be displayed as a list. .
In addition, the remaining battery level and the battery setting menu are displayed on the image display unit 16, but a display unit for displaying the remaining battery level may be provided separately, and the remaining battery level may be displayed on the display unit. .

また、図4のステップS55では、ユーザによりSETキーの操作が行なわれたと判断すると、ステップS58に進むようにしたが、ステップS54及びステップS57で、差別表示を行ってから新たに電池が選択されることなく(ステップS55でNに分岐)、所定時間が経過した場合には、セットキーの操作が行なわれたと判断してステップS58に進むようにしてもよい。また、ユーザの電源On/Offキーの操作により電源Off操作が行なわれた場合には、セットキーの操作が行なわれと判断して(ステップS55でYに分岐)、選択されている電池の設定(ステップS58)、設定された電池の種類に対応する終止電圧の設定(ステップS59)を行なってから、パワーオフ通知を行い、サブマイコン11はCPU10の電源をOffするようにしてもよい。   In step S55 of FIG. 4, when it is determined that the user has operated the SET key, the process proceeds to step S58. However, in step S54 and step S57, a new battery is selected after the discrimination display. Without branching (branch to N in step S55), if the predetermined time has elapsed, it may be determined that the set key has been operated, and the process may proceed to step S58. If the power-off operation is performed by the user's power-on / off key operation, it is determined that the set key is operated (branch to Y in step S55), and the selected battery is set. (Step S58) After setting the end voltage corresponding to the set battery type (Step S59), a power-off notification may be made, and the sub-microcomputer 11 may turn off the power of the CPU 10.

また、電池温度によって電池の放電特性も変わってしまうので、更にメモリ9の電圧値テーブルに、終止電圧値や、70%電圧値等を電池温度毎に記録しておき、電池の種類と電池温度に対応する終止電圧値に設定したり、電池残量を判定するようにしてもよい。また、電池温度毎に終止電圧値などをテーブルに記録せずに、電池温度毎に対応する終止電圧値等を演算して求めるようにしてもよい。   Further, since the discharge characteristics of the battery also change depending on the battery temperature, the final voltage value, the 70% voltage value, etc. are further recorded for each battery temperature in the voltage value table of the memory 9, and the battery type and the battery temperature are recorded. May be set to the end voltage value corresponding to, or the remaining battery level may be determined. Alternatively, the end voltage value or the like corresponding to each battery temperature may be calculated and obtained without recording the end voltage value or the like for each battery temperature in the table.

更に、本発明の電子機器は上記実施の形態におけるデジタルカメラ1に限定されるものではなく、携帯電話、PDA、パソコン、ICレコーダ、音楽携帯プレーヤー又はデジタルビデオカメラ等でもよく、要は電池を駆動源とする機器であれば何でもよい。   Furthermore, the electronic apparatus of the present invention is not limited to the digital camera 1 in the above embodiment, and may be a mobile phone, a PDA, a personal computer, an IC recorder, a portable music player, a digital video camera, or the like. Any device can be used.

本発明の実施の形態のデジタルカメラのブロック図である。1 is a block diagram of a digital camera according to an embodiment of the present invention. メモリ9に格納された電圧テーブルを示すものである。3 shows a voltage table stored in the memory 9. 本実施の形態におけるサブマイコン11の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the submicrocomputer 11 in this Embodiment. 本実施の形態におけるCPU10の動作を示すフローチャートである。It is a flowchart which shows operation | movement of CPU10 in this Embodiment. 画像表示部16に表示された電池設定メニューを示す図である。It is a figure which shows the battery setting menu displayed on the image display part.

符号の説明Explanation of symbols

1 デジタルカメラ
2 撮影レンズ
3 レンズ駆動ブロック
4 絞り兼用シャッタ
5 CCD
6 TG
7 ユニット回路
8 DRAM
9 メモリ
10 CPU
11 サブマイコン
12 キー入力部
13 電源回路
14 電池
15 フラッシュメモリ
16 画像表示部
1 Digital Camera 2 Shooting Lens 3 Lens Drive Block 4 Shutter / Shutter 5 CCD
6 TG
7 Unit circuit 8 DRAM
9 Memory 10 CPU
11 Sub-microcomputer 12 Key input unit 13 Power supply circuit 14 Battery 15 Flash memory 16 Image display unit

Claims (12)

ユーザが電池の種類を設定するための設定手段と、
前記設定手段により設定された電池の種類に対応する電池の終止電圧を設定する電圧設定手段と、
電池がセットされたか否かを判断する判断手段と、
前記判断手段により電池がセットされたと判断された場合は、ユーザに対して前記設定手段による電池の種類の設定を促す画面を表示手段に表示させる第1の表示制御手段と、
を備えたことを特徴とする電子機器。
A setting means for the user to set the battery type;
Voltage setting means for setting an end voltage of the battery corresponding to the type of battery set by the setting means;
A judging means for judging whether or not a battery is set;
First display control means for causing the display means to display a screen prompting the user to set the battery type by the setting means when the determination means determines that a battery has been set;
An electronic device characterized by comprising:
前記設定手段により設定された電池の終止電圧に基づいて、現在の電池残量を判定する判定手段と、
前記判定手段により判定された現在の電池残量を前記表示手段に表示させる第2の表示制御手段と、
を備えたことを特徴とする請求項1記載の電子機器。
A determination means for determining a current remaining battery level based on the end voltage of the battery set by the setting means;
Second display control means for causing the display means to display the current remaining battery capacity determined by the determination means;
The electronic apparatus according to claim 1, further comprising:
前記判定手段により判定された電池残量がない場合には、パワーオフ処理を行なってから前記電子機器の電源をパワーオフさせる電源オフ手段を備えたことを特徴とする請求項2記載の電子機器。 3. The electronic device according to claim 2, further comprising a power-off unit that powers off the power source of the electronic device after performing a power-off process when there is no remaining battery level determined by the determination unit. . 前記電池の終止電圧は、
パワーオフ処理を実行させるのに必要最低限の電圧以上の電圧であることを特徴とする請求項3記載の電子機器。
The final voltage of the battery is
4. The electronic apparatus according to claim 3, wherein the voltage is equal to or higher than a minimum voltage necessary for executing the power-off process.
前記第1の表示制御手段は、
前記判断手段により電池がセットされたと判断された直後に、ユーザに対して電池の種類の設定を促す画面を前記表示手段に表示させることを特徴とする請求項1乃至4の何れかに記載の電子機器。
The first display control means includes
5. The display unit according to claim 1, wherein a screen prompting a user to set a battery type is displayed on the display unit immediately after the determination unit determines that a battery has been set. 6. Electronics.
ユーザが前記電子機器の電源をパワーオンさせるための指示手段と、
前記指示手段により電源のパワーオンの指示がされた場合には、前記電子機器の電源をオンさせる電源オン手段と、
を備え、
前記第1の表示制御手段は、
前記判断手段により電池がセットされたと判断された後、前記電源オン手段により最初に電源がオンされたときに、ユーザに対して電池の種類の設定を促す画面を前記表示手段に表示させることを特徴とする請求項1乃至4の何れかに記載の電子機器。
Instruction means for a user to power on the electronic device;
When the instruction means instructs to turn on the power, the power on means for turning on the electronic device;
With
The first display control means includes
When the battery is first set by the power-on means after the determination means determines that the battery has been set, a screen prompting the user to set the battery type is displayed on the display means. The electronic device according to claim 1, wherein the electronic device is characterized in that:
前記第1の表示制御手段は、
複数の電池の種類を前記表示手段に一覧表示させることを特徴とする請求項1乃至6の何れかに記載の電子機器。
The first display control means includes
7. The electronic apparatus according to claim 1, wherein a list of a plurality of battery types is displayed on the display means.
前記第1の表示制御手段は、
複数の電池の種類に対応するそれぞれの画像を一覧表示させることを特徴とする請求項7記載の電子機器。
The first display control means includes
8. The electronic apparatus according to claim 7, wherein a list of images corresponding to a plurality of types of batteries is displayed.
前記第1の表示制御手段は、
複数の電池の種類に対応するそれぞれの名称を一覧表示させることを特徴とする請求項7又は8記載の電子機器。
The first display control means includes
9. The electronic apparatus according to claim 7, wherein a list of names corresponding to a plurality of types of batteries is displayed.
前記第1の表示制御手段は、
ユーザに対して電池設定を促すメッセージを前記表示手段に表示させることを特徴とする請求項1乃至6の何れかに記載の電子機器。
The first display control means includes
7. The electronic apparatus according to claim 1, wherein a message prompting the user to set a battery is displayed on the display unit.
前記判断手段は、
電池から電力が供給されていない状態から電池から電力が供給された状態になったか否かの判断、又は、電池の蓋が開閉されたか否かの判断、又は、電池が装着されたか否かの判断のうち、何れか1つの判断に基づいて、電池がセットされたか否かの判断を行うことを特徴とする請求項1乃至10の何れかに記載の電子機器。
The determination means includes
Judgment whether power is supplied from the battery from the state where power is not supplied from the battery, determination of whether the battery lid is opened or closed, or whether the battery is installed 11. The electronic apparatus according to claim 1, wherein a determination is made as to whether or not a battery has been set based on any one of the determinations.
ユーザが電池の種類を設定するための設定手段と、
前記設定手段により設定された電池の種類に対応する電池の終止電圧を設定する電圧設定手段と、
を備えた電子機器を実行させるためのプログラムであって、
電池がセットされたか否かを判断する処理と、
この処理により電池がセットされたと判断された場合は、ユーザに対して電池の種類の設定を促す画面を表示部に表示させる処理と、
を含み、上記各処理を電子機器で実行させることを特徴とするプログラム。
A setting means for the user to set the battery type;
Voltage setting means for setting an end voltage of the battery corresponding to the type of battery set by the setting means;
A program for executing an electronic device comprising:
A process for determining whether or not a battery is set;
If it is determined that the battery is set by this process, a process for displaying a screen prompting the user to set the battery type on the display unit;
And executing the above-described processes on an electronic device.
JP2005189750A 2005-06-29 2005-06-29 Electronic device and program thereof Pending JP2007012360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005189750A JP2007012360A (en) 2005-06-29 2005-06-29 Electronic device and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005189750A JP2007012360A (en) 2005-06-29 2005-06-29 Electronic device and program thereof

Publications (1)

Publication Number Publication Date
JP2007012360A true JP2007012360A (en) 2007-01-18

Family

ID=37750581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005189750A Pending JP2007012360A (en) 2005-06-29 2005-06-29 Electronic device and program thereof

Country Status (1)

Country Link
JP (1) JP2007012360A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016158132A1 (en) * 2015-03-31 2016-10-06 日立工機株式会社 Electric tool
US12416674B2 (en) 2022-03-02 2025-09-16 Samsung Electronics Co., Ltd. Electronic device and method of displaying information of a plurality of batteries using the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016158132A1 (en) * 2015-03-31 2016-10-06 日立工機株式会社 Electric tool
JPWO2016158132A1 (en) * 2015-03-31 2017-12-07 日立工機株式会社 Electric tool
US12416674B2 (en) 2022-03-02 2025-09-16 Samsung Electronics Co., Ltd. Electronic device and method of displaying information of a plurality of batteries using the same

Similar Documents

Publication Publication Date Title
US8441232B2 (en) Electronic apparatus and display method of remaining battery level
US20050237411A1 (en) Camera and control method for camera
JP2004096641A (en) Imaging device and control method thereof
JP2003051977A (en) Imaging device, imaging device control method, program, and storage medium
JP4308681B2 (en) Imaging device
JP5518148B2 (en) Electronic device and control method thereof
JP5473349B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
US20220394188A1 (en) Imaging device, information processing method, and program
JP2021071540A (en) Control apparatus, control method, and program
JP2007081556A (en) Imaging apparatus and control method thereof
JP2007012360A (en) Electronic device and program thereof
JP4261815B2 (en) Imaging device
JP2007166041A (en) Digital camera and power supply control method thereof
US7499640B2 (en) Image-recording apparatus
JP2005221771A (en) Imaging apparatus and function display method
JP4477214B2 (en) Electronic camera
JP2015161893A (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2002247420A (en) Electronic camera
JP2006039203A (en) Imaging apparatus and control method
JP2006203689A (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2006270426A (en) IMAGING DEVICE, ITS CONTROL METHOD, AND COMPUTER PROGRAM
JP2002094855A (en) Image processing apparatus, imaging apparatus, control method for image processing apparatus, and storage medium
JP2006033345A (en) Image processing device
JP2004077949A (en) camera
JP2004023540A (en) Photographing device