JP5846410B2 - Electronic device, its use state detection method, and program - Google Patents

Electronic device, its use state detection method, and program Download PDF

Info

Publication number
JP5846410B2
JP5846410B2 JP2011125327A JP2011125327A JP5846410B2 JP 5846410 B2 JP5846410 B2 JP 5846410B2 JP 2011125327 A JP2011125327 A JP 2011125327A JP 2011125327 A JP2011125327 A JP 2011125327A JP 5846410 B2 JP5846410 B2 JP 5846410B2
Authority
JP
Japan
Prior art keywords
state
acceleration
main body
electronic device
strap
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011125327A
Other languages
Japanese (ja)
Other versions
JP2012252203A (en
JP2012252203A5 (en
Inventor
加藤 芳幸
芳幸 加藤
丈晴 竹内
丈晴 竹内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2011125327A priority Critical patent/JP5846410B2/en
Publication of JP2012252203A publication Critical patent/JP2012252203A/en
Publication of JP2012252203A5 publication Critical patent/JP2012252203A5/ja
Application granted granted Critical
Publication of JP5846410B2 publication Critical patent/JP5846410B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Exposure Control For Cameras (AREA)
  • Details Of Cameras Including Film Mechanisms (AREA)
  • Camera Bodies And Camera Details Or Accessories (AREA)
  • Accessories Of Cameras (AREA)
  • Studio Devices (AREA)

Description

本発明は、持ち運びに使用されるストラップを備えた電子機器の使用状態を検出する技術に関するものである。   The present invention relates to a technique for detecting a use state of an electronic device including a strap used for carrying.

従来、例えば下記特許文献1には、携帯型の電子機器であるデジタルカメラの使用状態を検出する技術として、カメラ内に角速度センサを設け、角速度センサの出力波形の振幅に基づいて、カメラが放置状態と撮影準備状態と持ち運び状態の何れの状態であるのかを判定する技術が記載されている。かかる技術を用いれば、カメラが撮影準備状態以外の状態で一定期間操作が行われなかったときには、電源を自動的にオフ状態とすることにより電池寿命の長期化を図ると同時に、撮影準備状態で一定期間操作が行われなかったときユーザの意に反して電源がオフ状態となる不都合を解消することができる。   Conventionally, for example, in Patent Document 1 below, as a technique for detecting the usage state of a digital camera that is a portable electronic device, an angular velocity sensor is provided in the camera, and the camera is left unattended based on the amplitude of the output waveform of the angular velocity sensor. A technique for determining which state is a state, a shooting preparation state, or a carrying state is described. With this technology, when the camera is not operated for a certain period of time in a state other than the shooting preparation state, the power is automatically turned off to extend the battery life and at the same time the shooting preparation state. When the operation is not performed for a certain period, it is possible to eliminate the disadvantage that the power is turned off against the user's will.

特開平10−173970号公報Japanese Patent Laid-Open No. 10-173970

ところで、例えばコンパクト型のデジタルカメラでは、カメラ本体にストラップが装着されているものが一般的であり、カメラが持ち運び状態にあるときには、ユーザがカメラを直接手で持っている場合と、ストラップを用いて吊り下げている場合とがある。   By the way, for example, a compact digital camera generally has a strap attached to the camera body. When the camera is in a portable state, the user can hold the camera directly by hand or use a strap. Sometimes hanging.

しかしながら、特許文献1に記載の技術においては、カメラが持ち運び状態にあるとき、ユーザがカメラを手に持っているのか、またはストラップを用いて吊り下げているのかを区別することができない。そのため、例えば以下の要求には対応することができないという問題があった。   However, in the technique described in Patent Document 1, when the camera is in a portable state, it cannot be distinguished whether the user has the camera in his hand or is suspended by using a strap. For this reason, for example, there is a problem that the following requests cannot be met.

すなわちデジタルカメラの撮影レンズが沈胴式である場合、撮影モードが設定されている間、撮影レンズがカメラ本体から繰り出された状態にある。係る状態のままカメラを持ち歩くと、撮影レンズが他との干渉により破損したり、衝撃によってフォーカス位置ずれを起こしたりする虞がある。したがって、撮影モードが設定されている状態では、カメラがストラップを用いて吊り下げられたときには、撮影レンズを直ちにカメラ本体に収納することが望ましいが、係る要求には対応することができなかった。   That is, when the photographing lens of the digital camera is a retractable type, the photographing lens is extended from the camera body while the photographing mode is set. If the camera is carried around in such a state, the photographing lens may be damaged due to interference with others, or the focus position may be shifted due to an impact. Therefore, in a state where the shooting mode is set, it is desirable to immediately store the shooting lens in the camera body when the camera is suspended using a strap, but such a request cannot be met.

本発明は、かかる従来の課題に鑑みてなされたものであり、ストラップを用いて吊り下げられた状態と他の状態とを明確に区別して検出することが可能な電子機器、及びその使用状態検出方法と、それらの実現に使用されるプログラムを提供することを目的とする。   The present invention has been made in view of such conventional problems, and an electronic device capable of clearly distinguishing and detecting a state suspended from a strap and other states, and a use state detection thereof It is an object to provide methods and programs used to implement them.

前記課題を解決するため、本発明においては、機器本体に生じる加速度を検出する加速度検出手段と、前記加速度検出手段により検出された加速度の変化形態に基づいて、機器本体が所定の周期で振子運動している状態にある第1状態か、機器本体が所定の周期で振子運動していないが機器本体の揺れが所定の振幅よりも大きい第2状態か、それ以外の第3状態かを判断する判断手段と、前記第1状態、前記第2状態、前記第3状態で異なる動作状態になるように、前記判断手段による判断結果に応じて動作状態を変更する制御手段とを備えたことを特徴とする。 In order to solve the above-mentioned problems, in the present invention, the device main body has a pendulum motion at a predetermined cycle based on acceleration detection means for detecting acceleration generated in the device main body, and a change form of acceleration detected by the acceleration detection means. Whether the first state is in a state of being in motion, the device main body is not pendulum-moving with a predetermined period, but the swing of the device main body is greater than a predetermined amplitude, or the other third state is determined A determination unit; and a control unit configured to change an operation state according to a determination result by the determination unit so that the operation state differs between the first state, the second state, and the third state. And

本発明によれば、ストラップを用いて吊り下げられた状態と他の状態とを明確に区別して検出することが可能となる。   According to the present invention, it is possible to clearly distinguish and detect a state suspended using a strap and another state.

本発明に係るデジタルカメラの外観図である。1 is an external view of a digital camera according to the present invention. デジタルカメラのブロック図である。It is a block diagram of a digital camera. ストラップを用いたデジタルカメラの吊り下げ状態を示す説明図である。It is explanatory drawing which shows the suspended state of the digital camera using a strap. 撮影モードでの加速度データに基づく処理を示すフローチャートである。It is a flowchart which shows the process based on the acceleration data in imaging | photography mode. 図4に続くフローチャートである。It is a flowchart following FIG. 揺れサイクル検出処理を示すフローチャートである。It is a flowchart which shows a shaking cycle detection process. カメラ本体に振子運動が生じているとき加速度の出力波形の例を示す図である。It is a figure which shows the example of the output waveform of an acceleration when the pendulum motion has arisen in the camera main body. ストラップ持ち状態と手持ち移動状態とにおいてデジタルカメラに生じる加速度の出力波形の特徴を示す図である。It is a figure which shows the characteristic of the output waveform of the acceleration which arises in a digital camera in a strap holding state and a hand-held movement state.

以下、本発明の実施形態について説明する。図1は、本発明を適用したデジタルカメラ1の外観図である。図示したように、デジタルカメラ1の本体(以下、カメラ本体という。)2には、前面に沈胴式の撮影レンズ3が配置され、上面にシャッターキー4が配置されている。また、カメラ本体2の一方の側面にはストラップ取付部5が設けられており、ストラップ取付部5にはストラップ6が取り付けられている。   Hereinafter, embodiments of the present invention will be described. FIG. 1 is an external view of a digital camera 1 to which the present invention is applied. As shown in the drawing, a main body (hereinafter referred to as a camera main body) 2 of the digital camera 1 has a retractable photographing lens 3 disposed on the front surface and a shutter key 4 disposed on the upper surface. Further, a strap attachment portion 5 is provided on one side surface of the camera body 2, and a strap 6 is attached to the strap attachment portion 5.

図2は、主としてデジタルカメラ1の電気的構成の概略を示したブロック図である。デジタルカメラ1は、レンズブロック12と、モータブロック13と、モータドライバ14とを備えている。   FIG. 2 is a block diagram schematically showing an electrical configuration of the digital camera 1 mainly. The digital camera 1 includes a lens block 12, a motor block 13, and a motor driver 14.

レンズブロック12は、撮影レンズ3を構成するとともに図示しない鏡胴内に収容されたフォーカスレンズを含むズームレンズからなるレンズ群、及び絞りから構成される。   The lens block 12 includes a lens group including a zoom lens including a focus lens that is included in a lens barrel (not shown) and a diaphragm that constitute the photographing lens 3.

モータブロック13は、レンズブロック12のレンズ群を駆動するズームモータ及びフォーカスモータと、絞りを開閉駆動する絞り用モータとから構成される。モータドライバ14は、デジタルカメラ1全体を制御するCPU(Central Processing Unit)15の命令に従いモータブロック13の各モータを駆動する。   The motor block 13 includes a zoom motor and a focus motor that drive the lens group of the lens block 12, and an aperture motor that drives the aperture to open and close. The motor driver 14 drives each motor of the motor block 13 in accordance with a command from a CPU (Central Processing Unit) 15 that controls the entire digital camera 1.

デジタルカメラ1は、撮像素子としてCCD(Charge Coupled Device)16を有しており、レンズブロック12において結像された被写体の光学像はCCD16により電気信号に変換される。   The digital camera 1 has a CCD (Charge Coupled Device) 16 as an image sensor, and an optical image of a subject formed in the lens block 12 is converted into an electrical signal by the CCD 16.

CCD16は、CPU15の命令に従いタイミング発生器(TG)17が生成するタイミング信号に基づいて垂直/水平ドライバ18により駆動され、被写体の光学像に応じたアナログの撮像信号をAFE(Analog Front End)19へ供給する。   The CCD 16 is driven by a vertical / horizontal driver 18 based on a timing signal generated by a timing generator (TG) 17 in accordance with a command from the CPU 15, and an analog imaging signal corresponding to an optical image of a subject is received by an AFE (Analog Front End) 19. To supply.

AFE19は、CCD16から供給された撮像信号のノイズ低減、増幅、及びデジタル信号への変換を行い、変換後の画像データを画像処理部20へ供給する。   The AFE 19 performs noise reduction, amplification, and conversion into a digital signal of the imaging signal supplied from the CCD 16, and supplies the converted image data to the image processing unit 20.

画像処理部20は、CPU15の命令に従いSDRAM(Synchronous dynamic random-access memory)21を作業用メモリとして、入力したデジタルの撮像信号(ベイヤーデータ)に基づき画素毎のRGBデータを生成するRGB補間処理、RGBデータをYUVデータに変換するYUV変換処理等のデジタル信号処理を行う。   The image processing unit 20 uses an SDRAM (Synchronous Dynamic Random Access Memory) 21 as a working memory in accordance with an instruction from the CPU 15 to generate RGB data for each pixel based on an input digital imaging signal (Bayer data). Digital signal processing such as YUV conversion processing for converting RGB data into YUV data is performed.

画像処理部20で変換されたYUVデータは順次SDRAM21に格納され、1フレーム分のデータが蓄積される毎にビデオ信号に変換されて液晶モニタ(LCD)22へ供給され、液晶モニタ22においてライブビュー画像として表示される。   The YUV data converted by the image processing unit 20 is sequentially stored in the SDRAM 21, converted into a video signal every time one frame of data is accumulated, supplied to a liquid crystal monitor (LCD) 22, and the live view is displayed on the liquid crystal monitor 22. Displayed as an image.

また、撮影モードにおいて、シャッターキー4が押下された撮影時には、SDRAM21に一時記憶された画像データがCPU15によって圧縮され、最終的には所定のフォーマットの静止画ファイルとして外部メモリ23に記録される。   In shooting mode, when the shutter key 4 is pressed, image data temporarily stored in the SDRAM 21 is compressed by the CPU 15 and finally recorded in the external memory 23 as a still image file of a predetermined format.

外部メモリ23は、例えばカメラ本体2着脱自在な各種のメモリカードにより構成される。外部メモリ23に記録された静止画ファイルは、再生モードにおいてユーザの選択操作に応じてCPU15により随時読み出されて伸張された後、YUVデータとしてSDRAM21に展開される。SDRAM21に展開されたYUVデータは液晶モニタ22に供給され、液晶モニタ22において静止画像として表示される。   The external memory 23 is composed of various memory cards that are detachable from the camera body 2, for example. The still image file recorded in the external memory 23 is read and expanded at any time by the CPU 15 in accordance with the user's selection operation in the reproduction mode, and is then expanded on the SDRAM 21 as YUV data. The YUV data developed on the SDRAM 21 is supplied to the liquid crystal monitor 22 and displayed as a still image on the liquid crystal monitor 22.

デジタルカメラ1は、記憶データが書き換え可能な不揮発性メモリであるフラッシュメモリ24を備えている。フラッシュメモリ24には、CPU15にデジタルカメラ1の各部を制御させるための各種のプログラム、すなわち一般的なAE制御や、AF制御、AWB制御等を行わせるプログラム、及びデジタルカメラ1の制御に使用される各種データが記憶されている。さらに、フラッシュメモリ24には、デジタルカメラ1が撮影モードで動作している間に、CPU15に後述する処理を行わせるプログラムも記憶されている。   The digital camera 1 includes a flash memory 24 that is a nonvolatile memory in which stored data can be rewritten. The flash memory 24 is used for various programs for causing the CPU 15 to control each part of the digital camera 1, that is, a program for performing general AE control, AF control, AWB control, and the like, and control of the digital camera 1. Various data are stored. Further, the flash memory 24 also stores a program that causes the CPU 15 to perform processing to be described later while the digital camera 1 is operating in the shooting mode.

また、デジタルカメラ1は、加速度センサ25及びマイコン26を備えている。加速度センサ25は、X,Y,Zの3軸方向の加速度を個別に検出するセンサである。加速度センサ25は、加速度の検出信号を増幅するアンプと、増幅後の検出信号をデジタルの検出信号に変換するA/D変換器とを含み、3軸毎の加速度データをCPU15に供給する。なお、CPU15に供給された加速度データは、CPU15により、画像データの記憶領域とは別にSDRAM21に確保された記憶領域に必要に応じて記憶される。   The digital camera 1 also includes an acceleration sensor 25 and a microcomputer 26. The acceleration sensor 25 is a sensor that individually detects accelerations in the three-axis directions of X, Y, and Z. The acceleration sensor 25 includes an amplifier that amplifies the acceleration detection signal and an A / D converter that converts the amplified detection signal into a digital detection signal, and supplies acceleration data for each of the three axes to the CPU 15. The acceleration data supplied to the CPU 15 is stored by the CPU 15 in a storage area secured in the SDRAM 21 separately from the image data storage area as necessary.

加速度センサ25は、カメラ本体2の内部において、X軸がカメラ本体2の左右方向と一致し、Y軸がカメラ本体2の前後方向(レンズブロック12の光軸方向)と一致し、Z軸がカメラ本体2の上下方向に一致するように配置されている。そして、カメラ本体2の左右方向の一端にストラップ6が取り付けられている。つまり、加速度センサ25は、デジタルカメラ1がユーザによりストラップ6を用いて吊り下げられた状態において、図3に示したようにX軸が鉛直線となるようにカメラ本体2の内部に配置されている。なお、図3は、撮影レンズ3がカメラ本体2から繰り出された状態を示した図である。   In the acceleration sensor 25, the X-axis coincides with the left-right direction of the camera body 2, the Y-axis coincides with the front-rear direction of the camera body 2 (the optical axis direction of the lens block 12), and the Z-axis is inside the camera body 2. It arrange | positions so that it may correspond with the up-down direction of the camera main body 2. FIG. A strap 6 is attached to one end of the camera body 2 in the left-right direction. That is, the acceleration sensor 25 is disposed inside the camera body 2 so that the X axis is a vertical line as shown in FIG. 3 in a state where the digital camera 1 is suspended by the user using the strap 6. Yes. FIG. 3 is a view showing a state where the photographing lens 3 is extended from the camera body 2.

マイコン26には、キー入力部27と電源制御回路28とが接続されている。キー入力部27は、シャッターキー4や、図示しない電源キー、モード切替スイッチ、ズームアップ及びズームダウンボタン等の各種のスイッチから構成される。マイコン26はキー入力部27における各種スイッチの操作の有無を定常的にスキャンしており、ユーザによって操作されたスイッチを示す操作信号をCPU15へ供給する。   A key input unit 27 and a power supply control circuit 28 are connected to the microcomputer 26. The key input unit 27 includes various switches such as a shutter key 4, a power key (not shown), a mode switch, and a zoom up and zoom down button. The microcomputer 26 regularly scans the key input unit 27 for operation of various switches, and supplies an operation signal indicating the switch operated by the user to the CPU 15.

電源制御回路28は、ニッケル水素電池等の充電可能なバッテリー29の電力を決められた電圧に個別に制御して上述した各部へ供給する。電源制御回路28の動作はマイコン26によって制御されている。   The power control circuit 28 individually controls the power of a rechargeable battery 29 such as a nickel metal hydride battery to a predetermined voltage and supplies it to the above-described units. The operation of the power supply control circuit 28 is controlled by the microcomputer 26.

以上の構成からなるデジタルカメラ1においては、電源がオン状態にあるとき、CPU15が、フラッシュメモリ24記憶されているプログラムに従い、加速度センサ25から供給される加速度データに基づく種々の処理を実行する。加速度データに基づく処理は、逐次検出される3軸毎の加速度や、各軸の加速度から判断されるカメラ本体2の移動方向や移動量に応じた処理であり、係る処理には以下の処理が含まれる。   In the digital camera 1 having the above configuration, when the power is on, the CPU 15 executes various processes based on the acceleration data supplied from the acceleration sensor 25 according to the program stored in the flash memory 24. The processing based on the acceleration data is processing according to the acceleration for each of the three axes detected sequentially and the moving direction and the moving amount of the camera body 2 determined from the acceleration of each axis. included.

すなわち加速度データに基づく処理には、再生モードにおいて液晶モニタ22に静止画像、すなわち記録済みの画像の表示に関する処理が含まれる。記録済みの画像の表示に関する処理は、例えばユーザによる予め決められている方向へのカメラ本体2の移動操作に応答し、液晶モニタ22に表示する画像をカメラ本体2の移動方向に応じて記録順に従った順送り、又は逆送りで切り替える処理である。また、記録済みの画像の表示に関する処理は、例えばユーザによる予め決められている方向へのカメラ本体2の移動操作に応答し、液晶モニタ22に表示中の画像を拡大したり、縮小したりする処理である。   That is, the process based on the acceleration data includes a process related to displaying a still image, that is, a recorded image on the liquid crystal monitor 22 in the reproduction mode. The processing related to the display of the recorded image is, for example, in response to the movement operation of the camera body 2 in a predetermined direction by the user, and the image displayed on the liquid crystal monitor 22 is recorded in the order of recording according to the movement direction of the camera body 2. This is a process of switching in accordance with the forward or reverse feed. Further, the processing relating to the display of the recorded image is performed by, for example, enlarging or reducing the image being displayed on the liquid crystal monitor 22 in response to a movement operation of the camera body 2 in a predetermined direction by the user. It is processing.

また、加速度データに基づく処理には、撮影モードにおいて行われる処理が含まれる。撮影モードにおける処理は、例えば単位時間毎にカメラ本体2の移動方向及び移動量を手振れ方向及び手振れ量として取得し、取得した手振れ方向及び手振れ量を液晶モニタ22に表示中のライブビュー画像に逐次合成して表示する処理である。   The processing based on the acceleration data includes processing performed in the shooting mode. In the processing in the shooting mode, for example, the movement direction and movement amount of the camera body 2 are acquired as the camera shake direction and camera shake amount every unit time, and the acquired camera shake direction and camera shake amount are sequentially displayed on the live view image displayed on the liquid crystal monitor 22. This is a process of combining and displaying.

また、撮影モードにおける処理には、デジタルカメラ1に予め設けられている手振れ防止用の自動シャッタ機能がオン状態となっているとき、単位時間毎にカメラ本体2の移動量を逐次確認し、単位時間内での移動量がカメラ本体2の揺れが止まったと判断できる移動量となった時点で自動的に撮影を行う処理が含まれる。   Further, in the processing in the shooting mode, when the automatic shutter function for preventing camera shake provided in advance in the digital camera 1 is on, the movement amount of the camera body 2 is sequentially confirmed every unit time, and the unit This includes a process of automatically taking a picture when the amount of movement within the time becomes the amount of movement at which it can be determined that the camera body 2 has stopped shaking.

また、撮影モードにおける処理には、撮影モードの下位の動作モードとして設けられているパノラマ撮影モードが設定されているときの処理が含まれる。なお、パノラマ撮影モードは、ユーザに連続した複数回の撮影を行わせ複数枚の画像を取得し、取得した複数枚の画像を左右方向につなぎ合わせてパノラマ画像を生成し、記録する撮影モードである。   Further, the processing in the shooting mode includes processing when a panoramic shooting mode provided as an operation mode lower than the shooting mode is set. The panorama shooting mode is a shooting mode in which a user performs a plurality of continuous shootings to acquire a plurality of images, and the acquired plurality of images are joined in the left-right direction to generate a panoramic image and record it. is there.

パノラマ撮影モードにおける処理は、1回目の撮影時を基準とした2回目以降の撮影時におけるカメラ本体2の移動方向、及び移動量に応じて、2枚目以降の画像の合成位置を調整する処理である。また、パノラマ撮影モードにおける処理には、ユーザが複数回の撮影を行う際の上下方向の画角の維持を支援するための水平基準となる基準線を、液晶モニタ22に表示中のライブビュー画像に合成表示するとともに、基準線の表示位置をカメラ本体2の移動方向、及び移動量に応じて制御する処理が含まれる。   The process in the panorama shooting mode is a process of adjusting the synthesis position of the second and subsequent images according to the moving direction and the moving amount of the camera body 2 at the second and subsequent shootings based on the first shooting. It is. Further, in the processing in the panorama shooting mode, the live view image being displayed on the liquid crystal monitor 22 is a reference line serving as a horizontal reference for supporting the maintenance of the vertical angle of view when the user performs shooting a plurality of times. And a process for controlling the display position of the reference line according to the moving direction and the moving amount of the camera body 2.

さらに、撮影モードにおいてCPU15が加速度データに基づき行う処理には、撮影レンズ3及び電源の制御に関する以下に説明する処理が含まれる。   Further, the processing performed by the CPU 15 based on the acceleration data in the photographing mode includes processing described below regarding control of the photographing lens 3 and the power source.

概略を先に説明すると、CPU15は、加速度センサ25から供給された加速度データに基づいてデジタルカメラ1がストラップ6を用いて吊り下げられた状態(図3に示した状態)や、手持ちで移動している状態となったことを判断する。そして、デジタルカメラ1が手持ちで移動している状態となった後、その状態が一定時間続いた場合には、液晶モニタ22への電源供給を停止してライブビュー画像等の表示を停止する表示オフ状態とする。また、デジタルカメラ1がストラップ6を用いて吊り下げられた状態となったときには、撮影レンズ3を直ちにカメラ本体2へ収納するとともに電源を自動的にオフとする。   The outline will be described first. The CPU 15 moves the digital camera 1 in a suspended state (shown in FIG. 3) using the strap 6 based on the acceleration data supplied from the acceleration sensor 25, or moves by hand. It is determined that it is in the state. Then, after the digital camera 1 has been moved by hand, if the state continues for a certain period of time, the power supply to the liquid crystal monitor 22 is stopped and the live view image display is stopped. Turn off. When the digital camera 1 is suspended by using the strap 6, the photographing lens 3 is immediately stored in the camera body 2 and the power is automatically turned off.

なお、以下の説明においては、ユーザがストラップ6を用いて吊り下げた状態をストラップ持ち状態といい、ユーザがデジタルカメラ1の本体部分を手持ちで移動している状態を手持ち移動状態という。なお、本実施形態では、手持ち移動状態が本発明における他の使用状態に相当する。   In the following description, a state in which the user is suspended using the strap 6 is referred to as a strap holding state, and a state in which the user is moving the main body of the digital camera 1 by hand is referred to as a hand-held movement state. In the present embodiment, the hand-held movement state corresponds to another use state in the present invention.

以下、撮影モードにおいてCPU15が実行する撮影レンズ3及び電源の制御に関する具体的な処理内容を、図4、及び図5に示したフローチャートに従い詳述する。   Hereinafter, specific processing contents regarding the control of the photographing lens 3 and the power source executed by the CPU 15 in the photographing mode will be described in detail according to the flowcharts shown in FIGS. 4 and 5.

CPU15は、撮影モードの設定とともに処理を開始した後、直ちに加速度センサ25から供給されたY軸及びZ軸の加速度データのSDRAM21への蓄積を開始する(ステップS1)。ここで、CPU15がSDRAM21に蓄積する加速度データは、予め決められている一定時間内に得られた最新の加速度データのみである。また、一定時間とは、デジタルカメラ1が手持ち移動状態であるか否かの判断に必要な加速度データの蓄積に要する時間である。   After starting the processing together with the setting of the shooting mode, the CPU 15 immediately starts accumulating Y-axis and Z-axis acceleration data supplied from the acceleration sensor 25 in the SDRAM 21 (step S1). Here, the acceleration data stored in the SDRAM 21 by the CPU 15 is only the latest acceleration data obtained within a predetermined time. The certain time is a time required for accumulating acceleration data necessary for determining whether or not the digital camera 1 is in a hand-held movement state.

次に、CPU15は、検出対象をY軸に設定した後(ステップS2)、図6のフローチャートに示した揺れサイクル検出処理を実行する(ステップS3)。ここで揺れサイクル検出処理は、あくまでもデジタルカメラ1がストラップ持ち状態にあるとき生じることが想定される振子の重りと同様の周期的な特定の揺れ(以下、振子運動という。)が実際に生じているときの1周期分に相当する揺れを検出する処理である。   Next, after setting the detection target to the Y axis (step S2), the CPU 15 executes the swing cycle detection process shown in the flowchart of FIG. 6 (step S3). Here, the swing cycle detection process actually involves periodic specific swings (hereinafter referred to as pendulum motion) similar to the weight of the pendulum that is supposed to occur when the digital camera 1 is in the strap holding state. This is a process of detecting a shake corresponding to one period when the motor is in the middle.

また、揺れサイクル検出処理は、以下のことを前提とした処理である。すなわちカメラ本体2に振子運動が生じているときには、加速度センサ25によって検出されるZ軸又はY軸の加速度の変化(加速度の出力波形)が図7に示したような正弦波に近い波形となる。なお、Z軸及びY軸の加速度の検出値は、カメラ本体2が検出対象軸の一方側へ移動するときが正の値、他方側へ移動するときが負の値である。また、図7に例示した波形の山部分及び谷部分の加速度が、カメラ本体2が最下点(例えばストラップ6が鉛直線と一致する位置)を通過するときの加速度である。   The shaking cycle detection process is a process based on the following assumptions. That is, when the pendulum motion is generated in the camera body 2, the change in the Z-axis or Y-axis acceleration (acceleration output waveform) detected by the acceleration sensor 25 becomes a waveform close to a sine wave as shown in FIG. . Note that the detected values of the Z-axis and Y-axis accelerations are positive when the camera body 2 moves to one side of the detection target axis and negative when it moves to the other side. Moreover, the acceleration of the peak part and valley part of the waveform illustrated in FIG. 7 is the acceleration when the camera body 2 passes the lowest point (for example, the position where the strap 6 matches the vertical line).

また、カメラ本体2に振子運動が生じているとき、カメラ本体2が一方側へ移動していると判断できるある加速度を正方向の規定加速度A、カメラ本体2が他方向へ移動していると判断できるある加速度を負方向の規定加速度Bとした場合、加速度は、正方向の規定加速度Aをいったん超えてから、その規定加速度Aを下回り、さらに負方向の規定加速度Bをいったん超えてから、その規定加速度Bを下回ることとなる。   Further, when a pendulum motion is generated in the camera body 2, a certain acceleration that can be determined that the camera body 2 is moving to one side is a predetermined acceleration A in the positive direction, and the camera body 2 is moving in the other direction. When a certain acceleration that can be determined is a specified acceleration B in the negative direction, the acceleration once exceeds the specified acceleration A in the positive direction, falls below the specified acceleration A, and further exceeds the specified acceleration B in the negative direction. It will be below the specified acceleration B.

この規定加速度Aおよび規定加速度Bは、ノイズによる誤検出が避けられる範囲で最小値である。   The prescribed acceleration A and the prescribed acceleration B are minimum values within a range in which erroneous detection due to noise can be avoided.

そして、この振子運動の1周期の時間を計測するためには、加速度が正方向の規定加速度Aをいったん超えてから、その規定加速度Aを下回るのを1回検出した後、加速度が負方向の規定加速度Bをいったん超えてから、その規定加速度Bを下回るのを1回検出し、もう一度、加速度が正方向の規定加速度Aを超えるまでの時間を計測すればよい。こうして計測される1周期の時間は、主としてストラップ6の長さによって決まる。   In order to measure the time of one period of the pendulum motion, after once detecting that the acceleration once exceeds the specified acceleration A in the positive direction and below the specified acceleration A, the acceleration is in the negative direction. Once the specified acceleration B is exceeded, it is detected once that the specified acceleration B is decreased, and the time until the acceleration exceeds the specified acceleration A in the positive direction is measured again. The time of one cycle measured in this way is mainly determined by the length of the strap 6.

つまり揺れサイクル検出処理は、カメラ本体2に振子運動が生じているときには、加速度センサ25によって検出されるZ軸又はY軸の加速度が、周期的に変化し、かつ変化の周期がストラップ6の長さに応じて予め決められた範囲の周期であることを前提とした処理である。   That is, in the shaking cycle detection process, when the pendulum motion is generated in the camera body 2, the Z-axis or Y-axis acceleration detected by the acceleration sensor 25 changes periodically, and the change cycle is the length of the strap 6. This process is based on the premise that the period is in a range determined in advance.

以下、CPU15による揺れサイクル検出処理について具体的に説明する。図6に示したようにCPU15は、まず、加速度センサ25によって検出された加速度が、前述した正方向の規定加速度Aを超えたか否かを確認する(ステップS101)。   Hereinafter, the shaking cycle detection process by the CPU 15 will be specifically described. As shown in FIG. 6, the CPU 15 first checks whether or not the acceleration detected by the acceleration sensor 25 has exceeded the above-mentioned prescribed acceleration A in the positive direction (step S101).

CPU15は、加速度が正方向の規定加速度Aを超えていないとき、つまりカメラ本体2が検出対象軸において正方向へ移動していないと判断できる場合には(ステップS101:NO)、直ちに検出結果を「非検出」と決定し(ステップS102)、揺れサイクル検出処理を終了する。   When the acceleration does not exceed the prescribed acceleration A in the positive direction, that is, when it can be determined that the camera body 2 has not moved in the positive direction on the detection target axis (step S101: NO), the CPU 15 immediately determines the detection result. “Non-detection” is determined (step S102), and the swing cycle detection process is terminated.

一方、CPU15は、加速度が正方向の規定加速度Aを超えている場合、つまりカメラ本体2が検出対象軸において正方向へ移動しているか、又は移動し始めたと判断できる場合には(ステップS101:YES)、その時点からの経過時間(Time)の計測を開始する(ステップS103)。   On the other hand, when the acceleration exceeds the specified acceleration A in the positive direction, that is, when it can be determined that the camera body 2 is moving in the positive direction on the detection target axis or has started to move (step S101: YES), the measurement of the elapsed time (Time) from that time is started (step S103).

その後、CPU15は、移動確認後の経過時間が、予め決められている検出中止時間(CABNCEL_T)に達するまでの間(ステップS105:NO)、加速度が正方向の規定加速度Aを下回ったか否かを繰り返し確認する(ステップS104)。   Thereafter, the CPU 15 determines whether or not the acceleration has fallen below the prescribed acceleration A in the positive direction until the elapsed time after confirming the movement reaches a predetermined detection stop time (CABNCEL_T) (step S105: NO). Confirm repeatedly (step S104).

ここで、上記の検出中止時間は、ストラップ持ち状態のカメラ本体2に揺れ(振子運動)が生じている場合におけるカメラ本体2の振動周期として予想される最大時間に応じて決められた時間であり、ストラップ6の長さを考慮して決められた時間である。なお、検出中止時間は、例えば予め想定される振動周期の最大時間であり、例えば1.5秒である。なお、この最大時間は後述する上限時間(MAX_T)、又はそれよりも僅かに短い時間である。   Here, the detection stop time is a time determined according to the maximum time expected as the vibration cycle of the camera body 2 when the camera body 2 with the strap is shaking (pendulum motion). The time is determined in consideration of the length of the strap 6. The detection stop time is, for example, the maximum time of a vibration cycle assumed in advance, for example, 1.5 seconds. The maximum time is an upper limit time (MAX_T) described later, or a time slightly shorter than that.

そして、CPU15は、前記経過時間が検出中止時間に達する以前に(ステップS105:NO)、加速度が正方向の規定加速度Aを下回わった後には(ステップS104:YES)、加速度が前述した負方向の規定加速度Bを超えたか否かを確認する(ステップS106)。   Then, before the elapsed time reaches the detection stop time (step S105: NO), the CPU 15 determines that the acceleration is negative as described above after the acceleration falls below the specified acceleration A in the positive direction (step S104: YES). It is confirmed whether or not the specified acceleration B in the direction has been exceeded (step S106).

さらに、CPU15は、前記経過時間が検出中止時間に達する以前に(ステップS107:NO)、加速度が負方向の規定加速度Bを負方向に超えたら(ステップS106:YES)、その後は、加速度が負方向の規定加速度Bを負方向に対して下回ったか否かを確認する(ステップS108)。   Furthermore, before the elapsed time reaches the detection stop time (step S107: NO), the CPU 15 determines that the acceleration exceeds the negative specified acceleration B in the negative direction (step S106: YES). It is confirmed whether or not the prescribed acceleration B in the direction is below the negative direction (step S108).

引き続き、CPU15は、前記経過時間が検出中止時間に達する以前に(ステップS109:NO)、加速度が負方向の規定加速度Bを下回わったときには(ステップS108:YES)、その時点における前記経過時間が、予め決められている下限時間(MIN_T)を超え、かつ上限時間(MAX_T)に達しない許容範囲内であるか否か確認する(ステップS110)。   Subsequently, when the acceleration falls below the specified acceleration B in the negative direction (step S108: YES) before the elapsed time reaches the detection stop time (step S109: NO), the elapsed time at that time point Is within an allowable range exceeding the predetermined lower limit time (MIN_T) and not reaching the upper limit time (MAX_T) (step S110).

ここで上記の下限時間と上限時間とは、ストラップ持ち状態のカメラ本体2に揺れ(振子運動)が生じている場合におけるカメラ本体2の振動周期として予想される最小時間と最大時間であり、係る時間もストラップ6の長さを考慮して決められた時間である。   Here, the lower limit time and the upper limit time are the minimum time and the maximum time that are expected as the vibration period of the camera body 2 when the camera body 2 with the strap is shaking (pendulum motion). The time is also a time determined in consideration of the length of the strap 6.

そして、CPU15は、加速度が負方向の規定加速度Bを下回わった時点での前記経過時間が予め決められている許容時間内であれば(ステップS110:YES)、カメラ本体2に1周期分の揺れが生じたと判断し、検出結果を「検出」と決定し(ステップS111)、揺れサイクル検出処理を終了する。   Then, if the elapsed time at the time when the acceleration falls below the specified acceleration B in the negative direction is within the predetermined allowable time (step S110: YES), the CPU 15 causes the camera body 2 to perform one cycle. Is detected, the detection result is determined as “detection” (step S111), and the swing cycle detection process is terminated.

逆に、CPU15は、加速度が負方向の規定加速度Bを下回わった時点での前記経過時間が許容時間内でなければ(ステップS110:NO)、カメラ本体2に1周期分の揺れが生じていないと判断し、検出結果を「非検出」と決定し(ステップS102)、揺れサイクル検出処理を終了する。   Conversely, if the elapsed time when the acceleration falls below the specified acceleration B in the negative direction is not within the allowable time (step S110: NO), the camera body 2 is shaken for one cycle. The detection result is determined as “non-detection” (step S102), and the swing cycle detection process is terminated.

また、CPU15は、前述したステップS104以降の処理を行っている間に、前記経過時間が検出中止時間を超えた場合には、その時点でカメラ本体2に1周期分の揺れが生じていないと判断し、検出結果を「非検出」と決定して(ステップS102)、揺れサイクル検出処理を終了する。   Further, when the elapsed time exceeds the detection stop time while performing the processing after step S104 described above, the camera body 2 is not shaken for one cycle at that time. Judgment is made, the detection result is determined as “non-detection” (step S102), and the shaking cycle detection process is terminated.

なお、上記揺れサイクル検出処理では、加速度が正方向の規定加速度Aを超えてから、加速度が負方向の規定加速度Bを下回わるまでの時間を、上記下限時間(MIN_T)および上限時間(MAX_T)と比較することで、実際に検出される振子運動の1周期がストラップ6の長さから推定される1周期の長さと一致するか否かを判断したが、もちろん加速度が正方向の規定加速度Aを超えてから再び加速度が正方向の規定加速度Aを超えるまでの時間を上記下限時間(MIN_T)および上限時間(MAX_T)と比較してもかまわない。   In the swing cycle detection process, the time from when the acceleration exceeds the specified acceleration A in the positive direction to when the acceleration falls below the specified acceleration B in the negative direction is defined as the lower limit time (MIN_T) and the upper limit time (MAX_T). ) To determine whether or not one period of the actually detected pendulum motion matches the length of one period estimated from the length of the strap 6, but of course the acceleration is a specified acceleration in the positive direction. The time from when A exceeds A until the acceleration again exceeds the specified acceleration A in the positive direction may be compared with the lower limit time (MIN_T) and the upper limit time (MAX_T).

上記揺れサイクル検出処理では、上記規定加速度Aおよび上記規定加速度Bを、ノイズによる誤検出が避けられる範囲で最小値に設定してある。したがって、加速度が負方向の規定加速度Bを下回わってから再び加速度が正方向の規定加速度Aを超えるまでの時間(図7でT1の終了時点からT2の開始時点までの時間)は極小さいため、この間の時間を無視しても1周期の判断にはあまり影響しない。むしろ、加速度が負方向の規定加速度Bを下回わったのを検出した時点で、直ちに1周期分の揺れサイクル検出処理を完了することができるので、次の1周期分の揺れサイクル検出処理と重なることが無く、処理を簡潔化することが可能となる。   In the shaking cycle detection process, the prescribed acceleration A and the prescribed acceleration B are set to the minimum values within a range in which erroneous detection due to noise can be avoided. Therefore, the time from when the acceleration falls below the specified acceleration B in the negative direction to when the acceleration exceeds the specified acceleration A in the positive direction again (the time from the end of T1 to the start of T2 in FIG. 7) is extremely small. Therefore, ignoring the time during this period does not significantly affect the determination of one cycle. Rather, as soon as it is detected that the acceleration has fallen below the specified acceleration B in the negative direction, the swing cycle detection process for one cycle can be completed immediately. It is possible to simplify processing without overlapping.

また、上記揺れサイクル検出処理では、加速度が正方向の規定加速度Aを超えたことが確認できた第1の時点からの経過時間(Time)が予め想定される振動周期の最大時間(CANCEL_T)を超える以前に、規定加速度Aが下回わった第2の時点、その後に、加速度が負方向の規定加速度Bを負方向に超えた第3の時点、さらにその後に、加速度が負方向の規定加速度Bを下回わった第4の時点のいずれかの時点が確認できないとき検出結果を「非検出」とした。   In the swing cycle detection process, the maximum time (CANCEL_T) of the vibration cycle assumed in advance is the elapsed time (Time) from the first time point when it has been confirmed that the acceleration has exceeded the specified acceleration A in the positive direction. Before the second acceleration, a second time when the specified acceleration A has fallen below, a third time when the acceleration exceeds the specified acceleration B in the negative direction in the negative direction, and then a specified acceleration in the negative direction. The detection result was set to “non-detection” when any of the fourth time points below B could not be confirmed.

しかし、これとは異なり、以下の場合に検出結果を「非検出」としてもよい。すなわち、予め想定される振動周期の最大時間(例えば1.5秒)の半分の時間(例えば0.75秒)を検出中止時間する。そして、上記第1の時点からの経過時間が検出中止時間を超える以前に上記第2の時点が確認できないとき、また、上記第2の時点からの経過時間が検出中止時間を超える以前に上記第3の時点が確認できないとき、さらに、上記第3の時点からの経過時間が検出中止時間を超える以前に上記第4の時点が確認できないとき、検出結果を「非検出」としてもよい。   However, unlike this, the detection result may be “non-detection” in the following cases. That is, the detection stop time is a half time (for example, 0.75 seconds) of the maximum time (for example, 1.5 seconds) of the vibration cycle assumed in advance. When the second time cannot be confirmed before the elapsed time from the first time exceeds the detection stop time, and before the elapsed time from the second time exceeds the detection stop time, When the third time cannot be confirmed, and when the fourth time cannot be confirmed before the elapsed time from the third time exceeds the detection stop time, the detection result may be “non-detection”.

そして、以上の揺れサイクル検出処理を終了した後、CPU15は、図4の処理に戻り以下の処理を行う。   Then, after finishing the above-described shaking cycle detection process, the CPU 15 returns to the process of FIG. 4 and performs the following process.

まず、揺れサイクル検出処理において上記の1周期分の特定の揺れが検出できなかったときの処理について説明する。CPU15は、1周期分の特定の揺れが検出できなかったときには(ステップS4:NO)、その時点で非検出時間を計測中でなければ(ステップS5:NO)、非検出時間の計測を開始する(ステップS6)。   First, a process when the specific shake for the above-mentioned one period cannot be detected in the shake cycle detection process will be described. When a specific fluctuation for one cycle cannot be detected (step S4: NO), the CPU 15 starts measuring the non-detection time unless the non-detection time is being measured at that time (step S5: NO). (Step S6).

そして、CPU15は、検出対象軸を変更した後、つまり処理開始当初であれば検出対象軸をY軸からZ軸に変更した後(ステップS9)、ステップS10〜S19(図5)の処理を経て、再びステップS3の揺れサイクル検出処理を実行する(ステップS3)。   Then, after changing the detection target axis, that is, at the beginning of the process, the CPU 15 changes the detection target axis from the Y axis to the Z axis (step S9), and then goes through steps S10 to S19 (FIG. 5). Then, the swing cycle detection process in step S3 is executed again (step S3).

また、CPU15は、1周期分の特定の揺れが検出できなかったとき、その時点で非検出時間を計測中であれば(ステップS5:YES)、計測中の非検出時間が予め決められている第1の規定時間(Ta)を超えているか否かを確認する(ステップS7)。なお、第1の規定時間(Ta)は、カメラ本体2が振子運動している場合におけるカメラ本体2の振動周期として予想される最大時間の数倍、つまり数周期分(例えば2周期分)の時間である。   Further, when the CPU 15 cannot detect a specific fluctuation for one cycle and is measuring the non-detection time at that time (step S5: YES), the non-detection time during measurement is determined in advance. It is confirmed whether or not the first specified time (Ta) is exceeded (step S7). Note that the first specified time (Ta) is several times the maximum time expected as the vibration period of the camera body 2 when the camera body 2 is moving in a pendulum motion, that is, several periods (for example, two periods). It's time.

そして、CPU15は、計測中の非検出時間が第1の規定時間(Ta)を超えていなければ(ステップS7:NO)、直ちに検出対象軸を変更した後(ステップS9)、ステップS10〜S19(図5)の処理を経て、再びステップS3の揺れサイクル検出処理を実行する(ステップS3)。   If the non-detection time during measurement does not exceed the first specified time (Ta) (step S7: NO), the CPU 15 immediately changes the detection target axis (step S9), and then steps S10 to S19 ( After the process of FIG. 5), the swing cycle detection process of step S3 is executed again (step S3).

また、CPU15は、計測中の非検出時間が第1の規定時間(Ta)を超えていれば(ステップS7:YES)、カメラ本体2の揺れ回数(N)をリセットする(ステップS8)。なお、カメラ本体2の揺れ回数(N)の初期値はゼロである。そして、検出対象軸を変更した後(ステップS9)、ステップS10〜S19(図5)の処理を経て、再びステップS3の揺れサイクル検出処理を実行する(ステップS3)。   If the non-detection time during measurement exceeds the first specified time (Ta) (step S7: YES), the CPU 15 resets the number of times (N) of shaking of the camera body 2 (step S8). Note that the initial value of the number of swings (N) of the camera body 2 is zero. Then, after changing the detection target axis (step S9), the process of steps S10 to S19 (FIG. 5) is performed, and then the swing cycle detection process of step S3 is executed again (step S3).

なお、以上の処理におけるステップS10〜S19の具体的な内容については、便宜上、ここでの説明を省略する。   In addition, about the specific content of step S10-S19 in the above process, description here is abbreviate | omitted for convenience.

次に、前述した揺れサイクル検出処理において1周期分の特定の揺れが検出できたときの処理について説明する。CPU15は、1周期分の特定の揺れが検出できたときには(ステップS4:YES)、図5に示した以下の処理を行う。   Next, a process when a specific shake for one period can be detected in the shake cycle detection process described above will be described. The CPU 15 performs the following processing shown in FIG. 5 when a specific fluctuation for one cycle is detected (step S4: YES).

まず、CPU15は、前述した非検出時間を計測中であれば(ステップS20:YES)、非検出時間の計測を停止した後(ステップS21)、カメラ本体2の揺れ回数(N)をインクリメントする(ステップS22)。また、CPU15は、非検出時間を計測中でなければ(ステップS20:NO)、直ちにカメラ本体2の揺れ回数(N)をインクリメントする(ステップS22)。つまり、CPU15は、揺れサイクル検出処理で1周期分の特定の揺れを検出する毎に、1周期分の揺れを単位としてカメラ本体2の揺れ回数をカウントする。   First, if the above-described non-detection time is being measured (step S20: YES), the CPU 15 stops the measurement of the non-detection time (step S21) and then increments the number (N) of shaking of the camera body 2 (step S21). Step S22). Further, if the non-detection time is not being measured (step S20: NO), the CPU 15 immediately increments the number of times (N) of shaking of the camera body 2 (step S22). That is, the CPU 15 counts the number of shakings of the camera body 2 in units of shaking for one cycle every time a specific shaking for one cycle is detected in the shaking cycle detection process.

しかる後、CPU15は、揺れ回数(N)が予め決められている規定回数(DETECT)に達したか否かを確認する。つまりCPU15は、直前におけるZ軸又はY軸の加速度の変化形態が、カメラ本体2に振子運動する場合に想定される特定の変化形態であるか否かを確認する。そして、揺れ回数が規定回数に達する以前においては(ステップS23:NO)、再び揺れサイクル検出処理を実行する(ステップS3)。なお、上記の規定回数は例えば2〜3回程度である。   After that, the CPU 15 checks whether or not the number of shaking (N) has reached a predetermined number of times (DETECT). That is, the CPU 15 confirms whether or not the change mode of the Z-axis or Y-axis acceleration immediately before is a specific change mode assumed when the camera body 2 performs a pendulum motion. Before the number of shaking reaches the specified number (step S23: NO), the shaking cycle detection process is executed again (step S3). The prescribed number of times is, for example, about 2 to 3 times.

その後、CPU15は、カメラ本体2の揺れ回数が上記の規定回数に達する以前に、揺れサイクル検出処理において1周期分の特定の揺れが検出できなくなったときには(ステップS4:NO)、前述したステップS5〜S19の処理を繰り返す。   After that, when the number of shaking of the camera body 2 cannot be detected in the shaking cycle detection process before the number of shaking of the camera body 2 reaches the specified number of times (step S4: NO), the above-described step S5 is performed. -S19 is repeated.

その際、それまでにカウントされていたカメラ本体2の揺れ回数は、非検出時間が前述した第1の規定時間(Ta)を超えるまではリセットされずに保持される。つまり、1周期分の特定の揺れが一時的に検出できなくなっても、それが直ちに検出できるようになった場合については、カメラ本体2の揺れ回数のカウントが継続して行われる。   At that time, the number of times the camera body 2 has been counted is maintained without being reset until the non-detection time exceeds the first specified time (Ta) described above. That is, even when a specific shake for one cycle cannot be detected temporarily, the camera body 2 continues to count the number of shakes when it can be detected immediately.

引き続き、CPU15は、上述したステップS3以降の処理を繰り返す間に、揺れ回数(N)が規定回数(DETECT)に達したときには(ステップS23:YES)、その時点でデジタルカメラ1がストラップ持ち状態になったと判断し、繰り出し状態にある撮影レンズ3をカメラ本体2に収容するとともに、電源を自動的にオフ状態とし(ステップS24)、処理を終了する。   Subsequently, when the number of shaking (N) reaches the specified number of times (DETECT) while repeating the processing after step S3 described above (step S23: YES), the digital camera 1 enters the strap holding state at that time. The camera lens 2 is housed in the camera body 2 and the power is automatically turned off (step S24), and the process is terminated.

ここで、先に説明を省略したステップS10〜S19の処理(図5)、すなわち揺れサイクル検出処理で1周期分の特定の揺れが検出できなかった場合において、CPU15がステップS5〜S9の処理後に行う処理について説明する。   Here, when the process of steps S10 to S19 (FIG. 5), which has not been described previously, that is, when a specific shake for one cycle is not detected in the shake cycle detection process, the CPU 15 performs the process after steps S5 to S9. Processing to be performed will be described.

CPU15は、ステップS9で検出対象軸を変更した後、SDRAM21に蓄積されている加速度データに基づいて、加速度センサ25から出力されたY軸及びZ軸における一定時間分の加速度の出力波形を評価する(ステップS10)。   After changing the detection target axis in step S <b> 9, the CPU 15 evaluates the output waveform of acceleration for a certain period of time on the Y axis and the Z axis output from the acceleration sensor 25 based on the acceleration data accumulated in the SDRAM 21. (Step S10).

ステップS10の処理に際してCPU15は、Y軸及びZ軸の出力波形における一定時間内における振幅の平均を演算する。そして、CPU15は、Y軸及びZ軸の出力波形のいずれか一方における振幅の平均が、予め決められている閾値よりも大きければデジタルカメラ1が手持ち移動状態であると判定し、閾値よりも小さければデジタルカメラ1が手持ち移動状態ではないと判定する。   In the process of step S10, the CPU 15 calculates an average of amplitudes within a predetermined time in the output waveforms of the Y axis and the Z axis. Then, the CPU 15 determines that the digital camera 1 is in the hand-held movement state if the average of the amplitudes in either one of the Y-axis and Z-axis output waveforms is larger than a predetermined threshold value, and is smaller than the threshold value. For example, it is determined that the digital camera 1 is not in the handheld movement state.

そして、CPU15は、デジタルカメラ1が手持ち移動状態であると判定した場合には(ステップS11:YES)、手持ち時間が計測中でなければ(ステップS12:NO)、手持ち時間の計測を開始した後(ステップS13)、ステップS3の揺れサイクル検出処理を行う。また、手持ち時間が計測中であったときには(ステップS12:YES)、その時点の手持ち時間が予め決められている第2の規定時間(Tb)を超えているか否かを確認する(ステップS14)。   If the CPU 15 determines that the digital camera 1 is in the hand-held movement state (step S11: YES), if the hand-held time is not being measured (step S12: NO), the CPU 15 starts measuring the hand-held time. (Step S13), the swing cycle detection process of Step S3 is performed. If the hand-held time is being measured (step S12: YES), it is checked whether or not the hand-held time at that time exceeds a predetermined second predetermined time (Tb) (step S14). .

CPU15は、手持ち時間が第2の規定時間(Tb)を超えていなければ(ステップS14:NO)、そのまま、ステップS3の揺れサイクル検出処理を行う。また、CPU15は、手持ち時間が第2の規定時間(Tb)を超えていたときには(ステップS14:YES)、液晶モニタ22を表示オフ状態とした後(ステップS15)、ステップS3の揺れサイクル検出処理を行う。   If the hand-held time does not exceed the second specified time (Tb) (step S14: NO), the CPU 15 performs the swing cycle detection process in step S3 as it is. In addition, when the hand-held time exceeds the second specified time (Tb) (step S14: YES), the CPU 15 sets the liquid crystal monitor 22 in the display off state (step S15), and then performs the swing cycle detection process in step S3. I do.

一方、CPU15は、ステップS10の処理でデジタルカメラ1が手持ち移動状態でないと判定した場合においては(ステップS11:NO)、以下の処理を行う。   On the other hand, if the CPU 15 determines in step S10 that the digital camera 1 is not in the handheld movement state (step S11: NO), the CPU 15 performs the following processing.

まず、CPU15は、その時点で手持ち時間が計測中であれば(ステップS16:YES)、手持ち時間の計測を中止した後(ステップS17)、液晶モニタ22が表示オフ状態であるか否かを確認する(ステップS18)。また、CPU15は、手持ち時間が計測中でなければ(ステップS16:NO)、直ちに液晶モニタ22が表示オフ状態であるか否かを確認する(ステップS18)。   First, if the handheld time is being measured at that time (step S16: YES), the CPU 15 confirms whether or not the liquid crystal monitor 22 is in a display-off state after stopping the handheld time measurement (step S17). (Step S18). If the handheld time is not being measured (step S16: NO), the CPU 15 immediately checks whether or not the liquid crystal monitor 22 is in the display off state (step S18).

しかる後、CPU15は、液晶モニタ22が表示オフ状態であれば(ステップS18:YES)、液晶モニタ22を表示オン状態とする。つまり液晶モニタ22への電源供給を再開することによりライブビュー画像等の表示を再開する(ステップS19)。しかる後、ステップS3の揺れサイクル検出処理を行う。   Thereafter, if the liquid crystal monitor 22 is in the display off state (step S18: YES), the CPU 15 sets the liquid crystal monitor 22 in the display on state. That is, the display of a live view image or the like is resumed by resuming the power supply to the liquid crystal monitor 22 (step S19). Thereafter, the swing cycle detection process of step S3 is performed.

係るステップS10〜S19の処理によって、デジタルカメラ1が手持ち移動状態となり、その状態が第2の規定時間Tbを超えて続くと、液晶モニタ22が自動的に表示オフ状態となり、その後、デジタルカメラ1が手持ち移動状態から撮影準備状態等の他の状態に移行した時点で、液晶モニタ22が自動的に表示オン状態となる。   As a result of the processing in steps S10 to S19, the digital camera 1 enters the hand-held movement state, and if this state continues beyond the second specified time Tb, the liquid crystal monitor 22 automatically enters the display off state, and then the digital camera 1 When the camera shifts from a hand-held movement state to another state such as a photographing preparation state, the liquid crystal monitor 22 is automatically turned on.

以上のように本実施形態においては、撮影モードが設定されている間には、CPU15が、加速度センサ25によって検出されるY軸又はZ軸における加速度の変化形態がストラップ6を用いて吊り下げられた状態において想定される特定の変化形態となった場合に、デジタルカメラ1がストラップ持ち状態となったと判断する。したがって、デジタルカメラ1の使用状態としてストラップ持ち状態と手持ち移動状態とを明確に区別して検出することができる。   As described above, in the present embodiment, while the shooting mode is set, the CPU 15 suspends the change in acceleration on the Y axis or the Z axis detected by the acceleration sensor 25 using the strap 6. If the digital camera 1 is in the strap holding state when the specific change form assumed in the state is reached. Therefore, the strap holding state and the hand-held moving state can be clearly distinguished and detected as the use state of the digital camera 1.

これにより、デジタルカメラ1がストラップ持ち状態となった際には、繰り出し状態にある撮影レンズ3をカメラ本体2に直ちに収容することができる。したがって、撮影レンズが他との干渉により破損したり、衝撃によってフォーカス位置ずれを起こしたりする事態を未然に防止することができる。   Thereby, when the digital camera 1 is in the strap holding state, the taking lens 3 in the extended state can be immediately accommodated in the camera body 2. Accordingly, it is possible to prevent a situation in which the photographing lens is damaged due to interference with others or a focus position shift occurs due to an impact.

また、撮影レンズ3のカメラ本体2への収容と同時に電源を直ちにオフ状態とすることにより、使い勝手を低下させることなく電池寿命の長期化を図ることもできる。すなわち、デジタルカメラ1をカバンなどに収納して持ち歩く場合には、ユーザが電源を切り忘れることは少ないが、ストラップ持ち状態で持ち歩く場合には、電源を切り忘れてしまう場合も多い。また、ユーザがデジタルカメラ1を手持ちで移動しているときには、すぐに撮影を行う可能性が高いが、ストラップ持ち状態で持ち歩く場合には、すぐに撮影を行う可能性が低いためである。   In addition, by immediately turning off the power simultaneously with the taking lens 3 being housed in the camera body 2, the battery life can be extended without deteriorating usability. That is, when the digital camera 1 is carried in a bag or the like, the user rarely forgets to turn off the power. However, when the user carries the digital camera 1 while holding the strap, the user often forgets to turn off the power. Further, when the user is moving the digital camera 1 by hand, there is a high possibility that the user will immediately take a picture. However, if the user carries the digital camera 1 while holding the strap, the possibility of taking a picture immediately is low.

また、本実施形態においては、デジタルカメラ1がストラップ持ち状態とは異なる手持ち移動状態となり、その状態が一定時間(第2の規定時間)続いたときには。電源をオフ状態とすることなく液晶モニタ22のみをオフ状態とするようにした。したがって、ユーザがすぐに撮影を行う可能性が高い状態においては、次回の撮影を直ちに行える状態を維持したまま、電池寿命の長期化を図ることができる。   Further, in the present embodiment, when the digital camera 1 is in a hand-held movement state different from the strap holding state and this state continues for a certain time (second specified time). Only the liquid crystal monitor 22 is turned off without turning off the power. Therefore, in a state where there is a high possibility that the user will immediately shoot, it is possible to extend the battery life while maintaining the state where the next shooting can be performed immediately.

なお、本実施形態では、手持ち移動状態が一定時間続いたとき液晶モニタ22を自動的に表示オフ状態としたが、手持ち移動状態が確認できた時点で液晶モニタ22を直ちに表示オフ状態としてもよい。   In the present embodiment, the liquid crystal monitor 22 is automatically turned off when the handheld movement state continues for a certain time. However, the liquid crystal monitor 22 may be immediately turned off when the handheld movement state is confirmed. .

また、デジタルカメラ1においては、ストラップ持ち状態と手持ち移動状態とを明確に区別して検出することができるため、デジタルカメラ1が一般的なオートパワーオフ機能、つまり一定時間操作がなかったとき電源を自動的にオフ状態とする機能を有するものである場合には、デジタルカメラ1を以下のような構成とすることもできる。例えばオートパワーオフ機能によって電源をオフ状態とするまでの時間を、ストラップ持ち状態を検出した場合と手持ち移動状態を検出した場合とで異なる時間に変更するようにしてもよい。   In addition, since the digital camera 1 can clearly detect a strap holding state and a hand-held moving state, the digital camera 1 can be turned on when a general auto power off function, that is, when there is no operation for a certain period of time. If the digital camera 1 has a function of automatically turning off, the digital camera 1 can be configured as follows. For example, the time until the power is turned off by the auto power off function may be changed to a different time when the strap holding state is detected and when the handheld moving state is detected.

また、上記のように、オートパワーオフ機能によって電源をオフ状態とするまでの時間を変更する構成においても、例えば手持ち移動状態を検出した後、予め決められた時間内に引き続きストラップ持ち状態を検出した場合には、待ち時間なしに撮影レンズ3をカメラ本体2に収容し、電源をオフ状態とする構成を採用することもできる。   In addition, as described above, even in the configuration in which the time until the power is turned off by the auto power off function is changed, for example, after detecting the hand-held movement state, the strap holding state is continuously detected within a predetermined time. In this case, it is possible to adopt a configuration in which the photographing lens 3 is accommodated in the camera body 2 without waiting time and the power is turned off.

(変形例)
ここで、本実施形態の変形例について説明する。本実施形態においては、デジタルカメラ1がストラップ持ち状態となったことを、Y軸及びZ軸の加速度の出力波形をストラップの長さを考慮して解析することにより検出し、またデジタルカメラ1が手持ち移動状態となったことを、Y軸及びZ軸の加速度の出力波形における振幅を確認することによって検出する構成とした。
(Modification)
Here, a modified example of the present embodiment will be described. In the present embodiment, it is detected that the digital camera 1 is in the state of holding the strap by analyzing the output waveforms of the acceleration of the Y axis and the Z axis in consideration of the length of the strap. It was set as the structure which detects that it became the hand-held movement state by confirming the amplitude in the output waveform of the acceleration of a Y-axis and a Z-axis.

しかし、本発明の実施に際しては、本実施形態とは異なる方法によってストラップ持ち状態と手持ち移動状態とを互いに区別して検出するようにしてもよい。すなわち加速度センサ25によって検出されるY軸又はZ軸における加速度の出力波形は、ストラップ持ち状態のときには、図8(a)に示した正弦波に近い比較的滑らかな波形となる。これに対し、手持ち移動状態のときの加速度の出力波形は、図8(b)に示したような滑らかさに欠けた波形となる。   However, when carrying out the present invention, the strap holding state and the hand-held moving state may be detected separately from each other by a method different from the present embodiment. That is, the output waveform of acceleration on the Y axis or Z axis detected by the acceleration sensor 25 is a relatively smooth waveform close to the sine wave shown in FIG. 8A when the strap is held. On the other hand, the output waveform of acceleration in the hand-held movement state is a waveform lacking in smoothness as shown in FIG.

したがって、例えばY軸又はZ軸の加速度の出力波形における振幅が予め決められている閾値を超える場合にはデジタルカメラ1が持ち運び状態であると判定し、持ち運び状態であると判定した際には、さらに、以下のようにして、その状態がストラップ持ち状態と手持ち移動状態との何れであるかを判定すればよい。すなわち一定時間毎にY軸又はZ軸の加速度を時間微分した値を変化度合として取得し、直近の一定時間内における変化度合の平均値が閾値以下であればデジタルカメラ1がストラップ持ち状態にあると判定し、変化度合の平均値が閾値を超えているときにはデジタルカメラ1が手持ち移動状態にあると判定すればよい。   Therefore, for example, when the amplitude in the output waveform of the Y-axis or Z-axis acceleration exceeds a predetermined threshold value, it is determined that the digital camera 1 is in the carrying state, and when it is determined that the digital camera 1 is in the carrying state, Furthermore, what is necessary is just to determine whether the state is a strap holding state or a hand-held movement state as follows. That is, the value obtained by time-differentiating the Y-axis or Z-axis acceleration at a certain time is acquired as the degree of change. When the average value of the degree of change exceeds the threshold value, it may be determined that the digital camera 1 is in the handheld movement state.

また、デジタルカメラ1がストラップ持ち状態であるか否かを判断する際には、カメラ本体2に生じた加速度の変化形態が、カメラ本体2に振子運動する場合に想定される特定の変化形態であるか否かを確認すればよく、具体的な確認方法については任意の方法を採用することができる。したがって、上記の確認は加速度センサ25によって検出される3軸全ての加速度に基づいて行うようにしても構わない。   Further, when determining whether or not the digital camera 1 is in the state of holding the strap, the change form of the acceleration generated in the camera body 2 is a specific change form assumed when the camera body 2 performs a pendulum motion. What is necessary is just to confirm whether there exists, and arbitrary methods can be employ | adopted about the specific confirmation method. Therefore, the above confirmation may be performed based on the accelerations of all three axes detected by the acceleration sensor 25.

また、本発明の実施に際しては、カメラ本体2に生じる加速度を加速度センサ25によって検出したが、本発明の実施に際しては、カメラ本体2に生じる加速度を角速度センサを用いて検出する構成としても構わない。   Further, in the embodiment of the present invention, the acceleration generated in the camera body 2 is detected by the acceleration sensor 25. However, in the embodiment of the present invention, the acceleration generated in the camera body 2 may be detected using an angular velocity sensor. .

また、本実施形態においては本発明をデジタルカメラに適用した場合について説明したが、本発明は持ち運びに使用されるストラップを備えたものであれば、デジタルカメラ以外の他の電子機器、例えば各種の携帯情報端末にも適用することができる。   Further, in the present embodiment, the case where the present invention is applied to a digital camera has been described. However, the present invention is not limited to a digital camera other than a digital camera, for example, various kinds of devices as long as it has a strap used for carrying. It can also be applied to portable information terminals.

以上、本発明の実施形態、及びその変形例について説明したが、これらの実施形態は本発明の作用効果が得られる範囲内であれば適宜変更が可能であり、変更後の実施形態も特許請求の範囲に記載された発明、及びその発明と均等の発明の範囲に含まれる。以下に、本出願の特許請求の範囲に記載された発明を付記する。
[請求項1]
持ち運びに使用されるストラップを備えた電子機器において、機器本体に生じる加速度を検出する加速度検出手段と、前記加速度検出手段により検出された加速度の変化形態が、機器本体が振子運動する場合に想定される特定の変化形態であるか否かを確認し、前記加速度の変化形態が前記特定の変化形態であることが確認できた場合に、機器本体が前記ストラップを用いて吊り下げられた状態にあると判断する判断手段とを備えたことを特徴とする電子機器。
[請求項2]
前記加速度検出手段は、機器本体に生じる加速度として、機器本体の重心と機器本体における前記ストラップの取り付け位置とを結ぶ方向と直行するとともに、互いに直行する2軸の加速度を検出し、前記判断手段は、前記加速度検出手段により検出された前記2軸の加速度のうちのいずれか一方の加速度の変化形態が前記特定の変化形態であるか否かを確認し、いずれか一方の加速度の変化形態が前記特定の変化形態であることが確認できた場合に、機器本体が前記ストラップを用いて吊り下げられた状態にあると判断することを特徴とする請求項1記載の電子機器。
[請求項3]
前記判断手段は、前記加速度検出手段により検出された加速度が周期的に変化し、かつ変化の周期が前記ストラップの長さに応じて予め決められた範囲の周期である場合に、前記加速度検出手段により検出された加速度の変化形態が前記特定の変化形態であると判断することを特徴とする請求項1又は2記載の電子機器。
[請求項4]]
前記判断手段は、前記加速度検出手段により検出された加速度の時間毎の変化度合に基づいて、前記加速度検出手段により検出された加速度の変化形態が前記特定の変化形態であるか否かを判断することを特徴とする請求項1又は2記載の電子機器。
[請求項5]
前記判断手段は、前記加速度検出手段により検出された加速度の変化形態が、前記特定の変化形態とは異なる予め想定された他の変化形態であるか否かを更に確認し、前記加速度の変化形態が前記他の変化形態であることが確認できた場合に、機器本体が前記ストラップを用いて吊り下げられた状態とは異なる他の使用状態にあると判断することを特徴とする請求項1乃至4いずれか記載の電子機器。
[請求項6]
前記判断手段によって機器本体が前記ストラップを用いて吊り下げられた状態にあると判断された場合に、電子機器の電源をオフ状態に制御する制御手段を更に備えたことを特徴とする請求項1乃至5いずれか記載の電子機器。
[請求項7]
沈胴式の撮影レンズを更に備え、前記制御手段は、前記判断手段により機器本体が前記ストラップを用いて吊り下げられた状態にあると判断された場合に、機器本体から繰り出された状態の撮影レンズを機器本体に収納させるとともに、電子機器の電源をオフ状態に制御することを特徴とする請求項6記載の電子機器。
[請求項8]
前記判断手段は、前記加速度検出手段により検出された加速度の変化形態が、機器本体が振子運動する場合に想定される特定の変化形態であるか、振子運動以外の運動に対応した変化形態であるかに応じて、機器本体が前記ストラップを用いて吊り下げられた状態であるか、手持ち移動状態であるかを識別して判断することを特徴とする請求項6又は7記載の電子機器。
[請求項9]
前記制御手段は、前記判断手段により機器本体が前記ストラップを用いて吊り下げられた状態であると判断された場合は、直ちに電子機器の電源をオフ状態にし、前記判断手段により手持ち移動状態であると判断された場合は、この手持ち移動状態が所定時間以上継続したことを条件として電子機器の電源をオフ状態にするように制御することを特徴とする請求項8記載の電子機器。
[請求項10]
持ち運びに使用されるストラップを備えた電子機器の機器本体に生じる加速度を検出する工程と、検出した加速度の変化形態が、電子機器が振子運動する場合に想定される特定の変化形態であるか否かを確認し、前記加速度の変化形態が前記特定の変化形態であることが確認できた場合に、機器本体が前記ストラップを用いて吊り下げられた状態にあると判断する工程とを含むことを特徴とする使用状態検出方法。
[請求項11]
持ち運びに使用されるストラップと、機器本体に生じる加速度を検出する加速度検出手段とを備えた電子機器が有するコンピュータに、前記加速度検出手段によって検出された加速度の変化形態が、機器本体が振子運動する場合に想定される特定の変化形態であるか否かを確認し、前記加速度の変化形態が前記特定の変化形態であることが確認できた場合に、機器本体が前記ストラップを用いて吊り下げられた状態にあると判断する処理を実行させることを特徴とするプログラム。
As mentioned above, although embodiment of this invention and its modification were demonstrated, these embodiment can be suitably changed if it is in the range with which the effect of this invention is acquired, and embodiment after change is also claimed. It is included in the scope of the invention described in the scope of the invention and the invention equivalent to the invention. The invention described in the claims of the present application will be added below.
[Claim 1]
In an electronic device provided with a strap used for carrying, the acceleration detecting means for detecting the acceleration generated in the device main body and the change form of the acceleration detected by the acceleration detecting means are assumed when the device main body performs a pendulum motion. The device body is in a suspended state using the strap when it is confirmed that the acceleration change mode is the specific change mode. An electronic device comprising: a determination means for determining
[Claim 2]
The acceleration detecting means detects biaxial acceleration orthogonal to the direction connecting the center of gravity of the apparatus main body and the attachment position of the strap in the apparatus main body as acceleration generated in the apparatus main body, and the determining means , Whether or not any one of the two-axis accelerations detected by the acceleration detecting means is the specific change form is confirmed, and either one of the acceleration change forms is the The electronic device according to claim 1, wherein when it is confirmed that the device is in a specific change form, it is determined that the device body is in a suspended state using the strap.
[Claim 3]
The determination means is the acceleration detection means when the acceleration detected by the acceleration detection means changes periodically and the change period is a period in a predetermined range according to the length of the strap. The electronic apparatus according to claim 1, wherein the change form of acceleration detected by the step is determined to be the specific change form.
[Claim 4]]
The determination unit determines whether or not the change mode of the acceleration detected by the acceleration detection unit is the specific change mode based on the degree of change of the acceleration detected by the acceleration detection unit for each time. The electronic device according to claim 1, wherein the electronic device is an electronic device.
[Claim 5]
The determination means further confirms whether or not the acceleration change form detected by the acceleration detection means is another assumed change form different from the specific change form, and the acceleration change form. When it is confirmed that the device is in the other change mode, it is determined that the device main body is in another use state different from the state suspended from the strap. 4. The electronic device according to any one of 4.
[Claim 6]
2. The apparatus according to claim 1, further comprising a control unit configured to control the power supply of the electronic device to an off state when the determination unit determines that the device main body is in a suspended state using the strap. The electronic device in any one of 5 thru | or 5.
[Claim 7]
A retractable photographic lens is further provided, and the control means is a photographic lens in a state of being drawn out from the apparatus main body when the determination means determines that the apparatus main body is suspended by using the strap. The electronic device according to claim 6, wherein the electronic device is stored in the device main body and the power of the electronic device is controlled to be turned off.
[Claim 8]
The determination means is a change form corresponding to a movement other than the pendulum movement, or a change form of the acceleration detected by the acceleration detection means is a specific change form assumed when the device body performs a pendulum movement. 8. The electronic device according to claim 6, wherein the electronic device is determined by identifying whether the device main body is in a suspended state using the strap or in a hand-held moving state.
[Claim 9]
The control means immediately turns off the power of the electronic device when the determination means determines that the device main body is suspended by using the strap, and the determination means indicates a state of hand-held movement. 9. The electronic device according to claim 8, wherein when the determination is made, the electronic device is controlled to be turned off on condition that the handheld movement state continues for a predetermined time or longer.
[Claim 10]
The step of detecting the acceleration generated in the main body of the electronic device provided with the strap used for carrying, and whether or not the detected acceleration change mode is a specific change mode assumed when the electronic device performs a pendulum motion. And determining that the device main body is in a suspended state using the strap when it is confirmed that the change form of the acceleration is the specific change form. A characteristic usage status detection method.
[Claim 11]
A computer having an electronic device having a strap used for carrying and an acceleration detecting means for detecting an acceleration generated in the device main body, the change form of the acceleration detected by the acceleration detecting means is a pendulum movement of the device main body. It is confirmed whether or not it is a specific change form assumed in the case, and when it is confirmed that the change form of acceleration is the specific change form, the device main body is suspended using the strap. A program characterized by causing a process to be determined to be in a state of being executed.

1 デジタルカメラ
2 カメラ本体
3 撮影レンズ
5 ストラップ取付部
6 ストラップ
15 CPU
21 SDRAM
22 液晶モニタ
25 加速度センサ
28 電源制御回路
29 バッテリー
DESCRIPTION OF SYMBOLS 1 Digital camera 2 Camera body 3 Shooting lens 5 Strap attaching part 6 Strap 15 CPU
21 SDRAM
22 LCD monitor 25 Acceleration sensor 28 Power supply control circuit 29 Battery

Claims (11)

機器本体に生じる加速度を検出する加速度検出手段と、
前記加速度検出手段により検出された加速度の変化形態に基づいて、機器本体が所定の周期で振子運動している状態にある第1状態か、機器本体が所定の周期で振子運動していないが機器本体の揺れが所定の振幅よりも大きい第2状態か、それ以外の第3状態かを判断する判断手段と、
前記第1状態、前記第2状態、前記第3状態で異なる動作状態になるように、前記判断手段による判断結果に応じて動作状態を変更する制御手段と
を備えたことを特徴とする電子機器。
Acceleration detecting means for detecting acceleration generated in the device body;
Based on the acceleration change detected by the acceleration detecting means, the device main body is in a state of pendulum movement in a predetermined cycle, or the device main body is not pendulum moved in a predetermined cycle. A judging means for judging whether the shaking of the main body is in the second state where the shaking is larger than the predetermined amplitude or the other third state ;
An electronic device comprising: a control unit that changes an operation state in accordance with a determination result by the determination unit so that the operation state differs between the first state, the second state, and the third state. .
前記判断手段は、機器本体が所定の周期で振子運動している場合に、更にその振子運動の回数が所定回数以上になったか否かを判断し、
前記制御手段は、前記判断手段により前記振子運動の回数が所定回数以上になったと判断された場合に動作状態を変更することを特徴とする請求項1記載の電子機器。
The determination means determines whether or not the number of pendulum movements is equal to or greater than a predetermined number when the device main body is performing a pendulum movement with a predetermined period;
The electronic device according to claim 1, wherein the control unit changes an operation state when the determination unit determines that the number of pendulum movements is equal to or greater than a predetermined number.
持ち運びに使用されるストラップを備え、
前記判断手段は、機器本体の振子運動の周期が前記ストラップの長さに応じて予め決められた範囲の周期であるか否かを判断し、
前記制御手段は、機器本体の振子運動の周期が前記ストラップの長さに応じて予め決められた範囲の周期であると判断された場合に、電子機器の電源をオフ状態または機器本体から繰り出された状態の撮影レンズを機器本体に収納させた状態に変更することを特徴とする請求項1又は2記載の電子機器。
It is equipped with a strap used for carrying,
The determination means determines whether the period of the pendulum movement of the device body is a period in a range determined in advance according to the length of the strap;
When it is determined that the period of the pendulum movement of the apparatus main body is in a predetermined range according to the length of the strap, the control means turns off the electronic apparatus or extends the electronic apparatus from the apparatus main body. The electronic device according to claim 1, wherein the photographing lens is changed to a state in which the photographing lens is housed in the device main body.
前記第3状態は、撮影準備状態であることを特徴とする請求項1乃至3いずれか記載の電子機器。 The electronic apparatus according to claim 1 , wherein the third state is a photographing preparation state . 前記制御手段は、前記第1状態であると判断された場合に、電子機器の電源をオフ状態または機器本体から繰り出された状態の撮影レンズを機器本体に収納させた状態に変更し、前記第2状態であると判断された場合に、電子機器の表示をオフ状態に変更し、前記第3状態であると判断された場合に、電子機器の表示をオン状態に変更することを特徴とする請求項1乃至4いずれか記載の電子機器。 When it is determined that the control unit is in the first state, the control unit changes the power of the electronic device to the off state or the state in which the photographing lens that is extended from the device body is housed in the device body, When it is determined that the state is two, the display of the electronic device is changed to an off state, and when it is determined that the state is the third state, the display of the electronic device is changed to an on state. The electronic device according to claim 1 . 前記第1状態は、機器本体がストラップを用いて吊り下げられた状態であり、前記第2状態は、機器本体を直接手で持って移動している状態であり、前記第3状態は、撮影準備状態であることを特徴とする請求項1乃至5いずれか記載の電子機器。 The first state is a state in which the device main body is suspended using a strap, the second state is a state in which the device main body is directly held by hand, and the third state is a photographing state. The electronic device according to claim 1 , wherein the electronic device is in a ready state. 前記制御手段は、前記第2状態であると判断された場合に、この第2状態が所定時間以上継続したことを条件として電子機器の表示をオフ状態に変更することを特徴とする請求項1乃至6いずれか記載の電子機器。 Wherein when it is determined that the a second state, according to claim 1 in which the second state and changes to the off state the display of the electronic device on condition that continues for a predetermined time or longer The electronic device in any one of thru | or 6 . 前記加速度検出手段は、機器本体に生じる加速度として、機器本体の重心と機器本体におけるストラップの取り付け位置とを結ぶ方向と直交するとともに、互いに直交する2軸の加速度を検出し、
前記判断手段は、前記加速度検出手段により検出された前記2軸の加速度のうちのいずれか一方の加速度の変化形態に基づいて、機器本体が前記ストラップを用いて吊り下げられた状態にあるか否かを判断することを特徴とする請求項1乃至7いずれか記載の電子機器。
The acceleration detecting means detects, as acceleration generated in the device main body, two-axis accelerations orthogonal to the direction connecting the center of gravity of the device main body and the attachment position of the strap in the device main body, and orthogonal to each other,
Whether the determination unit is in a state in which the device main body is suspended by using the strap based on a change in acceleration of one of the biaxial accelerations detected by the acceleration detection unit. The electronic device according to claim 1, wherein the electronic device is determined.
前記制御手段は、前記判断手段により機器本体が前記ストラップを用いて吊り下げられた状態であると判断された場合は、直ちに電子機器の電源をオフ状態にし、前記判断手段により機器本体を直接手で持って移動している状態であると判断された場合は、この状態が所定時間以上継続したことを条件として電子機器の電源をオフ状態にするように制御することを特徴とする請求項6記載の電子機器。   When the determination means determines that the device main body is suspended by using the strap, the control means immediately turns off the power of the electronic device, and the determination means directly handles the device main body. 7. When it is determined that the electronic device is in the state of being moved, the electronic device is controlled to be turned off on condition that the state has continued for a predetermined time or longer. The electronic device described. 機器本体に生じる加速度を検出する検出工程と、
前記検出工程により検出した加速度の変化形態に基づいて、機器本体が所定の周期で振子運動している状態にある第1状態か、機器本体が所定の周期で振子運動していないが機器本体の揺れが所定の振幅よりも大きい第2状態か、それ以外の第3状態かを判断する判断工程と、
前記第1状態、前記第2状態、前記第3状態で異なる動作状態になるように、前記判断工程による判断結果に応じて動作状態を変更する制御工程と
を含むことを特徴とする使用状態検出方法。
A detection process for detecting acceleration generated in the device body;
Based on the acceleration change detected by the detection step, the first state where the device main body is in a pendulum motion at a predetermined cycle, or the device main body is not pendulum moved at a predetermined cycle, A determination step of determining whether the second state is greater than a predetermined amplitude or a third state other than that,
A use state detection comprising: a control step of changing an operation state according to a determination result of the determination step so that the operation state is different in the first state, the second state, and the third state. Method.
電子機器が有するコンピュータを、
機器本体に生じる加速度を検出する加速度検出手段と、
前記加速度検出手段により検出された加速度の変化形態に基づいて、機器本体が所定の周期で振子運動している状態にある第1状態か、機器本体が所定の周期で振子運動していないが機器本体の揺れが所定の振幅よりも大きい第2状態か、それ以外の第3状態かを判断する判断手段と、
前記第1状態、前記第2状態、前記第3状態で異なる動作状態になるように、前記判断手段による判断結果に応じて動作状態を変更する制御手段と
して機能させることを特徴とするプログラム。
The computer that the electronic device has,
Acceleration detecting means for detecting acceleration generated in the device body;
Based on the acceleration change detected by the acceleration detecting means, the device main body is in a state of pendulum movement in a predetermined cycle, or the device main body is not pendulum moved in a predetermined cycle. A judging means for judging whether the shaking of the main body is in the second state where the shaking is larger than the predetermined amplitude or the other third state ;
A program that functions as a control unit that changes an operation state in accordance with a determination result by the determination unit so that the operation state differs between the first state, the second state, and the third state. .
JP2011125327A 2011-06-03 2011-06-03 Electronic device, its use state detection method, and program Expired - Fee Related JP5846410B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011125327A JP5846410B2 (en) 2011-06-03 2011-06-03 Electronic device, its use state detection method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011125327A JP5846410B2 (en) 2011-06-03 2011-06-03 Electronic device, its use state detection method, and program

Publications (3)

Publication Number Publication Date
JP2012252203A JP2012252203A (en) 2012-12-20
JP2012252203A5 JP2012252203A5 (en) 2014-07-03
JP5846410B2 true JP5846410B2 (en) 2016-01-20

Family

ID=47525064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011125327A Expired - Fee Related JP5846410B2 (en) 2011-06-03 2011-06-03 Electronic device, its use state detection method, and program

Country Status (1)

Country Link
JP (1) JP5846410B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3275058B2 (en) * 1992-07-10 2002-04-15 三菱電機株式会社 Video camera
JP3467782B2 (en) * 1992-09-10 2003-11-17 ソニー株式会社 Camera-integrated video image recording device
JPH10173970A (en) * 1996-12-06 1998-06-26 Sanyo Electric Co Ltd Electronic still camera
JP2004221943A (en) * 2003-01-15 2004-08-05 Nikon Corp Camera and apparatus equipped with strap
JP2007017613A (en) * 2005-07-06 2007-01-25 Fujifilm Holdings Corp Photographing apparatus
JP2010153991A (en) * 2008-12-24 2010-07-08 Panasonic Corp Apparatus and method for control camera
JP2010256762A (en) * 2009-04-28 2010-11-11 Canon Inc Optical apparatus

Also Published As

Publication number Publication date
JP2012252203A (en) 2012-12-20

Similar Documents

Publication Publication Date Title
US10877353B2 (en) Continuous autofocus mechanisms for image capturing devices
US9503640B2 (en) Image capturing apparatus capable of capturing panoramic image
US9363428B2 (en) Image processing apparatus and method
KR101352879B1 (en) Electronic apparatus and control method thereof
US8767119B2 (en) Interchangeable lens, camera body, and camera system
US20060012699A1 (en) Digital still camera, a digital still camera built-in mobile phone, and an image stabilizing method of the digital still camera
US20070196083A1 (en) Imaging device controller and digital camera
US7483076B2 (en) Portable electronics device support system
KR20100067407A (en) Photographing control method and apparatus according to motion of digital photographing apparatus
JPWO2005045516A1 (en) Imaging apparatus and control method thereof
JP5014661B2 (en) Imaging device
US9734865B2 (en) Display apparatus and control method thereof
JP2007017613A (en) Photographing apparatus
JP2010268112A (en) Imaging device, and imaging method
JP2010171748A (en) Imaging apparatus and imaging control program
JP3969694B2 (en) Digital camera
JP5846410B2 (en) Electronic device, its use state detection method, and program
JP2008103998A (en) Digital camera, electronic apparatus with digital camera mounted, imaging method of digital camera, and storage medium with digital camera program stored therein
JP2013009039A (en) Imaging device and control method therefor
JP5495579B2 (en) Detection device and control method of detection device
JP2017058554A (en) Imaging apparatus, control method, and program
JP2014147028A (en) Imaging apparatus and imaging apparatus control method
JP2013191906A (en) Imaging device and control program of imaging device
JP6270454B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2023164101A (en) Electronic device, control means of electronic device, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140515

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140515

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140702

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150317

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150513

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20151029

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151111

R150 Certificate of patent or registration of utility model

Ref document number: 5846410

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees