JP2026005668A - Electronic device, system, electronic device control method, program, and storage medium - Google Patents
Electronic device, system, electronic device control method, program, and storage mediumInfo
- Publication number
- JP2026005668A JP2026005668A JP2024104164A JP2024104164A JP2026005668A JP 2026005668 A JP2026005668 A JP 2026005668A JP 2024104164 A JP2024104164 A JP 2024104164A JP 2024104164 A JP2024104164 A JP 2024104164A JP 2026005668 A JP2026005668 A JP 2026005668A
- Authority
- JP
- Japan
- Prior art keywords
- power
- level
- voltage
- electronic device
- communication line
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Accessories Of Cameras (AREA)
- Studio Devices (AREA)
- Direct Current Feeding And Distribution (AREA)
Abstract
【課題】アクセサリから受ける電力の電圧を要求可能な電子機器において、電子機器の起動時間の増加を防ぎ、より適切な電圧をアクセサリから電子機器に供給可能にする。
【解決手段】電子機器は、起動時において、通信線の信号レベルが第1のレベルである場合には、第1の電圧の電力を供給するように所定のアクセサリに要求し、信号レベルが第2のレベルである場合には、当該要求することを行わない通信手段と、通信手段が第1の電圧の電力を供給するように要求すると、信号レベルを第2のレベルに設定する第1の設定手段と、電源が停止された後において、電源の停止時における信号レベルを維持するように制御する第1の制御手段と、を有する。電源が停止された後において、信号レベルが第2のレベルから第1のレベルに変化したことが検出されると、通信手段は、所定のアクセサリに第1の電圧の電力を要求する。
【選択図】図4
In an electronic device capable of requesting a voltage for power received from an accessory, an increase in startup time of the electronic device is prevented, and a more appropriate voltage can be supplied from the accessory to the electronic device.
[Solution] An electronic device has a communication means that, at startup, requests a predetermined accessory to supply power of a first voltage when a signal level of a communication line is a first level, and does not make the request when the signal level is a second level, a first setting means that sets the signal level to the second level when the communication means requests power of the first voltage, and a first control means that, after power is cut off, controls to maintain the signal level at the time of power cut off. After power is cut off, when it is detected that the signal level has changed from the second level to the first level, the communication means requests power of the first voltage from the predetermined accessory.
[Selected Figure] Figure 4
Description
本発明は、電子機器、システム、電子機器の制御方法、プログラム、記憶媒体に関する。 The present invention relates to electronic devices, systems, electronic device control methods, programs, and storage media.
従来、撮像装置に電力を供給する電源アクセサリが知られている。電源アクセサリは、撮像装置の電池室に装着可能な形状を有する。電池の代わりに電源アクセサリを電池室に装着することで、家庭用電源などから撮像装置に電力を供給できる。また、異なる機種において電池室の形状を統一することで、バッテリや電源アクセサリを異なる機種の間で共通に使用することが行われている。 Power accessories that supply power to imaging devices are known. These power accessories have a shape that allows them to be attached to the battery compartment of an imaging device. By attaching the power accessory to the battery compartment instead of a battery, power can be supplied to the imaging device from a household power source, etc. Furthermore, by standardizing the shape of the battery compartment across different models, batteries and power accessories can be used interchangeably across different models.
また、撮像装置の多機能化等により、撮像装置の消費電力が増加している。消費電力の増加に伴い、より大きな電力を供給できる電源アクセサリが必要となる。一方で、同じ電池室の形状を持つ、消費電力が大きくない従来製品の撮像装置に対しても、このような大きな電力を給電できる電源アクセサリを使用できるようにすることは有効である。そのためには、電源アクセサリが装着される撮像装置に対して適した電力を供給できることが望ましい。例えば、電源アクセサリが、接続された撮像装置に応じた適切な電圧や電流を出力できればよい。 Furthermore, as imaging devices become more multifunctional, their power consumption is increasing. This increase in power consumption necessitates power accessories that can supply greater amounts of power. However, it would be effective to enable the use of power accessories that can supply such large amounts of power with conventional imaging devices that have the same battery compartment shape but do not consume much power. To achieve this, it is desirable for the power accessory to be able to supply power appropriate to the imaging device to which it is attached. For example, it would be sufficient if the power accessory could output the appropriate voltage and current for the imaging device connected to it.
従来、USB Power Delivery(USB PD)という、USB Type-C端子に対応した給電規格が知られている。そして、USB PDに対応した撮像装置および様々なデバイスが普及している。USB PD規格によれば、給電装置は複数の電圧と電流を供給可能である。USB PD規格に対応した受電装置は、給電装置が出力可能な複数の電圧のうち所望の電圧を要求することができる。このため、電源アクセサリがUSB PDに対応した受電装置の機能を持つことは有効である。特許文献1と特許文献2には、給電装置と受電装置を含む構成が記載されている。 Conventionally, a power supply standard compatible with USB Type-C terminals, called USB Power Delivery (USB PD), is known. Imaging devices and various other devices compatible with USB PD are widely available. According to the USB PD standard, a power supply device can supply multiple voltages and currents. A power receiving device compatible with the USB PD standard can request a desired voltage from among the multiple voltages that the power supply device can output. For this reason, it is effective for a power accessory to have the functionality of a power receiving device compatible with USB PD. Patent Documents 1 and 2 describe configurations including a power supply device and a power receiving device.
電源アクセサリがUSB PD規格の受電装置としての機能を持つことで、給電装置から状況に応じて異なる電圧を受けることが可能となる。そのため、電源アクセサリが、電源アクセサリに接続された撮像装置に対応した電圧を要求し、撮像装置に供給することができる。一方、USB PDでは、給電装置と受電装置が接続されると、電力ネゴシエーションを行って、受電装置が所望の電圧を給電装置に要求した後、給電装置から電力が供給される。USB PDに対応した電源アクセサリから撮像装置が電力を受ける場合、撮像装置の起動時においては、このように電源アクセサリがUSB PDの給電装置と電力ネゴシエーションを実施した後、要求した電圧が給電装置から出力されるのを待つ必要がある。このように、電源アクセサリから撮像装置に所望の電圧が供給されるまでには複数の手続きが存在する。そして、必要な電力が電源アクセサリから撮像装置に供給された後に、撮像装置が起動処理を実行することが望ましい。そのため、撮像装置の起動時間が増加するという課題がある。 By functioning as a USB PD-compliant power receiving device, a power accessory can receive different voltages from a power supply device depending on the situation. This allows the power accessory to request a voltage appropriate for the imaging device connected to the power accessory and supply it to the imaging device. On the other hand, with USB PD, when a power supply device and a power receiving device are connected, power negotiation occurs. The power receiving device requests the desired voltage from the power supply device, and then power is supplied from the power supply device. When an imaging device receives power from a USB PD-compatible power accessory, upon startup, the power accessory must negotiate with the USB PD power supply device and then wait for the requested voltage to be output from the power supply device. Thus, multiple steps are required before the desired voltage is supplied from the power accessory to the imaging device. It is desirable for the imaging device to perform startup processing after the required power is supplied from the power accessory to the imaging device. This poses a problem of increased startup time for the imaging device.
また、電源アクセサリと給電装置との接続が切断され、再度、接続された場合にも、同様に、電源アクセサリから撮像装置に対し、撮像装置に対応した電圧を供給する必要がある。 Furthermore, if the power accessory and power supply device are disconnected and then reconnected, the power accessory must similarly supply a voltage appropriate for the imaging device to the imaging device.
そこで、本発明は、アクセサリから受ける電力の電圧を要求可能な電子機器において、電子機器の起動時間の増加を防ぎ、より適切な電圧をアクセサリから電子機器に供給可能にする技術の提供を目的とする。 The present invention aims to provide technology that prevents an increase in startup time for electronic devices that can request a power voltage from an accessory, and enables the accessory to supply a more appropriate voltage to the electronic device.
本発明の1つの態様は、
電力を供給する所定のアクセサリが取り外し可能に接続される電子機器であって、
通信線を介して前記所定のアクセサリと通信を行う手段であって、前記電子機器の起動時において、前記通信線の信号レベルが第1のレベルである場合には、第1の電圧の電力を供給するように前記所定のアクセサリに要求し、前記通信線の信号レベルが第2のレベルである場合には、前記第1の電圧の電力を供給するように前記所定のアクセサリに要求することを行わない所定の通信処理を行う通信手段と、
前記通信手段が前記第1の電圧の電力を供給するように前記所定のアクセサリに要求すると、前記通信線の信号レベルを前記第2のレベルに設定する第1の設定手段と、
前記電子機器の電源が停止された状態となった後において、前記電子機器の電源の停止時における前記通信線の信号レベルを維持するように制御する第1の制御手段と、
前記通信線の信号レベルが前記第2のレベルに設定されている場合に、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを検出可能な検出手段と、
を有し、
前記電子機器の電源が停止された状態となった後において、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを前記検出手段が検出すると、前記通信手段は、前記所定のアクセサリに前記第1の電圧の電力を要求する
ことを特徴とする電子機器である。
One aspect of the present invention is a method for producing a medicament for the treatment of a pulmonary arthritis.
An electronic device to which a predetermined accessory that supplies power is removably connected,
a communication means for communicating with the predetermined accessory via a communication line, the communication means performing predetermined communication processing to request the predetermined accessory to supply power of a first voltage when the signal level of the communication line is a first level, and not to request the predetermined accessory to supply power of the first voltage when the signal level of the communication line is a second level, when the electronic device is started up;
a first setting means for setting a signal level of the communication line to the second level when the communication means requests the predetermined accessory to supply power of the first voltage;
a first control means for controlling the electronic device so that the signal level of the communication line is maintained at the time when the power supply of the electronic device was stopped after the power supply of the electronic device was stopped;
a detection means for detecting a change in the signal level of the communication line from the second level to the first level when the signal level of the communication line is set to the second level;
and
This electronic device is characterized in that when the detection means detects that the signal level of the communication line has changed from the second level to the first level after the power supply of the electronic device has been stopped, the communication means requests power of the first voltage from the specified accessory.
本発明の1つの態様は、
電力を供給する所定のアクセサリが取り外し可能に接続される電子機器の制御方法であって、
通信線を介して前記所定のアクセサリと通信を行うステップであって、前記電子機器の起動時において、前記通信線の信号レベルが第1のレベルである場合には、第1の電圧の電力を供給するように前記所定のアクセサリに要求し、前記通信線の信号レベルが第2のレベルである場合には、前記第1の電圧の電力を供給するように前記所定のアクセサリに要求することを行わない所定の通信処理を行う通信ステップと、
前記通信ステップにおいて前記第1の電圧の電力を供給するように前記所定のアクセサリに要求すると、前記通信線の信号レベルを前記第2のレベルに設定する第1の設定ステップと、
前記電子機器の電源が停止された状態となった後において、前記電子機器の電源の停止時における前記通信線の信号レベルを維持するように制御する第1の制御ステップと、
前記通信線の信号レベルが前記第2のレベルに設定されている場合に、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを検出可能な検出ステップと、
を有し、
前記電子機器の電源が停止された状態となった後において、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことが前記検出ステップにおいて検出されると、前記通信ステップでは、前記所定のアクセサリに前記第1の電圧の電力を要求する
ことを特徴とする電子機器の制御方法である。
One aspect of the present invention is a method for producing a medicament for the treatment of a pulmonary arthritis.
A method for controlling an electronic device to which a predetermined accessory that supplies power is removably connected, comprising:
a communication step of performing a predetermined communication process in which, when the signal level of the communication line is a first level, the predetermined accessory is requested to supply power of a first voltage, and when the signal level of the communication line is a second level, the predetermined accessory is not requested to supply power of the first voltage;
a first setting step of setting a signal level of the communication line to the second level when the predetermined accessory is requested to supply power of the first voltage in the communication step;
a first control step of performing control so as to maintain the signal level of the communication line at the time when the power supply of the electronic device was stopped after the power supply of the electronic device was stopped;
a detecting step capable of detecting, when the signal level of the communication line is set to the second level, that the signal level of the communication line has changed from the second level to the first level;
and
This is a control method for an electronic device, characterized in that when the detection step detects that the signal level of the communication line has changed from the second level to the first level after the power supply of the electronic device has been stopped, the communication step requests power of the first voltage from the specified accessory.
本発明によれば、アクセサリから受ける電力の電圧を要求可能な電子機器において、電子機器の起動時間の増加を防ぎ、より適切な電圧をアクセサリから電子機器に供給できる。 This invention prevents an increase in startup time for electronic devices that can request a power voltage from an accessory, and allows the accessory to supply a more appropriate voltage to the electronic device.
以下、図面を参照し、本発明を実現する実施形態を説明する。 The following describes an embodiment of the present invention with reference to the drawings.
<実施形態1>
実施形態1では、「デジタルカメラ」と「USB PDに対応したACアダプター」に関する、電力ネゴシエーションについて説明する。
<Embodiment 1>
In the first embodiment, power negotiation between a "digital camera" and an "AC adapter compatible with USB PD" will be described.
図1は、適用可能な装置(電子機器)の一例としてのデジタルカメラ100の外観図を示す。デジタルカメラ100には、ACアダプター203が取り外し可能に接続される。表示部28は、画像および各種情報を表示する表示部である。シャッターボタン61は、撮影指示を行うための操作部である。モード切替スイッチ60は、各種モードを切り替えるための操作部である。接続ケーブル111は、外部機器(パーソナルコンピュータまたはプリンタなど)と接続するためのケーブルである。コネクタ112は、接続ケーブル111とデジタルカメラ100とのコネクタである。操作部70は、ユーザからの各種操作を受け付ける操作部材(各種スイッチ、ボタン、またはタッチパネルなど)を含む。コントローラホイール73は、操作部70に含まれる回転操作可能な操作部材である。電源スイッチ72は、電源オンと電源オフとを切り替えるための押しボタンである。 Figure 1 shows an external view of a digital camera 100 as an example of an applicable device (electronic device). An AC adapter 203 is removably connected to the digital camera 100. The display unit 28 displays images and various information. The shutter button 61 is an operation unit for issuing shooting instructions. The mode switch 60 is an operation unit for switching between various modes. The connection cable 111 is a cable for connecting to an external device (such as a personal computer or printer). The connector 112 is a connector between the connection cable 111 and the digital camera 100. The operation unit 70 includes operation members (such as various switches, buttons, or a touch panel) that accept various operations from the user. The controller wheel 73 is a rotatable operation member included in the operation unit 70. The power switch 72 is a push button for switching the power on and off.
記録媒体200は、メモリカードまたはハードディスクなどの記録媒体である。ACアダプター203は、デジタルカメラ100に電力を供給する所定の電源アクセサリである。ACアダプター203は、USBコネクタ204を備える。USBコネクタ204は、USB Power Delivery(USB PD)に対応した給電装置であるPD電源アダプター205と接続される。PD電源アダプター205は、プラグ206を介して家庭用電源に接続される電源装置である。USB Type-Cのケーブルを介して、USB PDに対応した受電装置がPD電源アダプター205に接続されると、PD電源アダプター205からUSB PD規格に応じた(USB PD規格に従った)電力供給が行われる。図1では、USB PDに対応した受電装置であるACアダプター203がPD電源アダプター205に接続され、PD電源アダプター205からUSB PD規格に応じてACアダプター203に電力供給が行われる。このように、PD電源アダプター205からACアダプター203を介してデジタルカメラ100に安定的な電力が供給される。 The recording medium 200 is a recording medium such as a memory card or a hard disk. The AC adapter 203 is a specified power accessory that supplies power to the digital camera 100. The AC adapter 203 has a USB connector 204. The USB connector 204 is connected to a PD power adapter 205, a power supply device that supports USB Power Delivery (USB PD). The PD power adapter 205 is a power supply device that connects to a household power source via a plug 206. When a USB PD-compatible power receiving device is connected to the PD power adapter 205 via a USB Type-C cable, the PD power adapter 205 supplies power in accordance with the USB PD standard. In FIG. 1, the AC adapter 203, a USB PD-compatible power receiving device, is connected to the PD power adapter 205, and the PD power adapter 205 supplies power to the AC adapter 203 in accordance with the USB PD standard. In this way, stable power is supplied to the digital camera 100 from the PD power adapter 205 via the AC adapter 203.
スロット201は、記録媒体200とACアダプター203を格納するためのスロットである。スロット201は不図示の電池室を有し、バッテリ300がデジタルカメラ10
0の電源として使用される場合には、電池室にはバッテリ300が装着される。また、ACアダプター203がデジタルカメラ100の電源として使用される場合、電池室には、バッテリ300に代えて、ACアダプター203が装着される。バッテリ300とACアダプター203は同じ形状を有する。ユーザは、電池室に対して、バッテリ300とACアダプター203のいずれかを容易に装着可能であり、また、これらを電池室から容易に排出することができる。また、電池室には、デジタルカメラ100が、バッテリ300あるいはACアダプター203と通信を行うための端子や、電力を受けるための端子が設けられている。バッテリ300あるいはACアダプター203側の端子がこれらの端子と接続されることで、バッテリ300あるいはACアダプター203からの給電や通信が可能となる。スロット201に格納された記録媒体200は、デジタルカメラ100との通信が可能であるため、デジタルカメラ100から取得した画像の記録および再生が可能である。蓋202は、スロット201の蓋である。図1は、蓋202を開けてスロット201から記録媒体200の一部と、ACアダプター203の一部を取り出して露出させた状態を示している。
The slot 201 is a slot for storing the recording medium 200 and the AC adapter 203. The slot 201 has a battery chamber (not shown), and the battery 300 is inserted into the digital camera 10.
When the digital camera 100 is used as a power source for the digital camera 100, a battery 300 is installed in the battery compartment. When the AC adapter 203 is used as a power source for the digital camera 100, the AC adapter 203 is installed in the battery compartment instead of the battery 300. The battery 300 and the AC adapter 203 have the same shape. A user can easily install either the battery 300 or the AC adapter 203 in the battery compartment and easily remove them from the battery compartment. The battery compartment is also provided with terminals for communication between the digital camera 100 and the battery 300 or the AC adapter 203 and for receiving power. By connecting the terminals on the battery 300 or the AC adapter 203 to these terminals, power supply from the battery 300 or the AC adapter 203 and communication are possible. The recording medium 200 stored in the slot 201 can communicate with the digital camera 100, and therefore can record and play back images acquired from the digital camera 100. The lid 202 is a lid for the slot 201. FIG. 1 shows a state in which the cover 202 is opened and a part of the recording medium 200 and a part of the AC adapter 203 are removed and exposed from the slot 201.
図2は、実施形態1に係るデジタルカメラ100の構成例を示すブロック図である。撮影レンズ103は、ズームレンズおよびフォーカスレンズを含むレンズ群である。シャッター101は、絞り機能を備える。撮像部22は、光学像を電気信号に変換するCCDやCMOS素子等で構成される撮像素子(イメージセンサー)である。A/D変換器23は、アナログ信号をデジタル信号に変換する。A/D変換器23は、撮像部22から出力されるアナログ信号をデジタル信号に変換するために用いられる。バリア102は、撮像系(撮影レンズ103、シャッター101、撮像部22を含む)を覆うことにより、撮像系の汚れ、および破損を防止する。 Figure 2 is a block diagram showing an example configuration of a digital camera 100 according to embodiment 1. The photographing lens 103 is a lens group including a zoom lens and a focus lens. The shutter 101 has an aperture function. The imaging unit 22 is an imaging element (image sensor) composed of a CCD, CMOS element, or the like that converts an optical image into an electrical signal. The A/D converter 23 converts analog signals into digital signals. The A/D converter 23 is used to convert analog signals output from the imaging unit 22 into digital signals. The barrier 102 covers the imaging system (including the photographing lens 103, shutter 101, and imaging unit 22) to prevent the imaging system from becoming dirty or being damaged.
画像処理部24は、A/D変換器23からのデータ、または、メモリ制御部15からのデータに、画像処理(所定の画素補間、縮小といったリサイズ処理や色変換処理)を行う。また、画像処理部24は、撮像した画像データを用いて所定の演算処理を行う。画像処理部24により得られた演算結果に基づき、システム制御部50は、露光制御および測距制御を行う。これにより、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、およびEF(フラッシュプリ発光)処理が行われる。画像処理部24は、更に、撮像した画像データを用いて所定の演算処理を行う。画像処理部24は、得られた演算結果に基づき、TTL方式のAWB(オートホワイトバランス)処理を行う。 The image processing unit 24 performs image processing (predetermined pixel interpolation, resizing such as reduction, and color conversion) on data from the A/D converter 23 or data from the memory control unit 15. The image processing unit 24 also performs predetermined arithmetic processing using the captured image data. Based on the arithmetic results obtained by the image processing unit 24, the system control unit 50 performs exposure control and distance measurement control. This results in TTL (through-the-lens) AF (autofocus) processing, AE (autoexposure) processing, and EF (pre-flash) processing. The image processing unit 24 also performs predetermined arithmetic processing using the captured image data. Based on the arithmetic results obtained, the image processing unit 24 performs TTL AWB (auto white balance) processing.
A/D変換器23からの出力データは、画像処理部24およびメモリ制御部15を介して、或いは、メモリ制御部15のみを介してメモリ32に直接書き込まれる。メモリ32は、撮像部22によって得られ、A/D変換器23によりデジタルデータに変換された画像データを格納する。メモリ32は、表示部28に表示するための画像データを格納する。メモリ32は、所定枚数の静止画像や所定時間の動画像および音声を格納するのに十分な記憶容量を備えている。 The output data from the A/D converter 23 is written directly to the memory 32 via the image processing unit 24 and memory control unit 15, or via the memory control unit 15 alone. The memory 32 stores image data obtained by the imaging unit 22 and converted into digital data by the A/D converter 23. The memory 32 stores image data to be displayed on the display unit 28. The memory 32 has sufficient storage capacity to store a predetermined number of still images and a predetermined period of moving images and audio.
また、メモリ32は、画像表示用のメモリ(ビデオメモリ)を兼ねている。D/A変換器13は、メモリ32に格納されている画像表示用のデータをアナログ信号に変換して、表示部28に供給する。こうして、メモリ32に書き込まれた表示用の画像データは、D/A変換器13を介して、表示部28に送信される。表示部28は、LCD等の表示器上に、D/A変換器13からのアナログ信号に応じた表示を行う。A/D変換器23によって一度A/D変換されて、メモリ32にはデジタル信号が蓄積される。デジタル信号は、D/A変換器13においてアナログ変換が行われて、アナログ変換後の信号は、表示部28に逐次転送される。それにより、表示部28は、電子ビューファインダとして機能し、スルー画像表示(ライブビュー表示(LV表示))を行う。以下、ライブビューで表示さ
れる画像をLV画像と称する。
The memory 32 also serves as a memory (video memory) for image display. The D/A converter 13 converts the image display data stored in the memory 32 into an analog signal and supplies it to the display unit 28. The display image data written to the memory 32 in this manner is transmitted to the display unit 28 via the D/A converter 13. The display unit 28 displays an image on a display device such as an LCD in accordance with the analog signal from the D/A converter 13. The A/D converter 23 performs A/D conversion once, and the digital signal is stored in the memory 32. The digital signal is converted to analog by the D/A converter 13, and the analog-converted signal is sequentially transferred to the display unit 28. As a result, the display unit 28 functions as an electronic viewfinder and displays a through image (live view display (LV display)). Hereinafter, an image displayed in live view will be referred to as an LV image.
不揮発性メモリ56は、電気的に消去・記録可能な記録媒体である。不揮発性メモリ56には、例えば、EEPROM等が用いられる。不揮発性メモリ56には、システム制御部50の動作用の定数、プログラム等が記憶される。ここでいう、プログラムとは、実施形態1にて後述する各種フローチャートを実行するためのコンピュータプログラムである。 The non-volatile memory 56 is an electrically erasable and recordable recording medium. For example, an EEPROM is used as the non-volatile memory 56. Constants, programs, etc. for the operation of the system control unit 50 are stored in the non-volatile memory 56. The programs referred to here are computer programs for executing the various flowcharts described later in embodiment 1.
システム制御部50は、少なくとも1つのプロセッサーおよび/または少なくとも1つの回路からなる制御部である。システム制御部50は、デジタルカメラ100全体を制御する。システム制御部50は、前述した不揮発性メモリ56に記録されたプログラムを実行することで、後述する実施形態1の各処理を実現する。システムメモリ52には、例えばRAMが用いられる。システムメモリ52には、システム制御部50の動作用の定数、変数、不揮発性メモリ56から読み出したプログラム等が展開される。また、システム制御部50は、メモリ32、D/A変換器13、および表示部28等を制御することにより、表示制御も行う。 The system control unit 50 is a control unit consisting of at least one processor and/or at least one circuit. The system control unit 50 controls the entire digital camera 100. The system control unit 50 executes programs recorded in the non-volatile memory 56 mentioned above to realize each process described in embodiment 1 below. The system memory 52 uses, for example, RAM. Constants and variables for the operation of the system control unit 50, programs read from the non-volatile memory 56, etc. are loaded into the system memory 52. The system control unit 50 also performs display control by controlling the memory 32, D/A converter 13, display unit 28, etc.
システムタイマー53は、各種制御に用いる時間および、内蔵された時計の時間を計測する計時部である。 The system timer 53 is a timing unit that measures the time used for various controls and the time of the built-in clock.
モード切替スイッチ60、シャッターボタン61、および操作部70は、システム制御部50に各種の動作指示を入力するための操作部材である。モード切替スイッチ60は、システム制御部50の動作モードを静止画記録モード、動画撮影モード、および再生モードなどのいずれかに切り替える。静止画記録モードに含まれるモードとして、オート撮影モード、オートシーン判別モード、マニュアルモード、絞り優先モード(Avモード)、シャッター速度優先モード(Tvモード)、プログラムAEモードがある。また、静止画記録モードに含まれるモードとして、撮影シーン別の撮影設定となる各種シーンモード、カスタムモード等がある。モード切替スイッチ60を用いれば、ユーザは、これらのモードのいずれかに直接切り替えることができる。あるいは、モード切替スイッチ60で撮影モードの一覧画面に一旦切り換えた後に、表示された複数のモードのいずれかを選択し、他の操作部材を用いて切り替えるようにしてもよい。同様に、動画撮影モードにも複数のモードが含まれていてもよい。 The mode selector switch 60, shutter button 61, and operation unit 70 are operating components for inputting various operational instructions to the system control unit 50. The mode selector switch 60 switches the operating mode of the system control unit 50 between still image recording mode, video shooting mode, playback mode, etc. Modes included in the still image recording mode include auto shooting mode, auto scene determination mode, manual mode, aperture priority mode (Av mode), shutter speed priority mode (Tv mode), and program AE mode. Modes included in the still image recording mode also include various scene modes and custom modes, which provide shooting settings for specific shooting scenes. Using the mode selector switch 60, the user can directly switch to one of these modes. Alternatively, the user may first use the mode selector switch 60 to switch to a list screen of shooting modes, then select one of the displayed modes and use other operating components to switch between them. Similarly, the video shooting mode may also include multiple modes.
第1シャッタースイッチ62は、デジタルカメラ100に設けられたシャッターボタン61の操作途中、いわゆる半押し(撮影準備指示)でONとなると、第1シャッタースイッチ信号SW1を発生させる。第1シャッタースイッチ信号SW1の発生により、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作が開始する。 When the first shutter switch 62 is turned ON by half-pressing the shutter button 61 provided on the digital camera 100 (instructing preparation for shooting) during operation, it generates a first shutter switch signal SW1. The generation of the first shutter switch signal SW1 initiates operations such as AF (autofocus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, and EF (pre-flash) processing.
第2シャッタースイッチ64は、シャッターボタン61の操作完了、いわゆる全押し(撮影指示)でONとなると、第2シャッタースイッチ信号SW2を発生させる。システム制御部50は、第2シャッタースイッチ信号SW2の発生により、一連の撮影処理(撮像部22からの信号読み出しから記録媒体200に画像データを書き込むまで処理)の動作を開始する。 When the second shutter switch 64 is turned ON by completing the operation of the shutter button 61, i.e., by fully pressing it (instructing to take a photograph), it generates a second shutter switch signal SW2. Upon generation of the second shutter switch signal SW2, the system control unit 50 starts a series of photographing processes (processing from reading the signal from the imaging unit 22 to writing image data to the recording medium 200).
操作部70の各操作部材は、各種機能ボタンとして作用する。操作部70の各操作部材には、表示部28に表示される種々の機能アイコンを選択操作することなどにより、場面ごとに適宜機能が割り当てられる。機能ボタンとしては、例えば、終了ボタン、戻るボタン、画像送りボタン、ジャンプボタン、絞込みボタン、属性変更ボタン等がある。例えば、メニューボタンが押されると、各種の設定可能なメニュー画面が表示部28に表示され
る。利用者は、表示部28に表示されたメニュー画面と、上下左右の4方向ボタンやSETボタンとを用いて直感的に各種設定を行うことができる。
Each operating member of the operating unit 70 functions as a button for various functions. Appropriate functions are assigned to each operating member of the operating unit 70 for each situation by selecting and operating various function icons displayed on the display unit 28. Examples of the function buttons include an end button, a back button, an image forward button, a jump button, a filter button, and an attribute change button. For example, when the menu button is pressed, a menu screen on the display unit 28 in which various settings can be made is displayed. The user can intuitively make various settings using the menu screen displayed on the display unit 28, the four-way buttons (up, down, left, and right), and the SET button.
コントローラホイール73は、操作部70に含まれる回転操作可能な操作部材である。コントローラホイール73は、方向ボタンと共に選択項目を指示する際などに使用される。コントローラホイール73を回転操作すると、操作量に応じて電気的なパルス信号が発生し、このパルス信号に基づいてシステム制御部50はデジタルカメラ100の各部を制御する。このパルス信号によって、コントローラホイール73が回転操作された角度や、何回転したかなどを判定することができる。なお、コントローラホイール73は、回転操作が検出できる操作部材であればどのようなものでもよい。例えば、ユーザの回転操作に応じてコントローラホイール73自体が回転してパルス信号を発生するダイヤル操作部材であってもよい。また、タッチセンサよりなる操作部材で、コントローラホイール73自体は回転せず、コントローラホイール73上でのユーザの指の回転動作などを検出するものであってもよい(いわゆる、タッチホイール)。 The controller wheel 73 is a rotatable operating member included in the operating unit 70. The controller wheel 73 is used, together with the directional buttons, to indicate a selection item. When the controller wheel 73 is rotated, an electrical pulse signal is generated according to the amount of rotation, and the system control unit 50 controls each unit of the digital camera 100 based on this pulse signal. This pulse signal makes it possible to determine the angle at which the controller wheel 73 is rotated and the number of rotations made. The controller wheel 73 may be any operating member that can detect rotation. For example, it may be a dial operating member that rotates itself in response to a user's rotation and generates a pulse signal. Alternatively, it may be an operating member made of a touch sensor that does not rotate itself but detects the rotation of the user's finger on the controller wheel 73 (a so-called touch wheel).
電源制御部80は、電池検出回路、DC-DCコンバータ、スイッチ回路(通電するブロックを切り替える回路)などにより構成される。電源制御部80は、電池の装着の有無、電池の種類、および電池残量を検出する。また、電源制御部80は、その検出結果およびシステム制御部50の指示に基づいてDC-DCコンバータを制御し、必要な電圧を必要な期間、記録媒体200を含む各部へ供給する。 The power supply control unit 80 is composed of a battery detection circuit, a DC-DC converter, a switch circuit (a circuit that switches which blocks receive power), and other components. The power supply control unit 80 detects whether a battery is installed, the type of battery, and the remaining battery charge. Based on the detection results and instructions from the system control unit 50, the power supply control unit 80 controls the DC-DC converter to supply the required voltage for the required period to each unit, including the recording medium 200.
電源部30は、バッテリ300または、ACアダプター203である。バッテリ300は、例えば、一次電池(アルカリ電池またはリチウム電池など)、二次電池(NiCd電池やNiMH電池、またはLi電池など)を含む。実施形態1では、ACアダプター203がスロット201に装着され、電源部30を構成する場合を説明する。電源部30は、デジタルカメラ100に含まれていてもよいが、実施形態1ではデジタルカメラ100に含まれていないと仮定して説明を行う。このため、実施形態1は、デジタルカメラ100、電源部30(バッテリ300またはACアダプター203)、PD電源アダプター205などを含むシステムについて説明する実施形態である。 The power supply unit 30 is a battery 300 or an AC adapter 203. The battery 300 includes, for example, a primary battery (such as an alkaline battery or a lithium battery) or a secondary battery (such as a NiCd battery, a NiMH battery, or a Li battery). In embodiment 1, a case is described in which an AC adapter 203 is inserted into the slot 201 to form the power supply unit 30. The power supply unit 30 may be included in the digital camera 100, but in embodiment 1, the description will be given assuming that it is not included in the digital camera 100. Therefore, embodiment 1 is an embodiment that describes a system that includes the digital camera 100, the power supply unit 30 (battery 300 or AC adapter 203), the PD power adapter 205, etc.
記録媒体I/F18は、メモリカードまたはハードディスク等である記録媒体200とのインターフェースである。記録媒体200は、撮影された画像を記録するためのメモリカードなどの記録媒体である。記録媒体200は、半導体メモリ、光ディスク、または磁気ディスクなどを有する。 The recording medium I/F 18 is an interface with the recording medium 200, which may be a memory card, a hard disk, or the like. The recording medium 200 is a recording medium such as a memory card for recording captured images. The recording medium 200 may include a semiconductor memory, an optical disk, a magnetic disk, or the like.
通信部54は、無線または有線ケーブルによって接続し、映像信号や音声信号等の送受信を行う。通信部54は、無線LAN(Local Area Network)またはインターネット等とも接続可能である。また、通信部54は、Bluetooth(登録商標)や Bluetooth Low Energyなどによっても外部機器と通信可能である。通信部54は、撮像部22で撮像した画像(ライブ画像を含む)や、記録媒体200に記録された画像を送信可能である。また、通信部54は、画像データやその他の各種情報を外部機器から受信することができる。 The communication unit 54 is connected wirelessly or via a wired cable and transmits and receives video signals, audio signals, and the like. The communication unit 54 can also connect to a wireless LAN (Local Area Network) or the Internet. The communication unit 54 can also communicate with external devices via Bluetooth (registered trademark) or Bluetooth Low Energy. The communication unit 54 can transmit images (including live images) captured by the imaging unit 22 and images recorded on the recording medium 200. The communication unit 54 can also receive image data and various other information from external devices.
姿勢検知部55は、重力方向に対するデジタルカメラ100の姿勢を検知する。姿勢検知部55により検知された姿勢に基づき、「撮像部22で撮影された画像が、デジタルカメラ100を横に構えて撮影された画像であるか、縦に構えて撮影された画像であるか」が判別可能である。システム制御部50は、姿勢検知部55で検知された姿勢に応じた向き情報を撮像部22で撮像された画像の画像ファイルに付加したり、画像を回転して記録したりすることが可能である。姿勢検知部55には、加速度センサーやジャイロセンサーなどを用いることができる。姿勢検知部55は、加速度センサーやジャイロセンサーを用
いて、デジタルカメラ100の動き(パン、チルト、持ち上げ、静止しているか否か等)を検知することも可能である。
The orientation detection unit 55 detects the orientation of the digital camera 100 with respect to the direction of gravity. Based on the orientation detected by the orientation detection unit 55, it is possible to determine whether an image captured by the imaging unit 22 was captured with the digital camera 100 held horizontally or vertically. The system control unit 50 can add orientation information corresponding to the orientation detected by the orientation detection unit 55 to the image file of the image captured by the imaging unit 22, or rotate and record the image. The orientation detection unit 55 can use an acceleration sensor, a gyro sensor, or the like. The orientation detection unit 55 can also use the acceleration sensor or the gyro sensor to detect movement of the digital camera 100 (such as panning, tilting, lifting, and whether the digital camera 100 is stationary).
図3は、実施形態1に係るACアダプター203の構成例を示すブロック図である。 Figure 3 is a block diagram showing an example configuration of the AC adapter 203 according to embodiment 1.
端子250は、デジタルカメラ100との電気的な接点である。端子250は、電力端子と通信端子を備える。 The terminal 250 is an electrical contact with the digital camera 100. The terminal 250 includes a power terminal and a communication terminal.
制御部251は、ACアダプター203の各構成を制御する。 The control unit 251 controls each component of the AC adapter 203.
PDコントローラー252は、USBコネクタ204にPD電源アダプター205が接続された場合に、PD電源アダプター205と通信する。また、PDコントローラー252は、制御部251と接続されている。PDコントローラー252のレジスタは、制御部251によって変更可能である。 When the PD power adapter 205 is connected to the USB connector 204, the PD controller 252 communicates with the PD power adapter 205. The PD controller 252 is also connected to the control unit 251. The registers of the PD controller 252 can be changed by the control unit 251.
スイッチドキャパシタ253は、スイッチドキャパシタ方式のDCDCコンバーターである。スイッチドキャパシタ253は、入力された電圧を整数分の1に変換して、出力電圧を出力(生成)する。実施形態1では、スイッチドキャパシタ253は、入力電圧を1/2(半分)に変換して出力する。 The switched capacitor 253 is a switched capacitor type DC-DC converter. The switched capacitor 253 converts the input voltage into a fraction of an integer and outputs (generates) an output voltage. In embodiment 1, the switched capacitor 253 converts the input voltage into 1/2 (half) and outputs it.
放電回路254は、制御部251の制御によりコンデンサ255の電荷を放電する。 The discharge circuit 254 discharges the charge in the capacitor 255 under the control of the control unit 251.
コンデンサ255は、デジタルカメラ100がシャットダウン処理を行うために用いる電力を確保可能な高容量なコンデンサである。コンデンサ255は、スイッチドキャパシタ253の出力に接続されるため、出力電圧(ACアダプター203からデジタルカメラ100に出力される電圧)を保持する。 Capacitor 255 is a high-capacity capacitor that can secure the power used by the digital camera 100 to perform shutdown processing. Capacitor 255 is connected to the output of switched capacitor 253, and therefore maintains the output voltage (the voltage output from the AC adapter 203 to the digital camera 100).
FET256は、電界効果トランジスタである。FET256は、制御部251の制御によってACアダプター203の電力の出力を制御する。 FET 256 is a field-effect transistor. FET 256 controls the power output of the AC adapter 203 under the control of the control unit 251.
通信部257は、電源制御部80と制御部251との間の通信を可能とする。 The communication unit 257 enables communication between the power supply control unit 80 and the control unit 251.
装置検出部258は、デジタルカメラ100のスロット201にACアダプター203が装着されているか否かを検出する。 The device detection unit 258 detects whether the AC adapter 203 is inserted in the slot 201 of the digital camera 100.
USB接続検知部259は、USBコネクタ204にPD電源アダプター205が接続されているか否かを検出する。出力電圧検出部260は、出力電圧配線262の信号をA/D変換して、出力電圧を検出する。 The USB connection detection unit 259 detects whether the PD power adapter 205 is connected to the USB connector 204. The output voltage detection unit 260 A/D converts the signal on the output voltage wiring 262 to detect the output voltage.
入力電圧配線261は、USBコネクタ204を介して接続されたPD電源アダプター205からの入力電圧を、制御部251に接続する。出力電圧配線262は、スイッチドキャパシタ253の出力と制御部251を結線する。 The input voltage wiring 261 connects the input voltage from the PD power adapter 205 connected via the USB connector 204 to the control unit 251. The output voltage wiring 262 connects the output of the switched capacitor 253 to the control unit 251.
通信線263は、端子250の通信端子と互いに接続されることによって、通信部257による電源制御部80と制御部251との間の通信を可能とする。「通信線263」と「電源制御部80と電源部30との間の通信線」とは、デジタルカメラ100とACアダプター203とが互いに接続されていれば、同じ信号レベルを有する。 The communication line 263 is connected to the communication terminal of the terminal 250, thereby enabling communication between the power supply control unit 80 and the control unit 251 via the communication unit 257. The "communication line 263" and the "communication line between the power supply control unit 80 and the power supply unit 30" have the same signal level when the digital camera 100 and AC adapter 203 are connected to each other.
不揮発性メモリ264は、動作パラメータを保持する。 Non-volatile memory 264 stores operating parameters.
ここで、PD電源アダプター205の動作を説明する。USBコネクタ204がPD電源アダプター205に接続されると、PD電源アダプター205からは、まず5Vが入力電圧として供給され、ACアダプター203の各部が起動する。続いて、PDコントローラー252は、USBコネクタ204を介してPD電源アダプター205と電力ネゴシエーションを行い、15V/3Aの電力供給をPD電源アダプター205に要求する。そして、PD電源アダプター205から15Vの電力が供給されると、スイッチドキャパシタ253によって、入力電圧が半分に変換され、端子250には、15Vの1/2である7.5Vが出力電圧として出力される。 Here, the operation of the PD power adapter 205 will be explained. When the USB connector 204 is connected to the PD power adapter 205, the PD power adapter 205 first supplies 5V as an input voltage, starting up each section of the AC adapter 203. Next, the PD controller 252 negotiates power with the PD power adapter 205 via the USB connector 204, and requests the PD power adapter 205 to supply 15V/3A of power. When 15V power is supplied from the PD power adapter 205, the input voltage is halved by the switched capacitor 253, and 7.5V, half of 15V, is output as the output voltage from terminal 250.
このように処理が行われた結果、ACアダプター203の起動直後の初期状態においては、7.5Vの電圧(初期電圧)が端子250から出力される。後述のように、デジタルカメラ100からの10Vの出力電圧を要求するコマンドが送信されていない場合にも、ACアダプター203は7.5Vの出力電圧を出力する。制御部251は、PDコントローラー252を制御して、20V/3Aの電力の供給を要求する電力ネゴシエーションを行うこともできる。この場合においても、スイッチドキャパシタ253によって入力電圧が半分に変換されるため、端子250からは10Vの出力電圧が出力される。 As a result of this processing, in the initial state immediately after starting up the AC adapter 203, a voltage of 7.5V (initial voltage) is output from terminal 250. As will be described later, even if a command requesting a 10V output voltage is not transmitted from digital camera 100, AC adapter 203 outputs an output voltage of 7.5V. Control unit 251 can also control PD controller 252 to perform power negotiation requesting a power supply of 20V/3A. Even in this case, the input voltage is converted to half by switched capacitor 253, so an output voltage of 10V is output from terminal 250.
実施形態1に係るデジタルカメラ100は、10Vの電圧で動作可能に設計されている。ACアダプター203と接続可能な別の機種のデジタルカメラは、7.5Vの電圧で動作可能に設計されていることも考えられる。実施形態1では、10Vの電圧と7.5Vの電圧とがACアダプター203から出力可能である場合について説明するが、出力される電圧はこれらに限定されない。例えば、ACアダプター203が複数の機種のデジタルカメラに接続可能な場合には、初期電圧はこれら複数の機種のデジタルカメラが要求する電圧のうち最も低い電圧であり得る。デジタルカメラ100に高い電圧の電力が供給されることによりデジタルカメラ100が故障することを防ぐためである。 The digital camera 100 according to the first embodiment is designed to operate at a voltage of 10V. It is conceivable that a different model of digital camera that can be connected to the AC adapter 203 is designed to operate at a voltage of 7.5V. In the first embodiment, a case is described in which the AC adapter 203 can output voltages of 10V and 7.5V, but the output voltages are not limited to these. For example, if the AC adapter 203 can be connected to multiple models of digital cameras, the initial voltage may be the lowest voltage required by these multiple models of digital cameras. This is to prevent the digital camera 100 from breaking down due to a high voltage being supplied to the digital camera 100.
図4のフローチャートを参照して、システム制御部50が実行する処理のうち、デジタルカメラ100(電子機器)の起動時における処理を説明する。図4の処理は、システム制御部50のCPUが不揮発性メモリ56に記憶されたプログラムを実行することにより行われる。なお、以下、デジタルカメラ100と電源部30(バッテリ300、ACアダプター203)との通信は、デジタルカメラ100においては通信部54によって制御される。また、ここでの起動とは、デジタルカメラ100が電源オフ状態において、ユーザが電源スイッチ72を操作することにより電源オンを指示した場合に起動する処理を含む。また、ここでの起動とは、デジタルカメラ100がオートパワーオフ状態から復帰する場合に起動する処理を含む。 With reference to the flowchart in Figure 4, the processing executed by the system control unit 50 when the digital camera 100 (electronic device) is started up will be described. The processing in Figure 4 is performed by the CPU of the system control unit 50 executing a program stored in the non-volatile memory 56. Note that, hereinafter, communication between the digital camera 100 and the power supply unit 30 (battery 300, AC adapter 203) is controlled by the communication unit 54 in the digital camera 100. Furthermore, "starting up" here includes processing that starts up when the user operates the power switch 72 to turn on the power while the digital camera 100 is in a power-off state. Furthermore, "starting up" here includes processing that starts up when the digital camera 100 returns from an auto-power-off state.
また、ここでの起動とは、デジタルカメラ100にACアダプター203が接続されていない状態の後で、デジタルカメラ100とACアダプター203が接続され、家庭用電源とPD電源アダプター205を介してデジタルカメラ100への電力供給が開始された場合に起動する処理を含む。また、ここでの起動とは、デジタルカメラ100にACアダプター203が接続されているが、ACアダプター203にPD電源アダプター205が接続されていない状態の後で、ACアダプター203とPD電源アダプター205が接続され、デジタルカメラ100への電力供給が開始された場合に起動する処理を含む。また、ここでの起動とは、デジタルカメラ100にACアダプター203が接続され、ACアダプター203にPD電源アダプター205が接続されているが、PD電源アダプター205が家庭用電源に接続されていない状態の後で、PD電源アダプター205が家庭用電源に接続され、デジタルカメラ100への電力供給が開始された場合に起動する処理を含む。なお、図4のフローチャートの処理の開始時点では、「電源制御部80と電源部30との間の通信線を外部割込みを行うための信号線として利用するようなLエッジ割り込み」は無効化されている。 Starting up here also includes the process of starting up when, after a state in which the AC adapter 203 was not connected to the digital camera 100, the digital camera 100 and the AC adapter 203 are connected and power supply to the digital camera 100 begins via a household power source and the PD power adapter 205. Starting up here also includes the process of starting up when, after a state in which the AC adapter 203 was connected to the digital camera 100 but the PD power adapter 205 was not connected to the AC adapter 203, the AC adapter 203 and the PD power adapter 205 are connected and power supply to the digital camera 100 begins. Starting up here also includes the process of starting up when, after a state in which the AC adapter 203 was connected to the digital camera 100 and the PD power adapter 205 was connected to the AC adapter 203 but the PD power adapter 205 was not connected to a household power source, the PD power adapter 205 was connected to a household power source and power supply to the digital camera 100 begins. At the start of the processing in the flowchart of Figure 4, "L edge interrupts that use the communication line between the power supply control unit 80 and the power supply unit 30 as a signal line for external interrupts" are disabled.
ステップS300では、システム制御部50は、電源部30と電源制御部80とを接続する通信線の信号レベルを読み出す。ここで、内部プルアップ設定を有効にするI(p.u.)に通信線が設定されている場合には、システム制御部50とACアダプター203における制御部251との間の通信は行われていない。このため、この場合には、通信線の信号レベルとしてHレベルが読み出される。通信線の信号レベルがHレベルであると判定された場合には、ステップS301に進む。通信線の信号レベルがLレベルであると判定された場合には、ステップS302に進む。 In step S300, the system control unit 50 reads the signal level of the communication line connecting the power supply unit 30 and the power supply control unit 80. Here, if the communication line is set to I (p.u.), which enables the internal pull-up setting, no communication is taking place between the system control unit 50 and the control unit 251 in the AC adapter 203. Therefore, in this case, an H level is read as the signal level of the communication line. If it is determined that the signal level of the communication line is an H level, the process proceeds to step S301. If it is determined that the signal level of the communication line is an L level, the process proceeds to step S302.
ステップS301では、システム制御部50は、「電源部30がネゴシエーションを行うか否かを示すフラグ」であるネゴシエーション実行フラグ(以下、「実行フラグ」と呼ぶ)をOffに設定する。そして、システム制御部50は、Offに設定した実行フラグ(ネゴシエーションを行わないことを示す実行フラグ)をシステムメモリ52のRAMに保持する。 In step S301, the system control unit 50 sets the negotiation execution flag (hereinafter referred to as the "execution flag"), which is a flag indicating whether the power supply unit 30 will perform negotiation, to Off. The system control unit 50 then stores the execution flag set to Off (the execution flag indicating that negotiation will not be performed) in the RAM of the system memory 52.
ステップS302では、システム制御部50は、実行フラグをOnに設定した後に、実行フラグ(ネゴシエーションを行うことを示す実行フラグ)をシステムメモリ52のRAMに保持する。 In step S302, the system control unit 50 sets the execution flag to On and then stores the execution flag (the execution flag indicating that negotiation will be performed) in the RAM of the system memory 52.
ステップS303では、システム制御部50は、電源制御部80と電源部30との間の通信線のプルアップの動作を無効にすることにより、電源制御部80と電源部30が互いに通信な状態可能に制御する。なお、プルアップは、内蔵および外付けのいずれのプルアップであってもよいが、実施形態1では内蔵プルアップが用いられているとする。 In step S303, the system control unit 50 disables the pull-up operation of the communication line between the power supply control unit 80 and the power supply unit 30, thereby enabling the power supply control unit 80 and the power supply unit 30 to communicate with each other. Note that the pull-up may be either an internal or external pull-up, but in embodiment 1, an internal pull-up is used.
ステップS304では、システム制御部50は、電源制御部80を制御して、電源部30(スロット201に装着された電源部30)の種類(電池種別)の判定を指示するコマンド(以下、「種別判定コマンド」と呼ぶ)を電源部30に送信する。デジタルカメラ100は、バッテリ300とACアダプター203とのいずれにも接続可能である。バッテリ300とACアダプター203はいずれも、電源制御部80と通信が可能である。このため、電源制御部80は、電源部30と通信することで電池種別を判定可能である。 In step S304, the system control unit 50 controls the power supply control unit 80 to send a command (hereinafter referred to as a "type determination command") to the power supply unit 30 to determine the type (battery type) of the power supply unit 30 (the power supply unit 30 inserted in the slot 201). The digital camera 100 can be connected to either a battery 300 or an AC adapter 203. Both the battery 300 and the AC adapter 203 can communicate with the power supply control unit 80. Therefore, the power supply control unit 80 can determine the battery type by communicating with the power supply unit 30.
なお、ステップS304においてデジタルカメラ100からコマンドを送信する場合には、システム制御部50は、電源制御部80と電源部30との間の通信線の信号レベルを、LレベルとHレベルとの間で切り替えることを繰り返す。コマンドの送付が終了すると、システム制御部50は、現在の信号レベルを、コマンドの送付前の信号レベルに戻す。このような処理は、後述するステップS312およびS313においても行われる。 When a command is sent from the digital camera 100 in step S304, the system control unit 50 repeatedly switches the signal level of the communication line between the power supply control unit 80 and the power supply unit 30 between L level and H level. When the sending of the command is complete, the system control unit 50 returns the current signal level to the signal level before the command was sent. This type of processing is also performed in steps S312 and S313, which will be described later.
ステップS305では、システム制御部50は、電源部30から電池種別の情報を取得する。システム制御部50は、電池種別を示す変数Typeをシステムメモリ52のRAMに保持する。 In step S305, the system control unit 50 acquires information about the battery type from the power supply unit 30. The system control unit 50 stores the variable Type, which indicates the battery type, in the RAM of the system memory 52.
ステップS306では、システム制御部50は、変数Typeを参照して、電源部30(スロット201に装着された電源部30)がACアダプター203(電源アクセサリ)とバッテリ300のいずれであるかを判定する。電源部30がバッテリ300であると判定された場合には、ステップS307に進む。電源部30がACアダプター203であると判定された場合には、ステップS309に進む。 In step S306, the system control unit 50 references the variable Type to determine whether the power supply unit 30 (the power supply unit 30 inserted in the slot 201) is an AC adapter 203 (power accessory) or a battery 300. If it is determined that the power supply unit 30 is a battery 300, the process proceeds to step S307. If it is determined that the power supply unit 30 is an AC adapter 203, the process proceeds to step S309.
ステップS307では、システム制御部50は、バッテリ300の認証を試みて、バッテリ300が認証電池であるか否かを判定する。なお、バッテリ300が認証電池でないと判定された場合には、「バッテリ300が認証電池でないことを報知するガイダンスを
表示部28に表示して、ユーザに電池を使用するか否かを問い合わせる」といった制御が行われる。
In step S307, the system control unit 50 attempts to authenticate the battery 300 and determines whether the battery 300 is an authenticated battery. If it is determined that the battery 300 is not an authenticated battery, the system control unit 50 performs control such as displaying guidance on the display unit 28 informing the user that the battery 300 is not an authenticated battery and asking the user whether or not to use the battery.
ステップS308では、システム制御部50は、デジタルカメラ100の電源起動の処理を実行する。具体的には、システム制御部50は、電源制御部80を制御して、デジタルカメラ100の各ブロックに電力を供給する。電源部30がバッテリ300である場合には、バッテリ300からの電力を使用して起動処理が実行される。このことによって、システム制御部50は、画像(静止画または動画)の撮影または再生といった機能を動作可能にする。ステップS308の処理が終了することにより、デジタルカメラ100の起動処理が完了する。このため、本フローチャートの処理の開始からステップS308の処理が終了するまでに要する時間が、デジタルカメラ100の起動時間である。 In step S308, the system control unit 50 executes power startup processing for the digital camera 100. Specifically, the system control unit 50 controls the power control unit 80 to supply power to each block of the digital camera 100. If the power supply unit 30 is a battery 300, the startup processing is executed using power from the battery 300. This enables the system control unit 50 to operate functions such as capturing or playing images (still images or video). When the processing of step S308 ends, the startup processing of the digital camera 100 is complete. Therefore, the time required from the start of the processing of this flowchart until the processing of step S308 ends is the startup time of the digital camera 100.
ステップS309では、システム制御部50は、ステップS305で保持した変数Typeに基づき、ACアダプター203がUSB PDに対応しているか否かを判定する。ACアダプター203がUSB PDに対応していると判定された場合には、ステップS310に進む。ACアダプター203がUSB PDに対応していないと判定された場合には、ステップS308に進む。ここで、USB PDに対応していないACアダプターの場合、出力電圧を変更できず、例えば、所定の電圧がACアダプターから供給される。所定の電圧は10Vでなくてよく、デジタルカメラ100が動作可能となる電圧とする。 In step S309, the system control unit 50 determines whether the AC adapter 203 is compatible with USB PD based on the variable Type held in step S305. If it is determined that the AC adapter 203 is compatible with USB PD, the process proceeds to step S310. If it is determined that the AC adapter 203 is not compatible with USB PD, the process proceeds to step S308. Here, if the AC adapter is not compatible with USB PD, the output voltage cannot be changed, and a predetermined voltage, for example, is supplied from the AC adapter. The predetermined voltage does not have to be 10V, and is a voltage at which the digital camera 100 can operate.
ステップS310では、システム制御部50は、不揮発性メモリ56から読み出した情報に基づき、図4の処理のプログラムを実行しているデジタルカメラ100が要求している電圧(以下、「要求電圧」と呼ぶ)を判定する。実施形態1に係るデジタルカメラ100の要求電圧は、10Vである。そのため、ここでは要求電圧が10Vであると判定され、ACアダプター203に10Vの出力電圧を要求する必要があるため、ステップS311に進む。また、デジタルカメラの機種によっては要求電圧が7.5Vである場合がある。その場合には、既にACアダプター203から初期電圧である7.5Vの電圧の電力が供給されており、ネゴシエーションの必要がないため、ステップS308に進む。 In step S310, the system control unit 50 determines the voltage (hereinafter referred to as the "requested voltage") required by the digital camera 100 executing the program for the processing in Figure 4, based on the information read from the non-volatile memory 56. The required voltage for the digital camera 100 according to the first embodiment is 10V. Therefore, the required voltage is determined to be 10V here, and an output voltage of 10V must be requested from the AC adapter 203, so the process proceeds to step S311. Depending on the model of digital camera, the required voltage may be 7.5V. In that case, power at the initial voltage of 7.5V is already being supplied from the AC adapter 203, and no negotiation is necessary, so the process proceeds to step S308.
ステップS311では、システム制御部50は、ステップS301およびS302で保持した実行フラグの設定を判定する。実行フラグがOnに設定されている(起動時において信号レベルがLレベルである)と判定された場合には、ステップS312に進む。実行フラグがOffに設定されている(起動時において信号レベルがHレベルである)と判定された場合には、ステップS308に進む。 In step S311, the system control unit 50 determines the setting of the execution flag held in steps S301 and S302. If it is determined that the execution flag is set to On (the signal level is L level at startup), the process proceeds to step S312. If it is determined that the execution flag is set to Off (the signal level is H level at startup), the process proceeds to step S308.
ステップS312では、システム制御部50は、ACアダプター203からの出力電圧を10Vに切り替えることを指示するコマンド(以下、「10Vコマンド」と呼ぶ)をACアダプター203に送信する。このことで、システム制御部50は、ACアダプター203に対して10Vの出力電圧を要求する。このように、システム制御部50は、ステップS311において実行フラグがOnに設定されている(デジタルカメラ100の起動時の通信線の信号レベルがLレベルである)と判定された場合には、10Vコマンドを送信する。このことによって、システム制御部50は、10Vの電力をデジタルカメラ100に対して供給するようにACアダプター203に要求する。 In step S312, the system control unit 50 sends a command to the AC adapter 203 (hereinafter referred to as the "10V command") instructing it to switch the output voltage from the AC adapter 203 to 10V. This causes the system control unit 50 to request an output voltage of 10V from the AC adapter 203. In this way, if the system control unit 50 determines in step S311 that the execution flag is set to On (the signal level of the communication line when the digital camera 100 is started is L level), it sends the 10V command. This causes the system control unit 50 to request the AC adapter 203 to supply 10V of power to the digital camera 100.
一方で、システム制御部50は、ステップS311において実行フラグがOffに設定されている(デジタルカメラ100の起動時の通信線の信号レベルがHレベルである)と判定された場合には、10Vコマンドを送信しない。つまり、このような場合には、システム制御部50は、10Vの電力をデジタルカメラ100に対して供給するようにACアダプター203に要求することを行わない。このため、デジタルカメラ100には、直近(過去)においてACアダプター203に要求していた電圧の電力(直近にACアダプタ
ー203からデジタルカメラ100に供給されていた電圧の電力)が、ACアダプター203から供給される。
On the other hand, if the system control unit 50 determines in step S311 that the execution flag is set to Off (the signal level of the communication line is H level when the digital camera 100 is started up), it does not send a 10V command. That is, in such a case, the system control unit 50 does not request the AC adapter 203 to supply 10V of power to the digital camera 100. Therefore, the digital camera 100 is supplied from the AC adapter 203 with the power voltage that it most recently (in the past) requested from the AC adapter 203 (the power voltage that was most recently supplied to the digital camera 100 from the AC adapter 203).
ステップS313では、システム制御部50は、ACアダプター203に回答コマンドを送信する。回答コマンドは、ACアダプター203からデジタルカメラ100に出力される電力の出力電圧を回答するように要求するコマンドである。また、システム制御部50は、出力電圧の情報をACアダプター203から取得する。 In step S313, the system control unit 50 sends a response command to the AC adapter 203. The response command is a command requesting that the AC adapter 203 respond with the output voltage of the power output to the digital camera 100. The system control unit 50 also acquires output voltage information from the AC adapter 203.
ステップS312およびS313により送信されたコマンドに応じて、ACアダプター203の制御部251は、後述する図6のフローチャートのステップS410以降の処理を行う。 In response to the commands sent in steps S312 and S313, the control unit 251 of the AC adapter 203 performs the processes from step S410 onwards in the flowchart of Figure 6, which will be described later.
ステップS314では、システム制御部50は、ステップS313によって得られたACアダプター203の出力電圧の情報を読み出す。そして、システム制御部50は、出力電圧が10Vであるか否かを判定する。出力電圧が10Vであると判定された場合には、ステップS315に進む。出力電圧が10Vでないと判定された場合には、ステップS314において出力電圧が10Vであると判定されるまで、ステップS313およびS314の処理が繰り返される。 In step S314, the system control unit 50 reads the information about the output voltage of the AC adapter 203 obtained in step S313. The system control unit 50 then determines whether the output voltage is 10 V. If it is determined that the output voltage is 10 V, the process proceeds to step S315. If it is determined that the output voltage is not 10 V, the processes of steps S313 and S314 are repeated until it is determined in step S314 that the output voltage is 10 V.
ステップS315では、システム制御部50は、電源制御部80とACアダプター203との間の通信線の内蔵プルアップを有効に設定する。これによって、電源制御部80と電源部30との間の通信線の信号レベルは、Hレベルに設定(維持)される。以降、システム制御部50は、ACアダプター203との通信が必要な際には、ステップS303と同様に内蔵プルアップを無効に設定し、通信が完了した後に、ステップS315と同様に内蔵プルアップを再度有効に設定する。 In step S315, the system control unit 50 enables the built-in pull-up of the communication line between the power supply control unit 80 and the AC adapter 203. As a result, the signal level of the communication line between the power supply control unit 80 and the power supply unit 30 is set (maintained) at the H level. Thereafter, when communication with the AC adapter 203 is required, the system control unit 50 disables the built-in pull-up as in step S303, and after communication is complete, it re-enables the built-in pull-up as in step S315.
ステップS316では、システム制御部50は、電源制御部80と電源部30との間の通信線を外部割込みを行うための信号線として利用するような「Lエッジ割り込み」を設定する。Lエッジ割り込みの設定によれば、通信線の信号レベルがHレベルからLレベルに変化した際に、システム制御部50は、即座に、その変化を検出可能である。なお、信号レベルのHレベルからLレベルへの変化の検出時の処理は、図7のフローチャートを参照して後述する。 In step S316, the system control unit 50 sets an "L edge interrupt" that uses the communication line between the power supply control unit 80 and the power supply unit 30 as a signal line for issuing an external interrupt. By setting the L edge interrupt, when the signal level of the communication line changes from H level to L level, the system control unit 50 can immediately detect the change. The process performed when a change in signal level from H level to L level is detected will be described later with reference to the flowchart in Figure 7.
なお、スロット201からACアダプター203が取り外された場合、デジタルカメラ100への電源供給がなくなるため、電源制御部80と電源部30との間の通信線をHレベルに維持できず、信号レベルはLレベルとなる。そのため、スロット201に装着されたバッテリ300をACアダプター203に交換した後、最初の電源オンによる起動時には、ステップS301において、通信線の信号レベルがLレベルと判定される。 Note that if the AC adapter 203 is removed from the slot 201, power supply to the digital camera 100 will cease, and the communication line between the power supply control unit 80 and the power supply unit 30 cannot be maintained at H level, and the signal level will become L level. Therefore, after the battery 300 installed in the slot 201 is replaced with the AC adapter 203, the signal level of the communication line will be determined to be L level at the first power-on startup in step S301.
図5は、システム制御部50が実行するプログラムのうち、デジタルカメラ100の終了時(起動終了時)における処理を抜粋したフローチャートである。図5の終了時の処理は、ユーザーが電源スイッチ72を操作することによりデジタルカメラ100の電源オフを指示した場合に行われる処理を含む。また、図5の終了時の処理は、デジタルカメラ100がオートパワーオフ状態に移行する場合に行われる処理を含む。デジタルカメラ100に対する操作が一定期間行われない場合に、システム制御部50は、デジタルカメラ100をオートパワーオフ状態に移行させる。また、オートパワーオフ状態において、デジタルカメラ100に対する何らかの操作があった場合、システム制御部50は、図4の起動処理を行う。 Figure 5 is a flowchart of the program executed by the system control unit 50, excerpting the processing that occurs when the digital camera 100 is shut down (when startup is completed). The shutdown processing in Figure 5 includes processing that is performed when the user instructs the digital camera 100 to power off by operating the power switch 72. The shutdown processing in Figure 5 also includes processing that is performed when the digital camera 100 transitions to an auto power off state. If no operation is performed on the digital camera 100 for a certain period of time, the system control unit 50 transitions the digital camera 100 to an auto power off state. Furthermore, if any operation is performed on the digital camera 100 while it is in the auto power off state, the system control unit 50 performs the startup processing in Figure 4.
ステップS350では、システム制御部50は、デジタルカメラ100の電源停止の処
理を行う。具体的には、システム制御部50は、電源制御部80を制御して、デジタルカメラ100の各ブロックへの電力の供給を停止する。このことにより、システム制御部50は、画像(静止画または動画)の撮影または再生といった機能が動作不可能な状態にする。
In step S350, the system control unit 50 performs processing to shut down the power supply to the digital camera 100. Specifically, the system control unit 50 controls the power control unit 80 to stop the supply of power to each block of the digital camera 100. As a result, the system control unit 50 disables functions such as image (still image or video) capture and playback.
ステップS351では、システム制御部50は、ステップS304と同様に電源制御部80を制御して、電源部30と通信することにより電池種別の情報を取得する。 In step S351, the system control unit 50 controls the power supply control unit 80 in the same manner as in step S304, and acquires battery type information by communicating with the power supply unit 30.
ステップS352では、システム制御部50は、電池種別の情報に基づき、電源部30(スロット201に装着された電源部30)がバッテリ300とACアダプター203のいずれであるかを判定する。電源部30がバッテリ300であると判定された場合には、ステップS353に進む。電源部30がACアダプター203であると判定された場合には、ステップS355に進む。 In step S352, the system control unit 50 determines whether the power supply unit 30 (the power supply unit 30 inserted in the slot 201) is a battery 300 or an AC adapter 203 based on the battery type information. If it is determined that the power supply unit 30 is a battery 300, the process proceeds to step S353. If it is determined that the power supply unit 30 is an AC adapter 203, the process proceeds to step S355.
ステップS353では、システム制御部50は、電源制御部80を制御して、Sleep状態に遷移するように電源部30に指示する。この場合には、電源部30は、バッテリ300内のコントローラーを低消費電力モードに遷移させて、バッテリ300の消費電力を低減するように設定する。 In step S353, the system control unit 50 controls the power supply control unit 80 to instruct the power supply unit 30 to transition to the sleep state. In this case, the power supply unit 30 transitions the controller within the battery 300 to a low power consumption mode, setting it to reduce the power consumption of the battery 300.
ステップS354では、システム制御部50は、電源制御部80と電源部30との間の通信線がLレベルを出力するように設定する。 In step S354, the system control unit 50 sets the communication line between the power supply control unit 80 and the power supply unit 30 to output an L level.
ステップS355では、システム制御部50は、電源制御部80と電源部30との間の通信線を外部割込みを行うための信号線として利用するように、ステップS316で有効化されたLエッジ割り込みを維持する。また、システム制御部50は、デジタルカメラ100の電源の停止後においても、電源制御部80と電源部30との間の通信線の信号レベルを現在のレベルに維持するように制御する。例えば、電源オフの指示があった際に通信線の信号レベルがHレベルであった場合には、電源オフ状態でもHレベルが維持される。 In step S355, the system control unit 50 maintains the L-edge interrupt enabled in step S316 so that the communication line between the power control unit 80 and the power supply unit 30 is used as a signal line for external interrupts. The system control unit 50 also controls the signal level of the communication line between the power control unit 80 and the power supply unit 30 to be maintained at the current level even after the digital camera 100 is powered off. For example, if the signal level of the communication line was H level when a power-off command was issued, the H level is maintained even in the power-off state.
図6のフローチャートを参照して、ACアダプター203における制御部251が実行する処理を説明する。ACアダプター203のUSBコネクタ204がPD電源アダプター205に接続されると、PD電源アダプター205から電力が供給される。制御部251はPD電源アダプター205と接続されることによって、PD電源アダプター205からの電力により起動する。 The processing executed by the control unit 251 in the AC adapter 203 will be described with reference to the flowchart in Figure 6. When the USB connector 204 of the AC adapter 203 is connected to the PD power adapter 205, power is supplied from the PD power adapter 205. By connecting the control unit 251 to the PD power adapter 205, it starts up using power from the PD power adapter 205.
ステップS400では、制御部251は、PDコントローラー252を制御して、PD電源アダプター205と通信を開始し、電力ネゴシエーションを行う。そして、制御部251は、15Vの電圧の電力を供給するようにPD電源アダプター205に要求する。PDコントローラー252はPD電源アダプター205に対して15Vを要求し、PD電源アダプター205からは15Vの電圧が出力される。 In step S400, the control unit 251 controls the PD controller 252 to start communication with the PD power adapter 205 and perform power negotiation. The control unit 251 then requests the PD power adapter 205 to supply power at a voltage of 15V. The PD controller 252 requests 15V from the PD power adapter 205, and the PD power adapter 205 outputs a voltage of 15V.
ステップS401では、制御部251は、出力電圧検出部260を制御して、ACアダプター203からデジタルカメラ100への出力電圧を読み出す。ここでは、前述のように、PD電源アダプター205からの入力電圧である15Vがスイッチドキャパシタ253によって半分に変換され、出力電圧は7.5Vとなる。 In step S401, the control unit 251 controls the output voltage detection unit 260 to read the output voltage from the AC adapter 203 to the digital camera 100. As mentioned above, the input voltage of 15 V from the PD power adapter 205 is converted to half by the switched capacitor 253, resulting in an output voltage of 7.5 V.
ステップS402では、制御部251は、ステップS401で得られた出力電圧が7.5Vであるか否かを判定する。出力電圧が7.5Vであると判定された場合には、ステップS403に進む。出力電圧が7.5Vでないと判定された場合には、ステップS401およびS402の処理が繰り返される。 In step S402, the control unit 251 determines whether the output voltage obtained in step S401 is 7.5 V. If it is determined that the output voltage is 7.5 V, the process proceeds to step S403. If it is determined that the output voltage is not 7.5 V, the processes of steps S401 and S402 are repeated.
ステップS403では、制御部251は、FET256をオンに設定する。これによって、デジタルカメラ100の電源制御部80が、デジタルカメラ100の起動に必要な電力が供給されていることを検出するため、システム制御部50は、図4のフローチャートの処理を実行する。これによって、デジタルカメラ100には、初期電圧として7.5Vの電力が供給される。 In step S403, the control unit 251 sets the FET 256 to ON. As a result, the power supply control unit 80 of the digital camera 100 detects that the power required to start the digital camera 100 is being supplied, and the system control unit 50 executes the processing of the flowchart in FIG. 4. As a result, an initial voltage of 7.5 V is supplied to the digital camera 100.
ステップS450では、制御部251は、PD電源アダプター205からの入力電圧の低下を検知したか否かを判定する。入力電圧の低下が検知されたと判定された場合には、ステップS452に進む。入力電圧の低下が検知されていないと判定された場合には、ステップS451に進む。 In step S450, the control unit 251 determines whether a drop in input voltage from the PD power adapter 205 has been detected. If it is determined that a drop in input voltage has been detected, the process proceeds to step S452. If it is determined that a drop in input voltage has not been detected, the process proceeds to step S451.
ここで、入力電圧は、ネゴシエーション電圧によって異なる。ここで、ネゴシエーション電圧とは、PDコントローラー252がPD電源アダプター205に要求している電圧である。本実施形態では、入力電圧がネゴシエーション電圧よりも3V低下したことが検知された際に、入力電圧の低下が検知される。よって、例えば、ネゴシエーション電圧が15Vである場合には、入力電圧が12Vを下回った際に、ステップS450からステップS452に進む。ネゴシエーション電圧が20Vである場合には、入力電圧が17Vを下回った際に、ステップS450からステップS452に進む。ステップS450において、入力電圧の低下を検出すると、制御部251は、コンデンサ255からの電力がデジタルカメラ100に出力されるように制御する。コンデンサ255の電圧は、コンデンサ255からの電力供給の開始時点では、直前までのデジタルカメラ100への出力電圧と同じ電圧である。なお、入力電圧の低下の幅は出力先の機器によって異なるため、低下幅は特に限定されない。例えば、ACアダプター203のUSBコネクタ204がPD電源アダプター205から切断された場合に、入力電圧が低下する。また、USB PD規格に従い、PD電源アダプター205から出力電圧を下げる旨の通知の後、PD電源アダプター205からの電圧が低下することもある。 Here, the input voltage varies depending on the negotiation voltage. The negotiation voltage is the voltage requested by the PD controller 252 from the PD power adapter 205. In this embodiment, a drop in input voltage is detected when it is detected that the input voltage is 3 V lower than the negotiation voltage. Therefore, for example, if the negotiation voltage is 15 V, the process proceeds from step S450 to step S452 when the input voltage falls below 12 V. If the negotiation voltage is 20 V, the process proceeds from step S450 to step S452 when the input voltage falls below 17 V. In step S450, upon detecting a drop in input voltage, the control unit 251 controls the output of power from the capacitor 255 to the digital camera 100. At the start of power supply from the capacitor 255, the voltage of the capacitor 255 is the same as the output voltage to the digital camera 100 immediately before. The magnitude of the drop in input voltage varies depending on the output device, so the magnitude of the drop is not particularly limited. For example, the input voltage drops when the USB connector 204 of the AC adapter 203 is disconnected from the PD power adapter 205. Also, in accordance with the USB PD standard, the voltage from the PD power adapter 205 may drop after the PD power adapter 205 notifies the user that it will lower its output voltage.
ステップS451では、制御部251は、PD電源アダプター205からの入力電圧が十分であるため、通信線263を入力端子として設定する。具体的には、制御部251は、デジタルカメラ100から信号を受ける信号線に、通信線263を設定する。 In step S451, the control unit 251 sets the communication line 263 as an input terminal because the input voltage from the PD power adapter 205 is sufficient. Specifically, the control unit 251 sets the communication line 263 as a signal line that receives signals from the digital camera 100.
ステップS452では、制御部251は、PD電源アダプター205からの入力電圧が不足しているため、通信線263を出力端子として設定し、通信線263の信号レベル(=電源制御部80と電源部30との間の信号線の信号レベル)をLレベルに設定する。具体的には、制御部251は、デジタルカメラ100から信号を受けつけない信号線に通信線263を設定して、通信線263の信号レベルをLレベルに固定した状態にする。 In step S452, because the input voltage from the PD power adapter 205 is insufficient, the control unit 251 sets the communication line 263 as an output terminal and sets the signal level of the communication line 263 (= the signal level of the signal line between the power control unit 80 and the power supply unit 30) to the L level. Specifically, the control unit 251 sets the communication line 263 as a signal line that does not accept signals from the digital camera 100, and fixes the signal level of the communication line 263 to the L level.
なお、システム制御部50は、電源制御部80と電源部30との間の信号線の信号レベルがLレベルに変化したことを、割り込みをして検出するようにステップS316にて設定されている。このため、通信線263の信号レベルがLレベルに設定されると、電源制御部80と電源部30との間の信号線の信号レベルがLレベルに変化したことがシステム制御部50により検出される。すると、直ちにシステム制御部50は、デジタルカメラ100の電源を制御する処理(後述する図7のフローチャートの処理)を実行する。 In step S316, the system control unit 50 is configured to interrupt and detect that the signal level on the signal line between the power control unit 80 and the power supply unit 30 has changed to L level. Therefore, when the signal level on the communication line 263 is set to L level, the system control unit 50 detects that the signal level on the signal line between the power control unit 80 and the power supply unit 30 has changed to L level. Then, the system control unit 50 immediately executes processing to control the power supply of the digital camera 100 (processing of the flowchart in Figure 7, which will be described later).
ステップS453では、制御部251は、コンデンサ255からデジタルカメラ100への出力電圧が異常に低い電圧であるか否かを判定する。ステップS450で、コンデンサ255からの電力供給に切り替えられたのち、コンデンサ255に蓄積された電荷が徐々に減少し、出力電圧も低下していく。ネゴシエーション電圧が20Vである場合には、入力電圧が20Vよりも所定値だけ下回った際に、コンデンサ255からの電力供給に切
り替えられる。ここでは、入力電圧が20Vよりも3V低い17Vよりも低くなったことを検出すると、コンデンサ255からの電力供給に切り替えられる。このとき、切り替え直後のコンデンサ255の出力電圧(=デジタルカメラ100への出力電圧)は、17Vの1/2である8.5Vとなる。そこで、例えば、制御部251は、デジタルカメラ100への出力電圧が所定の電圧である6Vよりも低い電圧であるか否かを判定することによって、デジタルカメラ100への出力電圧が異常に低い電圧であるか否かを判定する。デジタルカメラ100への出力電圧が異常に低い電圧であると判定された場合、ステップS455に進む。また、デジタルカメラ100への出力電圧が異常に低い電圧ではないと判定された場合、ステップS454に進む。
In step S453, the control unit 251 determines whether the output voltage from the capacitor 255 to the digital camera 100 is abnormally low. After switching to power supply from the capacitor 255 in step S450, the charge accumulated in the capacitor 255 gradually decreases, causing the output voltage to drop. If the negotiation voltage is 20 V, power supply is switched to from the capacitor 255 when the input voltage falls below 20 V by a predetermined value. In this case, when it is detected that the input voltage has fallen below 17 V, which is 3 V lower than 20 V, power supply is switched to from the capacitor 255. At this time, the output voltage of the capacitor 255 immediately after switching (= the output voltage to the digital camera 100) is 8.5 V, which is half of 17 V. Therefore, for example, the control unit 251 determines whether the output voltage to the digital camera 100 is abnormally low by determining whether the output voltage to the digital camera 100 is lower than the predetermined voltage of 6 V. If it is determined that the output voltage to the digital camera 100 is an abnormally low voltage, the process proceeds to step S455. If it is determined that the output voltage to the digital camera 100 is not an abnormally low voltage, the process proceeds to step S454.
ステップS454では、制御部251は、PD電源アダプター205からの入力電圧が再び15Vとなったか否かを判定する。PD電源アダプター205からの入力電圧が再び15Vとなっていないと判定された場合、ステップS453に戻る。入力電圧が15Vになったと判定された場合、ステップS450に進む。 In step S454, the control unit 251 determines whether the input voltage from the PD power adapter 205 has returned to 15 V. If it is determined that the input voltage from the PD power adapter 205 has not returned to 15 V, the process returns to step S453. If it is determined that the input voltage has returned to 15 V, the process proceeds to step S450.
例えば、PD電源アダプター205とACアダプター203の接続が切断され、ACアダプター203の入力電圧の低下が検出された後、コンデンサ255からの電力がデジタルカメラ100に供給されている間に、再度、PD電源アダプター205とACアダプター203が接続される場合がある。この場合、前述のように、制御部251は、ステップS400からS402と同様の処理を行い、入力電圧が15Vとなったことを検出する。また、ACアダプター203の入力電圧の低下が検出された後、コンデンサ255からの電力がデジタルカメラ100に供給されている間に、USB PD規格に従い、PD電源アダプター205から出力電圧を15Vに上げる旨の通知の後、制御部251は、PD電源アダプター205からの電圧が15Vになったことを検出する。 For example, after the PD power adapter 205 and AC adapter 203 are disconnected and a drop in the input voltage of the AC adapter 203 is detected, the PD power adapter 205 and AC adapter 203 may be reconnected while power is being supplied from the capacitor 255 to the digital camera 100. In this case, as described above, the control unit 251 performs processing similar to steps S400 to S402 and detects that the input voltage has reached 15V. Also, after a drop in the input voltage of the AC adapter 203 is detected, while power is being supplied from the capacitor 255 to the digital camera 100, the PD power adapter 205 notifies the control unit 251 that it will increase its output voltage to 15V in accordance with the USB PD standard, and then the control unit 251 detects that the voltage from the PD power adapter 205 has reached 15V.
ステップS455では、制御部251は、FET256をオフに設定する。これによって、制御部251は、デジタルカメラ100の電源制御部80への電力供給は停止する。 In step S455, the control unit 251 sets the FET 256 to OFF. This causes the control unit 251 to stop supplying power to the power supply control unit 80 of the digital camera 100.
ステップS405では、制御部251は、通信線263の信号レベルを判定する。通信線263の信号レベルがHレベルであると判定された場合には、デジタルカメラ100とACアダプター203との間の通信が行われていないと判定されて、ステップS450に戻る。一方で、通信線263の信号レベルがLレベルである場合には、「通信が行われている」、または、「ACアダプター203がスロット201から外れている」と考えられる。そこで、通信線263の信号レベルがLレベルであると判定された場合には、いずれの事象が発生しているのかを判定するために、ステップS406に進む。 In step S405, the control unit 251 determines the signal level of the communication line 263. If it is determined that the signal level of the communication line 263 is H level, it is determined that communication is not taking place between the digital camera 100 and the AC adapter 203, and the process returns to step S450. On the other hand, if the signal level of the communication line 263 is L level, it is considered that "communication is taking place" or "the AC adapter 203 has been removed from the slot 201." Therefore, if it is determined that the signal level of the communication line 263 is L level, the process proceeds to step S406 to determine which event has occurred.
ステップS406では、制御部251は、非装着判定タイマーを用いて、通信線263の信号レベルがLレベルである状態が継続している時間(継続時間)を計測する。ここで、タイマーが継続時間を計測中である場合には、ステップS407に進む。タイマーが継続時間の計測を終了している場合には、ACアダプター203がスロット201から外れていると判定されて、ステップS418に進む。なお、実施形態1では、このタイマーは、通信線263の信号レベルがLレベルである状態が継続している時間を所定時間(例えば、500ms)だけ計測すると、その後に計測を終了する。 In step S406, the control unit 251 uses the non-attachment determination timer to measure the time (duration) that the signal level of the communication line 263 continues to be at L level. If the timer is currently measuring the duration, the process proceeds to step S407. If the timer has finished measuring the duration, the process determines that the AC adapter 203 has been removed from the slot 201, and the process proceeds to step S418. Note that in embodiment 1, the timer measures the time that the signal level of the communication line 263 continues to be at L level for a predetermined period of time (e.g., 500 ms), and then stops measuring.
ステップS407では、制御部251は、通信線263の信号レベルを判定する。通信線263の信号レベルがHレベルであると判定された場合には、タイマーが計時中に信号レベルがHレベルになったので、デジタルカメラ100とACアダプター203との間の通信が行われていると判定されて、ステップS408に進む。通信線263の信号レベルがLレベルを維持していると判定された場合には、ステップS406に戻る。 In step S407, the control unit 251 determines the signal level of the communication line 263. If it determines that the signal level of the communication line 263 is H level, it is determined that communication is taking place between the digital camera 100 and the AC adapter 203, since the signal level became H level while the timer was timing, and the process proceeds to step S408. If it determines that the signal level of the communication line 263 is maintaining L level, the process returns to step S406.
ステップS408では、制御部251は、電源制御部80からACアダプター203に送信されたデータ(コマンドを含む)を受信する。 In step S408, the control unit 251 receives data (including commands) sent from the power supply control unit 80 to the AC adapter 203.
ステップS409では、制御部251は、非装着判定タイマーを停止して、継続時間のカウント値をクリアする(0に設定する)。 In step S409, the control unit 251 stops the non-wearing determination timer and clears the count value of the duration (sets it to 0).
ステップS410では、制御部251は、ステップS408において取得されたコマンド(以下、「取得コマンド」と呼ぶ)が、種別判定コマンド(電源部30の種別判定を要求するコマンド)であるか否かを判定する。取得コマンドが種別判定コマンドであると判定された場合には、ステップS411に進む。取得コマンドが種別判定コマンドでないと判定された場合には、ステップS413に進む。 In step S410, the control unit 251 determines whether the command acquired in step S408 (hereinafter referred to as the "acquisition command") is a type determination command (a command requesting a type determination of the power supply unit 30). If it is determined that the acquisition command is a type determination command, the process proceeds to step S411. If it is determined that the acquisition command is not a type determination command, the process proceeds to step S413.
ステップS411では、制御部251は、不揮発性メモリ264から種別情報を読み出す。種別情報は、電源部30がバッテリ300とACアダプター203とのいずれであるかの情報、USB PDに対応しているか否かの情報、および、ACアダプター203によって決定される情報などを含む。 In step S411, the control unit 251 reads type information from the non-volatile memory 264. The type information includes information on whether the power supply unit 30 is a battery 300 or an AC adapter 203, information on whether it supports USB PD, and information determined by the AC adapter 203.
ステップS412では、制御部251は、ステップS411において得られた種別情報を電源制御部80(デジタルカメラ100)に送信する。 In step S412, the control unit 251 transmits the type information obtained in step S411 to the power supply control unit 80 (digital camera 100).
ステップS413では、制御部251は、取得コマンドが10Vコマンド(10Vの電圧の出力を要求するコマンド)であるか否かを判定する。取得コマンドが10Vコマンドであると判定された場合には、ステップS414に進む。取得コマンドが10Vコマンドでないと判定された場合には、ステップS415に進む。 In step S413, the control unit 251 determines whether the obtain command is a 10V command (a command requesting the output of a voltage of 10V). If it is determined that the obtain command is a 10V command, the process proceeds to step S414. If it is determined that the obtain command is not a 10V command, the process proceeds to step S415.
ステップS414では、制御部251は、20Vの電力を供給するようにPD電源アダプター205に要求する(PD電源アダプター205とネゴシエーションを行う)。この場合には、制御部251は、PDコントローラー252を制御して、PD電源アダプター205と通信する。 In step S414, the control unit 251 requests the PD power adapter 205 to supply 20V power (negotiates with the PD power adapter 205). In this case, the control unit 251 controls the PD controller 252 to communicate with the PD power adapter 205.
ステップS415では、制御部251は、取得コマンドが、出力電圧の回答を要求するコマンド(以下、「回答コマンド」と呼ぶ)であるか否かを判定する。取得コマンドが回答コマンドであると判定された場合には、ステップS416に進む。取得コマンドが回答コマンドでないと判定された場合には、ステップS404に戻る。 In step S415, the control unit 251 determines whether the acquisition command is a command requesting an output voltage response (hereinafter referred to as an "answer command"). If it is determined that the acquisition command is an answer command, the process proceeds to step S416. If it is determined that the acquisition command is not an answer command, the process returns to step S404.
ステップS416では、制御部251は、出力電圧検出部260を制御して、出力電圧を検出する。 In step S416, the control unit 251 controls the output voltage detection unit 260 to detect the output voltage.
ステップS417では、制御部251は、ステップS416で得られた出力電圧の情報(出力電圧の値の情報)を電源制御部80に送信する。 In step S417, the control unit 251 transmits the output voltage information (information on the output voltage value) obtained in step S416 to the power supply control unit 80.
ステップS418では、制御部251は、PDコントローラー252に通信して、現在のネゴシエーション電圧を判定する。ネゴシエーション電圧が20Vであると判定された場合には、ステップS419に進む。ネゴシエーション電圧が20Vであると判定されていない場合には、ステップS404に戻る。 In step S418, the control unit 251 communicates with the PD controller 252 to determine the current negotiation voltage. If it is determined that the negotiation voltage is 20 V, the process proceeds to step S419. If it is not determined that the negotiation voltage is 20 V, the process returns to step S404.
ステップS419では、制御部251は、PDコントローラー252を制御して、PD電源アダプター205と通信を開始して、15Vの電力を供給するように要求する(ネゴシエーションをする)。なお、ステップS418の処理が行われずに、ステップS406においてタイマーが継続時間の計測を終了している場合には、ステップS419に進んで
もよい。
In step S419, the control unit 251 controls the PD controller 252 to start communication with the PD power adapter 205 and request the supply of 15 V power (performs negotiation). Note that if the process of step S418 is not performed and the timer has finished measuring the duration in step S406, the process may proceed to step S419.
図7のフローチャートを参照して、ステップS452で実行した通信線263の信号レベルをLレベルに設定したことに起因する割込みにより実行される処理を説明する。 Referring to the flowchart in Figure 7, we will explain the processing executed by the interrupt caused by setting the signal level of communication line 263 to L level in step S452.
ステップS500において、システム制御部50は、デジタルカメラ100の起動状態を判定する。システム制御部50は、デジタルカメラ100が「ステップS308以降の状態である電源オン状態(起動中の状態)」と「図5のフローチャートの処理を実施して終了した後の状態である電源オフ状態」とのいずれの状態であるかを判定する。デジタルカメラ100が電源オン状態であると判定された場合には、ステップS502に進む。デジタルカメラ100が電源オフ状態であると判定された場合には、ステップS501に進む。 In step S500, the system control unit 50 determines the startup state of the digital camera 100. The system control unit 50 determines whether the digital camera 100 is in a "power-on state (starting up state)" which is the state after step S308, or a "power-off state which is the state after the processing of the flowchart in FIG. 5 has been performed and completed." If it is determined that the digital camera 100 is in a power-on state, the process proceeds to step S502. If it is determined that the digital camera 100 is in a power-off state, the process proceeds to step S501.
ステップS501において、システム制御部50は、図4のフローチャートの処理を実行する。前述のように、ステップS450でACアダプター203の入力電圧の低下が検出されたのち、ステップS453においてデジタルカメラ100への出力電圧が異常に低い電圧であると判定されるまでの間はACアダプター203からの電力で処理が実行される。しかし、ACアダプター203の入力電圧が低下しているため、ステップS314において、出力電圧が10Vであると判定されることはない。この状態で、ACアダプター203からデジタルカメラ100への出力電圧が異常に低い電圧となり、FET256がオフにされると電力供給が停止されるため、デジタルカメラ100の処理は停止する。一方、ステップS450でACアダプター203の入力電圧の低下が検出されたのち、ステップS454で、PD電源アダプター205から15Vの電圧の供給が可能となった場合、図4の処理が実行される。この場合、通信線263の信号レベルは割り込み信号によりLレベルとなっているため、ステップS300でLレベルと判定されて実行フラグがOnになる。その結果、ステップS312においてACアダプター203に対して10Vコマンドが送信されて、ステップS314において出力電圧が10Vと判定される。そして、この場合、システム制御部50は、ステップS316までの処理を実行する。その後、デジタルカメラ100を電源オフ状態にする。このとき、デジタルカメラ100の電源オフ時における通信線263の信号レベルが維持される。ここでは、電源オフ状態で図4の処理が実行されるため、ステップS308の処理は実行されず、電源オフの状態となる。また、デジタルカメラ100が電源オフ状態ではなく、オートパワーオフ状態で、通信線263の信号レベルをLレベルに設定したことに起因する割込みを受けた場合にも図4の処理が実行される。この場合には、前述のようにステップS316までの処理を実行した後、システム制御部50は、デジタルカメラ100を電源オン状態にする。 In step S501, the system control unit 50 executes the process of the flowchart in FIG. 4 . As described above, after a drop in the input voltage of the AC adapter 203 is detected in step S450, processing is performed using power from the AC adapter 203 until it is determined in step S453 that the output voltage to the digital camera 100 is abnormally low. However, because the input voltage of the AC adapter 203 has dropped, the output voltage is not determined to be 10 V in step S314. In this state, if the output voltage from the AC adapter 203 to the digital camera 100 becomes abnormally low and FET 256 is turned off, the power supply is stopped, and processing by the digital camera 100 is halted. On the other hand, after a drop in the input voltage of the AC adapter 203 is detected in step S450, if it becomes possible to supply 15 V from the PD power adapter 205 in step S454, the process of FIG. 4 is executed. In this case, the signal level of the communication line 263 is low due to the interrupt signal, so it is determined to be low in step S300 and the execution flag is set to On. As a result, a 10V command is sent to the AC adapter 203 in step S312, and the output voltage is determined to be 10V in step S314. In this case, the system control unit 50 executes the processes up to step S316. Thereafter, the digital camera 100 is turned off. At this time, the signal level on the communication line 263 when the digital camera 100 was turned off is maintained. In this case, the process of FIG. 4 is executed in the power-off state, so the process of step S308 is not executed and the digital camera 100 enters the power-off state. The process of FIG. 4 is also executed when the digital camera 100 is not in the power-off state but in the auto-power-off state and receives an interrupt resulting from setting the signal level on the communication line 263 to L level. In this case, after executing the processes up to step S316 as described above, the system control unit 50 turns the digital camera 100 on.
ステップS502において、システム制御部50は、デジタルカメラ100の緊急シャットダウン処理を行う。緊急シャットダウン処理においては、システム制御部50は、電源オフ状態に遷移する前に実行すべき最低限の処理(撮像装置のデバイス保護の観点で最低限の処理)を実行する。本実施形態では、システム制御部50は、記録媒体200へのアクセスを終了させる処理を実行する。そして、システム制御部50は、デジタルカメラ100を一旦電源オフ状態とする。 In step S502, the system control unit 50 performs emergency shutdown processing of the digital camera 100. In the emergency shutdown processing, the system control unit 50 performs the minimum processing that should be performed before transitioning to a power-off state (minimum processing from the perspective of device protection of the imaging device). In this embodiment, the system control unit 50 performs processing to terminate access to the recording medium 200. Then, the system control unit 50 temporarily puts the digital camera 100 into a power-off state.
ステップS503において、システム制御部50は、デジタルカメラ100の再起動処理を実行する。そして、ステップS504に移行し、システム制御部50は、図4のフローチャートの処理を実行する。前述のように、ステップS450でACアダプター203の入力電圧の低下が検出されたのち、ステップS453においてデジタルカメラ100への出力電圧が異常に低い電圧であると判定されるまでの間はACアダプター203からの電力で処理が実行される。しかし、ACアダプター203の入力電圧が低下しているため、ステップS314において、出力電圧が10Vであると判定されることはない。この状
態で、ACアダプター203からの出力電圧が異常に低い電圧となり、FET256がオフにされると電力供給が停止されるため、デジタルカメラ100の処理は停止する。一方、ステップS450でACアダプター203の入力電圧の低下が検出されたのち、ステップS454で、PD電源アダプター205から15Vの電圧の供給が可能となった場合、図4の処理の結果、ステップS314において、出力電圧が10Vと判定される。そして、この場合、システム制御部50は、ステップS316までの処理を実行したのち、デジタルカメラ100を電源オン状態にする。
In step S503, the system control unit 50 executes a restart process for the digital camera 100. Then, the process proceeds to step S504, where the system control unit 50 executes the process shown in the flowchart of FIG. 4 . As described above, after a drop in the input voltage of the AC adapter 203 is detected in step S450, processing is performed using power from the AC adapter 203 until it is determined in step S453 that the output voltage to the digital camera 100 is abnormally low. However, because the input voltage of the AC adapter 203 has dropped, the output voltage is not determined to be 10 V in step S314. In this state, if the output voltage from the AC adapter 203 becomes abnormally low and the FET 256 is turned off, the power supply is stopped, and processing by the digital camera 100 is halted. On the other hand, after a drop in the input voltage of the AC adapter 203 is detected in step S450, if it becomes possible to supply a voltage of 15 V from the PD power adapter 205 in step S454, the output voltage is determined to be 10 V in step S314 as a result of the processing in FIG. 4 . In this case, the system control unit 50 executes the processes up to step S316, and then turns on the power of the digital camera 100.
実施形態1によれば、デジタルカメラ100は、電源起動時において、ACアダプター203との通信線の信号レベルがLレベルであれば、原則として、デジタルカメラ100が要求する電圧(要求電圧)の電力の供給をACアダプター203に要求する。そして、デジタルカメラ100は、ACアダプター203からの供給電圧を決定する。一方で、デジタルカメラ100は、電源起動時において、ACアダプター203との通信線の信号レベルがHレベルであれば、要求電圧の電力の供給の要求を行わない。このため、デジタルカメラ100は、直近(電源停止前)においてデジタルカメラ100が要求していた電圧の電力の供給をACアダプター203から受ける。 According to the first embodiment, when the digital camera 100 is powered on, if the signal level on the communication line with the AC adapter 203 is L level, then in principle the digital camera 100 requests the AC adapter 203 to supply power at the voltage required by the digital camera 100 (requested voltage). The digital camera 100 then determines the voltage to be supplied from the AC adapter 203. On the other hand, when the signal level on the communication line with the AC adapter 203 is H level, the digital camera 100 does not request power at the requested voltage. Therefore, the digital camera 100 receives power from the AC adapter 203 at the voltage that the digital camera 100 requested most recently (before the power was turned off).
また、デジタルカメラ100は、電源停止時における、ACアダプター203との通信線の信号レベルを、電源停止後においても維持するように制御する。そのため、デジタルカメラ100が要求する電圧である10VをACアダプター203から受けている状態で電源オフとなった場合に、ACアダプター203との通信線の信号レベルがHレベルに維持される。この状態で、再度、デジタルカメラ100の電源がオンとなった場合、ACアダプター203との通信線の信号レベルがHレベルに維持されているため、ACアダプター203は電力ネゴシエーションを行うことがない。 The digital camera 100 also controls the signal level of the communication line with the AC adapter 203 when the power is turned off so that it is maintained even after the power is turned off. Therefore, if the power is turned off while the digital camera 100 is receiving the 10V voltage required by the AC adapter 203 from the AC adapter 203, the signal level of the communication line with the AC adapter 203 is maintained at the H level. If the digital camera 100 is turned on again in this state, the signal level of the communication line with the AC adapter 203 will be maintained at the H level, and the AC adapter 203 will not perform power negotiation.
さらに、デジタルカメラ100は、ACアダプター203との通信線からのLエッジ割り込みを有効にしておき、電源オフ状態において家庭用電源の喪失を検知した際にACアダプター203との通信線の信号レベルをLレベルに変化させる。このことにより、ACアダプター203は、再度ネゴシエーションを実施する。 Furthermore, the digital camera 100 enables an L edge interrupt from the communication line with the AC adapter 203, and when it detects a loss of household power while the power is off, it changes the signal level of the communication line with the AC adapter 203 to L level. This causes the AC adapter 203 to perform negotiation again.
このため、ACアダプター203による電力ネゴシエーションの処理時間がデジタルカメラ100の起動時間に与える影響を低減することができる。また、電力ネゴシエーションが行われる必要がある場合には、電力ネゴシエーションが行われるため、ACアダプター203は、デジタルカメラ100に適切な電力を提供することができる。 This reduces the impact that the processing time for power negotiation by the AC adapter 203 has on the startup time of the digital camera 100. Furthermore, if power negotiation is required, it is performed, allowing the AC adapter 203 to provide appropriate power to the digital camera 100.
また、デジタルカメラ100は、電源オフ状態においても、ACアダプター203の出力低下を受け、ACアダプター203からの出力電圧を切り替えることを指示するコマンド(=要求電圧)をACアダプター203に通知する。このため、ACアダプター203は、デジタルカメラ100の要求電力を常に満たす出力電圧を出力できる。 In addition, even when the digital camera 100 is powered off, if the output of the AC adapter 203 drops, the digital camera 100 sends a command (required voltage) to the AC adapter 203 instructing it to switch the output voltage from the AC adapter 203. As a result, the AC adapter 203 can always output an output voltage that satisfies the power required by the digital camera 100.
また、上記において、「AがB以上の場合にはステップS1に進み、AがBよりも小さい(低い)場合にはステップS2に進む」は、「AがBよりも大きい(高い)場合にはステップS1に進み、AがB以下の場合にはステップS2に進む」と読み替えてもよい。逆に、「AがBよりも大きい(高い)場合にはステップS1に進み、AがB以下の場合にはステップS2に進む」は、「AがB以上の場合にはステップS1に進み、AがBよりも小さい(低い)場合にはステップS2に進む」と読み替えてもよい。このため、矛盾が生じない限り、「A以上」は、「Aよりも大きい(高い;長い;多い)」と読み替えてよく、「A以下」は、「Aよりも小さい(低い;短い;少ない)」と読み替えてもよい。そして、「Aよりも大きい(高い;長い;多い)」は、「A以上」と読み替えてもよく、「Aよりも小さい(低い;短い;少ない)」は「A以下」と読み替えてもよい。 Also, in the above, "If A is greater than or equal to B, proceed to step S1; if A is less than (lower than) B, proceed to step S2" may be read as "If A is greater than (higher than) B, proceed to step S1; if A is less than or equal to B, proceed to step S2." Conversely, "If A is greater than (higher than) B, proceed to step S1; if A is less than or equal to B, proceed to step S2" may be read as "If A is greater than (higher than) B, proceed to step S1; if A is less than (lower than) B, proceed to step S2." Therefore, unless a contradiction arises, "greater than or equal to A" may be read as "greater than (higher; longer; more) than A," and "less than or equal to A" may be read as "smaller than (lower; shorter; fewer) than A." Furthermore, "greater than (higher; longer; more) than A" may be read as "greater than or equal to A," and "smaller than (lower; shorter; fewer) than A" may be read as "less than or equal to A."
なお、上述の各種制御は1つのハードウェア(例えばプロセッサーまたは回路)が行ってもよいし、そうでなくてもよい。複数のハードウェア(例えば、複数のプロセッサー、複数の回路、または1つ以上のプロセッサーと1つ以上の回路の組み合わせ)が処理を分担することで、装置全体の制御を行ってもよい。 The various controls described above may or may not be performed by a single piece of hardware (e.g., a processor or circuit). The entire device may be controlled by multiple pieces of hardware (e.g., multiple processors, multiple circuits, or a combination of one or more processors and one or more circuits) sharing the processing.
また、上記プロセッサーは、広義のプロセッサーであり、汎用のプロセッサーと専用のプロセッサーを含む。汎用のプロセッサーは、例えば、CPU(Central Processing Unit)、MPU(Micro Processing Unit)、DSP(Digital Signal Processor)などである。専用のプロセッサーは、例えば、GPU(Graphics Processing Unit)、ASIC(Application Specific Integrated Circuit)、PLD(Programmable Logic Device)などである。プログラマブル論理デバイスは、例えば、FPGA(Field Programmable Gate Array)、CPLD(Complex Programmable Logic Device)などである。 The above processor is a broad term that includes both general-purpose and dedicated processors. General-purpose processors include, for example, CPUs (Central Processing Units), MPUs (Micro Processing Units), and DSPs (Digital Signal Processors). Dedicated processors include, for example, GPUs (Graphics Processing Units), ASICs (Application Specific Integrated Circuits), and PLDs (Programmable Logic Devices). Examples of programmable logic devices include FPGAs (Field Programmable Gate Arrays) and CPLDs (Complex Programmable Logic Devices).
また、本発明の実施形態を詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。さらに、上述した各実施形態は本発明の一実施形態を示すものにすぎず、各実施形態を適宜組み合わせることも可能である。 Although the embodiments of the present invention have been described in detail, the present invention is not limited to these specific embodiments, and various forms within the scope of the gist of the invention are also included in the present invention. Furthermore, each of the above-described embodiments merely represents one embodiment of the present invention, and each embodiment can be combined as appropriate.
<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路によっても実現可能である。
<Other embodiments>
The present invention can also be realized by a process in which a program that realizes one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in the computer of the system or device read and execute the program. The present invention can also be realized by a circuit that realizes one or more of the functions.
上記の実施形態の開示は、以下の構成、方法、プログラム、媒体を含む。
(構成1)
電力を供給する所定のアクセサリが取り外し可能に接続される電子機器であって、
通信線を介して前記所定のアクセサリと通信を行う手段であって、前記電子機器の起動時において、前記通信線の信号レベルが第1のレベルである場合には、第1の電圧の電力を供給するように前記所定のアクセサリに要求し、前記通信線の信号レベルが第2のレベルである場合には、前記第1の電圧の電力を供給するように前記所定のアクセサリに要求することを行わない所定の通信処理を行う通信手段と、
前記通信手段が前記第1の電圧の電力を供給するように前記所定のアクセサリに要求すると、前記通信線の信号レベルを前記第2のレベルに設定する第1の設定手段と、
前記電子機器の電源が停止された状態となった後において、前記電子機器の電源の停止時における前記通信線の信号レベルを維持するように制御する第1の制御手段と、
前記通信線の信号レベルが前記第2のレベルに設定されている場合に、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを検出可能な検出手段と、
を有し、
前記電子機器の電源が停止された状態となった後において、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを前記検出手段が検出すると、前記通信手段は、前記所定のアクセサリに前記第1の電圧の電力を要求する
ことを特徴とする電子機器。
(構成2)
前記電源が停止された状態は、前記電子機器の電源オフ状態を含み、
前記第1の制御手段は、前記電子機器がユーザからの電源オフの指示に応じて前記電源オフ状態となったときに前記通信線の信号レベルが前記第2のレベルに設定されていた場合には、前記電子機器が前記電源オフ状態となった後において、前記通信線のレベルを前記第2のレベルに維持するように制御し、
前記電子機器が前記指示に応じて前記電源オフ状態となった後において、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを前記検出手段が検出すると、前記通信手段は、前記所定のアクセサリに前記第1の電圧の電力を要求し、前記第1の制御手段は、前記電子機器を前記電源オフ状態とする
ことを特徴とする構成1に記載の電子機器。
(構成3)
前記電子機器が前記ユーザからの電源オフの指示に応じて前記電源オフ状態となった後において前記検出手段が前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを検出して前記通信手段が前記所定のアクセサリに前記第1の電圧の電力を要求すると、前記第1の設定手段は前記通信線の信号レベルを前記第2のレベルに設定し、前記第1の制御手段は、前記電子機器を前記電源オフ状態とした後、前記電子機器の電源の停止時における前記通信線の信号レベルを維持するように制御する
ことを特徴とする構成2に記載の電子機器。
(構成4)
前記電源が停止された状態は、前記電子機器のオートパワーオフ状態を含み、
前記第1の制御手段は、前記電子機器が前記オートパワーオフ状態となったときに前記通信線の信号レベルが前記第2のレベルに設定されていた場合には、前記電子機器が前記オートパワーオフ状態となった後において、前記通信線のレベルを前記第2のレベルに維持するように制御し、
前記電子機器が前記オートパワーオフ状態となった後において、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを前記検出手段が検出すると、前記通信手段は、前記所定のアクセサリに前記第1の電圧の電力を要求し、前記第1の制御手段は、前記電子機器を電源オン状態とする
ことを特徴とする構成1に記載の電子機器。
(構成5)
前記所定のアクセサリから出力される電圧を受ける電源制御手段を有し、
前記電源制御手段は、前記所定のアクセサリに前記第1の電圧を要求した場合には、前記第1の電圧を前記所定のアクセサリから受け、前記所定のアクセサリに前記第1の電圧を要求しない場合には、前記第1の電圧よりも低い第2の電圧を前記所定のアクセサリから受ける
ことを特徴とする構成1から4のいずれかに記載の電子機器。
(構成6)
前記第2の電圧は、前記電子機器により前記第1の電圧が要求されていない場合に前記所定のアクセサリから供給される所定の電圧である
ことを特徴とする構成5に記載の電子機器。
(構成7)
前記通信手段により前記第1の電圧が要求された場合、前記所定のアクセサリにより、前記所定のアクセサリからの出力電圧を前記第2の電圧から前記第1の電圧に変更するための処理が行われる
ことを特徴とする構成5または6に記載の電子機器。
(構成8)
前記所定のアクセサリはUSB Power Delivery(USB PD)規格に応じて給電装置から電力を受け、前記給電装置からの入力電圧から前記電子機器への前記出力電圧を生成して前記電子機器に出力し、
前記出力電圧を前記第2の電圧から前記第1の電圧に変更するための処理は、USB PDの電力ネゴシエーションの処理である
ことを特徴とする構成7に記載の電子機器。
(構成9)
前記所定のアクセサリとバッテリが装着可能なスロットをさらに有し、
前記第1の制御手段は、前記スロットに前記所定のアクセサリが装着された場合、前記電子機器の電源が停止された後において、前記電子機器の電源の停止時における前記通信線の信号レベルを維持するように制御し、前記スロットに前記バッテリが装着された場合、前記電子機器の電源が停止されると、前記通信線の信号レベルを前記第1のレベルに設定する
ことを特徴とする構成1から8のいずれかに記載の電子機器。
(構成10)
前記電子機器が電源オンの状態中において、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを前記検出手段が検出すると、前記第1の制御手段は、前記電子機器の所定のシャットダウン処理を実行した後、前記通信手段に前記所定の通信処理を行わせる
ことを特徴とする構成1から9のいずれかに記載の電子機器。
(構成11)
前記第1のレベルは、Lレベルであり、
前記第2のレベルは、Hレベルである
ことを特徴とする構成1から10のいずれかに記載の電子機器。
(構成12)
前記電子機器から前記所定のアクセサリが取り外された場合、前記通信線の信号レベルが前記第1のレベルになる
ことを特徴とする構成11に記載の電子機器。
(構成13)
前記通信手段が前記所定のアクセサリから電力供給の停止要求を受けた場合、前記第1の制御手段は、前記所定のアクセサリからの電力供給が停止されるまでに前記電子機器の電源停止の処理を行い、前記通信線の信号レベルが前記第1のレベルになる
ことを特徴とする構成11に記載の電子機器。
(構成14)
前記所定のアクセサリからの電力の供給が停止された場合、前記通信線の信号レベルが前記第1のレベルになる
ことを特徴とする構成11に記載の電子機器。
(構成15)
構成1から14のいずれかに記載の電子機器と、前記所定のアクセサリとを有するシステムであって、
前記所定のアクセサリは、
給電装置からの入力電圧を受け、前記入力電圧が所定のレベルよりも高い場合に、前記入力電圧から出力電圧を生成して前記電子機器に供給する供給手段と、
前記通信手段から前記第1の電圧の電力を供給するような要求がされていない場合に前記第1の電圧よりも低い第2の電圧の前記出力電圧を供給し、前記通信手段から前記要求がされた場合に前記第1の電圧の前記出力電圧を供給するように前記供給手段を制御する第2の制御手段と、
前記入力電圧が前記所定のレベルよりも低い場合に、前記通信線の信号レベルを前記第1のレベルに設定する第2の設定手段と、
を有し、
前記第2の制御手段は、前記通信線の信号レベルが前記第2のレベルに維持されている場合、前記供給手段による前記出力電圧を前記第1の電圧に変更する処理が行われないようにする
ことを特徴とするシステム。
(構成16)
前記供給手段は、
前記通信手段から前記要求がされていない場合、前記第2の電圧に対応した第3の電圧を前記給電装置に要求し、前記入力電圧である前記第3の電圧から前記第2の電圧を生成して前記電子機器に供給し、
前記出力電圧を前記第1の電圧に変更する処理を行う場合、前記第1の電圧に対応した第4の電圧を前記給電装置に要求し、前記入力電圧である前記第4の電圧から前記第1の電圧を生成して前記電子機器に供給する
ことを特徴とする構成15に記載のシステム。
(方法)
電力を供給する所定のアクセサリが取り外し可能に接続される電子機器の制御方法であって、
通信線を介して前記所定のアクセサリと通信を行うステップであって、前記電子機器の起動時において、前記通信線の信号レベルが第1のレベルである場合には、第1の電圧の電力を供給するように前記所定のアクセサリに要求し、前記通信線の信号レベルが第2のレベルである場合には、前記第1の電圧の電力を供給するように前記所定のアクセサリに要求することを行わない処理の通信処理を行う通信ステップと、
前記通信ステップにおいて前記第1の電圧の電力を供給するように前記所定のアクセサリに要求すると、前記通信線の信号レベルを前記第2のレベルに設定する第1の設定ステップと、
前記電子機器の電源が停止された状態となった後において、前記電子機器の電源の停止時における前記通信線の信号レベルを維持するように制御する第1の制御ステップと、
前記通信線の信号レベルが前記第2のレベルに設定されている場合に、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを検出可能な検出ステップと、
を有し、
前記電子機器の電源が停止された状態となった後において、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことが前記検出ステップにおいて検出されると、前記通信ステップでは、前記所定のアクセサリに前記第1の電圧の電力を要求する
ことを特徴とする電子機器の制御方法。
(プログラム)
コンピュータを、構成1から14のいずれかに記載の電子機器の各手段として機能させるためのプログラム。
(媒体)
コンピュータを、構成1から14のいずれかに記載の電子機器の各手段として機能させるためのプログラムを格納したコンピュータが読み取り可能な記憶媒体。
The disclosure of the above embodiments includes the following configurations, methods, programs, and media.
(Configuration 1)
An electronic device to which a predetermined accessory that supplies power is removably connected,
a communication means for communicating with the predetermined accessory via a communication line, the communication means performing predetermined communication processing to request the predetermined accessory to supply power of a first voltage when the signal level of the communication line is a first level, and not to request the predetermined accessory to supply power of the first voltage when the signal level of the communication line is a second level, when the electronic device is started up;
a first setting means for setting a signal level of the communication line to the second level when the communication means requests the predetermined accessory to supply power of the first voltage;
a first control means for controlling the electronic device so that the signal level of the communication line is maintained at the time when the power supply of the electronic device was stopped after the power supply of the electronic device was stopped;
a detection means for detecting a change in the signal level of the communication line from the second level to the first level when the signal level of the communication line is set to the second level;
and
When the detection means detects that the signal level of the communication line has changed from the second level to the first level after the power supply of the electronic device has been stopped, the communication means requests power of the first voltage from the specified accessory.
(Configuration 2)
the power-off state includes a power-off state of the electronic device,
the first control means, when the signal level of the communication line is set to the second level when the electronic device is turned off in response to a power-off instruction from a user, controls the level of the communication line to be maintained at the second level after the electronic device is turned off;
The electronic device described in configuration 1, characterized in that after the electronic device has entered the power-off state in response to the instruction, when the detection means detects that the signal level of the communication line has changed from the second level to the first level, the communication means requests power of the first voltage from the specified accessory, and the first control means places the electronic device in the power-off state.
(Configuration 3)
The electronic device described in configuration 2 is characterized in that after the electronic device enters the power-off state in response to a power-off instruction from the user, when the detection means detects that the signal level of the communication line has changed from the second level to the first level and the communication means requests power of the first voltage from the specified accessory, the first setting means sets the signal level of the communication line to the second level, and the first control means controls the electronic device to be in the power-off state and then maintains the signal level of the communication line at the time the power of the electronic device was stopped.
(Configuration 4)
the power-off state includes an auto-power-off state of the electronic device,
the first control means, if the signal level of the communication line is set to the second level when the electronic device is in the auto power off state, controls the level of the communication line to be maintained at the second level after the electronic device is in the auto power off state;
The electronic device described in configuration 1, characterized in that when the detection means detects that the signal level of the communication line has changed from the second level to the first level after the electronic device has entered the auto power off state, the communication means requests power of the first voltage from the specified accessory, and the first control means turns the electronic device into a power on state.
(Configuration 5)
a power supply control means for receiving a voltage output from the predetermined accessory;
The electronic device described in any one of configurations 1 to 4, characterized in that the power supply control means receives the first voltage from the specified accessory when the specified accessory requests the first voltage, and receives a second voltage lower than the first voltage from the specified accessory when the specified accessory does not request the first voltage.
(Configuration 6)
The electronic device described in configuration 5, wherein the second voltage is a predetermined voltage supplied from the predetermined accessory when the first voltage is not required by the electronic device.
(Configuration 7)
7. The electronic device according to configuration 5 or 6, characterized in that when the first voltage is requested by the communication means, the specified accessory performs processing to change the output voltage from the specified accessory from the second voltage to the first voltage.
(Configuration 8)
The predetermined accessory receives power from a power supply device in accordance with the USB Power Delivery (USB PD) standard, generates the output voltage for the electronic device from an input voltage from the power supply device, and outputs the output voltage to the electronic device;
8. The electronic device according to configuration 7, wherein the process for changing the output voltage from the second voltage to the first voltage is a process of power negotiation for USB PD.
(Configuration 9)
The device further has slots into which the predetermined accessory and battery can be attached,
The electronic device described in any one of configurations 1 to 8, characterized in that when the specified accessory is attached to the slot, after the power of the electronic device is turned off, the first control means controls to maintain the signal level of the communication line at the time the power of the electronic device was turned off, and when the battery is attached to the slot, when the power of the electronic device is turned off, the signal level of the communication line is set to the first level.
(Configuration 10)
10. The electronic device described in any one of configurations 1 to 9, wherein when the detection means detects that the signal level of the communication line has changed from the second level to the first level while the electronic device is in a power-on state, the first control means executes a predetermined shutdown process of the electronic device and then causes the communication means to perform the predetermined communication process.
(Configuration 11)
the first level is an L level,
11. The electronic device according to any one of configurations 1 to 10, wherein the second level is an H level.
(Configuration 12)
12. The electronic device according to configuration 11, wherein when the predetermined accessory is removed from the electronic device, the signal level of the communication line becomes the first level.
(Configuration 13)
The electronic device described in configuration 11, characterized in that when the communication means receives a request to stop power supply from the specified accessory, the first control means performs processing to stop power supply to the electronic device before power supply from the specified accessory is stopped, and the signal level of the communication line becomes the first level.
(Configuration 14)
12. The electronic device according to configuration 11, wherein when the supply of power from the predetermined accessory is stopped, the signal level of the communication line becomes the first level.
(Configuration 15)
A system including the electronic device according to any one of configurations 1 to 14 and the predetermined accessory,
The predetermined accessory is
a supplying means for receiving an input voltage from a power supply device, and generating an output voltage from the input voltage when the input voltage is higher than a predetermined level, and supplying the output voltage to the electronic device;
a second control means for controlling the supply means to supply the output voltage of a second voltage lower than the first voltage when there is no request from the communication means to supply power of the first voltage, and to supply the output voltage of the first voltage when there is a request from the communication means;
a second setting means for setting the signal level of the communication line to the first level when the input voltage is lower than the predetermined level;
and
The system is characterized in that the second control means prevents the supply means from performing a process of changing the output voltage to the first voltage when the signal level of the communication line is maintained at the second level.
(Configuration 16)
The supply means
If the request is not made from the communication means, a third voltage corresponding to the second voltage is requested from the power supply device, and the second voltage is generated from the third voltage, which is the input voltage, and is supplied to the electronic device;
The system according to configuration 15, characterized in that when performing a process of changing the output voltage to the first voltage, a fourth voltage corresponding to the first voltage is requested from the power supply device, and the first voltage is generated from the fourth voltage, which is the input voltage, and supplied to the electronic device.
(method)
A method for controlling an electronic device to which a predetermined accessory that supplies power is removably connected, comprising:
a communication step of performing communication processing with the predetermined accessory via a communication line, in which, when the signal level of the communication line is at a first level, the predetermined accessory is requested to supply power of a first voltage, and when the signal level of the communication line is at a second level, the predetermined accessory is not requested to supply power of the first voltage;
a first setting step of setting a signal level of the communication line to the second level when the predetermined accessory is requested to supply power of the first voltage in the communication step;
a first control step of performing control so as to maintain the signal level of the communication line at the time when the power supply of the electronic device was stopped after the power supply of the electronic device was stopped;
a detecting step capable of detecting, when the signal level of the communication line is set to the second level, that the signal level of the communication line has changed from the second level to the first level;
and
A control method for an electronic device, characterized in that when the detection step detects that the signal level of the communication line has changed from the second level to the first level after the power supply of the electronic device has been stopped, the communication step requests power of the first voltage from the specified accessory.
(program)
15. A program for causing a computer to function as each means of the electronic device according to any one of configurations 1 to 14.
(media)
A computer-readable storage medium storing a program for causing a computer to function as each of the means of the electronic device described in any one of configurations 1 to 14.
100:デジタルカメラ(電子機器)、54:通信部、
50:システム制御部
100: Digital camera (electronic device), 54: Communication unit,
50: System control unit
Claims (19)
通信線を介して前記所定のアクセサリと通信を行う手段であって、前記電子機器の起動時において、前記通信線の信号レベルが第1のレベルである場合には、第1の電圧の電力を供給するように前記所定のアクセサリに要求し、前記通信線の信号レベルが第2のレベルである場合には、前記第1の電圧の電力を供給するように前記所定のアクセサリに要求することを行わない所定の通信処理を行う通信手段と、
前記通信手段が前記第1の電圧の電力を供給するように前記所定のアクセサリに要求すると、前記通信線の信号レベルを前記第2のレベルに設定する第1の設定手段と、
前記電子機器の電源が停止された状態となった後において、前記電子機器の電源の停止時における前記通信線の信号レベルを維持するように制御する第1の制御手段と、
前記通信線の信号レベルが前記第2のレベルに設定されている場合に、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを検出可能な検出手段と、
を有し、
前記電子機器の電源が停止された状態となった後において、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを前記検出手段が検出すると、前記通信手段は、前記所定のアクセサリに前記第1の電圧の電力を要求する
ことを特徴とする電子機器。 An electronic device to which a predetermined accessory that supplies power is removably connected,
a communication means for communicating with the predetermined accessory via a communication line, the communication means performing predetermined communication processing to request the predetermined accessory to supply power of a first voltage when the signal level of the communication line is a first level, and not to request the predetermined accessory to supply power of the first voltage when the signal level of the communication line is a second level, when the electronic device is started up;
a first setting means for setting a signal level of the communication line to the second level when the communication means requests the predetermined accessory to supply power of the first voltage;
a first control means for controlling the electronic device so that the signal level of the communication line is maintained at the time when the power supply of the electronic device was stopped after the power supply of the electronic device was stopped;
a detection means for detecting a change in the signal level of the communication line from the second level to the first level when the signal level of the communication line is set to the second level;
and
When the detection means detects that the signal level of the communication line has changed from the second level to the first level after the power supply of the electronic device has been stopped, the communication means requests power of the first voltage from the specified accessory.
前記第1の制御手段は、前記電子機器がユーザからの電源オフの指示に応じて前記電源オフ状態となったときに前記通信線の信号レベルが前記第2のレベルに設定されていた場合には、前記電子機器が前記電源オフ状態となった後において、前記通信線のレベルを前記第2のレベルに維持するように制御し、
前記電子機器が前記指示に応じて前記電源オフ状態となった後において、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを前記検出手段が検出すると、前記通信手段は、前記所定のアクセサリに前記第1の電圧の電力を要求し、前記第1の制御手段は、前記電子機器を前記電源オフ状態とする
ことを特徴とする請求項1に記載の電子機器。 the power-off state includes a power-off state of the electronic device,
the first control means, when the signal level of the communication line is set to the second level when the electronic device is turned off in response to a power-off instruction from a user, controls the level of the communication line to be maintained at the second level after the electronic device is turned off;
The electronic device described in claim 1, characterized in that when the detection means detects that the signal level of the communication line has changed from the second level to the first level after the electronic device has entered the power-off state in response to the instruction, the communication means requests power of the first voltage from the specified accessory, and the first control means places the electronic device in the power-off state.
ことを特徴とする請求項2に記載の電子機器。 3. The electronic device according to claim 2, wherein, after the electronic device has entered the power-off state in response to a power-off instruction from the user, when the detection means detects that the signal level of the communication line has changed from the second level to the first level and the communication means requests power of the first voltage from the specified accessory, the first setting means sets the signal level of the communication line to the second level, and the first control means controls the electronic device to maintain the signal level of the communication line at the time the power of the electronic device was stopped after entering the power-off state.
前記第1の制御手段は、前記電子機器が前記オートパワーオフ状態となったときに前記通信線の信号レベルが前記第2のレベルに設定されていた場合には、前記電子機器が前記オートパワーオフ状態となった後において、前記通信線のレベルを前記第2のレベルに維持するように制御し、
前記電子機器が前記オートパワーオフ状態となった後において、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを前記検出手段が検出すると、前記通信手段は、前記所定のアクセサリに前記第1の電圧の電力を要求し、前記第1の制御手段は、前記電子機器を電源オン状態とする
ことを特徴とする請求項1に記載の電子機器。 the power-off state includes an auto-power-off state of the electronic device,
the first control means, if the signal level of the communication line is set to the second level when the electronic device is in the auto power off state, controls the level of the communication line to be maintained at the second level after the electronic device is in the auto power off state;
2. The electronic device according to claim 1, wherein, after the electronic device has entered the auto power-off state, when the detection means detects that the signal level of the communication line has changed from the second level to the first level, the communication means requests power of the first voltage from the specified accessory, and the first control means turns the electronic device on.
前記電源制御手段は、前記所定のアクセサリに前記第1の電圧を要求した場合には、前記第1の電圧を前記所定のアクセサリから受け、前記所定のアクセサリに前記第1の電圧を要求しない場合には、前記第1の電圧よりも低い第2の電圧を前記所定のアクセサリから受ける
ことを特徴とする請求項1に記載の電子機器。 a power supply control means for receiving a voltage output from the predetermined accessory;
2. The electronic device according to claim 1, wherein the power supply control means receives the first voltage from the specified accessory when the specified accessory requests the first voltage, and receives a second voltage lower than the first voltage from the specified accessory when the specified accessory does not request the first voltage.
ことを特徴とする請求項5に記載の電子機器。 6. The electronic device according to claim 5, wherein the second voltage is a predetermined voltage supplied from the predetermined accessory when the first voltage is not required by the electronic device.
ことを特徴とする請求項5に記載の電子機器。 6. The electronic device according to claim 5, wherein when the first voltage is requested by the communication means, the specified accessory performs processing to change the output voltage from the specified accessory from the second voltage to the first voltage.
前記出力電圧を前記第2の電圧から前記第1の電圧に変更するための処理は、USB PDの電力ネゴシエーションの処理である
ことを特徴とする請求項7に記載の電子機器。 The predetermined accessory receives power from a power supply device in accordance with the USB Power Delivery (USB PD) standard, generates the output voltage for the electronic device from an input voltage from the power supply device, and outputs the output voltage to the electronic device;
8. The electronic device according to claim 7, wherein the process for changing the output voltage from the second voltage to the first voltage is a process of power negotiation of a USB PD.
前記第1の制御手段は、前記スロットに前記所定のアクセサリが装着された場合、前記電子機器の電源が停止された後において、前記電子機器の電源の停止時における前記通信線の信号レベルを維持するように制御し、前記スロットに前記バッテリが装着された場合、前記電子機器の電源が停止されると、前記通信線の信号レベルを前記第1のレベルに設定する
ことを特徴とする請求項1に記載の電子機器。 The device further has slots into which the predetermined accessory and battery can be attached,
The electronic device described in claim 1, characterized in that when the specified accessory is attached to the slot, the first control means controls the communication line to maintain the signal level at the time the power of the electronic device is turned off after the power of the electronic device is turned off, and when the battery is attached to the slot, the signal level of the communication line is set to the first level when the power of the electronic device is turned off.
ことを特徴とする請求項1に記載の電子機器。 2. The electronic device according to claim 1, wherein when the detection means detects that the signal level of the communication line has changed from the second level to the first level while the electronic device is in a power-on state, the first control means executes a predetermined shutdown process of the electronic device and then causes the communication means to perform the predetermined communication process.
前記第2のレベルは、Hレベルである
ことを特徴とする請求項1に記載の電子機器。 the first level is an L level,
2. The electronic device according to claim 1, wherein the second level is an H level.
ことを特徴とする請求項11に記載の電子機器。 12. The electronic device according to claim 11, wherein when the predetermined accessory is detached from the electronic device, the signal level of the communication line becomes the first level.
ことを特徴とする請求項11に記載の電子機器。 The electronic device according to claim 11, characterized in that, when the communication means receives a request to stop power supply from the specified accessory, the first control means performs processing to stop power supply to the electronic device before the power supply from the specified accessory is stopped, and the signal level of the communication line becomes the first level.
ことを特徴とする請求項11に記載の電子機器。 12. The electronic device according to claim 11, wherein when the supply of power from the predetermined accessory is stopped, the signal level of the communication line becomes the first level.
前記所定のアクセサリは、
給電装置からの入力電圧を受け、前記入力電圧が所定のレベルよりも高い場合に、前記入力電圧から出力電圧を生成して前記電子機器に供給する供給手段と、
前記通信手段から前記第1の電圧の電力を供給するような要求がされていない場合に前記第1の電圧よりも低い第2の電圧の前記出力電圧を供給し、前記通信手段から前記要求がされた場合に前記第1の電圧の前記出力電圧を供給するように前記供給手段を制御する第2の制御手段と、
前記入力電圧が前記所定のレベルよりも低い場合に、前記通信線の信号レベルを前記第1のレベルに設定する第2の設定手段と、
を有し、
前記第2の制御手段は、前記通信線の信号レベルが前記第2のレベルに維持されている場合、前記供給手段による前記出力電圧を前記第1の電圧に変更する処理が行われないようにする
ことを特徴とするシステム。 A system including the electronic device according to any one of claims 1 to 14 and the predetermined accessory,
The predetermined accessory is
a supplying means for receiving an input voltage from a power supply device, and generating an output voltage from the input voltage when the input voltage is higher than a predetermined level, and supplying the output voltage to the electronic device;
a second control means for controlling the supply means to supply the output voltage of a second voltage lower than the first voltage when there is no request from the communication means to supply power of the first voltage, and to supply the output voltage of the first voltage when there is a request from the communication means;
a second setting means for setting the signal level of the communication line to the first level when the input voltage is lower than the predetermined level;
and
The system is characterized in that the second control means prevents the supply means from performing a process of changing the output voltage to the first voltage when the signal level of the communication line is maintained at the second level.
前記通信手段から前記要求がされていない場合、前記第2の電圧に対応した第3の電圧を前記給電装置に要求し、前記入力電圧である前記第3の電圧から前記第2の電圧を生成して前記電子機器に供給し、
前記出力電圧を前記第1の電圧に変更する処理を行う場合、前記第1の電圧に対応した第4の電圧を前記給電装置に要求し、前記入力電圧である前記第4の電圧から前記第1の電圧を生成して前記電子機器に供給する
ことを特徴とする請求項15に記載のシステム。 The supply means
If the request is not made from the communication means, a third voltage corresponding to the second voltage is requested from the power supply device, and the second voltage is generated from the third voltage, which is the input voltage, and is supplied to the electronic device;
16. The system according to claim 15, wherein, when performing a process of changing the output voltage to the first voltage, a fourth voltage corresponding to the first voltage is requested from the power supply device, and the first voltage is generated from the fourth voltage, which is the input voltage, and supplied to the electronic device.
通信線を介して前記所定のアクセサリと通信を行うステップであって、前記電子機器の起動時において、前記通信線の信号レベルが第1のレベルである場合には、第1の電圧の電力を供給するように前記所定のアクセサリに要求し、前記通信線の信号レベルが第2のレベルである場合には、前記第1の電圧の電力を供給するように前記所定のアクセサリに要求することを行わない所定の通信処理を行う通信ステップと、
前記通信ステップにおいて前記第1の電圧の電力を供給するように前記所定のアクセサリに要求すると、前記通信線の信号レベルを前記第2のレベルに設定する第1の設定ステップと、
前記電子機器の電源が停止された状態となった後において、前記電子機器の電源の停止時における前記通信線の信号レベルを維持するように制御する第1の制御ステップと、
前記通信線の信号レベルが前記第2のレベルに設定されている場合に、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことを検出可能な検出ステップと、
を有し、
前記電子機器の電源が停止された状態となった後において、前記通信線の信号レベルが前記第2のレベルから前記第1のレベルに変化したことが前記検出ステップにおいて検出されると、前記通信ステップでは、前記所定のアクセサリに前記第1の電圧の電力を要求
する
ことを特徴とする電子機器の制御方法。 A method for controlling an electronic device to which a predetermined accessory that supplies power is removably connected, comprising:
a communication step of performing a predetermined communication process in which, when the signal level of the communication line is a first level, the predetermined accessory is requested to supply power of a first voltage, and when the signal level of the communication line is a second level, the predetermined accessory is not requested to supply power of the first voltage;
a first setting step of setting a signal level of the communication line to the second level when the predetermined accessory is requested to supply power of the first voltage in the communication step;
a first control step of performing control so as to maintain the signal level of the communication line at the time when the power supply of the electronic device was stopped after the power supply of the electronic device was stopped;
a detecting step capable of detecting, when the signal level of the communication line is set to the second level, that the signal level of the communication line has changed from the second level to the first level;
and
A control method for an electronic device, characterized in that when the detection step detects that the signal level of the communication line has changed from the second level to the first level after the power supply of the electronic device has been stopped, the communication step requests power of the first voltage from the specified accessory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2024104164A JP2026005668A (en) | 2024-06-27 | 2024-06-27 | Electronic device, system, electronic device control method, program, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2024104164A JP2026005668A (en) | 2024-06-27 | 2024-06-27 | Electronic device, system, electronic device control method, program, and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2026005668A true JP2026005668A (en) | 2026-01-16 |
Family
ID=98412837
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2024104164A Pending JP2026005668A (en) | 2024-06-27 | 2024-06-27 | Electronic device, system, electronic device control method, program, and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2026005668A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018143016A (en) * | 2017-02-27 | 2018-09-13 | 株式会社リコー | Power receiving device |
| JP2019071729A (en) * | 2017-10-10 | 2019-05-09 | キヤノン株式会社 | Imaging device and control method |
| JP2024057187A (en) * | 2022-10-12 | 2024-04-24 | セイコーエプソン株式会社 | Image reading device and image reading method therefor |
-
2024
- 2024-06-27 JP JP2024104164A patent/JP2026005668A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018143016A (en) * | 2017-02-27 | 2018-09-13 | 株式会社リコー | Power receiving device |
| JP2019071729A (en) * | 2017-10-10 | 2019-05-09 | キヤノン株式会社 | Imaging device and control method |
| JP2024057187A (en) * | 2022-10-12 | 2024-04-24 | セイコーエプソン株式会社 | Image reading device and image reading method therefor |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7091065B2 (en) | Record control device, control method and program of record control device | |
| US11108965B2 (en) | Electronic apparatus for controlling display of remaining power of a battery and control method for electronic apparatus | |
| US20140176746A1 (en) | Image pickup apparatus and control method of image pickup apparatus | |
| JP6512895B2 (en) | Image pickup apparatus, control method thereof and program | |
| US10666895B2 (en) | Display control apparatus and method of controlling the apparatus | |
| JP2015119259A (en) | Display controller, control method and program for the same, and storage medium | |
| JP7693874B1 (en) | Electronic device, system, control method, program, and storage medium | |
| JP2026005668A (en) | Electronic device, system, electronic device control method, program, and storage medium | |
| CN108132705B (en) | Electronic device, control method, and storage medium | |
| JP5755035B2 (en) | Imaging apparatus and control method thereof | |
| JP2015022339A (en) | Electronic device and control method thereof | |
| JP2020182185A (en) | Imaging device and display control method | |
| US10530981B2 (en) | Image capturing apparatus, control method, and storage medium for not producing a notification sound | |
| US11115589B2 (en) | Imaging control apparatus and method for controlling imaging control apparatus | |
| JP7458715B2 (en) | Photographic device, its control method, program, and recording medium | |
| CN109525775B (en) | Electronic device and control method | |
| US12292775B2 (en) | Electronic apparatus, method of controlling the same and non-transitory computer-readable storage medium | |
| JP6742833B2 (en) | Information processing apparatus and information processing method | |
| JP2025076136A (en) | Electronic device, control method thereof, program, and storage medium | |
| JP2020167623A (en) | Imaging device and control method | |
| CN115004684B (en) | Camera device, control method and storage medium | |
| US20250386094A1 (en) | Electronic apparatus, its control method, and a storage medium | |
| JP7630966B2 (en) | Imaging device, control method thereof, and program | |
| JP2019087951A (en) | Imaging device and control method | |
| JP2025144299A (en) | Electronic device and method for controlling electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20250425 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20260106 |