JP2006091136A - Motor drive method for digital camera - Google Patents

Motor drive method for digital camera Download PDF

Info

Publication number
JP2006091136A
JP2006091136A JP2004273750A JP2004273750A JP2006091136A JP 2006091136 A JP2006091136 A JP 2006091136A JP 2004273750 A JP2004273750 A JP 2004273750A JP 2004273750 A JP2004273750 A JP 2004273750A JP 2006091136 A JP2006091136 A JP 2006091136A
Authority
JP
Japan
Prior art keywords
mirror
motor
duty ratio
digital camera
switch
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.)
Granted
Application number
JP2004273750A
Other languages
Japanese (ja)
Other versions
JP4820541B2 (en
Inventor
Yutaka Osawa
裕 大澤
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.)
Pentax Corp
Original Assignee
Pentax Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pentax Corp filed Critical Pentax Corp
Priority to JP2004273750A priority Critical patent/JP4820541B2/en
Publication of JP2006091136A publication Critical patent/JP2006091136A/en
Application granted granted Critical
Publication of JP4820541B2 publication Critical patent/JP4820541B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Details Of Cameras Including Film Mechanisms (AREA)
  • Cameras In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a mirror drive method preventing image data from being noised when taking in an image in a digital single-lens reflex camera, in which a mirror is moved upward and downward by using a motor. <P>SOLUTION: The digital single-lens reflex camera having the mirror 37 moved to an observing position in which subject light made incident on from a photographic lens 100 is reflected towards the optical system 71 of an optical finder and to an imaging position in which the subject light is allowed to be made incident on an imaging element 55. In the digital single-lens reflex camera, the drive method for the mirror motor 33 for moving the mirror 37 from the observing position to the image position and from the imaging position to the observing position includes greatly altering a duty ratio stepwise after the start of the supply of power under a PWM control with a small duty ratio when the mirror motor 33 is started. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、デジタルカメラのモータ駆動方法に関する。   The present invention relates to a motor driving method for a digital camera.

一眼レフカメラは、いわゆるクイックリターンミラーをモータ駆動によりアップ/ダウンさせるミラー装置が知られている。モータ駆動のミラー装置を備えた一眼レフカメラでは、レリーズ開始時にモータに通電してミラーをアップさせてアップ状態で停止させ、その後シャッタ(フォーカルプレーンシャッタ)を開放して露光を開始し、シャッタを閉じて露光を終了し、その後モータに通電してミラーをダウンさせると共に、いわゆるメカチャージを実行する(特許文献1)。
特開平10-142686号公報
A single-lens reflex camera is known as a mirror device that raises / lowers a so-called quick return mirror by driving a motor. In a single-lens reflex camera equipped with a motor-driven mirror device, when the release starts, the motor is energized to raise the mirror and stop in the up state, and then the shutter (focal plane shutter) is opened to start exposure, and the shutter It closes and completes exposure, and then energizes the motor to lower the mirror and performs so-called mechanical charging (Patent Document 1).
Japanese Patent Laid-Open No. 10-142686

しかしながら、従来のモータ駆動のミラー装置では、ミラーをアップ、またはダウンさせるためにモータに通電を開始した瞬間にラッシュ電流が発生し、このラッシュ電流が原因となって、一眼レフカメラの電源回路に過剰な負荷が加わって動作不良の原因となる。特に、いわゆるデジタル一眼レフカメラでは、ミラー装置のモータ駆動時のラッシュ電流の影響でノイズが発生してしまい、そのノイズが画像取り込みとオーバーラップして画像に帯状の乱れが発生することがあった。   However, in the conventional motor-driven mirror device, a rush current is generated at the moment when energization of the motor is started in order to raise or lower the mirror, and this rush current causes the power supply circuit of the single-lens reflex camera. Excessive load is applied, causing malfunction. In particular, in so-called digital single-lens reflex cameras, noise is generated due to the effect of the rush current when the motor of the mirror device is driven, and the noise overlaps with the image capture, resulting in band-like disturbances in the image. .

本発明は、デジタル一眼レフカメラにおいてミラーをモータでアップダウンさせるミラー装置の問題に鑑みてなされたもので、ノイズの発生を減らし、画像信号にノイズが入らないモータ駆動方法を提供することを目的とする。   The present invention has been made in view of the problem of a mirror device that raises and lowers a mirror with a motor in a digital single-lens reflex camera. An object of the present invention is to provide a motor driving method that reduces noise generation and prevents noise from entering an image signal. And

この目的を達成する本発明は、デジタルカメラに搭載されたモータの駆動方法であって、前記モータを起動するときは、小さいデューティー比によるPWM制御で通電を開始してからデューティー比を段階的に大きく変更することに特徴を有する。   The present invention that achieves this object is a method for driving a motor mounted on a digital camera. When starting the motor, the duty ratio is increased stepwise after starting energization by PWM control with a small duty ratio. It is characterized by significant changes.

撮影レンズから入射した被写体光を、光学ファインダー方向に反射する観察位置と、撮像手段への入射を許容する撮像位置とに移動するミラーを備えたデジタル一眼レフカメラに適用した発明は、前記ミラーを観察位置から撮像位置へ、撮像位置から観察位置へ移動させるモータの駆動方法であって、前記モータを起動するときは、小さいデューティー比によるPWM制御で通電を開始してからデューティー比を段階的に大きく変更することに特徴を有する。   The invention applied to a digital single-lens reflex camera provided with a mirror that moves subject light incident from a photographing lens to an observation position that reflects in the direction of the optical viewfinder and an imaging position that allows incidence to the imaging means. A method of driving a motor that moves from an observation position to an imaging position and from an imaging position to an observation position. When the motor is started, the duty ratio is stepwise after starting energization with PWM control with a small duty ratio. It is characterized by significant changes.

さらに本発明の方法では、前記モータに小さいデューティー比によるPWM制御で通電を開始した後所定時間経過したときは直流通電するか、または、小さいデューティー比によるPWM制御で通電を開始した後直流通電になるまでデューティー比を段階的に大きく変更する。
そうして本発明の方法では、駆動しているモータを停止させるときは、かけ始めおよび終了前にPWM制御する逆転ブレーキをかける。前記PWM制御による逆転ブレーキは、逆転ブレーキかけ始めの期間はデューティー比を小から大に段階的に変更し、逆転ブレーキ終了前の期間はデューティー比を大から小に段階的に変更する。前記逆転ブレーキは、逆転ブレーキかけ始めの所定期間と逆転ブレーキ終了前の所定期間の間は直流による逆転ブレーキをかける。
Further, according to the method of the present invention, when a predetermined time elapses after energization of the motor by PWM control with a small duty ratio, DC energization is performed, or energization is started after PWM energization with a small duty ratio is started. The duty ratio is greatly changed step by step until it becomes.
Thus, according to the method of the present invention, when the motor being driven is stopped, the reverse brake for PWM control is applied before the start and the end. In the reverse brake by the PWM control, the duty ratio is gradually changed from small to large during the period when the reverse brake is started, and the duty ratio is gradually changed from large to small during the period before the reverse brake is finished. The reverse brake applies a DC reverse brake between a predetermined period when the reverse brake starts and a predetermined period before the reverse brake ends.

本発明によれば、モータを起動するときは、PWM制御により通電を開始し、デューティー比を段階的に大きくするので、モータ起動時にラッシュ電流が流れることがなく、電圧降下やノイズの発生を抑えることが可能になる。
本発明を、撮影レンズから入射した被写体光を、光学ファインダー方向に反射する観察位置と撮像手段への入射を許容する撮像位置とに移動するミラー装置を備えたデジタルカメラに適用すれば、ラッシュ電流による画像信号への影響がなくなり、画像信号にノイズが混入するおそれがなくなる。
According to the present invention, when the motor is started, energization is started by PWM control, and the duty ratio is increased stepwise, so that a rush current does not flow when the motor is started, and voltage drop and noise are suppressed. It becomes possible.
If the present invention is applied to a digital camera having a mirror device that moves subject light incident from a photographing lens to an observation position that reflects in the direction of the optical viewfinder and an imaging position that allows incidence to the imaging means, the rush current The influence on the image signal due to is eliminated, and there is no possibility that noise is mixed in the image signal.

以下、添付図面を参照して本発明の実施形態について説明する。図1は、本発明を適用したデジタル一眼レフカメラの回路構成をブロックで示す図、図2は本発明を適用したデジタル一眼レフカメラの主要部を光軸で縦断して示す図である。このデジタル一眼レフカメラは、撮影レンズ100から入射した被写体光束を、ファインダー光学系71に向けて反射する観察位置と、撮像素子55に入射させる撮像位置とに移動するミラー37を備えている(図2参照)。この実施形態では、このミラー37を、ミラーモータ33により観察位置と撮像位置とに移動させる。   Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a block diagram showing a circuit configuration of a digital single-lens reflex camera to which the present invention is applied, and FIG. This digital single-lens reflex camera includes a mirror 37 that moves to an observation position where the subject luminous flux incident from the photographing lens 100 is reflected toward the viewfinder optical system 71 and an imaging position where the subject luminous flux is incident on the image sensor 55 (FIG. 2). In this embodiment, the mirror 37 is moved between the observation position and the imaging position by the mirror motor 33.

このデジタル一眼レフカメラは、制御系として、カメラ全体の動作を統括的に制御するCPU11と、主にモード設定用のスイッチ等の入力を制御するDPU13と、主に画像処理するDSP15を備えている。こらのCPU11、DPU13およびDSP15は、CPU11の制御下で相互通信して動作する。CPU11、DPU13およびDSP15、並びにこれらによって制御される各種電子部品は、バッテリ17および電源回路19を介して供給される電源によって動作する。この電源回路19は、DPU13によって制御される。   This digital single-lens reflex camera includes, as a control system, a CPU 11 that controls the overall operation of the camera, a DPU 13 that mainly controls input of a mode setting switch, and a DSP 15 that mainly performs image processing. . These CPU 11, DPU 13 and DSP 15 operate in communication with each other under the control of the CPU 11. The CPU 11, the DPU 13 and the DSP 15, and various electronic components controlled by them are operated by the power supplied through the battery 17 and the power supply circuit 19. The power supply circuit 19 is controlled by the DPU 13.

DPU13は、外付けストロボ20および内蔵ストロボ21の充電、発光を制御し、モードダイヤル23、各種スイッチ25のオン/オフ状態をチェックし、そのオン/オフ状態に応じた制御を実行する。DPU13は、装着された撮影レンズ100に電源供給し、撮影レンズ100との間で絞りや焦点距離などの情報を通信する。さらにDPU13は、いわゆるパッシブ位相差焦点検出用センサであるAFIC29の動作を制御する。AFIC29は、撮影レンズ100を介して入射した被写体光のうち、ミラー37のハーフミラー部を透過し、サブミラー38で反射した被写体光を瞳分割光学系を介して分割して受光し(図2参照)、被写体像の位相差に関するビデオ信号をCPU11に出力する。   The DPU 13 controls charging and light emission of the external strobe 20 and the built-in strobe 21, checks the on / off state of the mode dial 23 and various switches 25, and executes control according to the on / off state. The DPU 13 supplies power to the mounted photographing lens 100 and communicates information such as an aperture and a focal length with the photographing lens 100. Further, the DPU 13 controls the operation of the AFIC 29 which is a so-called passive phase difference focus detection sensor. The AFIC 29 splits and receives the subject light, which is transmitted through the half mirror portion of the mirror 37 and reflected by the sub-mirror 38, through the pupil division optical system among the subject light incident through the photographing lens 100 (see FIG. 2). ), And outputs a video signal related to the phase difference of the subject image to the CPU 11.

CPU11は、AFIC29から入力したビデオ信号に基づいてデフォーカス量を求め、撮影レンズ100の焦点調節レンズ群(図示せず)の駆動方向および駆動量を求め、AFモータドライバ39を介してAFモータ41を駆動して焦点調節レンズ群を合焦位置まで駆動する。AFモータ41の駆動量は、AFモータ41の回転に連動してパルス信号を出力する、AF制御フォトインタラプタ43の周力パルス信号をカウントして検出する。さらにCPU11は、分割測光IC45から被写体輝度信号を入力し、シャッタ速度および絞り値を演算する。   The CPU 11 obtains the defocus amount based on the video signal input from the AFIC 29, obtains the drive direction and drive amount of the focus adjustment lens group (not shown) of the photographing lens 100, and uses the AF motor 41 through the AF motor driver 39. To drive the focusing lens group to the in-focus position. The driving amount of the AF motor 41 is detected by counting the peripheral force pulse signal of the AF control photo interrupter 43 that outputs a pulse signal in conjunction with the rotation of the AF motor 41. Further, the CPU 11 inputs the subject luminance signal from the divided photometry IC 45 and calculates the shutter speed and the aperture value.

ミラー37は、ミラー駆動機構34によって、撮影レンズ100から入射した被写体光を、ファインダー光学系71に向かって反射する観察位置と、CCD撮像素子55に入射させる撮像位置とに移動可能に支持されている。このミラー駆動機構34はミラーモータ33によって駆動される。CPU11は、ミラーモータドライバ31を介してミラーモータ33を駆動制御する。この実施形態のミラー駆動機構34は、ミラーモータ33の正回転により、観察位置から撮像位置にアップし、撮像位置から観察位置にダウンする機構であって、ミラー37の位置をミラー検知スイッチ35によって検知する。この実施形態のミラー検知スイッチ35は、ミラーが撮像位置にアップしていることを検知するミラーアップスイッチSWMRUPと、ミラーが観察位置にダウンしていることを検知するミラーダウンスイッチSWMRDNを備えている。   The mirror 37 is supported by the mirror drive mechanism 34 so as to be movable between an observation position where the subject light incident from the photographing lens 100 is reflected toward the viewfinder optical system 71 and an imaging position where the light is incident on the CCD image sensor 55. Yes. This mirror drive mechanism 34 is driven by a mirror motor 33. The CPU 11 drives and controls the mirror motor 33 via the mirror motor driver 31. The mirror drive mechanism 34 of this embodiment is a mechanism that moves up from the observation position to the imaging position and moves down from the imaging position to the observation position by forward rotation of the mirror motor 33. The mirror 37 switches the position of the mirror 37 by the mirror detection switch 35. Detect. The mirror detection switch 35 of this embodiment includes a mirror up switch SWMRUP that detects that the mirror is up to the imaging position and a mirror down switch SWMRDN that detects that the mirror is down to the observation position. .

この実施形態におけるミラー駆動機構34は、詳細は図示しないが、ミラーモータ33の一方向回転によってミラー37を撮像位置から観察位置にアップし、撮像位置から観察位置にダウンする。ミラーアップスイッチSWMRUPは、ミラーモータ33の回転に連動するブラシと、ブラシが摺接する導通部および非導通部を備えたコード板で構成されていて、ミラー37が観察位置にあるときはハイレベル、ミラー37が観察位置から撮像位置方向に回動するときは、回動途中にローレベルとなり、撮像位置近傍でハイレベルになり、撮像位置でローレベルになる。ミラーダウンはミラー37が撮像位置から観察位置方向に回動するときは、回動途中で一度ローレベルになった後、再びハイレベルとなりミラーが観察位置に下りたときはローレベルを維持する。   Although not shown in detail, the mirror driving mechanism 34 in this embodiment raises the mirror 37 from the imaging position to the observation position and lowers the imaging position to the observation position by one-way rotation of the mirror motor 33. The mirror up switch SWMRUP is composed of a brush interlocking with the rotation of the mirror motor 33, and a code plate provided with a conductive portion and a nonconductive portion in sliding contact with the brush. When the mirror 37 is at the observation position, When the mirror 37 rotates from the observation position toward the imaging position, the mirror 37 becomes low level during the rotation, becomes high level near the imaging position, and becomes low level at the imaging position. In the mirror down, when the mirror 37 is rotated from the imaging position to the observation position, the mirror 37 once becomes a low level in the middle of the rotation and then becomes a high level again. When the mirror is lowered to the observation position, the low level is maintained.

CPU11は、不揮発性のメモリ手段であるEEPROM47から、設定され撮影モード、撮影各種補正値等を入力し、撮影モードなどの撮影条件を、カメラ外部に設けられた外部表示LCD(液晶ディスプレイ)51およびファインダ内LCD(液晶ディスプレイ)53に表示する。これらのLCD51、53は、照明用LED51a、53aを備えている。   The CPU 11 inputs a set shooting mode, various shooting correction values and the like from the EEPROM 47 which is a nonvolatile memory means, and sets the shooting conditions such as the shooting mode to an external display LCD (liquid crystal display) 51 provided outside the camera. The image is displayed on the LCD (liquid crystal display) 53 in the viewfinder. The LCDs 51 and 53 include illumination LEDs 51a and 53a.

CPU11には、スイッチ類として、絞り値をマニュアル設定するAvダイアルスイッチ59、シャッタ速度をマニュアル設定するTvダイアルスイッチ61、電源をオン/オフするメインスイッチ(電源スイッチ)SWM等を含むスイッチ63およびシャッタスイッチ65が接続されている。シャッタスイッチ65は、シャッタボタンの半押しでオンする測光スイッチSWSおよび同全押しでオンするレリーズスイッチSWRを含む。   The CPU 11 includes, as switches, an Av dial switch 59 for manually setting an aperture value, a Tv dial switch 61 for manually setting a shutter speed, a switch 63 including a main switch (power switch) SWM for turning on / off the power, and a shutter. A switch 65 is connected. The shutter switch 65 includes a photometric switch SWS that is turned on when the shutter button is half-pressed and a release switch SWR that is turned on when the shutter button is fully pressed.

さらにCPU11は、シャッタ49の駆動を制御する。シャッタ49は、詳細は図示しないがフォーカルプレーンシャッタであって、先幕および後幕を走行させるばね、チャージされたバネにより先幕、後幕が走行するのを機械的に係止する。ミラー37に連動したシャッタ係止機構、シャッタ係止機構の係止に代わって先幕、後幕を電磁的に係止するシャッタマグネットESMg1、ESMg2、を備えている。   Further, the CPU 11 controls driving of the shutter 49. Although not shown in detail, the shutter 49 is a focal plane shutter, and mechanically locks the travel of the front curtain and the rear curtain by a spring for traveling the front curtain and the rear curtain, and a charged spring. A shutter locking mechanism interlocked with the mirror 37, and shutter magnets ESMg1 and ESMg2 for electromagnetically locking the front curtain and the rear curtain in place of the locking of the shutter locking mechanism are provided.

ミラーがアップし、シャッタ49が開放されているときに、撮影レンズ100によって被写体像が撮像素子55の受光面に形成される。撮像素子55は、被写体像を多数の受光素子で受光し、電気的な画像信号に変換して、DSP15に出力する。DSP15は、入力した画像信号にホワイトバランス補正等所定の補正を施し、イメージLCD57に表示するとともに、予め設定された画像フォーマットに変換して、CFカード67に書き込む。イメージLCD57は、通常カメラボディの背面に装着されていて、照明用LED57aを備えている。なおフラッシュメモリ69には、カメラ動作、撮像動作等に関するファームウエアが書き込まれていて、DSP15は、電源がオン時に読み込む。   When the mirror is raised and the shutter 49 is opened, a subject image is formed on the light receiving surface of the image sensor 55 by the photographing lens 100. The image sensor 55 receives a subject image with a number of light receiving elements, converts it into an electrical image signal, and outputs it to the DSP 15. The DSP 15 performs predetermined correction such as white balance correction on the input image signal, displays it on the image LCD 57, converts it into a preset image format, and writes it in the CF card 67. The image LCD 57 is usually mounted on the back of the camera body and includes an illumination LED 57a. The flash memory 69 stores firmware related to camera operation, imaging operation, etc., and the DSP 15 reads it when the power is turned on.

次に、このデジタル一眼レフカメラの撮影動作について、図3、図4に示したタイミングチャートおよび図5から図12に示したフローチャートを参照して説明する。図3は、このデジタル一眼レフカメラのレリーズ処理に関する全体タイミングチャート、図4は同レリーズ処理におけるミラーモータ33の動作に関するタイミングチャートである。   Next, the photographing operation of this digital single lens reflex camera will be described with reference to the timing charts shown in FIGS. 3 and 4 and the flowcharts shown in FIGS. FIG. 3 is an overall timing chart regarding the release process of the digital single-lens reflex camera, and FIG. 4 is a timing chart regarding the operation of the mirror motor 33 in the release process.

図5および図6は、このカメラ全体処理に関するメインフローチャートである。この処理には、バッテリ17が装填されたときに入る。カメラ全体処理に入ると、まず、各入出力ポートの初期化等、ハードイニシャライズを実行し(S2)、内蔵RAMをオールクリアし、定数設定、補正値読み出し等のソフトイニシャライズを実行する(S4)。その後、CPU11等の主要制御系の電源以外の電源をオフし(S6)、全ての表示用LCDを消灯し(S8)、メインスイッチOFFループ処理に入る。   5 and 6 are main flowcharts relating to the entire camera process. This process is entered when the battery 17 is loaded. When the entire camera process is entered, hard initialization such as initialization of each input / output port is first executed (S2), the built-in RAM is all cleared, and software initialization such as constant setting and correction value reading is executed (S4). . Thereafter, the power supply other than the power supply of the main control system such as the CPU 11 is turned off (S6), all the display LCDs are turned off (S8), and the main switch OFF loop process is started.

「メインスイッチSWM;OFF」
メインスイッチOFFループ処理は、メインスイッチSWMがOFFしている間定期的に繰り返す処理である。この処理に入ると、まず、全てのスイッチ63のオン/オフ状態を入力し(S10)、メインスイッチSWMがONしているかどうかをチェックする(S12)。メインスイッチSWMがONしていないとき(S12;N)は、250mSタイマ割込みをセットし(S14)、CPU11をスタンバイモードに移行し(S16)、250mS経過したらCPU11を起動し(S18)、S10に戻る。つまり、メインスイッチSWMがOFFしている間は250mS毎にこのメインスイッチOFFループ処理を繰り返す。
“Main switch SWM; OFF”
The main switch OFF loop process is a process that is periodically repeated while the main switch SWM is OFF. In this process, first, the on / off states of all the switches 63 are input (S10), and it is checked whether or not the main switch SWM is ON (S12). When the main switch SWM is not ON (S12; N), a 250 mS timer interrupt is set (S14), the CPU 11 is shifted to the standby mode (S16), and when 250 mS elapses, the CPU 11 is activated (S18), and the process goes to S10. Return. That is, while the main switch SWM is OFF, this main switch OFF loop process is repeated every 250 ms.

「メインスイッチSWM;ON」
メインスイッチSWMがオンされると(S12;Y)、メインスイッチONループ処理のスタートや、電源ONループ処理からのバッテリNGによるジャンプに備えて、まず電源OFF処理を実行して(S20)から、測光タイマOFFループ処理に入る。
“Main switch SWM; ON”
When the main switch SWM is turned on (S12; Y), in preparation for the start of the main switch ON loop processing or the jump by the battery NG from the power ON loop processing, first the power OFF processing is executed (S20), The photometry timer OFF loop processing is entered.

『測光タイマOFFループ処理』
測光タイマOFFループ処理に入ると、外部表示LCDに、撮影可能枚数、バッテリ状態、画像サイズ、ホワイトバランス(WB)等、カメラ状態に関する情報を点灯表示する(S22)。次に、メインスイッチSWM、測光スイッチSWS、レリーズスイッチSWRを含む全てのスイッチ状態を入力し(S24)、メインスイッチSWMがONしているかどうかをチェックする(S26)。メインスイッチSWMがONしていなければ(S26;N)、S6に戻るが、メインスイッチSWMがONしているとき(S26;Y)は、CPU‐レンズ通信によってレンズ情報を入力し(S28)、CPU‐DSP通信によってスイッチ情報、バッテリ情報などのカメラ情報をDSPに通信し(S30)、測光スイッチSWS割込みを許可し(S32)、250mSタイマによる割込みをセットし(S34)、CPUスタンバイモードに入る(S36)。測光スイッチSWSによる割込みがあった(測光スイッチSWSがONした)かどうかをチェックする(S38)。測光スイッチSWSによる割込みがなければ(S38;N)、250mS経過するのを待ち(S40)、経過したらCPU11が起動し、S22に戻る。以上の処理を、メインスイッチSWMがOFFするか、測光スイッチSWSがONするまで繰り返す。メインスイッチSWMがOFFすると(S26;N)、S6に戻る。
“Photometric timer OFF loop processing”
When the photometry timer OFF loop processing is entered, information relating to the camera state such as the number of images that can be taken, the battery state, the image size, and the white balance (WB) is lit on the external display LCD (S22). Next, all switch states including the main switch SWM, photometric switch SWS, and release switch SWR are input (S24), and it is checked whether the main switch SWM is ON (S26). If the main switch SWM is not ON (S26; N), the process returns to S6, but when the main switch SWM is ON (S26; Y), lens information is input by CPU-lens communication (S28), Camera information such as switch information and battery information is communicated to the DSP by CPU-DSP communication (S30), photometry switch SWS interrupt is permitted (S32), an interrupt by a 250 mS timer is set (S34), and CPU standby mode is entered. (S36). It is checked whether or not there has been an interruption by the photometric switch SWS (the photometric switch SWS has been turned on) (S38). If there is no interruption by the photometric switch SWS (S38; N), it waits for 250 mS to elapse (S40), and when it elapses, the CPU 11 starts and returns to S22. The above processing is repeated until the main switch SWM is turned off or the photometric switch SWS is turned on. When the main switch SWM is turned OFF (S26; N), the process returns to S6.

「測光スイッチSWS;ON」
測光スイッチSWSによる割込みがあった場合(S38;Y)は、16分割測光IC46、AFIC29、外部表示LCD51等に使用する電源をON(S42)して、16分割測光IC46による測光、AFIC29による焦点検出、外部表示LCD51等による表示動作をさせる。そうして測光10秒タイマをスタートさせて(S44)、測光タイマONループ処理に入る。測光タイマは、測光スイッチSWSがOFFした状態で所定時間経過したときにS20に戻るための時間を計測するタイマである。
“Photometry switch SWS; ON”
When there is an interruption by the photometry switch SWS (S38; Y), the power used for the 16-division photometry IC 46, AFIC 29, external display LCD 51, etc. is turned on (S42), photometry by the 16-division photometry IC 46, and focus detection by the AFIC 29 Then, a display operation is performed by the external display LCD 51 or the like. Then, the photometric 10 second timer is started (S44), and the photometric timer ON loop processing is started. The photometric timer is a timer that measures the time for returning to S20 when a predetermined time elapses with the photometric switch SWS turned off.

『測光スイッチタイマONループ処理』
測光タイマONループ処理に入ると、全スイッチのオン/オフ状態を入力し(S46)、メインスイッチSWMがONしているかどうかをチェックする(S48)。メインスイッチSWMがONしていなければ(S48;N)、S6に戻り、ONしているとき(S48;Y)は、以下のループ処理を実行する。
“Photometry switch timer ON loop processing”
When the photometry timer ON loop processing is entered, the on / off state of all switches is input (S46), and it is checked whether the main switch SWM is ON (S48). If the main switch SWM is not ON (S48; N), the process returns to S6, and when it is ON (S48; Y), the following loop processing is executed.

「メインスイッチSWM:ON、測光スイッチSWS;ON」
CPU‐レンズ通信によってレンズ情報を入力する(S50)。16分割測光IC46から入力した被写体輝度Bv信号をA/D変換し、AE演算により適正シャッタ速度および絞り値を演算し(S54)、電源オフ時の表示情報に加え、AE演算によって演算したシャッタ速度および絞り値等の表示、ファインダ内LCD53および照明用LED53aも点灯し(S56)、測光演算値(シャッタ速度および絞り値)をCPU‐DSP通信によってDSP15に通信する(S58)。そうして、125mSタイマをスタートさせ(S60)、レリーズスイッチSWR割込みを許可する(S62)。
“Main switch SWM: ON, metering switch SWS; ON”
Lens information is input by CPU-lens communication (S50). The subject luminance Bv signal input from the 16-divided photometry IC 46 is A / D converted, the appropriate shutter speed and aperture value are calculated by AE calculation (S54), and the shutter speed calculated by AE calculation is added to the display information when the power is off. Further, the display of the aperture value and the like, the finder LCD 53 and the illumination LED 53a are also turned on (S56), and the photometric calculation values (shutter speed and aperture value) are communicated to the DSP 15 by CPU-DSP communication (S58). Then, the 125 ms timer is started (S60), and the release switch SWR interrupt is permitted (S62).

125mS経過(125mSタイマがタイムアップ)したかどうかをチェックし(S64)、経過していないとき(S64;N)は測光タイマ時間(測光2秒タイマ、又は10秒タイマ)が経過したかどうかをチェックし(S66)、経過していないとき(S66;N)は測光スイッチSWSがONしているかどうかをチェックする(S68)。測光スイッチSWSがONしているとき(S68;Y)はAF処理を実行して(S80)、ONしていないとき(S68;Y)はS80をスキップしてレリーズ割込みが有ったか(レリーズスイッチSWRがONしたか)どうかチェックする(S70)。レリーズ割込みがなかった場合(S70;N)はS64に戻る。つまり、125mS経過するまでS64からS70の処理を繰り返す。そうして、125mS経過したら(S64;Y)、S46に戻ってS46からS62、S64からS70の処理を実行する。
「レリーズスイッチSWR;ON」
測光タイマONループ処理を実行している間にレリーズスイッチSWRがON、つまりレリーズ割込みが入ると(S70;Y)、ミラーアップ処理(S72)を実行し、露光処理(S74)を実行し、メカチャージ処理(S78)を実行してから、露光後、測光値を2秒間表示させるために測光2秒タイマをスタートさせる(S78)。そうして、S46に戻り、S46からS80の処理を繰り返す。この実施形態では、レリーズスイッチSWRをONし続けると、測光処理(S52、S54)、AF処理(S68;Y、S80)および露光処理(S70;Y、S72からS78、S46)を繰り返す。一方、レリーズスイッチSWRがOFFすると、測光タイマ時間として設定された測光2秒タイマ時間が経過すると(S66;Y)、S20に戻り、電源OFF処理を実行して測光タイマOFFループ処理を繰り返す。
It is checked whether or not 125 mS has elapsed (125 mS timer has timed up) (S64), and when it has not elapsed (S64; N), it is determined whether or not the photometric timer time (photometric 2-second timer or 10-second timer) has elapsed. It is checked (S66), and if it has not elapsed (S66; N), it is checked whether or not the photometric switch SWS is ON (S68). When the metering switch SWS is ON (S68; Y), AF processing is executed (S80), and when it is not ON (S68; Y), S80 is skipped and there is a release interrupt (release switch) It is checked whether SWR is turned on (S70). If there is no release interrupt (S70; N), the process returns to S64. That is, the processes from S64 to S70 are repeated until 125 mS has elapsed. When 125 mS has elapsed (S64; Y), the process returns to S46, and the processes from S46 to S62 and S64 to S70 are executed.
"Release switch SWR; ON"
If the release switch SWR is ON during the photometry timer ON loop processing, that is, if a release interrupt is received (S70; Y), the mirror up processing (S72) is executed, the exposure processing (S74) is executed, After executing the charging process (S78), after exposure, a photometric 2-second timer is started to display the photometric value for 2 seconds (S78). Then, the process returns to S46, and the processes from S46 to S80 are repeated. In this embodiment, if the release switch SWR is kept ON, the photometry process (S52, S54), the AF process (S68; Y, S80) and the exposure process (S70; Y, S72 to S78, S46) are repeated. On the other hand, when the release switch SWR is turned OFF, when the photometry 2-second timer time set as the photometry timer time has elapsed (S66; Y), the process returns to S20, the power OFF process is executed, and the photometry timer OFF loop process is repeated.

『ミラーアップ処理』
S72で実行されるミラーアップ処理について、図7、図8および図9に示したフローチャートを参照して説明する。なお、このフローチャートにおいて、ミラーモータ状態は、下記の通りミラーモータの状態を識別する。
ミラーモータ状態
0;動作開始におけるPWM駆動中(正転)
1;DC駆動中(正転)
2;1次ブレーキ中
3;DC駆動中(正転)
4;逆転ブレーキ中
5;2次ブレーキ中
Mirror up process
The mirror-up process executed in S72 will be described with reference to the flowcharts shown in FIGS. In this flowchart, the mirror motor state identifies the state of the mirror motor as follows.
Mirror motor state 0: PWM drive at start of operation (forward rotation)
1: DC drive (forward rotation)
2; During primary braking 3; During DC drive (forward rotation)
4: During reverse braking 5: During secondary braking

この処理に入ると、まず、シャッタマグネットESMg1、ESMg2に通電してシャッタ先幕および後幕を電磁的に係止する(S102)。分割測光IC45から測光値Bvを入力して最新の測光値BvをA/D変換し(S104)、AE演算によりシャッタ速度および絞り値を算出し(S106)、算出したシャッタ速度および絞り値を各LCD51、53に表示する(S108)。そうして、200μS基準タイマをスタートさせる(S110)。200μS基準タイマはCPU11が内蔵するハードタイマであって、シャッタ速度(露光時間)の計測、ブレーキ時間、ミラースイッチSWチェンジタイミング等の時間計測に使用される。   In this process, first, the shutter magnets ESMg1 and ESMg2 are energized to electromagnetically lock the shutter front curtain and rear curtain (S102). The photometry value Bv is input from the divided photometry IC 45, and the latest photometry value Bv is A / D converted (S104), the shutter speed and aperture value are calculated by AE calculation (S106), and the calculated shutter speed and aperture value are set for each. The data is displayed on the LCDs 51 and 53 (S108). Then, the 200 μS reference timer is started (S110). The 200 μS reference timer is a hard timer built in the CPU 11 and is used for measuring shutter speed (exposure time), brake time, mirror switch SW change timing, and the like.

動体予測計算用に、ミラーアップ時間計測タイマをスタートさせ(S112)、ミラーアップ開始をCPU-DSP通信によってDSP15に伝達する。
絞り開放かどうかをチェックし(S116)、絞り開放であれば(S116;Y)、絞りマグネットEEMgをオンして(S118)絞りを開放に保持し、絞り開放でなければ(S116;N)、EEPカウントをセットし、EEP絞り込みを許可し(S120)、ミラーアップスイッチSWMRUPのチャタリング除去用変数、ミラーアップスイッチSWMRUPカウント用変数、モータ状態等の変数、定数を初期化し(S122)、ミラーモータ33が停止したときに“1”にセットされるミラー停止フラグをクリアする(S124)。EEPカウントのセットおよび、EEP絞り込みを許可により、ミラーアップに連動して動作する、図示しない絞り込み機構から出力される絞りパルス(EEP)をカウントし、カウント値がEEPカウントと一致したときに絞りマグネットEEMgをオンして絞り込み機構を停止させる。
For the moving object prediction calculation, the mirror up time measurement timer is started (S112), and the mirror up start is transmitted to the DSP 15 by CPU-DSP communication.
It is checked whether or not the aperture is open (S116). If the aperture is open (S116; Y), the aperture magnet EEMg is turned on (S118), and the aperture is held open. If the aperture is not open (S116; N), The EEP count is set, the EEP narrowing is permitted (S120), the chattering removal variable of the mirror up switch SWMRUP, the variable for the mirror up switch SWMRUP count, the variables such as the motor state and constants are initialized (S122), and the mirror motor 33 The mirror stop flag that is set to “1” when the camera stops is cleared (S124). When the EEP count setting and EEP narrowing are permitted, the aperture pulse (EEP) output from the unillustrated narrowing mechanism that operates in conjunction with the mirror up is counted, and when the count value matches the EEP count, the aperture magnet The EEMg is turned on to stop the narrowing mechanism.

「ミラーモータ起動;PWM制御開始;ミラーモータ状態1;図4のA」
そうして、ミラーモータ33に、PWM制御による通電を開始する(S126)。この実施形態では、PWM制御の周期(パルス1サイクル)を100μSに設定し、オフ状態からPWM制御を開始するときは、最も小さいデューティー比(0パーセント)から開始し、デューティー比を周期的(200μS毎)に段階的(数パーセントずつ)に大きく変更してDC駆動し、DC駆動状態からPWM制御を開始するときは、最も大きいューティー比(100パーセント)から開始し、デューティー比を周期的(200μS毎)に段階的(数パーセントずつ)に小さく変更してオフする。このようにミラーモータ33を最小のデューティーによるPWM制御で起動するので、ラッシュ電流が流れることがなく、電源回路19に過度の負担をかけることがない。なお、図示実施例ではいわゆる一枚撮りであるが、本実施形態の起動時、停止時のPWM制御処理は、連続撮影において、画像処理回路動作がミラーアップ処理と重複するときに効果的である。
“Mirror motor start; PWM control start; Mirror motor state 1; FIG. 4A”
Then, energization by PWM control is started to the mirror motor 33 (S126). In this embodiment, the PWM control cycle (one pulse cycle) is set to 100 μS, and when PWM control is started from the OFF state, the lowest duty ratio (0 percent) is started, and the duty ratio is set to periodic (200 μS). When the DC control is started with the stepwise change (by several percent) every time and the PWM control is started from the DC drive state, the duty ratio is changed periodically (200 μS), starting from the highest duty ratio (100%). Every step) and change it off step by step (by a few percent). Thus, since the mirror motor 33 is started by PWM control with the minimum duty, a rush current does not flow and an excessive burden is not imposed on the power supply circuit 19. In the illustrated embodiment, so-called single shooting is performed, but the PWM control processing at the time of starting and stopping of this embodiment is effective when the image processing circuit operation overlaps with the mirror-up processing in continuous shooting. .

ミラーモータ状態に“0”をセットし(S128)、ミラー停止フラグに“1”がセットされているかどうかをチェックする(S130)。ミラー停止フラグは、ミラーが停止したことを検知したときにセットされるフラグである。ミラー停止フラグに“1”がセットされていたとき(S130;Y)、つまりミラーアップが終了したときは、フラッシュ発光用のAE演算を実行し(S204)、外部フラッシュとフラッシュデータ最終通信を実行し(S206)、TTL積分の開始準備を実行し(S208)、ミラーアップ終了をCPU-DSP通信によってDSP15に伝達し(S210)、ミラーアップ時間計測を終了して計測時間を測定値として保存し(S212)、リターンする。   “0” is set in the mirror motor state (S128), and it is checked whether “1” is set in the mirror stop flag (S130). The mirror stop flag is a flag that is set when it is detected that the mirror has stopped. When the mirror stop flag is set to “1” (S130; Y), that is, when the mirror up is completed, AE calculation for flash emission is executed (S204), and the flash data final communication with the external flash is executed. (S206), TTL integration start preparation is executed (S208), mirror-end completion is transmitted to the DSP 15 by CPU-DSP communication (S210), mirror-up time measurement is terminated, and the measurement time is stored as a measured value. (S212), return.

ミラー停止フラグに“1”がセットされていない間(S130;N)は、以下のループ処理を200μS毎に繰り返す。   While the mirror stop flag is not set to “1” (S130; N), the following loop processing is repeated every 200 μS.

ミラーアップスイッチSWMRUPのレベルをチェックする(S132)。連続して5回同レベルであることを検知した場合に、ミラーアップスイッチSWMRUPのエッジ切り替わりと判定し、ミラーアップスイッチSWMRUPのエッジ数を1加算する。そうして、ミラーアップ時間計測カウンタを1加算する(S134)。ブレーキ時間カウントソフトカウンタを1減算する(S136)。ブレーキ時間カウントソフトカウンタは、1次ブレーキ時間を計測するためのカウンタである   The level of the mirror up switch SWMUP is checked (S132). When the same level is detected five times in succession, it is determined that the edge of the mirror up switch SWMUP is switched, and 1 is added to the number of edges of the mirror up switch SWMUP. Then, 1 is added to the mirror up time measurement counter (S134). The brake time count soft counter is decremented by 1 (S136). The brake time count soft counter is a counter for measuring the primary brake time.

そうして、ミラーモータ状態フラグが“0”かどうかをチェックする(S138)。ミラーモータ状態フラグが“0”のとき(S138;Y)はPWM制御中なので、DUTY変更処理を実行する(S140)。DUTY変更処理は、PWM制御のデューティーを段階的に増加させる処理である。この実施形態では、200μS毎にデューティーを増加させる。   Then, it is checked whether or not the mirror motor status flag is “0” (S138). When the mirror motor status flag is “0” (S138; Y), the PWM control is being performed, so the DUTY change process is executed (S140). The DUTY change process is a process for increasing the duty of the PWM control step by step. In this embodiment, the duty is increased every 200 μS.

PWM制御時間が終了したかどうかをチェックする(S142)。この実施形態におけるPWM制御時間は5mSである。PWM制御時間が経過する前(S142;N)は、S144、S146をスキップし、ミラーアップスイッチSWMRUPのエッジが“1”、つまりミラーアップスイッチSWMRUPの1番目のエッジを検出したかどうかをチェックする(S148)。1番目のエッジを検出していない場合(S148;N)は、200μS経過するのを待ち(S156;N)、200μS経過したら(S156;Y)、S130に戻ってS130からS156のループ処理を繰り返す。   It is checked whether the PWM control time has ended (S142). The PWM control time in this embodiment is 5 mS. Before the PWM control time elapses (S142; N), S144 and S146 are skipped, and it is checked whether the edge of the mirror up switch SWMUP is “1”, that is, whether the first edge of the mirror up switch SWMUP is detected. (S148). If the first edge has not been detected (S148; N), it waits for 200 μS to elapse (S156; N), and after 200 μS has elapsed (S156; Y), returns to S130 and repeats the loop processing from S130 to S156. .

「PWM制御時間終了、DC駆動、ミラーモータ状態1」
PWM制御時間が終了すると(S142;Y)、ミラーモータ33の駆動をDC(直流)による正転駆動に切り替え(S144)、ミラーモータ状態に“1”をセットする(S146)。そうして、S148;NからS156、S130を経てS138のミラーモータ状態チェックに戻る。
"PWM control time end, DC drive, mirror motor state 1"
When the PWM control time is over (S142; Y), the drive of the mirror motor 33 is switched to the forward rotation drive by DC (direct current) (S144), and “1” is set in the mirror motor state (S146). Then, the process returns from S148; N through S156 and S130 to the mirror motor state check in S138.

S146でミラーモータ状態に“1”がセットされているので(S138;N)、S158に進んでミラーモータ状態が“1”かどうかチェックする。ここでミラー状態が“1”なので(S158;Y)、S148に戻る。つまり、ミラーモータ33のDC駆動を、ミラーアップスイッチSWMRUPの1番目のエッジを検出するまで繰り返す(S148;N、S156;Y、S130;N、S132からS138;N、S158;Y、S148;N)。   Since “1” is set in the mirror motor state in S146 (S138; N), the process proceeds to S158 to check whether the mirror motor state is “1”. Here, since the mirror state is “1” (S158; Y), the process returns to S148. That is, the DC drive of the mirror motor 33 is repeated until the first edge of the mirror up switch SWMUP is detected (S148; N, S156; Y, S130; N, S132 to S138; N, S158; Y, S148; N ).

「SWMRUPの状態信号のエッジ検知、1次ブレーキ、ミラーモータ状態2」
ミラーアップスイッチSWMRUPの状態信号のエッジを1回検知すると(S148;Y)、ミラーモータ33に1次ブレーキをかける(S150)。ここで1次ブレーキとは、ミラーモータ33の電源端子を短絡させることである。そうして、1次ブレーキをかけ続ける時間である1次ブレーキ時間をセットし(S154)、ミラーモータ状態に“2”をセットする(S154)。
“Edge detection of SWMUP status signal, primary brake, mirror motor status 2”
When the edge of the status signal of the mirror up switch SWMUP is detected once (S148; Y), the primary brake is applied to the mirror motor 33 (S150). Here, the primary brake is to short-circuit the power terminal of the mirror motor 33. Then, the primary brake time, which is the time during which the primary brake is continuously applied, is set (S154), and “2” is set to the mirror motor state (S154).

ミラーモータ状態に“2”がセットされると、ミラーモータ状態チェック処理(S138;N、S158;N)を経て、ミラーモータ状態が“2”であるかどうかのチェック(S160)に進む。ここでミラーモータ状態が“2”なので(S160;Y)、S136でデクリメントした1次ブレーキ時間ソフトカウンタが0になったかどうか(1次ブレーキが終了したかどうか)をチェックする(S162)。1次ブレーキが終了していなければ(S162;N)、ミラーアップスイッチSWMRUPの状態信号のエッジを3回検知したかどうかをチェックする(S168)。3回検知していなければ(S158;N)、1次ブレーキが終了するまで、200μS毎にS156;Y、S130;NからS138;N、S160;Y、S162;N、S168;N、S156の処理を繰り返す。通常は、ミラーアップスイッチSWMRUPの状態信号のエッジを3回検知する前に1次ブレーキ時間が経過して1次ブレーキが終了する。   When “2” is set in the mirror motor state, the process proceeds to a check (S160) as to whether or not the mirror motor state is “2” through a mirror motor state check process (S138; N, S158; N). Here, since the mirror motor state is “2” (S160; Y), it is checked whether or not the primary brake time soft counter decremented in S136 has become 0 (whether or not the primary brake has ended) (S162). If the primary brake has not ended (S162; N), it is checked whether the edge of the status signal of the mirror up switch SWMUP has been detected three times (S168). If not detected three times (S158; N), S156; Y, S130; N to S138; N, S160; Y, S162; N, S168; N, S156 every 200 μS until the primary brake is completed Repeat the process. Normally, the primary brake is completed and the primary brake is finished before the edge of the state signal of the mirror up switch SWMUP is detected three times.

「1次ブレーキ時間経過、DC駆動、ミラーモータ状態3」
1次ブレーキ時間が経過して1次ブレーキが終了すると(S162;Y)。ミラーモータ33をDC正転駆動し(S164)、ミラーモータ状態に“3”をセットする(S166)。そうして、ミラーアップスイッチSWMRUPのエッジ数が3になるまで、200μS毎にS168;N、S156;Y、S130;NからS138;N、S158;N、S160;N、S176;Y、S168;N、S156のループ処理を繰り返す。
"Primary brake time elapsed, DC drive, mirror motor state 3"
When the primary brake time has elapsed and the primary brake is finished (S162; Y). The mirror motor 33 is DC forward driven (S164), and "3" is set to the mirror motor state (S166). Then, until the number of edges of the mirror up switch SWMUP becomes 3, S168; N, S156; Y, S130; N to S138; N, S158; N, S160; N, S176; Y, S168; N, the loop process of S156 is repeated.

「ミラーアップスイッチSWMRUPエッジ3回、PWM逆転ブレーキ、ミラーモータ状態4;図4のB」
ミラーアップスイッチSWMRUPのエッジ数が3回になったとき(S168;Y)は、ミラーモータ33に逆転PWMブレーキをかけ(S170)、逆転ブレーキ時間をセットし(S172)、ミラーモータ状態に“4”をセットする(S174)。そうして、200μS経過すると(S156;Y)、S130;NからS138;N、S158;N、S160;N、S176;N、S178;YからS180に進み、デューティー変更処理を実行する。ここでのデューティー変更処理は、デューティー比を200μS経過する毎に段階的に小さく変更する処理である。
“Mirror up switch SWMRUP edge 3 times, PWM reverse brake, mirror motor state 4; B in FIG. 4”
When the number of edges of the mirror up switch SWMUP becomes 3 (S168; Y), the reverse PWM brake is applied to the mirror motor 33 (S170), the reverse brake time is set (S172), and the mirror motor state is set to “4”. "Is set (S174). When 200 μS elapses (S156; Y), S130; N to S138; N, S158; N, S160; N, S176; N, S178; Y to S180, and duty change processing is executed. The duty change process here is a process for changing the duty ratio to be smaller stepwise every time 200 μS elapses.

「PWM逆転ブレーキ開始後5mS経過前、PWM逆転ブレーキ」
そうして、デューティー変更処理(S180)を、PWM逆転ブレーキ開始後5mS(第1のブレーキ時間)が経過するまで、200μS毎に繰り返す(S182;N、S186;N、S190;N、S156;Y、S130;NからS138;N、S158;N、S160;N、S176;N、S178;YからS180、S182)。S182ではミラーモータソフトカウンタによってPWM逆転ブレーキ開始後5mS(第1のブレーキ時間)が経過したかどうかをチェックし、S186ではミラーモータソフトカウンタによりブレーキ終了前5mSかどうかをチェックし、S190では逆転ブレーキ時間終了かどうかをチェックする。
“PWM reverse brake 5ms before PWM reverse brake start”
Then, the duty changing process (S180) is repeated every 200 μS until 5 mS (first brake time) has elapsed after the start of the PWM reverse brake (S182; N, S186; N, S190; N, S156; Y). , S130; N to S138; N, S158; N, S160; N, S176; N, S178; Y to S180, S182). In S182, the mirror motor soft counter is used to check whether 5mS (first brake time) has elapsed since the start of PWM reverse rotation braking. In S186, the mirror motor soft counter is checked to determine whether it is 5mS before the end of braking. In S190, reverse braking is performed. Check if the time is over.

「ブレーキ開始後5mS経過、ミラーモータ逆転DCブレーキ」
PWM逆転ブレーキ開始後5mS経過すると(S182;Y)、ミラーモータ逆転DCブレーキに切り替える(S184)。そうして、ミラーモータ逆転DCブレーキを継続する(S186;N、S190;N、S156;Y、S130;NからS138;N、S158;N、S160;N、S176;N、S178;Y、S180、S182;Y、S184、S186;N)。
“5mS after brake start, mirror motor reverse DC brake”
When 5 mS elapses after the start of the PWM reverse rotation brake (S182; Y), switching to the mirror motor reverse rotation DC brake is performed (S184). Then, the mirror motor reverse DC braking is continued (S186; N, S190; N, S156; Y, S130; N to S138; N, S158; N, S160; N, S176; N, S178; Y, S180. S182; Y, S184, S186; N).

「逆転ブレーキ時間終了5mS前」
ブレーキ時間終了前5mSになると(S186;Y)、逆転DCブレーキから逆転PWMブレーキに切り替える(S188)。そうして、この逆転PWMブレーキ処理を、200μS毎に繰り返す(S、逆転ブレーキ時間が終了するまで繰り返す(S190;N、156;Y、S130;NからS138;N、S158;N、S160;N、S176;N、S178;Y、S180、S182;N、S186;Y、S188、S190;N)。なお、このループ処理におけるデューティ変更処理(S180)は、200μS経過する毎に段階的にデューティ比を小さく(通電ON時間を短く)する処理である。
“5mS before reverse brake time ends”
When 5 mS is reached before the end of the brake time (S186; Y), the reverse DC brake is switched to the reverse PWM brake (S188). Then, this reverse PWM brake process is repeated every 200 μS (S, repeat until the reverse brake time ends (S190; N, 156; Y, S130; N to S138; N, S158; N, S160; N , S176; N, S178; Y, S180, S182; N, S186; Y, S188, S190; N) The duty change processing (S180) in this loop processing is performed step by step every 200 μS elapses. Is a process of reducing the power supply time (shortening the energization ON time).

「逆転ブレーキ時間終了後、ミラーモータ状態5」
逆転ブレーキ時間が終了すると(S190;Y)、ミラーモータ33に2次ブレーキをかける(S192)。この2次ブレーキは、1次ブレーキ同様、ミラーモータ33の電源端子を短絡させる処理である。そうして2次ブレーキ時間をセットし(S194)、ミラーモータ状態に“5”をセットする(S196)。そうして、200μS経過すると(S156;Y)、S130;NからS138;N、S158;N、S160;N、S176;N、S178;NからS198に進む。
"After reverse rotation braking time, mirror motor state 5"
When the reverse brake time ends (S190; Y), the secondary brake is applied to the mirror motor 33 (S192). This secondary brake is a process of short-circuiting the power supply terminal of the mirror motor 33 as in the case of the primary brake. Then, the secondary brake time is set (S194), and "5" is set to the mirror motor state (S196). Then, when 200 μS has passed (S156; Y), S130; N to S138; N, S158; N, S160; N, S176; N, S178;

S198では2次ブレーキ時間が終了したかどうかをチェックし、終了していなければ(S198;N)、S156に戻る。そうして、2次ブレーキ時間が終了したかどうかのチェックを、200μS毎に繰り返す(S156;Y、S130;NからS138;N、S158;N、S160;N、S176;N、S178;NからS198;N、S156)。2次ブレーキが終了すると(S198;Y)、ミラーモータ33をフリーに、つまり電源端子を開放し(S200)、ミラーモータ停止フラグに“1”をセットして(S202)、S156に進む。このようにミラーアップが完了したときに、ミラーモータ停止フラグには“1”がセットされる。   In S198, it is checked whether or not the secondary brake time has ended. If it has not ended (S198; N), the process returns to S156. Then, the check of whether or not the secondary brake time has ended is repeated every 200 μs (S156; Y, S130; N to S138; N, S158; N, S160; N, S176; N, S178; N S198; N, S156). When the secondary brake is finished (S198; Y), the mirror motor 33 is set free, that is, the power supply terminal is opened (S200), the mirror motor stop flag is set to "1" (S202), and the process proceeds to S156. Thus, when the mirror up is completed, “1” is set to the mirror motor stop flag.

「ミラーアップ完了、ミラーモータ停止フラグ“1”」
ミラーモータ停止フラグに“1”がセットされているときは(S130;Y)、ミラーアップ終了をCPU-DSP通信によってDSP15に伝達し(S210)、ミラーアップ時間計測を終了して計測時間を測定値として保存し(S212)、リターンする。
“Mirror up complete, mirror motor stop flag“ 1 ””
When “1” is set in the mirror motor stop flag (S130; Y), the mirror up end is transmitted to the DSP 15 by CPU-DSP communication (S210), the mirror up time measurement is finished and the measurement time is measured. Save as a value (S212) and return.

『メカチャージ処理』
次に、露光終了後に実行されるメカチャージ処理について、図10、図11および図12に示したフローチャートを参照して説明する。露光処理終了は、露光時間が経過して、シャッタ(後幕)マグネットESMg2の通電をOFFしたときである。
`` Mecha charge processing ''
Next, the mechanical charge process executed after the exposure will be described with reference to the flowcharts shown in FIGS. The end of the exposure processing is when the energization of the shutter (rear curtain) magnet ESMg2 is turned off after the exposure time has elapsed.

まず、後幕が完全に走行を完了する時間(20mS)待機する(S302)。20mS経過すると、メカチャージ開始を伝達するCPU-DSP通信を実行し(S304)、メカチャージを開始する。   First, it waits for a time (20 mS) for the trailing curtain to completely travel (S302). When 20 mS elapses, CPU-DSP communication for transmitting the start of mechanical charge is executed (S304), and mechanical charge is started.

ミラーダインスイッチSWMRDNのチャタリング除去用の変数、ミラーダウンスイッチSWMRDNカウント用変数、モータ状態等の変数、定数をイニシャライズし(S306)、動体予測計算用にミラーダウン時間の測定を開始する(S308)。そうして、ブレーキ時間、ミラースイッチチェックタイミング等の基準になる200μSをカウントする200μS基準タイマをスタートさせる(S310)。   A variable for chattering removal of the mirror dyne switch SWMRDN, a variable for counting the mirror down switch SWMRDN, a variable such as a motor state, and constants are initialized (S306), and measurement of mirror down time is started for moving object prediction calculation (S308). Then, a 200 μS reference timer that counts 200 μS serving as a reference for brake time, mirror switch check timing, and the like is started (S310).

「ミラーモータ起動;PWM駆動制御開始;ミラーモータ状態0;図4のC」
ミラーモータ33を、PWM駆動で正転起動する(S312)。PWMの周期は100μSに設定する。PWM駆動起動時のデューティーは、ON時間が最も短い設定である。ミラーモータ状態を“0”にセットし(S314)、ミラーモータ停止フラグをクリア(“0”をセット)する(S316)。そうして、ミラーモータ停止フラグに“1”がセットされるまで、S318以降のループ処理を繰り返す。
“Mirror motor start-up; PWM drive control start; Mirror motor state 0; FIG. 4C”
The mirror motor 33 is normally rotated by PWM drive (S312). The PWM period is set to 100 μS. The duty at the time of PWM drive start-up is a setting with the shortest ON time. The mirror motor state is set to “0” (S314), and the mirror motor stop flag is cleared (“0” is set) (S316). Then, the loop processing after S318 is repeated until the mirror motor stop flag is set to “1”.

S318では、ミラーモータ停止フラグに“1”がセットされているかどうかをチェックする。最初はS316で“0”がセットされているので(S318;N)、S320以降の処理に進む。ミラーモータ停止フラグに“0”がセットされている間(S318;N)は、以下のループ処理を繰り返す。なお、ミラーモータ停止フラグに“1”がセットされている場合(S318;Y)は、メカチャージ終了をCPU‐DSP通信でDSP15に送信し(S392)、ミラーダウン時間計測を処理を終了して測定時間をRAMに格納し(S394)、リターンする。   In S318, it is checked whether or not “1” is set in the mirror motor stop flag. Since “0” is initially set in S316 (S318; N), the process proceeds to S320 and subsequent steps. While the mirror motor stop flag is set to “0” (S318; N), the following loop processing is repeated. If “1” is set in the mirror motor stop flag (S318; Y), the end of the mechanical charge is transmitted to the DSP 15 by CPU-DSP communication (S392), and the mirror down time measurement is completed. The measurement time is stored in the RAM (S394), and the process returns.

まず、ミラーダウンスイッチSWMRDNのレベルをチェックし(S320)、チャージ時間計測カウンタを1カウントアップし(S322)、ブレーキ時間ソフトカウンタを1カウントダウンする(S324)。ミラーダウンスイッチSWMRDNのレベルが連続して5回同レベルであったときにエッジ切り替わりと判定し、ミラーダウンスイッチSWMRDNエッジ数に“1”を代入する。
この実施形態におけるミラーダウンスイッチSWMRDNはミラーアップスイッチSWMRUP同様に、ミラーモータ33の回転に連動するブラシと、ブラシが摺接する導通部および非導通部を備えたコード板で構成されていて、ミラー37が観察位置にあるときにローレベル、ミラー37が観察位置から撮像位置方向に回動するとその途中にハイレベルとなってハイレベルを維持し、さらにミラー37が撮像位置から観察位置方向に揺動し、観察位置に達したときにローレベルになり、さらに一旦ハイレベルになってからローレベルとなり、ローレベル状態を維持する。
First, the level of the mirror down switch SWMRDN is checked (S320), the charge time measurement counter is counted up by 1 (S322), and the brake time soft counter is counted down by 1 (S324). When the level of the mirror down switch SWMRDN is the same level five times continuously, it is determined that the edge is switched, and “1” is substituted for the number of edges of the mirror down switch SWMRDN.
Like the mirror up switch SWMRUP, the mirror down switch SWMRDN in this embodiment is composed of a brush interlocking with the rotation of the mirror motor 33, and a code plate having a conducting portion and a non-conducting portion in sliding contact with the brush. When the mirror 37 is at the observation position, the mirror 37 is rotated from the observation position to the imaging position direction. When the mirror 37 is rotated toward the imaging position, the high level is maintained and the high level is maintained. Further, the mirror 37 swings from the imaging position to the observation position direction. When the observation position is reached, the low level is reached. Further, once the high level is reached, the low level is reached and the low level state is maintained.

「PWM駆動時間経過前、ミラーモータ状態0」
ミラーモータ状態が“0”かどうかをチェックする(S326)。ミラーモータ状態が“0”の場合(S326;Y)は、PMW駆動のデューティーを1段階、ON時間が長い方に変更する(S328)。そうして、PWM駆動時間が終了したかどうかをチェックする(S330)。PWM駆動時間が終了していない場合(S330:N)はS332、S334をスキップし、S320の処理でミラーダウンスイッチSWMRDNの1番目のエッジを検出したかどうかをチェックする(S336)。1番目のエッジを検出していない場合(S336;N)は、S338、S340、S342をスキップし、200μS経過するのを待って(S344)、200μS経過したら(S344;Y)、S318に戻ってS320以降の処理を繰り返す。つまり、PWM駆動のデューティーを200μS毎にON時間が長い方に変更しながらPWM駆動時間が終了するのを待つ。
"Mirror motor state 0 before PWM drive time has elapsed"
It is checked whether the mirror motor state is “0” (S326). If the mirror motor state is “0” (S326; Y), the PMW drive duty is changed to one step and the ON time is longer (S328). Then, it is checked whether or not the PWM drive time has ended (S330). If the PWM drive time has not ended (S330: N), S332 and S334 are skipped, and it is checked whether or not the first edge of the mirror down switch SWMRDN has been detected in the process of S320 (S336). If the first edge has not been detected (S336; N), S338, S340 and S342 are skipped, 200 μS has elapsed (S344), 200 μS has elapsed (S344; Y), and S318 is returned to. The processes after S320 are repeated. That is, it waits for the PWM drive time to end while changing the duty of PWM drive to the longer ON time every 200 μS.

「PWM駆動時間が終了、ミラーモータ状態1」
PWM駆動時間が終了したら(S330;Y)、ミラーモータ33をDC正転駆動し(S332)、ミラーモータ状態を“1”にして(S334)、S320の処理でミラーダウンスイッチSWMRDNの1番目のエッジを検出するまで(S336;N)、200μS毎にS318からS326;Y、S346;Y、S336からS344、S318のループ処理を繰り返す。
“PWM drive time is complete, mirror motor state 1”
When the PWM drive time ends (S330; Y), the mirror motor 33 is driven in the DC forward rotation (S332), the mirror motor state is set to “1” (S334), and the first of the mirror down switch SWMRDN is processed in S320. Until the edge is detected (S336; N), the loop processing of S318 to S326; Y, S346; Y, S336 to S344, and S318 is repeated every 200 μS.

「SWMRDN1番目のエッジ、1次ブレーキ、ミラーモータ状態2」
S320の処理でミラーダウンスイッチSWMRDNの1番目のエッジを検出したら(S336;Y)、ミラーモータ33に1次ブレーキをかけ(S338)、1次ブレーキをかけ続ける1次ブレーキ時間をセットし(S340)、ミラーモータ状態に“2”をセットする(S342)。そうして、200μS毎に(S344;Y、S318からS326;N、S346;N、S348;Y)、1次ブレーキ時間が終了したかどうかをチェックする(S350)。そうして、1次ブレーキ時間が終了していなければ(S350;Y)、S352、S354をスキップしてS320の処理でミラーダウンスイッチSWMRDNの3番目のエッジを検出したかどうかをチェックし(S356)、していなけければ(S356;N)、S344に戻って、200μS毎に1次ブレーキ時間終了したかどうかをチェックする(S344;Y、S318からS326;N、S346;N、S348;Y、S350)。つまり、200μS毎に、1次ブレーキ時間が終了したかどうかをチェックする。
"SWMRDN first edge, primary brake, mirror motor state 2"
When the first edge of the mirror down switch SWMRDN is detected in the process of S320 (S336; Y), the primary brake is applied to the mirror motor 33 (S338), and the primary brake time for continuing the primary brake is set (S340). ), “2” is set in the mirror motor state (S342). Then, every 200 μS (S344; Y, S318 to S326; N, S346; N, S348; Y), it is checked whether or not the primary brake time has ended (S350). If the primary brake time has not ended (S350; Y), S352 and S354 are skipped, and it is checked whether or not the third edge of the mirror down switch SWMRDN is detected in the process of S320 (S356). ), If not (S356; N), return to S344 and check whether the primary braking time is finished every 200 μS (S344; Y, S318 to S326; N, S346; N, S348; Y) , S350). That is, it is checked whether or not the primary brake time is finished every 200 μS.

「1次ブレーキ時間経過、DC駆動、ミラーモータ状態3」
1次ブレーキ時間が終了すると(S350;Y)、ミラーモータをDCで正転駆動し(S352)、ミラーモータ状態に“3”をセットする(S354)。そうして、ミラーダウンスイッチSWMRDNのエッジ数が3かどうかをチェックし(S356)、3回になるのをループ処理を繰り返して待つ(S356;N、S344;Y、S318;N、S320からS326;N、S346;N、S348;N、S364;Y、S356)。
"Primary brake time elapsed, DC drive, mirror motor state 3"
When the primary brake time is over (S350; Y), the mirror motor is driven to rotate forward by DC (S352), and "3" is set to the mirror motor state (S354). Then, it is checked whether or not the number of edges of the mirror down switch SWMRDN is 3 (S356), and the loop processing is repeated until it becomes 3 times (S356; N, S344; Y, S318; N, S320 to S326). N, S346; N, S348; N, S364; Y, S356).

「SWMRDNのエッジ数3、PWM逆転ブレーキ、ミラーモータ状態4、図4のD」
「ブレーキ開始後5mS経過前」
ミラーダウンスイッチSWMRDNのエッジ数が3になると(S356;Y)、ミラーモータ33に対するPWM逆転ブレーキ制御を開始し(S358)、逆転ブレーキ時間をセットし、ミラーモータ状態に、逆転ブレーキ状態を識別する“4”をセットする(S362)。そうして、200μS経過する毎に(S344;Y)、デューティーを段階的に変更する(S318;N、S320からS326;N、S346;N、S348;N、S364;N、S366;Y、S368)。逆転ブレーキ処理におけるデューティーの段階的な変更処理では、PWM駆動のデューティーを1段階ずつ、逆転開始後5mS以内なら、ON時間を長い方に変更し、逆転開始終了前5mS以内ならON時間を短い方に変更する。つまり、ミラーモータソフトカウンタの値からブレーキ開始後5mS経過したかどうかをチェックし(S370)、逆転開始後5mS以内の間は200μS毎に、PWM駆動のデューティーを、ON時間が長くなる方に1段階変更するループ処理を繰り返す(S370;N、S374;N、S378;N、S344;Y、S318からS326;N、S346;N、S348;N、S364;N、S366;Y、S368、S370)。
SWMRDN edge number 3, PWM reverse brake, mirror motor state 4, D in FIG. 4”
“Before starting 5mS after braking”
When the number of edges of the mirror down switch SWMRDN becomes 3 (S356; Y), the PWM reverse brake control for the mirror motor 33 is started (S358), the reverse brake time is set, and the reverse brake state is identified in the mirror motor state. “4” is set (S362). Then, every time 200 μS elapses (S344; Y), the duty is changed in stages (S318; N, S320 to S326; N, S346; N, S348; N, S364; N, S366; Y, S368) ). In the step-by-step duty change processing in reverse brake processing, the PWM drive duty is changed step by step if it is within 5 mS after the start of reverse rotation, the ON time is changed to the longer one, and if within 5 mS before the start of reverse rotation, the ON time is shorter Change to That is, it is checked whether 5 mS has elapsed from the start of braking from the value of the mirror motor soft counter (S 370), and within 5 mS after the start of reverse rotation, the duty of PWM drive is increased by 1 for the longer ON time. Repeat the loop process to change the stage (S370; N, S374; N, S378; N, S344; Y, S318 to S326; N, S346; N, S348; N, S364; N, S366; Y, S368, S370) .

「PWM逆転ブレーキ開始後5mS経過後、終了前5mSまで」
PWM逆転ブレーキ開始後5mS経過すると(S370;Y)、ミラーモータ33にDC逆転ブレーキをかける(S372)。そうして、DC逆転ブレーキをかけた状態で、PWM逆転ブレーキ終了前5mS以内になるのを待つ(S370;Y、S372、S374;N、S378;N、S344;Y、S318;NからS326;N、S346;N、S348;N、S364;N、S366;Y、S368、S370;Y、S372)。
“After 5mS from the start of PWM reverse brake, up to 5mS before the end”
When 5 mS has elapsed after the start of the PWM reverse brake (S370; Y), the DC reverse brake is applied to the mirror motor 33 (S372). Then, in a state where the DC reverse brake is applied, wait for 5 ms before the end of the PWM reverse brake (S370; Y, S372, S374; N, S378; N, S344; Y, S318; N to S326; N, S346; N, S348; N, S364; N, S366; Y, S368, S370; Y, S372).

「PWM逆転ブレーキ終了前5mS以内、PWM逆転ブレーキ」
PWM逆転ブレーキ終了前5mS以内になると(S374;Y)、ミラーモータ33にPWM逆転ブレーキをかける(S376)。ここでのPWM逆転ブレーキは、DC逆転駆動からデューティーを段階的に小さく、つまりデューティーをON時間が短くなる方に1段階変更するループ処理を繰り返す(S374;Y、S376、S378;N、S344;Y、S318;NからS326;N、S346;N、S348;N、S364;N、S366;Y、S368、S370;N、S374)。
"Within 5mS before PWM reverse brake finish, PWM reverse brake"
When it is within 5 ms before the end of the PWM reverse brake (S374; Y), the PWM reverse brake is applied to the mirror motor 33 (S376). The PWM reverse rotation brake here repeats a loop process in which the duty is gradually decreased from the DC reverse rotation driving, that is, the duty is changed by one step so that the ON time becomes shorter (S374; Y, S376, S378; N, S344; Y, S318; N to S326; N, S346; N, S348; N, S364; N, S366; Y, S368, S370; N, S374).

「逆転ブレーキ時間終了後、2次ブレーキ、ミラーモータ状態5」
PWM逆転ブレーキ時間が終了すると(S378;Y)、ミラーモータ33に2次ブレーキをかける(S380)。2次ブレーキは、ミラーモータ33の入力端子を短絡させるショートブレーキである。そうして、2次ブレーキ時間をEEPROMから読み出してセットし(S382)、ミラーモータ状態に、2次ブレーキをかけている状態を識別する“5”をセットする(S384)。
"After reverse brake time, secondary brake, mirror motor state 5"
When the PWM reverse brake time ends (S378; Y), the secondary brake is applied to the mirror motor 33 (S380). The secondary brake is a short brake that short-circuits the input terminal of the mirror motor 33. Then, the secondary brake time is read from the EEPROM and set (S382), and "5" for identifying the state where the secondary brake is applied is set in the mirror motor state (S384).

ミラーモータ状態に“5”がセットされると、200μS毎に2次ブレーキ時間が終了したかどうかをチェックするループ処理を繰り返す(S344;Y、S318;NからS326;N、S346;N、S348;N、S364;N、S366;N、S386;N、S344)。そうして、2次ブレーキ時間が終了すると(S386;Y)、2次ブレーキを解除(S388)し、つまり、ミラーモータ33の入力端子を開放し、ミラーモータ停止フラグに“1”をセットし(S390)てからS344に進み、200μS経過したら(S344;Y)、S318に戻る。   When “5” is set in the mirror motor state, a loop process for checking whether or not the secondary brake time is finished every 200 μs is repeated (S344; Y, S318; N to S326; N, S346; N, S348). N, S364; N, S366; N, S386; N, S344). Then, when the secondary brake time ends (S386; Y), the secondary brake is released (S388), that is, the input terminal of the mirror motor 33 is opened, and the mirror motor stop flag is set to “1”. After (S390), the process proceeds to S344, and after 200 μS has elapsed (S344; Y), the process returns to S318.

「2次ブレーキ時間終了、メカチャージ終了、ミラーモータ停止フラグ1」
ミラーモータ停止フラグに“1”がセットされると、S318;YからS392に進み、メカチャージ終了をCPU‐DSP通信でDSP15に送信し(S392)、ミラーダウン時間計測を処理を終了して測定時間をRAMに格納し(S394)、リターンする。以上のメカチャージ処理によって周知の通り、ミラーが観察位置までダウンし、先幕および後幕が撮影待機状態まで移動し、先幕および後幕駆動バネがチャージされる。
"Secondary brake time end, mechanical charge end, mirror motor stop flag 1"
When “1” is set in the mirror motor stop flag, the process proceeds from S318; Y to S392, and the end of the mechanical charge is transmitted to the DSP 15 by CPU-DSP communication (S392), and the mirror down time measurement is completed and measured. The time is stored in the RAM (S394), and the process returns. As is well known by the above mechanical charging process, the mirror is lowered to the observation position, the front curtain and the rear curtain move to the shooting standby state, and the front curtain and the rear curtain drive spring are charged.

本発明を適用したデジタル一眼レフカメラの回路構成の実施形態をブロックで示す図である。1 is a block diagram showing an embodiment of a circuit configuration of a digital single lens reflex camera to which the present invention is applied. 本発明を適用したデジタル一眼レフカメラの主要部を光軸で縦断して示す図である。It is a figure which cuts and shows the principal part of the digital single-lens reflex camera to which this invention is applied along the optical axis. 同デジタル一眼レフカメラのレリーズ時のタイミングチャートを示す図である。It is a figure which shows the timing chart at the time of release of the digital single-lens reflex camera. 同タイミングチャートにおけるミラーアップ/ダウン処理部分の詳細タイミングチャートを示す図であって、(1)はミラーアップからミラーダウンまでのタイミングチャートを、(2)はミラーモータ起動時のPWM制御のタイミングチャートを、(3)はPWM逆転ブレーキのタイミングチャートを示す図である。It is a figure which shows the detailed timing chart of the mirror up / down process part in the same timing chart, Comprising: (1) is a timing chart from mirror up to mirror down, (2) is a timing chart of PWM control at the time of mirror motor starting (3) is a diagram showing a timing chart of the PWM reverse brake. 同デジタル一眼レフカメラのメイン動作に関するフローチャートを示す図である。It is a figure which shows the flowchart regarding the main operation | movement of the digital single-lens reflex camera. 同デジタル一眼レフカメラのメイン動作に関するフローチャートを示す図である。It is a figure which shows the flowchart regarding the main operation | movement of the digital single-lens reflex camera. 同デジタル一眼レフカメラのミラーアップ処理に関するフローチャートを示す図である。It is a figure which shows the flowchart regarding the mirror up process of the digital single-lens reflex camera. 同デジタル一眼レフカメラのミラーアップ処理に関するフローチャートを示す図である。It is a figure which shows the flowchart regarding the mirror up process of the digital single-lens reflex camera. 同デジタル一眼レフカメラのミラーアップ処理に関するフローチャートを示す図である。It is a figure which shows the flowchart regarding the mirror up process of the digital single-lens reflex camera. 同デジタル一眼レフカメラのメカチャージ(ミラーダウン処理)に関するフローチャートを示す図である。It is a figure which shows the flowchart regarding the mechanical charge (mirror down process) of the digital single-lens reflex camera. 同デジタル一眼レフカメラのメカチャージ(ミラーダウン処理)に関するフローチャートを示す図である。It is a figure which shows the flowchart regarding the mechanical charge (mirror down process) of the digital single-lens reflex camera. 同デジタル一眼レフカメラのメカチャージ(ミラーダウン処理)に関するフローチャートを示す図である。It is a figure which shows the flowchart regarding the mechanical charge (mirror down process) of the digital single-lens reflex camera.

符号の説明Explanation of symbols

11 CPU
13 DPU
15 DSP
17 バッテリ
19 電源回路
20 外付けストロボ
21 内蔵ストロボ
23 モードダイヤル
25 各種スイッチ
29 AFIC
33 ミラーモータ
34 ミラー駆動機構
35 ミラー検知スイッチ
37 ミラー
38 サブミラー
39 AFモータドライバ
41 AFモータ
43 AF制御フォトインタラプタ
45 分割測光IC
47 EEPROM
49 シャッタ
51 外部表示LCD
51a 照明用LED
53 ファインダ内LCD
53a 照明用LED
55 CCD撮像素子
59 Avダイアルスイッチ
61 Tvダイアルスイッチ
63 スイッチ
65 シャッタスイッチ
100 撮影レンズ
ESMg1 シャッタ(先幕)マグネット
ESMg2 シャッタ(後幕)マグネット
SWM メインスイッチ(電源スイッチ)
SWS 測光スイッチ
SWR レリーズスイッチ
SWMRUP ミラーアップスイッチ
SWMRDN ミラーダウンスイッチ
11 CPU
13 DPU
15 DSP
17 Battery 19 Power supply circuit 20 External strobe 21 Built-in strobe 23 Mode dial 25 Various switches 29 AFIC
33 Mirror motor 34 Mirror drive mechanism 35 Mirror detection switch 37 Mirror 38 Sub mirror 39 AF motor driver 41 AF motor 43 AF control photo interrupter 45 Split photometry IC
47 EEPROM
49 Shutter 51 External display LCD
51a LED for illumination
53 LCD in the viewfinder
53a LED for illumination
55 CCD image sensor 59 Av dial switch 61 Tv dial switch 63 Switch 65 Shutter switch 100 Shooting lens ESMg1 Shutter (front curtain) Magnet ESMg2 Shutter (rear curtain) Magnet SWM Main switch (Power switch)
SWS Metering switch SWR Release switch SWM UP Mirror up switch SWMRDN Mirror down switch

Claims (7)

デジタルカメラに搭載されたモータの駆動方法であって、
前記モータを起動するときは、小さいデューティー比によるPWM制御で通電を開始してからデューティー比を段階的に大きく変更することを特徴とするデジタルカメラのモータ駆動方法。
A method of driving a motor mounted on a digital camera,
A method of driving a motor for a digital camera, characterized in that when the motor is started, the duty ratio is changed largely stepwise after starting energization by PWM control with a small duty ratio.
撮影レンズから入射した被写体光を、光学ファインダー方向に反射する観察位置と、撮像手段への入射を許容する撮像位置とに移動するミラーを備えたデジタルカメラにおいて、前記ミラーを観察位置から撮像位置へ、撮像位置から観察位置へ移動させるモータの駆動方法であって、
前記モータを起動するときは、小さいデューティー比によるPWM制御で通電を開始してからデューティー比を段階的に大きく変更することを特徴とするデジタルカメラのモータ駆動方法。
In a digital camera including a mirror that moves a subject light incident from a photographing lens to an observation position that reflects the light in the direction of the optical viewfinder and an imaging position that allows incidence to the imaging unit, the mirror is moved from the observation position to the imaging position. A motor driving method for moving the imaging position to the observation position,
A method of driving a motor for a digital camera, characterized in that when the motor is started, the duty ratio is changed largely stepwise after starting energization by PWM control with a small duty ratio.
請求項1または2記載のデジタルカメラのモータ駆動方法において、前記モータに小さいデューティー比によるPWM制御で通電を開始した後所定時間経過したときは直流通電するデジタルカメラのモータ駆動方法。 3. The motor driving method for a digital camera according to claim 1, wherein when a predetermined time elapses after energization of the motor is started by PWM control with a small duty ratio, the DC motor is energized. 請求項1または2記載のデジタルカメラのモータ駆動方法において、前記小さいデューティー比によるPWM制御で通電を開始した後直流通電になるまでデューティー比を段階的に大きく変更するデジタルカメラのモータ駆動方法。 3. The motor driving method for a digital camera according to claim 1 or 2, wherein the duty ratio is changed in a stepwise manner until the DC energization is started after the energization is started by the PWM control with the small duty ratio. 請求項3または4記載のデジタルカメラのモータ駆動方法において、前記駆動しているモータを停止させるときは、かけ始めおよび終了前にPWM制御する逆転ブレーキをかけるデジタルカメラのモータ駆動方法。 5. A motor driving method for a digital camera according to claim 3, wherein when the motor being driven is stopped, a reverse brake for PWM control is applied before starting and ending. 請求項5記載のデジタルカメラのモータ駆動方法において、前記PWM制御による逆転ブレーキは、逆転ブレーキかけ始めの期間はデューティー比を小から大に段階的に変更し、逆転ブレーキ終了前の期間はデューティー比を大から小に段階的に変更するデジタルカメラのモータ駆動方法。 6. The motor drive method for a digital camera according to claim 5, wherein the reverse brake by the PWM control changes the duty ratio stepwise from small to large during the start of reverse brake application, and the duty ratio before the reverse brake ends. A method for driving a digital camera motor that gradually changes from large to small. 請求項6記載のデジタルカメラのモータ駆動方法において、前記逆転ブレーキは、逆転ブレーキかけ始めの所定期間と逆転ブレーキ終了前の所定期間の間は直流による逆転ブレーキをかけるデジタルカメラのモータ駆動方法。 7. The motor driving method for a digital camera according to claim 6, wherein the reverse brake applies a reverse braking by direct current during a predetermined period when the reverse braking starts and during a predetermined period before the reverse braking ends.
JP2004273750A 2004-09-21 2004-09-21 Motor drive method for digital camera Active JP4820541B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004273750A JP4820541B2 (en) 2004-09-21 2004-09-21 Motor drive method for digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004273750A JP4820541B2 (en) 2004-09-21 2004-09-21 Motor drive method for digital camera

Publications (2)

Publication Number Publication Date
JP2006091136A true JP2006091136A (en) 2006-04-06
JP4820541B2 JP4820541B2 (en) 2011-11-24

Family

ID=36232230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004273750A Active JP4820541B2 (en) 2004-09-21 2004-09-21 Motor drive method for digital camera

Country Status (1)

Country Link
JP (1) JP4820541B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008032908A (en) * 2006-07-27 2008-02-14 Nikon Corp Camera
KR20160019496A (en) * 2013-06-11 2016-02-19 레이던 컴퍼니 Pulse width modulation control of solenoid motor
CN107544196A (en) * 2016-06-29 2018-01-05 三星电机株式会社 The driver IC of actuator and the camera model for including this

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02106728A (en) * 1988-10-17 1990-04-18 Olympus Optical Co Ltd Motor driving device
JPH0417594A (en) * 1990-05-07 1992-01-22 Fuji Photo Optical Co Ltd Drive method of dc motor
JPH06102450A (en) * 1992-09-11 1994-04-15 Asahi Optical Co Ltd Automatic focusing controller
JPH06332023A (en) * 1993-05-21 1994-12-02 Asahi Optical Co Ltd Camera provided with interexposure zoom device
JPH0990486A (en) * 1995-09-25 1997-04-04 Canon Inc Film feeding device and camera using the same
JPH11327039A (en) * 1998-05-08 1999-11-26 Fuji Photo Optical Co Ltd Single lens reflex camera
JP2003207842A (en) * 2002-01-11 2003-07-25 Nikon Corp Camera

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02106728A (en) * 1988-10-17 1990-04-18 Olympus Optical Co Ltd Motor driving device
JPH0417594A (en) * 1990-05-07 1992-01-22 Fuji Photo Optical Co Ltd Drive method of dc motor
JPH06102450A (en) * 1992-09-11 1994-04-15 Asahi Optical Co Ltd Automatic focusing controller
JPH06332023A (en) * 1993-05-21 1994-12-02 Asahi Optical Co Ltd Camera provided with interexposure zoom device
JPH0990486A (en) * 1995-09-25 1997-04-04 Canon Inc Film feeding device and camera using the same
JPH11327039A (en) * 1998-05-08 1999-11-26 Fuji Photo Optical Co Ltd Single lens reflex camera
JP2003207842A (en) * 2002-01-11 2003-07-25 Nikon Corp Camera

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008032908A (en) * 2006-07-27 2008-02-14 Nikon Corp Camera
KR20160019496A (en) * 2013-06-11 2016-02-19 레이던 컴퍼니 Pulse width modulation control of solenoid motor
JP2016524896A (en) * 2013-06-11 2016-08-18 レイセオン カンパニー Pulse width modulation control of solenoid motor
KR102225113B1 (en) 2013-06-11 2021-03-08 레이던 컴퍼니 Pulse width modulation control of solenoid motor
CN107544196A (en) * 2016-06-29 2018-01-05 三星电机株式会社 The driver IC of actuator and the camera model for including this
KR20180002417A (en) * 2016-06-29 2018-01-08 삼성전기주식회사 Driver intergrated circuit of actuator and camera module including the same
KR101892805B1 (en) * 2016-06-29 2018-08-28 삼성전기주식회사 Driver intergrated circuit of actuator and camera module including the same
CN107544196B (en) * 2016-06-29 2020-10-27 三星电机株式会社 Driver integrated circuit of actuator and camera module including the same

Also Published As

Publication number Publication date
JP4820541B2 (en) 2011-11-24

Similar Documents

Publication Publication Date Title
US9571746B2 (en) Image pickup system that detect focus by irradiating auxiliary light, image pickup apparatus, light emission device, and focus detection method
JP3718415B2 (en) Multi-point automatic focus detection device
JP4820541B2 (en) Motor drive method for digital camera
US20170324902A1 (en) Interchangeable lens operable in reduced power modes, image capturing apparatus and storage medium storing control program
JP5022048B2 (en) Release control device and release control method for single-lens reflex camera
JP2012042825A (en) Imaging apparatus
JP3997393B2 (en) camera
JP2708150B2 (en) Focus adjustment device
JP4327940B2 (en) Single-lens reflex camera
JPS5968713A (en) Device for automatically adjusting focal point of camera
JP2006106201A (en) Camera
JP4474040B2 (en) Camera and camera system
JP5901323B2 (en) Imaging apparatus and illumination method for imaging
JP2003084346A (en) Camera
JP4810768B2 (en) camera
JP2007264650A (en) Camera
JP3174413B2 (en) Camera motor drive
JP2003186089A (en) Pop-up mechanism for camera
JP2003280060A (en) Camera
JP2006017854A (en) Imaging apparatus and flash light emitting device
JPH0114005Y2 (en)
JP2010134209A (en) Camera
JPH1068875A (en) Focusing device
JP2013042446A (en) Imaging apparatus
JP2017146317A (en) Imaging apparatus

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070620

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070829

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080501

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101028

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110905

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

Free format text: PAYMENT UNTIL: 20140909

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4820541

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140909

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20140909

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250